[2026-08-05 00:00:04] local.INFO: TCP Data received {"connection_id":148135,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:00:04] local.INFO: Processing buffer {"connection_id":148135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:00:04] local.INFO: Packet analysis {"connection_id":148135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce06"} 
[2026-08-05 00:00:04] local.INFO: Extracted packet for processing {"connection_id":148135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce06"} 
[2026-08-05 00:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":32,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182119936001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785867957000,"timestamp_ms":1785867957000,"timestamp_seconds":1785867957,"priority":1,"record_length":96,"hex_timestamp":"0000019fce067308"} 
[2026-08-05 00:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182119936001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182119936001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:00:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182119936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":148135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:00:05] local.INFO: GPS data processed {"connection_id":148135,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:00:05] local.INFO: Acknowledgment sent {"connection_id":148135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:00:17] local.INFO: TCP Data received {"connection_id":149362,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:00:17] local.INFO: Processing buffer {"connection_id":149362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:00:17] local.INFO: IMEI packet received {"connection_id":149362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":149362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:00:22] local.INFO: TCP Data received {"connection_id":149362,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:00:22] local.INFO: Processing buffer {"connection_id":149362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:00:22] local.INFO: IMEI packet received {"connection_id":149362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":149362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:00:22] local.INFO: TCP Data received {"connection_id":149362,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce05ee38012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce05ee38012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:00:22] local.INFO: Processing buffer {"connection_id":149362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce05ee38012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:00:22] local.INFO: Packet analysis {"connection_id":149362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce05"} 
[2026-08-05 00:00:22] local.INFO: Extracted packet for processing {"connection_id":149362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce05"} 
[2026-08-05 00:00:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182111232001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785867923000,"timestamp_ms":1785867923000,"timestamp_seconds":1785867923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce05ee38"} 
[2026-08-05 00:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 00:00: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-08-05 00:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182111232001,"66":25604,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182111232001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:00:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:00:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182111232001,"power":25604,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":149362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:00:22] local.INFO: GPS data processed {"connection_id":149362,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:00:22] local.INFO: Acknowledgment sent {"connection_id":149362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:00:27] local.INFO: TCP Data received {"connection_id":148136,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:00:27] local.INFO: Processing buffer {"connection_id":148136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:00:27] local.INFO: IMEI packet received {"connection_id":148136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":148136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:00:33] local.INFO: TCP Data received {"connection_id":148136,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:00:33] local.INFO: Processing buffer {"connection_id":148136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:00:33] local.INFO: IMEI packet received {"connection_id":148136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":148136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:00:33] local.INFO: TCP Data received {"connection_id":148136,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:00:33] local.INFO: Processing buffer {"connection_id":148136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:00:33] local.INFO: Packet analysis {"connection_id":148136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce06"} 
[2026-08-05 00:00:33] local.INFO: Extracted packet for processing {"connection_id":148136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce06"} 
[2026-08-05 00:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":32,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182119936001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785867957000,"timestamp_ms":1785867957000,"timestamp_seconds":1785867957,"priority":1,"record_length":96,"hex_timestamp":"0000019fce067308"} 
[2026-08-05 00:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182119936001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182119936001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:00:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182119936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":148136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:00:33] local.INFO: GPS data processed {"connection_id":148136,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:00:33] local.INFO: Acknowledgment sent {"connection_id":148136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:00:53] local.INFO: TCP Data received {"connection_id":149362,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce05ee38012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce05ee38012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:00:53] local.INFO: Processing buffer {"connection_id":149362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce05ee38012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:00:53] local.INFO: Packet analysis {"connection_id":149362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce05"} 
[2026-08-05 00:00:53] local.INFO: Extracted packet for processing {"connection_id":149362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce05"} 
[2026-08-05 00:00:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182111232001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785867923000,"timestamp_ms":1785867923000,"timestamp_seconds":1785867923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce05ee38"} 
[2026-08-05 00:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 00:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182111232001,"66":25604,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182111232001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:00:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:00:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182111232001,"power":25604,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":149362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:00:53] local.INFO: GPS data processed {"connection_id":149362,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:00:53] local.INFO: Acknowledgment sent {"connection_id":149362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:01:07] local.INFO: TCP Data received {"connection_id":148136,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:01:07] local.INFO: Processing buffer {"connection_id":148136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:01:07] local.INFO: Packet analysis {"connection_id":148136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce06"} 
[2026-08-05 00:01:07] local.INFO: Extracted packet for processing {"connection_id":148136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce06"} 
[2026-08-05 00:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":32,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182119936001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785867957000,"timestamp_ms":1785867957000,"timestamp_seconds":1785867957,"priority":1,"record_length":96,"hex_timestamp":"0000019fce067308"} 
[2026-08-05 00:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182119936001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182119936001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:01:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182119936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":148136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:01:07] local.INFO: GPS data processed {"connection_id":148136,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:01:07] local.INFO: Acknowledgment sent {"connection_id":148136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:01:16] local.INFO: TCP Data received {"connection_id":148372,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:01:16] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:01:16] local.INFO: IMEI packet received {"connection_id":148372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":148372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:01:21] local.INFO: TCP Data received {"connection_id":148372,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:01:21] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:01:21] local.INFO: IMEI packet received {"connection_id":148372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":148372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:01:22] local.INFO: TCP Data received {"connection_id":148372,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:01:22] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:01:22] local.INFO: Packet analysis {"connection_id":148372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:01:22] local.INFO: Extracted packet for processing {"connection_id":148372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:01:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182188288001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785868224000,"timestamp_ms":1785868224000,"timestamp_seconds":1785868224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0a8600"} 
[2026-08-05 00:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 00:01: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-08-05 00:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182188288001,"66":25560,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182188288001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:01:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:01:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182188288001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":148372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:01:22] local.INFO: GPS data processed {"connection_id":148372,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:01:22] local.INFO: Acknowledgment sent {"connection_id":148372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:01:27] local.INFO: TCP Data received {"connection_id":150774,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:01:27] local.INFO: Processing buffer {"connection_id":150774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:01:27] local.INFO: IMEI packet received {"connection_id":150774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":150774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:01:33] local.INFO: TCP Data received {"connection_id":150774,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:01:33] local.INFO: Processing buffer {"connection_id":150774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:01:33] local.INFO: IMEI packet received {"connection_id":150774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":150774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:01:33] local.INFO: TCP Data received {"connection_id":150774,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:01:33] local.INFO: Processing buffer {"connection_id":150774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce067308012d195fc0071ff2f8003c006320..."} 
[2026-08-05 00:01:33] local.INFO: Packet analysis {"connection_id":150774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce06"} 
[2026-08-05 00:01:33] local.INFO: Extracted packet for processing {"connection_id":150774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce06"} 
[2026-08-05 00:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":32,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182119936001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785867957000,"timestamp_ms":1785867957000,"timestamp_seconds":1785867957,"priority":1,"record_length":96,"hex_timestamp":"0000019fce067308"} 
[2026-08-05 00:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182119936001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182119936001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:01:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182119936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":150774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:01:34] local.INFO: GPS data processed {"connection_id":150774,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:01:34] local.INFO: Acknowledgment sent {"connection_id":150774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:01:53] local.INFO: TCP Data received {"connection_id":148372,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:01:53] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:01:53] local.INFO: Packet analysis {"connection_id":148372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:01:53] local.INFO: Extracted packet for processing {"connection_id":148372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:01:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182188288001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785868224000,"timestamp_ms":1785868224000,"timestamp_seconds":1785868224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0a8600"} 
[2026-08-05 00:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 00:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182188288001,"66":25560,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182188288001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:01:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:01:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182188288001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":148372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:01:53] local.INFO: GPS data processed {"connection_id":148372,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:01:53] local.INFO: Acknowledgment sent {"connection_id":148372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:02:04] local.INFO: TCP Data received {"connection_id":150774,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:02:04] local.INFO: Processing buffer {"connection_id":150774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:02:04] local.INFO: Packet analysis {"connection_id":150774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:02:04] local.INFO: Extracted packet for processing {"connection_id":150774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182196992001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785868258000,"timestamp_ms":1785868258000,"timestamp_seconds":1785868258,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0b0ad0"} 
[2026-08-05 00:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182196992001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182196992001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:02:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182196992001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":150774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:02:04] local.INFO: GPS data processed {"connection_id":150774,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:02:04] local.INFO: Acknowledgment sent {"connection_id":150774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:02:17] local.INFO: TCP Data received {"connection_id":148373,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:02:17] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:02:17] local.INFO: IMEI packet received {"connection_id":148373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":148373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:02:22] local.INFO: TCP Data received {"connection_id":148373,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:02:22] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:02:22] local.INFO: IMEI packet received {"connection_id":148373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":148373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:02:23] local.INFO: TCP Data received {"connection_id":148373,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:02:23] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:02:23] local.INFO: Packet analysis {"connection_id":148373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:02:23] local.INFO: Extracted packet for processing {"connection_id":148373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:02:23] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182188288001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785868224000,"timestamp_ms":1785868224000,"timestamp_seconds":1785868224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0a8600"} 
[2026-08-05 00:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 00:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182188288001,"66":25560,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182188288001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:02:23] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:02:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182188288001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":148373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:02:23] local.INFO: GPS data processed {"connection_id":148373,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:02:23] local.INFO: Acknowledgment sent {"connection_id":148373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:02:28] local.INFO: TCP Data received {"connection_id":150775,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:02:28] local.INFO: Processing buffer {"connection_id":150775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:02:28] local.INFO: IMEI packet received {"connection_id":150775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":150775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:02:33] local.INFO: TCP Data received {"connection_id":150775,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:02:33] local.INFO: Processing buffer {"connection_id":150775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:02:33] local.INFO: IMEI packet received {"connection_id":150775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":150775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:02:33] local.INFO: TCP Data received {"connection_id":150775,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:02:33] local.INFO: Processing buffer {"connection_id":150775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:02:33] local.INFO: Packet analysis {"connection_id":150775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:02:33] local.INFO: Extracted packet for processing {"connection_id":150775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182196992001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785868258000,"timestamp_ms":1785868258000,"timestamp_seconds":1785868258,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0b0ad0"} 
[2026-08-05 00:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:02: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-08-05 00:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182196992001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182196992001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:02:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182196992001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":150775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:02:34] local.INFO: GPS data processed {"connection_id":150775,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:02:34] local.INFO: Acknowledgment sent {"connection_id":150775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:02:54] local.INFO: TCP Data received {"connection_id":148373,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:02:54] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:02:54] local.INFO: Packet analysis {"connection_id":148373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:02:54] local.INFO: Extracted packet for processing {"connection_id":148373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:02:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182188288001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785868224000,"timestamp_ms":1785868224000,"timestamp_seconds":1785868224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0a8600"} 
[2026-08-05 00:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 00:02: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-08-05 00:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182188288001,"66":25560,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182188288001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:02:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:02:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182188288001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":148373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:02:54] local.INFO: GPS data processed {"connection_id":148373,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:02:54] local.INFO: Acknowledgment sent {"connection_id":148373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:03:05] local.INFO: TCP Data received {"connection_id":150775,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:03:05] local.INFO: Processing buffer {"connection_id":150775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:03:05] local.INFO: Packet analysis {"connection_id":150775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:03:05] local.INFO: Extracted packet for processing {"connection_id":150775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182196992001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785868258000,"timestamp_ms":1785868258000,"timestamp_seconds":1785868258,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0b0ad0"} 
[2026-08-05 00:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182196992001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182196992001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:03:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182196992001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":150775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:03:05] local.INFO: GPS data processed {"connection_id":150775,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:03:05] local.INFO: Acknowledgment sent {"connection_id":150775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:03:17] local.INFO: TCP Data received {"connection_id":149363,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:03:17] local.INFO: Processing buffer {"connection_id":149363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:03:17] local.INFO: IMEI packet received {"connection_id":149363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":149363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:03:22] local.INFO: TCP Data received {"connection_id":149363,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:03:22] local.INFO: Processing buffer {"connection_id":149363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:03:22] local.INFO: IMEI packet received {"connection_id":149363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":149363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:03:23] local.INFO: TCP Data received {"connection_id":149363,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:03:23] local.INFO: Processing buffer {"connection_id":149363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:03:23] local.INFO: Packet analysis {"connection_id":149363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:03:23] local.INFO: Extracted packet for processing {"connection_id":149363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:03:23] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182188288001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785868224000,"timestamp_ms":1785868224000,"timestamp_seconds":1785868224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0a8600"} 
[2026-08-05 00:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":4,"data_length":795,"current_offset":136} 
[2026-08-05 00:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182188288001,"66":25560,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182188288001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:03:23] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:03:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182188288001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":149363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:03:23] local.INFO: GPS data processed {"connection_id":149363,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:03:23] local.INFO: Acknowledgment sent {"connection_id":149363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:03:28] local.INFO: TCP Data received {"connection_id":148374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:03:28] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:03:28] local.INFO: IMEI packet received {"connection_id":148374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":148374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:03:33] local.INFO: TCP Data received {"connection_id":148374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:03:33] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:03:33] local.INFO: IMEI packet received {"connection_id":148374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":148374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:03:33] local.INFO: TCP Data received {"connection_id":148374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:03:33] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:03:33] local.INFO: Packet analysis {"connection_id":148374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:03:33] local.INFO: Extracted packet for processing {"connection_id":148374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182196992001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785868258000,"timestamp_ms":1785868258000,"timestamp_seconds":1785868258,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0b0ad0"} 
[2026-08-05 00:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182196992001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182196992001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:03:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182196992001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":148374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:03:33] local.INFO: GPS data processed {"connection_id":148374,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:03:33] local.INFO: Acknowledgment sent {"connection_id":148374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:03:54] local.INFO: TCP Data received {"connection_id":149363,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:03:54] local.INFO: Processing buffer {"connection_id":149363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:03:54] local.INFO: Packet analysis {"connection_id":149363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:03:54] local.INFO: Extracted packet for processing {"connection_id":149363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:03:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182188288001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785868224000,"timestamp_ms":1785868224000,"timestamp_seconds":1785868224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0a8600"} 
[2026-08-05 00:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 00:03: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-08-05 00:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182188288001,"66":25560,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182188288001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:03:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:03:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182188288001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":149363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:03:54] local.INFO: GPS data processed {"connection_id":149363,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:03:54] local.INFO: Acknowledgment sent {"connection_id":149363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:04:05] local.INFO: TCP Data received {"connection_id":148374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:04:05] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:04:05] local.INFO: Packet analysis {"connection_id":148374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:04:05] local.INFO: Extracted packet for processing {"connection_id":148374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182196992001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785868258000,"timestamp_ms":1785868258000,"timestamp_seconds":1785868258,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0b0ad0"} 
[2026-08-05 00:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182196992001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182196992001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:04:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182196992001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":148374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:04:05] local.INFO: GPS data processed {"connection_id":148374,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:04:05] local.INFO: Acknowledgment sent {"connection_id":148374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:04:17] local.INFO: TCP Data received {"connection_id":148375,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:04:17] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:04:17] local.INFO: IMEI packet received {"connection_id":148375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":148375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:04:22] local.INFO: TCP Data received {"connection_id":148375,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:04:22] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:04:22] local.INFO: IMEI packet received {"connection_id":148375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":148375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:04:25] local.INFO: TCP Data received {"connection_id":148375,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:04:25] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:04:25] local.INFO: Packet analysis {"connection_id":148375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:04:25] local.INFO: Extracted packet for processing {"connection_id":148375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:04:25] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182188288001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785868224000,"timestamp_ms":1785868224000,"timestamp_seconds":1785868224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0a8600"} 
[2026-08-05 00:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 00:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182188288001,"66":25560,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182188288001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:04:25] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:04:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182188288001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":148375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:04:25] local.INFO: GPS data processed {"connection_id":148375,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:04:25] local.INFO: Acknowledgment sent {"connection_id":148375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:04:27] local.INFO: TCP Data received {"connection_id":148137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:04:27] local.INFO: Processing buffer {"connection_id":148137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:04:27] local.INFO: IMEI packet received {"connection_id":148137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":148137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:04:32] local.INFO: TCP Data received {"connection_id":148137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:04:32] local.INFO: Processing buffer {"connection_id":148137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:04:32] local.INFO: IMEI packet received {"connection_id":148137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":148137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:04:33] local.INFO: TCP Data received {"connection_id":148137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:04:33] local.INFO: Processing buffer {"connection_id":148137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:04:33] local.INFO: Packet analysis {"connection_id":148137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:04:33] local.INFO: Extracted packet for processing {"connection_id":148137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182196992001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785868258000,"timestamp_ms":1785868258000,"timestamp_seconds":1785868258,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0b0ad0"} 
[2026-08-05 00:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182196992001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182196992001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:04:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182196992001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":148137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:04:33] local.INFO: GPS data processed {"connection_id":148137,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:04:33] local.INFO: Acknowledgment sent {"connection_id":148137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:04:56] local.INFO: TCP Data received {"connection_id":148375,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:04:56] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:04:56] local.INFO: Packet analysis {"connection_id":148375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:04:56] local.INFO: Extracted packet for processing {"connection_id":148375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:04:56] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 00:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182188288001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785868224000,"timestamp_ms":1785868224000,"timestamp_seconds":1785868224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0a8600"} 
[2026-08-05 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-08-05 00:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 00:04: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-08-05 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-08-05 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-08-05 00:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182188288001,"66":25560,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182188288001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:04:56] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:04:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182188288001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":148375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:04:56] local.INFO: GPS data processed {"connection_id":148375,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:04:56] local.INFO: Acknowledgment sent {"connection_id":148375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:05:04] local.INFO: TCP Data received {"connection_id":148137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:05:04] local.INFO: Processing buffer {"connection_id":148137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:05:04] local.INFO: Packet analysis {"connection_id":148137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:05:04] local.INFO: Extracted packet for processing {"connection_id":148137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182196992001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785868258000,"timestamp_ms":1785868258000,"timestamp_seconds":1785868258,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0b0ad0"} 
[2026-08-05 00:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182196992001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182196992001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:05:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182196992001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":148137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:05:04] local.INFO: GPS data processed {"connection_id":148137,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:05:04] local.INFO: Acknowledgment sent {"connection_id":148137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:05:16] local.INFO: TCP Data received {"connection_id":148138,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:05:16] local.INFO: Processing buffer {"connection_id":148138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:05:16] local.INFO: IMEI packet received {"connection_id":148138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":148138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:05:22] local.INFO: TCP Data received {"connection_id":148138,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:05:22] local.INFO: Processing buffer {"connection_id":148138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:05:22] local.INFO: IMEI packet received {"connection_id":148138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":148138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:05:23] local.INFO: TCP Data received {"connection_id":148138,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:05:23] local.INFO: Processing buffer {"connection_id":148138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:05:23] local.INFO: Packet analysis {"connection_id":148138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:05:23] local.INFO: Extracted packet for processing {"connection_id":148138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:05:23] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182188288001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785868224000,"timestamp_ms":1785868224000,"timestamp_seconds":1785868224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0a8600"} 
[2026-08-05 00:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 00:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182188288001,"66":25560,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182188288001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:05:23] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:05:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182188288001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":148138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:05:23] local.INFO: GPS data processed {"connection_id":148138,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:05:23] local.INFO: Acknowledgment sent {"connection_id":148138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:05:27] local.INFO: TCP Data received {"connection_id":150776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:05:27] local.INFO: Processing buffer {"connection_id":150776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:05:27] local.INFO: IMEI packet received {"connection_id":150776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":150776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:05:32] local.INFO: TCP Data received {"connection_id":150776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:05:32] local.INFO: Processing buffer {"connection_id":150776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:05:32] local.INFO: IMEI packet received {"connection_id":150776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":150776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:05:33] local.INFO: TCP Data received {"connection_id":150776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:05:33] local.INFO: Processing buffer {"connection_id":150776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:05:33] local.INFO: Packet analysis {"connection_id":150776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:05:33] local.INFO: Extracted packet for processing {"connection_id":150776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182196992001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785868258000,"timestamp_ms":1785868258000,"timestamp_seconds":1785868258,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0b0ad0"} 
[2026-08-05 00:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182196992001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182196992001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:05:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182196992001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":150776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:05:33] local.INFO: GPS data processed {"connection_id":150776,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:05:33] local.INFO: Acknowledgment sent {"connection_id":150776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:05:58] local.INFO: TCP Data received {"connection_id":148138,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:05:58] local.INFO: Processing buffer {"connection_id":148138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0a8600012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 00:05:58] local.INFO: Packet analysis {"connection_id":148138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:05:58] local.INFO: Extracted packet for processing {"connection_id":148138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0a"} 
[2026-08-05 00:05:58] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182188288001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785868224000,"timestamp_ms":1785868224000,"timestamp_seconds":1785868224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0a8600"} 
[2026-08-05 00:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 00:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182188288001,"66":25560,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182188288001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:05:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:05:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182188288001,"power":25560,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":148138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:05:58] local.INFO: GPS data processed {"connection_id":148138,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:05:58] local.INFO: Acknowledgment sent {"connection_id":148138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:06:04] local.INFO: TCP Data received {"connection_id":150776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:06:04] local.INFO: Processing buffer {"connection_id":150776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:06:04] local.INFO: Packet analysis {"connection_id":150776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:06:04] local.INFO: Extracted packet for processing {"connection_id":150776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182196992001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785868258000,"timestamp_ms":1785868258000,"timestamp_seconds":1785868258,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0b0ad0"} 
[2026-08-05 00:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182196992001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182196992001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:06:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182196992001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":150776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:06:04] local.INFO: GPS data processed {"connection_id":150776,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:06:04] local.INFO: Acknowledgment sent {"connection_id":150776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:06:22] local.INFO: TCP Data received {"connection_id":149364,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:06:22] local.INFO: Processing buffer {"connection_id":149364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:06:22] local.INFO: IMEI packet received {"connection_id":149364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":149364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:06:27] local.INFO: TCP Data received {"connection_id":149364,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:06:27] local.INFO: Processing buffer {"connection_id":149364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:06:27] local.INFO: IMEI packet received {"connection_id":149364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":149364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:06:27] local.INFO: TCP Data received {"connection_id":148139,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:06:27] local.INFO: Processing buffer {"connection_id":148139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:06:27] local.INFO: IMEI packet received {"connection_id":148139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":148139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:06:27] local.INFO: TCP Data received {"connection_id":149364,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:06:27] local.INFO: Processing buffer {"connection_id":149364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:06:27] local.INFO: Packet analysis {"connection_id":149364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:06:27] local.INFO: Extracted packet for processing {"connection_id":149364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:06:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182265344001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785868525000,"timestamp_ms":1785868525000,"timestamp_seconds":1785868525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0f1dc8"} 
[2026-08-05 00:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 00:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182265344001,"66":25549,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182265344001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:06:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:06:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182265344001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":149364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:06:27] local.INFO: GPS data processed {"connection_id":149364,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:06:27] local.INFO: Acknowledgment sent {"connection_id":149364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:06:32] local.INFO: TCP Data received {"connection_id":148139,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:06:32] local.INFO: Processing buffer {"connection_id":148139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:06:32] local.INFO: IMEI packet received {"connection_id":148139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":148139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:06:32] local.INFO: TCP Data received {"connection_id":149364,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:06:32] local.INFO: Processing buffer {"connection_id":149364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:06:32] local.INFO: Packet analysis {"connection_id":149364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:06:32] local.INFO: Extracted packet for processing {"connection_id":149364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:06:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182265344001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785868525000,"timestamp_ms":1785868525000,"timestamp_seconds":1785868525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0f1dc8"} 
[2026-08-05 00:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 00:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182265344001,"66":25549,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182265344001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:06:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:06:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182265344001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":149364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:06:32] local.INFO: GPS data processed {"connection_id":149364,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:06:32] local.INFO: Acknowledgment sent {"connection_id":149364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:06:33] local.INFO: TCP Data received {"connection_id":148139,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:06:33] local.INFO: Processing buffer {"connection_id":148139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0b0ad0012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:06:33] local.INFO: Packet analysis {"connection_id":148139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:06:33] local.INFO: Extracted packet for processing {"connection_id":148139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0b"} 
[2026-08-05 00:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182196992001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785868258000,"timestamp_ms":1785868258000,"timestamp_seconds":1785868258,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0b0ad0"} 
[2026-08-05 00:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182196992001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182196992001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:06:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182196992001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":148139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:06:33] local.INFO: GPS data processed {"connection_id":148139,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:06:33] local.INFO: Acknowledgment sent {"connection_id":148139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:07:04] local.INFO: TCP Data received {"connection_id":148139,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:07:04] local.INFO: Processing buffer {"connection_id":148139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:07:04] local.INFO: Packet analysis {"connection_id":148139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:07:04] local.INFO: Extracted packet for processing {"connection_id":148139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":34,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182274048001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785868559000,"timestamp_ms":1785868559000,"timestamp_seconds":1785868559,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0fa298"} 
[2026-08-05 00:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182274048001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182274048001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:07:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182274048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":148139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:07:04] local.INFO: GPS data processed {"connection_id":148139,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:07:04] local.INFO: Acknowledgment sent {"connection_id":148139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:07:17] local.INFO: TCP Data received {"connection_id":148376,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:07:17] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:07:17] local.INFO: IMEI packet received {"connection_id":148376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":148376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:07:22] local.INFO: TCP Data received {"connection_id":148376,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:07:22] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:07:22] local.INFO: IMEI packet received {"connection_id":148376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":148376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:07:27] local.INFO: TCP Data received {"connection_id":148376,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:07:27] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:07:27] local.INFO: Packet analysis {"connection_id":148376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:07:27] local.INFO: Extracted packet for processing {"connection_id":148376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:07:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182265344001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785868525000,"timestamp_ms":1785868525000,"timestamp_seconds":1785868525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0f1dc8"} 
[2026-08-05 00:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 00:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182265344001,"66":25549,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182265344001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:07:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:07:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182265344001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":148376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:07:27] local.INFO: GPS data processed {"connection_id":148376,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:07:27] local.INFO: Acknowledgment sent {"connection_id":148376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:07:27] local.INFO: TCP Data received {"connection_id":148140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:07:27] local.INFO: Processing buffer {"connection_id":148140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:07:27] local.INFO: IMEI packet received {"connection_id":148140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":148140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:07:33] local.INFO: TCP Data received {"connection_id":148140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:07:33] local.INFO: Processing buffer {"connection_id":148140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:07:33] local.INFO: IMEI packet received {"connection_id":148140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":148140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:07:33] local.INFO: TCP Data received {"connection_id":148140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:07:33] local.INFO: Processing buffer {"connection_id":148140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:07:33] local.INFO: Packet analysis {"connection_id":148140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:07:33] local.INFO: Extracted packet for processing {"connection_id":148140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":34,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182274048001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785868559000,"timestamp_ms":1785868559000,"timestamp_seconds":1785868559,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0fa298"} 
[2026-08-05 00:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182274048001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182274048001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:07:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182274048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":148140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:07:33] local.INFO: GPS data processed {"connection_id":148140,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:07:33] local.INFO: Acknowledgment sent {"connection_id":148140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:08:05] local.INFO: TCP Data received {"connection_id":148140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:08:05] local.INFO: Processing buffer {"connection_id":148140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:08:05] local.INFO: Packet analysis {"connection_id":148140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:08:05] local.INFO: Extracted packet for processing {"connection_id":148140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":34,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182274048001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785868559000,"timestamp_ms":1785868559000,"timestamp_seconds":1785868559,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0fa298"} 
[2026-08-05 00:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182274048001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182274048001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182274048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":148140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:08:05] local.INFO: GPS data processed {"connection_id":148140,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:08:05] local.INFO: Acknowledgment sent {"connection_id":148140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:08:10] local.INFO: TCP Data received {"connection_id":148376,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:08:10] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:08:10] local.INFO: Packet analysis {"connection_id":148376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:08:10] local.INFO: Extracted packet for processing {"connection_id":148376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:08:10] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182265344001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785868525000,"timestamp_ms":1785868525000,"timestamp_seconds":1785868525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0f1dc8"} 
[2026-08-05 00:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 00:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182265344001,"66":25549,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182265344001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:08:10] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:08:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182265344001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":148376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:08:10] local.INFO: GPS data processed {"connection_id":148376,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:08:10] local.INFO: Acknowledgment sent {"connection_id":148376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:08:16] local.INFO: TCP Data received {"connection_id":148141,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:08:16] local.INFO: Processing buffer {"connection_id":148141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:08:16] local.INFO: IMEI packet received {"connection_id":148141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":148141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:08:22] local.INFO: TCP Data received {"connection_id":148141,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:08:22] local.INFO: Processing buffer {"connection_id":148141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:08:22] local.INFO: IMEI packet received {"connection_id":148141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":148141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:08:22] local.INFO: TCP Data received {"connection_id":148141,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:08:22] local.INFO: Processing buffer {"connection_id":148141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:08:22] local.INFO: Packet analysis {"connection_id":148141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:08:22] local.INFO: Extracted packet for processing {"connection_id":148141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:08:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182265344001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785868525000,"timestamp_ms":1785868525000,"timestamp_seconds":1785868525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0f1dc8"} 
[2026-08-05 00:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 00:08: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-08-05 00:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182265344001,"66":25549,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182265344001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:08:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:08:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182265344001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":148141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:08:22] local.INFO: GPS data processed {"connection_id":148141,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:08:22] local.INFO: Acknowledgment sent {"connection_id":148141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:08:28] local.INFO: TCP Data received {"connection_id":149365,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:08:28] local.INFO: Processing buffer {"connection_id":149365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:08:28] local.INFO: IMEI packet received {"connection_id":149365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":149365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:08:33] local.INFO: TCP Data received {"connection_id":149365,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:08:33] local.INFO: Processing buffer {"connection_id":149365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:08:33] local.INFO: IMEI packet received {"connection_id":149365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":149365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:08:33] local.INFO: TCP Data received {"connection_id":149365,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:08:33] local.INFO: Processing buffer {"connection_id":149365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:08:33] local.INFO: Packet analysis {"connection_id":149365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:08:33] local.INFO: Extracted packet for processing {"connection_id":149365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":34,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182274048001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785868559000,"timestamp_ms":1785868559000,"timestamp_seconds":1785868559,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0fa298"} 
[2026-08-05 00:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182274048001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182274048001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:08:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182274048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":149365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:08:34] local.INFO: GPS data processed {"connection_id":149365,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:08:34] local.INFO: Acknowledgment sent {"connection_id":149365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:08:54] local.INFO: TCP Data received {"connection_id":148141,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:08:54] local.INFO: Processing buffer {"connection_id":148141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:08:54] local.INFO: Packet analysis {"connection_id":148141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:08:54] local.INFO: Extracted packet for processing {"connection_id":148141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:08:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182265344001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785868525000,"timestamp_ms":1785868525000,"timestamp_seconds":1785868525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0f1dc8"} 
[2026-08-05 00:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 00:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182265344001,"66":25549,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182265344001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:08:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:08:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182265344001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":148141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:08:54] local.INFO: GPS data processed {"connection_id":148141,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:08:54] local.INFO: Acknowledgment sent {"connection_id":148141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:09:05] local.INFO: TCP Data received {"connection_id":149365,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:09:05] local.INFO: Processing buffer {"connection_id":149365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:09:05] local.INFO: Packet analysis {"connection_id":149365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:09:05] local.INFO: Extracted packet for processing {"connection_id":149365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":34,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182274048001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785868559000,"timestamp_ms":1785868559000,"timestamp_seconds":1785868559,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0fa298"} 
[2026-08-05 00:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182274048001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182274048001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:09:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182274048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":149365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:09:05] local.INFO: GPS data processed {"connection_id":149365,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:09:05] local.INFO: Acknowledgment sent {"connection_id":149365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:09:16] local.INFO: TCP Data received {"connection_id":150777,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:09:16] local.INFO: Processing buffer {"connection_id":150777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:09:16] local.INFO: IMEI packet received {"connection_id":150777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":150777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:09:22] local.INFO: TCP Data received {"connection_id":150777,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:09:22] local.INFO: Processing buffer {"connection_id":150777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:09:22] local.INFO: IMEI packet received {"connection_id":150777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":150777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:09:22] local.INFO: TCP Data received {"connection_id":150777,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:09:22] local.INFO: Processing buffer {"connection_id":150777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:09:22] local.INFO: Packet analysis {"connection_id":150777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:09:22] local.INFO: Extracted packet for processing {"connection_id":150777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:09:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182265344001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785868525000,"timestamp_ms":1785868525000,"timestamp_seconds":1785868525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0f1dc8"} 
[2026-08-05 00:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 00:09: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-08-05 00:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182265344001,"66":25549,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182265344001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182265344001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":150777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:09:22] local.INFO: GPS data processed {"connection_id":150777,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:09:22] local.INFO: Acknowledgment sent {"connection_id":150777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:09:28] local.INFO: TCP Data received {"connection_id":149366,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:09:28] local.INFO: Processing buffer {"connection_id":149366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:09:28] local.INFO: IMEI packet received {"connection_id":149366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":149366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:09:33] local.INFO: TCP Data received {"connection_id":149366,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:09:33] local.INFO: Processing buffer {"connection_id":149366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:09:33] local.INFO: IMEI packet received {"connection_id":149366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":149366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:09:33] local.INFO: TCP Data received {"connection_id":149366,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:09:33] local.INFO: Processing buffer {"connection_id":149366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:09:33] local.INFO: Packet analysis {"connection_id":149366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:09:33] local.INFO: Extracted packet for processing {"connection_id":149366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":34,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182274048001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785868559000,"timestamp_ms":1785868559000,"timestamp_seconds":1785868559,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0fa298"} 
[2026-08-05 00:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182274048001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182274048001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:09:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:09:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182274048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":149366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:09:33] local.INFO: GPS data processed {"connection_id":149366,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:09:33] local.INFO: Acknowledgment sent {"connection_id":149366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:09:53] local.INFO: TCP Data received {"connection_id":150777,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:09:53] local.INFO: Processing buffer {"connection_id":150777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:09:53] local.INFO: Packet analysis {"connection_id":150777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:09:53] local.INFO: Extracted packet for processing {"connection_id":150777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:09:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182265344001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785868525000,"timestamp_ms":1785868525000,"timestamp_seconds":1785868525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0f1dc8"} 
[2026-08-05 00:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":216,"data_length":795,"current_offset":136} 
[2026-08-05 00:09: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-08-05 00:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182265344001,"66":25549,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182265344001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:09:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:09:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182265344001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":150777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:09:53] local.INFO: GPS data processed {"connection_id":150777,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:09:53] local.INFO: Acknowledgment sent {"connection_id":150777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:10:05] local.INFO: TCP Data received {"connection_id":149366,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:10:05] local.INFO: Processing buffer {"connection_id":149366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:10:05] local.INFO: Packet analysis {"connection_id":149366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:10:05] local.INFO: Extracted packet for processing {"connection_id":149366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":34,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182274048001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785868559000,"timestamp_ms":1785868559000,"timestamp_seconds":1785868559,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0fa298"} 
[2026-08-05 00:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182274048001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182274048001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:10:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182274048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":149366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:10:05] local.INFO: GPS data processed {"connection_id":149366,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:10:05] local.INFO: Acknowledgment sent {"connection_id":149366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:10:22] local.INFO: TCP Data received {"connection_id":148377,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:10:22] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:10:22] local.INFO: IMEI packet received {"connection_id":148377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":148377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:10:27] local.INFO: TCP Data received {"connection_id":148377,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:10:27] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:10:27] local.INFO: IMEI packet received {"connection_id":148377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":148377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:10:27] local.INFO: TCP Data received {"connection_id":148377,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:10:27] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:10:27] local.INFO: Packet analysis {"connection_id":148377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:10:27] local.INFO: Extracted packet for processing {"connection_id":148377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:10:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00: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-08-05 00:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182265344001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785868525000,"timestamp_ms":1785868525000,"timestamp_seconds":1785868525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0f1dc8"} 
[2026-08-05 00:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 00:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182265344001,"66":25549,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182265344001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:10:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:10:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182265344001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":148377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:10:27] local.INFO: GPS data processed {"connection_id":148377,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:10:27] local.INFO: Acknowledgment sent {"connection_id":148377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:10:28] local.INFO: TCP Data received {"connection_id":148142,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:10:28] local.INFO: Processing buffer {"connection_id":148142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:10:28] local.INFO: IMEI packet received {"connection_id":148142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":148142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:10:32] local.INFO: TCP Data received {"connection_id":148377,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:10:32] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0f1dc8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:10:32] local.INFO: Packet analysis {"connection_id":148377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:10:32] local.INFO: Extracted packet for processing {"connection_id":148377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182265344001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785868525000,"timestamp_ms":1785868525000,"timestamp_seconds":1785868525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0f1dc8"} 
[2026-08-05 00:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 00:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182265344001,"66":25549,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182265344001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:10:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:10:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182265344001,"power":25549,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":148377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:10:32] local.INFO: GPS data processed {"connection_id":148377,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:10:32] local.INFO: Acknowledgment sent {"connection_id":148377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:10:32] local.INFO: TCP Data received {"connection_id":148142,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:10:33] local.INFO: Processing buffer {"connection_id":148142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:10:33] local.INFO: IMEI packet received {"connection_id":148142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":148142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:10:35] local.INFO: TCP Data received {"connection_id":148142,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:10:35] local.INFO: Processing buffer {"connection_id":148142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:10:35] local.INFO: Packet analysis {"connection_id":148142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:10:35] local.INFO: Extracted packet for processing {"connection_id":148142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":34,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182274048001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00: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-08-05 00:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785868559000,"timestamp_ms":1785868559000,"timestamp_seconds":1785868559,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0fa298"} 
[2026-08-05 00:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:10: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-08-05 00: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182274048001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182274048001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:10:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182274048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":148142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:10:35] local.INFO: GPS data processed {"connection_id":148142,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:10:35] local.INFO: Acknowledgment sent {"connection_id":148142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:11:07] local.INFO: TCP Data received {"connection_id":148142,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:11:07] local.INFO: Processing buffer {"connection_id":148142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:11:07] local.INFO: Packet analysis {"connection_id":148142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:11:07] local.INFO: Extracted packet for processing {"connection_id":148142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":34,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182274048001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785868559000,"timestamp_ms":1785868559000,"timestamp_seconds":1785868559,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0fa298"} 
[2026-08-05 00:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182274048001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182274048001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:11:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182274048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":148142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:11:07] local.INFO: GPS data processed {"connection_id":148142,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:11:07] local.INFO: Acknowledgment sent {"connection_id":148142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:11:17] local.INFO: TCP Data received {"connection_id":149367,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:11:17] local.INFO: Processing buffer {"connection_id":149367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:11:17] local.INFO: IMEI packet received {"connection_id":149367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":149367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:11:22] local.INFO: TCP Data received {"connection_id":149367,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:11:22] local.INFO: Processing buffer {"connection_id":149367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:11:22] local.INFO: IMEI packet received {"connection_id":149367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":149367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:11:22] local.INFO: TCP Data received {"connection_id":149367,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:11:22] local.INFO: Processing buffer {"connection_id":149367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:11:22] local.INFO: Packet analysis {"connection_id":149367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:11:22] local.INFO: Extracted packet for processing {"connection_id":149367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:11:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182342400001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785868825000,"timestamp_ms":1785868825000,"timestamp_seconds":1785868825,"priority":1,"record_length":96,"hex_timestamp":"0000019fce13b1a8"} 
[2026-08-05 00:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 00:11: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-08-05 00:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182342400001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182342400001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:11:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:11:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182342400001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":149367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:11:22] local.INFO: GPS data processed {"connection_id":149367,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:11:22] local.INFO: Acknowledgment sent {"connection_id":149367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:11:27] local.INFO: TCP Data received {"connection_id":150778,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:11:27] local.INFO: Processing buffer {"connection_id":150778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:11:27] local.INFO: IMEI packet received {"connection_id":150778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":150778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:11:32] local.INFO: TCP Data received {"connection_id":150778,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:11:33] local.INFO: Processing buffer {"connection_id":150778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:11:33] local.INFO: IMEI packet received {"connection_id":150778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":150778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:11:37] local.INFO: TCP Data received {"connection_id":150778,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:11:37] local.INFO: Processing buffer {"connection_id":150778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce0fa298012d195fc0071ff2f8003c006322..."} 
[2026-08-05 00:11:37] local.INFO: Packet analysis {"connection_id":150778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:11:37] local.INFO: Extracted packet for processing {"connection_id":150778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce0f"} 
[2026-08-05 00:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":34,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 00:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182274048001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 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-08-05 00:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785868559000,"timestamp_ms":1785868559000,"timestamp_seconds":1785868559,"priority":1,"record_length":96,"hex_timestamp":"0000019fce0fa298"} 
[2026-08-05 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-08-05 00:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 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-08-05 00:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:11: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-08-05 00:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182274048001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"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-08-05 00:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182274048001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:11:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182274048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":150778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:11:37] local.INFO: GPS data processed {"connection_id":150778,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:11:37] local.INFO: Acknowledgment sent {"connection_id":150778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:11:54] local.INFO: TCP Data received {"connection_id":149367,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:11:54] local.INFO: Processing buffer {"connection_id":149367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:11:54] local.INFO: Packet analysis {"connection_id":149367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:11:54] local.INFO: Extracted packet for processing {"connection_id":149367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:11:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182342400001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785868825000,"timestamp_ms":1785868825000,"timestamp_seconds":1785868825,"priority":1,"record_length":96,"hex_timestamp":"0000019fce13b1a8"} 
[2026-08-05 00:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 00:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182342400001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182342400001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:11:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:11:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182342400001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":149367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:11:54] local.INFO: GPS data processed {"connection_id":149367,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:11:54] local.INFO: Acknowledgment sent {"connection_id":149367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:12:17] local.INFO: TCP Data received {"connection_id":150779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:12:17] local.INFO: Processing buffer {"connection_id":150779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:12:17] local.INFO: IMEI packet received {"connection_id":150779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":150779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:12:22] local.INFO: TCP Data received {"connection_id":150779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:12:22] local.INFO: Processing buffer {"connection_id":150779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:12:22] local.INFO: IMEI packet received {"connection_id":150779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":150779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:12:22] local.INFO: TCP Data received {"connection_id":150778,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:12:22] local.INFO: Processing buffer {"connection_id":150778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:12:22] local.INFO: Packet analysis {"connection_id":150778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:12:22] local.INFO: Extracted packet for processing {"connection_id":150778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182351104001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785868860000,"timestamp_ms":1785868860000,"timestamp_seconds":1785868860,"priority":1,"record_length":96,"hex_timestamp":"0000019fce143a60"} 
[2026-08-05 00:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182351104001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"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-08-05 00:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182351104001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:12:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182351104001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":150778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:12:22] local.INFO: GPS data processed {"connection_id":150778,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:12:22] local.INFO: Acknowledgment sent {"connection_id":150778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:12:26] local.INFO: TCP Data received {"connection_id":150779,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:12:26] local.INFO: Processing buffer {"connection_id":150779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:12:26] local.INFO: Packet analysis {"connection_id":150779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:12:26] local.INFO: Extracted packet for processing {"connection_id":150779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:12:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182342400001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785868825000,"timestamp_ms":1785868825000,"timestamp_seconds":1785868825,"priority":1,"record_length":96,"hex_timestamp":"0000019fce13b1a8"} 
[2026-08-05 00:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 00:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182342400001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182342400001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:12:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:12:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182342400001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":150779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:12:26] local.INFO: GPS data processed {"connection_id":150779,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:12:26] local.INFO: Acknowledgment sent {"connection_id":150779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:12:28] local.INFO: TCP Data received {"connection_id":148143,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:12:28] local.INFO: Processing buffer {"connection_id":148143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:12:28] local.INFO: IMEI packet received {"connection_id":148143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":148143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:12:33] local.INFO: TCP Data received {"connection_id":148143,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:12:33] local.INFO: Processing buffer {"connection_id":148143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:12:33] local.INFO: IMEI packet received {"connection_id":148143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":148143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:12:33] local.INFO: TCP Data received {"connection_id":148143,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:12:33] local.INFO: Processing buffer {"connection_id":148143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:12:33] local.INFO: Packet analysis {"connection_id":148143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:12:33] local.INFO: Extracted packet for processing {"connection_id":148143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182351104001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785868860000,"timestamp_ms":1785868860000,"timestamp_seconds":1785868860,"priority":1,"record_length":96,"hex_timestamp":"0000019fce143a60"} 
[2026-08-05 00:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:12: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-08-05 00:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182351104001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"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-08-05 00:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182351104001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:12:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182351104001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":148143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:12:33] local.INFO: GPS data processed {"connection_id":148143,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:12:33] local.INFO: Acknowledgment sent {"connection_id":148143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:12:54] local.INFO: TCP Data received {"connection_id":148144,"ip":"194.165.16.163","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-05 00:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148144,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-05 00:12:54] local.INFO: Processing buffer {"connection_id":148144,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-05 00:12:54] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":148144,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-08-05 00:12:57] local.INFO: TCP Data received {"connection_id":150779,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:12:57] local.INFO: Processing buffer {"connection_id":150779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:12:57] local.INFO: Packet analysis {"connection_id":150779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:12:57] local.INFO: Extracted packet for processing {"connection_id":150779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:12:57] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182342400001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785868825000,"timestamp_ms":1785868825000,"timestamp_seconds":1785868825,"priority":1,"record_length":96,"hex_timestamp":"0000019fce13b1a8"} 
[2026-08-05 00:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 00:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182342400001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182342400001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:12:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:12:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182342400001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":150779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:12:57] local.INFO: GPS data processed {"connection_id":150779,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:12:57] local.INFO: Acknowledgment sent {"connection_id":150779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:13:04] local.INFO: TCP Data received {"connection_id":148143,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:13:04] local.INFO: Processing buffer {"connection_id":148143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:13:04] local.INFO: Packet analysis {"connection_id":148143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:13:04] local.INFO: Extracted packet for processing {"connection_id":148143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182351104001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785868860000,"timestamp_ms":1785868860000,"timestamp_seconds":1785868860,"priority":1,"record_length":96,"hex_timestamp":"0000019fce143a60"} 
[2026-08-05 00:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:13: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-08-05 00:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182351104001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"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-08-05 00:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182351104001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:13:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182351104001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":148143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:13:05] local.INFO: GPS data processed {"connection_id":148143,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:13:05] local.INFO: Acknowledgment sent {"connection_id":148143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:13:16] local.INFO: TCP Data received {"connection_id":150780,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:13:16] local.INFO: Processing buffer {"connection_id":150780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:13:16] local.INFO: IMEI packet received {"connection_id":150780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":150780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:13:22] local.INFO: TCP Data received {"connection_id":150780,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:13:22] local.INFO: Processing buffer {"connection_id":150780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:13:22] local.INFO: IMEI packet received {"connection_id":150780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":150780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:13:22] local.INFO: TCP Data received {"connection_id":150780,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:13:22] local.INFO: Processing buffer {"connection_id":150780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:13:22] local.INFO: Packet analysis {"connection_id":150780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:13:22] local.INFO: Extracted packet for processing {"connection_id":150780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:13:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182342400001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785868825000,"timestamp_ms":1785868825000,"timestamp_seconds":1785868825,"priority":1,"record_length":96,"hex_timestamp":"0000019fce13b1a8"} 
[2026-08-05 00:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 00:13: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-08-05 00:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182342400001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182342400001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:13:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:13:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182342400001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":150780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:13:22] local.INFO: GPS data processed {"connection_id":150780,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:13:22] local.INFO: Acknowledgment sent {"connection_id":150780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:13:27] local.INFO: TCP Data received {"connection_id":149368,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:13:28] local.INFO: Processing buffer {"connection_id":149368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:13:28] local.INFO: IMEI packet received {"connection_id":149368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":149368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:13:32] local.INFO: TCP Data received {"connection_id":149368,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:13:33] local.INFO: Processing buffer {"connection_id":149368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:13:33] local.INFO: IMEI packet received {"connection_id":149368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":149368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:13:33] local.INFO: TCP Data received {"connection_id":149368,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:13:33] local.INFO: Processing buffer {"connection_id":149368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:13:33] local.INFO: Packet analysis {"connection_id":149368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:13:33] local.INFO: Extracted packet for processing {"connection_id":149368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182351104001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785868860000,"timestamp_ms":1785868860000,"timestamp_seconds":1785868860,"priority":1,"record_length":96,"hex_timestamp":"0000019fce143a60"} 
[2026-08-05 00:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182351104001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182351104001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:13:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182351104001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":149368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:13:33] local.INFO: GPS data processed {"connection_id":149368,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:13:33] local.INFO: Acknowledgment sent {"connection_id":149368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:13:54] local.INFO: TCP Data received {"connection_id":150780,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:13:54] local.INFO: Processing buffer {"connection_id":150780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:13:54] local.INFO: Packet analysis {"connection_id":150780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:13:54] local.INFO: Extracted packet for processing {"connection_id":150780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:13:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182342400001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785868825000,"timestamp_ms":1785868825000,"timestamp_seconds":1785868825,"priority":1,"record_length":96,"hex_timestamp":"0000019fce13b1a8"} 
[2026-08-05 00:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 00:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":150780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":150780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":150780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:13: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-08-05 00:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182342400001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182342400001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:13:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:13:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182342400001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":150780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:13:54] local.INFO: GPS data processed {"connection_id":150780,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:13:54] local.INFO: Acknowledgment sent {"connection_id":150780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:14:04] local.INFO: TCP Data received {"connection_id":149368,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:14:04] local.INFO: Processing buffer {"connection_id":149368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:14:04] local.INFO: Packet analysis {"connection_id":149368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:14:04] local.INFO: Extracted packet for processing {"connection_id":149368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182351104001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785868860000,"timestamp_ms":1785868860000,"timestamp_seconds":1785868860,"priority":1,"record_length":96,"hex_timestamp":"0000019fce143a60"} 
[2026-08-05 00:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182351104001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182351104001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:14:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182351104001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":149368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:14:05] local.INFO: GPS data processed {"connection_id":149368,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:14:05] local.INFO: Acknowledgment sent {"connection_id":149368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:14:16] local.INFO: TCP Data received {"connection_id":148145,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:14:16] local.INFO: Processing buffer {"connection_id":148145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:14:16] local.INFO: IMEI packet received {"connection_id":148145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":148145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:14:22] local.INFO: TCP Data received {"connection_id":148145,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:14:22] local.INFO: Processing buffer {"connection_id":148145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:14:22] local.INFO: IMEI packet received {"connection_id":148145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":148145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:14:22] local.INFO: TCP Data received {"connection_id":148145,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:14:22] local.INFO: Processing buffer {"connection_id":148145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:14:22] local.INFO: Packet analysis {"connection_id":148145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:14:22] local.INFO: Extracted packet for processing {"connection_id":148145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:14:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182342400001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785868825000,"timestamp_ms":1785868825000,"timestamp_seconds":1785868825,"priority":1,"record_length":96,"hex_timestamp":"0000019fce13b1a8"} 
[2026-08-05 00:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 00:14: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-08-05 00:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182342400001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182342400001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:14:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:14:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182342400001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":148145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:14:22] local.INFO: GPS data processed {"connection_id":148145,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:14:22] local.INFO: Acknowledgment sent {"connection_id":148145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:14:27] local.INFO: TCP Data received {"connection_id":148378,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:14:27] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:14:27] local.INFO: IMEI packet received {"connection_id":148378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":148378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:14:35] local.INFO: TCP Data received {"connection_id":148378,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:14:35] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:14:35] local.INFO: IMEI packet received {"connection_id":148378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":148378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:14:35] local.INFO: TCP Data received {"connection_id":148378,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:14:35] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:14:35] local.INFO: Packet analysis {"connection_id":148378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:14:35] local.INFO: Extracted packet for processing {"connection_id":148378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182351104001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785868860000,"timestamp_ms":1785868860000,"timestamp_seconds":1785868860,"priority":1,"record_length":96,"hex_timestamp":"0000019fce143a60"} 
[2026-08-05 00:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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-08-05 00: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-08-05 00:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182351104001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182351104001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:14:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182351104001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":148378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:14:35] local.INFO: GPS data processed {"connection_id":148378,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:14:35] local.INFO: Acknowledgment sent {"connection_id":148378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:14:55] local.INFO: TCP Data received {"connection_id":148145,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:14:55] local.INFO: Processing buffer {"connection_id":148145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:14:55] local.INFO: Packet analysis {"connection_id":148145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:14:55] local.INFO: Extracted packet for processing {"connection_id":148145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:14:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182342400001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785868825000,"timestamp_ms":1785868825000,"timestamp_seconds":1785868825,"priority":1,"record_length":96,"hex_timestamp":"0000019fce13b1a8"} 
[2026-08-05 00:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 00:14: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-08-05 00:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:14: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-08-05 00:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182342400001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182342400001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:14:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:14:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182342400001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":148145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:14:55] local.INFO: GPS data processed {"connection_id":148145,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:14:55] local.INFO: Acknowledgment sent {"connection_id":148145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:15:15] local.INFO: TCP Data received {"connection_id":148378,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:15:15] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:15:15] local.INFO: Packet analysis {"connection_id":148378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:15:15] local.INFO: Extracted packet for processing {"connection_id":148378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182351104001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785868860000,"timestamp_ms":1785868860000,"timestamp_seconds":1785868860,"priority":1,"record_length":96,"hex_timestamp":"0000019fce143a60"} 
[2026-08-05 00:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182351104001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182351104001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:15:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182351104001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":148378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:15:16] local.INFO: GPS data processed {"connection_id":148378,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:15:16] local.INFO: Acknowledgment sent {"connection_id":148378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:15:22] local.INFO: TCP Data received {"connection_id":149369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:15:22] local.INFO: Processing buffer {"connection_id":149369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:15:22] local.INFO: IMEI packet received {"connection_id":149369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":149369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:15:27] local.INFO: TCP Data received {"connection_id":149369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:15:27] local.INFO: Processing buffer {"connection_id":149369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:15:27] local.INFO: IMEI packet received {"connection_id":149369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":149369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:15:27] local.INFO: TCP Data received {"connection_id":148379,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:15:27] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:15:27] local.INFO: IMEI packet received {"connection_id":148379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":148379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:15:27] local.INFO: TCP Data received {"connection_id":149369,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:15:27] local.INFO: Processing buffer {"connection_id":149369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:15:27] local.INFO: Packet analysis {"connection_id":149369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:15:27] local.INFO: Extracted packet for processing {"connection_id":149369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:15:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182342400001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785868825000,"timestamp_ms":1785868825000,"timestamp_seconds":1785868825,"priority":1,"record_length":96,"hex_timestamp":"0000019fce13b1a8"} 
[2026-08-05 00:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 00:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182342400001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182342400001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:15:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:15:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182342400001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":149369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:15:27] local.INFO: GPS data processed {"connection_id":149369,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:15:27] local.INFO: Acknowledgment sent {"connection_id":149369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:15:32] local.INFO: TCP Data received {"connection_id":149369,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:15:32] local.INFO: Processing buffer {"connection_id":149369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce13b1a8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:15:32] local.INFO: Packet analysis {"connection_id":149369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:15:32] local.INFO: Extracted packet for processing {"connection_id":149369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce13"} 
[2026-08-05 00:15:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182342400001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785868825000,"timestamp_ms":1785868825000,"timestamp_seconds":1785868825,"priority":1,"record_length":96,"hex_timestamp":"0000019fce13b1a8"} 
[2026-08-05 00:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 00:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182342400001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182342400001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:15:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:15:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182342400001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":149369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:15:32] local.INFO: GPS data processed {"connection_id":149369,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:15:32] local.INFO: Acknowledgment sent {"connection_id":149369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:15:32] local.INFO: TCP Data received {"connection_id":148379,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:15:32] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:15:32] local.INFO: IMEI packet received {"connection_id":148379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":148379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:15:33] local.INFO: TCP Data received {"connection_id":148379,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:15:33] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:15:33] local.INFO: Packet analysis {"connection_id":148379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:15:33] local.INFO: Extracted packet for processing {"connection_id":148379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182351104001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785868860000,"timestamp_ms":1785868860000,"timestamp_seconds":1785868860,"priority":1,"record_length":96,"hex_timestamp":"0000019fce143a60"} 
[2026-08-05 00:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182351104001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182351104001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:15:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182351104001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":148379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:15:33] local.INFO: GPS data processed {"connection_id":148379,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:15:33] local.INFO: Acknowledgment sent {"connection_id":148379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:16:05] local.INFO: TCP Data received {"connection_id":148379,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:16:05] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:16:05] local.INFO: Packet analysis {"connection_id":148379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:16:05] local.INFO: Extracted packet for processing {"connection_id":148379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182351104001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00: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-08-05 00:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785868860000,"timestamp_ms":1785868860000,"timestamp_seconds":1785868860,"priority":1,"record_length":96,"hex_timestamp":"0000019fce143a60"} 
[2026-08-05 00:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182351104001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182351104001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:16:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182351104001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":148379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:16:05] local.INFO: GPS data processed {"connection_id":148379,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:16:05] local.INFO: Acknowledgment sent {"connection_id":148379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:16:17] local.INFO: TCP Data received {"connection_id":148146,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:16:17] local.INFO: Processing buffer {"connection_id":148146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:16:17] local.INFO: IMEI packet received {"connection_id":148146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":148146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:16:22] local.INFO: TCP Data received {"connection_id":148146,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:16:22] local.INFO: Processing buffer {"connection_id":148146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:16:22] local.INFO: IMEI packet received {"connection_id":148146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":148146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:16:22] local.INFO: TCP Data received {"connection_id":148146,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:16:22] local.INFO: Processing buffer {"connection_id":148146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:16:22] local.INFO: Packet analysis {"connection_id":148146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:16:22] local.INFO: Extracted packet for processing {"connection_id":148146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:16:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182419200001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785869126000,"timestamp_ms":1785869126000,"timestamp_seconds":1785869126,"priority":1,"record_length":96,"hex_timestamp":"0000019fce184970"} 
[2026-08-05 00:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:16: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-08-05 00:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182419200001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182419200001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:16:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:16:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182419200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":148146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:16:22] local.INFO: GPS data processed {"connection_id":148146,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:16:22] local.INFO: Acknowledgment sent {"connection_id":148146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:16:27] local.INFO: TCP Data received {"connection_id":149370,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:16:27] local.INFO: Processing buffer {"connection_id":149370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:16:27] local.INFO: IMEI packet received {"connection_id":149370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":149370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:16:32] local.INFO: TCP Data received {"connection_id":149370,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:16:33] local.INFO: Processing buffer {"connection_id":149370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:16:33] local.INFO: IMEI packet received {"connection_id":149370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":149370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:16:33] local.INFO: TCP Data received {"connection_id":149370,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:16:34] local.INFO: Processing buffer {"connection_id":149370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce143a60012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:16:34] local.INFO: Packet analysis {"connection_id":149370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:16:34] local.INFO: Extracted packet for processing {"connection_id":149370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce14"} 
[2026-08-05 00:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182351104001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785868860000,"timestamp_ms":1785868860000,"timestamp_seconds":1785868860,"priority":1,"record_length":96,"hex_timestamp":"0000019fce143a60"} 
[2026-08-05 00:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182351104001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182351104001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:16:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182351104001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":149370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:16:34] local.INFO: GPS data processed {"connection_id":149370,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:16:34] local.INFO: Acknowledgment sent {"connection_id":149370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:16:57] local.INFO: TCP Data received {"connection_id":148146,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:16:57] local.INFO: Processing buffer {"connection_id":148146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:16:57] local.INFO: Packet analysis {"connection_id":148146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:16:57] local.INFO: Extracted packet for processing {"connection_id":148146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:16:57] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182419200001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785869126000,"timestamp_ms":1785869126000,"timestamp_seconds":1785869126,"priority":1,"record_length":96,"hex_timestamp":"0000019fce184970"} 
[2026-08-05 00:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182419200001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182419200001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:16:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:16:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182419200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":148146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:16:57] local.INFO: GPS data processed {"connection_id":148146,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:16:57] local.INFO: Acknowledgment sent {"connection_id":148146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:17:08] local.INFO: TCP Data received {"connection_id":149370,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:17:08] local.INFO: Processing buffer {"connection_id":149370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:17:08] local.INFO: Packet analysis {"connection_id":149370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:17:08] local.INFO: Extracted packet for processing {"connection_id":149370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 00:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182428160001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 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-08-05 00:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785869161000,"timestamp_ms":1785869161000,"timestamp_seconds":1785869161,"priority":1,"record_length":96,"hex_timestamp":"0000019fce18d228"} 
[2026-08-05 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-08-05 00:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 00:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182428160001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182428160001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:17:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182428160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":149370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:17:08] local.INFO: GPS data processed {"connection_id":149370,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:17:08] local.INFO: Acknowledgment sent {"connection_id":149370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:17:17] local.INFO: TCP Data received {"connection_id":150781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:17:17] local.INFO: Processing buffer {"connection_id":150781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:17:17] local.INFO: IMEI packet received {"connection_id":150781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":150781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:17:22] local.INFO: TCP Data received {"connection_id":150781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:17:22] local.INFO: Processing buffer {"connection_id":150781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:17:22] local.INFO: IMEI packet received {"connection_id":150781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":150781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:17:22] local.INFO: TCP Data received {"connection_id":150781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:17:22] local.INFO: Processing buffer {"connection_id":150781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:17:22] local.INFO: Packet analysis {"connection_id":150781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:17:22] local.INFO: Extracted packet for processing {"connection_id":150781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:17:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182419200001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785869126000,"timestamp_ms":1785869126000,"timestamp_seconds":1785869126,"priority":1,"record_length":96,"hex_timestamp":"0000019fce184970"} 
[2026-08-05 00:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00: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-08-05 00:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:17: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-08-05 00:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182419200001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182419200001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:17:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:17:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182419200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":150781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:17:22] local.INFO: GPS data processed {"connection_id":150781,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:17:22] local.INFO: Acknowledgment sent {"connection_id":150781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:17:28] local.INFO: TCP Data received {"connection_id":149371,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:17:28] local.INFO: Processing buffer {"connection_id":149371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:17:28] local.INFO: IMEI packet received {"connection_id":149371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":149371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:17:33] local.INFO: TCP Data received {"connection_id":149371,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:17:33] local.INFO: Processing buffer {"connection_id":149371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:17:33] local.INFO: IMEI packet received {"connection_id":149371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":149371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:17:33] local.INFO: TCP Data received {"connection_id":149371,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:17:33] local.INFO: Processing buffer {"connection_id":149371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:17:33] local.INFO: Packet analysis {"connection_id":149371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:17:33] local.INFO: Extracted packet for processing {"connection_id":149371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182428160001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785869161000,"timestamp_ms":1785869161000,"timestamp_seconds":1785869161,"priority":1,"record_length":96,"hex_timestamp":"0000019fce18d228"} 
[2026-08-05 00:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182428160001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182428160001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:17:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182428160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":149371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:17:34] local.INFO: GPS data processed {"connection_id":149371,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:17:34] local.INFO: Acknowledgment sent {"connection_id":149371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:17:53] local.INFO: TCP Data received {"connection_id":150781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:17:53] local.INFO: Processing buffer {"connection_id":150781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:17:53] local.INFO: Packet analysis {"connection_id":150781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:17:53] local.INFO: Extracted packet for processing {"connection_id":150781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:17:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182419200001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785869126000,"timestamp_ms":1785869126000,"timestamp_seconds":1785869126,"priority":1,"record_length":96,"hex_timestamp":"0000019fce184970"} 
[2026-08-05 00:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182419200001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182419200001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:17:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:17:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182419200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":150781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:17:53] local.INFO: GPS data processed {"connection_id":150781,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:17:53] local.INFO: Acknowledgment sent {"connection_id":150781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:18:05] local.INFO: TCP Data received {"connection_id":149371,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:18:05] local.INFO: Processing buffer {"connection_id":149371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:18:05] local.INFO: Packet analysis {"connection_id":149371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:18:05] local.INFO: Extracted packet for processing {"connection_id":149371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182428160001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785869161000,"timestamp_ms":1785869161000,"timestamp_seconds":1785869161,"priority":1,"record_length":96,"hex_timestamp":"0000019fce18d228"} 
[2026-08-05 00:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182428160001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182428160001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:18:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182428160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":149371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:18:05] local.INFO: GPS data processed {"connection_id":149371,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:18:05] local.INFO: Acknowledgment sent {"connection_id":149371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:18:16] local.INFO: TCP Data received {"connection_id":149372,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:18:16] local.INFO: Processing buffer {"connection_id":149372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:18:16] local.INFO: IMEI packet received {"connection_id":149372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":149372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:18:22] local.INFO: TCP Data received {"connection_id":149372,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:18:22] local.INFO: Processing buffer {"connection_id":149372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:18:22] local.INFO: IMEI packet received {"connection_id":149372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":149372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:18:23] local.INFO: TCP Data received {"connection_id":149372,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:18:23] local.INFO: Processing buffer {"connection_id":149372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:18:23] local.INFO: Packet analysis {"connection_id":149372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:18:23] local.INFO: Extracted packet for processing {"connection_id":149372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:18:23] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182419200001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785869126000,"timestamp_ms":1785869126000,"timestamp_seconds":1785869126,"priority":1,"record_length":96,"hex_timestamp":"0000019fce184970"} 
[2026-08-05 00:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182419200001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182419200001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:18:23] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:18:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182419200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":149372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:18:23] local.INFO: GPS data processed {"connection_id":149372,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:18:23] local.INFO: Acknowledgment sent {"connection_id":149372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:18:27] local.INFO: TCP Data received {"connection_id":150782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:18:27] local.INFO: Processing buffer {"connection_id":150782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:18:27] local.INFO: IMEI packet received {"connection_id":150782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":150782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:18:32] local.INFO: TCP Data received {"connection_id":150782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:18:32] local.INFO: Processing buffer {"connection_id":150782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:18:32] local.INFO: IMEI packet received {"connection_id":150782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":150782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:18:33] local.INFO: TCP Data received {"connection_id":150782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:18:33] local.INFO: Processing buffer {"connection_id":150782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:18:33] local.INFO: Packet analysis {"connection_id":150782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:18:33] local.INFO: Extracted packet for processing {"connection_id":150782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182428160001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785869161000,"timestamp_ms":1785869161000,"timestamp_seconds":1785869161,"priority":1,"record_length":96,"hex_timestamp":"0000019fce18d228"} 
[2026-08-05 00:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182428160001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182428160001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:18:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182428160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":150782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:18:33] local.INFO: GPS data processed {"connection_id":150782,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:18:33] local.INFO: Acknowledgment sent {"connection_id":150782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:18:54] local.INFO: TCP Data received {"connection_id":149372,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:18:54] local.INFO: Processing buffer {"connection_id":149372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:18:54] local.INFO: Packet analysis {"connection_id":149372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:18:54] local.INFO: Extracted packet for processing {"connection_id":149372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:18:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182419200001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785869126000,"timestamp_ms":1785869126000,"timestamp_seconds":1785869126,"priority":1,"record_length":96,"hex_timestamp":"0000019fce184970"} 
[2026-08-05 00:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:18: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-08-05 00:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182419200001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182419200001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:18:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:18:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182419200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":149372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:18:54] local.INFO: GPS data processed {"connection_id":149372,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:18:54] local.INFO: Acknowledgment sent {"connection_id":149372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:19:05] local.INFO: TCP Data received {"connection_id":150782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:19:05] local.INFO: Processing buffer {"connection_id":150782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:19:05] local.INFO: Packet analysis {"connection_id":150782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:19:05] local.INFO: Extracted packet for processing {"connection_id":150782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182428160001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785869161000,"timestamp_ms":1785869161000,"timestamp_seconds":1785869161,"priority":1,"record_length":96,"hex_timestamp":"0000019fce18d228"} 
[2026-08-05 00:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182428160001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182428160001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182428160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":150782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:19:05] local.INFO: GPS data processed {"connection_id":150782,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:19:05] local.INFO: Acknowledgment sent {"connection_id":150782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:19:22] local.INFO: TCP Data received {"connection_id":148147,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:19:22] local.INFO: Processing buffer {"connection_id":148147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:19:22] local.INFO: IMEI packet received {"connection_id":148147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":148147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:19:27] local.INFO: TCP Data received {"connection_id":148147,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:19:27] local.INFO: Processing buffer {"connection_id":148147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:19:27] local.INFO: IMEI packet received {"connection_id":148147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":148147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:19:27] local.INFO: TCP Data received {"connection_id":148380,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:19:27] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:19:27] local.INFO: IMEI packet received {"connection_id":148380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":148380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:19:27] local.INFO: TCP Data received {"connection_id":148147,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:19:27] local.INFO: Processing buffer {"connection_id":148147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:19:27] local.INFO: Packet analysis {"connection_id":148147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:19:27] local.INFO: Extracted packet for processing {"connection_id":148147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:19:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182419200001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785869126000,"timestamp_ms":1785869126000,"timestamp_seconds":1785869126,"priority":1,"record_length":96,"hex_timestamp":"0000019fce184970"} 
[2026-08-05 00:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182419200001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182419200001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:19:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:19:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182419200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":148147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:19:27] local.INFO: GPS data processed {"connection_id":148147,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:19:27] local.INFO: Acknowledgment sent {"connection_id":148147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:19:32] local.INFO: TCP Data received {"connection_id":148147,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:19:32] local.INFO: Processing buffer {"connection_id":148147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:19:32] local.INFO: Packet analysis {"connection_id":148147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:19:32] local.INFO: Extracted packet for processing {"connection_id":148147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:19:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182419200001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785869126000,"timestamp_ms":1785869126000,"timestamp_seconds":1785869126,"priority":1,"record_length":96,"hex_timestamp":"0000019fce184970"} 
[2026-08-05 00:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182419200001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182419200001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:19:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:19:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182419200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":148147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:19:32] local.INFO: GPS data processed {"connection_id":148147,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:19:32] local.INFO: Acknowledgment sent {"connection_id":148147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:19:32] local.INFO: TCP Data received {"connection_id":148380,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:19:32] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:19:32] local.INFO: IMEI packet received {"connection_id":148380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":148380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:19:33] local.INFO: TCP Data received {"connection_id":148380,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:19:33] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:19:33] local.INFO: Packet analysis {"connection_id":148380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:19:33] local.INFO: Extracted packet for processing {"connection_id":148380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182428160001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785869161000,"timestamp_ms":1785869161000,"timestamp_seconds":1785869161,"priority":1,"record_length":96,"hex_timestamp":"0000019fce18d228"} 
[2026-08-05 00:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182428160001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182428160001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:19:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182428160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":148380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:19:33] local.INFO: GPS data processed {"connection_id":148380,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:19:33] local.INFO: Acknowledgment sent {"connection_id":148380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:20:05] local.INFO: TCP Data received {"connection_id":148380,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:20:05] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:20:05] local.INFO: Packet analysis {"connection_id":148380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:20:05] local.INFO: Extracted packet for processing {"connection_id":148380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182428160001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785869161000,"timestamp_ms":1785869161000,"timestamp_seconds":1785869161,"priority":1,"record_length":96,"hex_timestamp":"0000019fce18d228"} 
[2026-08-05 00:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182428160001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182428160001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:20:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182428160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":148380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:20:05] local.INFO: GPS data processed {"connection_id":148380,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:20:05] local.INFO: Acknowledgment sent {"connection_id":148380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:20:17] local.INFO: TCP Data received {"connection_id":148148,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:20:17] local.INFO: Processing buffer {"connection_id":148148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:20:17] local.INFO: IMEI packet received {"connection_id":148148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":148148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:20:22] local.INFO: TCP Data received {"connection_id":148148,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:20:22] local.INFO: Processing buffer {"connection_id":148148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:20:22] local.INFO: IMEI packet received {"connection_id":148148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":148148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:20:22] local.INFO: TCP Data received {"connection_id":148148,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:20:22] local.INFO: Processing buffer {"connection_id":148148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:20:22] local.INFO: Packet analysis {"connection_id":148148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:20:22] local.INFO: Extracted packet for processing {"connection_id":148148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:20:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00: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-08-05 00:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182419200001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785869126000,"timestamp_ms":1785869126000,"timestamp_seconds":1785869126,"priority":1,"record_length":96,"hex_timestamp":"0000019fce184970"} 
[2026-08-05 00:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:20: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-08-05 00: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-08-05 00:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182419200001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182419200001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:20:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:20:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182419200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":148148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:20:22] local.INFO: GPS data processed {"connection_id":148148,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:20:22] local.INFO: Acknowledgment sent {"connection_id":148148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:20:27] local.INFO: TCP Data received {"connection_id":150783,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:20:27] local.INFO: Processing buffer {"connection_id":150783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:20:27] local.INFO: IMEI packet received {"connection_id":150783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":150783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:20:32] local.INFO: TCP Data received {"connection_id":150783,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:20:32] local.INFO: Processing buffer {"connection_id":150783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:20:32] local.INFO: IMEI packet received {"connection_id":150783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":150783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:20:33] local.INFO: TCP Data received {"connection_id":150783,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:20:33] local.INFO: Processing buffer {"connection_id":150783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:20:33] local.INFO: Packet analysis {"connection_id":150783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:20:33] local.INFO: Extracted packet for processing {"connection_id":150783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182428160001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785869161000,"timestamp_ms":1785869161000,"timestamp_seconds":1785869161,"priority":1,"record_length":96,"hex_timestamp":"0000019fce18d228"} 
[2026-08-05 00:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182428160001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182428160001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:20:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182428160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":150783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:20:33] local.INFO: GPS data processed {"connection_id":150783,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:20:33] local.INFO: Acknowledgment sent {"connection_id":150783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:20:53] local.INFO: TCP Data received {"connection_id":148148,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:20:53] local.INFO: Processing buffer {"connection_id":148148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce184970012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:20:53] local.INFO: Packet analysis {"connection_id":148148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:20:53] local.INFO: Extracted packet for processing {"connection_id":148148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:20:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182419200001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785869126000,"timestamp_ms":1785869126000,"timestamp_seconds":1785869126,"priority":1,"record_length":96,"hex_timestamp":"0000019fce184970"} 
[2026-08-05 00:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182419200001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182419200001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:20:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:20:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182419200001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":148148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:20:54] local.INFO: GPS data processed {"connection_id":148148,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:20:54] local.INFO: Acknowledgment sent {"connection_id":148148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:21:05] local.INFO: TCP Data received {"connection_id":150783,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:21:05] local.INFO: Processing buffer {"connection_id":150783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:21:05] local.INFO: Packet analysis {"connection_id":150783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:21:05] local.INFO: Extracted packet for processing {"connection_id":150783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182428160001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785869161000,"timestamp_ms":1785869161000,"timestamp_seconds":1785869161,"priority":1,"record_length":96,"hex_timestamp":"0000019fce18d228"} 
[2026-08-05 00:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182428160001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182428160001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:21:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182428160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":150783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:21:05] local.INFO: GPS data processed {"connection_id":150783,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:21:05] local.INFO: Acknowledgment sent {"connection_id":150783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:21:17] local.INFO: TCP Data received {"connection_id":148149,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:21:17] local.INFO: Processing buffer {"connection_id":148149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:21:17] local.INFO: IMEI packet received {"connection_id":148149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":148149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:21:22] local.INFO: TCP Data received {"connection_id":148149,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:21:22] local.INFO: Processing buffer {"connection_id":148149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:21:22] local.INFO: IMEI packet received {"connection_id":148149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":148149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:21:23] local.INFO: TCP Data received {"connection_id":148149,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:21:23] local.INFO: Processing buffer {"connection_id":148149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:21:23] local.INFO: Packet analysis {"connection_id":148149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:21:23] local.INFO: Extracted packet for processing {"connection_id":148149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:21:23] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 00:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182496256001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785869427000,"timestamp_ms":1785869427000,"timestamp_seconds":1785869427,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1ce138"} 
[2026-08-05 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-08-05 00:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 00:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182496256001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182496256001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:21:23] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:21:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182496256001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":148149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:21:23] local.INFO: GPS data processed {"connection_id":148149,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:21:23] local.INFO: Acknowledgment sent {"connection_id":148149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:21:32] local.INFO: TCP Data received {"connection_id":148381,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:21:32] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:21:32] local.INFO: IMEI packet received {"connection_id":148381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":148381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:21:37] local.INFO: TCP Data received {"connection_id":148381,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:21:37] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:21:37] local.INFO: IMEI packet received {"connection_id":148381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":148381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:21:38] local.INFO: TCP Data received {"connection_id":148381,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:21:38] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce18d228012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:21:38] local.INFO: Packet analysis {"connection_id":148381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:21:38] local.INFO: Extracted packet for processing {"connection_id":148381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce18"} 
[2026-08-05 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182428160001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785869161000,"timestamp_ms":1785869161000,"timestamp_seconds":1785869161,"priority":1,"record_length":96,"hex_timestamp":"0000019fce18d228"} 
[2026-08-05 00:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182428160001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182428160001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:21:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182428160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":148381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:21:38] local.INFO: GPS data processed {"connection_id":148381,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:21:38] local.INFO: Acknowledgment sent {"connection_id":148381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:21:41] local.INFO: TCP Data received {"connection_id":148381,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:21:41] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:21:41] local.INFO: Packet analysis {"connection_id":148381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:21:41] local.INFO: Extracted packet for processing {"connection_id":148381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:21:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":148381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:21:41] local.INFO: GPS data processed {"connection_id":148381,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:21:41] local.INFO: Acknowledgment sent {"connection_id":148381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:21:54] local.INFO: TCP Data received {"connection_id":148149,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:21:54] local.INFO: Processing buffer {"connection_id":148149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:21:54] local.INFO: Packet analysis {"connection_id":148149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:21:54] local.INFO: Extracted packet for processing {"connection_id":148149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:21:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182496256001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785869427000,"timestamp_ms":1785869427000,"timestamp_seconds":1785869427,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1ce138"} 
[2026-08-05 00:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182496256001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182496256001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:21:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:21:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182496256001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":148149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:21:54] local.INFO: GPS data processed {"connection_id":148149,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:21:54] local.INFO: Acknowledgment sent {"connection_id":148149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:22:12] local.INFO: TCP Data received {"connection_id":148381,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:22:12] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:22:12] local.INFO: Packet analysis {"connection_id":148381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:22:12] local.INFO: Extracted packet for processing {"connection_id":148381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:22:12] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:22:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:22:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":148381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:22:12] local.INFO: GPS data processed {"connection_id":148381,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:22:12] local.INFO: Acknowledgment sent {"connection_id":148381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:22:16] local.INFO: TCP Data received {"connection_id":148150,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:22:16] local.INFO: Processing buffer {"connection_id":148150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:22:16] local.INFO: IMEI packet received {"connection_id":148150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":148150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:22:22] local.INFO: TCP Data received {"connection_id":148150,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:22:22] local.INFO: Processing buffer {"connection_id":148150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:22:22] local.INFO: IMEI packet received {"connection_id":148150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":148150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:22:22] local.INFO: TCP Data received {"connection_id":148150,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:22:22] local.INFO: Processing buffer {"connection_id":148150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:22:22] local.INFO: Packet analysis {"connection_id":148150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:22:22] local.INFO: Extracted packet for processing {"connection_id":148150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:22:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182496256001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785869427000,"timestamp_ms":1785869427000,"timestamp_seconds":1785869427,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1ce138"} 
[2026-08-05 00:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:22: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-08-05 00:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182496256001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182496256001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:22:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:22:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182496256001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":148150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:22:22] local.INFO: GPS data processed {"connection_id":148150,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:22:22] local.INFO: Acknowledgment sent {"connection_id":148150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:22:27] local.INFO: TCP Data received {"connection_id":150784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:22:27] local.INFO: Processing buffer {"connection_id":150784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:22:27] local.INFO: IMEI packet received {"connection_id":150784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":150784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:22:32] local.INFO: TCP Data received {"connection_id":150784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:22:32] local.INFO: Processing buffer {"connection_id":150784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:22:32] local.INFO: IMEI packet received {"connection_id":150784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":150784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:22:33] local.INFO: TCP Data received {"connection_id":150784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:22:33] local.INFO: Processing buffer {"connection_id":150784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:22:33] local.INFO: Packet analysis {"connection_id":150784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:22:33] local.INFO: Extracted packet for processing {"connection_id":150784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:22:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":150784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:22:33] local.INFO: GPS data processed {"connection_id":150784,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:22:33] local.INFO: Acknowledgment sent {"connection_id":150784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:22:53] local.INFO: TCP Data received {"connection_id":148150,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:22:53] local.INFO: Processing buffer {"connection_id":148150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:22:53] local.INFO: Packet analysis {"connection_id":148150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:22:53] local.INFO: Extracted packet for processing {"connection_id":148150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:22:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182496256001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785869427000,"timestamp_ms":1785869427000,"timestamp_seconds":1785869427,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1ce138"} 
[2026-08-05 00:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182496256001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182496256001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:22:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:22:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182496256001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":148150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:22:53] local.INFO: GPS data processed {"connection_id":148150,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:22:53] local.INFO: Acknowledgment sent {"connection_id":148150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:23:04] local.INFO: TCP Data received {"connection_id":150784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:23:04] local.INFO: Processing buffer {"connection_id":150784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:23:04] local.INFO: Packet analysis {"connection_id":150784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:23:04] local.INFO: Extracted packet for processing {"connection_id":150784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:23:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":150784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:23:05] local.INFO: GPS data processed {"connection_id":150784,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:23:05] local.INFO: Acknowledgment sent {"connection_id":150784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:23:22] local.INFO: TCP Data received {"connection_id":148382,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:23:22] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:23:22] local.INFO: IMEI packet received {"connection_id":148382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":148382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:23:27] local.INFO: TCP Data received {"connection_id":148382,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:23:27] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:23:27] local.INFO: IMEI packet received {"connection_id":148382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":148382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:23:27] local.INFO: TCP Data received {"connection_id":149373,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:23:27] local.INFO: Processing buffer {"connection_id":149373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:23:27] local.INFO: IMEI packet received {"connection_id":149373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":149373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:23:27] local.INFO: TCP Data received {"connection_id":148382,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:23:27] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:23:27] local.INFO: Packet analysis {"connection_id":148382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:23:27] local.INFO: Extracted packet for processing {"connection_id":148382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:23:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182496256001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785869427000,"timestamp_ms":1785869427000,"timestamp_seconds":1785869427,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1ce138"} 
[2026-08-05 00:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182496256001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182496256001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:23:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:23:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182496256001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":148382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:23:27] local.INFO: GPS data processed {"connection_id":148382,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:23:27] local.INFO: Acknowledgment sent {"connection_id":148382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:23:32] local.INFO: TCP Data received {"connection_id":148382,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:23:32] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:23:32] local.INFO: Packet analysis {"connection_id":148382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:23:32] local.INFO: Extracted packet for processing {"connection_id":148382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:23:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182496256001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785869427000,"timestamp_ms":1785869427000,"timestamp_seconds":1785869427,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1ce138"} 
[2026-08-05 00:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182496256001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182496256001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:23:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:23:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182496256001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":148382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:23:32] local.INFO: GPS data processed {"connection_id":148382,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:23:32] local.INFO: Acknowledgment sent {"connection_id":148382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:23:33] local.INFO: TCP Data received {"connection_id":149373,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:23:33] local.INFO: Processing buffer {"connection_id":149373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:23:33] local.INFO: IMEI packet received {"connection_id":149373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":149373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:23:33] local.INFO: TCP Data received {"connection_id":149373,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:23:33] local.INFO: Processing buffer {"connection_id":149373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:23:33] local.INFO: Packet analysis {"connection_id":149373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:23:33] local.INFO: Extracted packet for processing {"connection_id":149373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:23:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":149373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:23:34] local.INFO: GPS data processed {"connection_id":149373,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:23:34] local.INFO: Acknowledgment sent {"connection_id":149373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:24:05] local.INFO: TCP Data received {"connection_id":149373,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:24:05] local.INFO: Processing buffer {"connection_id":149373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:24:05] local.INFO: Packet analysis {"connection_id":149373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:24:05] local.INFO: Extracted packet for processing {"connection_id":149373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":149373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":149373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":149373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":149373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:24:05] local.INFO: GPS data processed {"connection_id":149373,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:24:05] local.INFO: Acknowledgment sent {"connection_id":149373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:24:17] local.INFO: TCP Data received {"connection_id":149374,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:24:17] local.INFO: Processing buffer {"connection_id":149374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:24:17] local.INFO: IMEI packet received {"connection_id":149374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":149374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:24:22] local.INFO: TCP Data received {"connection_id":149374,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:24:22] local.INFO: Processing buffer {"connection_id":149374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:24:22] local.INFO: IMEI packet received {"connection_id":149374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":149374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:24:22] local.INFO: TCP Data received {"connection_id":149374,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:24:22] local.INFO: Processing buffer {"connection_id":149374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:24:22] local.INFO: Packet analysis {"connection_id":149374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:24:22] local.INFO: Extracted packet for processing {"connection_id":149374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:24:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182496256001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785869427000,"timestamp_ms":1785869427000,"timestamp_seconds":1785869427,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1ce138"} 
[2026-08-05 00:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:24: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-08-05 00:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182496256001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182496256001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:24:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:24:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182496256001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":149374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:24:22] local.INFO: GPS data processed {"connection_id":149374,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:24:22] local.INFO: Acknowledgment sent {"connection_id":149374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:24:27] local.INFO: TCP Data received {"connection_id":149375,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:24:27] local.INFO: Processing buffer {"connection_id":149375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:24:27] local.INFO: IMEI packet received {"connection_id":149375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":149375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:24:32] local.INFO: TCP Data received {"connection_id":149375,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:24:32] local.INFO: Processing buffer {"connection_id":149375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:24:32] local.INFO: IMEI packet received {"connection_id":149375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":149375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:24:33] local.INFO: TCP Data received {"connection_id":149375,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:24:33] local.INFO: Processing buffer {"connection_id":149375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:24:33] local.INFO: Packet analysis {"connection_id":149375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:24:33] local.INFO: Extracted packet for processing {"connection_id":149375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:24:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":149375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:24:33] local.INFO: GPS data processed {"connection_id":149375,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:24:33] local.INFO: Acknowledgment sent {"connection_id":149375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:24:54] local.INFO: TCP Data received {"connection_id":149374,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:24:54] local.INFO: Processing buffer {"connection_id":149374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:24:54] local.INFO: Packet analysis {"connection_id":149374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:24:54] local.INFO: Extracted packet for processing {"connection_id":149374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:24:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182496256001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785869427000,"timestamp_ms":1785869427000,"timestamp_seconds":1785869427,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1ce138"} 
[2026-08-05 00:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182496256001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182496256001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:24:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:24:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182496256001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":149374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:24:54] local.INFO: GPS data processed {"connection_id":149374,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:24:54] local.INFO: Acknowledgment sent {"connection_id":149374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:25:04] local.INFO: TCP Data received {"connection_id":149375,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:25:04] local.INFO: Processing buffer {"connection_id":149375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:25:04] local.INFO: Packet analysis {"connection_id":149375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:25:04] local.INFO: Extracted packet for processing {"connection_id":149375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:25:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":149375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:25:05] local.INFO: GPS data processed {"connection_id":149375,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:25:05] local.INFO: Acknowledgment sent {"connection_id":149375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:25:16] local.INFO: TCP Data received {"connection_id":148151,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:25:16] local.INFO: Processing buffer {"connection_id":148151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:25:16] local.INFO: IMEI packet received {"connection_id":148151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":148151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:25:22] local.INFO: TCP Data received {"connection_id":148151,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:25:22] local.INFO: Processing buffer {"connection_id":148151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:25:22] local.INFO: IMEI packet received {"connection_id":148151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":148151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:25:22] local.INFO: TCP Data received {"connection_id":148151,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:25:22] local.INFO: Processing buffer {"connection_id":148151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:25:22] local.INFO: Packet analysis {"connection_id":148151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:25:22] local.INFO: Extracted packet for processing {"connection_id":148151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:25:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182496256001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785869427000,"timestamp_ms":1785869427000,"timestamp_seconds":1785869427,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1ce138"} 
[2026-08-05 00:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:25: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-08-05 00:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182496256001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182496256001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:25:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:25:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182496256001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":148151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:25:22] local.INFO: GPS data processed {"connection_id":148151,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:25:22] local.INFO: Acknowledgment sent {"connection_id":148151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:25:32] local.INFO: TCP Data received {"connection_id":148152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:25:32] local.INFO: Processing buffer {"connection_id":148152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:25:32] local.INFO: IMEI packet received {"connection_id":148152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":148152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:25:37] local.INFO: TCP Data received {"connection_id":148152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:25:37] local.INFO: Processing buffer {"connection_id":148152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:25:37] local.INFO: IMEI packet received {"connection_id":148152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":148152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:25:42] local.INFO: TCP Data received {"connection_id":148152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:25:42] local.INFO: Processing buffer {"connection_id":148152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:25:42] local.INFO: IMEI packet received {"connection_id":148152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":148152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:25:43] local.INFO: TCP Data received {"connection_id":148152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:25:43] local.INFO: Processing buffer {"connection_id":148152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:25:43] local.INFO: Packet analysis {"connection_id":148152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:25:43] local.INFO: Extracted packet for processing {"connection_id":148152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:25:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:25:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":148152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:25:43] local.INFO: GPS data processed {"connection_id":148152,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:25:43] local.INFO: Acknowledgment sent {"connection_id":148152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:25:48] local.INFO: TCP Data received {"connection_id":148152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:25:48] local.INFO: Processing buffer {"connection_id":148152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:25:48] local.INFO: Packet analysis {"connection_id":148152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:25:48] local.INFO: Extracted packet for processing {"connection_id":148152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:25:48] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:25:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:25:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":148152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:25:48] local.INFO: GPS data processed {"connection_id":148152,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:25:48] local.INFO: Acknowledgment sent {"connection_id":148152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:25:53] local.INFO: TCP Data received {"connection_id":148151,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:25:53] local.INFO: Processing buffer {"connection_id":148151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1ce138012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 00:25:53] local.INFO: Packet analysis {"connection_id":148151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:25:53] local.INFO: Extracted packet for processing {"connection_id":148151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1c"} 
[2026-08-05 00:25:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182496256001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785869427000,"timestamp_ms":1785869427000,"timestamp_seconds":1785869427,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1ce138"} 
[2026-08-05 00:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182496256001,"66":25538,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182496256001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:25:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:25:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182496256001,"power":25538,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":148151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:25:53] local.INFO: GPS data processed {"connection_id":148151,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:25:53] local.INFO: Acknowledgment sent {"connection_id":148151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:26:22] local.INFO: TCP Data received {"connection_id":150785,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:26:22] local.INFO: Processing buffer {"connection_id":150785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:26:22] local.INFO: IMEI packet received {"connection_id":150785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":150785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:26:27] local.INFO: TCP Data received {"connection_id":150785,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:26:27] local.INFO: Processing buffer {"connection_id":150785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:26:27] local.INFO: IMEI packet received {"connection_id":150785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":150785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:26:27] local.INFO: TCP Data received {"connection_id":150785,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:26:27] local.INFO: Processing buffer {"connection_id":150785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:26:27] local.INFO: Packet analysis {"connection_id":150785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:26:27] local.INFO: Extracted packet for processing {"connection_id":150785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:26:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182573312001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785869728000,"timestamp_ms":1785869728000,"timestamp_seconds":1785869728,"priority":1,"record_length":96,"hex_timestamp":"0000019fce217900"} 
[2026-08-05 00:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182573312001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182573312001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:26:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:26:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182573312001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:26:27] local.INFO: TCP Data received {"connection_id":149376,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:26:27] local.INFO: Processing buffer {"connection_id":149376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:26:27] local.INFO: IMEI packet received {"connection_id":149376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":149376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":150785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:26:27] local.INFO: GPS data processed {"connection_id":150785,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:26:27] local.INFO: Acknowledgment sent {"connection_id":150785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:26:32] local.INFO: TCP Data received {"connection_id":150785,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:26:32] local.INFO: Processing buffer {"connection_id":150785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:26:32] local.INFO: Packet analysis {"connection_id":150785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:26:32] local.INFO: Extracted packet for processing {"connection_id":150785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:26:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182573312001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785869728000,"timestamp_ms":1785869728000,"timestamp_seconds":1785869728,"priority":1,"record_length":96,"hex_timestamp":"0000019fce217900"} 
[2026-08-05 00:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":150785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":150785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":150785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182573312001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182573312001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:26:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:26:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182573312001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":150785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:26:32] local.INFO: GPS data processed {"connection_id":150785,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:26:32] local.INFO: Acknowledgment sent {"connection_id":150785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:26:32] local.INFO: TCP Data received {"connection_id":149376,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:26:32] local.INFO: Processing buffer {"connection_id":149376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:26:32] local.INFO: IMEI packet received {"connection_id":149376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":149376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:26:33] local.INFO: TCP Data received {"connection_id":149376,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:26:33] local.INFO: Processing buffer {"connection_id":149376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:26:33] local.INFO: Packet analysis {"connection_id":149376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:26:33] local.INFO: Extracted packet for processing {"connection_id":149376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:26:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":149376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:26:33] local.INFO: GPS data processed {"connection_id":149376,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:26:33] local.INFO: Acknowledgment sent {"connection_id":149376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:26:38] local.INFO: TCP Data received {"connection_id":149376,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:26:38] local.INFO: Processing buffer {"connection_id":149376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce1d69f0012d195fc0071ff2f8003c006325..."} 
[2026-08-05 00:26:38] local.INFO: Packet analysis {"connection_id":149376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:26:38] local.INFO: Extracted packet for processing {"connection_id":149376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce1d"} 
[2026-08-05 00:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182505216001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785869462000,"timestamp_ms":1785869462000,"timestamp_seconds":1785869462,"priority":1,"record_length":96,"hex_timestamp":"0000019fce1d69f0"} 
[2026-08-05 00:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":149376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":149376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":149376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182505216001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182505216001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:26:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182505216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":149376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:26:38] local.INFO: GPS data processed {"connection_id":149376,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:26:38] local.INFO: Acknowledgment sent {"connection_id":149376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:27:09] local.INFO: TCP Data received {"connection_id":149376,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:27:09] local.INFO: Processing buffer {"connection_id":149376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:27:09] local.INFO: Packet analysis {"connection_id":149376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:27:09] local.INFO: Extracted packet for processing {"connection_id":149376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:27:09] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00: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-08-05 00:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182582272001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785869763000,"timestamp_ms":1785869763000,"timestamp_seconds":1785869763,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2201b8"} 
[2026-08-05 00:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00: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-08-05 00:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182582272001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182582272001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:27:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182582272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":149376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:27:09] local.INFO: GPS data processed {"connection_id":149376,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:27:09] local.INFO: Acknowledgment sent {"connection_id":149376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:27:17] local.INFO: TCP Data received {"connection_id":148383,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:27:17] local.INFO: Processing buffer {"connection_id":148383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:27:17] local.INFO: IMEI packet received {"connection_id":148383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":148383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:27:22] local.INFO: TCP Data received {"connection_id":148383,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:27:22] local.INFO: Processing buffer {"connection_id":148383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:27:22] local.INFO: IMEI packet received {"connection_id":148383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":148383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:27:22] local.INFO: TCP Data received {"connection_id":148383,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:27:22] local.INFO: Processing buffer {"connection_id":148383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:27:22] local.INFO: Packet analysis {"connection_id":148383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:27:22] local.INFO: Extracted packet for processing {"connection_id":148383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:27:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182573312001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785869728000,"timestamp_ms":1785869728000,"timestamp_seconds":1785869728,"priority":1,"record_length":96,"hex_timestamp":"0000019fce217900"} 
[2026-08-05 00:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:27: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-08-05 00:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182573312001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182573312001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:27:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:27:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182573312001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":148383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:27:22] local.INFO: GPS data processed {"connection_id":148383,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:27:22] local.INFO: Acknowledgment sent {"connection_id":148383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:27:28] local.INFO: TCP Data received {"connection_id":150786,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:27:28] local.INFO: Processing buffer {"connection_id":150786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:27:28] local.INFO: IMEI packet received {"connection_id":150786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":150786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:27:32] local.INFO: TCP Data received {"connection_id":150786,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:27:32] local.INFO: Processing buffer {"connection_id":150786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:27:32] local.INFO: IMEI packet received {"connection_id":150786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":150786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:27:33] local.INFO: TCP Data received {"connection_id":150786,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:27:33] local.INFO: Processing buffer {"connection_id":150786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:27:33] local.INFO: Packet analysis {"connection_id":150786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:27:33] local.INFO: Extracted packet for processing {"connection_id":150786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182582272001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785869763000,"timestamp_ms":1785869763000,"timestamp_seconds":1785869763,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2201b8"} 
[2026-08-05 00:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182582272001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182582272001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:27:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182582272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":150786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:27:33] local.INFO: GPS data processed {"connection_id":150786,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:27:33] local.INFO: Acknowledgment sent {"connection_id":150786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:27:53] local.INFO: TCP Data received {"connection_id":148383,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:27:53] local.INFO: Processing buffer {"connection_id":148383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:27:53] local.INFO: Packet analysis {"connection_id":148383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:27:53] local.INFO: Extracted packet for processing {"connection_id":148383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:27:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182573312001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785869728000,"timestamp_ms":1785869728000,"timestamp_seconds":1785869728,"priority":1,"record_length":96,"hex_timestamp":"0000019fce217900"} 
[2026-08-05 00:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182573312001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182573312001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:27:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:27:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182573312001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":148383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:27:53] local.INFO: GPS data processed {"connection_id":148383,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:27:53] local.INFO: Acknowledgment sent {"connection_id":148383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:28:04] local.INFO: TCP Data received {"connection_id":150786,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:28:04] local.INFO: Processing buffer {"connection_id":150786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:28:04] local.INFO: Packet analysis {"connection_id":150786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:28:04] local.INFO: Extracted packet for processing {"connection_id":150786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182582272001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785869763000,"timestamp_ms":1785869763000,"timestamp_seconds":1785869763,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2201b8"} 
[2026-08-05 00:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182582272001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182582272001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:28:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182582272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":150786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:28:05] local.INFO: GPS data processed {"connection_id":150786,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:28:05] local.INFO: Acknowledgment sent {"connection_id":150786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:28:17] local.INFO: TCP Data received {"connection_id":148153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:28:17] local.INFO: Processing buffer {"connection_id":148153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:28:17] local.INFO: IMEI packet received {"connection_id":148153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":148153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:28:22] local.INFO: TCP Data received {"connection_id":148153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:28:22] local.INFO: Processing buffer {"connection_id":148153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:28:22] local.INFO: IMEI packet received {"connection_id":148153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":148153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:28:22] local.INFO: TCP Data received {"connection_id":148153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:28:22] local.INFO: Processing buffer {"connection_id":148153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:28:22] local.INFO: Packet analysis {"connection_id":148153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:28:22] local.INFO: Extracted packet for processing {"connection_id":148153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:28:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182573312001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785869728000,"timestamp_ms":1785869728000,"timestamp_seconds":1785869728,"priority":1,"record_length":96,"hex_timestamp":"0000019fce217900"} 
[2026-08-05 00:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:28: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-08-05 00:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182573312001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182573312001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:28:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:28:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182573312001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":148153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:28:22] local.INFO: GPS data processed {"connection_id":148153,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:28:22] local.INFO: Acknowledgment sent {"connection_id":148153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:28:27] local.INFO: TCP Data received {"connection_id":148384,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:28:27] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:28:27] local.INFO: IMEI packet received {"connection_id":148384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":148384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:28:32] local.INFO: TCP Data received {"connection_id":148384,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:28:32] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:28:32] local.INFO: IMEI packet received {"connection_id":148384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":148384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:28:36] local.INFO: TCP Data received {"connection_id":148384,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:28:36] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:28:36] local.INFO: Packet analysis {"connection_id":148384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:28:36] local.INFO: Extracted packet for processing {"connection_id":148384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182582272001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785869763000,"timestamp_ms":1785869763000,"timestamp_seconds":1785869763,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2201b8"} 
[2026-08-05 00:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182582272001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182582272001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182582272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":148384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:28:36] local.INFO: GPS data processed {"connection_id":148384,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:28:36] local.INFO: Acknowledgment sent {"connection_id":148384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:28:55] local.INFO: TCP Data received {"connection_id":148153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:28:55] local.INFO: Processing buffer {"connection_id":148153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:28:55] local.INFO: Packet analysis {"connection_id":148153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:28:55] local.INFO: Extracted packet for processing {"connection_id":148153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:28:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182573312001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785869728000,"timestamp_ms":1785869728000,"timestamp_seconds":1785869728,"priority":1,"record_length":96,"hex_timestamp":"0000019fce217900"} 
[2026-08-05 00:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:28: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-08-05 00:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182573312001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182573312001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:28:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:28:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182573312001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":148153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:28:55] local.INFO: GPS data processed {"connection_id":148153,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:28:55] local.INFO: Acknowledgment sent {"connection_id":148153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:29:07] local.INFO: TCP Data received {"connection_id":148384,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:29:07] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:29:07] local.INFO: Packet analysis {"connection_id":148384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:29:07] local.INFO: Extracted packet for processing {"connection_id":148384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182582272001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785869763000,"timestamp_ms":1785869763000,"timestamp_seconds":1785869763,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2201b8"} 
[2026-08-05 00:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182582272001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182582272001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:29:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182582272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":148384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:29:07] local.INFO: GPS data processed {"connection_id":148384,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:29:07] local.INFO: Acknowledgment sent {"connection_id":148384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:29:16] local.INFO: TCP Data received {"connection_id":150787,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:29:16] local.INFO: Processing buffer {"connection_id":150787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:29:16] local.INFO: IMEI packet received {"connection_id":150787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":150787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:29:22] local.INFO: TCP Data received {"connection_id":150787,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:29:22] local.INFO: Processing buffer {"connection_id":150787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:29:22] local.INFO: IMEI packet received {"connection_id":150787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":150787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:29:22] local.INFO: TCP Data received {"connection_id":150787,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:29:22] local.INFO: Processing buffer {"connection_id":150787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:29:22] local.INFO: Packet analysis {"connection_id":150787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:29:22] local.INFO: Extracted packet for processing {"connection_id":150787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:29:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182573312001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785869728000,"timestamp_ms":1785869728000,"timestamp_seconds":1785869728,"priority":1,"record_length":96,"hex_timestamp":"0000019fce217900"} 
[2026-08-05 00:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:29: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-08-05 00:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182573312001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182573312001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:29:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:29:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182573312001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":150787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:29:22] local.INFO: GPS data processed {"connection_id":150787,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:29:22] local.INFO: Acknowledgment sent {"connection_id":150787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:29:32] local.INFO: TCP Data received {"connection_id":148154,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:29:32] local.INFO: Processing buffer {"connection_id":148154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:29:32] local.INFO: IMEI packet received {"connection_id":148154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":148154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:29:37] local.INFO: TCP Data received {"connection_id":148154,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:29:37] local.INFO: Processing buffer {"connection_id":148154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:29:37] local.INFO: IMEI packet received {"connection_id":148154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":148154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:29:38] local.INFO: TCP Data received {"connection_id":148154,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:29:38] local.INFO: Processing buffer {"connection_id":148154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:29:38] local.INFO: Packet analysis {"connection_id":148154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:29:38] local.INFO: Extracted packet for processing {"connection_id":148154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182582272001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785869763000,"timestamp_ms":1785869763000,"timestamp_seconds":1785869763,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2201b8"} 
[2026-08-05 00:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:29: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-08-05 00:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182582272001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182582272001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:29:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:29:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182582272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":148154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:29:39] local.INFO: GPS data processed {"connection_id":148154,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:29:39] local.INFO: Acknowledgment sent {"connection_id":148154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:29:43] local.INFO: TCP Data received {"connection_id":148154,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:29:43] local.INFO: Processing buffer {"connection_id":148154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:29:43] local.INFO: Packet analysis {"connection_id":148154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:29:43] local.INFO: Extracted packet for processing {"connection_id":148154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182582272001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785869763000,"timestamp_ms":1785869763000,"timestamp_seconds":1785869763,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2201b8"} 
[2026-08-05 00:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182582272001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182582272001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:29:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:29:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182582272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":148154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:29:43] local.INFO: GPS data processed {"connection_id":148154,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:29:43] local.INFO: Acknowledgment sent {"connection_id":148154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:29:53] local.INFO: TCP Data received {"connection_id":150787,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:29:53] local.INFO: Processing buffer {"connection_id":150787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:29:53] local.INFO: Packet analysis {"connection_id":150787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:29:53] local.INFO: Extracted packet for processing {"connection_id":150787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:29:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182573312001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785869728000,"timestamp_ms":1785869728000,"timestamp_seconds":1785869728,"priority":1,"record_length":96,"hex_timestamp":"0000019fce217900"} 
[2026-08-05 00:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182573312001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182573312001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:29:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:29:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182573312001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":150787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:29:53] local.INFO: GPS data processed {"connection_id":150787,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:29:53] local.INFO: Acknowledgment sent {"connection_id":150787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:30:16] local.INFO: TCP Data received {"connection_id":149377,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:30:16] local.INFO: Processing buffer {"connection_id":149377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:30:16] local.INFO: IMEI packet received {"connection_id":149377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":149377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:30:22] local.INFO: TCP Data received {"connection_id":149377,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:30:22] local.INFO: Processing buffer {"connection_id":149377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:30:22] local.INFO: IMEI packet received {"connection_id":149377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":149377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:30:22] local.INFO: TCP Data received {"connection_id":149377,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:30:22] local.INFO: Processing buffer {"connection_id":149377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:30:22] local.INFO: Packet analysis {"connection_id":149377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:30:22] local.INFO: Extracted packet for processing {"connection_id":149377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:30:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182573312001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785869728000,"timestamp_ms":1785869728000,"timestamp_seconds":1785869728,"priority":1,"record_length":96,"hex_timestamp":"0000019fce217900"} 
[2026-08-05 00:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:30: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-08-05 00:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182573312001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182573312001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:30:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:30:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182573312001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":149377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:30:22] local.INFO: GPS data processed {"connection_id":149377,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:30:22] local.INFO: Acknowledgment sent {"connection_id":149377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:30:27] local.INFO: TCP Data received {"connection_id":148385,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:30:27] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:30:27] local.INFO: IMEI packet received {"connection_id":148385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":148385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:30:32] local.INFO: TCP Data received {"connection_id":148385,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:30:32] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:30:32] local.INFO: IMEI packet received {"connection_id":148385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":148385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:30:33] local.INFO: TCP Data received {"connection_id":148385,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:30:33] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:30:33] local.INFO: Packet analysis {"connection_id":148385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:30:33] local.INFO: Extracted packet for processing {"connection_id":148385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182582272001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785869763000,"timestamp_ms":1785869763000,"timestamp_seconds":1785869763,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2201b8"} 
[2026-08-05 00:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182582272001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182582272001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:30:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182582272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":148385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:30:34] local.INFO: GPS data processed {"connection_id":148385,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:30:34] local.INFO: Acknowledgment sent {"connection_id":148385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:30:38] local.INFO: TCP Data received {"connection_id":148385,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:30:38] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:30:38] local.INFO: Packet analysis {"connection_id":148385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:30:38] local.INFO: Extracted packet for processing {"connection_id":148385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182582272001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785869763000,"timestamp_ms":1785869763000,"timestamp_seconds":1785869763,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2201b8"} 
[2026-08-05 00:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:30: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-08-05 00:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182582272001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182582272001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:30:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:30:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182582272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":148385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:30:38] local.INFO: GPS data processed {"connection_id":148385,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:30:38] local.INFO: Acknowledgment sent {"connection_id":148385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:31:09] local.INFO: TCP Data received {"connection_id":148385,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:31:09] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:31:09] local.INFO: Packet analysis {"connection_id":148385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:31:09] local.INFO: Extracted packet for processing {"connection_id":148385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:31:09] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182582272001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785869763000,"timestamp_ms":1785869763000,"timestamp_seconds":1785869763,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2201b8"} 
[2026-08-05 00:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182582272001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182582272001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:31:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:31:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182582272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":148385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:31:09] local.INFO: GPS data processed {"connection_id":148385,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:31:09] local.INFO: Acknowledgment sent {"connection_id":148385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:31:21] local.INFO: TCP Data received {"connection_id":148155,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:31:21] local.INFO: Processing buffer {"connection_id":148155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:31:21] local.INFO: IMEI packet received {"connection_id":148155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":148155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:31:27] local.INFO: TCP Data received {"connection_id":148155,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:31:27] local.INFO: Processing buffer {"connection_id":148155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:31:27] local.INFO: IMEI packet received {"connection_id":148155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":148155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:31:27] local.INFO: TCP Data received {"connection_id":148155,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2610c8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2610c8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:31:27] local.INFO: Processing buffer {"connection_id":148155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2610c8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:31:27] local.INFO: Packet analysis {"connection_id":148155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:31:27] local.INFO: Extracted packet for processing {"connection_id":148155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:31:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182650368001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785870029000,"timestamp_ms":1785870029000,"timestamp_seconds":1785870029,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2610c8"} 
[2026-08-05 00:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182650368001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182650368001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:31:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:31:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182650368001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":148155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:31:27] local.INFO: GPS data processed {"connection_id":148155,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:31:27] local.INFO: Acknowledgment sent {"connection_id":148155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:31:27] local.INFO: TCP Data received {"connection_id":149378,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:31:27] local.INFO: Processing buffer {"connection_id":149378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:31:27] local.INFO: IMEI packet received {"connection_id":149378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":149378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:31:32] local.INFO: TCP Data received {"connection_id":148155,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2610c8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2610c8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:31:32] local.INFO: Processing buffer {"connection_id":148155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2610c8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 00:31:32] local.INFO: Packet analysis {"connection_id":148155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:31:32] local.INFO: Extracted packet for processing {"connection_id":148155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:31:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182650368001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785870029000,"timestamp_ms":1785870029000,"timestamp_seconds":1785870029,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2610c8"} 
[2026-08-05 00:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182650368001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182650368001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:31:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:31:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182650368001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":148155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:31:32] local.INFO: GPS data processed {"connection_id":148155,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:31:32] local.INFO: Acknowledgment sent {"connection_id":148155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:31:32] local.INFO: TCP Data received {"connection_id":149378,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:31:32] local.INFO: Processing buffer {"connection_id":149378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:31:32] local.INFO: IMEI packet received {"connection_id":149378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":149378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:31:33] local.INFO: TCP Data received {"connection_id":149378,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:31:33] local.INFO: Processing buffer {"connection_id":149378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2201b8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:31:33] local.INFO: Packet analysis {"connection_id":149378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:31:33] local.INFO: Extracted packet for processing {"connection_id":149378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce22"} 
[2026-08-05 00:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182582272001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785869763000,"timestamp_ms":1785869763000,"timestamp_seconds":1785869763,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2201b8"} 
[2026-08-05 00:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182582272001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182582272001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:31:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182582272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":149378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:31:33] local.INFO: GPS data processed {"connection_id":149378,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:31:33] local.INFO: Acknowledgment sent {"connection_id":149378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:31:39] local.INFO: TCP Data received {"connection_id":149377,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:31:39] local.INFO: Processing buffer {"connection_id":149377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce217900012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:31:39] local.INFO: Packet analysis {"connection_id":149377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:31:39] local.INFO: Extracted packet for processing {"connection_id":149377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce21"} 
[2026-08-05 00:31:39] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182573312001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785869728000,"timestamp_ms":1785869728000,"timestamp_seconds":1785869728,"priority":1,"record_length":96,"hex_timestamp":"0000019fce217900"} 
[2026-08-05 00:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 00:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182573312001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182573312001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:31:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:31:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182573312001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":149377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:31:39] local.INFO: GPS data processed {"connection_id":149377,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:31:39] local.INFO: Acknowledgment sent {"connection_id":149377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:32:04] local.INFO: TCP Data received {"connection_id":149378,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:04] local.INFO: Processing buffer {"connection_id":149378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:04] local.INFO: Packet analysis {"connection_id":149378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:32:04] local.INFO: Extracted packet for processing {"connection_id":149378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182659328001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870064000,"timestamp_ms":1785870064000,"timestamp_seconds":1785870064,"priority":1,"record_length":96,"hex_timestamp":"0000019fce269980"} 
[2026-08-05 00:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182659328001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182659328001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:32:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182659328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":149378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:32:04] local.INFO: GPS data processed {"connection_id":149378,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:32:04] local.INFO: Acknowledgment sent {"connection_id":149378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:32:32] local.INFO: TCP Data received {"connection_id":148156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:32:32] local.INFO: Processing buffer {"connection_id":148156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:32:32] local.INFO: IMEI packet received {"connection_id":148156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":148156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:32:37] local.INFO: TCP Data received {"connection_id":148156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:32:37] local.INFO: Processing buffer {"connection_id":148156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:32:37] local.INFO: IMEI packet received {"connection_id":148156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":148156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:32:38] local.INFO: TCP Data received {"connection_id":148156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:38] local.INFO: Processing buffer {"connection_id":148156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:38] local.INFO: Packet analysis {"connection_id":148156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:32:38] local.INFO: Extracted packet for processing {"connection_id":148156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182659328001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785870064000,"timestamp_ms":1785870064000,"timestamp_seconds":1785870064,"priority":1,"record_length":96,"hex_timestamp":"0000019fce269980"} 
[2026-08-05 00:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182659328001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182659328001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:32:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182659328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":148156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:32:38] local.INFO: GPS data processed {"connection_id":148156,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:32:38] local.INFO: Acknowledgment sent {"connection_id":148156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:32:43] local.INFO: TCP Data received {"connection_id":148156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:43] local.INFO: Processing buffer {"connection_id":148156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:43] local.INFO: Packet analysis {"connection_id":148156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:32:43] local.INFO: Extracted packet for processing {"connection_id":148156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182659328001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785870064000,"timestamp_ms":1785870064000,"timestamp_seconds":1785870064,"priority":1,"record_length":96,"hex_timestamp":"0000019fce269980"} 
[2026-08-05 00:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182659328001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182659328001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:32:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182659328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":148156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:32:43] local.INFO: GPS data processed {"connection_id":148156,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:32:43] local.INFO: Acknowledgment sent {"connection_id":148156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:32:48] local.INFO: TCP Data received {"connection_id":148156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:48] local.INFO: Processing buffer {"connection_id":148156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:32:48] local.INFO: Packet analysis {"connection_id":148156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:32:48] local.INFO: Extracted packet for processing {"connection_id":148156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:32:48] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182659328001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785870064000,"timestamp_ms":1785870064000,"timestamp_seconds":1785870064,"priority":1,"record_length":96,"hex_timestamp":"0000019fce269980"} 
[2026-08-05 00:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182659328001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182659328001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:32:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:32:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182659328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":148156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:32:48] local.INFO: GPS data processed {"connection_id":148156,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:32:48] local.INFO: Acknowledgment sent {"connection_id":148156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:33:27] local.INFO: TCP Data received {"connection_id":148386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:33:27] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:33:27] local.INFO: IMEI packet received {"connection_id":148386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":148386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:33:32] local.INFO: TCP Data received {"connection_id":148386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:33:32] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:33:32] local.INFO: IMEI packet received {"connection_id":148386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":148386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:33:33] local.INFO: TCP Data received {"connection_id":148386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:33:33] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:33:33] local.INFO: Packet analysis {"connection_id":148386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:33:33] local.INFO: Extracted packet for processing {"connection_id":148386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182659328001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00: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-08-05 00:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870064000,"timestamp_ms":1785870064000,"timestamp_seconds":1785870064,"priority":1,"record_length":96,"hex_timestamp":"0000019fce269980"} 
[2026-08-05 00:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182659328001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182659328001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:33:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182659328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":148386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:33:33] local.INFO: GPS data processed {"connection_id":148386,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:33:33] local.INFO: Acknowledgment sent {"connection_id":148386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:34:04] local.INFO: TCP Data received {"connection_id":148386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:34:04] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:34:04] local.INFO: Packet analysis {"connection_id":148386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:34:04] local.INFO: Extracted packet for processing {"connection_id":148386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182659328001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00: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-08-05 00:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870064000,"timestamp_ms":1785870064000,"timestamp_seconds":1785870064,"priority":1,"record_length":96,"hex_timestamp":"0000019fce269980"} 
[2026-08-05 00:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182659328001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182659328001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:34:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182659328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":148386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:34:04] local.INFO: GPS data processed {"connection_id":148386,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:34:04] local.INFO: Acknowledgment sent {"connection_id":148386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:34:27] local.INFO: TCP Data received {"connection_id":148387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:34:27] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:34:27] local.INFO: IMEI packet received {"connection_id":148387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":148387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:34:32] local.INFO: TCP Data received {"connection_id":148387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:34:32] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:34:32] local.INFO: IMEI packet received {"connection_id":148387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":148387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:34:33] local.INFO: TCP Data received {"connection_id":148387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:34:33] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:34:33] local.INFO: Packet analysis {"connection_id":148387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:34:33] local.INFO: Extracted packet for processing {"connection_id":148387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182659328001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870064000,"timestamp_ms":1785870064000,"timestamp_seconds":1785870064,"priority":1,"record_length":96,"hex_timestamp":"0000019fce269980"} 
[2026-08-05 00:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182659328001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182659328001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:34:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182659328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":148387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:34:33] local.INFO: GPS data processed {"connection_id":148387,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:34:33] local.INFO: Acknowledgment sent {"connection_id":148387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:35:04] local.INFO: TCP Data received {"connection_id":148387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:35:04] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:35:04] local.INFO: Packet analysis {"connection_id":148387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:35:04] local.INFO: Extracted packet for processing {"connection_id":148387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182659328001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870064000,"timestamp_ms":1785870064000,"timestamp_seconds":1785870064,"priority":1,"record_length":96,"hex_timestamp":"0000019fce269980"} 
[2026-08-05 00:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182659328001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182659328001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:35:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182659328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":148387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:35:04] local.INFO: GPS data processed {"connection_id":148387,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:35:04] local.INFO: Acknowledgment sent {"connection_id":148387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:35:27] local.INFO: TCP Data received {"connection_id":149379,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:35:27] local.INFO: Processing buffer {"connection_id":149379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:35:27] local.INFO: IMEI packet received {"connection_id":149379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":149379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:35:32] local.INFO: TCP Data received {"connection_id":149379,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:35:32] local.INFO: Processing buffer {"connection_id":149379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:35:32] local.INFO: IMEI packet received {"connection_id":149379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":149379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:35:33] local.INFO: TCP Data received {"connection_id":149379,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:35:33] local.INFO: Processing buffer {"connection_id":149379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:35:33] local.INFO: Packet analysis {"connection_id":149379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:35:33] local.INFO: Extracted packet for processing {"connection_id":149379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182659328001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870064000,"timestamp_ms":1785870064000,"timestamp_seconds":1785870064,"priority":1,"record_length":96,"hex_timestamp":"0000019fce269980"} 
[2026-08-05 00:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182659328001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182659328001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:35:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182659328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":149379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:35:33] local.INFO: GPS data processed {"connection_id":149379,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:35:33] local.INFO: Acknowledgment sent {"connection_id":149379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:36:04] local.INFO: TCP Data received {"connection_id":149379,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:36:04] local.INFO: Processing buffer {"connection_id":149379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:36:04] local.INFO: Packet analysis {"connection_id":149379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:36:04] local.INFO: Extracted packet for processing {"connection_id":149379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182659328001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870064000,"timestamp_ms":1785870064000,"timestamp_seconds":1785870064,"priority":1,"record_length":96,"hex_timestamp":"0000019fce269980"} 
[2026-08-05 00:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182659328001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182659328001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:36:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182659328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":149379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:36:04] local.INFO: GPS data processed {"connection_id":149379,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:36:04] local.INFO: Acknowledgment sent {"connection_id":149379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:36:27] local.INFO: TCP Data received {"connection_id":148157,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:36:27] local.INFO: Processing buffer {"connection_id":148157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:36:27] local.INFO: IMEI packet received {"connection_id":148157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":148157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:36:32] local.INFO: TCP Data received {"connection_id":148157,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:36:32] local.INFO: Processing buffer {"connection_id":148157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:36:32] local.INFO: IMEI packet received {"connection_id":148157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":148157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:36:33] local.INFO: TCP Data received {"connection_id":148157,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:36:33] local.INFO: Processing buffer {"connection_id":148157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce269980012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:36:33] local.INFO: Packet analysis {"connection_id":148157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:36:33] local.INFO: Extracted packet for processing {"connection_id":148157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce26"} 
[2026-08-05 00:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182659328001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870064000,"timestamp_ms":1785870064000,"timestamp_seconds":1785870064,"priority":1,"record_length":96,"hex_timestamp":"0000019fce269980"} 
[2026-08-05 00:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182659328001,"66":2155,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182659328001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:36:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182659328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":148157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:36:33] local.INFO: GPS data processed {"connection_id":148157,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:36:33] local.INFO: Acknowledgment sent {"connection_id":148157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:37:04] local.INFO: TCP Data received {"connection_id":148157,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:37:04] local.INFO: Processing buffer {"connection_id":148157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:37:04] local.INFO: Packet analysis {"connection_id":148157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:37:04] local.INFO: Extracted packet for processing {"connection_id":148157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182736384001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870365000,"timestamp_ms":1785870365000,"timestamp_seconds":1785870365,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2b3148"} 
[2026-08-05 00:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182736384001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182736384001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:37:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182736384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":148157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:37:04] local.INFO: GPS data processed {"connection_id":148157,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:37:04] local.INFO: Acknowledgment sent {"connection_id":148157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:37:27] local.INFO: TCP Data received {"connection_id":149380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:37:27] local.INFO: Processing buffer {"connection_id":149380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:37:27] local.INFO: IMEI packet received {"connection_id":149380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":149380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:37:32] local.INFO: TCP Data received {"connection_id":149380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:37:32] local.INFO: Processing buffer {"connection_id":149380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:37:32] local.INFO: IMEI packet received {"connection_id":149380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":149380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:37:33] local.INFO: TCP Data received {"connection_id":149380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:37:33] local.INFO: Processing buffer {"connection_id":149380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:37:33] local.INFO: Packet analysis {"connection_id":149380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:37:33] local.INFO: Extracted packet for processing {"connection_id":149380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182736384001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870365000,"timestamp_ms":1785870365000,"timestamp_seconds":1785870365,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2b3148"} 
[2026-08-05 00:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182736384001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182736384001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:37:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182736384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":149380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:37:33] local.INFO: GPS data processed {"connection_id":149380,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:37:33] local.INFO: Acknowledgment sent {"connection_id":149380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:38:04] local.INFO: TCP Data received {"connection_id":149380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:38:04] local.INFO: Processing buffer {"connection_id":149380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:38:04] local.INFO: Packet analysis {"connection_id":149380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:38:04] local.INFO: Extracted packet for processing {"connection_id":149380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182736384001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870365000,"timestamp_ms":1785870365000,"timestamp_seconds":1785870365,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2b3148"} 
[2026-08-05 00:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182736384001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182736384001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:38:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182736384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":149380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:38:04] local.INFO: GPS data processed {"connection_id":149380,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:38:04] local.INFO: Acknowledgment sent {"connection_id":149380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:38:27] local.INFO: TCP Data received {"connection_id":148388,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:38:27] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:38:27] local.INFO: IMEI packet received {"connection_id":148388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":148388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:38:27] local.INFO: TCP Data received {"connection_id":150788,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:38:27] local.INFO: Processing buffer {"connection_id":150788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:38:27] local.INFO: IMEI packet received {"connection_id":150788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":150788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:38:31] local.INFO: TCP Data received {"connection_id":148388,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:38:31] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:38:31] local.INFO: IMEI packet received {"connection_id":148388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":148388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:38:32] local.INFO: TCP Data received {"connection_id":148388,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:38:32] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:38:32] local.INFO: Packet analysis {"connection_id":148388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:38:32] local.INFO: Extracted packet for processing {"connection_id":148388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:38:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182727424001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785870330000,"timestamp_ms":1785870330000,"timestamp_seconds":1785870330,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2aa890"} 
[2026-08-05 00:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182727424001,"66":25495,"148":206,"84":5376,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,84,24,16,45]} 
[2026-08-05 00:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182727424001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:38:32] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 00:38:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 00:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182727424001,"power":25495,"unknown_148":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":148388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:38:32] local.INFO: GPS data processed {"connection_id":148388,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:38:32] local.INFO: Acknowledgment sent {"connection_id":148388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:38:32] local.INFO: TCP Data received {"connection_id":150788,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:38:32] local.INFO: Processing buffer {"connection_id":150788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:38:32] local.INFO: IMEI packet received {"connection_id":150788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":150788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:38:33] local.INFO: TCP Data received {"connection_id":150788,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:38:33] local.INFO: Processing buffer {"connection_id":150788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:38:33] local.INFO: Packet analysis {"connection_id":150788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:38:33] local.INFO: Extracted packet for processing {"connection_id":150788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182736384001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870365000,"timestamp_ms":1785870365000,"timestamp_seconds":1785870365,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2b3148"} 
[2026-08-05 00:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182736384001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182736384001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:38:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182736384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":150788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:38:33] local.INFO: GPS data processed {"connection_id":150788,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:38:33] local.INFO: Acknowledgment sent {"connection_id":150788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:39:04] local.INFO: TCP Data received {"connection_id":150788,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:39:04] local.INFO: Processing buffer {"connection_id":150788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:39:04] local.INFO: Packet analysis {"connection_id":150788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:39:04] local.INFO: Extracted packet for processing {"connection_id":150788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182736384001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870365000,"timestamp_ms":1785870365000,"timestamp_seconds":1785870365,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2b3148"} 
[2026-08-05 00:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182736384001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182736384001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:39:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182736384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":150788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:39:04] local.INFO: GPS data processed {"connection_id":150788,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:39:04] local.INFO: Acknowledgment sent {"connection_id":150788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:39:16] local.INFO: TCP Data received {"connection_id":148158,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:39:16] local.INFO: Processing buffer {"connection_id":148158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:39:16] local.INFO: IMEI packet received {"connection_id":148158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":148158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:39:21] local.INFO: TCP Data received {"connection_id":148158,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:39:21] local.INFO: Processing buffer {"connection_id":148158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:39:21] local.INFO: IMEI packet received {"connection_id":148158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":148158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:39:22] local.INFO: TCP Data received {"connection_id":148158,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:39:22] local.INFO: Processing buffer {"connection_id":148158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:39:22] local.INFO: Packet analysis {"connection_id":148158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:39:22] local.INFO: Extracted packet for processing {"connection_id":148158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:39:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182727424001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785870330000,"timestamp_ms":1785870330000,"timestamp_seconds":1785870330,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2aa890"} 
[2026-08-05 00:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:39: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-08-05 00:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182727424001,"66":25495,"148":206,"84":5376,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,84,24,16,45]} 
[2026-08-05 00:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182727424001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:39:22] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 00:39:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 00:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182727424001,"power":25495,"unknown_148":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":148158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:39:22] local.INFO: GPS data processed {"connection_id":148158,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:39:22] local.INFO: Acknowledgment sent {"connection_id":148158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:39:27] local.INFO: TCP Data received {"connection_id":148389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:39:27] local.INFO: Processing buffer {"connection_id":148389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:39:27] local.INFO: IMEI packet received {"connection_id":148389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":148389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:39:32] local.INFO: TCP Data received {"connection_id":148389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:39:32] local.INFO: Processing buffer {"connection_id":148389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:39:32] local.INFO: IMEI packet received {"connection_id":148389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":148389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:39:35] local.INFO: TCP Data received {"connection_id":148389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:39:35] local.INFO: Processing buffer {"connection_id":148389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:39:35] local.INFO: Packet analysis {"connection_id":148389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:39:35] local.INFO: Extracted packet for processing {"connection_id":148389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182736384001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785870365000,"timestamp_ms":1785870365000,"timestamp_seconds":1785870365,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2b3148"} 
[2026-08-05 00:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:39: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-08-05 00: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-08-05 00: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-08-05 00:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182736384001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182736384001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:39:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182736384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":148389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:39:35] local.INFO: GPS data processed {"connection_id":148389,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:39:35] local.INFO: Acknowledgment sent {"connection_id":148389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:39:53] local.INFO: TCP Data received {"connection_id":148158,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:39:53] local.INFO: Processing buffer {"connection_id":148158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:39:53] local.INFO: Packet analysis {"connection_id":148158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:39:53] local.INFO: Extracted packet for processing {"connection_id":148158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:39:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182727424001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785870330000,"timestamp_ms":1785870330000,"timestamp_seconds":1785870330,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2aa890"} 
[2026-08-05 00:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182727424001,"66":25495,"148":206,"84":5376,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,84,24,16,45]} 
[2026-08-05 00:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182727424001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:39:53] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 00:39:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 00:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182727424001,"power":25495,"unknown_148":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":148158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:39:53] local.INFO: GPS data processed {"connection_id":148158,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:39:53] local.INFO: Acknowledgment sent {"connection_id":148158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:40:21] local.INFO: TCP Data received {"connection_id":148390,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:40:21] local.INFO: Processing buffer {"connection_id":148390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:40:21] local.INFO: IMEI packet received {"connection_id":148390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":148390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:40:24] local.INFO: TCP Data received {"connection_id":148389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:40:24] local.INFO: Processing buffer {"connection_id":148389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:40:24] local.INFO: Packet analysis {"connection_id":148389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:40:24] local.INFO: Extracted packet for processing {"connection_id":148389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:40:24] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182736384001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785870365000,"timestamp_ms":1785870365000,"timestamp_seconds":1785870365,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2b3148"} 
[2026-08-05 00:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182736384001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182736384001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:40:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182736384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":148389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:40:24] local.INFO: GPS data processed {"connection_id":148389,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:40:24] local.INFO: Acknowledgment sent {"connection_id":148389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:40:26] local.INFO: TCP Data received {"connection_id":148390,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:40:26] local.INFO: Processing buffer {"connection_id":148390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:40:26] local.INFO: IMEI packet received {"connection_id":148390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":148390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:40:27] local.INFO: TCP Data received {"connection_id":149381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:40:27] local.INFO: Processing buffer {"connection_id":149381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:40:27] local.INFO: IMEI packet received {"connection_id":149381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":149381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:40:27] local.INFO: TCP Data received {"connection_id":148390,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:40:27] local.INFO: Processing buffer {"connection_id":148390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:40:27] local.INFO: Packet analysis {"connection_id":148390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:40:27] local.INFO: Extracted packet for processing {"connection_id":148390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:40:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182727424001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785870330000,"timestamp_ms":1785870330000,"timestamp_seconds":1785870330,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2aa890"} 
[2026-08-05 00:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182727424001,"66":25495,"148":206,"84":5376,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,84,24,16,45]} 
[2026-08-05 00:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182727424001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:40:27] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 00:40:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 00:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182727424001,"power":25495,"unknown_148":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":148390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:40:27] local.INFO: GPS data processed {"connection_id":148390,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:40:27] local.INFO: Acknowledgment sent {"connection_id":148390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:40:32] local.INFO: TCP Data received {"connection_id":148390,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:40:32] local.INFO: Processing buffer {"connection_id":148390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:40:32] local.INFO: Packet analysis {"connection_id":148390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:40:32] local.INFO: Extracted packet for processing {"connection_id":148390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:40:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182727424001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785870330000,"timestamp_ms":1785870330000,"timestamp_seconds":1785870330,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2aa890"} 
[2026-08-05 00:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182727424001,"66":25495,"148":206,"84":5376,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,84,24,16,45]} 
[2026-08-05 00:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182727424001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:40:32] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 00:40:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 00:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182727424001,"power":25495,"unknown_148":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":148390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:40:32] local.INFO: GPS data processed {"connection_id":148390,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:40:32] local.INFO: Acknowledgment sent {"connection_id":148390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:40:34] local.INFO: TCP Data received {"connection_id":149381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:40:34] local.INFO: Processing buffer {"connection_id":149381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:40:34] local.INFO: IMEI packet received {"connection_id":149381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":149381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:40:34] local.INFO: TCP Data received {"connection_id":149381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:40:34] local.INFO: Processing buffer {"connection_id":149381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:40:34] local.INFO: Packet analysis {"connection_id":149381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:40:34] local.INFO: Extracted packet for processing {"connection_id":149381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182736384001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785870365000,"timestamp_ms":1785870365000,"timestamp_seconds":1785870365,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2b3148"} 
[2026-08-05 00:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182736384001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182736384001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:40:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182736384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":149381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:40:35] local.INFO: GPS data processed {"connection_id":149381,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:40:35] local.INFO: Acknowledgment sent {"connection_id":149381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:41:13] local.INFO: TCP Data received {"connection_id":149381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:41:13] local.INFO: Processing buffer {"connection_id":149381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:41:13] local.INFO: Packet analysis {"connection_id":149381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:41:13] local.INFO: Extracted packet for processing {"connection_id":149381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182736384001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785870365000,"timestamp_ms":1785870365000,"timestamp_seconds":1785870365,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2b3148"} 
[2026-08-05 00:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":149381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":149381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":149381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182736384001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182736384001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:41:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182736384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":149381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:41:13] local.INFO: GPS data processed {"connection_id":149381,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:41:13] local.INFO: Acknowledgment sent {"connection_id":149381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:41:16] local.INFO: TCP Data received {"connection_id":150789,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:41:16] local.INFO: Processing buffer {"connection_id":150789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:41:16] local.INFO: IMEI packet received {"connection_id":150789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":150789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:41:21] local.INFO: TCP Data received {"connection_id":150789,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:41:21] local.INFO: Processing buffer {"connection_id":150789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:41:21] local.INFO: IMEI packet received {"connection_id":150789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":150789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:41:22] local.INFO: TCP Data received {"connection_id":150789,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:41:22] local.INFO: Processing buffer {"connection_id":150789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:41:22] local.INFO: Packet analysis {"connection_id":150789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:41:22] local.INFO: Extracted packet for processing {"connection_id":150789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:41:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182727424001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785870330000,"timestamp_ms":1785870330000,"timestamp_seconds":1785870330,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2aa890"} 
[2026-08-05 00:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:41: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-08-05 00:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182727424001,"66":25495,"148":206,"84":5376,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,84,24,16,45]} 
[2026-08-05 00:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182727424001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:41:22] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 00:41:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 00:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182727424001,"power":25495,"unknown_148":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":150789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:41:22] local.INFO: GPS data processed {"connection_id":150789,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:41:22] local.INFO: Acknowledgment sent {"connection_id":150789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:41:27] local.INFO: TCP Data received {"connection_id":148159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:41:27] local.INFO: Processing buffer {"connection_id":148159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:41:27] local.INFO: IMEI packet received {"connection_id":148159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":148159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:41:32] local.INFO: TCP Data received {"connection_id":148159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:41:32] local.INFO: Processing buffer {"connection_id":148159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:41:32] local.INFO: IMEI packet received {"connection_id":148159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":148159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:41:33] local.INFO: TCP Data received {"connection_id":148159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:41:33] local.INFO: Processing buffer {"connection_id":148159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2b3148012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:41:33] local.INFO: Packet analysis {"connection_id":148159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:41:33] local.INFO: Extracted packet for processing {"connection_id":148159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2b"} 
[2026-08-05 00:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182736384001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870365000,"timestamp_ms":1785870365000,"timestamp_seconds":1785870365,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2b3148"} 
[2026-08-05 00:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182736384001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182736384001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:41:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182736384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":148159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:41:33] local.INFO: GPS data processed {"connection_id":148159,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:41:33] local.INFO: Acknowledgment sent {"connection_id":148159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:41:53] local.INFO: TCP Data received {"connection_id":150789,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:41:53] local.INFO: Processing buffer {"connection_id":150789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:41:53] local.INFO: Packet analysis {"connection_id":150789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:41:53] local.INFO: Extracted packet for processing {"connection_id":150789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:41:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182727424001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785870330000,"timestamp_ms":1785870330000,"timestamp_seconds":1785870330,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2aa890"} 
[2026-08-05 00:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182727424001,"66":25495,"148":206,"84":5376,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,84,24,16,45]} 
[2026-08-05 00:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182727424001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:41:53] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 00:41:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 00:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182727424001,"power":25495,"unknown_148":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":150789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:41:53] local.INFO: GPS data processed {"connection_id":150789,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:41:53] local.INFO: Acknowledgment sent {"connection_id":150789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:42:04] local.INFO: TCP Data received {"connection_id":148159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:42:04] local.INFO: Processing buffer {"connection_id":148159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:42:04] local.INFO: Packet analysis {"connection_id":148159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:42:04] local.INFO: Extracted packet for processing {"connection_id":148159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182813440001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870666000,"timestamp_ms":1785870666000,"timestamp_seconds":1785870666,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2fc910"} 
[2026-08-05 00:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182813440001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182813440001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:42:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182813440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":148159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:42:04] local.INFO: GPS data processed {"connection_id":148159,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:42:04] local.INFO: Acknowledgment sent {"connection_id":148159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:42:16] local.INFO: TCP Data received {"connection_id":149382,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:42:16] local.INFO: Processing buffer {"connection_id":149382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:42:16] local.INFO: IMEI packet received {"connection_id":149382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":149382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:42:21] local.INFO: TCP Data received {"connection_id":149382,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:42:21] local.INFO: Processing buffer {"connection_id":149382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:42:21] local.INFO: IMEI packet received {"connection_id":149382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":149382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:42:22] local.INFO: TCP Data received {"connection_id":149382,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:42:22] local.INFO: Processing buffer {"connection_id":149382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2aa890012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:42:22] local.INFO: Packet analysis {"connection_id":149382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:42:22] local.INFO: Extracted packet for processing {"connection_id":149382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2a"} 
[2026-08-05 00:42:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182727424001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785870330000,"timestamp_ms":1785870330000,"timestamp_seconds":1785870330,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2aa890"} 
[2026-08-05 00:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:42: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-08-05 00:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182727424001,"66":25495,"148":206,"84":5376,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,84,24,16,45]} 
[2026-08-05 00:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182727424001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:42:22] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 00:42:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 00:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182727424001,"power":25495,"unknown_148":206,"unknown_84":5376,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":149382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:42:22] local.INFO: GPS data processed {"connection_id":149382,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:42:22] local.INFO: Acknowledgment sent {"connection_id":149382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:42:27] local.INFO: TCP Data received {"connection_id":148391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:42:27] local.INFO: Processing buffer {"connection_id":148391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:42:27] local.INFO: IMEI packet received {"connection_id":148391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":148391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:42:32] local.INFO: TCP Data received {"connection_id":148391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:42:32] local.INFO: Processing buffer {"connection_id":148391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:42:32] local.INFO: IMEI packet received {"connection_id":148391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":148391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:42:33] local.INFO: TCP Data received {"connection_id":148391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:42:33] local.INFO: Processing buffer {"connection_id":148391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:42:33] local.INFO: Packet analysis {"connection_id":148391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:42:33] local.INFO: Extracted packet for processing {"connection_id":148391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182813440001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870666000,"timestamp_ms":1785870666000,"timestamp_seconds":1785870666,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2fc910"} 
[2026-08-05 00:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182813440001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182813440001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:42:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182813440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":148391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:42:33] local.INFO: GPS data processed {"connection_id":148391,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:42:33] local.INFO: Acknowledgment sent {"connection_id":148391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:43:06] local.INFO: TCP Data received {"connection_id":148391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:43:06] local.INFO: Processing buffer {"connection_id":148391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:43:06] local.INFO: Packet analysis {"connection_id":148391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:43:06] local.INFO: Extracted packet for processing {"connection_id":148391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182813440001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785870666000,"timestamp_ms":1785870666000,"timestamp_seconds":1785870666,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2fc910"} 
[2026-08-05 00:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182813440001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182813440001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:43:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182813440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":148391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:43:06] local.INFO: GPS data processed {"connection_id":148391,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:43:06] local.INFO: Acknowledgment sent {"connection_id":148391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:43:07] local.INFO: TCP Data received {"connection_id":149382,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:43:07] local.INFO: Processing buffer {"connection_id":149382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:43:07] local.INFO: Packet analysis {"connection_id":149382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:43:07] local.INFO: Extracted packet for processing {"connection_id":149382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:43:07] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182804480001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785870709000,"timestamp_ms":1785870709000,"timestamp_seconds":1785870709,"priority":1,"record_length":96,"hex_timestamp":"0000019fce307108"} 
[2026-08-05 00:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":149382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":149382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":149382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182804480001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182804480001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:43:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:43:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182804480001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":149382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:43:07] local.INFO: GPS data processed {"connection_id":149382,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:43:07] local.INFO: Acknowledgment sent {"connection_id":149382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:43:16] local.INFO: TCP Data received {"connection_id":149383,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:43:16] local.INFO: Processing buffer {"connection_id":149383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:43:16] local.INFO: IMEI packet received {"connection_id":149383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":149383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:43:21] local.INFO: TCP Data received {"connection_id":149383,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:43:21] local.INFO: Processing buffer {"connection_id":149383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:43:21] local.INFO: IMEI packet received {"connection_id":149383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":149383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:43:22] local.INFO: TCP Data received {"connection_id":149383,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:43:22] local.INFO: Processing buffer {"connection_id":149383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:43:22] local.INFO: Packet analysis {"connection_id":149383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:43:22] local.INFO: Extracted packet for processing {"connection_id":149383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:43:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182804480001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785870709000,"timestamp_ms":1785870709000,"timestamp_seconds":1785870709,"priority":1,"record_length":96,"hex_timestamp":"0000019fce307108"} 
[2026-08-05 00:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:43: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-08-05 00:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182804480001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182804480001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:43:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:43:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182804480001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":149383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:43:22] local.INFO: GPS data processed {"connection_id":149383,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:43:22] local.INFO: Acknowledgment sent {"connection_id":149383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:43:27] local.INFO: TCP Data received {"connection_id":149384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:43:27] local.INFO: Processing buffer {"connection_id":149384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:43:27] local.INFO: IMEI packet received {"connection_id":149384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":149384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:43:32] local.INFO: TCP Data received {"connection_id":149384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:43:32] local.INFO: Processing buffer {"connection_id":149384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:43:32] local.INFO: IMEI packet received {"connection_id":149384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":149384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:43:33] local.INFO: TCP Data received {"connection_id":149384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:43:33] local.INFO: Processing buffer {"connection_id":149384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:43:33] local.INFO: Packet analysis {"connection_id":149384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:43:33] local.INFO: Extracted packet for processing {"connection_id":149384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182813440001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870666000,"timestamp_ms":1785870666000,"timestamp_seconds":1785870666,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2fc910"} 
[2026-08-05 00:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182813440001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182813440001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:43:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182813440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":149384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:43:33] local.INFO: GPS data processed {"connection_id":149384,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:43:33] local.INFO: Acknowledgment sent {"connection_id":149384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:43:53] local.INFO: TCP Data received {"connection_id":149383,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:43:53] local.INFO: Processing buffer {"connection_id":149383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:43:53] local.INFO: Packet analysis {"connection_id":149383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:43:53] local.INFO: Extracted packet for processing {"connection_id":149383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:43:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182804480001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785870709000,"timestamp_ms":1785870709000,"timestamp_seconds":1785870709,"priority":1,"record_length":96,"hex_timestamp":"0000019fce307108"} 
[2026-08-05 00:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182804480001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182804480001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:43:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:43:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182804480001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":149383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:43:53] local.INFO: GPS data processed {"connection_id":149383,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:43:53] local.INFO: Acknowledgment sent {"connection_id":149383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:44:04] local.INFO: TCP Data received {"connection_id":149384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:44:04] local.INFO: Processing buffer {"connection_id":149384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:44:04] local.INFO: Packet analysis {"connection_id":149384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:44:04] local.INFO: Extracted packet for processing {"connection_id":149384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182813440001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870666000,"timestamp_ms":1785870666000,"timestamp_seconds":1785870666,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2fc910"} 
[2026-08-05 00:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182813440001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182813440001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:44:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182813440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":149384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:44:04] local.INFO: GPS data processed {"connection_id":149384,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:44:04] local.INFO: Acknowledgment sent {"connection_id":149384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:44:21] local.INFO: TCP Data received {"connection_id":150790,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:44:21] local.INFO: Processing buffer {"connection_id":150790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:44:21] local.INFO: IMEI packet received {"connection_id":150790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":150790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:44:26] local.INFO: TCP Data received {"connection_id":150790,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:44:26] local.INFO: Processing buffer {"connection_id":150790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:44:26] local.INFO: IMEI packet received {"connection_id":150790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":150790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:44:27] local.INFO: TCP Data received {"connection_id":150790,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:44:27] local.INFO: Processing buffer {"connection_id":150790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:44:27] local.INFO: Packet analysis {"connection_id":150790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:44:27] local.INFO: Extracted packet for processing {"connection_id":150790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:44:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182804480001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785870709000,"timestamp_ms":1785870709000,"timestamp_seconds":1785870709,"priority":1,"record_length":96,"hex_timestamp":"0000019fce307108"} 
[2026-08-05 00:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182804480001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182804480001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:44:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:44:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182804480001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":150790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:44:27] local.INFO: GPS data processed {"connection_id":150790,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:44:27] local.INFO: Acknowledgment sent {"connection_id":150790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:44:27] local.INFO: TCP Data received {"connection_id":150791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:44:27] local.INFO: Processing buffer {"connection_id":150791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:44:27] local.INFO: IMEI packet received {"connection_id":150791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":150791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:44:32] local.INFO: TCP Data received {"connection_id":150791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:44:32] local.INFO: Processing buffer {"connection_id":150791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:44:32] local.INFO: IMEI packet received {"connection_id":150791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":150791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:44:33] local.INFO: TCP Data received {"connection_id":150791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:44:33] local.INFO: Processing buffer {"connection_id":150791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:44:33] local.INFO: Packet analysis {"connection_id":150791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:44:33] local.INFO: Extracted packet for processing {"connection_id":150791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182813440001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870666000,"timestamp_ms":1785870666000,"timestamp_seconds":1785870666,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2fc910"} 
[2026-08-05 00:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182813440001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182813440001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:44:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182813440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":150791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:44:33] local.INFO: GPS data processed {"connection_id":150791,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:44:33] local.INFO: Acknowledgment sent {"connection_id":150791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:44:58] local.INFO: TCP Data received {"connection_id":150790,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:44:58] local.INFO: Processing buffer {"connection_id":150790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:44:58] local.INFO: Packet analysis {"connection_id":150790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:44:58] local.INFO: Extracted packet for processing {"connection_id":150790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:44:58] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182804480001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785870709000,"timestamp_ms":1785870709000,"timestamp_seconds":1785870709,"priority":1,"record_length":96,"hex_timestamp":"0000019fce307108"} 
[2026-08-05 00:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182804480001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182804480001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:44:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:44:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182804480001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":150790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:44:58] local.INFO: GPS data processed {"connection_id":150790,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:44:58] local.INFO: Acknowledgment sent {"connection_id":150790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:45:04] local.INFO: TCP Data received {"connection_id":150791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:45:04] local.INFO: Processing buffer {"connection_id":150791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:45:04] local.INFO: Packet analysis {"connection_id":150791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:45:04] local.INFO: Extracted packet for processing {"connection_id":150791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182813440001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870666000,"timestamp_ms":1785870666000,"timestamp_seconds":1785870666,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2fc910"} 
[2026-08-05 00:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182813440001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182813440001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:45:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182813440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":150791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:45:04] local.INFO: GPS data processed {"connection_id":150791,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:45:04] local.INFO: Acknowledgment sent {"connection_id":150791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:45:16] local.INFO: TCP Data received {"connection_id":149385,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:45:16] local.INFO: Processing buffer {"connection_id":149385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:45:16] local.INFO: IMEI packet received {"connection_id":149385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":149385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:45:21] local.INFO: TCP Data received {"connection_id":149385,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:45:21] local.INFO: Processing buffer {"connection_id":149385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:45:21] local.INFO: IMEI packet received {"connection_id":149385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":149385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:45:22] local.INFO: TCP Data received {"connection_id":149385,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:45:22] local.INFO: Processing buffer {"connection_id":149385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:45:22] local.INFO: Packet analysis {"connection_id":149385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:45:22] local.INFO: Extracted packet for processing {"connection_id":149385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:45:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 00:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182804480001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785870709000,"timestamp_ms":1785870709000,"timestamp_seconds":1785870709,"priority":1,"record_length":96,"hex_timestamp":"0000019fce307108"} 
[2026-08-05 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-08-05 00:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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-08-05 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-08-05 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-08-05 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-08-05 00:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182804480001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182804480001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:45:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:45:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182804480001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":149385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:45:22] local.INFO: GPS data processed {"connection_id":149385,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:45:22] local.INFO: Acknowledgment sent {"connection_id":149385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:45:27] local.INFO: TCP Data received {"connection_id":148160,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:45:27] local.INFO: Processing buffer {"connection_id":148160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:45:27] local.INFO: IMEI packet received {"connection_id":148160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":148160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:45:32] local.INFO: TCP Data received {"connection_id":148160,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:45:32] local.INFO: Processing buffer {"connection_id":148160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:45:32] local.INFO: IMEI packet received {"connection_id":148160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":148160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:45:33] local.INFO: TCP Data received {"connection_id":148160,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:45:33] local.INFO: Processing buffer {"connection_id":148160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:45:33] local.INFO: Packet analysis {"connection_id":148160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:45:33] local.INFO: Extracted packet for processing {"connection_id":148160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182813440001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870666000,"timestamp_ms":1785870666000,"timestamp_seconds":1785870666,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2fc910"} 
[2026-08-05 00:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182813440001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182813440001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:45:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182813440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":148160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:45:33] local.INFO: GPS data processed {"connection_id":148160,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:45:33] local.INFO: Acknowledgment sent {"connection_id":148160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:45:53] local.INFO: TCP Data received {"connection_id":149385,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:45:53] local.INFO: Processing buffer {"connection_id":149385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:45:53] local.INFO: Packet analysis {"connection_id":149385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:45:53] local.INFO: Extracted packet for processing {"connection_id":149385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:45:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182804480001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785870709000,"timestamp_ms":1785870709000,"timestamp_seconds":1785870709,"priority":1,"record_length":96,"hex_timestamp":"0000019fce307108"} 
[2026-08-05 00:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182804480001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182804480001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:45:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:45:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182804480001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":149385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:45:53] local.INFO: GPS data processed {"connection_id":149385,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:45:53] local.INFO: Acknowledgment sent {"connection_id":149385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:46:04] local.INFO: TCP Data received {"connection_id":148160,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:46:04] local.INFO: Processing buffer {"connection_id":148160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:46:04] local.INFO: Packet analysis {"connection_id":148160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:46:04] local.INFO: Extracted packet for processing {"connection_id":148160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182813440001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870666000,"timestamp_ms":1785870666000,"timestamp_seconds":1785870666,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2fc910"} 
[2026-08-05 00:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182813440001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182813440001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:46:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182813440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":148160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:46:05] local.INFO: GPS data processed {"connection_id":148160,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:46:05] local.INFO: Acknowledgment sent {"connection_id":148160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:46:16] local.INFO: TCP Data received {"connection_id":148392,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:46:16] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:46:16] local.INFO: IMEI packet received {"connection_id":148392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":148392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:46:21] local.INFO: TCP Data received {"connection_id":148392,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:46:21] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:46:21] local.INFO: IMEI packet received {"connection_id":148392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":148392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:46:22] local.INFO: TCP Data received {"connection_id":148392,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:46:22] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:46:22] local.INFO: Packet analysis {"connection_id":148392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:46:22] local.INFO: Extracted packet for processing {"connection_id":148392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:46:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182804480001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785870709000,"timestamp_ms":1785870709000,"timestamp_seconds":1785870709,"priority":1,"record_length":96,"hex_timestamp":"0000019fce307108"} 
[2026-08-05 00:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:46: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-08-05 00:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182804480001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182804480001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:46:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:46:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182804480001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":148392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:46:22] local.INFO: GPS data processed {"connection_id":148392,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:46:22] local.INFO: Acknowledgment sent {"connection_id":148392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:46:27] local.INFO: TCP Data received {"connection_id":150792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:46:27] local.INFO: Processing buffer {"connection_id":150792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:46:27] local.INFO: IMEI packet received {"connection_id":150792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":150792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:46:32] local.INFO: TCP Data received {"connection_id":150792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:46:32] local.INFO: Processing buffer {"connection_id":150792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:46:32] local.INFO: IMEI packet received {"connection_id":150792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":150792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:46:33] local.INFO: TCP Data received {"connection_id":150792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:46:33] local.INFO: Processing buffer {"connection_id":150792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce2fc910012d195fc0071ff2f8003c006321..."} 
[2026-08-05 00:46:33] local.INFO: Packet analysis {"connection_id":150792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:46:33] local.INFO: Extracted packet for processing {"connection_id":150792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce2f"} 
[2026-08-05 00:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":33,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182813440001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870666000,"timestamp_ms":1785870666000,"timestamp_seconds":1785870666,"priority":1,"record_length":96,"hex_timestamp":"0000019fce2fc910"} 
[2026-08-05 00:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182813440001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182813440001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:46:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182813440001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":150792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:46:33] local.INFO: GPS data processed {"connection_id":150792,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:46:33] local.INFO: Acknowledgment sent {"connection_id":150792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:46:53] local.INFO: TCP Data received {"connection_id":148392,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:46:53] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:46:53] local.INFO: Packet analysis {"connection_id":148392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:46:53] local.INFO: Extracted packet for processing {"connection_id":148392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:46:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182804480001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785870709000,"timestamp_ms":1785870709000,"timestamp_seconds":1785870709,"priority":1,"record_length":96,"hex_timestamp":"0000019fce307108"} 
[2026-08-05 00:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182804480001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182804480001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:46:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:46:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182804480001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":148392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:46:53] local.INFO: GPS data processed {"connection_id":148392,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:46:53] local.INFO: Acknowledgment sent {"connection_id":148392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:47:08] local.INFO: TCP Data received {"connection_id":150792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:47:08] local.INFO: Processing buffer {"connection_id":150792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:47:08] local.INFO: Packet analysis {"connection_id":150792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:47:08] local.INFO: Extracted packet for processing {"connection_id":150792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 00:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182890496001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 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-08-05 00:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785870967000,"timestamp_ms":1785870967000,"timestamp_seconds":1785870967,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3460d8"} 
[2026-08-05 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-08-05 00:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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-08-05 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-08-05 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-08-05 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-08-05 00:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182890496001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182890496001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:47:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182890496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":150792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:47:08] local.INFO: GPS data processed {"connection_id":150792,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:47:08] local.INFO: Acknowledgment sent {"connection_id":150792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:47:16] local.INFO: TCP Data received {"connection_id":148161,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:47:16] local.INFO: Processing buffer {"connection_id":148161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:47:16] local.INFO: IMEI packet received {"connection_id":148161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":148161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:47:21] local.INFO: TCP Data received {"connection_id":148161,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:47:21] local.INFO: Processing buffer {"connection_id":148161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:47:21] local.INFO: IMEI packet received {"connection_id":148161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":148161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:47:22] local.INFO: TCP Data received {"connection_id":148161,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:47:22] local.INFO: Processing buffer {"connection_id":148161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce307108012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:47:22] local.INFO: Packet analysis {"connection_id":148161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:47:22] local.INFO: Extracted packet for processing {"connection_id":148161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce30"} 
[2026-08-05 00:47:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182804480001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785870709000,"timestamp_ms":1785870709000,"timestamp_seconds":1785870709,"priority":1,"record_length":96,"hex_timestamp":"0000019fce307108"} 
[2026-08-05 00:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:47: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-08-05 00:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182804480001,"66":25495,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182804480001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:47:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:47:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182804480001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":148161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:47:22] local.INFO: GPS data processed {"connection_id":148161,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:47:22] local.INFO: Acknowledgment sent {"connection_id":148161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:47:27] local.INFO: TCP Data received {"connection_id":148162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:47:27] local.INFO: Processing buffer {"connection_id":148162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:47:27] local.INFO: IMEI packet received {"connection_id":148162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":148162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:47:32] local.INFO: TCP Data received {"connection_id":148162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:47:32] local.INFO: Processing buffer {"connection_id":148162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:47:32] local.INFO: IMEI packet received {"connection_id":148162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":148162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:47:33] local.INFO: TCP Data received {"connection_id":148162,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:47:33] local.INFO: Processing buffer {"connection_id":148162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:47:33] local.INFO: Packet analysis {"connection_id":148162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:47:33] local.INFO: Extracted packet for processing {"connection_id":148162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182890496001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870967000,"timestamp_ms":1785870967000,"timestamp_seconds":1785870967,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3460d8"} 
[2026-08-05 00:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182890496001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182890496001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:47:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182890496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":148162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:47:33] local.INFO: GPS data processed {"connection_id":148162,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:47:33] local.INFO: Acknowledgment sent {"connection_id":148162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:47:53] local.INFO: TCP Data received {"connection_id":148161,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:47:53] local.INFO: Processing buffer {"connection_id":148161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:47:53] local.INFO: Packet analysis {"connection_id":148161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:47:53] local.INFO: Extracted packet for processing {"connection_id":148161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:47:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182901504001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871010000,"timestamp_ms":1785871010000,"timestamp_seconds":1785871010,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3508d0"} 
[2026-08-05 00:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182901504001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182901504001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:47:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:47:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182901504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":148161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:47:53] local.INFO: GPS data processed {"connection_id":148161,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:47:53] local.INFO: Acknowledgment sent {"connection_id":148161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:48:04] local.INFO: TCP Data received {"connection_id":148162,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:48:04] local.INFO: Processing buffer {"connection_id":148162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:48:04] local.INFO: Packet analysis {"connection_id":148162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:48:04] local.INFO: Extracted packet for processing {"connection_id":148162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182890496001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870967000,"timestamp_ms":1785870967000,"timestamp_seconds":1785870967,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3460d8"} 
[2026-08-05 00:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182890496001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182890496001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:48:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182890496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":148162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:48:04] local.INFO: GPS data processed {"connection_id":148162,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:48:04] local.INFO: Acknowledgment sent {"connection_id":148162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:48:16] local.INFO: TCP Data received {"connection_id":148393,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:48:16] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:48:16] local.INFO: IMEI packet received {"connection_id":148393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":148393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:48:21] local.INFO: TCP Data received {"connection_id":148393,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:48:21] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:48:21] local.INFO: IMEI packet received {"connection_id":148393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":148393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:48:22] local.INFO: TCP Data received {"connection_id":148393,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:48:22] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:48:22] local.INFO: Packet analysis {"connection_id":148393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:48:22] local.INFO: Extracted packet for processing {"connection_id":148393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:48:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182901504001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871010000,"timestamp_ms":1785871010000,"timestamp_seconds":1785871010,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3508d0"} 
[2026-08-05 00:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:48: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-08-05 00:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182901504001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182901504001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:48:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:48:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182901504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":148393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:48:22] local.INFO: GPS data processed {"connection_id":148393,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:48:22] local.INFO: Acknowledgment sent {"connection_id":148393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:48:27] local.INFO: TCP Data received {"connection_id":149386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:48:27] local.INFO: Processing buffer {"connection_id":149386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:48:27] local.INFO: IMEI packet received {"connection_id":149386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":149386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:48:32] local.INFO: TCP Data received {"connection_id":149386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:48:32] local.INFO: Processing buffer {"connection_id":149386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:48:32] local.INFO: IMEI packet received {"connection_id":149386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":149386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:48:33] local.INFO: TCP Data received {"connection_id":149386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:48:33] local.INFO: Processing buffer {"connection_id":149386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:48:33] local.INFO: Packet analysis {"connection_id":149386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:48:33] local.INFO: Extracted packet for processing {"connection_id":149386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182890496001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870967000,"timestamp_ms":1785870967000,"timestamp_seconds":1785870967,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3460d8"} 
[2026-08-05 00:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":149386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":149386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":149386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182890496001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182890496001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:48:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182890496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":149386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:48:33] local.INFO: GPS data processed {"connection_id":149386,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:48:33] local.INFO: Acknowledgment sent {"connection_id":149386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:49:03] local.INFO: TCP Data received {"connection_id":148393,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:49:03] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:49:03] local.INFO: Packet analysis {"connection_id":148393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:49:03] local.INFO: Extracted packet for processing {"connection_id":148393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:49:03] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182901504001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785871010000,"timestamp_ms":1785871010000,"timestamp_seconds":1785871010,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3508d0"} 
[2026-08-05 00:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182901504001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182901504001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:49:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:49:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182901504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":148393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:49:03] local.INFO: GPS data processed {"connection_id":148393,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:49:03] local.INFO: Acknowledgment sent {"connection_id":148393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:49:04] local.INFO: TCP Data received {"connection_id":149386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:49:04] local.INFO: Processing buffer {"connection_id":149386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:49:04] local.INFO: Packet analysis {"connection_id":149386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:49:04] local.INFO: Extracted packet for processing {"connection_id":149386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182890496001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870967000,"timestamp_ms":1785870967000,"timestamp_seconds":1785870967,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3460d8"} 
[2026-08-05 00:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182890496001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182890496001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:49:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182890496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":149386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:49:04] local.INFO: GPS data processed {"connection_id":149386,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:49:04] local.INFO: Acknowledgment sent {"connection_id":149386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:49:16] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:49:16] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:49:16] local.INFO: IMEI packet received {"connection_id":148394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":148394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:49:21] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:49:21] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:49:21] local.INFO: IMEI packet received {"connection_id":148394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":148394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:49:22] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:49:22] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:49:22] local.INFO: Packet analysis {"connection_id":148394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:49:22] local.INFO: Extracted packet for processing {"connection_id":148394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:49:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182901504001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871010000,"timestamp_ms":1785871010000,"timestamp_seconds":1785871010,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3508d0"} 
[2026-08-05 00:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:49: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-08-05 00:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182901504001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182901504001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:49:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:49:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182901504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":148394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:49:22] local.INFO: GPS data processed {"connection_id":148394,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:49:22] local.INFO: Acknowledgment sent {"connection_id":148394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:49:27] local.INFO: TCP Data received {"connection_id":148395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:49:27] local.INFO: Processing buffer {"connection_id":148395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:49:27] local.INFO: IMEI packet received {"connection_id":148395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":148395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:49:32] local.INFO: TCP Data received {"connection_id":148395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:49:32] local.INFO: Processing buffer {"connection_id":148395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:49:32] local.INFO: IMEI packet received {"connection_id":148395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":148395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:49:33] local.INFO: TCP Data received {"connection_id":148395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:49:33] local.INFO: Processing buffer {"connection_id":148395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:49:33] local.INFO: Packet analysis {"connection_id":148395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:49:33] local.INFO: Extracted packet for processing {"connection_id":148395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182890496001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870967000,"timestamp_ms":1785870967000,"timestamp_seconds":1785870967,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3460d8"} 
[2026-08-05 00:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182890496001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182890496001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:49:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182890496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":148395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:49:33] local.INFO: GPS data processed {"connection_id":148395,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:49:33] local.INFO: Acknowledgment sent {"connection_id":148395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:49:56] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:49:56] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:49:56] local.INFO: Packet analysis {"connection_id":148394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:49:56] local.INFO: Extracted packet for processing {"connection_id":148394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:49:56] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182901504001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785871010000,"timestamp_ms":1785871010000,"timestamp_seconds":1785871010,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3508d0"} 
[2026-08-05 00:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182901504001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182901504001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:49:56] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:49:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182901504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":148394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:49:56] local.INFO: GPS data processed {"connection_id":148394,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:49:56] local.INFO: Acknowledgment sent {"connection_id":148394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:50:04] local.INFO: TCP Data received {"connection_id":148395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:50:04] local.INFO: Processing buffer {"connection_id":148395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:50:04] local.INFO: Packet analysis {"connection_id":148395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:50:04] local.INFO: Extracted packet for processing {"connection_id":148395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182890496001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785870967000,"timestamp_ms":1785870967000,"timestamp_seconds":1785870967,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3460d8"} 
[2026-08-05 00:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182890496001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182890496001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:50:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182890496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":148395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:50:04] local.INFO: GPS data processed {"connection_id":148395,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:50:04] local.INFO: Acknowledgment sent {"connection_id":148395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:50:16] local.INFO: TCP Data received {"connection_id":150793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:50:16] local.INFO: Processing buffer {"connection_id":150793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:50:16] local.INFO: IMEI packet received {"connection_id":150793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":150793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:50:21] local.INFO: TCP Data received {"connection_id":150793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:50:21] local.INFO: Processing buffer {"connection_id":150793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:50:21] local.INFO: IMEI packet received {"connection_id":150793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":150793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:50:22] local.INFO: TCP Data received {"connection_id":150793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:50:22] local.INFO: Processing buffer {"connection_id":150793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:50:22] local.INFO: Packet analysis {"connection_id":150793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:50:22] local.INFO: Extracted packet for processing {"connection_id":150793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:50:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182901504001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871010000,"timestamp_ms":1785871010000,"timestamp_seconds":1785871010,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3508d0"} 
[2026-08-05 00:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:50: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-08-05 00:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182901504001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182901504001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:50:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:50:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182901504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":150793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:50:22] local.INFO: GPS data processed {"connection_id":150793,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:50:22] local.INFO: Acknowledgment sent {"connection_id":150793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:50:27] local.INFO: TCP Data received {"connection_id":148163,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:50:27] local.INFO: Processing buffer {"connection_id":148163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:50:27] local.INFO: IMEI packet received {"connection_id":148163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":148163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:50:32] local.INFO: TCP Data received {"connection_id":148163,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:50:32] local.INFO: Processing buffer {"connection_id":148163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:50:32] local.INFO: IMEI packet received {"connection_id":148163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":148163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:50:40] local.INFO: TCP Data received {"connection_id":148163,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:50:40] local.INFO: Processing buffer {"connection_id":148163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:50:40] local.INFO: Packet analysis {"connection_id":148163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:50:40] local.INFO: Extracted packet for processing {"connection_id":148163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182890496001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785870967000,"timestamp_ms":1785870967000,"timestamp_seconds":1785870967,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3460d8"} 
[2026-08-05 00:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:50: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-08-05 00:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182890496001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182890496001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:50:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182890496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":148163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:50:40] local.INFO: GPS data processed {"connection_id":148163,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:50:40] local.INFO: Acknowledgment sent {"connection_id":148163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:50:54] local.INFO: TCP Data received {"connection_id":150793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:50:54] local.INFO: Processing buffer {"connection_id":150793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:50:54] local.INFO: Packet analysis {"connection_id":150793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:50:54] local.INFO: Extracted packet for processing {"connection_id":150793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:50:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182901504001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785871010000,"timestamp_ms":1785871010000,"timestamp_seconds":1785871010,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3508d0"} 
[2026-08-05 00:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":150793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":150793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":150793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182901504001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182901504001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:50:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:50:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182901504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":150793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:50:54] local.INFO: GPS data processed {"connection_id":150793,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:50:54] local.INFO: Acknowledgment sent {"connection_id":150793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:51:11] local.INFO: TCP Data received {"connection_id":148163,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:51:11] local.INFO: Processing buffer {"connection_id":148163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:51:11] local.INFO: Packet analysis {"connection_id":148163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:51:11] local.INFO: Extracted packet for processing {"connection_id":148163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182890496001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785870967000,"timestamp_ms":1785870967000,"timestamp_seconds":1785870967,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3460d8"} 
[2026-08-05 00:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182890496001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182890496001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:51:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182890496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":148163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:51:11] local.INFO: GPS data processed {"connection_id":148163,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:51:11] local.INFO: Acknowledgment sent {"connection_id":148163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:51:16] local.INFO: TCP Data received {"connection_id":149387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:51:16] local.INFO: Processing buffer {"connection_id":149387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:51:16] local.INFO: IMEI packet received {"connection_id":149387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":149387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:51:21] local.INFO: TCP Data received {"connection_id":149387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:51:21] local.INFO: Processing buffer {"connection_id":149387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:51:21] local.INFO: IMEI packet received {"connection_id":149387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":149387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:51:22] local.INFO: TCP Data received {"connection_id":149387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:51:22] local.INFO: Processing buffer {"connection_id":149387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:51:22] local.INFO: Packet analysis {"connection_id":149387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:51:22] local.INFO: Extracted packet for processing {"connection_id":149387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:51:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182901504001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871010000,"timestamp_ms":1785871010000,"timestamp_seconds":1785871010,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3508d0"} 
[2026-08-05 00:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:51: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-08-05 00:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182901504001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182901504001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:51:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:51:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182901504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":149387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:51:22] local.INFO: GPS data processed {"connection_id":149387,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:51:22] local.INFO: Acknowledgment sent {"connection_id":149387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:51:28] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:51:28] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:51:28] local.INFO: IMEI packet received {"connection_id":148396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":148396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:51:32] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:51:32] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:51:32] local.INFO: IMEI packet received {"connection_id":148396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":148396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:51:33] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:51:33] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3460d8012d195fc0071ff2f8003c006323..."} 
[2026-08-05 00:51:33] local.INFO: Packet analysis {"connection_id":148396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:51:33] local.INFO: Extracted packet for processing {"connection_id":148396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce34"} 
[2026-08-05 00:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":35,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182890496001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785870967000,"timestamp_ms":1785870967000,"timestamp_seconds":1785870967,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3460d8"} 
[2026-08-05 00:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 00:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182890496001,"66":2177,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182890496001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:51:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182890496001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":148396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:51:33] local.INFO: GPS data processed {"connection_id":148396,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:51:33] local.INFO: Acknowledgment sent {"connection_id":148396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:51:53] local.INFO: TCP Data received {"connection_id":149387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:51:53] local.INFO: Processing buffer {"connection_id":149387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:51:53] local.INFO: Packet analysis {"connection_id":149387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:51:53] local.INFO: Extracted packet for processing {"connection_id":149387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:51:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182901504001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871010000,"timestamp_ms":1785871010000,"timestamp_seconds":1785871010,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3508d0"} 
[2026-08-05 00:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182901504001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182901504001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:51:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:51:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182901504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":149387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:51:53] local.INFO: GPS data processed {"connection_id":149387,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:51:53] local.INFO: Acknowledgment sent {"connection_id":149387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:52:04] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:52:04] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:52:04] local.INFO: Packet analysis {"connection_id":148396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:52:04] local.INFO: Extracted packet for processing {"connection_id":148396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":31,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182967552001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785871268000,"timestamp_ms":1785871268000,"timestamp_seconds":1785871268,"priority":1,"record_length":96,"hex_timestamp":"0000019fce38f8a0"} 
[2026-08-05 00:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182967552001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182967552001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:52:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182967552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":148396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:52:04] local.INFO: GPS data processed {"connection_id":148396,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:52:04] local.INFO: Acknowledgment sent {"connection_id":148396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:52:16] local.INFO: TCP Data received {"connection_id":148164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:52:16] local.INFO: Processing buffer {"connection_id":148164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:52:16] local.INFO: IMEI packet received {"connection_id":148164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":148164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:52:21] local.INFO: TCP Data received {"connection_id":148164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:52:21] local.INFO: Processing buffer {"connection_id":148164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:52:21] local.INFO: IMEI packet received {"connection_id":148164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":148164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:52:22] local.INFO: TCP Data received {"connection_id":148164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:52:22] local.INFO: Processing buffer {"connection_id":148164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3508d0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 00:52:22] local.INFO: Packet analysis {"connection_id":148164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:52:22] local.INFO: Extracted packet for processing {"connection_id":148164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce35"} 
[2026-08-05 00:52:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182901504001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871010000,"timestamp_ms":1785871010000,"timestamp_seconds":1785871010,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3508d0"} 
[2026-08-05 00:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 00:52: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-08-05 00:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182901504001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182901504001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:52:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:52:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182901504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":148164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:52:22] local.INFO: GPS data processed {"connection_id":148164,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:52:22] local.INFO: Acknowledgment sent {"connection_id":148164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:52:27] local.INFO: TCP Data received {"connection_id":150794,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:52:27] local.INFO: Processing buffer {"connection_id":150794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:52:27] local.INFO: IMEI packet received {"connection_id":150794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":150794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:52:32] local.INFO: TCP Data received {"connection_id":150794,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:52:32] local.INFO: Processing buffer {"connection_id":150794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:52:32] local.INFO: IMEI packet received {"connection_id":150794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":150794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:52:33] local.INFO: TCP Data received {"connection_id":150794,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:52:33] local.INFO: Processing buffer {"connection_id":150794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:52:33] local.INFO: Packet analysis {"connection_id":150794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:52:33] local.INFO: Extracted packet for processing {"connection_id":150794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":31,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182967552001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785871268000,"timestamp_ms":1785871268000,"timestamp_seconds":1785871268,"priority":1,"record_length":96,"hex_timestamp":"0000019fce38f8a0"} 
[2026-08-05 00:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182967552001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182967552001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:52:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182967552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":150794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:52:33] local.INFO: GPS data processed {"connection_id":150794,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:52:33] local.INFO: Acknowledgment sent {"connection_id":150794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:52:53] local.INFO: TCP Data received {"connection_id":148164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:52:53] local.INFO: Processing buffer {"connection_id":148164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:52:53] local.INFO: Packet analysis {"connection_id":148164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:52:53] local.INFO: Extracted packet for processing {"connection_id":148164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:52:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182978560001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871311000,"timestamp_ms":1785871311000,"timestamp_seconds":1785871311,"priority":1,"record_length":96,"hex_timestamp":"0000019fce39a098"} 
[2026-08-05 00:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182978560001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182978560001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:52:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:52:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182978560001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":148164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:52:53] local.INFO: GPS data processed {"connection_id":148164,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:52:53] local.INFO: Acknowledgment sent {"connection_id":148164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:53:04] local.INFO: TCP Data received {"connection_id":150794,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:53:04] local.INFO: Processing buffer {"connection_id":150794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:53:04] local.INFO: Packet analysis {"connection_id":150794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:53:04] local.INFO: Extracted packet for processing {"connection_id":150794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":31,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182967552001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785871268000,"timestamp_ms":1785871268000,"timestamp_seconds":1785871268,"priority":1,"record_length":96,"hex_timestamp":"0000019fce38f8a0"} 
[2026-08-05 00:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182967552001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182967552001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:53:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182967552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":150794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:53:04] local.INFO: GPS data processed {"connection_id":150794,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:53:04] local.INFO: Acknowledgment sent {"connection_id":150794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:53:16] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:53:16] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:53:16] local.INFO: IMEI packet received {"connection_id":148397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":148397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:53:21] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:53:21] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:53:21] local.INFO: IMEI packet received {"connection_id":148397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":148397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:53:22] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:53:22] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:53:22] local.INFO: Packet analysis {"connection_id":148397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:53:22] local.INFO: Extracted packet for processing {"connection_id":148397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:53:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182978560001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871311000,"timestamp_ms":1785871311000,"timestamp_seconds":1785871311,"priority":1,"record_length":96,"hex_timestamp":"0000019fce39a098"} 
[2026-08-05 00:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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-08-05 00: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-08-05 00:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182978560001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182978560001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:53:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:53:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182978560001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":148397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:53:22] local.INFO: GPS data processed {"connection_id":148397,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:53:22] local.INFO: Acknowledgment sent {"connection_id":148397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:53:32] local.INFO: TCP Data received {"connection_id":148165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:53:32] local.INFO: Processing buffer {"connection_id":148165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:53:32] local.INFO: IMEI packet received {"connection_id":148165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":148165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:53:37] local.INFO: TCP Data received {"connection_id":148165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:53:37] local.INFO: Processing buffer {"connection_id":148165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:53:37] local.INFO: IMEI packet received {"connection_id":148165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":148165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:53:38] local.INFO: TCP Data received {"connection_id":148165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:53:38] local.INFO: Processing buffer {"connection_id":148165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:53:38] local.INFO: Packet analysis {"connection_id":148165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:53:38] local.INFO: Extracted packet for processing {"connection_id":148165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":31,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182967552001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785871268000,"timestamp_ms":1785871268000,"timestamp_seconds":1785871268,"priority":1,"record_length":96,"hex_timestamp":"0000019fce38f8a0"} 
[2026-08-05 00:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182967552001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182967552001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:53:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182967552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":148165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:53:38] local.INFO: GPS data processed {"connection_id":148165,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:53:38] local.INFO: Acknowledgment sent {"connection_id":148165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:53:42] local.INFO: TCP Data received {"connection_id":148165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:53:42] local.INFO: Processing buffer {"connection_id":148165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:53:42] local.INFO: Packet analysis {"connection_id":148165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:53:42] local.INFO: Extracted packet for processing {"connection_id":148165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:53:42] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":31,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182967552001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785871268000,"timestamp_ms":1785871268000,"timestamp_seconds":1785871268,"priority":1,"record_length":96,"hex_timestamp":"0000019fce38f8a0"} 
[2026-08-05 00:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182967552001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182967552001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:53:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182967552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":148165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:53:42] local.INFO: GPS data processed {"connection_id":148165,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:53:42] local.INFO: Acknowledgment sent {"connection_id":148165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:53:53] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:53:53] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:53:53] local.INFO: Packet analysis {"connection_id":148397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:53:53] local.INFO: Extracted packet for processing {"connection_id":148397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:53:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182978560001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871311000,"timestamp_ms":1785871311000,"timestamp_seconds":1785871311,"priority":1,"record_length":96,"hex_timestamp":"0000019fce39a098"} 
[2026-08-05 00:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182978560001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182978560001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:53:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:53:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182978560001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":148397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:53:53] local.INFO: GPS data processed {"connection_id":148397,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:53:53] local.INFO: Acknowledgment sent {"connection_id":148397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:54:16] local.INFO: TCP Data received {"connection_id":150795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:54:16] local.INFO: Processing buffer {"connection_id":150795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:54:16] local.INFO: IMEI packet received {"connection_id":150795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":150795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:54:21] local.INFO: TCP Data received {"connection_id":150795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:54:21] local.INFO: Processing buffer {"connection_id":150795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:54:21] local.INFO: IMEI packet received {"connection_id":150795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":150795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:54:24] local.INFO: TCP Data received {"connection_id":150795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:54:24] local.INFO: Processing buffer {"connection_id":150795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:54:24] local.INFO: Packet analysis {"connection_id":150795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:54:24] local.INFO: Extracted packet for processing {"connection_id":150795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:54:24] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182978560001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785871311000,"timestamp_ms":1785871311000,"timestamp_seconds":1785871311,"priority":1,"record_length":96,"hex_timestamp":"0000019fce39a098"} 
[2026-08-05 00:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182978560001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182978560001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:54:24] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:54:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182978560001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":150795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:54:24] local.INFO: GPS data processed {"connection_id":150795,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:54:24] local.INFO: Acknowledgment sent {"connection_id":150795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:54:27] local.INFO: TCP Data received {"connection_id":150796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:54:27] local.INFO: Processing buffer {"connection_id":150796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:54:27] local.INFO: IMEI packet received {"connection_id":150796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 00:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":150796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:54:32] local.INFO: TCP Data received {"connection_id":150796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:54:32] local.INFO: Processing buffer {"connection_id":150796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 00:54:32] local.INFO: IMEI packet received {"connection_id":150796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 00:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":150796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:54:33] local.INFO: TCP Data received {"connection_id":150796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:54:33] local.INFO: Processing buffer {"connection_id":150796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:54:33] local.INFO: Packet analysis {"connection_id":150796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:54:33] local.INFO: Extracted packet for processing {"connection_id":150796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":31,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182967552001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785871268000,"timestamp_ms":1785871268000,"timestamp_seconds":1785871268,"priority":1,"record_length":96,"hex_timestamp":"0000019fce38f8a0"} 
[2026-08-05 00:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182967552001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182967552001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:54:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182967552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":150796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:54:33] local.INFO: GPS data processed {"connection_id":150796,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:54:33] local.INFO: Acknowledgment sent {"connection_id":150796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:54:56] local.INFO: TCP Data received {"connection_id":150795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:54:56] local.INFO: Processing buffer {"connection_id":150795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:54:56] local.INFO: Packet analysis {"connection_id":150795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:54:56] local.INFO: Extracted packet for processing {"connection_id":150795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:54:56] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182978560001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785871311000,"timestamp_ms":1785871311000,"timestamp_seconds":1785871311,"priority":1,"record_length":96,"hex_timestamp":"0000019fce39a098"} 
[2026-08-05 00:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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-08-05 00: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-08-05 00:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":150795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":150795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":150795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00: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-08-05 00:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182978560001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182978560001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:54:56] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:54:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182978560001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":150795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:54:56] local.INFO: GPS data processed {"connection_id":150795,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:54:56] local.INFO: Acknowledgment sent {"connection_id":150795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:55:04] local.INFO: TCP Data received {"connection_id":150796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:55:04] local.INFO: Processing buffer {"connection_id":150796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce38f8a0012d195fc0071ff2f8003c00631f..."} 
[2026-08-05 00:55:04] local.INFO: Packet analysis {"connection_id":150796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:55:04] local.INFO: Extracted packet for processing {"connection_id":150796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce38"} 
[2026-08-05 00:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119534328,"longitude_deg":75.6637632,"latitude_deg":11.9534328,"altitude":60,"angle":99,"satellites":31,"speed":0,"hex_longitude":"2d195fc0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 00:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182967552001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10893033495068672,"note":"Value kept but may cause issues"} 
[2026-08-05 00:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110569031680,"note":"Value kept but may cause issues"} 
[2026-08-05 00:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785871268000,"timestamp_ms":1785871268000,"timestamp_seconds":1785871268,"priority":1,"record_length":96,"hex_timestamp":"0000019fce38f8a0"} 
[2026-08-05 00:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 00:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 00:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 00:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182967552001,"66":2166,"102":206,"83":41984,"24":0,"16":10893033495068672,"45":1828391110569031680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 00:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 00:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 00:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182967552001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:55:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 00:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 00:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10893033495068672,"km_value":10893033495068.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110569031680,"description":"Unknown IO ID 45"} 
[2026-08-05 00:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182967552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828391110569031680}} 
[2026-08-05 00:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":150796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:55:04] local.INFO: GPS data processed {"connection_id":150796,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:55:04] local.INFO: Acknowledgment sent {"connection_id":150796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:55:16] local.INFO: TCP Data received {"connection_id":148166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:55:16] local.INFO: Processing buffer {"connection_id":148166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:55:16] local.INFO: IMEI packet received {"connection_id":148166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":148166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:55:21] local.INFO: TCP Data received {"connection_id":148166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:55:21] local.INFO: Processing buffer {"connection_id":148166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:55:21] local.INFO: IMEI packet received {"connection_id":148166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":148166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:55:22] local.INFO: TCP Data received {"connection_id":148166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:55:22] local.INFO: Processing buffer {"connection_id":148166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:55:22] local.INFO: Packet analysis {"connection_id":148166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:55:22] local.INFO: Extracted packet for processing {"connection_id":148166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:55:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182978560001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871311000,"timestamp_ms":1785871311000,"timestamp_seconds":1785871311,"priority":1,"record_length":96,"hex_timestamp":"0000019fce39a098"} 
[2026-08-05 00:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:55: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-08-05 00:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182978560001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182978560001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:55:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:55:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182978560001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":148166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:55:22] local.INFO: GPS data processed {"connection_id":148166,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:55:22] local.INFO: Acknowledgment sent {"connection_id":148166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:55:53] local.INFO: TCP Data received {"connection_id":148166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:55:53] local.INFO: Processing buffer {"connection_id":148166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:55:53] local.INFO: Packet analysis {"connection_id":148166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:55:53] local.INFO: Extracted packet for processing {"connection_id":148166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:55:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182978560001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871311000,"timestamp_ms":1785871311000,"timestamp_seconds":1785871311,"priority":1,"record_length":96,"hex_timestamp":"0000019fce39a098"} 
[2026-08-05 00:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182978560001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182978560001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:55:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:55:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182978560001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":148166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:55:53] local.INFO: GPS data processed {"connection_id":148166,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:55:53] local.INFO: Acknowledgment sent {"connection_id":148166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:56:16] local.INFO: TCP Data received {"connection_id":149388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:56:16] local.INFO: Processing buffer {"connection_id":149388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:56:16] local.INFO: IMEI packet received {"connection_id":149388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":149388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:56:21] local.INFO: TCP Data received {"connection_id":149388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:56:21] local.INFO: Processing buffer {"connection_id":149388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:56:21] local.INFO: IMEI packet received {"connection_id":149388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":149388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:56:22] local.INFO: TCP Data received {"connection_id":149388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:56:22] local.INFO: Processing buffer {"connection_id":149388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:56:22] local.INFO: Packet analysis {"connection_id":149388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:56:22] local.INFO: Extracted packet for processing {"connection_id":149388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:56:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182978560001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871311000,"timestamp_ms":1785871311000,"timestamp_seconds":1785871311,"priority":1,"record_length":96,"hex_timestamp":"0000019fce39a098"} 
[2026-08-05 00:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00: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-08-05 00: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-08-05 00:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00: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-08-05 00:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182978560001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182978560001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:56:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:56:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182978560001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":149388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:56:22] local.INFO: GPS data processed {"connection_id":149388,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:56:22] local.INFO: Acknowledgment sent {"connection_id":149388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:56:53] local.INFO: TCP Data received {"connection_id":149388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:56:53] local.INFO: Processing buffer {"connection_id":149388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:56:53] local.INFO: Packet analysis {"connection_id":149388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:56:53] local.INFO: Extracted packet for processing {"connection_id":149388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:56:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182978560001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871311000,"timestamp_ms":1785871311000,"timestamp_seconds":1785871311,"priority":1,"record_length":96,"hex_timestamp":"0000019fce39a098"} 
[2026-08-05 00:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182978560001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182978560001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:56:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:56:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182978560001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":149388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:56:53] local.INFO: GPS data processed {"connection_id":149388,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:56:53] local.INFO: Acknowledgment sent {"connection_id":149388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:57:16] local.INFO: TCP Data received {"connection_id":150797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:57:16] local.INFO: Processing buffer {"connection_id":150797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:57:16] local.INFO: IMEI packet received {"connection_id":150797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":150797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:57:21] local.INFO: TCP Data received {"connection_id":150797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:57:21] local.INFO: Processing buffer {"connection_id":150797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:57:21] local.INFO: IMEI packet received {"connection_id":150797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":150797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:57:22] local.INFO: TCP Data received {"connection_id":150797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:57:22] local.INFO: Processing buffer {"connection_id":150797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce39a098012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 00:57:22] local.INFO: Packet analysis {"connection_id":150797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:57:22] local.INFO: Extracted packet for processing {"connection_id":150797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce39"} 
[2026-08-05 00:57:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457182978560001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871311000,"timestamp_ms":1785871311000,"timestamp_seconds":1785871311,"priority":1,"record_length":96,"hex_timestamp":"0000019fce39a098"} 
[2026-08-05 00:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 00:57: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-08-05 00:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457182978560001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457182978560001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:57:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:57:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457182978560001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":150797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:57:22] local.INFO: GPS data processed {"connection_id":150797,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:57:22] local.INFO: Acknowledgment sent {"connection_id":150797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:57:53] local.INFO: TCP Data received {"connection_id":150797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:57:53] local.INFO: Processing buffer {"connection_id":150797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:57:53] local.INFO: Packet analysis {"connection_id":150797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 00:57:53] local.INFO: Extracted packet for processing {"connection_id":150797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 00:57:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183055616001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871612000,"timestamp_ms":1785871612000,"timestamp_seconds":1785871612,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3e3860"} 
[2026-08-05 00:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183055616001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183055616001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:57:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:57:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183055616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":150797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:57:53] local.INFO: GPS data processed {"connection_id":150797,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:57:53] local.INFO: Acknowledgment sent {"connection_id":150797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:58:16] local.INFO: TCP Data received {"connection_id":149389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:58:16] local.INFO: Processing buffer {"connection_id":149389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:58:16] local.INFO: IMEI packet received {"connection_id":149389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":149389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:58:21] local.INFO: TCP Data received {"connection_id":149389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:58:21] local.INFO: Processing buffer {"connection_id":149389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:58:21] local.INFO: IMEI packet received {"connection_id":149389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":149389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:58:22] local.INFO: TCP Data received {"connection_id":149389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:58:22] local.INFO: Processing buffer {"connection_id":149389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:58:22] local.INFO: Packet analysis {"connection_id":149389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 00:58:22] local.INFO: Extracted packet for processing {"connection_id":149389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 00:58:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183055616001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871612000,"timestamp_ms":1785871612000,"timestamp_seconds":1785871612,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3e3860"} 
[2026-08-05 00:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183055616001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183055616001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:58:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:58:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183055616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":149389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:58:22] local.INFO: GPS data processed {"connection_id":149389,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:58:22] local.INFO: Acknowledgment sent {"connection_id":149389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:58:53] local.INFO: TCP Data received {"connection_id":149389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:58:53] local.INFO: Processing buffer {"connection_id":149389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:58:53] local.INFO: Packet analysis {"connection_id":149389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 00:58:53] local.INFO: Extracted packet for processing {"connection_id":149389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 00:58:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183055616001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871612000,"timestamp_ms":1785871612000,"timestamp_seconds":1785871612,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3e3860"} 
[2026-08-05 00:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183055616001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183055616001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:58:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:58:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183055616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":149389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:58:53] local.INFO: GPS data processed {"connection_id":149389,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:58:53] local.INFO: Acknowledgment sent {"connection_id":149389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:59:21] local.INFO: TCP Data received {"connection_id":148167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:59:21] local.INFO: Processing buffer {"connection_id":148167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:59:21] local.INFO: IMEI packet received {"connection_id":148167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 00:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":148167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 00:59:26] local.INFO: TCP Data received {"connection_id":148167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:59:26] local.INFO: Processing buffer {"connection_id":148167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 00:59:26] local.INFO: IMEI packet received {"connection_id":148167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 00:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":148167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 00:59:27] local.INFO: TCP Data received {"connection_id":148167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:59:27] local.INFO: Processing buffer {"connection_id":148167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:59:27] local.INFO: Packet analysis {"connection_id":148167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 00:59:27] local.INFO: Extracted packet for processing {"connection_id":148167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 00:59:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183055616001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785871612000,"timestamp_ms":1785871612000,"timestamp_seconds":1785871612,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3e3860"} 
[2026-08-05 00:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183055616001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183055616001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:59:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:59:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183055616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":148167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:59:27] local.INFO: GPS data processed {"connection_id":148167,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:59:27] local.INFO: Acknowledgment sent {"connection_id":148167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 00:59:34] local.INFO: TCP Data received {"connection_id":148167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:59:34] local.INFO: Processing buffer {"connection_id":148167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 00:59:34] local.INFO: Packet analysis {"connection_id":148167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 00:59:34] local.INFO: Extracted packet for processing {"connection_id":148167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 00:59:34] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 00:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 00:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183055616001,"note":"Value kept but may cause issues"} 
[2026-08-05 00:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 00:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 00:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 00:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785871612000,"timestamp_ms":1785871612000,"timestamp_seconds":1785871612,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3e3860"} 
[2026-08-05 00:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 00:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 00:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 00:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 00:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 00:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 00:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 00:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 00:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 00:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 00:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 00:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 00:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183055616001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 00:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 00:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 00:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183055616001,"description":"Unknown IO ID 0"} 
[2026-08-05 00:59:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 00:59:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 00:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 00:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 00:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183055616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 00:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":148167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 00:59:34] local.INFO: GPS data processed {"connection_id":148167,"processed":1,"errors":0,"total":1} 
[2026-08-05 00:59:34] local.INFO: Acknowledgment sent {"connection_id":148167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:00:16] local.INFO: TCP Data received {"connection_id":148398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:00:16] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:00:16] local.INFO: IMEI packet received {"connection_id":148398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":148398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:00:21] local.INFO: TCP Data received {"connection_id":148398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:00:21] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:00:21] local.INFO: IMEI packet received {"connection_id":148398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":148398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:00:22] local.INFO: TCP Data received {"connection_id":148398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:00:22] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:00:22] local.INFO: Packet analysis {"connection_id":148398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 01:00:22] local.INFO: Extracted packet for processing {"connection_id":148398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 01:00:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183055616001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871612000,"timestamp_ms":1785871612000,"timestamp_seconds":1785871612,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3e3860"} 
[2026-08-05 01:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183055616001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183055616001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:00:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:00:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183055616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":148398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:00:22] local.INFO: GPS data processed {"connection_id":148398,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:00:22] local.INFO: Acknowledgment sent {"connection_id":148398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:00:53] local.INFO: TCP Data received {"connection_id":148398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:00:53] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:00:53] local.INFO: Packet analysis {"connection_id":148398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 01:00:53] local.INFO: Extracted packet for processing {"connection_id":148398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 01:00:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183055616001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871612000,"timestamp_ms":1785871612000,"timestamp_seconds":1785871612,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3e3860"} 
[2026-08-05 01:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183055616001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183055616001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:00:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:00:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183055616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":148398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:00:53] local.INFO: GPS data processed {"connection_id":148398,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:00:53] local.INFO: Acknowledgment sent {"connection_id":148398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:01:16] local.INFO: TCP Data received {"connection_id":150798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:01:16] local.INFO: Processing buffer {"connection_id":150798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:01:16] local.INFO: IMEI packet received {"connection_id":150798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":150798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:01:21] local.INFO: TCP Data received {"connection_id":150798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:01:21] local.INFO: Processing buffer {"connection_id":150798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:01:21] local.INFO: IMEI packet received {"connection_id":150798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":150798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:01:24] local.INFO: TCP Data received {"connection_id":150798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:01:24] local.INFO: Processing buffer {"connection_id":150798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:01:24] local.INFO: Packet analysis {"connection_id":150798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 01:01:24] local.INFO: Extracted packet for processing {"connection_id":150798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 01:01:24] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183055616001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785871612000,"timestamp_ms":1785871612000,"timestamp_seconds":1785871612,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3e3860"} 
[2026-08-05 01:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183055616001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183055616001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:01:24] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:01:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183055616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":150798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:01:24] local.INFO: GPS data processed {"connection_id":150798,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:01:24] local.INFO: Acknowledgment sent {"connection_id":150798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:01:55] local.INFO: TCP Data received {"connection_id":150798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:01:55] local.INFO: Processing buffer {"connection_id":150798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:01:55] local.INFO: Packet analysis {"connection_id":150798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 01:01:55] local.INFO: Extracted packet for processing {"connection_id":150798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 01:01:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183055616001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785871612000,"timestamp_ms":1785871612000,"timestamp_seconds":1785871612,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3e3860"} 
[2026-08-05 01:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:01: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-08-05 01:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183055616001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183055616001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:01:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:01:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183055616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":150798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:01:55] local.INFO: GPS data processed {"connection_id":150798,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:01:55] local.INFO: Acknowledgment sent {"connection_id":150798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:02:16] local.INFO: TCP Data received {"connection_id":148399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:02:16] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:02:16] local.INFO: IMEI packet received {"connection_id":148399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":148399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:02:21] local.INFO: TCP Data received {"connection_id":148399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:02:21] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:02:21] local.INFO: IMEI packet received {"connection_id":148399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":148399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:02:22] local.INFO: TCP Data received {"connection_id":148399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:02:22] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce3e3860012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:02:22] local.INFO: Packet analysis {"connection_id":148399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 01:02:22] local.INFO: Extracted packet for processing {"connection_id":148399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce3e"} 
[2026-08-05 01:02:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183055616001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871612000,"timestamp_ms":1785871612000,"timestamp_seconds":1785871612,"priority":1,"record_length":96,"hex_timestamp":"0000019fce3e3860"} 
[2026-08-05 01:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01: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-08-05 01:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183055616001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183055616001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:02:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:02:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183055616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":148399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:02:22] local.INFO: GPS data processed {"connection_id":148399,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:02:22] local.INFO: Acknowledgment sent {"connection_id":148399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:02:53] local.INFO: TCP Data received {"connection_id":148399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:02:53] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:02:53] local.INFO: Packet analysis {"connection_id":148399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:02:53] local.INFO: Extracted packet for processing {"connection_id":148399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:02:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183132672001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871913000,"timestamp_ms":1785871913000,"timestamp_seconds":1785871913,"priority":1,"record_length":96,"hex_timestamp":"0000019fce42d028"} 
[2026-08-05 01:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183132672001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183132672001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:02:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:02:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183132672001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":148399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:02:53] local.INFO: GPS data processed {"connection_id":148399,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:02:53] local.INFO: Acknowledgment sent {"connection_id":148399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:03:16] local.INFO: TCP Data received {"connection_id":148168,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:03:16] local.INFO: Processing buffer {"connection_id":148168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:03:16] local.INFO: IMEI packet received {"connection_id":148168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":148168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:03:21] local.INFO: TCP Data received {"connection_id":148168,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:03:21] local.INFO: Processing buffer {"connection_id":148168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:03:21] local.INFO: IMEI packet received {"connection_id":148168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":148168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:03:22] local.INFO: TCP Data received {"connection_id":148168,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:03:22] local.INFO: Processing buffer {"connection_id":148168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:03:22] local.INFO: Packet analysis {"connection_id":148168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:03:22] local.INFO: Extracted packet for processing {"connection_id":148168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:03:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183132672001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871913000,"timestamp_ms":1785871913000,"timestamp_seconds":1785871913,"priority":1,"record_length":96,"hex_timestamp":"0000019fce42d028"} 
[2026-08-05 01:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:03: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-08-05 01:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01: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-08-05 01:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183132672001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183132672001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:03:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:03:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183132672001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":148168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:03:22] local.INFO: GPS data processed {"connection_id":148168,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:03:22] local.INFO: Acknowledgment sent {"connection_id":148168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:03:53] local.INFO: TCP Data received {"connection_id":148168,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:03:53] local.INFO: Processing buffer {"connection_id":148168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:03:53] local.INFO: Packet analysis {"connection_id":148168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:03:53] local.INFO: Extracted packet for processing {"connection_id":148168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:03:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183132672001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871913000,"timestamp_ms":1785871913000,"timestamp_seconds":1785871913,"priority":1,"record_length":96,"hex_timestamp":"0000019fce42d028"} 
[2026-08-05 01:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01: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-08-05 01:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183132672001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183132672001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:03:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:03:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183132672001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":148168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:03:53] local.INFO: GPS data processed {"connection_id":148168,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:03:53] local.INFO: Acknowledgment sent {"connection_id":148168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:04:16] local.INFO: TCP Data received {"connection_id":150799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:04:16] local.INFO: Processing buffer {"connection_id":150799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:04:16] local.INFO: IMEI packet received {"connection_id":150799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":150799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:04:21] local.INFO: TCP Data received {"connection_id":150799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:04:21] local.INFO: Processing buffer {"connection_id":150799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:04:21] local.INFO: IMEI packet received {"connection_id":150799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":150799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:04:22] local.INFO: TCP Data received {"connection_id":150799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:04:22] local.INFO: Processing buffer {"connection_id":150799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:04:22] local.INFO: Packet analysis {"connection_id":150799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:04:22] local.INFO: Extracted packet for processing {"connection_id":150799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:04:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183132672001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871913000,"timestamp_ms":1785871913000,"timestamp_seconds":1785871913,"priority":1,"record_length":96,"hex_timestamp":"0000019fce42d028"} 
[2026-08-05 01:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:04: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-08-05 01:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183132672001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183132672001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:04:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:04:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183132672001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":150799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:04:22] local.INFO: GPS data processed {"connection_id":150799,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:04:22] local.INFO: Acknowledgment sent {"connection_id":150799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:04:53] local.INFO: TCP Data received {"connection_id":150799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:04:53] local.INFO: Processing buffer {"connection_id":150799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:04:53] local.INFO: Packet analysis {"connection_id":150799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:04:53] local.INFO: Extracted packet for processing {"connection_id":150799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:04:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183132672001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871913000,"timestamp_ms":1785871913000,"timestamp_seconds":1785871913,"priority":1,"record_length":96,"hex_timestamp":"0000019fce42d028"} 
[2026-08-05 01:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183132672001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183132672001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:04:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:04:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183132672001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":150799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:04:53] local.INFO: GPS data processed {"connection_id":150799,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:04:53] local.INFO: Acknowledgment sent {"connection_id":150799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:05:16] local.INFO: TCP Data received {"connection_id":149390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:05:16] local.INFO: Processing buffer {"connection_id":149390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:05:16] local.INFO: IMEI packet received {"connection_id":149390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":149390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:05:21] local.INFO: TCP Data received {"connection_id":149390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:05:21] local.INFO: Processing buffer {"connection_id":149390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:05:21] local.INFO: IMEI packet received {"connection_id":149390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":149390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:05:22] local.INFO: TCP Data received {"connection_id":149390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:05:22] local.INFO: Processing buffer {"connection_id":149390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:05:22] local.INFO: Packet analysis {"connection_id":149390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:05:22] local.INFO: Extracted packet for processing {"connection_id":149390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:05:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183132672001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871913000,"timestamp_ms":1785871913000,"timestamp_seconds":1785871913,"priority":1,"record_length":96,"hex_timestamp":"0000019fce42d028"} 
[2026-08-05 01:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:05: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-08-05 01:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183132672001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183132672001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:05:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:05:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183132672001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":149390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:05:22] local.INFO: GPS data processed {"connection_id":149390,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:05:22] local.INFO: Acknowledgment sent {"connection_id":149390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:05:53] local.INFO: TCP Data received {"connection_id":149390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:05:53] local.INFO: Processing buffer {"connection_id":149390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:05:53] local.INFO: Packet analysis {"connection_id":149390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:05:53] local.INFO: Extracted packet for processing {"connection_id":149390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:05:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183132672001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785871913000,"timestamp_ms":1785871913000,"timestamp_seconds":1785871913,"priority":1,"record_length":96,"hex_timestamp":"0000019fce42d028"} 
[2026-08-05 01:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183132672001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183132672001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:05:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:05:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183132672001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":149390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:05:53] local.INFO: GPS data processed {"connection_id":149390,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:05:53] local.INFO: Acknowledgment sent {"connection_id":149390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:06:21] local.INFO: TCP Data received {"connection_id":149391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:06:21] local.INFO: Processing buffer {"connection_id":149391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:06:21] local.INFO: IMEI packet received {"connection_id":149391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":149391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:06:26] local.INFO: TCP Data received {"connection_id":149391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:06:26] local.INFO: Processing buffer {"connection_id":149391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:06:26] local.INFO: IMEI packet received {"connection_id":149391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":149391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:06:27] local.INFO: TCP Data received {"connection_id":149391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:06:27] local.INFO: Processing buffer {"connection_id":149391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:06:27] local.INFO: Packet analysis {"connection_id":149391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:06:27] local.INFO: Extracted packet for processing {"connection_id":149391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:06:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183132672001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785871913000,"timestamp_ms":1785871913000,"timestamp_seconds":1785871913,"priority":1,"record_length":96,"hex_timestamp":"0000019fce42d028"} 
[2026-08-05 01:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183132672001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183132672001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:06:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:06:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183132672001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":149391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:06:27] local.INFO: GPS data processed {"connection_id":149391,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:06:27] local.INFO: Acknowledgment sent {"connection_id":149391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:06:32] local.INFO: TCP Data received {"connection_id":149391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:06:32] local.INFO: Processing buffer {"connection_id":149391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:06:32] local.INFO: Packet analysis {"connection_id":149391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:06:32] local.INFO: Extracted packet for processing {"connection_id":149391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:06:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183132672001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785871913000,"timestamp_ms":1785871913000,"timestamp_seconds":1785871913,"priority":1,"record_length":96,"hex_timestamp":"0000019fce42d028"} 
[2026-08-05 01:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183132672001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183132672001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:06:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:06:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183132672001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":149391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:06:32] local.INFO: GPS data processed {"connection_id":149391,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:06:32] local.INFO: Acknowledgment sent {"connection_id":149391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:07:16] local.INFO: TCP Data received {"connection_id":148169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:07:16] local.INFO: Processing buffer {"connection_id":148169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:07:16] local.INFO: IMEI packet received {"connection_id":148169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":148169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:07:21] local.INFO: TCP Data received {"connection_id":148169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:07:21] local.INFO: Processing buffer {"connection_id":148169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:07:21] local.INFO: IMEI packet received {"connection_id":148169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":148169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:07:22] local.INFO: TCP Data received {"connection_id":148169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:07:22] local.INFO: Processing buffer {"connection_id":148169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce42d028012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:07:22] local.INFO: Packet analysis {"connection_id":148169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:07:22] local.INFO: Extracted packet for processing {"connection_id":148169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce42"} 
[2026-08-05 01:07:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183132672001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785871913000,"timestamp_ms":1785871913000,"timestamp_seconds":1785871913,"priority":1,"record_length":96,"hex_timestamp":"0000019fce42d028"} 
[2026-08-05 01:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:07: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-08-05 01:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183132672001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183132672001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:07:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:07:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183132672001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":148169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:07:22] local.INFO: GPS data processed {"connection_id":148169,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:07:22] local.INFO: Acknowledgment sent {"connection_id":148169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:07:53] local.INFO: TCP Data received {"connection_id":148169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:07:53] local.INFO: Processing buffer {"connection_id":148169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:07:53] local.INFO: Packet analysis {"connection_id":148169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:07:53] local.INFO: Extracted packet for processing {"connection_id":148169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:07:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183209728001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785872214000,"timestamp_ms":1785872214000,"timestamp_seconds":1785872214,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4767f0"} 
[2026-08-05 01:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183209728001,"66":25212,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183209728001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:07:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:07:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183209728001,"power":25212,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":148169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:07:53] local.INFO: GPS data processed {"connection_id":148169,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:07:53] local.INFO: Acknowledgment sent {"connection_id":148169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:08:16] local.INFO: TCP Data received {"connection_id":149392,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:08:16] local.INFO: Processing buffer {"connection_id":149392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:08:16] local.INFO: IMEI packet received {"connection_id":149392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":149392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:08:21] local.INFO: TCP Data received {"connection_id":149392,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:08:21] local.INFO: Processing buffer {"connection_id":149392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:08:21] local.INFO: IMEI packet received {"connection_id":149392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":149392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:08:22] local.INFO: TCP Data received {"connection_id":149392,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:08:22] local.INFO: Processing buffer {"connection_id":149392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:08:22] local.INFO: Packet analysis {"connection_id":149392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:08:22] local.INFO: Extracted packet for processing {"connection_id":149392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:08:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183209728001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872214000,"timestamp_ms":1785872214000,"timestamp_seconds":1785872214,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4767f0"} 
[2026-08-05 01:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:08: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-08-05 01:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183209728001,"66":25212,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183209728001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:08:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:08:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183209728001,"power":25212,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":149392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:08:22] local.INFO: GPS data processed {"connection_id":149392,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:08:22] local.INFO: Acknowledgment sent {"connection_id":149392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:08:53] local.INFO: TCP Data received {"connection_id":149392,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:08:53] local.INFO: Processing buffer {"connection_id":149392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:08:53] local.INFO: Packet analysis {"connection_id":149392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:08:53] local.INFO: Extracted packet for processing {"connection_id":149392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:08:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183209728001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785872214000,"timestamp_ms":1785872214000,"timestamp_seconds":1785872214,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4767f0"} 
[2026-08-05 01:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183209728001,"66":25212,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183209728001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:08:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:08:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183209728001,"power":25212,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":149392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:08:53] local.INFO: GPS data processed {"connection_id":149392,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:08:53] local.INFO: Acknowledgment sent {"connection_id":149392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:09:16] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:09:16] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:09:16] local.INFO: IMEI packet received {"connection_id":148400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":148400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:09:21] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:09:21] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:09:21] local.INFO: IMEI packet received {"connection_id":148400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":148400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:09:22] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:09:22] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:09:22] local.INFO: Packet analysis {"connection_id":148400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:09:22] local.INFO: Extracted packet for processing {"connection_id":148400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:09:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183209728001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872214000,"timestamp_ms":1785872214000,"timestamp_seconds":1785872214,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4767f0"} 
[2026-08-05 01:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:09: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-08-05 01:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183209728001,"66":25212,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183209728001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:09:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:09:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183209728001,"power":25212,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":148400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:09:22] local.INFO: GPS data processed {"connection_id":148400,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:09:22] local.INFO: Acknowledgment sent {"connection_id":148400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:09:53] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:09:53] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:09:53] local.INFO: Packet analysis {"connection_id":148400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:09:53] local.INFO: Extracted packet for processing {"connection_id":148400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:09:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183209728001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785872214000,"timestamp_ms":1785872214000,"timestamp_seconds":1785872214,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4767f0"} 
[2026-08-05 01:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183209728001,"66":25212,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183209728001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:09:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:09:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183209728001,"power":25212,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":148400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:09:53] local.INFO: GPS data processed {"connection_id":148400,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:09:53] local.INFO: Acknowledgment sent {"connection_id":148400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:10:21] local.INFO: TCP Data received {"connection_id":148401,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:10:21] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:10:21] local.INFO: IMEI packet received {"connection_id":148401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":148401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:10:26] local.INFO: TCP Data received {"connection_id":148401,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:10:26] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:10:26] local.INFO: IMEI packet received {"connection_id":148401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":148401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:10:27] local.INFO: TCP Data received {"connection_id":148401,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:10:27] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:10:27] local.INFO: Packet analysis {"connection_id":148401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:10:27] local.INFO: Extracted packet for processing {"connection_id":148401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:10:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01: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-08-05 01:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183209728001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785872214000,"timestamp_ms":1785872214000,"timestamp_seconds":1785872214,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4767f0"} 
[2026-08-05 01:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183209728001,"66":25212,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183209728001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:10:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:10:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183209728001,"power":25212,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":148401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:10:27] local.INFO: GPS data processed {"connection_id":148401,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:10:27] local.INFO: Acknowledgment sent {"connection_id":148401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:10:32] local.INFO: TCP Data received {"connection_id":148401,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:10:32] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:10:32] local.INFO: Packet analysis {"connection_id":148401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:10:32] local.INFO: Extracted packet for processing {"connection_id":148401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:10:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183209728001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785872214000,"timestamp_ms":1785872214000,"timestamp_seconds":1785872214,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4767f0"} 
[2026-08-05 01:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183209728001,"66":25212,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183209728001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:10:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:10:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183209728001,"power":25212,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":148401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:10:32] local.INFO: GPS data processed {"connection_id":148401,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:10:32] local.INFO: Acknowledgment sent {"connection_id":148401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:11:16] local.INFO: TCP Data received {"connection_id":148402,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:11:16] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:11:16] local.INFO: IMEI packet received {"connection_id":148402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":148402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:11:21] local.INFO: TCP Data received {"connection_id":148402,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:11:21] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:11:21] local.INFO: IMEI packet received {"connection_id":148402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":148402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:11:22] local.INFO: TCP Data received {"connection_id":148402,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:11:22] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:11:22] local.INFO: Packet analysis {"connection_id":148402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:11:22] local.INFO: Extracted packet for processing {"connection_id":148402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:11:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183209728001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872214000,"timestamp_ms":1785872214000,"timestamp_seconds":1785872214,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4767f0"} 
[2026-08-05 01:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:11: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-08-05 01:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183209728001,"66":25212,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183209728001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:11:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:11:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183209728001,"power":25212,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":148402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:11:22] local.INFO: GPS data processed {"connection_id":148402,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:11:22] local.INFO: Acknowledgment sent {"connection_id":148402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:11:53] local.INFO: TCP Data received {"connection_id":148402,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:11:53] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:11:53] local.INFO: Packet analysis {"connection_id":148402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:11:53] local.INFO: Extracted packet for processing {"connection_id":148402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:11:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183209728001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785872214000,"timestamp_ms":1785872214000,"timestamp_seconds":1785872214,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4767f0"} 
[2026-08-05 01:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183209728001,"66":25212,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183209728001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:11:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:11:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183209728001,"power":25212,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":148402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:11:53] local.INFO: GPS data processed {"connection_id":148402,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:11:53] local.INFO: Acknowledgment sent {"connection_id":148402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:12:16] local.INFO: TCP Data received {"connection_id":148170,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:12:16] local.INFO: Processing buffer {"connection_id":148170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:12:16] local.INFO: IMEI packet received {"connection_id":148170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":148170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:12:21] local.INFO: TCP Data received {"connection_id":148170,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:12:21] local.INFO: Processing buffer {"connection_id":148170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:12:21] local.INFO: IMEI packet received {"connection_id":148170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":148170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:12:22] local.INFO: TCP Data received {"connection_id":148170,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:12:22] local.INFO: Processing buffer {"connection_id":148170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4767f0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:12:22] local.INFO: Packet analysis {"connection_id":148170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:12:22] local.INFO: Extracted packet for processing {"connection_id":148170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce47"} 
[2026-08-05 01:12:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183209728001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872214000,"timestamp_ms":1785872214000,"timestamp_seconds":1785872214,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4767f0"} 
[2026-08-05 01:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:12: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-08-05 01:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183209728001,"66":25212,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183209728001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:12:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:12:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183209728001,"power":25212,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":148170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:12:22] local.INFO: GPS data processed {"connection_id":148170,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:12:22] local.INFO: Acknowledgment sent {"connection_id":148170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:12:53] local.INFO: TCP Data received {"connection_id":148170,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:12:53] local.INFO: Processing buffer {"connection_id":148170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:12:53] local.INFO: Packet analysis {"connection_id":148170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:12:53] local.INFO: Extracted packet for processing {"connection_id":148170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:12:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183286784001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785872515000,"timestamp_ms":1785872515000,"timestamp_seconds":1785872515,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4bffb8"} 
[2026-08-05 01:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 01:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183286784001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183286784001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:12:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:12:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183286784001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":148170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:12:53] local.INFO: GPS data processed {"connection_id":148170,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:12:53] local.INFO: Acknowledgment sent {"connection_id":148170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:13:16] local.INFO: TCP Data received {"connection_id":150800,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:13:16] local.INFO: Processing buffer {"connection_id":150800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:13:16] local.INFO: IMEI packet received {"connection_id":150800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":150800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:13:21] local.INFO: TCP Data received {"connection_id":150800,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:13:21] local.INFO: Processing buffer {"connection_id":150800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:13:21] local.INFO: IMEI packet received {"connection_id":150800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":150800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:13:22] local.INFO: TCP Data received {"connection_id":150800,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:13:22] local.INFO: Processing buffer {"connection_id":150800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:13:22] local.INFO: Packet analysis {"connection_id":150800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:13:22] local.INFO: Extracted packet for processing {"connection_id":150800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:13:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183286784001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872515000,"timestamp_ms":1785872515000,"timestamp_seconds":1785872515,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4bffb8"} 
[2026-08-05 01:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 01:13: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-08-05 01:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183286784001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183286784001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:13:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:13:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183286784001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":150800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:13:22] local.INFO: GPS data processed {"connection_id":150800,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:13:22] local.INFO: Acknowledgment sent {"connection_id":150800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:13:56] local.INFO: TCP Data received {"connection_id":150800,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:13:56] local.INFO: Processing buffer {"connection_id":150800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:13:56] local.INFO: Packet analysis {"connection_id":150800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:13:56] local.INFO: Extracted packet for processing {"connection_id":150800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:13:56] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183286784001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785872515000,"timestamp_ms":1785872515000,"timestamp_seconds":1785872515,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4bffb8"} 
[2026-08-05 01:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 01:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":150800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":150800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":150800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183286784001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183286784001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:13:56] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:13:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183286784001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":150800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:13:56] local.INFO: GPS data processed {"connection_id":150800,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:13:56] local.INFO: Acknowledgment sent {"connection_id":150800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:14:21] local.INFO: TCP Data received {"connection_id":149393,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:14:21] local.INFO: Processing buffer {"connection_id":149393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:14:21] local.INFO: IMEI packet received {"connection_id":149393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":149393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:14:26] local.INFO: TCP Data received {"connection_id":149393,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:14:26] local.INFO: Processing buffer {"connection_id":149393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:14:26] local.INFO: IMEI packet received {"connection_id":149393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":149393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:14:27] local.INFO: TCP Data received {"connection_id":149393,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:14:27] local.INFO: Processing buffer {"connection_id":149393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:14:27] local.INFO: Packet analysis {"connection_id":149393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:14:27] local.INFO: Extracted packet for processing {"connection_id":149393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:14:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183286784001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785872515000,"timestamp_ms":1785872515000,"timestamp_seconds":1785872515,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4bffb8"} 
[2026-08-05 01:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 01:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183286784001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183286784001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:14:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:14:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183286784001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":149393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:14:27] local.INFO: GPS data processed {"connection_id":149393,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:14:27] local.INFO: Acknowledgment sent {"connection_id":149393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:14:32] local.INFO: TCP Data received {"connection_id":149393,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:14:32] local.INFO: Processing buffer {"connection_id":149393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:14:32] local.INFO: Packet analysis {"connection_id":149393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:14:32] local.INFO: Extracted packet for processing {"connection_id":149393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:14:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183286784001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785872515000,"timestamp_ms":1785872515000,"timestamp_seconds":1785872515,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4bffb8"} 
[2026-08-05 01:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 01:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183286784001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183286784001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:14:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:14:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183286784001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":149393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:14:32] local.INFO: GPS data processed {"connection_id":149393,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:14:32] local.INFO: Acknowledgment sent {"connection_id":149393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:15:16] local.INFO: TCP Data received {"connection_id":149394,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:15:16] local.INFO: Processing buffer {"connection_id":149394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:15:16] local.INFO: IMEI packet received {"connection_id":149394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":149394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:15:21] local.INFO: TCP Data received {"connection_id":149394,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:15:21] local.INFO: Processing buffer {"connection_id":149394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:15:21] local.INFO: IMEI packet received {"connection_id":149394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":149394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:15:22] local.INFO: TCP Data received {"connection_id":149394,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:15:22] local.INFO: Processing buffer {"connection_id":149394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:15:22] local.INFO: Packet analysis {"connection_id":149394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:15:22] local.INFO: Extracted packet for processing {"connection_id":149394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:15:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183286784001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872515000,"timestamp_ms":1785872515000,"timestamp_seconds":1785872515,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4bffb8"} 
[2026-08-05 01:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 01:15: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-08-05 01:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183286784001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183286784001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:15:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:15:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183286784001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":149394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:15:22] local.INFO: GPS data processed {"connection_id":149394,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:15:22] local.INFO: Acknowledgment sent {"connection_id":149394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:16:16] local.INFO: TCP Data received {"connection_id":150801,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:16:16] local.INFO: Processing buffer {"connection_id":150801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:16:16] local.INFO: IMEI packet received {"connection_id":150801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":150801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:16:21] local.INFO: TCP Data received {"connection_id":149394,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:16:21] local.INFO: Processing buffer {"connection_id":149394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:16:21] local.INFO: Packet analysis {"connection_id":149394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:16:21] local.INFO: Extracted packet for processing {"connection_id":149394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:16:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183286784001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785872515000,"timestamp_ms":1785872515000,"timestamp_seconds":1785872515,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4bffb8"} 
[2026-08-05 01:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:16: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-08-05 01:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 01:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183286784001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183286784001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:16:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:16:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183286784001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":149394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:16:21] local.INFO: GPS data processed {"connection_id":149394,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:16:21] local.INFO: Acknowledgment sent {"connection_id":149394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:16:21] local.INFO: TCP Data received {"connection_id":150801,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:16:21] local.INFO: Processing buffer {"connection_id":150801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:16:21] local.INFO: IMEI packet received {"connection_id":150801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":150801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:16:22] local.INFO: TCP Data received {"connection_id":150801,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:16:22] local.INFO: Processing buffer {"connection_id":150801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:16:22] local.INFO: Packet analysis {"connection_id":150801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:16:22] local.INFO: Extracted packet for processing {"connection_id":150801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:16:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183286784001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872515000,"timestamp_ms":1785872515000,"timestamp_seconds":1785872515,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4bffb8"} 
[2026-08-05 01:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 01:16: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-08-05 01:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183286784001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183286784001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:16:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:16:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183286784001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":150801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:16:22] local.INFO: GPS data processed {"connection_id":150801,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:16:22] local.INFO: Acknowledgment sent {"connection_id":150801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:16:53] local.INFO: TCP Data received {"connection_id":150801,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:16:53] local.INFO: Processing buffer {"connection_id":150801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:16:53] local.INFO: Packet analysis {"connection_id":150801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:16:53] local.INFO: Extracted packet for processing {"connection_id":150801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:16:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183286784001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785872515000,"timestamp_ms":1785872515000,"timestamp_seconds":1785872515,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4bffb8"} 
[2026-08-05 01:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 01:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183286784001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183286784001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:16:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:16:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183286784001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":150801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:16:53] local.INFO: GPS data processed {"connection_id":150801,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:16:53] local.INFO: Acknowledgment sent {"connection_id":150801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:17:16] local.INFO: TCP Data received {"connection_id":149395,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:17:16] local.INFO: Processing buffer {"connection_id":149395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:17:16] local.INFO: IMEI packet received {"connection_id":149395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":149395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:17:21] local.INFO: TCP Data received {"connection_id":149395,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:17:21] local.INFO: Processing buffer {"connection_id":149395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:17:21] local.INFO: IMEI packet received {"connection_id":149395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":149395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:17:22] local.INFO: TCP Data received {"connection_id":149395,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:17:22] local.INFO: Processing buffer {"connection_id":149395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce4bffb8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:17:22] local.INFO: Packet analysis {"connection_id":149395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:17:22] local.INFO: Extracted packet for processing {"connection_id":149395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce4b"} 
[2026-08-05 01:17:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183286784001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872515000,"timestamp_ms":1785872515000,"timestamp_seconds":1785872515,"priority":1,"record_length":96,"hex_timestamp":"0000019fce4bffb8"} 
[2026-08-05 01:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01: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-08-05 01: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":124,"data_length":795,"current_offset":136} 
[2026-08-05 01:17: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-08-05 01:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183286784001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183286784001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:17:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:17:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183286784001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":149395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:17:22] local.INFO: GPS data processed {"connection_id":149395,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:17:22] local.INFO: Acknowledgment sent {"connection_id":149395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:17:53] local.INFO: TCP Data received {"connection_id":149395,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:17:53] local.INFO: Processing buffer {"connection_id":149395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:17:53] local.INFO: Packet analysis {"connection_id":149395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:17:53] local.INFO: Extracted packet for processing {"connection_id":149395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:17:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183363840001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785872816000,"timestamp_ms":1785872816000,"timestamp_seconds":1785872816,"priority":1,"record_length":96,"hex_timestamp":"0000019fce509780"} 
[2026-08-05 01:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183363840001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183363840001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:17:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:17:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183363840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":149395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:17:53] local.INFO: GPS data processed {"connection_id":149395,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:17:53] local.INFO: Acknowledgment sent {"connection_id":149395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:18:16] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:18:16] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:18:16] local.INFO: IMEI packet received {"connection_id":148403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":148403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:18:21] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:18:21] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:18:21] local.INFO: IMEI packet received {"connection_id":148403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":148403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:18:22] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:18:22] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:18:22] local.INFO: Packet analysis {"connection_id":148403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:18:22] local.INFO: Extracted packet for processing {"connection_id":148403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:18:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183363840001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872816000,"timestamp_ms":1785872816000,"timestamp_seconds":1785872816,"priority":1,"record_length":96,"hex_timestamp":"0000019fce509780"} 
[2026-08-05 01:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:18: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-08-05 01:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183363840001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183363840001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:18:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:18:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183363840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":148403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:18:22] local.INFO: GPS data processed {"connection_id":148403,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:18:22] local.INFO: Acknowledgment sent {"connection_id":148403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:18:53] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:18:53] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:18:53] local.INFO: Packet analysis {"connection_id":148403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:18:53] local.INFO: Extracted packet for processing {"connection_id":148403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:18:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183363840001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785872816000,"timestamp_ms":1785872816000,"timestamp_seconds":1785872816,"priority":1,"record_length":96,"hex_timestamp":"0000019fce509780"} 
[2026-08-05 01:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183363840001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183363840001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:18:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:18:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183363840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":148403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:18:53] local.INFO: GPS data processed {"connection_id":148403,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:18:53] local.INFO: Acknowledgment sent {"connection_id":148403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:19:21] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:19:21] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:19:21] local.INFO: IMEI packet received {"connection_id":148404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":148404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:19:26] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:19:26] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:19:26] local.INFO: IMEI packet received {"connection_id":148404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":148404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:19:27] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:19:27] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:19:27] local.INFO: Packet analysis {"connection_id":148404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:19:27] local.INFO: Extracted packet for processing {"connection_id":148404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:19:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183363840001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785872816000,"timestamp_ms":1785872816000,"timestamp_seconds":1785872816,"priority":1,"record_length":96,"hex_timestamp":"0000019fce509780"} 
[2026-08-05 01:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183363840001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183363840001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:19:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:19:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183363840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":148404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:19:27] local.INFO: GPS data processed {"connection_id":148404,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:19:27] local.INFO: Acknowledgment sent {"connection_id":148404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:19:32] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:19:32] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:19:32] local.INFO: Packet analysis {"connection_id":148404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:19:32] local.INFO: Extracted packet for processing {"connection_id":148404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:19:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183363840001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785872816000,"timestamp_ms":1785872816000,"timestamp_seconds":1785872816,"priority":1,"record_length":96,"hex_timestamp":"0000019fce509780"} 
[2026-08-05 01:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183363840001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183363840001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:19:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:19:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183363840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":148404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:19:32] local.INFO: GPS data processed {"connection_id":148404,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:19:32] local.INFO: Acknowledgment sent {"connection_id":148404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:20:16] local.INFO: TCP Data received {"connection_id":150802,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:20:16] local.INFO: Processing buffer {"connection_id":150802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:20:16] local.INFO: IMEI packet received {"connection_id":150802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":150802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:20:21] local.INFO: TCP Data received {"connection_id":150802,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:20:21] local.INFO: Processing buffer {"connection_id":150802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:20:21] local.INFO: IMEI packet received {"connection_id":150802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":150802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:20:22] local.INFO: TCP Data received {"connection_id":150802,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:20:22] local.INFO: Processing buffer {"connection_id":150802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:20:22] local.INFO: Packet analysis {"connection_id":150802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:20:22] local.INFO: Extracted packet for processing {"connection_id":150802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:20:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01: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-08-05 01:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183363840001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872816000,"timestamp_ms":1785872816000,"timestamp_seconds":1785872816,"priority":1,"record_length":96,"hex_timestamp":"0000019fce509780"} 
[2026-08-05 01:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:20: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-08-05 01: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-08-05 01:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183363840001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183363840001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:20:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:20:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183363840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":150802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:20:22] local.INFO: GPS data processed {"connection_id":150802,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:20:22] local.INFO: Acknowledgment sent {"connection_id":150802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:20:53] local.INFO: TCP Data received {"connection_id":150802,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:20:53] local.INFO: Processing buffer {"connection_id":150802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:20:53] local.INFO: Packet analysis {"connection_id":150802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:20:53] local.INFO: Extracted packet for processing {"connection_id":150802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:20:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183363840001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785872816000,"timestamp_ms":1785872816000,"timestamp_seconds":1785872816,"priority":1,"record_length":96,"hex_timestamp":"0000019fce509780"} 
[2026-08-05 01:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183363840001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183363840001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:20:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:20:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183363840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":150802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:20:53] local.INFO: GPS data processed {"connection_id":150802,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:20:53] local.INFO: Acknowledgment sent {"connection_id":150802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:21:16] local.INFO: TCP Data received {"connection_id":149396,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:21:16] local.INFO: Processing buffer {"connection_id":149396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:21:16] local.INFO: IMEI packet received {"connection_id":149396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":149396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:21:21] local.INFO: TCP Data received {"connection_id":149396,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:21:21] local.INFO: Processing buffer {"connection_id":149396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:21:21] local.INFO: IMEI packet received {"connection_id":149396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":149396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:21:22] local.INFO: TCP Data received {"connection_id":149396,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:21:22] local.INFO: Processing buffer {"connection_id":149396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:21:22] local.INFO: Packet analysis {"connection_id":149396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:21:22] local.INFO: Extracted packet for processing {"connection_id":149396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:21:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183363840001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872816000,"timestamp_ms":1785872816000,"timestamp_seconds":1785872816,"priority":1,"record_length":96,"hex_timestamp":"0000019fce509780"} 
[2026-08-05 01:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:21: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-08-05 01:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183363840001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183363840001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:21:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:21:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183363840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":149396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:21:22] local.INFO: GPS data processed {"connection_id":149396,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:21:22] local.INFO: Acknowledgment sent {"connection_id":149396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:21:53] local.INFO: TCP Data received {"connection_id":149396,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:21:53] local.INFO: Processing buffer {"connection_id":149396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:21:53] local.INFO: Packet analysis {"connection_id":149396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:21:53] local.INFO: Extracted packet for processing {"connection_id":149396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:21:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183363840001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785872816000,"timestamp_ms":1785872816000,"timestamp_seconds":1785872816,"priority":1,"record_length":96,"hex_timestamp":"0000019fce509780"} 
[2026-08-05 01:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183363840001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183363840001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:21:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:21:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183363840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":149396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:21:53] local.INFO: GPS data processed {"connection_id":149396,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:21:53] local.INFO: Acknowledgment sent {"connection_id":149396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:22:16] local.INFO: TCP Data received {"connection_id":148171,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:22:16] local.INFO: Processing buffer {"connection_id":148171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:22:16] local.INFO: IMEI packet received {"connection_id":148171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":148171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:22:21] local.INFO: TCP Data received {"connection_id":148171,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:22:21] local.INFO: Processing buffer {"connection_id":148171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:22:21] local.INFO: IMEI packet received {"connection_id":148171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":148171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:22:22] local.INFO: TCP Data received {"connection_id":148171,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:22:22] local.INFO: Processing buffer {"connection_id":148171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce509780012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 01:22:22] local.INFO: Packet analysis {"connection_id":148171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:22:22] local.INFO: Extracted packet for processing {"connection_id":148171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce50"} 
[2026-08-05 01:22:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183363840001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785872816000,"timestamp_ms":1785872816000,"timestamp_seconds":1785872816,"priority":1,"record_length":96,"hex_timestamp":"0000019fce509780"} 
[2026-08-05 01:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:22: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-08-05 01:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183363840001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183363840001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:22:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:22:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183363840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":148171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:22:22] local.INFO: GPS data processed {"connection_id":148171,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:22:22] local.INFO: Acknowledgment sent {"connection_id":148171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:22:53] local.INFO: TCP Data received {"connection_id":148171,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:22:53] local.INFO: Processing buffer {"connection_id":148171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:22:53] local.INFO: Packet analysis {"connection_id":148171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:22:53] local.INFO: Extracted packet for processing {"connection_id":148171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:22:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183440896001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785873117000,"timestamp_ms":1785873117000,"timestamp_seconds":1785873117,"priority":1,"record_length":96,"hex_timestamp":"0000019fce552f48"} 
[2026-08-05 01:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183440896001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183440896001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:22:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:22:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183440896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":148171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:22:53] local.INFO: GPS data processed {"connection_id":148171,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:22:53] local.INFO: Acknowledgment sent {"connection_id":148171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:23:16] local.INFO: TCP Data received {"connection_id":149397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:23:16] local.INFO: Processing buffer {"connection_id":149397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:23:16] local.INFO: IMEI packet received {"connection_id":149397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":149397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:23:21] local.INFO: TCP Data received {"connection_id":149397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:23:21] local.INFO: Processing buffer {"connection_id":149397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:23:21] local.INFO: IMEI packet received {"connection_id":149397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":149397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:23:22] local.INFO: TCP Data received {"connection_id":149397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:23:22] local.INFO: Processing buffer {"connection_id":149397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:23:22] local.INFO: Packet analysis {"connection_id":149397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:23:22] local.INFO: Extracted packet for processing {"connection_id":149397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:23:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183440896001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785873117000,"timestamp_ms":1785873117000,"timestamp_seconds":1785873117,"priority":1,"record_length":96,"hex_timestamp":"0000019fce552f48"} 
[2026-08-05 01:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:23: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-08-05 01:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183440896001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183440896001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:23:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:23:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183440896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":149397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:23:22] local.INFO: GPS data processed {"connection_id":149397,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:23:22] local.INFO: Acknowledgment sent {"connection_id":149397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:23:53] local.INFO: TCP Data received {"connection_id":149397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:23:53] local.INFO: Processing buffer {"connection_id":149397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:23:53] local.INFO: Packet analysis {"connection_id":149397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:23:53] local.INFO: Extracted packet for processing {"connection_id":149397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:23:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183440896001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785873117000,"timestamp_ms":1785873117000,"timestamp_seconds":1785873117,"priority":1,"record_length":96,"hex_timestamp":"0000019fce552f48"} 
[2026-08-05 01:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183440896001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183440896001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:23:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:23:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183440896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":149397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:23:53] local.INFO: GPS data processed {"connection_id":149397,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:23:53] local.INFO: Acknowledgment sent {"connection_id":149397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:24:21] local.INFO: TCP Data received {"connection_id":148405,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:24:21] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:24:21] local.INFO: IMEI packet received {"connection_id":148405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":148405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:24:26] local.INFO: TCP Data received {"connection_id":148405,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:24:26] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:24:26] local.INFO: IMEI packet received {"connection_id":148405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":148405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:24:27] local.INFO: TCP Data received {"connection_id":148405,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:24:27] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:24:27] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:24:27] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:24:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183440896001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785873117000,"timestamp_ms":1785873117000,"timestamp_seconds":1785873117,"priority":1,"record_length":96,"hex_timestamp":"0000019fce552f48"} 
[2026-08-05 01:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183440896001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183440896001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:24:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:24:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183440896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:24:27] local.INFO: GPS data processed {"connection_id":148405,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:24:27] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:24:32] local.INFO: TCP Data received {"connection_id":148405,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:24:32] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:24:32] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:24:32] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:24:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183440896001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785873117000,"timestamp_ms":1785873117000,"timestamp_seconds":1785873117,"priority":1,"record_length":96,"hex_timestamp":"0000019fce552f48"} 
[2026-08-05 01:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183440896001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183440896001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:24:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:24:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183440896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:24:32] local.INFO: GPS data processed {"connection_id":148405,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:24:32] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:25:16] local.INFO: TCP Data received {"connection_id":149398,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:25:16] local.INFO: Processing buffer {"connection_id":149398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:25:16] local.INFO: IMEI packet received {"connection_id":149398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":149398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:25:21] local.INFO: TCP Data received {"connection_id":149398,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:25:21] local.INFO: Processing buffer {"connection_id":149398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:25:21] local.INFO: IMEI packet received {"connection_id":149398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":149398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:25:26] local.INFO: TCP Data received {"connection_id":149398,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:25:26] local.INFO: Processing buffer {"connection_id":149398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:25:26] local.INFO: Packet analysis {"connection_id":149398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:25:26] local.INFO: Extracted packet for processing {"connection_id":149398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:25:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183440896001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785873117000,"timestamp_ms":1785873117000,"timestamp_seconds":1785873117,"priority":1,"record_length":96,"hex_timestamp":"0000019fce552f48"} 
[2026-08-05 01:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183440896001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183440896001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:25:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:25:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183440896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":149398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:25:26] local.INFO: GPS data processed {"connection_id":149398,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:25:26] local.INFO: Acknowledgment sent {"connection_id":149398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:25:58] local.INFO: TCP Data received {"connection_id":149398,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:25:58] local.INFO: Processing buffer {"connection_id":149398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:25:58] local.INFO: Packet analysis {"connection_id":149398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:25:58] local.INFO: Extracted packet for processing {"connection_id":149398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:25:58] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183440896001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785873117000,"timestamp_ms":1785873117000,"timestamp_seconds":1785873117,"priority":1,"record_length":96,"hex_timestamp":"0000019fce552f48"} 
[2026-08-05 01:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183440896001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183440896001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:25:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:25:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183440896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":149398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:25:58] local.INFO: GPS data processed {"connection_id":149398,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:25:58] local.INFO: Acknowledgment sent {"connection_id":149398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:26:16] local.INFO: TCP Data received {"connection_id":150803,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:26:16] local.INFO: Processing buffer {"connection_id":150803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:26:16] local.INFO: IMEI packet received {"connection_id":150803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":150803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:26:21] local.INFO: TCP Data received {"connection_id":150803,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:26:21] local.INFO: Processing buffer {"connection_id":150803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:26:21] local.INFO: IMEI packet received {"connection_id":150803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":150803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:26:22] local.INFO: TCP Data received {"connection_id":150803,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:26:22] local.INFO: Processing buffer {"connection_id":150803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:26:22] local.INFO: Packet analysis {"connection_id":150803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:26:22] local.INFO: Extracted packet for processing {"connection_id":150803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:26:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183440896001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785873117000,"timestamp_ms":1785873117000,"timestamp_seconds":1785873117,"priority":1,"record_length":96,"hex_timestamp":"0000019fce552f48"} 
[2026-08-05 01:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01: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-08-05 01:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:26: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-08-05 01:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183440896001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183440896001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:26:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:26:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183440896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":150803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:26:22] local.INFO: GPS data processed {"connection_id":150803,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:26:22] local.INFO: Acknowledgment sent {"connection_id":150803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:26:56] local.INFO: TCP Data received {"connection_id":150803,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:26:56] local.INFO: Processing buffer {"connection_id":150803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:26:56] local.INFO: Packet analysis {"connection_id":150803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:26:56] local.INFO: Extracted packet for processing {"connection_id":150803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:26:56] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 01:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183440896001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785873117000,"timestamp_ms":1785873117000,"timestamp_seconds":1785873117,"priority":1,"record_length":96,"hex_timestamp":"0000019fce552f48"} 
[2026-08-05 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-08-05 01:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:26: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-08-05 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-08-05 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-08-05 01:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":150803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":150803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":150803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183440896001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183440896001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:26:56] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:26:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183440896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":150803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:26:56] local.INFO: GPS data processed {"connection_id":150803,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:26:56] local.INFO: Acknowledgment sent {"connection_id":150803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:27:16] local.INFO: TCP Data received {"connection_id":148406,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:27:16] local.INFO: Processing buffer {"connection_id":148406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:27:16] local.INFO: IMEI packet received {"connection_id":148406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":148406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:27:21] local.INFO: TCP Data received {"connection_id":148406,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:27:21] local.INFO: Processing buffer {"connection_id":148406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:27:21] local.INFO: IMEI packet received {"connection_id":148406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":148406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:27:22] local.INFO: TCP Data received {"connection_id":148406,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:27:22] local.INFO: Processing buffer {"connection_id":148406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce552f48012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:27:22] local.INFO: Packet analysis {"connection_id":148406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:27:22] local.INFO: Extracted packet for processing {"connection_id":148406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce55"} 
[2026-08-05 01:27:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183440896001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785873117000,"timestamp_ms":1785873117000,"timestamp_seconds":1785873117,"priority":1,"record_length":96,"hex_timestamp":"0000019fce552f48"} 
[2026-08-05 01:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:27: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-08-05 01:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183440896001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183440896001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:27:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:27:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183440896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":148406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:27:22] local.INFO: GPS data processed {"connection_id":148406,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:27:22] local.INFO: Acknowledgment sent {"connection_id":148406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:27:53] local.INFO: TCP Data received {"connection_id":148406,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:27:53] local.INFO: Processing buffer {"connection_id":148406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:27:53] local.INFO: Packet analysis {"connection_id":148406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:27:53] local.INFO: Extracted packet for processing {"connection_id":148406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:27:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183517952001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785873418000,"timestamp_ms":1785873418000,"timestamp_seconds":1785873418,"priority":1,"record_length":96,"hex_timestamp":"0000019fce59c710"} 
[2026-08-05 01:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183517952001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183517952001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:27:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:27:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183517952001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":148406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:27:53] local.INFO: GPS data processed {"connection_id":148406,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:27:53] local.INFO: Acknowledgment sent {"connection_id":148406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:28:16] local.INFO: TCP Data received {"connection_id":150804,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:28:16] local.INFO: Processing buffer {"connection_id":150804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:28:16] local.INFO: IMEI packet received {"connection_id":150804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":150804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:28:21] local.INFO: TCP Data received {"connection_id":150804,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:28:21] local.INFO: Processing buffer {"connection_id":150804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:28:21] local.INFO: IMEI packet received {"connection_id":150804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":150804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:28:22] local.INFO: TCP Data received {"connection_id":150804,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:28:22] local.INFO: Processing buffer {"connection_id":150804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:28:22] local.INFO: Packet analysis {"connection_id":150804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:28:22] local.INFO: Extracted packet for processing {"connection_id":150804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:28:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183517952001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785873418000,"timestamp_ms":1785873418000,"timestamp_seconds":1785873418,"priority":1,"record_length":96,"hex_timestamp":"0000019fce59c710"} 
[2026-08-05 01:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:28: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-08-05 01:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183517952001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183517952001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:28:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:28:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183517952001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":150804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:28:22] local.INFO: GPS data processed {"connection_id":150804,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:28:22] local.INFO: Acknowledgment sent {"connection_id":150804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:28:53] local.INFO: TCP Data received {"connection_id":150804,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:28:53] local.INFO: Processing buffer {"connection_id":150804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:28:53] local.INFO: Packet analysis {"connection_id":150804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:28:53] local.INFO: Extracted packet for processing {"connection_id":150804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:28:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183517952001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785873418000,"timestamp_ms":1785873418000,"timestamp_seconds":1785873418,"priority":1,"record_length":96,"hex_timestamp":"0000019fce59c710"} 
[2026-08-05 01:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183517952001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183517952001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:28:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:28:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183517952001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":150804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:28:53] local.INFO: GPS data processed {"connection_id":150804,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:28:53] local.INFO: Acknowledgment sent {"connection_id":150804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:29:21] local.INFO: TCP Data received {"connection_id":148172,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:29:21] local.INFO: Processing buffer {"connection_id":148172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:29:21] local.INFO: IMEI packet received {"connection_id":148172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":148172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:29:26] local.INFO: TCP Data received {"connection_id":148172,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:29:26] local.INFO: Processing buffer {"connection_id":148172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:29:26] local.INFO: IMEI packet received {"connection_id":148172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":148172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:29:27] local.INFO: TCP Data received {"connection_id":148172,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:29:27] local.INFO: Processing buffer {"connection_id":148172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:29:27] local.INFO: Packet analysis {"connection_id":148172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:29:27] local.INFO: Extracted packet for processing {"connection_id":148172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:29:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183517952001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785873418000,"timestamp_ms":1785873418000,"timestamp_seconds":1785873418,"priority":1,"record_length":96,"hex_timestamp":"0000019fce59c710"} 
[2026-08-05 01:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183517952001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183517952001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:29:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:29:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183517952001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":148172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:29:27] local.INFO: GPS data processed {"connection_id":148172,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:29:27] local.INFO: Acknowledgment sent {"connection_id":148172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:29:32] local.INFO: TCP Data received {"connection_id":148172,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:29:32] local.INFO: Processing buffer {"connection_id":148172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:29:32] local.INFO: Packet analysis {"connection_id":148172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:29:32] local.INFO: Extracted packet for processing {"connection_id":148172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:29:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183517952001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785873418000,"timestamp_ms":1785873418000,"timestamp_seconds":1785873418,"priority":1,"record_length":96,"hex_timestamp":"0000019fce59c710"} 
[2026-08-05 01:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183517952001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183517952001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:29:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:29:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183517952001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":148172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:29:32] local.INFO: GPS data processed {"connection_id":148172,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:29:32] local.INFO: Acknowledgment sent {"connection_id":148172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:30:16] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:30:16] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:30:16] local.INFO: IMEI packet received {"connection_id":148407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":148407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:30:21] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:30:21] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:30:21] local.INFO: IMEI packet received {"connection_id":148407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":148407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:30:22] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:30:22] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:30:22] local.INFO: Packet analysis {"connection_id":148407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:30:22] local.INFO: Extracted packet for processing {"connection_id":148407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:30:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183517952001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785873418000,"timestamp_ms":1785873418000,"timestamp_seconds":1785873418,"priority":1,"record_length":96,"hex_timestamp":"0000019fce59c710"} 
[2026-08-05 01:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:30: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-08-05 01:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183517952001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183517952001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:30:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:30:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183517952001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":148407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:30:22] local.INFO: GPS data processed {"connection_id":148407,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:30:22] local.INFO: Acknowledgment sent {"connection_id":148407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:30:53] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:30:53] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:30:53] local.INFO: Packet analysis {"connection_id":148407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:30:53] local.INFO: Extracted packet for processing {"connection_id":148407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:30:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183517952001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785873418000,"timestamp_ms":1785873418000,"timestamp_seconds":1785873418,"priority":1,"record_length":96,"hex_timestamp":"0000019fce59c710"} 
[2026-08-05 01:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183517952001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183517952001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:30:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:30:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183517952001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":148407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:30:53] local.INFO: GPS data processed {"connection_id":148407,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:30:53] local.INFO: Acknowledgment sent {"connection_id":148407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:31:16] local.INFO: TCP Data received {"connection_id":148173,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:31:16] local.INFO: Processing buffer {"connection_id":148173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:31:16] local.INFO: IMEI packet received {"connection_id":148173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":148173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:31:21] local.INFO: TCP Data received {"connection_id":148173,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:31:21] local.INFO: Processing buffer {"connection_id":148173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:31:21] local.INFO: IMEI packet received {"connection_id":148173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":148173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:31:22] local.INFO: TCP Data received {"connection_id":148173,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:31:22] local.INFO: Processing buffer {"connection_id":148173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:31:22] local.INFO: Packet analysis {"connection_id":148173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:31:22] local.INFO: Extracted packet for processing {"connection_id":148173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:31:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183517952001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785873418000,"timestamp_ms":1785873418000,"timestamp_seconds":1785873418,"priority":1,"record_length":96,"hex_timestamp":"0000019fce59c710"} 
[2026-08-05 01:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01: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-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:31: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-08-05 01:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183517952001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183517952001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:31:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:31:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183517952001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":148173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:31:22] local.INFO: GPS data processed {"connection_id":148173,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:31:22] local.INFO: Acknowledgment sent {"connection_id":148173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:31:56] local.INFO: TCP Data received {"connection_id":148173,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:31:56] local.INFO: Processing buffer {"connection_id":148173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:31:56] local.INFO: Packet analysis {"connection_id":148173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:31:56] local.INFO: Extracted packet for processing {"connection_id":148173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:31:56] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 01:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183517952001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785873418000,"timestamp_ms":1785873418000,"timestamp_seconds":1785873418,"priority":1,"record_length":96,"hex_timestamp":"0000019fce59c710"} 
[2026-08-05 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-08-05 01:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:31: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-08-05 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-08-05 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-08-05 01:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183517952001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183517952001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:31:56] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:31:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183517952001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":148173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:31:56] local.INFO: GPS data processed {"connection_id":148173,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:31:56] local.INFO: Acknowledgment sent {"connection_id":148173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:32:16] local.INFO: TCP Data received {"connection_id":149399,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:32:16] local.INFO: Processing buffer {"connection_id":149399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:32:16] local.INFO: IMEI packet received {"connection_id":149399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":149399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:32:21] local.INFO: TCP Data received {"connection_id":149399,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:32:21] local.INFO: Processing buffer {"connection_id":149399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:32:21] local.INFO: IMEI packet received {"connection_id":149399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":149399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:32:22] local.INFO: TCP Data received {"connection_id":149399,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:32:22] local.INFO: Processing buffer {"connection_id":149399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce59c710012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:32:22] local.INFO: Packet analysis {"connection_id":149399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:32:22] local.INFO: Extracted packet for processing {"connection_id":149399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce59"} 
[2026-08-05 01:32:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183517952001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785873418000,"timestamp_ms":1785873418000,"timestamp_seconds":1785873418,"priority":1,"record_length":96,"hex_timestamp":"0000019fce59c710"} 
[2026-08-05 01:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183517952001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183517952001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:32:23] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:32:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183517952001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":149399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:32:23] local.INFO: GPS data processed {"connection_id":149399,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:32:23] local.INFO: Acknowledgment sent {"connection_id":149399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:32:54] local.INFO: TCP Data received {"connection_id":149399,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:32:54] local.INFO: Processing buffer {"connection_id":149399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:32:54] local.INFO: Packet analysis {"connection_id":149399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:32:54] local.INFO: Extracted packet for processing {"connection_id":149399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:32:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01: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-08-05 01:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183595008001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785873719000,"timestamp_ms":1785873719000,"timestamp_seconds":1785873719,"priority":1,"record_length":96,"hex_timestamp":"0000019fce5e5ed8"} 
[2026-08-05 01:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01: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-08-05 01: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01: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-08-05 01:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183595008001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183595008001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:32:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:32:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183595008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":149399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:32:54] local.INFO: GPS data processed {"connection_id":149399,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:32:54] local.INFO: Acknowledgment sent {"connection_id":149399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:33:16] local.INFO: TCP Data received {"connection_id":148174,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:33:16] local.INFO: Processing buffer {"connection_id":148174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:33:16] local.INFO: IMEI packet received {"connection_id":148174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":148174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:33:21] local.INFO: TCP Data received {"connection_id":148174,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:33:21] local.INFO: Processing buffer {"connection_id":148174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:33:21] local.INFO: IMEI packet received {"connection_id":148174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":148174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:33:22] local.INFO: TCP Data received {"connection_id":148174,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:33:22] local.INFO: Processing buffer {"connection_id":148174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:33:22] local.INFO: Packet analysis {"connection_id":148174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:33:22] local.INFO: Extracted packet for processing {"connection_id":148174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:33:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 01:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183595008001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785873719000,"timestamp_ms":1785873719000,"timestamp_seconds":1785873719,"priority":1,"record_length":96,"hex_timestamp":"0000019fce5e5ed8"} 
[2026-08-05 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-08-05 01:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 01:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183595008001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183595008001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:33:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:33:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183595008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":148174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:33:22] local.INFO: GPS data processed {"connection_id":148174,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:33:22] local.INFO: Acknowledgment sent {"connection_id":148174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:33:53] local.INFO: TCP Data received {"connection_id":148174,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:33:53] local.INFO: Processing buffer {"connection_id":148174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:33:53] local.INFO: Packet analysis {"connection_id":148174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:33:53] local.INFO: Extracted packet for processing {"connection_id":148174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:33:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183595008001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785873719000,"timestamp_ms":1785873719000,"timestamp_seconds":1785873719,"priority":1,"record_length":96,"hex_timestamp":"0000019fce5e5ed8"} 
[2026-08-05 01:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01: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-08-05 01:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183595008001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183595008001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:33:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:33:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183595008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":148174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:33:53] local.INFO: GPS data processed {"connection_id":148174,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:33:53] local.INFO: Acknowledgment sent {"connection_id":148174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:34:21] local.INFO: TCP Data received {"connection_id":149400,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:34:21] local.INFO: Processing buffer {"connection_id":149400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:34:21] local.INFO: IMEI packet received {"connection_id":149400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":149400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:34:26] local.INFO: TCP Data received {"connection_id":149400,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:34:26] local.INFO: Processing buffer {"connection_id":149400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:34:26] local.INFO: IMEI packet received {"connection_id":149400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":149400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:34:31] local.INFO: TCP Data received {"connection_id":149400,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:34:31] local.INFO: Processing buffer {"connection_id":149400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:34:31] local.INFO: Packet analysis {"connection_id":149400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:34:31] local.INFO: Extracted packet for processing {"connection_id":149400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:34:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183595008001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785873719000,"timestamp_ms":1785873719000,"timestamp_seconds":1785873719,"priority":1,"record_length":96,"hex_timestamp":"0000019fce5e5ed8"} 
[2026-08-05 01:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183595008001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183595008001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:34:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:34:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183595008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":149400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:34:31] local.INFO: GPS data processed {"connection_id":149400,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:34:31] local.INFO: Acknowledgment sent {"connection_id":149400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:34:31] local.INFO: TCP Data received {"connection_id":149400,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:34:31] local.INFO: Processing buffer {"connection_id":149400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:34:31] local.INFO: Packet analysis {"connection_id":149400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:34:31] local.INFO: Extracted packet for processing {"connection_id":149400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:34:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183595008001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785873719000,"timestamp_ms":1785873719000,"timestamp_seconds":1785873719,"priority":1,"record_length":96,"hex_timestamp":"0000019fce5e5ed8"} 
[2026-08-05 01:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183595008001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183595008001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:34:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:34:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183595008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":149400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:34:31] local.INFO: GPS data processed {"connection_id":149400,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:34:31] local.INFO: Acknowledgment sent {"connection_id":149400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:35:16] local.INFO: TCP Data received {"connection_id":148175,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:35:16] local.INFO: Processing buffer {"connection_id":148175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:35:16] local.INFO: IMEI packet received {"connection_id":148175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":148175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:35:21] local.INFO: TCP Data received {"connection_id":148175,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:35:21] local.INFO: Processing buffer {"connection_id":148175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:35:21] local.INFO: IMEI packet received {"connection_id":148175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":148175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:35:22] local.INFO: TCP Data received {"connection_id":148175,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:35:22] local.INFO: Processing buffer {"connection_id":148175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:35:22] local.INFO: Packet analysis {"connection_id":148175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:35:22] local.INFO: Extracted packet for processing {"connection_id":148175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:35:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183595008001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785873719000,"timestamp_ms":1785873719000,"timestamp_seconds":1785873719,"priority":1,"record_length":96,"hex_timestamp":"0000019fce5e5ed8"} 
[2026-08-05 01:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183595008001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183595008001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:35:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:35:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183595008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":148175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:35:22] local.INFO: GPS data processed {"connection_id":148175,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:35:22] local.INFO: Acknowledgment sent {"connection_id":148175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:35:57] local.INFO: TCP Data received {"connection_id":148175,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:35:57] local.INFO: Processing buffer {"connection_id":148175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:35:57] local.INFO: Packet analysis {"connection_id":148175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:35:57] local.INFO: Extracted packet for processing {"connection_id":148175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:35:57] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183595008001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785873719000,"timestamp_ms":1785873719000,"timestamp_seconds":1785873719,"priority":1,"record_length":96,"hex_timestamp":"0000019fce5e5ed8"} 
[2026-08-05 01:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183595008001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183595008001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:35:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:35:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183595008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":148175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:35:57] local.INFO: GPS data processed {"connection_id":148175,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:35:57] local.INFO: Acknowledgment sent {"connection_id":148175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:36:16] local.INFO: TCP Data received {"connection_id":148176,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:36:16] local.INFO: Processing buffer {"connection_id":148176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:36:16] local.INFO: IMEI packet received {"connection_id":148176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":148176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:36:21] local.INFO: TCP Data received {"connection_id":148176,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:36:21] local.INFO: Processing buffer {"connection_id":148176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:36:21] local.INFO: IMEI packet received {"connection_id":148176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":148176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:36:22] local.INFO: TCP Data received {"connection_id":148176,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:36:22] local.INFO: Processing buffer {"connection_id":148176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:36:22] local.INFO: Packet analysis {"connection_id":148176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:36:22] local.INFO: Extracted packet for processing {"connection_id":148176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:36:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183595008001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785873719000,"timestamp_ms":1785873719000,"timestamp_seconds":1785873719,"priority":1,"record_length":96,"hex_timestamp":"0000019fce5e5ed8"} 
[2026-08-05 01:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183595008001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183595008001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:36:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:36:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183595008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":148176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:36:22] local.INFO: GPS data processed {"connection_id":148176,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:36:22] local.INFO: Acknowledgment sent {"connection_id":148176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:36:53] local.INFO: TCP Data received {"connection_id":148176,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:36:53] local.INFO: Processing buffer {"connection_id":148176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:36:53] local.INFO: Packet analysis {"connection_id":148176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:36:53] local.INFO: Extracted packet for processing {"connection_id":148176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:36:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183595008001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785873719000,"timestamp_ms":1785873719000,"timestamp_seconds":1785873719,"priority":1,"record_length":96,"hex_timestamp":"0000019fce5e5ed8"} 
[2026-08-05 01:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183595008001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183595008001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:36:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:36:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183595008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":148176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:36:53] local.INFO: GPS data processed {"connection_id":148176,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:36:53] local.INFO: Acknowledgment sent {"connection_id":148176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:37:16] local.INFO: TCP Data received {"connection_id":149401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:37:16] local.INFO: Processing buffer {"connection_id":149401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:37:16] local.INFO: IMEI packet received {"connection_id":149401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":149401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:37:21] local.INFO: TCP Data received {"connection_id":149401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:37:21] local.INFO: Processing buffer {"connection_id":149401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:37:21] local.INFO: IMEI packet received {"connection_id":149401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":149401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:37:22] local.INFO: TCP Data received {"connection_id":149401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:37:22] local.INFO: Processing buffer {"connection_id":149401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce5e5ed8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:37:22] local.INFO: Packet analysis {"connection_id":149401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:37:22] local.INFO: Extracted packet for processing {"connection_id":149401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce5e"} 
[2026-08-05 01:37:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183595008001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785873719000,"timestamp_ms":1785873719000,"timestamp_seconds":1785873719,"priority":1,"record_length":96,"hex_timestamp":"0000019fce5e5ed8"} 
[2026-08-05 01:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183595008001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183595008001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:37:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:37:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183595008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":149401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:37:22] local.INFO: GPS data processed {"connection_id":149401,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:37:22] local.INFO: Acknowledgment sent {"connection_id":149401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:37:55] local.INFO: TCP Data received {"connection_id":149401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:37:55] local.INFO: Processing buffer {"connection_id":149401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:37:55] local.INFO: Packet analysis {"connection_id":149401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:37:55] local.INFO: Extracted packet for processing {"connection_id":149401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:37:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183672064001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785874020000,"timestamp_ms":1785874020000,"timestamp_seconds":1785874020,"priority":1,"record_length":96,"hex_timestamp":"0000019fce62f6a0"} 
[2026-08-05 01:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183672064001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183672064001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:37:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:37:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183672064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":149401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:37:55] local.INFO: GPS data processed {"connection_id":149401,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:37:55] local.INFO: Acknowledgment sent {"connection_id":149401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:38:16] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:38:16] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:38:16] local.INFO: IMEI packet received {"connection_id":148408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":148408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:38:21] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:38:21] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:38:21] local.INFO: IMEI packet received {"connection_id":148408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":148408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:39:16] local.INFO: TCP Data received {"connection_id":148409,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:39:16] local.INFO: Processing buffer {"connection_id":148409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:39:16] local.INFO: IMEI packet received {"connection_id":148409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":148409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:39:21] local.INFO: TCP Data received {"connection_id":148409,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:39:21] local.INFO: Processing buffer {"connection_id":148409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:39:21] local.INFO: IMEI packet received {"connection_id":148409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":148409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:39:22] local.INFO: TCP Data received {"connection_id":148409,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:39:22] local.INFO: Processing buffer {"connection_id":148409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:39:22] local.INFO: Packet analysis {"connection_id":148409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:39:22] local.INFO: Extracted packet for processing {"connection_id":148409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:39:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183672064001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874020000,"timestamp_ms":1785874020000,"timestamp_seconds":1785874020,"priority":1,"record_length":96,"hex_timestamp":"0000019fce62f6a0"} 
[2026-08-05 01:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183672064001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183672064001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:39:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:39:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183672064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":148409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:39:22] local.INFO: GPS data processed {"connection_id":148409,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:39:22] local.INFO: Acknowledgment sent {"connection_id":148409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:39:40] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:39:40] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:39:40] local.INFO: Packet analysis {"connection_id":148408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:39:40] local.INFO: Extracted packet for processing {"connection_id":148408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:39:40] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183672064001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785874020000,"timestamp_ms":1785874020000,"timestamp_seconds":1785874020,"priority":1,"record_length":96,"hex_timestamp":"0000019fce62f6a0"} 
[2026-08-05 01:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183672064001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183672064001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:39:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:39:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183672064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":148408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:39:40] local.INFO: GPS data processed {"connection_id":148408,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:39:40] local.INFO: Acknowledgment sent {"connection_id":148408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:39:53] local.INFO: TCP Data received {"connection_id":148409,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:39:53] local.INFO: Processing buffer {"connection_id":148409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:39:53] local.INFO: Packet analysis {"connection_id":148409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:39:53] local.INFO: Extracted packet for processing {"connection_id":148409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:39:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183672064001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874020000,"timestamp_ms":1785874020000,"timestamp_seconds":1785874020,"priority":1,"record_length":96,"hex_timestamp":"0000019fce62f6a0"} 
[2026-08-05 01:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183672064001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183672064001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:39:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:39:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183672064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":148409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:39:53] local.INFO: GPS data processed {"connection_id":148409,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:39:53] local.INFO: Acknowledgment sent {"connection_id":148409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:40:16] local.INFO: TCP Data received {"connection_id":148177,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:40:16] local.INFO: Processing buffer {"connection_id":148177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:40:16] local.INFO: IMEI packet received {"connection_id":148177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":148177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:40:21] local.INFO: TCP Data received {"connection_id":148177,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:40:21] local.INFO: Processing buffer {"connection_id":148177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:40:21] local.INFO: IMEI packet received {"connection_id":148177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":148177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:40:22] local.INFO: TCP Data received {"connection_id":148177,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:40:22] local.INFO: Processing buffer {"connection_id":148177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:40:22] local.INFO: Packet analysis {"connection_id":148177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:40:22] local.INFO: Extracted packet for processing {"connection_id":148177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:40:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183672064001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874020000,"timestamp_ms":1785874020000,"timestamp_seconds":1785874020,"priority":1,"record_length":96,"hex_timestamp":"0000019fce62f6a0"} 
[2026-08-05 01:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183672064001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183672064001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:40:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:40:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183672064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":148177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:40:22] local.INFO: GPS data processed {"connection_id":148177,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:40:22] local.INFO: Acknowledgment sent {"connection_id":148177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:40:53] local.INFO: TCP Data received {"connection_id":148177,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:40:53] local.INFO: Processing buffer {"connection_id":148177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:40:53] local.INFO: Packet analysis {"connection_id":148177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:40:53] local.INFO: Extracted packet for processing {"connection_id":148177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:40:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183672064001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874020000,"timestamp_ms":1785874020000,"timestamp_seconds":1785874020,"priority":1,"record_length":96,"hex_timestamp":"0000019fce62f6a0"} 
[2026-08-05 01:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183672064001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183672064001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:40:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:40:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183672064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":148177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:40:53] local.INFO: GPS data processed {"connection_id":148177,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:40:53] local.INFO: Acknowledgment sent {"connection_id":148177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:41:16] local.INFO: TCP Data received {"connection_id":149402,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:41:16] local.INFO: Processing buffer {"connection_id":149402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:41:16] local.INFO: IMEI packet received {"connection_id":149402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":149402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:41:21] local.INFO: TCP Data received {"connection_id":149402,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:41:21] local.INFO: Processing buffer {"connection_id":149402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:41:21] local.INFO: IMEI packet received {"connection_id":149402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":149402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:41:22] local.INFO: TCP Data received {"connection_id":149402,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:41:22] local.INFO: Processing buffer {"connection_id":149402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:41:22] local.INFO: Packet analysis {"connection_id":149402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:41:22] local.INFO: Extracted packet for processing {"connection_id":149402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:41:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183672064001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874020000,"timestamp_ms":1785874020000,"timestamp_seconds":1785874020,"priority":1,"record_length":96,"hex_timestamp":"0000019fce62f6a0"} 
[2026-08-05 01:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183672064001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183672064001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:41:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:41:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183672064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":149402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:41:22] local.INFO: GPS data processed {"connection_id":149402,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:41:22] local.INFO: Acknowledgment sent {"connection_id":149402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:41:53] local.INFO: TCP Data received {"connection_id":149402,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:41:53] local.INFO: Processing buffer {"connection_id":149402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:41:53] local.INFO: Packet analysis {"connection_id":149402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:41:53] local.INFO: Extracted packet for processing {"connection_id":149402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:41:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183672064001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874020000,"timestamp_ms":1785874020000,"timestamp_seconds":1785874020,"priority":1,"record_length":96,"hex_timestamp":"0000019fce62f6a0"} 
[2026-08-05 01:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183672064001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183672064001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:41:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:41:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183672064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":149402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:41:53] local.INFO: GPS data processed {"connection_id":149402,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:41:53] local.INFO: Acknowledgment sent {"connection_id":149402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:42:21] local.INFO: TCP Data received {"connection_id":150805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:42:21] local.INFO: Processing buffer {"connection_id":150805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:42:21] local.INFO: IMEI packet received {"connection_id":150805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":150805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:42:26] local.INFO: TCP Data received {"connection_id":150805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:42:26] local.INFO: Processing buffer {"connection_id":150805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:42:26] local.INFO: IMEI packet received {"connection_id":150805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":150805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:42:27] local.INFO: TCP Data received {"connection_id":150805,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:42:27] local.INFO: Processing buffer {"connection_id":150805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:42:27] local.INFO: Packet analysis {"connection_id":150805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:42:27] local.INFO: Extracted packet for processing {"connection_id":150805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:42:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183672064001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785874020000,"timestamp_ms":1785874020000,"timestamp_seconds":1785874020,"priority":1,"record_length":96,"hex_timestamp":"0000019fce62f6a0"} 
[2026-08-05 01:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183672064001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183672064001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:42:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:42:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183672064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":150805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:42:27] local.INFO: GPS data processed {"connection_id":150805,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:42:27] local.INFO: Acknowledgment sent {"connection_id":150805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:42:32] local.INFO: TCP Data received {"connection_id":150805,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:42:32] local.INFO: Processing buffer {"connection_id":150805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce62f6a0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 01:42:32] local.INFO: Packet analysis {"connection_id":150805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:42:32] local.INFO: Extracted packet for processing {"connection_id":150805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce62"} 
[2026-08-05 01:42:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183672064001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785874020000,"timestamp_ms":1785874020000,"timestamp_seconds":1785874020,"priority":1,"record_length":96,"hex_timestamp":"0000019fce62f6a0"} 
[2026-08-05 01:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":150805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":150805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":150805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183672064001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183672064001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:42:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:42:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183672064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":150805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:42:32] local.INFO: GPS data processed {"connection_id":150805,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:42:32] local.INFO: Acknowledgment sent {"connection_id":150805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:43:16] local.INFO: TCP Data received {"connection_id":149403,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:43:16] local.INFO: Processing buffer {"connection_id":149403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:43:16] local.INFO: IMEI packet received {"connection_id":149403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":149403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:43:21] local.INFO: TCP Data received {"connection_id":149403,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:43:21] local.INFO: Processing buffer {"connection_id":149403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:43:21] local.INFO: IMEI packet received {"connection_id":149403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":149403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:43:22] local.INFO: TCP Data received {"connection_id":149403,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:43:22] local.INFO: Processing buffer {"connection_id":149403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:43:22] local.INFO: Packet analysis {"connection_id":149403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:43:22] local.INFO: Extracted packet for processing {"connection_id":149403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:43:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183749120001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874321000,"timestamp_ms":1785874321000,"timestamp_seconds":1785874321,"priority":1,"record_length":96,"hex_timestamp":"0000019fce678e68"} 
[2026-08-05 01:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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-08-05 01: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-08-05 01:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183749120001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183749120001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:43:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:43:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183749120001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":149403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:43:22] local.INFO: GPS data processed {"connection_id":149403,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:43:22] local.INFO: Acknowledgment sent {"connection_id":149403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:43:53] local.INFO: TCP Data received {"connection_id":149403,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:43:53] local.INFO: Processing buffer {"connection_id":149403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:43:53] local.INFO: Packet analysis {"connection_id":149403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:43:53] local.INFO: Extracted packet for processing {"connection_id":149403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:43:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183749120001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874321000,"timestamp_ms":1785874321000,"timestamp_seconds":1785874321,"priority":1,"record_length":96,"hex_timestamp":"0000019fce678e68"} 
[2026-08-05 01:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01: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-08-05 01:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183749120001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183749120001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:43:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:43:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183749120001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":149403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:43:53] local.INFO: GPS data processed {"connection_id":149403,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:43:53] local.INFO: Acknowledgment sent {"connection_id":149403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:44:16] local.INFO: TCP Data received {"connection_id":150806,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:44:16] local.INFO: Processing buffer {"connection_id":150806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:44:16] local.INFO: IMEI packet received {"connection_id":150806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":150806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:44:21] local.INFO: TCP Data received {"connection_id":150806,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:44:21] local.INFO: Processing buffer {"connection_id":150806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:44:21] local.INFO: IMEI packet received {"connection_id":150806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":150806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:44:22] local.INFO: TCP Data received {"connection_id":150806,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:44:22] local.INFO: Processing buffer {"connection_id":150806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:44:22] local.INFO: Packet analysis {"connection_id":150806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:44:22] local.INFO: Extracted packet for processing {"connection_id":150806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:44:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183749120001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874321000,"timestamp_ms":1785874321000,"timestamp_seconds":1785874321,"priority":1,"record_length":96,"hex_timestamp":"0000019fce678e68"} 
[2026-08-05 01:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:44: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-08-05 01:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183749120001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183749120001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:44:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:44:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183749120001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":150806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:44:22] local.INFO: GPS data processed {"connection_id":150806,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:44:22] local.INFO: Acknowledgment sent {"connection_id":150806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:44:53] local.INFO: TCP Data received {"connection_id":150806,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:44:53] local.INFO: Processing buffer {"connection_id":150806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:44:53] local.INFO: Packet analysis {"connection_id":150806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:44:53] local.INFO: Extracted packet for processing {"connection_id":150806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:44:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183749120001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874321000,"timestamp_ms":1785874321000,"timestamp_seconds":1785874321,"priority":1,"record_length":96,"hex_timestamp":"0000019fce678e68"} 
[2026-08-05 01:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01: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-08-05 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183749120001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183749120001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:44:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:44:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183749120001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":150806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:44:53] local.INFO: GPS data processed {"connection_id":150806,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:44:53] local.INFO: Acknowledgment sent {"connection_id":150806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:45:16] local.INFO: TCP Data received {"connection_id":150807,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:45:16] local.INFO: Processing buffer {"connection_id":150807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:45:16] local.INFO: IMEI packet received {"connection_id":150807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":150807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:45:21] local.INFO: TCP Data received {"connection_id":150807,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:45:21] local.INFO: Processing buffer {"connection_id":150807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:45:21] local.INFO: IMEI packet received {"connection_id":150807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":150807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:45:22] local.INFO: TCP Data received {"connection_id":150807,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:45:22] local.INFO: Processing buffer {"connection_id":150807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:45:22] local.INFO: Packet analysis {"connection_id":150807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:45:22] local.INFO: Extracted packet for processing {"connection_id":150807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:45:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183749120001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874321000,"timestamp_ms":1785874321000,"timestamp_seconds":1785874321,"priority":1,"record_length":96,"hex_timestamp":"0000019fce678e68"} 
[2026-08-05 01:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01: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-08-05 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:45: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-08-05 01:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183749120001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183749120001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:45:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:45:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183749120001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":150807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:45:22] local.INFO: GPS data processed {"connection_id":150807,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:45:22] local.INFO: Acknowledgment sent {"connection_id":150807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:45:53] local.INFO: TCP Data received {"connection_id":150807,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:45:53] local.INFO: Processing buffer {"connection_id":150807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:45:53] local.INFO: Packet analysis {"connection_id":150807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:45:53] local.INFO: Extracted packet for processing {"connection_id":150807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:45:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183749120001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874321000,"timestamp_ms":1785874321000,"timestamp_seconds":1785874321,"priority":1,"record_length":96,"hex_timestamp":"0000019fce678e68"} 
[2026-08-05 01:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183749120001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183749120001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:45:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:45:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183749120001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":150807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:45:53] local.INFO: GPS data processed {"connection_id":150807,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:45:53] local.INFO: Acknowledgment sent {"connection_id":150807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:46:16] local.INFO: TCP Data received {"connection_id":148178,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:46:16] local.INFO: Processing buffer {"connection_id":148178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:46:16] local.INFO: IMEI packet received {"connection_id":148178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":148178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:46:21] local.INFO: TCP Data received {"connection_id":148178,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:46:21] local.INFO: Processing buffer {"connection_id":148178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:46:21] local.INFO: IMEI packet received {"connection_id":148178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":148178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:46:22] local.INFO: TCP Data received {"connection_id":148178,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:46:22] local.INFO: Processing buffer {"connection_id":148178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:46:22] local.INFO: Packet analysis {"connection_id":148178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:46:22] local.INFO: Extracted packet for processing {"connection_id":148178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:46:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 01:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183749120001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874321000,"timestamp_ms":1785874321000,"timestamp_seconds":1785874321,"priority":1,"record_length":96,"hex_timestamp":"0000019fce678e68"} 
[2026-08-05 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-08-05 01:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:46: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-08-05 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-08-05 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-08-05 01:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183749120001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183749120001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:46:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:46:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183749120001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":148178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:46:22] local.INFO: GPS data processed {"connection_id":148178,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:46:22] local.INFO: Acknowledgment sent {"connection_id":148178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:46:53] local.INFO: TCP Data received {"connection_id":148178,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:46:53] local.INFO: Processing buffer {"connection_id":148178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:46:53] local.INFO: Packet analysis {"connection_id":148178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:46:53] local.INFO: Extracted packet for processing {"connection_id":148178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:46:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183749120001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874321000,"timestamp_ms":1785874321000,"timestamp_seconds":1785874321,"priority":1,"record_length":96,"hex_timestamp":"0000019fce678e68"} 
[2026-08-05 01:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183749120001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183749120001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:46:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:46:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183749120001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":148178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:46:53] local.INFO: GPS data processed {"connection_id":148178,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:46:53] local.INFO: Acknowledgment sent {"connection_id":148178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:47:21] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:47:21] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:47:21] local.INFO: IMEI packet received {"connection_id":148410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":148410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:47:26] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:47:26] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:47:26] local.INFO: IMEI packet received {"connection_id":148410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":148410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:47:27] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:47:27] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:47:27] local.INFO: Packet analysis {"connection_id":148410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:47:27] local.INFO: Extracted packet for processing {"connection_id":148410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:47:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183749120001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785874321000,"timestamp_ms":1785874321000,"timestamp_seconds":1785874321,"priority":1,"record_length":96,"hex_timestamp":"0000019fce678e68"} 
[2026-08-05 01:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01: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-08-05 01:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183749120001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183749120001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:47:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:47:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183749120001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":148410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:47:27] local.INFO: GPS data processed {"connection_id":148410,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:47:27] local.INFO: Acknowledgment sent {"connection_id":148410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:47:32] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:47:32] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce678e68012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:47:32] local.INFO: Packet analysis {"connection_id":148410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:47:32] local.INFO: Extracted packet for processing {"connection_id":148410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce67"} 
[2026-08-05 01:47:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183749120001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785874321000,"timestamp_ms":1785874321000,"timestamp_seconds":1785874321,"priority":1,"record_length":96,"hex_timestamp":"0000019fce678e68"} 
[2026-08-05 01:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 01:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183749120001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183749120001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:47:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:47:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183749120001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":148410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:47:32] local.INFO: GPS data processed {"connection_id":148410,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:47:32] local.INFO: Acknowledgment sent {"connection_id":148410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:48:16] local.INFO: TCP Data received {"connection_id":150808,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:48:16] local.INFO: Processing buffer {"connection_id":150808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:48:16] local.INFO: IMEI packet received {"connection_id":150808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":150808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:48:21] local.INFO: TCP Data received {"connection_id":150808,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:48:21] local.INFO: Processing buffer {"connection_id":150808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:48:21] local.INFO: IMEI packet received {"connection_id":150808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":150808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:48:22] local.INFO: TCP Data received {"connection_id":150808,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:48:22] local.INFO: Processing buffer {"connection_id":150808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:48:22] local.INFO: Packet analysis {"connection_id":150808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:48:22] local.INFO: Extracted packet for processing {"connection_id":150808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:48:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183826176001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874622000,"timestamp_ms":1785874622000,"timestamp_seconds":1785874622,"priority":1,"record_length":96,"hex_timestamp":"0000019fce6c2630"} 
[2026-08-05 01:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:48: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-08-05 01:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183826176001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183826176001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:48:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:48:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183826176001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":150808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:48:22] local.INFO: GPS data processed {"connection_id":150808,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:48:22] local.INFO: Acknowledgment sent {"connection_id":150808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:48:53] local.INFO: TCP Data received {"connection_id":150808,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:48:53] local.INFO: Processing buffer {"connection_id":150808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:48:53] local.INFO: Packet analysis {"connection_id":150808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:48:53] local.INFO: Extracted packet for processing {"connection_id":150808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:48:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183826176001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874622000,"timestamp_ms":1785874622000,"timestamp_seconds":1785874622,"priority":1,"record_length":96,"hex_timestamp":"0000019fce6c2630"} 
[2026-08-05 01:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183826176001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183826176001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:48:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:48:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183826176001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":150808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:48:53] local.INFO: GPS data processed {"connection_id":150808,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:48:53] local.INFO: Acknowledgment sent {"connection_id":150808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:49:16] local.INFO: TCP Data received {"connection_id":148179,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:49:16] local.INFO: Processing buffer {"connection_id":148179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:49:16] local.INFO: IMEI packet received {"connection_id":148179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":148179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:49:21] local.INFO: TCP Data received {"connection_id":148179,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:49:21] local.INFO: Processing buffer {"connection_id":148179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:49:21] local.INFO: IMEI packet received {"connection_id":148179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":148179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:49:22] local.INFO: TCP Data received {"connection_id":148179,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:49:22] local.INFO: Processing buffer {"connection_id":148179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:49:22] local.INFO: Packet analysis {"connection_id":148179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:49:22] local.INFO: Extracted packet for processing {"connection_id":148179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:49:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183826176001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874622000,"timestamp_ms":1785874622000,"timestamp_seconds":1785874622,"priority":1,"record_length":96,"hex_timestamp":"0000019fce6c2630"} 
[2026-08-05 01:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:49: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-08-05 01:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183826176001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183826176001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:49:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:49:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183826176001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":148179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:49:22] local.INFO: GPS data processed {"connection_id":148179,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:49:22] local.INFO: Acknowledgment sent {"connection_id":148179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:49:54] local.INFO: TCP Data received {"connection_id":148179,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:49:54] local.INFO: Processing buffer {"connection_id":148179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:49:54] local.INFO: Packet analysis {"connection_id":148179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:49:54] local.INFO: Extracted packet for processing {"connection_id":148179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:49:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01: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-08-05 01:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183826176001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785874622000,"timestamp_ms":1785874622000,"timestamp_seconds":1785874622,"priority":1,"record_length":96,"hex_timestamp":"0000019fce6c2630"} 
[2026-08-05 01:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01: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-08-05 01:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183826176001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183826176001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:49:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:49:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183826176001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":148179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:49:54] local.INFO: GPS data processed {"connection_id":148179,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:49:54] local.INFO: Acknowledgment sent {"connection_id":148179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:50:16] local.INFO: TCP Data received {"connection_id":148180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:50:16] local.INFO: Processing buffer {"connection_id":148180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:50:16] local.INFO: IMEI packet received {"connection_id":148180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":148180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:50:21] local.INFO: TCP Data received {"connection_id":148180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:50:21] local.INFO: Processing buffer {"connection_id":148180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:50:21] local.INFO: IMEI packet received {"connection_id":148180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":148180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:50:22] local.INFO: TCP Data received {"connection_id":148180,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:50:22] local.INFO: Processing buffer {"connection_id":148180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:50:22] local.INFO: Packet analysis {"connection_id":148180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:50:22] local.INFO: Extracted packet for processing {"connection_id":148180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:50:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183826176001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874622000,"timestamp_ms":1785874622000,"timestamp_seconds":1785874622,"priority":1,"record_length":96,"hex_timestamp":"0000019fce6c2630"} 
[2026-08-05 01:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:50: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-08-05 01:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183826176001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183826176001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:50:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:50:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183826176001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":148180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:50:22] local.INFO: GPS data processed {"connection_id":148180,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:50:22] local.INFO: Acknowledgment sent {"connection_id":148180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:50:53] local.INFO: TCP Data received {"connection_id":148180,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:50:53] local.INFO: Processing buffer {"connection_id":148180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:50:53] local.INFO: Packet analysis {"connection_id":148180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:50:53] local.INFO: Extracted packet for processing {"connection_id":148180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:50:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183826176001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874622000,"timestamp_ms":1785874622000,"timestamp_seconds":1785874622,"priority":1,"record_length":96,"hex_timestamp":"0000019fce6c2630"} 
[2026-08-05 01:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183826176001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183826176001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:50:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:50:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183826176001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":148180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:50:53] local.INFO: GPS data processed {"connection_id":148180,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:50:53] local.INFO: Acknowledgment sent {"connection_id":148180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:51:21] local.INFO: TCP Data received {"connection_id":149404,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:51:21] local.INFO: Processing buffer {"connection_id":149404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:51:21] local.INFO: IMEI packet received {"connection_id":149404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":149404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:51:26] local.INFO: TCP Data received {"connection_id":149404,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:51:26] local.INFO: Processing buffer {"connection_id":149404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:51:26] local.INFO: IMEI packet received {"connection_id":149404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":149404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:51:27] local.INFO: TCP Data received {"connection_id":149404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:51:27] local.INFO: Processing buffer {"connection_id":149404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:51:27] local.INFO: Packet analysis {"connection_id":149404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:51:27] local.INFO: Extracted packet for processing {"connection_id":149404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:51:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183826176001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785874622000,"timestamp_ms":1785874622000,"timestamp_seconds":1785874622,"priority":1,"record_length":96,"hex_timestamp":"0000019fce6c2630"} 
[2026-08-05 01:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183826176001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183826176001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:51:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:51:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183826176001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":149404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:51:27] local.INFO: GPS data processed {"connection_id":149404,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:51:27] local.INFO: Acknowledgment sent {"connection_id":149404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:51:32] local.INFO: TCP Data received {"connection_id":149404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:51:32] local.INFO: Processing buffer {"connection_id":149404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:51:32] local.INFO: Packet analysis {"connection_id":149404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:51:32] local.INFO: Extracted packet for processing {"connection_id":149404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:51:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183826176001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785874622000,"timestamp_ms":1785874622000,"timestamp_seconds":1785874622,"priority":1,"record_length":96,"hex_timestamp":"0000019fce6c2630"} 
[2026-08-05 01:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183826176001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183826176001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:51:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:51:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183826176001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":149404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:51:32] local.INFO: GPS data processed {"connection_id":149404,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:51:32] local.INFO: Acknowledgment sent {"connection_id":149404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:52:16] local.INFO: TCP Data received {"connection_id":148181,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:52:16] local.INFO: Processing buffer {"connection_id":148181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:52:16] local.INFO: IMEI packet received {"connection_id":148181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":148181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:52:21] local.INFO: TCP Data received {"connection_id":148181,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:52:21] local.INFO: Processing buffer {"connection_id":148181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:52:21] local.INFO: IMEI packet received {"connection_id":148181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":148181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:52:22] local.INFO: TCP Data received {"connection_id":148181,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:52:22] local.INFO: Processing buffer {"connection_id":148181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce6c2630012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 01:52:22] local.INFO: Packet analysis {"connection_id":148181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:52:22] local.INFO: Extracted packet for processing {"connection_id":148181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce6c"} 
[2026-08-05 01:52:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183826176001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874622000,"timestamp_ms":1785874622000,"timestamp_seconds":1785874622,"priority":1,"record_length":96,"hex_timestamp":"0000019fce6c2630"} 
[2026-08-05 01:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:52: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-08-05 01:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183826176001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183826176001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:52:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:52:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183826176001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":148181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:52:22] local.INFO: GPS data processed {"connection_id":148181,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:52:22] local.INFO: Acknowledgment sent {"connection_id":148181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:52:53] local.INFO: TCP Data received {"connection_id":148181,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:52:53] local.INFO: Processing buffer {"connection_id":148181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:52:53] local.INFO: Packet analysis {"connection_id":148181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:52:53] local.INFO: Extracted packet for processing {"connection_id":148181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:52:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183903232001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874923000,"timestamp_ms":1785874923000,"timestamp_seconds":1785874923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce70bdf8"} 
[2026-08-05 01:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183903232001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183903232001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:52:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:52:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183903232001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":148181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:52:53] local.INFO: GPS data processed {"connection_id":148181,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:52:53] local.INFO: Acknowledgment sent {"connection_id":148181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:53:16] local.INFO: TCP Data received {"connection_id":149405,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:53:16] local.INFO: Processing buffer {"connection_id":149405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:53:16] local.INFO: IMEI packet received {"connection_id":149405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":149405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:53:21] local.INFO: TCP Data received {"connection_id":149405,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:53:21] local.INFO: Processing buffer {"connection_id":149405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:53:21] local.INFO: IMEI packet received {"connection_id":149405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":149405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:53:22] local.INFO: TCP Data received {"connection_id":149405,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:53:22] local.INFO: Processing buffer {"connection_id":149405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:53:22] local.INFO: Packet analysis {"connection_id":149405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:53:22] local.INFO: Extracted packet for processing {"connection_id":149405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:53:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183903232001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874923000,"timestamp_ms":1785874923000,"timestamp_seconds":1785874923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce70bdf8"} 
[2026-08-05 01:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:53: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-08-05 01: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183903232001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183903232001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:53:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:53:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183903232001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":149405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:53:22] local.INFO: GPS data processed {"connection_id":149405,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:53:22] local.INFO: Acknowledgment sent {"connection_id":149405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:53:53] local.INFO: TCP Data received {"connection_id":149405,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:53:53] local.INFO: Processing buffer {"connection_id":149405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:53:53] local.INFO: Packet analysis {"connection_id":149405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:53:53] local.INFO: Extracted packet for processing {"connection_id":149405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:53:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183903232001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874923000,"timestamp_ms":1785874923000,"timestamp_seconds":1785874923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce70bdf8"} 
[2026-08-05 01:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183903232001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183903232001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:53:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:53:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183903232001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":149405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:53:53] local.INFO: GPS data processed {"connection_id":149405,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:53:53] local.INFO: Acknowledgment sent {"connection_id":149405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:54:16] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:54:16] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:54:16] local.INFO: IMEI packet received {"connection_id":148411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":148411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:54:21] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:54:21] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:54:21] local.INFO: IMEI packet received {"connection_id":148411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":148411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:54:22] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:54:22] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:54:22] local.INFO: Packet analysis {"connection_id":148411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:54:22] local.INFO: Extracted packet for processing {"connection_id":148411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:54:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183903232001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874923000,"timestamp_ms":1785874923000,"timestamp_seconds":1785874923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce70bdf8"} 
[2026-08-05 01:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:54: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-08-05 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183903232001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183903232001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:54:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:54:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183903232001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":148411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:54:22] local.INFO: GPS data processed {"connection_id":148411,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:54:22] local.INFO: Acknowledgment sent {"connection_id":148411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:54:55] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:54:55] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:54:55] local.INFO: Packet analysis {"connection_id":148411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:54:55] local.INFO: Extracted packet for processing {"connection_id":148411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:54:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183903232001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785874923000,"timestamp_ms":1785874923000,"timestamp_seconds":1785874923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce70bdf8"} 
[2026-08-05 01:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01: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-08-05 01:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:54: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-08-05 01:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183903232001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183903232001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:54:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:54:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183903232001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":148411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:54:55] local.INFO: GPS data processed {"connection_id":148411,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:54:55] local.INFO: Acknowledgment sent {"connection_id":148411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:55:16] local.INFO: TCP Data received {"connection_id":149406,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:55:16] local.INFO: Processing buffer {"connection_id":149406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:55:16] local.INFO: IMEI packet received {"connection_id":149406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":149406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:55:21] local.INFO: TCP Data received {"connection_id":149406,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:55:21] local.INFO: Processing buffer {"connection_id":149406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:55:21] local.INFO: IMEI packet received {"connection_id":149406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":149406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:55:22] local.INFO: TCP Data received {"connection_id":149406,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:55:22] local.INFO: Processing buffer {"connection_id":149406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:55:22] local.INFO: Packet analysis {"connection_id":149406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:55:22] local.INFO: Extracted packet for processing {"connection_id":149406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:55:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183903232001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874923000,"timestamp_ms":1785874923000,"timestamp_seconds":1785874923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce70bdf8"} 
[2026-08-05 01:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:55: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-08-05 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183903232001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183903232001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:55:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:55:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183903232001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":149406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:55:22] local.INFO: GPS data processed {"connection_id":149406,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:55:22] local.INFO: Acknowledgment sent {"connection_id":149406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:55:53] local.INFO: TCP Data received {"connection_id":149406,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:55:53] local.INFO: Processing buffer {"connection_id":149406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:55:53] local.INFO: Packet analysis {"connection_id":149406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:55:53] local.INFO: Extracted packet for processing {"connection_id":149406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:55:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183903232001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785874923000,"timestamp_ms":1785874923000,"timestamp_seconds":1785874923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce70bdf8"} 
[2026-08-05 01:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183903232001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183903232001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:55:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:55:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183903232001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":149406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:55:53] local.INFO: GPS data processed {"connection_id":149406,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:55:53] local.INFO: Acknowledgment sent {"connection_id":149406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:56:21] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:56:21] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:56:21] local.INFO: IMEI packet received {"connection_id":148412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":148412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:56:26] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:56:26] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:56:26] local.INFO: IMEI packet received {"connection_id":148412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":148412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:56:27] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:56:27] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:56:27] local.INFO: Packet analysis {"connection_id":148412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:56:27] local.INFO: Extracted packet for processing {"connection_id":148412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:56:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183903232001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785874923000,"timestamp_ms":1785874923000,"timestamp_seconds":1785874923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce70bdf8"} 
[2026-08-05 01:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183903232001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183903232001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:56:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:56:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183903232001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":148412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:56:27] local.INFO: GPS data processed {"connection_id":148412,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:56:27] local.INFO: Acknowledgment sent {"connection_id":148412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:56:32] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:56:32] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:56:32] local.INFO: Packet analysis {"connection_id":148412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:56:32] local.INFO: Extracted packet for processing {"connection_id":148412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:56:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183903232001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785874923000,"timestamp_ms":1785874923000,"timestamp_seconds":1785874923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce70bdf8"} 
[2026-08-05 01:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183903232001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183903232001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:56:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:56:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183903232001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":148412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:56:32] local.INFO: GPS data processed {"connection_id":148412,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:56:32] local.INFO: Acknowledgment sent {"connection_id":148412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:57:16] local.INFO: TCP Data received {"connection_id":148413,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:57:16] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:57:16] local.INFO: IMEI packet received {"connection_id":148413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":148413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:57:21] local.INFO: TCP Data received {"connection_id":148413,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:57:21] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:57:21] local.INFO: IMEI packet received {"connection_id":148413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":148413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:57:22] local.INFO: TCP Data received {"connection_id":148413,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:57:22] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce70bdf8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 01:57:22] local.INFO: Packet analysis {"connection_id":148413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:57:22] local.INFO: Extracted packet for processing {"connection_id":148413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce70"} 
[2026-08-05 01:57:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183903232001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785874923000,"timestamp_ms":1785874923000,"timestamp_seconds":1785874923,"priority":1,"record_length":96,"hex_timestamp":"0000019fce70bdf8"} 
[2026-08-05 01:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:57: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-08-05 01:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 01:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183903232001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183903232001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:57:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:57:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183903232001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":148413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:57:22] local.INFO: GPS data processed {"connection_id":148413,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:57:22] local.INFO: Acknowledgment sent {"connection_id":148413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:57:53] local.INFO: TCP Data received {"connection_id":148413,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:57:53] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:57:53] local.INFO: Packet analysis {"connection_id":148413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 01:57:53] local.INFO: Extracted packet for processing {"connection_id":148413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 01:57:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183980288001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785875224000,"timestamp_ms":1785875224000,"timestamp_seconds":1785875224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7555c0"} 
[2026-08-05 01:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183980288001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183980288001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:57:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:57:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183980288001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":148413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:57:53] local.INFO: GPS data processed {"connection_id":148413,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:57:53] local.INFO: Acknowledgment sent {"connection_id":148413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:58:16] local.INFO: TCP Data received {"connection_id":148182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:58:16] local.INFO: Processing buffer {"connection_id":148182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:58:16] local.INFO: IMEI packet received {"connection_id":148182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":148182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:58:21] local.INFO: TCP Data received {"connection_id":148182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:58:21] local.INFO: Processing buffer {"connection_id":148182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:58:21] local.INFO: IMEI packet received {"connection_id":148182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":148182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:58:22] local.INFO: TCP Data received {"connection_id":148182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:58:22] local.INFO: Processing buffer {"connection_id":148182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:58:22] local.INFO: Packet analysis {"connection_id":148182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 01:58:22] local.INFO: Extracted packet for processing {"connection_id":148182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 01:58:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183980288001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875224000,"timestamp_ms":1785875224000,"timestamp_seconds":1785875224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7555c0"} 
[2026-08-05 01:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:58: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-08-05 01:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183980288001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183980288001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:58:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:58:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183980288001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":148182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:58:22] local.INFO: GPS data processed {"connection_id":148182,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:58:22] local.INFO: Acknowledgment sent {"connection_id":148182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:58:56] local.INFO: TCP Data received {"connection_id":148182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:58:56] local.INFO: Processing buffer {"connection_id":148182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:58:56] local.INFO: Packet analysis {"connection_id":148182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 01:58:56] local.INFO: Extracted packet for processing {"connection_id":148182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 01:58:56] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183980288001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785875224000,"timestamp_ms":1785875224000,"timestamp_seconds":1785875224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7555c0"} 
[2026-08-05 01:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183980288001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183980288001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:58:56] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:58:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183980288001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":148182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:58:56] local.INFO: GPS data processed {"connection_id":148182,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:58:56] local.INFO: Acknowledgment sent {"connection_id":148182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:59:16] local.INFO: TCP Data received {"connection_id":150809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:59:16] local.INFO: Processing buffer {"connection_id":150809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:59:16] local.INFO: IMEI packet received {"connection_id":150809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 01:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":150809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 01:59:21] local.INFO: TCP Data received {"connection_id":150809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:59:21] local.INFO: Processing buffer {"connection_id":150809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 01:59:21] local.INFO: IMEI packet received {"connection_id":150809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 01:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":150809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 01:59:22] local.INFO: TCP Data received {"connection_id":150809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:59:22] local.INFO: Processing buffer {"connection_id":150809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:59:22] local.INFO: Packet analysis {"connection_id":150809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 01:59:22] local.INFO: Extracted packet for processing {"connection_id":150809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 01:59:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183980288001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875224000,"timestamp_ms":1785875224000,"timestamp_seconds":1785875224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7555c0"} 
[2026-08-05 01:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:59: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-08-05 01:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183980288001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183980288001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:59:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:59:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183980288001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":150809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:59:22] local.INFO: GPS data processed {"connection_id":150809,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:59:22] local.INFO: Acknowledgment sent {"connection_id":150809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 01:59:52] local.INFO: TCP Data received {"connection_id":150809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:59:52] local.INFO: Processing buffer {"connection_id":150809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 01:59:52] local.INFO: Packet analysis {"connection_id":150809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 01:59:52] local.INFO: Extracted packet for processing {"connection_id":150809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 01:59:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 01:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 01:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183980288001,"note":"Value kept but may cause issues"} 
[2026-08-05 01:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 01:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 01:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 01:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785875224000,"timestamp_ms":1785875224000,"timestamp_seconds":1785875224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7555c0"} 
[2026-08-05 01:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 01:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 01:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 01:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 01:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 01:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 01:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 01:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 01:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 01:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 01:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 01:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 01:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183980288001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 01:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 01:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 01:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183980288001,"description":"Unknown IO ID 0"} 
[2026-08-05 01:59:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 01:59:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 01:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 01:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 01:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183980288001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 01:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":150809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 01:59:52] local.INFO: GPS data processed {"connection_id":150809,"processed":1,"errors":0,"total":1} 
[2026-08-05 01:59:52] local.INFO: Acknowledgment sent {"connection_id":150809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:00:16] local.INFO: TCP Data received {"connection_id":149407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:00:16] local.INFO: Processing buffer {"connection_id":149407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:00:16] local.INFO: IMEI packet received {"connection_id":149407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":149407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:00:21] local.INFO: TCP Data received {"connection_id":149407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:00:21] local.INFO: Processing buffer {"connection_id":149407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:00:21] local.INFO: IMEI packet received {"connection_id":149407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":149407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:00:29] local.INFO: TCP Data received {"connection_id":149407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:00:29] local.INFO: Processing buffer {"connection_id":149407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:00:29] local.INFO: Packet analysis {"connection_id":149407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 02:00:29] local.INFO: Extracted packet for processing {"connection_id":149407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 02:00:29] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183980288001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785875224000,"timestamp_ms":1785875224000,"timestamp_seconds":1785875224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7555c0"} 
[2026-08-05 02:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183980288001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183980288001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:00:29] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:00:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183980288001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":149407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:00:29] local.INFO: GPS data processed {"connection_id":149407,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:00:29] local.INFO: Acknowledgment sent {"connection_id":149407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:01:00] local.INFO: TCP Data received {"connection_id":149407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:01:00] local.INFO: Processing buffer {"connection_id":149407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:01:00] local.INFO: Packet analysis {"connection_id":149407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 02:01:00] local.INFO: Extracted packet for processing {"connection_id":149407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 02:01:00] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183980288001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785875224000,"timestamp_ms":1785875224000,"timestamp_seconds":1785875224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7555c0"} 
[2026-08-05 02:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183980288001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183980288001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:01:00] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:01:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183980288001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":149407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:01:00] local.INFO: GPS data processed {"connection_id":149407,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:01:00] local.INFO: Acknowledgment sent {"connection_id":149407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:01:16] local.INFO: TCP Data received {"connection_id":150810,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:01:16] local.INFO: Processing buffer {"connection_id":150810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:01:16] local.INFO: IMEI packet received {"connection_id":150810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":150810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:01:21] local.INFO: TCP Data received {"connection_id":150810,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:01:21] local.INFO: Processing buffer {"connection_id":150810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:01:21] local.INFO: IMEI packet received {"connection_id":150810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":150810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:01:22] local.INFO: TCP Data received {"connection_id":150810,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:01:22] local.INFO: Processing buffer {"connection_id":150810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:01:22] local.INFO: Packet analysis {"connection_id":150810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 02:01:22] local.INFO: Extracted packet for processing {"connection_id":150810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 02:01:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183980288001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875224000,"timestamp_ms":1785875224000,"timestamp_seconds":1785875224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7555c0"} 
[2026-08-05 02:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:01: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-08-05 02: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183980288001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183980288001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:01:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:01:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183980288001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":150810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:01:22] local.INFO: GPS data processed {"connection_id":150810,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:01:22] local.INFO: Acknowledgment sent {"connection_id":150810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:01:52] local.INFO: TCP Data received {"connection_id":150810,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:01:52] local.INFO: Processing buffer {"connection_id":150810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:01:52] local.INFO: Packet analysis {"connection_id":150810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 02:01:52] local.INFO: Extracted packet for processing {"connection_id":150810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 02:01:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183980288001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785875224000,"timestamp_ms":1785875224000,"timestamp_seconds":1785875224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7555c0"} 
[2026-08-05 02:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183980288001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183980288001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:01:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:01:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183980288001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":150810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:01:52] local.INFO: GPS data processed {"connection_id":150810,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:01:52] local.INFO: Acknowledgment sent {"connection_id":150810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:02:16] local.INFO: TCP Data received {"connection_id":149408,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:02:16] local.INFO: Processing buffer {"connection_id":149408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:02:16] local.INFO: IMEI packet received {"connection_id":149408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":149408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:02:21] local.INFO: TCP Data received {"connection_id":149408,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:02:21] local.INFO: Processing buffer {"connection_id":149408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:02:21] local.INFO: IMEI packet received {"connection_id":149408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":149408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:02:22] local.INFO: TCP Data received {"connection_id":149408,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:02:22] local.INFO: Processing buffer {"connection_id":149408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7555c0012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:02:22] local.INFO: Packet analysis {"connection_id":149408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 02:02:22] local.INFO: Extracted packet for processing {"connection_id":149408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce75"} 
[2026-08-05 02:02:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 02:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457183980288001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875224000,"timestamp_ms":1785875224000,"timestamp_seconds":1785875224,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7555c0"} 
[2026-08-05 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-08-05 02:02: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-08-05 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":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 02:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 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-08-05 02:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457183980288001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457183980288001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:02:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:02:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457183980288001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":149408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:02:22] local.INFO: GPS data processed {"connection_id":149408,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:02:22] local.INFO: Acknowledgment sent {"connection_id":149408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:02:53] local.INFO: TCP Data received {"connection_id":149408,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:02:53] local.INFO: Processing buffer {"connection_id":149408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:02:53] local.INFO: Packet analysis {"connection_id":149408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:02:53] local.INFO: Extracted packet for processing {"connection_id":149408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:02:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184057344001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785875525000,"timestamp_ms":1785875525000,"timestamp_seconds":1785875525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce79ed88"} 
[2026-08-05 02:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184057344001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184057344001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:02:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:02:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184057344001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":149408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:02:53] local.INFO: GPS data processed {"connection_id":149408,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:02:53] local.INFO: Acknowledgment sent {"connection_id":149408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:03:16] local.INFO: TCP Data received {"connection_id":149409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:03:16] local.INFO: Processing buffer {"connection_id":149409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:03:16] local.INFO: IMEI packet received {"connection_id":149409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":149409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:03:21] local.INFO: TCP Data received {"connection_id":149409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:03:21] local.INFO: Processing buffer {"connection_id":149409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:03:21] local.INFO: IMEI packet received {"connection_id":149409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":149409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:03:22] local.INFO: TCP Data received {"connection_id":149409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:03:22] local.INFO: Processing buffer {"connection_id":149409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:03:22] local.INFO: Packet analysis {"connection_id":149409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:03:22] local.INFO: Extracted packet for processing {"connection_id":149409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:03:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 02:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184057344001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875525000,"timestamp_ms":1785875525000,"timestamp_seconds":1785875525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce79ed88"} 
[2026-08-05 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-08-05 02:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 02:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 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-08-05 02:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184057344001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184057344001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:03:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:03:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184057344001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":149409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:03:22] local.INFO: GPS data processed {"connection_id":149409,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:03:22] local.INFO: Acknowledgment sent {"connection_id":149409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:03:53] local.INFO: TCP Data received {"connection_id":149409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:03:53] local.INFO: Processing buffer {"connection_id":149409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:03:53] local.INFO: Packet analysis {"connection_id":149409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:03:53] local.INFO: Extracted packet for processing {"connection_id":149409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:03:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184057344001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785875525000,"timestamp_ms":1785875525000,"timestamp_seconds":1785875525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce79ed88"} 
[2026-08-05 02:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 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-08-05 02:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184057344001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184057344001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:03:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:03:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184057344001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":149409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:03:53] local.INFO: GPS data processed {"connection_id":149409,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:03:53] local.INFO: Acknowledgment sent {"connection_id":149409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:04:16] local.INFO: TCP Data received {"connection_id":150811,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:04:16] local.INFO: Processing buffer {"connection_id":150811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:04:16] local.INFO: IMEI packet received {"connection_id":150811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":150811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:04:21] local.INFO: TCP Data received {"connection_id":150811,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:04:21] local.INFO: Processing buffer {"connection_id":150811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:04:21] local.INFO: IMEI packet received {"connection_id":150811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":150811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:04:22] local.INFO: TCP Data received {"connection_id":150811,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:04:22] local.INFO: Processing buffer {"connection_id":150811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:04:22] local.INFO: Packet analysis {"connection_id":150811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:04:22] local.INFO: Extracted packet for processing {"connection_id":150811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:04:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184057344001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875525000,"timestamp_ms":1785875525000,"timestamp_seconds":1785875525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce79ed88"} 
[2026-08-05 02:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184057344001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184057344001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:04:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:04:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184057344001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":150811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:04:22] local.INFO: GPS data processed {"connection_id":150811,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:04:22] local.INFO: Acknowledgment sent {"connection_id":150811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:04:53] local.INFO: TCP Data received {"connection_id":150811,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:04:53] local.INFO: Processing buffer {"connection_id":150811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:04:53] local.INFO: Packet analysis {"connection_id":150811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:04:53] local.INFO: Extracted packet for processing {"connection_id":150811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:04:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184057344001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785875525000,"timestamp_ms":1785875525000,"timestamp_seconds":1785875525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce79ed88"} 
[2026-08-05 02:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184057344001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184057344001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:04:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:04:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184057344001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":150811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:04:53] local.INFO: GPS data processed {"connection_id":150811,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:04:53] local.INFO: Acknowledgment sent {"connection_id":150811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:05:16] local.INFO: TCP Data received {"connection_id":150812,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:05:16] local.INFO: Processing buffer {"connection_id":150812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:05:16] local.INFO: IMEI packet received {"connection_id":150812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":150812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:05:21] local.INFO: TCP Data received {"connection_id":150812,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:05:21] local.INFO: Processing buffer {"connection_id":150812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:05:21] local.INFO: IMEI packet received {"connection_id":150812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":150812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:05:22] local.INFO: TCP Data received {"connection_id":150812,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:05:22] local.INFO: Processing buffer {"connection_id":150812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:05:22] local.INFO: Packet analysis {"connection_id":150812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:05:22] local.INFO: Extracted packet for processing {"connection_id":150812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:05:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184057344001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875525000,"timestamp_ms":1785875525000,"timestamp_seconds":1785875525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce79ed88"} 
[2026-08-05 02:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184057344001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184057344001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:05:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:05:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184057344001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":150812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:05:22] local.INFO: GPS data processed {"connection_id":150812,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:05:22] local.INFO: Acknowledgment sent {"connection_id":150812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:05:53] local.INFO: TCP Data received {"connection_id":150812,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:05:53] local.INFO: Processing buffer {"connection_id":150812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:05:53] local.INFO: Packet analysis {"connection_id":150812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:05:53] local.INFO: Extracted packet for processing {"connection_id":150812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:05:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184057344001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785875525000,"timestamp_ms":1785875525000,"timestamp_seconds":1785875525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce79ed88"} 
[2026-08-05 02:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184057344001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184057344001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:05:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:05:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184057344001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":150812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:05:53] local.INFO: GPS data processed {"connection_id":150812,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:05:53] local.INFO: Acknowledgment sent {"connection_id":150812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:06:16] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:06:16] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:06:16] local.INFO: IMEI packet received {"connection_id":148414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":148414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:06:21] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:06:21] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:06:21] local.INFO: IMEI packet received {"connection_id":148414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":148414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:06:22] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:06:22] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:06:22] local.INFO: Packet analysis {"connection_id":148414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:06:22] local.INFO: Extracted packet for processing {"connection_id":148414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:06:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184057344001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875525000,"timestamp_ms":1785875525000,"timestamp_seconds":1785875525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce79ed88"} 
[2026-08-05 02:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184057344001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184057344001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:06:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:06:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184057344001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":148414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:06:22] local.INFO: GPS data processed {"connection_id":148414,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:06:22] local.INFO: Acknowledgment sent {"connection_id":148414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:06:53] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:06:53] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:06:53] local.INFO: Packet analysis {"connection_id":148414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:06:53] local.INFO: Extracted packet for processing {"connection_id":148414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:06:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184057344001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785875525000,"timestamp_ms":1785875525000,"timestamp_seconds":1785875525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce79ed88"} 
[2026-08-05 02:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184057344001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184057344001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:06:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:06:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184057344001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":148414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:06:53] local.INFO: GPS data processed {"connection_id":148414,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:06:53] local.INFO: Acknowledgment sent {"connection_id":148414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:07:16] local.INFO: TCP Data received {"connection_id":150813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:07:16] local.INFO: Processing buffer {"connection_id":150813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:07:16] local.INFO: IMEI packet received {"connection_id":150813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":150813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:07:21] local.INFO: TCP Data received {"connection_id":150813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:07:21] local.INFO: Processing buffer {"connection_id":150813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:07:21] local.INFO: IMEI packet received {"connection_id":150813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":150813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:07:22] local.INFO: TCP Data received {"connection_id":150813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:07:22] local.INFO: Processing buffer {"connection_id":150813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce79ed88012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:07:22] local.INFO: Packet analysis {"connection_id":150813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:07:22] local.INFO: Extracted packet for processing {"connection_id":150813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce79"} 
[2026-08-05 02:07:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184057344001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875525000,"timestamp_ms":1785875525000,"timestamp_seconds":1785875525,"priority":1,"record_length":96,"hex_timestamp":"0000019fce79ed88"} 
[2026-08-05 02:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 02:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184057344001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184057344001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:07:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:07:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184057344001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":150813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:07:22] local.INFO: GPS data processed {"connection_id":150813,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:07:22] local.INFO: Acknowledgment sent {"connection_id":150813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:07:55] local.INFO: TCP Data received {"connection_id":150813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:07:55] local.INFO: Processing buffer {"connection_id":150813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:07:55] local.INFO: Packet analysis {"connection_id":150813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:07:55] local.INFO: Extracted packet for processing {"connection_id":150813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:07:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184134400001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785875826000,"timestamp_ms":1785875826000,"timestamp_seconds":1785875826,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7e8550"} 
[2026-08-05 02:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02: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-08-05 02:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184134400001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184134400001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:07:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:07:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184134400001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":150813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:07:55] local.INFO: GPS data processed {"connection_id":150813,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:07:55] local.INFO: Acknowledgment sent {"connection_id":150813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:08:16] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:08:16] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:08:16] local.INFO: IMEI packet received {"connection_id":148415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":148415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:08:21] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:08:21] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:08:21] local.INFO: IMEI packet received {"connection_id":148415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":148415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:08:22] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:08:22] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:08:22] local.INFO: Packet analysis {"connection_id":148415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:08:22] local.INFO: Extracted packet for processing {"connection_id":148415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:08:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184134400001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875826000,"timestamp_ms":1785875826000,"timestamp_seconds":1785875826,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7e8550"} 
[2026-08-05 02:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184134400001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184134400001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:08:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:08:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184134400001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":148415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:08:22] local.INFO: GPS data processed {"connection_id":148415,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:08:22] local.INFO: Acknowledgment sent {"connection_id":148415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:08:53] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:08:53] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:08:53] local.INFO: Packet analysis {"connection_id":148415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:08:53] local.INFO: Extracted packet for processing {"connection_id":148415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:08:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184134400001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785875826000,"timestamp_ms":1785875826000,"timestamp_seconds":1785875826,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7e8550"} 
[2026-08-05 02:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184134400001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184134400001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:08:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:08:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184134400001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":148415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:08:53] local.INFO: GPS data processed {"connection_id":148415,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:08:53] local.INFO: Acknowledgment sent {"connection_id":148415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:09:16] local.INFO: TCP Data received {"connection_id":149410,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:09:16] local.INFO: Processing buffer {"connection_id":149410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:09:16] local.INFO: IMEI packet received {"connection_id":149410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":149410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:09:21] local.INFO: TCP Data received {"connection_id":149410,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:09:21] local.INFO: Processing buffer {"connection_id":149410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:09:21] local.INFO: IMEI packet received {"connection_id":149410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":149410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:09:22] local.INFO: TCP Data received {"connection_id":149410,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:09:22] local.INFO: Processing buffer {"connection_id":149410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:09:22] local.INFO: Packet analysis {"connection_id":149410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:09:22] local.INFO: Extracted packet for processing {"connection_id":149410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:09:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184134400001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875826000,"timestamp_ms":1785875826000,"timestamp_seconds":1785875826,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7e8550"} 
[2026-08-05 02:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184134400001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184134400001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:09:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:09:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184134400001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":149410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:09:22] local.INFO: GPS data processed {"connection_id":149410,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:09:22] local.INFO: Acknowledgment sent {"connection_id":149410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:09:53] local.INFO: TCP Data received {"connection_id":149410,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:09:53] local.INFO: Processing buffer {"connection_id":149410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:09:53] local.INFO: Packet analysis {"connection_id":149410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:09:53] local.INFO: Extracted packet for processing {"connection_id":149410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:09:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184134400001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785875826000,"timestamp_ms":1785875826000,"timestamp_seconds":1785875826,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7e8550"} 
[2026-08-05 02:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184134400001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184134400001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:09:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:09:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184134400001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":149410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:09:53] local.INFO: GPS data processed {"connection_id":149410,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:09:53] local.INFO: Acknowledgment sent {"connection_id":149410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:10:16] local.INFO: TCP Data received {"connection_id":150814,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:10:16] local.INFO: Processing buffer {"connection_id":150814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:10:16] local.INFO: IMEI packet received {"connection_id":150814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":150814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:10:21] local.INFO: TCP Data received {"connection_id":150814,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:10:21] local.INFO: Processing buffer {"connection_id":150814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:10:21] local.INFO: IMEI packet received {"connection_id":150814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":150814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:10:25] local.INFO: TCP Data received {"connection_id":150814,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:10:25] local.INFO: Processing buffer {"connection_id":150814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:10:25] local.INFO: Packet analysis {"connection_id":150814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:10:25] local.INFO: Extracted packet for processing {"connection_id":150814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:10:25] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184134400001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785875826000,"timestamp_ms":1785875826000,"timestamp_seconds":1785875826,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7e8550"} 
[2026-08-05 02:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184134400001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184134400001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:10:25] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:10:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184134400001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":150814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:10:25] local.INFO: GPS data processed {"connection_id":150814,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:10:25] local.INFO: Acknowledgment sent {"connection_id":150814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:10:56] local.INFO: TCP Data received {"connection_id":150814,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:10:56] local.INFO: Processing buffer {"connection_id":150814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:10:56] local.INFO: Packet analysis {"connection_id":150814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:10:56] local.INFO: Extracted packet for processing {"connection_id":150814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:10:56] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184134400001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785875826000,"timestamp_ms":1785875826000,"timestamp_seconds":1785875826,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7e8550"} 
[2026-08-05 02:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":150814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":150814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":150814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184134400001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184134400001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:10:56] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:10:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184134400001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":150814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:10:56] local.INFO: GPS data processed {"connection_id":150814,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:10:56] local.INFO: Acknowledgment sent {"connection_id":150814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:11:16] local.INFO: TCP Data received {"connection_id":150815,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:11:16] local.INFO: Processing buffer {"connection_id":150815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:11:16] local.INFO: IMEI packet received {"connection_id":150815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":150815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:11:21] local.INFO: TCP Data received {"connection_id":150815,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:11:21] local.INFO: Processing buffer {"connection_id":150815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:11:21] local.INFO: IMEI packet received {"connection_id":150815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":150815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:11:22] local.INFO: TCP Data received {"connection_id":150815,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:11:22] local.INFO: Processing buffer {"connection_id":150815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:11:22] local.INFO: Packet analysis {"connection_id":150815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:11:22] local.INFO: Extracted packet for processing {"connection_id":150815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:11:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184134400001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785875826000,"timestamp_ms":1785875826000,"timestamp_seconds":1785875826,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7e8550"} 
[2026-08-05 02:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184134400001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184134400001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:11:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:11:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184134400001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":150815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:11:22] local.INFO: GPS data processed {"connection_id":150815,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:11:22] local.INFO: Acknowledgment sent {"connection_id":150815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:11:53] local.INFO: TCP Data received {"connection_id":150815,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:11:53] local.INFO: Processing buffer {"connection_id":150815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:11:53] local.INFO: Packet analysis {"connection_id":150815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:11:53] local.INFO: Extracted packet for processing {"connection_id":150815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:11:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184134400001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785875826000,"timestamp_ms":1785875826000,"timestamp_seconds":1785875826,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7e8550"} 
[2026-08-05 02:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184134400001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184134400001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:11:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:11:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184134400001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":150815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:11:53] local.INFO: GPS data processed {"connection_id":150815,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:11:53] local.INFO: Acknowledgment sent {"connection_id":150815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:12:16] local.INFO: TCP Data received {"connection_id":148183,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:12:16] local.INFO: Processing buffer {"connection_id":148183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:12:16] local.INFO: IMEI packet received {"connection_id":148183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":148183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:12:21] local.INFO: TCP Data received {"connection_id":148183,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:12:21] local.INFO: Processing buffer {"connection_id":148183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:12:21] local.INFO: IMEI packet received {"connection_id":148183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":148183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:12:40] local.INFO: TCP Data received {"connection_id":148183,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:12:40] local.INFO: Processing buffer {"connection_id":148183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce7e8550012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:12:40] local.INFO: Packet analysis {"connection_id":148183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:12:40] local.INFO: Extracted packet for processing {"connection_id":148183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce7e"} 
[2026-08-05 02:12:40] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184134400001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785875826000,"timestamp_ms":1785875826000,"timestamp_seconds":1785875826,"priority":1,"record_length":96,"hex_timestamp":"0000019fce7e8550"} 
[2026-08-05 02:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184134400001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184134400001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:12:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:12:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184134400001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":148183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:12:40] local.INFO: GPS data processed {"connection_id":148183,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:12:40] local.INFO: Acknowledgment sent {"connection_id":148183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:13:16] local.INFO: TCP Data received {"connection_id":149411,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:13:16] local.INFO: Processing buffer {"connection_id":149411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:13:16] local.INFO: IMEI packet received {"connection_id":149411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":149411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:13:21] local.INFO: TCP Data received {"connection_id":149411,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:13:21] local.INFO: Processing buffer {"connection_id":149411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:13:21] local.INFO: IMEI packet received {"connection_id":149411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":149411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:13:22] local.INFO: TCP Data received {"connection_id":149411,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:13:22] local.INFO: Processing buffer {"connection_id":149411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:13:22] local.INFO: Packet analysis {"connection_id":149411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:13:22] local.INFO: Extracted packet for processing {"connection_id":149411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:13:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184211456001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876127000,"timestamp_ms":1785876127000,"timestamp_seconds":1785876127,"priority":1,"record_length":96,"hex_timestamp":"0000019fce831d18"} 
[2026-08-05 02:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:13: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-08-05 02:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184211456001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184211456001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:13:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:13:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184211456001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":149411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:13:22] local.INFO: GPS data processed {"connection_id":149411,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:13:22] local.INFO: Acknowledgment sent {"connection_id":149411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:13:27] local.INFO: TCP Data received {"connection_id":149411,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:13:27] local.INFO: Processing buffer {"connection_id":149411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:13:27] local.INFO: Packet analysis {"connection_id":149411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:13:27] local.INFO: Extracted packet for processing {"connection_id":149411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:13:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184211456001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785876127000,"timestamp_ms":1785876127000,"timestamp_seconds":1785876127,"priority":1,"record_length":96,"hex_timestamp":"0000019fce831d18"} 
[2026-08-05 02:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184211456001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184211456001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:13:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:13:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184211456001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":149411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:13:27] local.INFO: GPS data processed {"connection_id":149411,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:13:27] local.INFO: Acknowledgment sent {"connection_id":149411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:13:58] local.INFO: TCP Data received {"connection_id":149411,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:13:58] local.INFO: Processing buffer {"connection_id":149411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:13:58] local.INFO: Packet analysis {"connection_id":149411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:13:58] local.INFO: Extracted packet for processing {"connection_id":149411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:13:58] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184211456001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785876127000,"timestamp_ms":1785876127000,"timestamp_seconds":1785876127,"priority":1,"record_length":96,"hex_timestamp":"0000019fce831d18"} 
[2026-08-05 02:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184211456001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184211456001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:13:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:13:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184211456001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":149411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:13:58] local.INFO: GPS data processed {"connection_id":149411,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:13:58] local.INFO: Acknowledgment sent {"connection_id":149411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:14:16] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:14:16] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:14:16] local.INFO: IMEI packet received {"connection_id":148416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":148416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:14:21] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:14:21] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:14:21] local.INFO: IMEI packet received {"connection_id":148416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":148416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:14:22] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:14:22] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:14:22] local.INFO: Packet analysis {"connection_id":148416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:14:22] local.INFO: Extracted packet for processing {"connection_id":148416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:14:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184211456001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876127000,"timestamp_ms":1785876127000,"timestamp_seconds":1785876127,"priority":1,"record_length":96,"hex_timestamp":"0000019fce831d18"} 
[2026-08-05 02:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:14: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-08-05 02:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184211456001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184211456001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:14:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:14:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184211456001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":148416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:14:22] local.INFO: GPS data processed {"connection_id":148416,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:14:22] local.INFO: Acknowledgment sent {"connection_id":148416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:14:53] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:14:53] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:14:53] local.INFO: Packet analysis {"connection_id":148416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:14:53] local.INFO: Extracted packet for processing {"connection_id":148416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:14:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184211456001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785876127000,"timestamp_ms":1785876127000,"timestamp_seconds":1785876127,"priority":1,"record_length":96,"hex_timestamp":"0000019fce831d18"} 
[2026-08-05 02:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184211456001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184211456001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:14:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:14:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184211456001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":148416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:14:53] local.INFO: GPS data processed {"connection_id":148416,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:14:53] local.INFO: Acknowledgment sent {"connection_id":148416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:15:16] local.INFO: TCP Data received {"connection_id":148417,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:15:16] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:15:16] local.INFO: IMEI packet received {"connection_id":148417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":148417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:15:21] local.INFO: TCP Data received {"connection_id":148417,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:15:21] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:15:21] local.INFO: IMEI packet received {"connection_id":148417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":148417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:15:22] local.INFO: TCP Data received {"connection_id":148417,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:15:22] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:15:22] local.INFO: Packet analysis {"connection_id":148417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:15:22] local.INFO: Extracted packet for processing {"connection_id":148417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:15:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184211456001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876127000,"timestamp_ms":1785876127000,"timestamp_seconds":1785876127,"priority":1,"record_length":96,"hex_timestamp":"0000019fce831d18"} 
[2026-08-05 02:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:15: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-08-05 02:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184211456001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184211456001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:15:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:15:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184211456001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":148417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:15:22] local.INFO: GPS data processed {"connection_id":148417,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:15:22] local.INFO: Acknowledgment sent {"connection_id":148417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:15:53] local.INFO: TCP Data received {"connection_id":148417,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:15:53] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:15:53] local.INFO: Packet analysis {"connection_id":148417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:15:53] local.INFO: Extracted packet for processing {"connection_id":148417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:15:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184211456001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785876127000,"timestamp_ms":1785876127000,"timestamp_seconds":1785876127,"priority":1,"record_length":96,"hex_timestamp":"0000019fce831d18"} 
[2026-08-05 02:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184211456001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184211456001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:15:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:15:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184211456001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":148417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:15:53] local.INFO: GPS data processed {"connection_id":148417,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:15:53] local.INFO: Acknowledgment sent {"connection_id":148417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:16:16] local.INFO: TCP Data received {"connection_id":150816,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:16:16] local.INFO: Processing buffer {"connection_id":150816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:16:16] local.INFO: IMEI packet received {"connection_id":150816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":150816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:16:21] local.INFO: TCP Data received {"connection_id":150816,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:16:21] local.INFO: Processing buffer {"connection_id":150816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:16:21] local.INFO: IMEI packet received {"connection_id":150816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":150816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:16:22] local.INFO: TCP Data received {"connection_id":150816,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:16:22] local.INFO: Processing buffer {"connection_id":150816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:16:22] local.INFO: Packet analysis {"connection_id":150816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:16:22] local.INFO: Extracted packet for processing {"connection_id":150816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:16:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184211456001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876127000,"timestamp_ms":1785876127000,"timestamp_seconds":1785876127,"priority":1,"record_length":96,"hex_timestamp":"0000019fce831d18"} 
[2026-08-05 02:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:16: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-08-05 02:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184211456001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184211456001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:16:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:16:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184211456001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":150816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:16:22] local.INFO: GPS data processed {"connection_id":150816,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:16:22] local.INFO: Acknowledgment sent {"connection_id":150816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:16:53] local.INFO: TCP Data received {"connection_id":150816,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:16:53] local.INFO: Processing buffer {"connection_id":150816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:16:53] local.INFO: Packet analysis {"connection_id":150816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:16:53] local.INFO: Extracted packet for processing {"connection_id":150816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:16:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184211456001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785876127000,"timestamp_ms":1785876127000,"timestamp_seconds":1785876127,"priority":1,"record_length":96,"hex_timestamp":"0000019fce831d18"} 
[2026-08-05 02:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184211456001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184211456001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:16:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:16:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184211456001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":150816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:16:53] local.INFO: GPS data processed {"connection_id":150816,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:16:53] local.INFO: Acknowledgment sent {"connection_id":150816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:17:16] local.INFO: TCP Data received {"connection_id":149412,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:17:16] local.INFO: Processing buffer {"connection_id":149412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:17:16] local.INFO: IMEI packet received {"connection_id":149412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":149412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:17:21] local.INFO: TCP Data received {"connection_id":149412,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:17:21] local.INFO: Processing buffer {"connection_id":149412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:17:21] local.INFO: IMEI packet received {"connection_id":149412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":149412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:17:22] local.INFO: TCP Data received {"connection_id":149412,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:17:22] local.INFO: Processing buffer {"connection_id":149412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce831d18012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:17:22] local.INFO: Packet analysis {"connection_id":149412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:17:22] local.INFO: Extracted packet for processing {"connection_id":149412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce83"} 
[2026-08-05 02:17:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184211456001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876127000,"timestamp_ms":1785876127000,"timestamp_seconds":1785876127,"priority":1,"record_length":96,"hex_timestamp":"0000019fce831d18"} 
[2026-08-05 02:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:17: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-08-05 02:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184211456001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184211456001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:17:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:17:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184211456001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":149412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:17:22] local.INFO: GPS data processed {"connection_id":149412,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:17:22] local.INFO: Acknowledgment sent {"connection_id":149412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:17:53] local.INFO: TCP Data received {"connection_id":149412,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:17:53] local.INFO: Processing buffer {"connection_id":149412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:17:53] local.INFO: Packet analysis {"connection_id":149412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:17:53] local.INFO: Extracted packet for processing {"connection_id":149412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:17:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785876428000,"timestamp_ms":1785876428000,"timestamp_seconds":1785876428,"priority":1,"record_length":96,"hex_timestamp":"0000019fce87b4e0"} 
[2026-08-05 02:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184288512001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:17:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:17:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184288512001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":149412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:17:53] local.INFO: GPS data processed {"connection_id":149412,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:17:53] local.INFO: Acknowledgment sent {"connection_id":149412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:18:21] local.INFO: TCP Data received {"connection_id":150817,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:18:21] local.INFO: Processing buffer {"connection_id":150817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:18:21] local.INFO: IMEI packet received {"connection_id":150817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":150817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:18:26] local.INFO: TCP Data received {"connection_id":150817,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:18:26] local.INFO: Processing buffer {"connection_id":150817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:18:26] local.INFO: IMEI packet received {"connection_id":150817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":150817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:18:27] local.INFO: TCP Data received {"connection_id":150817,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:18:27] local.INFO: Processing buffer {"connection_id":150817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:18:27] local.INFO: Packet analysis {"connection_id":150817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:18:27] local.INFO: Extracted packet for processing {"connection_id":150817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:18:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785876428000,"timestamp_ms":1785876428000,"timestamp_seconds":1785876428,"priority":1,"record_length":96,"hex_timestamp":"0000019fce87b4e0"} 
[2026-08-05 02:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184288512001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:18:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:18:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184288512001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":150817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:18:27] local.INFO: GPS data processed {"connection_id":150817,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:18:27] local.INFO: Acknowledgment sent {"connection_id":150817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:18:58] local.INFO: TCP Data received {"connection_id":150817,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:18:58] local.INFO: Processing buffer {"connection_id":150817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:18:58] local.INFO: Packet analysis {"connection_id":150817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:18:58] local.INFO: Extracted packet for processing {"connection_id":150817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:18:58] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785876428000,"timestamp_ms":1785876428000,"timestamp_seconds":1785876428,"priority":1,"record_length":96,"hex_timestamp":"0000019fce87b4e0"} 
[2026-08-05 02:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184288512001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:18:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:18:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184288512001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":150817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:18:58] local.INFO: GPS data processed {"connection_id":150817,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:18:58] local.INFO: Acknowledgment sent {"connection_id":150817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:19:16] local.INFO: TCP Data received {"connection_id":150818,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:19:16] local.INFO: Processing buffer {"connection_id":150818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:19:16] local.INFO: IMEI packet received {"connection_id":150818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":150818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:19:21] local.INFO: TCP Data received {"connection_id":150818,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:19:21] local.INFO: Processing buffer {"connection_id":150818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:19:21] local.INFO: IMEI packet received {"connection_id":150818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":150818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:19:22] local.INFO: TCP Data received {"connection_id":150818,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:19:22] local.INFO: Processing buffer {"connection_id":150818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:19:22] local.INFO: Packet analysis {"connection_id":150818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:19:22] local.INFO: Extracted packet for processing {"connection_id":150818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:19:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876428000,"timestamp_ms":1785876428000,"timestamp_seconds":1785876428,"priority":1,"record_length":96,"hex_timestamp":"0000019fce87b4e0"} 
[2026-08-05 02:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:19: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-08-05 02:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184288512001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:19:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:19:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184288512001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":150818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:19:22] local.INFO: GPS data processed {"connection_id":150818,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:19:22] local.INFO: Acknowledgment sent {"connection_id":150818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:19:53] local.INFO: TCP Data received {"connection_id":150818,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:19:53] local.INFO: Processing buffer {"connection_id":150818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:19:53] local.INFO: Packet analysis {"connection_id":150818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:19:53] local.INFO: Extracted packet for processing {"connection_id":150818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:19:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785876428000,"timestamp_ms":1785876428000,"timestamp_seconds":1785876428,"priority":1,"record_length":96,"hex_timestamp":"0000019fce87b4e0"} 
[2026-08-05 02:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184288512001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:19:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:19:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184288512001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":150818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:19:53] local.INFO: GPS data processed {"connection_id":150818,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:19:53] local.INFO: Acknowledgment sent {"connection_id":150818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:20:16] local.INFO: TCP Data received {"connection_id":148184,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:20:16] local.INFO: Processing buffer {"connection_id":148184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:20:16] local.INFO: IMEI packet received {"connection_id":148184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":148184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:20:21] local.INFO: TCP Data received {"connection_id":148184,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:20:21] local.INFO: Processing buffer {"connection_id":148184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:20:21] local.INFO: IMEI packet received {"connection_id":148184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":148184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:20:22] local.INFO: TCP Data received {"connection_id":148184,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:20:22] local.INFO: Processing buffer {"connection_id":148184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:20:22] local.INFO: Packet analysis {"connection_id":148184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:20:22] local.INFO: Extracted packet for processing {"connection_id":148184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:20:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02: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-08-05 02:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876428000,"timestamp_ms":1785876428000,"timestamp_seconds":1785876428,"priority":1,"record_length":96,"hex_timestamp":"0000019fce87b4e0"} 
[2026-08-05 02:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:20: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-08-05 02: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02: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-08-05 02:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184288512001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:20:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:20:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184288512001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":148184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:20:22] local.INFO: GPS data processed {"connection_id":148184,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:20:22] local.INFO: Acknowledgment sent {"connection_id":148184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:20:27] local.INFO: TCP Data received {"connection_id":148184,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:20:27] local.INFO: Processing buffer {"connection_id":148184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:20:27] local.INFO: Packet analysis {"connection_id":148184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:20:27] local.INFO: Extracted packet for processing {"connection_id":148184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:20:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785876428000,"timestamp_ms":1785876428000,"timestamp_seconds":1785876428,"priority":1,"record_length":96,"hex_timestamp":"0000019fce87b4e0"} 
[2026-08-05 02:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184288512001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:20:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:20:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184288512001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":148184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:20:27] local.INFO: GPS data processed {"connection_id":148184,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:20:27] local.INFO: Acknowledgment sent {"connection_id":148184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:20:57] local.INFO: TCP Data received {"connection_id":148184,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:20:57] local.INFO: Processing buffer {"connection_id":148184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:20:57] local.INFO: Packet analysis {"connection_id":148184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:20:57] local.INFO: Extracted packet for processing {"connection_id":148184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:20:57] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785876428000,"timestamp_ms":1785876428000,"timestamp_seconds":1785876428,"priority":1,"record_length":96,"hex_timestamp":"0000019fce87b4e0"} 
[2026-08-05 02:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184288512001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:20:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:20:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184288512001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":148184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:20:57] local.INFO: GPS data processed {"connection_id":148184,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:20:57] local.INFO: Acknowledgment sent {"connection_id":148184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:21:16] local.INFO: TCP Data received {"connection_id":148185,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:21:16] local.INFO: Processing buffer {"connection_id":148185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:21:16] local.INFO: IMEI packet received {"connection_id":148185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":148185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:21:21] local.INFO: TCP Data received {"connection_id":148185,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:21:21] local.INFO: Processing buffer {"connection_id":148185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:21:21] local.INFO: IMEI packet received {"connection_id":148185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":148185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:21:22] local.INFO: TCP Data received {"connection_id":148185,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:21:22] local.INFO: Processing buffer {"connection_id":148185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:21:22] local.INFO: Packet analysis {"connection_id":148185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:21:22] local.INFO: Extracted packet for processing {"connection_id":148185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:21:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876428000,"timestamp_ms":1785876428000,"timestamp_seconds":1785876428,"priority":1,"record_length":96,"hex_timestamp":"0000019fce87b4e0"} 
[2026-08-05 02:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:21: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-08-05 02:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184288512001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:21:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:21:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184288512001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":148185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:21:22] local.INFO: GPS data processed {"connection_id":148185,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:21:22] local.INFO: Acknowledgment sent {"connection_id":148185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:21:53] local.INFO: TCP Data received {"connection_id":148185,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:21:53] local.INFO: Processing buffer {"connection_id":148185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:21:53] local.INFO: Packet analysis {"connection_id":148185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:21:53] local.INFO: Extracted packet for processing {"connection_id":148185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:21:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785876428000,"timestamp_ms":1785876428000,"timestamp_seconds":1785876428,"priority":1,"record_length":96,"hex_timestamp":"0000019fce87b4e0"} 
[2026-08-05 02:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184288512001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:21:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:21:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184288512001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":148185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:21:53] local.INFO: GPS data processed {"connection_id":148185,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:21:53] local.INFO: Acknowledgment sent {"connection_id":148185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:22:16] local.INFO: TCP Data received {"connection_id":148418,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:22:16] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:22:16] local.INFO: IMEI packet received {"connection_id":148418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":148418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:22:21] local.INFO: TCP Data received {"connection_id":148418,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:22:21] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:22:21] local.INFO: IMEI packet received {"connection_id":148418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":148418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:22:22] local.INFO: TCP Data received {"connection_id":148418,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:22:22] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce87b4e0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 02:22:22] local.INFO: Packet analysis {"connection_id":148418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:22:22] local.INFO: Extracted packet for processing {"connection_id":148418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce87"} 
[2026-08-05 02:22:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876428000,"timestamp_ms":1785876428000,"timestamp_seconds":1785876428,"priority":1,"record_length":96,"hex_timestamp":"0000019fce87b4e0"} 
[2026-08-05 02:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:22: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-08-05 02:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184288512001,"66":25473,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:22:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:22:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184288512001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":148418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:22:22] local.INFO: GPS data processed {"connection_id":148418,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:22:22] local.INFO: Acknowledgment sent {"connection_id":148418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:22:53] local.INFO: TCP Data received {"connection_id":148418,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:22:53] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:22:53] local.INFO: Packet analysis {"connection_id":148418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:22:53] local.INFO: Extracted packet for processing {"connection_id":148418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:22:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184365568001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785876729000,"timestamp_ms":1785876729000,"timestamp_seconds":1785876729,"priority":1,"record_length":96,"hex_timestamp":"0000019fce8c4ca8"} 
[2026-08-05 02:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 02:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184365568001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184365568001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:22:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:22:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184365568001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":148418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:22:53] local.INFO: GPS data processed {"connection_id":148418,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:22:53] local.INFO: Acknowledgment sent {"connection_id":148418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:23:21] local.INFO: TCP Data received {"connection_id":149413,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:23:21] local.INFO: Processing buffer {"connection_id":149413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:23:21] local.INFO: IMEI packet received {"connection_id":149413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":149413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:23:26] local.INFO: TCP Data received {"connection_id":149413,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:23:26] local.INFO: Processing buffer {"connection_id":149413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:23:26] local.INFO: IMEI packet received {"connection_id":149413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":149413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:23:27] local.INFO: TCP Data received {"connection_id":149413,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:23:27] local.INFO: Processing buffer {"connection_id":149413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:23:27] local.INFO: Packet analysis {"connection_id":149413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:23:27] local.INFO: Extracted packet for processing {"connection_id":149413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:23:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184365568001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785876729000,"timestamp_ms":1785876729000,"timestamp_seconds":1785876729,"priority":1,"record_length":96,"hex_timestamp":"0000019fce8c4ca8"} 
[2026-08-05 02:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 02:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184365568001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184365568001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:23:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:23:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184365568001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":149413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:23:27] local.INFO: GPS data processed {"connection_id":149413,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:23:27] local.INFO: Acknowledgment sent {"connection_id":149413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:24:00] local.INFO: TCP Data received {"connection_id":149413,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:24:00] local.INFO: Processing buffer {"connection_id":149413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:24:00] local.INFO: Packet analysis {"connection_id":149413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:24:00] local.INFO: Extracted packet for processing {"connection_id":149413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:24:00] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184365568001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785876729000,"timestamp_ms":1785876729000,"timestamp_seconds":1785876729,"priority":1,"record_length":96,"hex_timestamp":"0000019fce8c4ca8"} 
[2026-08-05 02:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 02:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184365568001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184365568001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:24:00] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:24:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184365568001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":149413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:24:00] local.INFO: GPS data processed {"connection_id":149413,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:24:00] local.INFO: Acknowledgment sent {"connection_id":149413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:24:16] local.INFO: TCP Data received {"connection_id":150819,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:24:16] local.INFO: Processing buffer {"connection_id":150819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:24:16] local.INFO: IMEI packet received {"connection_id":150819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":150819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:24:21] local.INFO: TCP Data received {"connection_id":150819,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:24:21] local.INFO: Processing buffer {"connection_id":150819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:24:21] local.INFO: IMEI packet received {"connection_id":150819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":150819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:24:22] local.INFO: TCP Data received {"connection_id":150819,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:24:22] local.INFO: Processing buffer {"connection_id":150819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:24:22] local.INFO: Packet analysis {"connection_id":150819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:24:22] local.INFO: Extracted packet for processing {"connection_id":150819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:24:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184365568001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876729000,"timestamp_ms":1785876729000,"timestamp_seconds":1785876729,"priority":1,"record_length":96,"hex_timestamp":"0000019fce8c4ca8"} 
[2026-08-05 02:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:24: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-08-05 02:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 02:24: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-08-05 02:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184365568001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184365568001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:24:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:24:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184365568001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":150819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:24:22] local.INFO: GPS data processed {"connection_id":150819,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:24:22] local.INFO: Acknowledgment sent {"connection_id":150819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:24:55] local.INFO: TCP Data received {"connection_id":150819,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:24:55] local.INFO: Processing buffer {"connection_id":150819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:24:55] local.INFO: Packet analysis {"connection_id":150819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:24:55] local.INFO: Extracted packet for processing {"connection_id":150819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:24:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184365568001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785876729000,"timestamp_ms":1785876729000,"timestamp_seconds":1785876729,"priority":1,"record_length":96,"hex_timestamp":"0000019fce8c4ca8"} 
[2026-08-05 02:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:24: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-08-05 02:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 02:24: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-08-05 02:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184365568001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184365568001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:24:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:24:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184365568001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":150819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:24:55] local.INFO: GPS data processed {"connection_id":150819,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:24:55] local.INFO: Acknowledgment sent {"connection_id":150819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:25:16] local.INFO: TCP Data received {"connection_id":149414,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:25:16] local.INFO: Processing buffer {"connection_id":149414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:25:16] local.INFO: IMEI packet received {"connection_id":149414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":149414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:25:21] local.INFO: TCP Data received {"connection_id":149414,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:25:21] local.INFO: Processing buffer {"connection_id":149414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:25:21] local.INFO: IMEI packet received {"connection_id":149414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":149414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:25:22] local.INFO: TCP Data received {"connection_id":149414,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:25:22] local.INFO: Processing buffer {"connection_id":149414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:25:22] local.INFO: Packet analysis {"connection_id":149414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:25:22] local.INFO: Extracted packet for processing {"connection_id":149414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:25:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184365568001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876729000,"timestamp_ms":1785876729000,"timestamp_seconds":1785876729,"priority":1,"record_length":96,"hex_timestamp":"0000019fce8c4ca8"} 
[2026-08-05 02:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:25: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-08-05 02:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 02:25: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-08-05 02:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184365568001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184365568001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:25:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:25:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184365568001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":149414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:25:22] local.INFO: GPS data processed {"connection_id":149414,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:25:22] local.INFO: Acknowledgment sent {"connection_id":149414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:25:53] local.INFO: TCP Data received {"connection_id":149414,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:25:53] local.INFO: Processing buffer {"connection_id":149414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:25:53] local.INFO: Packet analysis {"connection_id":149414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:25:53] local.INFO: Extracted packet for processing {"connection_id":149414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:25:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184365568001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785876729000,"timestamp_ms":1785876729000,"timestamp_seconds":1785876729,"priority":1,"record_length":96,"hex_timestamp":"0000019fce8c4ca8"} 
[2026-08-05 02:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 02:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184365568001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184365568001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:25:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:25:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184365568001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":149414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:25:53] local.INFO: GPS data processed {"connection_id":149414,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:25:53] local.INFO: Acknowledgment sent {"connection_id":149414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:26:16] local.INFO: TCP Data received {"connection_id":149415,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:26:16] local.INFO: Processing buffer {"connection_id":149415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:26:16] local.INFO: IMEI packet received {"connection_id":149415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":149415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:26:21] local.INFO: TCP Data received {"connection_id":149415,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:26:21] local.INFO: Processing buffer {"connection_id":149415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:26:21] local.INFO: IMEI packet received {"connection_id":149415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":149415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:26:22] local.INFO: TCP Data received {"connection_id":149415,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:26:22] local.INFO: Processing buffer {"connection_id":149415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:26:22] local.INFO: Packet analysis {"connection_id":149415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:26:22] local.INFO: Extracted packet for processing {"connection_id":149415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:26:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184365568001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876729000,"timestamp_ms":1785876729000,"timestamp_seconds":1785876729,"priority":1,"record_length":96,"hex_timestamp":"0000019fce8c4ca8"} 
[2026-08-05 02:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:26: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-08-05 02:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 02:26: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-08-05 02:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184365568001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184365568001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:26:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:26:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184365568001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":149415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:26:22] local.INFO: GPS data processed {"connection_id":149415,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:26:22] local.INFO: Acknowledgment sent {"connection_id":149415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:26:53] local.INFO: TCP Data received {"connection_id":149415,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:26:53] local.INFO: Processing buffer {"connection_id":149415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:26:53] local.INFO: Packet analysis {"connection_id":149415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:26:53] local.INFO: Extracted packet for processing {"connection_id":149415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:26:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184365568001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785876729000,"timestamp_ms":1785876729000,"timestamp_seconds":1785876729,"priority":1,"record_length":96,"hex_timestamp":"0000019fce8c4ca8"} 
[2026-08-05 02:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 02:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184365568001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184365568001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:26:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:26:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184365568001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":149415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:26:53] local.INFO: GPS data processed {"connection_id":149415,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:26:53] local.INFO: Acknowledgment sent {"connection_id":149415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:27:16] local.INFO: TCP Data received {"connection_id":150820,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:27:16] local.INFO: Processing buffer {"connection_id":150820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:27:16] local.INFO: IMEI packet received {"connection_id":150820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":150820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:27:21] local.INFO: TCP Data received {"connection_id":150820,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:27:21] local.INFO: Processing buffer {"connection_id":150820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:27:21] local.INFO: IMEI packet received {"connection_id":150820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":150820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:27:22] local.INFO: TCP Data received {"connection_id":150820,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:27:22] local.INFO: Processing buffer {"connection_id":150820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce8c4ca8012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:27:22] local.INFO: Packet analysis {"connection_id":150820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:27:22] local.INFO: Extracted packet for processing {"connection_id":150820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce8c"} 
[2026-08-05 02:27:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184365568001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785876729000,"timestamp_ms":1785876729000,"timestamp_seconds":1785876729,"priority":1,"record_length":96,"hex_timestamp":"0000019fce8c4ca8"} 
[2026-08-05 02:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:27: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-08-05 02: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 02:27: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-08-05 02:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184365568001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184365568001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:27:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:27:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184365568001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":150820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:27:22] local.INFO: GPS data processed {"connection_id":150820,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:27:22] local.INFO: Acknowledgment sent {"connection_id":150820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:27:53] local.INFO: TCP Data received {"connection_id":150820,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:27:53] local.INFO: Processing buffer {"connection_id":150820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:27:53] local.INFO: Packet analysis {"connection_id":150820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:27:53] local.INFO: Extracted packet for processing {"connection_id":150820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:27:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184442624001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877030000,"timestamp_ms":1785877030000,"timestamp_seconds":1785877030,"priority":1,"record_length":96,"hex_timestamp":"0000019fce90e470"} 
[2026-08-05 02:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184442624001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184442624001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:27:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:27:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184442624001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":150820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:27:53] local.INFO: GPS data processed {"connection_id":150820,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:27:53] local.INFO: Acknowledgment sent {"connection_id":150820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:28:21] local.INFO: TCP Data received {"connection_id":150821,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:28:21] local.INFO: Processing buffer {"connection_id":150821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:28:21] local.INFO: IMEI packet received {"connection_id":150821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":150821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:28:26] local.INFO: TCP Data received {"connection_id":150821,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:28:26] local.INFO: Processing buffer {"connection_id":150821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:28:26] local.INFO: IMEI packet received {"connection_id":150821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":150821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:28:27] local.INFO: TCP Data received {"connection_id":150821,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:28:27] local.INFO: Processing buffer {"connection_id":150821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:28:27] local.INFO: Packet analysis {"connection_id":150821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:28:27] local.INFO: Extracted packet for processing {"connection_id":150821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:28:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184442624001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785877030000,"timestamp_ms":1785877030000,"timestamp_seconds":1785877030,"priority":1,"record_length":96,"hex_timestamp":"0000019fce90e470"} 
[2026-08-05 02:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184442624001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184442624001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:28:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:28:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184442624001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":150821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:28:27] local.INFO: GPS data processed {"connection_id":150821,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:28:27] local.INFO: Acknowledgment sent {"connection_id":150821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:28:32] local.INFO: TCP Data received {"connection_id":150821,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:28:32] local.INFO: Processing buffer {"connection_id":150821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:28:32] local.INFO: Packet analysis {"connection_id":150821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:28:32] local.INFO: Extracted packet for processing {"connection_id":150821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:28:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184442624001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785877030000,"timestamp_ms":1785877030000,"timestamp_seconds":1785877030,"priority":1,"record_length":96,"hex_timestamp":"0000019fce90e470"} 
[2026-08-05 02:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":150821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":150821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":150821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184442624001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184442624001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:28:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:28:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184442624001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":150821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:28:32] local.INFO: GPS data processed {"connection_id":150821,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:28:32] local.INFO: Acknowledgment sent {"connection_id":150821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:29:16] local.INFO: TCP Data received {"connection_id":149416,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:29:16] local.INFO: Processing buffer {"connection_id":149416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:29:16] local.INFO: IMEI packet received {"connection_id":149416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":149416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:29:21] local.INFO: TCP Data received {"connection_id":149416,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:29:21] local.INFO: Processing buffer {"connection_id":149416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:29:21] local.INFO: IMEI packet received {"connection_id":149416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":149416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:29:22] local.INFO: TCP Data received {"connection_id":149416,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:29:22] local.INFO: Processing buffer {"connection_id":149416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:29:22] local.INFO: Packet analysis {"connection_id":149416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:29:22] local.INFO: Extracted packet for processing {"connection_id":149416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:29:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 02:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184442624001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877030000,"timestamp_ms":1785877030000,"timestamp_seconds":1785877030,"priority":1,"record_length":96,"hex_timestamp":"0000019fce90e470"} 
[2026-08-05 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-08-05 02:29: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-08-05 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":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 02:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184442624001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184442624001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:29:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:29:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184442624001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":149416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:29:22] local.INFO: GPS data processed {"connection_id":149416,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:29:22] local.INFO: Acknowledgment sent {"connection_id":149416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:29:53] local.INFO: TCP Data received {"connection_id":149416,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:29:53] local.INFO: Processing buffer {"connection_id":149416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:29:53] local.INFO: Packet analysis {"connection_id":149416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:29:53] local.INFO: Extracted packet for processing {"connection_id":149416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:29:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184442624001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877030000,"timestamp_ms":1785877030000,"timestamp_seconds":1785877030,"priority":1,"record_length":96,"hex_timestamp":"0000019fce90e470"} 
[2026-08-05 02:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184442624001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184442624001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:29:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:29:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184442624001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":149416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:29:53] local.INFO: GPS data processed {"connection_id":149416,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:29:53] local.INFO: Acknowledgment sent {"connection_id":149416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:30:16] local.INFO: TCP Data received {"connection_id":149417,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:30:16] local.INFO: Processing buffer {"connection_id":149417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:30:16] local.INFO: IMEI packet received {"connection_id":149417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":149417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:30:21] local.INFO: TCP Data received {"connection_id":149417,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:30:21] local.INFO: Processing buffer {"connection_id":149417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:30:21] local.INFO: IMEI packet received {"connection_id":149417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":149417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:30:22] local.INFO: TCP Data received {"connection_id":149417,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:30:22] local.INFO: Processing buffer {"connection_id":149417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:30:22] local.INFO: Packet analysis {"connection_id":149417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:30:22] local.INFO: Extracted packet for processing {"connection_id":149417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:30:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184442624001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877030000,"timestamp_ms":1785877030000,"timestamp_seconds":1785877030,"priority":1,"record_length":96,"hex_timestamp":"0000019fce90e470"} 
[2026-08-05 02:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:30: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-08-05 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184442624001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184442624001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:30:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:30:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184442624001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":149417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:30:22] local.INFO: GPS data processed {"connection_id":149417,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:30:22] local.INFO: Acknowledgment sent {"connection_id":149417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:30:27] local.INFO: TCP Data received {"connection_id":149417,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:30:27] local.INFO: Processing buffer {"connection_id":149417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:30:27] local.INFO: Packet analysis {"connection_id":149417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:30:27] local.INFO: Extracted packet for processing {"connection_id":149417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:30:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184442624001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785877030000,"timestamp_ms":1785877030000,"timestamp_seconds":1785877030,"priority":1,"record_length":96,"hex_timestamp":"0000019fce90e470"} 
[2026-08-05 02:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184442624001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184442624001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:30:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:30:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184442624001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":149417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:30:27] local.INFO: GPS data processed {"connection_id":149417,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:30:27] local.INFO: Acknowledgment sent {"connection_id":149417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:30:58] local.INFO: TCP Data received {"connection_id":149417,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:30:58] local.INFO: Processing buffer {"connection_id":149417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:30:58] local.INFO: Packet analysis {"connection_id":149417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:30:58] local.INFO: Extracted packet for processing {"connection_id":149417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:30:58] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184442624001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785877030000,"timestamp_ms":1785877030000,"timestamp_seconds":1785877030,"priority":1,"record_length":96,"hex_timestamp":"0000019fce90e470"} 
[2026-08-05 02:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184442624001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184442624001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:30:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:30:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184442624001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":149417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:30:58] local.INFO: GPS data processed {"connection_id":149417,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:30:58] local.INFO: Acknowledgment sent {"connection_id":149417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:31:16] local.INFO: TCP Data received {"connection_id":149418,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:31:16] local.INFO: Processing buffer {"connection_id":149418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:31:16] local.INFO: IMEI packet received {"connection_id":149418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":149418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:31:21] local.INFO: TCP Data received {"connection_id":149418,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:31:21] local.INFO: Processing buffer {"connection_id":149418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:31:21] local.INFO: IMEI packet received {"connection_id":149418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":149418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:31:22] local.INFO: TCP Data received {"connection_id":149418,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:31:22] local.INFO: Processing buffer {"connection_id":149418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:31:22] local.INFO: Packet analysis {"connection_id":149418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:31:22] local.INFO: Extracted packet for processing {"connection_id":149418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:31:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184442624001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877030000,"timestamp_ms":1785877030000,"timestamp_seconds":1785877030,"priority":1,"record_length":96,"hex_timestamp":"0000019fce90e470"} 
[2026-08-05 02:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:31: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-08-05 02: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184442624001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184442624001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:31:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:31:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184442624001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":149418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:31:22] local.INFO: GPS data processed {"connection_id":149418,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:31:22] local.INFO: Acknowledgment sent {"connection_id":149418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:31:53] local.INFO: TCP Data received {"connection_id":149418,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:31:53] local.INFO: Processing buffer {"connection_id":149418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:31:53] local.INFO: Packet analysis {"connection_id":149418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:31:53] local.INFO: Extracted packet for processing {"connection_id":149418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:31:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184442624001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877030000,"timestamp_ms":1785877030000,"timestamp_seconds":1785877030,"priority":1,"record_length":96,"hex_timestamp":"0000019fce90e470"} 
[2026-08-05 02:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184442624001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184442624001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:31:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:31:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184442624001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":149418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:31:53] local.INFO: GPS data processed {"connection_id":149418,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:31:53] local.INFO: Acknowledgment sent {"connection_id":149418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:32:16] local.INFO: TCP Data received {"connection_id":148186,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:32:16] local.INFO: Processing buffer {"connection_id":148186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:32:16] local.INFO: IMEI packet received {"connection_id":148186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":148186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:32:21] local.INFO: TCP Data received {"connection_id":148186,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:32:21] local.INFO: Processing buffer {"connection_id":148186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:32:21] local.INFO: IMEI packet received {"connection_id":148186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":148186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:32:22] local.INFO: TCP Data received {"connection_id":148186,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:32:22] local.INFO: Processing buffer {"connection_id":148186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce90e470012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 02:32:22] local.INFO: Packet analysis {"connection_id":148186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:32:22] local.INFO: Extracted packet for processing {"connection_id":148186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce90"} 
[2026-08-05 02:32:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184442624001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877030000,"timestamp_ms":1785877030000,"timestamp_seconds":1785877030,"priority":1,"record_length":96,"hex_timestamp":"0000019fce90e470"} 
[2026-08-05 02:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:32: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-08-05 02:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184442624001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184442624001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:32:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:32:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184442624001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":148186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:32:22] local.INFO: GPS data processed {"connection_id":148186,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:32:22] local.INFO: Acknowledgment sent {"connection_id":148186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:32:53] local.INFO: TCP Data received {"connection_id":148186,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:32:53] local.INFO: Processing buffer {"connection_id":148186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:32:53] local.INFO: Packet analysis {"connection_id":148186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:32:53] local.INFO: Extracted packet for processing {"connection_id":148186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:32:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184519680001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877331000,"timestamp_ms":1785877331000,"timestamp_seconds":1785877331,"priority":1,"record_length":96,"hex_timestamp":"0000019fce957c38"} 
[2026-08-05 02:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184519680001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184519680001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:32:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:32:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184519680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":148186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:32:53] local.INFO: GPS data processed {"connection_id":148186,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:32:53] local.INFO: Acknowledgment sent {"connection_id":148186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:33:21] local.INFO: TCP Data received {"connection_id":148419,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:33:21] local.INFO: Processing buffer {"connection_id":148419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:33:21] local.INFO: IMEI packet received {"connection_id":148419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":148419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:33:26] local.INFO: TCP Data received {"connection_id":148419,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:33:26] local.INFO: Processing buffer {"connection_id":148419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:33:26] local.INFO: IMEI packet received {"connection_id":148419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":148419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:33:27] local.INFO: TCP Data received {"connection_id":148419,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:33:27] local.INFO: Processing buffer {"connection_id":148419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:33:27] local.INFO: Packet analysis {"connection_id":148419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:33:27] local.INFO: Extracted packet for processing {"connection_id":148419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:33:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184519680001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785877331000,"timestamp_ms":1785877331000,"timestamp_seconds":1785877331,"priority":1,"record_length":96,"hex_timestamp":"0000019fce957c38"} 
[2026-08-05 02:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184519680001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184519680001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:33:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:33:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184519680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":148419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:33:27] local.INFO: GPS data processed {"connection_id":148419,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:33:27] local.INFO: Acknowledgment sent {"connection_id":148419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:33:32] local.INFO: TCP Data received {"connection_id":148419,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:33:32] local.INFO: Processing buffer {"connection_id":148419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:33:32] local.INFO: Packet analysis {"connection_id":148419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:33:32] local.INFO: Extracted packet for processing {"connection_id":148419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:33:32] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184519680001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785877331000,"timestamp_ms":1785877331000,"timestamp_seconds":1785877331,"priority":1,"record_length":96,"hex_timestamp":"0000019fce957c38"} 
[2026-08-05 02:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184519680001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184519680001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:33:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:33:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184519680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":148419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:33:32] local.INFO: GPS data processed {"connection_id":148419,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:33:32] local.INFO: Acknowledgment sent {"connection_id":148419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:34:03] local.INFO: TCP Data received {"connection_id":149419,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 02:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 02:34:03] local.INFO: Processing buffer {"connection_id":149419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 02:34:03] local.INFO: IMEI packet received {"connection_id":149419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-05 02:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":149419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:34:16] local.INFO: TCP Data received {"connection_id":148187,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:34:16] local.INFO: Processing buffer {"connection_id":148187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:34:16] local.INFO: IMEI packet received {"connection_id":148187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":148187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:34:21] local.INFO: TCP Data received {"connection_id":148187,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:34:21] local.INFO: Processing buffer {"connection_id":148187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:34:21] local.INFO: IMEI packet received {"connection_id":148187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":148187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:34:22] local.INFO: TCP Data received {"connection_id":148187,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:34:22] local.INFO: Processing buffer {"connection_id":148187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:34:22] local.INFO: Packet analysis {"connection_id":148187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:34:22] local.INFO: Extracted packet for processing {"connection_id":148187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:34:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184519680001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877331000,"timestamp_ms":1785877331000,"timestamp_seconds":1785877331,"priority":1,"record_length":96,"hex_timestamp":"0000019fce957c38"} 
[2026-08-05 02:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:34: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-08-05 02:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184519680001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184519680001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:34:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:34:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184519680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":148187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:34:22] local.INFO: GPS data processed {"connection_id":148187,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:34:22] local.INFO: Acknowledgment sent {"connection_id":148187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:34:38] local.INFO: TCP Data received {"connection_id":149420,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 02:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 02:34:38] local.INFO: Processing buffer {"connection_id":149420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 02:34:38] local.INFO: IMEI packet received {"connection_id":149420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-05 02:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":149420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:34:53] local.INFO: TCP Data received {"connection_id":148187,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:34:53] local.INFO: Processing buffer {"connection_id":148187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:34:53] local.INFO: Packet analysis {"connection_id":148187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:34:53] local.INFO: Extracted packet for processing {"connection_id":148187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:34:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184519680001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877331000,"timestamp_ms":1785877331000,"timestamp_seconds":1785877331,"priority":1,"record_length":96,"hex_timestamp":"0000019fce957c38"} 
[2026-08-05 02:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184519680001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184519680001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:34:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:34:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184519680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":148187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:34:53] local.INFO: GPS data processed {"connection_id":148187,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:34:53] local.INFO: Acknowledgment sent {"connection_id":148187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:35:16] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:35:16] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:35:16] local.INFO: IMEI packet received {"connection_id":148420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":148420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:35:21] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:35:21] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:35:21] local.INFO: IMEI packet received {"connection_id":148420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":148420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:35:22] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:35:22] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:35:22] local.INFO: Packet analysis {"connection_id":148420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:35:22] local.INFO: Extracted packet for processing {"connection_id":148420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:35:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184519680001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877331000,"timestamp_ms":1785877331000,"timestamp_seconds":1785877331,"priority":1,"record_length":96,"hex_timestamp":"0000019fce957c38"} 
[2026-08-05 02:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02: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-08-05 02: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184519680001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184519680001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:35:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:35:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184519680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":148420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:35:22] local.INFO: GPS data processed {"connection_id":148420,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:35:22] local.INFO: Acknowledgment sent {"connection_id":148420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:35:53] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:35:53] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:35:53] local.INFO: Packet analysis {"connection_id":148420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:35:53] local.INFO: Extracted packet for processing {"connection_id":148420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:35:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184519680001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877331000,"timestamp_ms":1785877331000,"timestamp_seconds":1785877331,"priority":1,"record_length":96,"hex_timestamp":"0000019fce957c38"} 
[2026-08-05 02:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184519680001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184519680001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:35:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:35:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184519680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":148420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:35:53] local.INFO: GPS data processed {"connection_id":148420,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:35:53] local.INFO: Acknowledgment sent {"connection_id":148420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:36:16] local.INFO: TCP Data received {"connection_id":148421,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:36:16] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:36:16] local.INFO: IMEI packet received {"connection_id":148421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":148421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:36:21] local.INFO: TCP Data received {"connection_id":148421,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:36:21] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:36:21] local.INFO: IMEI packet received {"connection_id":148421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":148421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:36:22] local.INFO: TCP Data received {"connection_id":148421,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:36:22] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:36:22] local.INFO: Packet analysis {"connection_id":148421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:36:22] local.INFO: Extracted packet for processing {"connection_id":148421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:36:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184519680001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877331000,"timestamp_ms":1785877331000,"timestamp_seconds":1785877331,"priority":1,"record_length":96,"hex_timestamp":"0000019fce957c38"} 
[2026-08-05 02:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:36: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-08-05 02:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184519680001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184519680001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:36:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:36:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184519680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":148421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:36:22] local.INFO: GPS data processed {"connection_id":148421,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:36:22] local.INFO: Acknowledgment sent {"connection_id":148421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:36:53] local.INFO: TCP Data received {"connection_id":148421,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:36:53] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:36:53] local.INFO: Packet analysis {"connection_id":148421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:36:53] local.INFO: Extracted packet for processing {"connection_id":148421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:36:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184519680001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877331000,"timestamp_ms":1785877331000,"timestamp_seconds":1785877331,"priority":1,"record_length":96,"hex_timestamp":"0000019fce957c38"} 
[2026-08-05 02:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184519680001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184519680001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:36:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:36:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184519680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":148421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:36:53] local.INFO: GPS data processed {"connection_id":148421,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:36:53] local.INFO: Acknowledgment sent {"connection_id":148421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:37:16] local.INFO: TCP Data received {"connection_id":148188,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:37:16] local.INFO: Processing buffer {"connection_id":148188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:37:16] local.INFO: IMEI packet received {"connection_id":148188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":148188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:37:21] local.INFO: TCP Data received {"connection_id":148188,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:37:21] local.INFO: Processing buffer {"connection_id":148188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:37:21] local.INFO: IMEI packet received {"connection_id":148188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":148188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:37:22] local.INFO: TCP Data received {"connection_id":148188,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:37:22] local.INFO: Processing buffer {"connection_id":148188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce957c38012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:37:22] local.INFO: Packet analysis {"connection_id":148188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:37:22] local.INFO: Extracted packet for processing {"connection_id":148188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce95"} 
[2026-08-05 02:37:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184519680001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877331000,"timestamp_ms":1785877331000,"timestamp_seconds":1785877331,"priority":1,"record_length":96,"hex_timestamp":"0000019fce957c38"} 
[2026-08-05 02:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:37: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-08-05 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184519680001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184519680001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:37:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:37:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184519680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":148188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:37:22] local.INFO: GPS data processed {"connection_id":148188,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:37:22] local.INFO: Acknowledgment sent {"connection_id":148188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:37:53] local.INFO: TCP Data received {"connection_id":148188,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:37:53] local.INFO: Processing buffer {"connection_id":148188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:37:53] local.INFO: Packet analysis {"connection_id":148188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:37:53] local.INFO: Extracted packet for processing {"connection_id":148188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:37:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184596736001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877632000,"timestamp_ms":1785877632000,"timestamp_seconds":1785877632,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9a1400"} 
[2026-08-05 02:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184596736001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184596736001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:37:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:37:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184596736001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":148188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:37:53] local.INFO: GPS data processed {"connection_id":148188,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:37:53] local.INFO: Acknowledgment sent {"connection_id":148188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:38:21] local.INFO: TCP Data received {"connection_id":149421,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:38:21] local.INFO: Processing buffer {"connection_id":149421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:38:21] local.INFO: IMEI packet received {"connection_id":149421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":149421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:38:26] local.INFO: TCP Data received {"connection_id":149421,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:38:26] local.INFO: Processing buffer {"connection_id":149421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:38:26] local.INFO: IMEI packet received {"connection_id":149421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":149421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:38:27] local.INFO: TCP Data received {"connection_id":149421,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:38:27] local.INFO: Processing buffer {"connection_id":149421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:38:27] local.INFO: Packet analysis {"connection_id":149421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:38:27] local.INFO: Extracted packet for processing {"connection_id":149421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:38:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184596736001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785877632000,"timestamp_ms":1785877632000,"timestamp_seconds":1785877632,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9a1400"} 
[2026-08-05 02:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184596736001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184596736001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:38:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:38:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184596736001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":149421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:38:27] local.INFO: GPS data processed {"connection_id":149421,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:38:27] local.INFO: Acknowledgment sent {"connection_id":149421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:38:58] local.INFO: TCP Data received {"connection_id":149421,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:38:58] local.INFO: Processing buffer {"connection_id":149421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:38:58] local.INFO: Packet analysis {"connection_id":149421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:38:58] local.INFO: Extracted packet for processing {"connection_id":149421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:38:58] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184596736001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785877632000,"timestamp_ms":1785877632000,"timestamp_seconds":1785877632,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9a1400"} 
[2026-08-05 02:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184596736001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184596736001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:38:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:38:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184596736001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":149421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:38:58] local.INFO: GPS data processed {"connection_id":149421,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:38:58] local.INFO: Acknowledgment sent {"connection_id":149421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:39:21] local.INFO: TCP Data received {"connection_id":150822,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:39:21] local.INFO: Processing buffer {"connection_id":150822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:39:21] local.INFO: IMEI packet received {"connection_id":150822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":150822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:39:26] local.INFO: TCP Data received {"connection_id":150822,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:39:26] local.INFO: Processing buffer {"connection_id":150822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:39:26] local.INFO: IMEI packet received {"connection_id":150822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":150822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:39:27] local.INFO: TCP Data received {"connection_id":150822,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:39:27] local.INFO: Processing buffer {"connection_id":150822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:39:27] local.INFO: Packet analysis {"connection_id":150822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:39:27] local.INFO: Extracted packet for processing {"connection_id":150822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:39:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184596736001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785877632000,"timestamp_ms":1785877632000,"timestamp_seconds":1785877632,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9a1400"} 
[2026-08-05 02:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184596736001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184596736001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:39:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:39:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184596736001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":150822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:39:27] local.INFO: GPS data processed {"connection_id":150822,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:39:27] local.INFO: Acknowledgment sent {"connection_id":150822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:39:31] local.INFO: TCP Data received {"connection_id":150822,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:39:31] local.INFO: Processing buffer {"connection_id":150822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:39:31] local.INFO: Packet analysis {"connection_id":150822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:39:31] local.INFO: Extracted packet for processing {"connection_id":150822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:39:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184596736001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785877632000,"timestamp_ms":1785877632000,"timestamp_seconds":1785877632,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9a1400"} 
[2026-08-05 02:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":150822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":150822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":150822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184596736001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184596736001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:39:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:39:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184596736001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":150822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:39:31] local.INFO: GPS data processed {"connection_id":150822,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:39:31] local.INFO: Acknowledgment sent {"connection_id":150822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:40:16] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:40:16] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:40:16] local.INFO: IMEI packet received {"connection_id":148422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":148422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:40:21] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:40:21] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:40:21] local.INFO: IMEI packet received {"connection_id":148422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":148422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:40:22] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:40:22] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:40:22] local.INFO: Packet analysis {"connection_id":148422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:40:22] local.INFO: Extracted packet for processing {"connection_id":148422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:40:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184596736001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877632000,"timestamp_ms":1785877632000,"timestamp_seconds":1785877632,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9a1400"} 
[2026-08-05 02:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184596736001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184596736001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:40:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:40:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184596736001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":148422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:40:22] local.INFO: GPS data processed {"connection_id":148422,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:40:22] local.INFO: Acknowledgment sent {"connection_id":148422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:40:53] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:40:53] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:40:53] local.INFO: Packet analysis {"connection_id":148422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:40:53] local.INFO: Extracted packet for processing {"connection_id":148422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:40:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184596736001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877632000,"timestamp_ms":1785877632000,"timestamp_seconds":1785877632,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9a1400"} 
[2026-08-05 02:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184596736001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184596736001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:40:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:40:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184596736001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":148422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:40:53] local.INFO: GPS data processed {"connection_id":148422,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:40:53] local.INFO: Acknowledgment sent {"connection_id":148422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:41:16] local.INFO: TCP Data received {"connection_id":148423,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:41:16] local.INFO: Processing buffer {"connection_id":148423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:41:16] local.INFO: IMEI packet received {"connection_id":148423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":148423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:41:21] local.INFO: TCP Data received {"connection_id":148423,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:41:21] local.INFO: Processing buffer {"connection_id":148423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:41:21] local.INFO: IMEI packet received {"connection_id":148423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":148423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:41:22] local.INFO: TCP Data received {"connection_id":148423,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:41:22] local.INFO: Processing buffer {"connection_id":148423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:41:22] local.INFO: Packet analysis {"connection_id":148423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:41:22] local.INFO: Extracted packet for processing {"connection_id":148423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:41:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184596736001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877632000,"timestamp_ms":1785877632000,"timestamp_seconds":1785877632,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9a1400"} 
[2026-08-05 02:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184596736001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184596736001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:41:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:41:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184596736001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":148423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:41:22] local.INFO: GPS data processed {"connection_id":148423,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:41:22] local.INFO: Acknowledgment sent {"connection_id":148423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:41:53] local.INFO: TCP Data received {"connection_id":148423,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:41:53] local.INFO: Processing buffer {"connection_id":148423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:41:53] local.INFO: Packet analysis {"connection_id":148423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:41:53] local.INFO: Extracted packet for processing {"connection_id":148423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:41:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184596736001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877632000,"timestamp_ms":1785877632000,"timestamp_seconds":1785877632,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9a1400"} 
[2026-08-05 02:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184596736001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184596736001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:41:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:41:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184596736001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":148423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:41:53] local.INFO: GPS data processed {"connection_id":148423,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:41:53] local.INFO: Acknowledgment sent {"connection_id":148423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:42:16] local.INFO: TCP Data received {"connection_id":149422,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:42:16] local.INFO: Processing buffer {"connection_id":149422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:42:16] local.INFO: IMEI packet received {"connection_id":149422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":149422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:42:21] local.INFO: TCP Data received {"connection_id":149422,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:42:21] local.INFO: Processing buffer {"connection_id":149422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:42:21] local.INFO: IMEI packet received {"connection_id":149422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":149422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:42:22] local.INFO: TCP Data received {"connection_id":149422,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:42:22] local.INFO: Processing buffer {"connection_id":149422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9a1400012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:42:22] local.INFO: Packet analysis {"connection_id":149422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:42:22] local.INFO: Extracted packet for processing {"connection_id":149422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9a"} 
[2026-08-05 02:42:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184596736001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877632000,"timestamp_ms":1785877632000,"timestamp_seconds":1785877632,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9a1400"} 
[2026-08-05 02:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 02:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184596736001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184596736001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:42:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:42:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184596736001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":149422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:42:22] local.INFO: GPS data processed {"connection_id":149422,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:42:22] local.INFO: Acknowledgment sent {"connection_id":149422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:42:53] local.INFO: TCP Data received {"connection_id":149422,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:42:53] local.INFO: Processing buffer {"connection_id":149422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:42:53] local.INFO: Packet analysis {"connection_id":149422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:42:53] local.INFO: Extracted packet for processing {"connection_id":149422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:42:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184673792001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877933000,"timestamp_ms":1785877933000,"timestamp_seconds":1785877933,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9eabc8"} 
[2026-08-05 02:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184673792001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184673792001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:42:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:42:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184673792001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":149422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:42:53] local.INFO: GPS data processed {"connection_id":149422,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:42:53] local.INFO: Acknowledgment sent {"connection_id":149422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:43:16] local.INFO: TCP Data received {"connection_id":150823,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:43:16] local.INFO: Processing buffer {"connection_id":150823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:43:16] local.INFO: IMEI packet received {"connection_id":150823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":150823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:43:21] local.INFO: TCP Data received {"connection_id":150823,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:43:21] local.INFO: Processing buffer {"connection_id":150823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:43:21] local.INFO: IMEI packet received {"connection_id":150823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":150823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:43:22] local.INFO: TCP Data received {"connection_id":150823,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:43:22] local.INFO: Processing buffer {"connection_id":150823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:43:22] local.INFO: Packet analysis {"connection_id":150823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:43:22] local.INFO: Extracted packet for processing {"connection_id":150823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:43:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184673792001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877933000,"timestamp_ms":1785877933000,"timestamp_seconds":1785877933,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9eabc8"} 
[2026-08-05 02:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:43: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-08-05 02: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184673792001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184673792001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:43:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:43:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184673792001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":150823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:43:22] local.INFO: GPS data processed {"connection_id":150823,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:43:22] local.INFO: Acknowledgment sent {"connection_id":150823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:43:53] local.INFO: TCP Data received {"connection_id":150823,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:43:53] local.INFO: Processing buffer {"connection_id":150823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:43:53] local.INFO: Packet analysis {"connection_id":150823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:43:53] local.INFO: Extracted packet for processing {"connection_id":150823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:43:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184673792001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785877933000,"timestamp_ms":1785877933000,"timestamp_seconds":1785877933,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9eabc8"} 
[2026-08-05 02:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02: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-08-05 02:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184673792001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184673792001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:43:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:43:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184673792001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":150823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:43:53] local.INFO: GPS data processed {"connection_id":150823,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:43:53] local.INFO: Acknowledgment sent {"connection_id":150823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:44:21] local.INFO: TCP Data received {"connection_id":150824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:44:21] local.INFO: Processing buffer {"connection_id":150824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:44:21] local.INFO: IMEI packet received {"connection_id":150824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":150824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:44:26] local.INFO: TCP Data received {"connection_id":150824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:44:26] local.INFO: Processing buffer {"connection_id":150824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:44:26] local.INFO: IMEI packet received {"connection_id":150824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":150824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:44:27] local.INFO: TCP Data received {"connection_id":150824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:44:27] local.INFO: Processing buffer {"connection_id":150824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:44:27] local.INFO: Packet analysis {"connection_id":150824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:44:27] local.INFO: Extracted packet for processing {"connection_id":150824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:44:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184673792001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785877933000,"timestamp_ms":1785877933000,"timestamp_seconds":1785877933,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9eabc8"} 
[2026-08-05 02:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184673792001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184673792001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:44:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:44:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184673792001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":150824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:44:27] local.INFO: GPS data processed {"connection_id":150824,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:44:27] local.INFO: Acknowledgment sent {"connection_id":150824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:44:58] local.INFO: TCP Data received {"connection_id":150824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:44:58] local.INFO: Processing buffer {"connection_id":150824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:44:58] local.INFO: Packet analysis {"connection_id":150824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:44:58] local.INFO: Extracted packet for processing {"connection_id":150824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:44:58] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184673792001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785877933000,"timestamp_ms":1785877933000,"timestamp_seconds":1785877933,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9eabc8"} 
[2026-08-05 02:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184673792001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184673792001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:44:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:44:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184673792001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":150824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:44:58] local.INFO: GPS data processed {"connection_id":150824,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:44:58] local.INFO: Acknowledgment sent {"connection_id":150824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:45:16] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:45:16] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:45:16] local.INFO: IMEI packet received {"connection_id":148424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":148424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:45:21] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:45:21] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:45:21] local.INFO: IMEI packet received {"connection_id":148424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":148424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:45:22] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:45:22] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:45:22] local.INFO: Packet analysis {"connection_id":148424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:45:22] local.INFO: Extracted packet for processing {"connection_id":148424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:45:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184673792001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877933000,"timestamp_ms":1785877933000,"timestamp_seconds":1785877933,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9eabc8"} 
[2026-08-05 02:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:45: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-08-05 02: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02: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-08-05 02:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184673792001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184673792001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:45:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:45:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184673792001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":148424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:45:22] local.INFO: GPS data processed {"connection_id":148424,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:45:22] local.INFO: Acknowledgment sent {"connection_id":148424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:45:52] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:45:52] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:45:52] local.INFO: Packet analysis {"connection_id":148424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:45:52] local.INFO: Extracted packet for processing {"connection_id":148424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:45:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184673792001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785877933000,"timestamp_ms":1785877933000,"timestamp_seconds":1785877933,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9eabc8"} 
[2026-08-05 02:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184673792001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184673792001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:45:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:45:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184673792001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":148424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:45:52] local.INFO: GPS data processed {"connection_id":148424,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:45:52] local.INFO: Acknowledgment sent {"connection_id":148424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:46:18] local.INFO: TCP Data received {"connection_id":148189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:46:18] local.INFO: Processing buffer {"connection_id":148189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:46:18] local.INFO: IMEI packet received {"connection_id":148189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":148189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:46:21] local.INFO: TCP Data received {"connection_id":148189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:46:21] local.INFO: Processing buffer {"connection_id":148189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:46:21] local.INFO: IMEI packet received {"connection_id":148189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":148189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:46:22] local.INFO: TCP Data received {"connection_id":148189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:46:22] local.INFO: Processing buffer {"connection_id":148189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:46:22] local.INFO: Packet analysis {"connection_id":148189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:46:22] local.INFO: Extracted packet for processing {"connection_id":148189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:46:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184673792001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877933000,"timestamp_ms":1785877933000,"timestamp_seconds":1785877933,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9eabc8"} 
[2026-08-05 02:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02: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-08-05 02: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02: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-08-05 02:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184673792001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184673792001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:46:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:46:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184673792001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":148189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:46:22] local.INFO: GPS data processed {"connection_id":148189,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:46:22] local.INFO: Acknowledgment sent {"connection_id":148189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:46:26] local.INFO: TCP Data received {"connection_id":148189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:46:26] local.INFO: Processing buffer {"connection_id":148189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:46:26] local.INFO: Packet analysis {"connection_id":148189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:46:26] local.INFO: Extracted packet for processing {"connection_id":148189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:46:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184673792001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785877933000,"timestamp_ms":1785877933000,"timestamp_seconds":1785877933,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9eabc8"} 
[2026-08-05 02:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184673792001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184673792001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:46:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:46:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184673792001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":148189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:46:26] local.INFO: GPS data processed {"connection_id":148189,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:46:26] local.INFO: Acknowledgment sent {"connection_id":148189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:47:04] local.INFO: TCP Data received {"connection_id":148189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:47:04] local.INFO: Processing buffer {"connection_id":148189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:47:04] local.INFO: Packet analysis {"connection_id":148189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:47:04] local.INFO: Extracted packet for processing {"connection_id":148189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:47:04] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184673792001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785877933000,"timestamp_ms":1785877933000,"timestamp_seconds":1785877933,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9eabc8"} 
[2026-08-05 02:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184673792001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184673792001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:47:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:47:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184673792001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":148189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:47:04] local.INFO: GPS data processed {"connection_id":148189,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:47:04] local.INFO: Acknowledgment sent {"connection_id":148189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:47:16] local.INFO: TCP Data received {"connection_id":149423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:47:16] local.INFO: Processing buffer {"connection_id":149423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:47:16] local.INFO: IMEI packet received {"connection_id":149423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":149423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:47:21] local.INFO: TCP Data received {"connection_id":149423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:47:21] local.INFO: Processing buffer {"connection_id":149423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:47:21] local.INFO: IMEI packet received {"connection_id":149423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":149423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:47:22] local.INFO: TCP Data received {"connection_id":149423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:47:22] local.INFO: Processing buffer {"connection_id":149423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fce9eabc8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 02:47:22] local.INFO: Packet analysis {"connection_id":149423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:47:22] local.INFO: Extracted packet for processing {"connection_id":149423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fce9e"} 
[2026-08-05 02:47:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184673792001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785877933000,"timestamp_ms":1785877933000,"timestamp_seconds":1785877933,"priority":1,"record_length":96,"hex_timestamp":"0000019fce9eabc8"} 
[2026-08-05 02:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:47: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-08-05 02:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 02:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184673792001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184673792001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:47:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:47:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184673792001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":149423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:47:22] local.INFO: GPS data processed {"connection_id":149423,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:47:22] local.INFO: Acknowledgment sent {"connection_id":149423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:47:52] local.INFO: TCP Data received {"connection_id":149423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:47:52] local.INFO: Processing buffer {"connection_id":149423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:47:52] local.INFO: Packet analysis {"connection_id":149423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:47:52] local.INFO: Extracted packet for processing {"connection_id":149423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:47:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184750848001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785878234000,"timestamp_ms":1785878234000,"timestamp_seconds":1785878234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea34390"} 
[2026-08-05 02:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184750848001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184750848001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:47:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:47:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184750848001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":149423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:47:52] local.INFO: GPS data processed {"connection_id":149423,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:47:52] local.INFO: Acknowledgment sent {"connection_id":149423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:48:16] local.INFO: TCP Data received {"connection_id":148425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:48:16] local.INFO: Processing buffer {"connection_id":148425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:48:16] local.INFO: IMEI packet received {"connection_id":148425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":148425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:48:21] local.INFO: TCP Data received {"connection_id":148425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:48:21] local.INFO: Processing buffer {"connection_id":148425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:48:21] local.INFO: IMEI packet received {"connection_id":148425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":148425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:48:22] local.INFO: TCP Data received {"connection_id":148425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:48:22] local.INFO: Processing buffer {"connection_id":148425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:48:22] local.INFO: Packet analysis {"connection_id":148425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:48:22] local.INFO: Extracted packet for processing {"connection_id":148425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:48:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184750848001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878234000,"timestamp_ms":1785878234000,"timestamp_seconds":1785878234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea34390"} 
[2026-08-05 02:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:48: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-08-05 02:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184750848001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184750848001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:48:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:48:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184750848001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":148425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:48:22] local.INFO: GPS data processed {"connection_id":148425,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:48:22] local.INFO: Acknowledgment sent {"connection_id":148425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:48:53] local.INFO: TCP Data received {"connection_id":148425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:48:53] local.INFO: Processing buffer {"connection_id":148425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:48:53] local.INFO: Packet analysis {"connection_id":148425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:48:53] local.INFO: Extracted packet for processing {"connection_id":148425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:48:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184750848001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785878234000,"timestamp_ms":1785878234000,"timestamp_seconds":1785878234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea34390"} 
[2026-08-05 02:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184750848001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184750848001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:48:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:48:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184750848001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":148425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:48:53] local.INFO: GPS data processed {"connection_id":148425,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:48:53] local.INFO: Acknowledgment sent {"connection_id":148425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:49:16] local.INFO: TCP Data received {"connection_id":149424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:49:16] local.INFO: Processing buffer {"connection_id":149424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:49:16] local.INFO: IMEI packet received {"connection_id":149424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":149424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:49:23] local.INFO: TCP Data received {"connection_id":149424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:49:23] local.INFO: Processing buffer {"connection_id":149424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:49:23] local.INFO: IMEI packet received {"connection_id":149424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":149424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:49:25] local.INFO: TCP Data received {"connection_id":149424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:49:25] local.INFO: Processing buffer {"connection_id":149424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:49:25] local.INFO: Packet analysis {"connection_id":149424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:49:25] local.INFO: Extracted packet for processing {"connection_id":149424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:49:25] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184750848001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785878234000,"timestamp_ms":1785878234000,"timestamp_seconds":1785878234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea34390"} 
[2026-08-05 02:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184750848001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184750848001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:49:25] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:49:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184750848001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":149424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:49:25] local.INFO: GPS data processed {"connection_id":149424,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:49:25] local.INFO: Acknowledgment sent {"connection_id":149424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:49:56] local.INFO: TCP Data received {"connection_id":149424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:49:56] local.INFO: Processing buffer {"connection_id":149424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:49:56] local.INFO: Packet analysis {"connection_id":149424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:49:56] local.INFO: Extracted packet for processing {"connection_id":149424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:49:56] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184750848001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785878234000,"timestamp_ms":1785878234000,"timestamp_seconds":1785878234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea34390"} 
[2026-08-05 02:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184750848001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184750848001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:49:56] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:49:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184750848001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":149424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:49:56] local.INFO: GPS data processed {"connection_id":149424,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:49:56] local.INFO: Acknowledgment sent {"connection_id":149424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:50:16] local.INFO: TCP Data received {"connection_id":150825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:50:16] local.INFO: Processing buffer {"connection_id":150825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:50:16] local.INFO: IMEI packet received {"connection_id":150825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":150825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:50:21] local.INFO: TCP Data received {"connection_id":150825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:50:21] local.INFO: Processing buffer {"connection_id":150825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:50:21] local.INFO: IMEI packet received {"connection_id":150825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":150825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:50:22] local.INFO: TCP Data received {"connection_id":150825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:50:22] local.INFO: Processing buffer {"connection_id":150825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:50:22] local.INFO: Packet analysis {"connection_id":150825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:50:22] local.INFO: Extracted packet for processing {"connection_id":150825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:50:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184750848001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878234000,"timestamp_ms":1785878234000,"timestamp_seconds":1785878234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea34390"} 
[2026-08-05 02:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:50: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-08-05 02:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184750848001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184750848001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:50:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:50:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184750848001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":150825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:50:22] local.INFO: GPS data processed {"connection_id":150825,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:50:22] local.INFO: Acknowledgment sent {"connection_id":150825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:50:53] local.INFO: TCP Data received {"connection_id":150825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:50:53] local.INFO: Processing buffer {"connection_id":150825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:50:53] local.INFO: Packet analysis {"connection_id":150825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:50:53] local.INFO: Extracted packet for processing {"connection_id":150825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:50:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184750848001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785878234000,"timestamp_ms":1785878234000,"timestamp_seconds":1785878234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea34390"} 
[2026-08-05 02:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184750848001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184750848001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:50:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:50:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184750848001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":150825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:50:53] local.INFO: GPS data processed {"connection_id":150825,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:50:53] local.INFO: Acknowledgment sent {"connection_id":150825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:51:21] local.INFO: TCP Data received {"connection_id":148190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:51:21] local.INFO: Processing buffer {"connection_id":148190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:51:21] local.INFO: IMEI packet received {"connection_id":148190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":148190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:51:22] local.INFO: TCP Data received {"connection_id":148190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:51:22] local.INFO: Processing buffer {"connection_id":148190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:51:22] local.INFO: Packet analysis {"connection_id":148190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:51:22] local.INFO: Extracted packet for processing {"connection_id":148190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:51:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184750848001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878234000,"timestamp_ms":1785878234000,"timestamp_seconds":1785878234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea34390"} 
[2026-08-05 02:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:51: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-08-05 02:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184750848001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184750848001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:51:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:51:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184750848001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":148190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:51:22] local.INFO: GPS data processed {"connection_id":148190,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:51:22] local.INFO: Acknowledgment sent {"connection_id":148190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:51:52] local.INFO: TCP Data received {"connection_id":148190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:51:52] local.INFO: Processing buffer {"connection_id":148190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:51:52] local.INFO: Packet analysis {"connection_id":148190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:51:52] local.INFO: Extracted packet for processing {"connection_id":148190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:51:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184750848001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785878234000,"timestamp_ms":1785878234000,"timestamp_seconds":1785878234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea34390"} 
[2026-08-05 02:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184750848001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184750848001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:51:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:51:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184750848001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":148190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:51:52] local.INFO: GPS data processed {"connection_id":148190,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:51:52] local.INFO: Acknowledgment sent {"connection_id":148190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:52:16] local.INFO: TCP Data received {"connection_id":149425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:52:16] local.INFO: Processing buffer {"connection_id":149425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:52:16] local.INFO: IMEI packet received {"connection_id":149425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":149425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:52:21] local.INFO: TCP Data received {"connection_id":149425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:52:21] local.INFO: Processing buffer {"connection_id":149425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:52:21] local.INFO: IMEI packet received {"connection_id":149425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":149425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:52:22] local.INFO: TCP Data received {"connection_id":149425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:52:22] local.INFO: Processing buffer {"connection_id":149425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:52:22] local.INFO: Packet analysis {"connection_id":149425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:52:22] local.INFO: Extracted packet for processing {"connection_id":149425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:52:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184750848001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878234000,"timestamp_ms":1785878234000,"timestamp_seconds":1785878234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea34390"} 
[2026-08-05 02:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:52: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-08-05 02:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184750848001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184750848001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:52:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:52:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184750848001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":149425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:52:22] local.INFO: GPS data processed {"connection_id":149425,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:52:22] local.INFO: Acknowledgment sent {"connection_id":149425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:52:53] local.INFO: TCP Data received {"connection_id":149425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:52:53] local.INFO: Processing buffer {"connection_id":149425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea34390012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 02:52:53] local.INFO: Packet analysis {"connection_id":149425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:52:53] local.INFO: Extracted packet for processing {"connection_id":149425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea3"} 
[2026-08-05 02:52:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184750848001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785878234000,"timestamp_ms":1785878234000,"timestamp_seconds":1785878234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea34390"} 
[2026-08-05 02:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184750848001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184750848001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:52:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:52:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184750848001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":149425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:52:53] local.INFO: GPS data processed {"connection_id":149425,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:52:53] local.INFO: Acknowledgment sent {"connection_id":149425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:53:16] local.INFO: TCP Data received {"connection_id":148191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:53:16] local.INFO: Processing buffer {"connection_id":148191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:53:16] local.INFO: IMEI packet received {"connection_id":148191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":148191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:53:21] local.INFO: TCP Data received {"connection_id":148191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:53:21] local.INFO: Processing buffer {"connection_id":148191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:53:21] local.INFO: IMEI packet received {"connection_id":148191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":148191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:53:22] local.INFO: TCP Data received {"connection_id":148191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:53:22] local.INFO: Processing buffer {"connection_id":148191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:53:22] local.INFO: Packet analysis {"connection_id":148191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:53:22] local.INFO: Extracted packet for processing {"connection_id":148191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:53:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184827904001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878535000,"timestamp_ms":1785878535000,"timestamp_seconds":1785878535,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea7db58"} 
[2026-08-05 02:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:53: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-08-05 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184827904001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184827904001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:53:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:53:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184827904001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":148191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:53:22] local.INFO: GPS data processed {"connection_id":148191,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:53:22] local.INFO: Acknowledgment sent {"connection_id":148191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:53:52] local.INFO: TCP Data received {"connection_id":148191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:53:52] local.INFO: Processing buffer {"connection_id":148191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:53:52] local.INFO: Packet analysis {"connection_id":148191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:53:52] local.INFO: Extracted packet for processing {"connection_id":148191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:53:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184827904001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785878535000,"timestamp_ms":1785878535000,"timestamp_seconds":1785878535,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea7db58"} 
[2026-08-05 02:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184827904001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184827904001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:53:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:53:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184827904001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":148191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:53:52] local.INFO: GPS data processed {"connection_id":148191,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:53:52] local.INFO: Acknowledgment sent {"connection_id":148191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:54:16] local.INFO: TCP Data received {"connection_id":149426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:54:16] local.INFO: Processing buffer {"connection_id":149426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:54:16] local.INFO: IMEI packet received {"connection_id":149426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":149426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:54:21] local.INFO: TCP Data received {"connection_id":149426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:54:21] local.INFO: Processing buffer {"connection_id":149426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:54:21] local.INFO: IMEI packet received {"connection_id":149426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":149426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:54:22] local.INFO: TCP Data received {"connection_id":149426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:54:22] local.INFO: Processing buffer {"connection_id":149426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:54:22] local.INFO: Packet analysis {"connection_id":149426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:54:22] local.INFO: Extracted packet for processing {"connection_id":149426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:54:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184827904001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878535000,"timestamp_ms":1785878535000,"timestamp_seconds":1785878535,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea7db58"} 
[2026-08-05 02:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:54: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-08-05 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184827904001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184827904001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:54:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:54:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184827904001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":149426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:54:22] local.INFO: GPS data processed {"connection_id":149426,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:54:22] local.INFO: Acknowledgment sent {"connection_id":149426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:54:53] local.INFO: TCP Data received {"connection_id":149426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:54:53] local.INFO: Processing buffer {"connection_id":149426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:54:53] local.INFO: Packet analysis {"connection_id":149426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:54:53] local.INFO: Extracted packet for processing {"connection_id":149426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:54:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184827904001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785878535000,"timestamp_ms":1785878535000,"timestamp_seconds":1785878535,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea7db58"} 
[2026-08-05 02:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184827904001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184827904001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:54:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:54:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184827904001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":149426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:54:53] local.INFO: GPS data processed {"connection_id":149426,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:54:53] local.INFO: Acknowledgment sent {"connection_id":149426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:55:16] local.INFO: TCP Data received {"connection_id":148192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:55:16] local.INFO: Processing buffer {"connection_id":148192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:55:16] local.INFO: IMEI packet received {"connection_id":148192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":148192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:55:21] local.INFO: TCP Data received {"connection_id":148192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:55:21] local.INFO: Processing buffer {"connection_id":148192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:55:21] local.INFO: IMEI packet received {"connection_id":148192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":148192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:55:22] local.INFO: TCP Data received {"connection_id":148192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:55:22] local.INFO: Processing buffer {"connection_id":148192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:55:22] local.INFO: Packet analysis {"connection_id":148192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:55:22] local.INFO: Extracted packet for processing {"connection_id":148192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:55:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184827904001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878535000,"timestamp_ms":1785878535000,"timestamp_seconds":1785878535,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea7db58"} 
[2026-08-05 02:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:55: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-08-05 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184827904001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184827904001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:55:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:55:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184827904001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":148192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:55:22] local.INFO: GPS data processed {"connection_id":148192,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:55:22] local.INFO: Acknowledgment sent {"connection_id":148192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:55:52] local.INFO: TCP Data received {"connection_id":148192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:55:52] local.INFO: Processing buffer {"connection_id":148192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:55:52] local.INFO: Packet analysis {"connection_id":148192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:55:52] local.INFO: Extracted packet for processing {"connection_id":148192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:55:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184827904001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785878535000,"timestamp_ms":1785878535000,"timestamp_seconds":1785878535,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea7db58"} 
[2026-08-05 02:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184827904001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184827904001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:55:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:55:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184827904001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":148192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:55:52] local.INFO: GPS data processed {"connection_id":148192,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:55:52] local.INFO: Acknowledgment sent {"connection_id":148192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:56:16] local.INFO: TCP Data received {"connection_id":149427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:56:16] local.INFO: Processing buffer {"connection_id":149427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:56:16] local.INFO: IMEI packet received {"connection_id":149427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":149427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:56:21] local.INFO: TCP Data received {"connection_id":149427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:56:21] local.INFO: Processing buffer {"connection_id":149427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:56:21] local.INFO: IMEI packet received {"connection_id":149427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":149427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:56:22] local.INFO: TCP Data received {"connection_id":149427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:56:22] local.INFO: Processing buffer {"connection_id":149427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:56:22] local.INFO: Packet analysis {"connection_id":149427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:56:22] local.INFO: Extracted packet for processing {"connection_id":149427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:56:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184827904001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878535000,"timestamp_ms":1785878535000,"timestamp_seconds":1785878535,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea7db58"} 
[2026-08-05 02:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:56: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-08-05 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02: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-08-05 02:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184827904001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184827904001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:56:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:56:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184827904001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":149427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:56:22] local.INFO: GPS data processed {"connection_id":149427,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:56:22] local.INFO: Acknowledgment sent {"connection_id":149427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:56:53] local.INFO: TCP Data received {"connection_id":149427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:56:53] local.INFO: Processing buffer {"connection_id":149427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:56:53] local.INFO: Packet analysis {"connection_id":149427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:56:53] local.INFO: Extracted packet for processing {"connection_id":149427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:56:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184827904001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785878535000,"timestamp_ms":1785878535000,"timestamp_seconds":1785878535,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea7db58"} 
[2026-08-05 02:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184827904001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184827904001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:56:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:56:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184827904001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":149427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:56:53] local.INFO: GPS data processed {"connection_id":149427,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:56:53] local.INFO: Acknowledgment sent {"connection_id":149427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:57:16] local.INFO: TCP Data received {"connection_id":150826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:57:16] local.INFO: Processing buffer {"connection_id":150826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:57:16] local.INFO: IMEI packet received {"connection_id":150826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":150826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:57:21] local.INFO: TCP Data received {"connection_id":150826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:57:21] local.INFO: Processing buffer {"connection_id":150826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:57:21] local.INFO: IMEI packet received {"connection_id":150826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":150826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:57:22] local.INFO: TCP Data received {"connection_id":150826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:57:22] local.INFO: Processing buffer {"connection_id":150826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:57:22] local.INFO: Packet analysis {"connection_id":150826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:57:22] local.INFO: Extracted packet for processing {"connection_id":150826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:57:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184827904001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878535000,"timestamp_ms":1785878535000,"timestamp_seconds":1785878535,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea7db58"} 
[2026-08-05 02:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:57: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-08-05 02:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184827904001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184827904001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:57:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:57:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184827904001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":150826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:57:22] local.INFO: GPS data processed {"connection_id":150826,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:57:22] local.INFO: Acknowledgment sent {"connection_id":150826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:57:52] local.INFO: TCP Data received {"connection_id":150826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:57:52] local.INFO: Processing buffer {"connection_id":150826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcea7db58012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:57:52] local.INFO: Packet analysis {"connection_id":150826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:57:52] local.INFO: Extracted packet for processing {"connection_id":150826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcea7"} 
[2026-08-05 02:57:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184827904001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785878535000,"timestamp_ms":1785878535000,"timestamp_seconds":1785878535,"priority":1,"record_length":96,"hex_timestamp":"0000019fcea7db58"} 
[2026-08-05 02:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184827904001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184827904001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:57:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:57:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184827904001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":150826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:57:52] local.INFO: GPS data processed {"connection_id":150826,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:57:52] local.INFO: Acknowledgment sent {"connection_id":150826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:58:16] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:58:16] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:58:16] local.INFO: IMEI packet received {"connection_id":148426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":148426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:58:21] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:58:21] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:58:21] local.INFO: IMEI packet received {"connection_id":148426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":148426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:58:22] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:58:22] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:58:22] local.INFO: Packet analysis {"connection_id":148426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 02:58:22] local.INFO: Extracted packet for processing {"connection_id":148426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 02:58:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184904960001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878836000,"timestamp_ms":1785878836000,"timestamp_seconds":1785878836,"priority":1,"record_length":96,"hex_timestamp":"0000019fceac7320"} 
[2026-08-05 02:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184904960001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184904960001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:58:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:58:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184904960001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":148426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:58:22] local.INFO: GPS data processed {"connection_id":148426,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:58:22] local.INFO: Acknowledgment sent {"connection_id":148426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:58:53] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:58:53] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:58:53] local.INFO: Packet analysis {"connection_id":148426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 02:58:53] local.INFO: Extracted packet for processing {"connection_id":148426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 02:58:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184904960001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785878836000,"timestamp_ms":1785878836000,"timestamp_seconds":1785878836,"priority":1,"record_length":96,"hex_timestamp":"0000019fceac7320"} 
[2026-08-05 02:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184904960001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184904960001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:58:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:58:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184904960001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":148426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:58:53] local.INFO: GPS data processed {"connection_id":148426,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:58:53] local.INFO: Acknowledgment sent {"connection_id":148426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:59:21] local.INFO: TCP Data received {"connection_id":148193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:59:21] local.INFO: Processing buffer {"connection_id":148193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:59:21] local.INFO: IMEI packet received {"connection_id":148193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 02:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":148193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 02:59:26] local.INFO: TCP Data received {"connection_id":148193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:59:26] local.INFO: Processing buffer {"connection_id":148193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 02:59:26] local.INFO: IMEI packet received {"connection_id":148193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 02:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":148193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 02:59:27] local.INFO: TCP Data received {"connection_id":148193,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:59:27] local.INFO: Processing buffer {"connection_id":148193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:59:27] local.INFO: Packet analysis {"connection_id":148193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 02:59:27] local.INFO: Extracted packet for processing {"connection_id":148193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 02:59:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184904960001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785878836000,"timestamp_ms":1785878836000,"timestamp_seconds":1785878836,"priority":1,"record_length":96,"hex_timestamp":"0000019fceac7320"} 
[2026-08-05 02:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184904960001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184904960001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:59:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:59:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184904960001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":148193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:59:27] local.INFO: GPS data processed {"connection_id":148193,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:59:27] local.INFO: Acknowledgment sent {"connection_id":148193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 02:59:31] local.INFO: TCP Data received {"connection_id":148193,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:59:31] local.INFO: Processing buffer {"connection_id":148193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 02:59:31] local.INFO: Packet analysis {"connection_id":148193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 02:59:31] local.INFO: Extracted packet for processing {"connection_id":148193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 02:59:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 02:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 02:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184904960001,"note":"Value kept but may cause issues"} 
[2026-08-05 02:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 02:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 02:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 02:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785878836000,"timestamp_ms":1785878836000,"timestamp_seconds":1785878836,"priority":1,"record_length":96,"hex_timestamp":"0000019fceac7320"} 
[2026-08-05 02:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 02:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 02:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 02:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 02:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 02:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 02:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 02:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 02:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 02:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 02:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 02:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 02:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184904960001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 02:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 02:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 02:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184904960001,"description":"Unknown IO ID 0"} 
[2026-08-05 02:59:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 02:59:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 02:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 02:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 02:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184904960001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 02:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":148193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 02:59:31] local.INFO: GPS data processed {"connection_id":148193,"processed":1,"errors":0,"total":1} 
[2026-08-05 02:59:31] local.INFO: Acknowledgment sent {"connection_id":148193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:00:16] local.INFO: TCP Data received {"connection_id":148194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:00:16] local.INFO: Processing buffer {"connection_id":148194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:00:16] local.INFO: IMEI packet received {"connection_id":148194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":148194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:00:21] local.INFO: TCP Data received {"connection_id":148194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:00:21] local.INFO: Processing buffer {"connection_id":148194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:00:21] local.INFO: IMEI packet received {"connection_id":148194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":148194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:00:22] local.INFO: TCP Data received {"connection_id":148194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:00:22] local.INFO: Processing buffer {"connection_id":148194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:00:22] local.INFO: Packet analysis {"connection_id":148194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:00:22] local.INFO: Extracted packet for processing {"connection_id":148194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:00:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184904960001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878836000,"timestamp_ms":1785878836000,"timestamp_seconds":1785878836,"priority":1,"record_length":96,"hex_timestamp":"0000019fceac7320"} 
[2026-08-05 03:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184904960001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184904960001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:00:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:00:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184904960001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":148194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:00:22] local.INFO: GPS data processed {"connection_id":148194,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:00:22] local.INFO: Acknowledgment sent {"connection_id":148194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:00:53] local.INFO: TCP Data received {"connection_id":148194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:00:53] local.INFO: Processing buffer {"connection_id":148194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:00:53] local.INFO: Packet analysis {"connection_id":148194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:00:53] local.INFO: Extracted packet for processing {"connection_id":148194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:00:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184904960001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785878836000,"timestamp_ms":1785878836000,"timestamp_seconds":1785878836,"priority":1,"record_length":96,"hex_timestamp":"0000019fceac7320"} 
[2026-08-05 03:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184904960001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184904960001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:00:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:00:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184904960001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":148194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:00:53] local.INFO: GPS data processed {"connection_id":148194,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:00:53] local.INFO: Acknowledgment sent {"connection_id":148194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:01:16] local.INFO: TCP Data received {"connection_id":148427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:01:16] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:01:16] local.INFO: IMEI packet received {"connection_id":148427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":148427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:01:21] local.INFO: TCP Data received {"connection_id":148427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:01:21] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:01:21] local.INFO: IMEI packet received {"connection_id":148427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":148427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:01:22] local.INFO: TCP Data received {"connection_id":148427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:01:22] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:01:22] local.INFO: Packet analysis {"connection_id":148427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:01:22] local.INFO: Extracted packet for processing {"connection_id":148427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:01:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184904960001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878836000,"timestamp_ms":1785878836000,"timestamp_seconds":1785878836,"priority":1,"record_length":96,"hex_timestamp":"0000019fceac7320"} 
[2026-08-05 03:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184904960001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184904960001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:01:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:01:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184904960001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":148427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:01:22] local.INFO: GPS data processed {"connection_id":148427,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:01:22] local.INFO: Acknowledgment sent {"connection_id":148427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:01:52] local.INFO: TCP Data received {"connection_id":148427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:01:52] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:01:52] local.INFO: Packet analysis {"connection_id":148427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:01:52] local.INFO: Extracted packet for processing {"connection_id":148427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:01:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184904960001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785878836000,"timestamp_ms":1785878836000,"timestamp_seconds":1785878836,"priority":1,"record_length":96,"hex_timestamp":"0000019fceac7320"} 
[2026-08-05 03:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184904960001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184904960001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:01:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:01:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184904960001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":148427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:01:52] local.INFO: GPS data processed {"connection_id":148427,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:01:52] local.INFO: Acknowledgment sent {"connection_id":148427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:02:16] local.INFO: TCP Data received {"connection_id":150827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:02:16] local.INFO: Processing buffer {"connection_id":150827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:02:16] local.INFO: IMEI packet received {"connection_id":150827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":150827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:02:21] local.INFO: TCP Data received {"connection_id":150827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:02:21] local.INFO: Processing buffer {"connection_id":150827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:02:21] local.INFO: IMEI packet received {"connection_id":150827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":150827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:02:22] local.INFO: TCP Data received {"connection_id":150827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:02:22] local.INFO: Processing buffer {"connection_id":150827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:02:22] local.INFO: Packet analysis {"connection_id":150827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:02:22] local.INFO: Extracted packet for processing {"connection_id":150827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:02:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184904960001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785878836000,"timestamp_ms":1785878836000,"timestamp_seconds":1785878836,"priority":1,"record_length":96,"hex_timestamp":"0000019fceac7320"} 
[2026-08-05 03:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03: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-08-05 03: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03: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-08-05 03:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184904960001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184904960001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:02:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:02:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184904960001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":150827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:02:22] local.INFO: GPS data processed {"connection_id":150827,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:02:22] local.INFO: Acknowledgment sent {"connection_id":150827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:02:53] local.INFO: TCP Data received {"connection_id":150827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:02:53] local.INFO: Processing buffer {"connection_id":150827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceac7320012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:02:53] local.INFO: Packet analysis {"connection_id":150827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:02:53] local.INFO: Extracted packet for processing {"connection_id":150827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceac"} 
[2026-08-05 03:02:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184904960001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785878836000,"timestamp_ms":1785878836000,"timestamp_seconds":1785878836,"priority":1,"record_length":96,"hex_timestamp":"0000019fceac7320"} 
[2026-08-05 03:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184904960001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184904960001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:02:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:02:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184904960001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":150827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:02:53] local.INFO: GPS data processed {"connection_id":150827,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:02:53] local.INFO: Acknowledgment sent {"connection_id":150827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:03:16] local.INFO: TCP Data received {"connection_id":149428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:03:16] local.INFO: Processing buffer {"connection_id":149428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:03:16] local.INFO: IMEI packet received {"connection_id":149428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":149428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:03:21] local.INFO: TCP Data received {"connection_id":149428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:03:21] local.INFO: Processing buffer {"connection_id":149428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:03:21] local.INFO: IMEI packet received {"connection_id":149428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":149428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:03:22] local.INFO: TCP Data received {"connection_id":149428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:03:22] local.INFO: Processing buffer {"connection_id":149428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:03:22] local.INFO: Packet analysis {"connection_id":149428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:03:22] local.INFO: Extracted packet for processing {"connection_id":149428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:03:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184982016001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879137000,"timestamp_ms":1785879137000,"timestamp_seconds":1785879137,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb10ae8"} 
[2026-08-05 03:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:03: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-08-05 03:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03: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-08-05 03:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184982016001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184982016001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:03:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:03:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184982016001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":149428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:03:22] local.INFO: GPS data processed {"connection_id":149428,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:03:22] local.INFO: Acknowledgment sent {"connection_id":149428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:03:52] local.INFO: TCP Data received {"connection_id":149428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:03:52] local.INFO: Processing buffer {"connection_id":149428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:03:52] local.INFO: Packet analysis {"connection_id":149428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:03:52] local.INFO: Extracted packet for processing {"connection_id":149428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:03:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184982016001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785879137000,"timestamp_ms":1785879137000,"timestamp_seconds":1785879137,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb10ae8"} 
[2026-08-05 03:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184982016001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184982016001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:03:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:03:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184982016001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":149428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:03:52] local.INFO: GPS data processed {"connection_id":149428,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:03:52] local.INFO: Acknowledgment sent {"connection_id":149428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:04:16] local.INFO: TCP Data received {"connection_id":149429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:04:16] local.INFO: Processing buffer {"connection_id":149429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:04:16] local.INFO: IMEI packet received {"connection_id":149429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":149429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:04:21] local.INFO: TCP Data received {"connection_id":149429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:04:21] local.INFO: Processing buffer {"connection_id":149429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:04:21] local.INFO: IMEI packet received {"connection_id":149429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":149429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:04:22] local.INFO: TCP Data received {"connection_id":149429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:04:22] local.INFO: Processing buffer {"connection_id":149429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:04:22] local.INFO: Packet analysis {"connection_id":149429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:04:22] local.INFO: Extracted packet for processing {"connection_id":149429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:04:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184982016001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879137000,"timestamp_ms":1785879137000,"timestamp_seconds":1785879137,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb10ae8"} 
[2026-08-05 03:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:04: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-08-05 03:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184982016001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184982016001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:04:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:04:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184982016001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":149429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:04:22] local.INFO: GPS data processed {"connection_id":149429,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:04:22] local.INFO: Acknowledgment sent {"connection_id":149429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:04:53] local.INFO: TCP Data received {"connection_id":149429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:04:53] local.INFO: Processing buffer {"connection_id":149429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:04:53] local.INFO: Packet analysis {"connection_id":149429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:04:53] local.INFO: Extracted packet for processing {"connection_id":149429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:04:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184982016001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785879137000,"timestamp_ms":1785879137000,"timestamp_seconds":1785879137,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb10ae8"} 
[2026-08-05 03:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:04: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-08-05 03:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184982016001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184982016001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:04:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:04:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184982016001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":149429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:04:53] local.INFO: GPS data processed {"connection_id":149429,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:04:53] local.INFO: Acknowledgment sent {"connection_id":149429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:05:16] local.INFO: TCP Data received {"connection_id":150828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:05:16] local.INFO: Processing buffer {"connection_id":150828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:05:16] local.INFO: IMEI packet received {"connection_id":150828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":150828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:05:21] local.INFO: TCP Data received {"connection_id":150828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:05:21] local.INFO: Processing buffer {"connection_id":150828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:05:21] local.INFO: IMEI packet received {"connection_id":150828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":150828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:05:22] local.INFO: TCP Data received {"connection_id":150828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:05:22] local.INFO: Processing buffer {"connection_id":150828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:05:22] local.INFO: Packet analysis {"connection_id":150828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:05:22] local.INFO: Extracted packet for processing {"connection_id":150828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:05:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184982016001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879137000,"timestamp_ms":1785879137000,"timestamp_seconds":1785879137,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb10ae8"} 
[2026-08-05 03:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:05: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-08-05 03:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184982016001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184982016001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:05:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:05:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184982016001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":150828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:05:22] local.INFO: GPS data processed {"connection_id":150828,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:05:22] local.INFO: Acknowledgment sent {"connection_id":150828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:05:52] local.INFO: TCP Data received {"connection_id":150828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:05:52] local.INFO: Processing buffer {"connection_id":150828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:05:52] local.INFO: Packet analysis {"connection_id":150828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:05:52] local.INFO: Extracted packet for processing {"connection_id":150828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:05:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184982016001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785879137000,"timestamp_ms":1785879137000,"timestamp_seconds":1785879137,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb10ae8"} 
[2026-08-05 03:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184982016001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184982016001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:05:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:05:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184982016001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":150828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:05:52] local.INFO: GPS data processed {"connection_id":150828,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:05:52] local.INFO: Acknowledgment sent {"connection_id":150828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:06:16] local.INFO: TCP Data received {"connection_id":150829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:06:16] local.INFO: Processing buffer {"connection_id":150829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:06:16] local.INFO: IMEI packet received {"connection_id":150829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":150829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:06:21] local.INFO: TCP Data received {"connection_id":150829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:06:21] local.INFO: Processing buffer {"connection_id":150829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:06:21] local.INFO: IMEI packet received {"connection_id":150829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":150829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:06:22] local.INFO: TCP Data received {"connection_id":150829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:06:22] local.INFO: Processing buffer {"connection_id":150829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:06:22] local.INFO: Packet analysis {"connection_id":150829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:06:22] local.INFO: Extracted packet for processing {"connection_id":150829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:06:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184982016001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879137000,"timestamp_ms":1785879137000,"timestamp_seconds":1785879137,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb10ae8"} 
[2026-08-05 03:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:06: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-08-05 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184982016001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184982016001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:06:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:06:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184982016001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":150829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:06:22] local.INFO: GPS data processed {"connection_id":150829,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:06:22] local.INFO: Acknowledgment sent {"connection_id":150829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:06:53] local.INFO: TCP Data received {"connection_id":150829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:06:53] local.INFO: Processing buffer {"connection_id":150829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:06:53] local.INFO: Packet analysis {"connection_id":150829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:06:53] local.INFO: Extracted packet for processing {"connection_id":150829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:06:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184982016001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785879137000,"timestamp_ms":1785879137000,"timestamp_seconds":1785879137,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb10ae8"} 
[2026-08-05 03:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:06: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-08-05 03:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184982016001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184982016001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:06:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:06:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184982016001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":150829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:06:53] local.INFO: GPS data processed {"connection_id":150829,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:06:53] local.INFO: Acknowledgment sent {"connection_id":150829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:07:21] local.INFO: TCP Data received {"connection_id":150830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:07:21] local.INFO: Processing buffer {"connection_id":150830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:07:21] local.INFO: IMEI packet received {"connection_id":150830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":150830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:07:26] local.INFO: TCP Data received {"connection_id":150830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:07:26] local.INFO: Processing buffer {"connection_id":150830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:07:26] local.INFO: IMEI packet received {"connection_id":150830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":150830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:07:27] local.INFO: TCP Data received {"connection_id":150830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:07:27] local.INFO: Processing buffer {"connection_id":150830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:07:27] local.INFO: Packet analysis {"connection_id":150830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:07:27] local.INFO: Extracted packet for processing {"connection_id":150830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:07:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184982016001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785879137000,"timestamp_ms":1785879137000,"timestamp_seconds":1785879137,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb10ae8"} 
[2026-08-05 03:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184982016001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184982016001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:07:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:07:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184982016001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":150830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:07:27] local.INFO: GPS data processed {"connection_id":150830,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:07:27] local.INFO: Acknowledgment sent {"connection_id":150830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:07:31] local.INFO: TCP Data received {"connection_id":150830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:07:31] local.INFO: Processing buffer {"connection_id":150830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb10ae8012dc5e6c00537dbe80035013a28..."} 
[2026-08-05 03:07:31] local.INFO: Packet analysis {"connection_id":150830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:07:31] local.INFO: Extracted packet for processing {"connection_id":150830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb1"} 
[2026-08-05 03:07:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457184982016001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785879137000,"timestamp_ms":1785879137000,"timestamp_seconds":1785879137,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb10ae8"} 
[2026-08-05 03:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":150830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":150830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":150830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457184982016001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457184982016001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:07:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:07:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457184982016001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":150830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:07:31] local.INFO: GPS data processed {"connection_id":150830,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:07:31] local.INFO: Acknowledgment sent {"connection_id":150830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:08:19] local.INFO: TCP Data received {"connection_id":150831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:08:19] local.INFO: Processing buffer {"connection_id":150831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:08:19] local.INFO: IMEI packet received {"connection_id":150831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":150831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:08:21] local.INFO: TCP Data received {"connection_id":150831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:08:21] local.INFO: Processing buffer {"connection_id":150831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:08:21] local.INFO: IMEI packet received {"connection_id":150831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":150831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:08:21] local.INFO: TCP Data received {"connection_id":150831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:08:21] local.INFO: Processing buffer {"connection_id":150831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:08:21] local.INFO: Packet analysis {"connection_id":150831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:08:21] local.INFO: Extracted packet for processing {"connection_id":150831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:08:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03: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-08-05 03:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185059072001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785879438000,"timestamp_ms":1785879438000,"timestamp_seconds":1785879438,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb5a2b0"} 
[2026-08-05 03:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 03:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03: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-08-05 03:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:08: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-08-05 03:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185059072001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185059072001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:08:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:08:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185059072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":150831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:08:21] local.INFO: GPS data processed {"connection_id":150831,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:08:21] local.INFO: Acknowledgment sent {"connection_id":150831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:08:26] local.INFO: TCP Data received {"connection_id":150831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:08:26] local.INFO: Processing buffer {"connection_id":150831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:08:26] local.INFO: Packet analysis {"connection_id":150831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:08:26] local.INFO: Extracted packet for processing {"connection_id":150831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:08:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185059072001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785879438000,"timestamp_ms":1785879438000,"timestamp_seconds":1785879438,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb5a2b0"} 
[2026-08-05 03:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 03:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185059072001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185059072001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:08:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:08:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185059072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":150831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:08:26] local.INFO: GPS data processed {"connection_id":150831,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:08:26] local.INFO: Acknowledgment sent {"connection_id":150831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:08:57] local.INFO: TCP Data received {"connection_id":150831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:08:57] local.INFO: Processing buffer {"connection_id":150831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:08:57] local.INFO: Packet analysis {"connection_id":150831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:08:57] local.INFO: Extracted packet for processing {"connection_id":150831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:08:57] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185059072001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785879438000,"timestamp_ms":1785879438000,"timestamp_seconds":1785879438,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb5a2b0"} 
[2026-08-05 03:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 03:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185059072001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185059072001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:08:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:08:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185059072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":150831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:08:57] local.INFO: GPS data processed {"connection_id":150831,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:08:57] local.INFO: Acknowledgment sent {"connection_id":150831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:09:16] local.INFO: TCP Data received {"connection_id":149430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:09:16] local.INFO: Processing buffer {"connection_id":149430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:09:16] local.INFO: IMEI packet received {"connection_id":149430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":149430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:09:21] local.INFO: TCP Data received {"connection_id":149430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:09:21] local.INFO: Processing buffer {"connection_id":149430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:09:21] local.INFO: IMEI packet received {"connection_id":149430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":149430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:09:22] local.INFO: TCP Data received {"connection_id":149430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:09:22] local.INFO: Processing buffer {"connection_id":149430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:09:22] local.INFO: Packet analysis {"connection_id":149430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:09:22] local.INFO: Extracted packet for processing {"connection_id":149430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:09:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 03:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185059072001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879438000,"timestamp_ms":1785879438000,"timestamp_seconds":1785879438,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb5a2b0"} 
[2026-08-05 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-08-05 03:09: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-08-05 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":75,"data_length":795,"current_offset":136} 
[2026-08-05 03:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 03:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 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-08-05 03:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185059072001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185059072001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:09:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:09:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185059072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":149430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:09:22] local.INFO: GPS data processed {"connection_id":149430,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:09:22] local.INFO: Acknowledgment sent {"connection_id":149430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:10:16] local.INFO: TCP Data received {"connection_id":150832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:10:16] local.INFO: Processing buffer {"connection_id":150832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:10:16] local.INFO: IMEI packet received {"connection_id":150832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":150832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:10:21] local.INFO: TCP Data received {"connection_id":150832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:10:21] local.INFO: Processing buffer {"connection_id":150832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:10:21] local.INFO: IMEI packet received {"connection_id":150832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":150832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:10:22] local.INFO: TCP Data received {"connection_id":150832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:10:22] local.INFO: Processing buffer {"connection_id":150832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:10:22] local.INFO: Packet analysis {"connection_id":150832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:10:22] local.INFO: Extracted packet for processing {"connection_id":150832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:10:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185059072001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879438000,"timestamp_ms":1785879438000,"timestamp_seconds":1785879438,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb5a2b0"} 
[2026-08-05 03:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:10: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-08-05 03: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":75,"data_length":795,"current_offset":136} 
[2026-08-05 03:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185059072001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185059072001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:10:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:10:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185059072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":150832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:10:22] local.INFO: GPS data processed {"connection_id":150832,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:10:22] local.INFO: Acknowledgment sent {"connection_id":150832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:10:22] local.INFO: TCP Data received {"connection_id":149430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:10:22] local.INFO: Processing buffer {"connection_id":149430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:10:22] local.INFO: Packet analysis {"connection_id":149430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:10:22] local.INFO: Extracted packet for processing {"connection_id":149430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:10:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185059072001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879438000,"timestamp_ms":1785879438000,"timestamp_seconds":1785879438,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb5a2b0"} 
[2026-08-05 03:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:10: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-08-05 03: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":75,"data_length":795,"current_offset":136} 
[2026-08-05 03:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185059072001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185059072001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:10:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:10:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185059072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":149430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:10:22] local.INFO: GPS data processed {"connection_id":149430,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:10:22] local.INFO: Acknowledgment sent {"connection_id":149430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:10:53] local.INFO: TCP Data received {"connection_id":150832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:10:53] local.INFO: Processing buffer {"connection_id":150832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:10:53] local.INFO: Packet analysis {"connection_id":150832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:10:53] local.INFO: Extracted packet for processing {"connection_id":150832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:10:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185059072001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785879438000,"timestamp_ms":1785879438000,"timestamp_seconds":1785879438,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb5a2b0"} 
[2026-08-05 03:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 03:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185059072001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185059072001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:10:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:10:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185059072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":150832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:10:53] local.INFO: GPS data processed {"connection_id":150832,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:10:53] local.INFO: Acknowledgment sent {"connection_id":150832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:11:16] local.INFO: TCP Data received {"connection_id":149431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:11:16] local.INFO: Processing buffer {"connection_id":149431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:11:16] local.INFO: IMEI packet received {"connection_id":149431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":149431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:11:21] local.INFO: TCP Data received {"connection_id":149431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:11:21] local.INFO: Processing buffer {"connection_id":149431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:11:21] local.INFO: IMEI packet received {"connection_id":149431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":149431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:11:22] local.INFO: TCP Data received {"connection_id":149431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:11:22] local.INFO: Processing buffer {"connection_id":149431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:11:22] local.INFO: Packet analysis {"connection_id":149431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:11:22] local.INFO: Extracted packet for processing {"connection_id":149431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:11:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185059072001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879438000,"timestamp_ms":1785879438000,"timestamp_seconds":1785879438,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb5a2b0"} 
[2026-08-05 03:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:11: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-08-05 03:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 03:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185059072001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185059072001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:11:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:11:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185059072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":149431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:11:22] local.INFO: GPS data processed {"connection_id":149431,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:11:22] local.INFO: Acknowledgment sent {"connection_id":149431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:11:52] local.INFO: TCP Data received {"connection_id":149431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:11:52] local.INFO: Processing buffer {"connection_id":149431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:11:52] local.INFO: Packet analysis {"connection_id":149431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:11:52] local.INFO: Extracted packet for processing {"connection_id":149431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:11:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185059072001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785879438000,"timestamp_ms":1785879438000,"timestamp_seconds":1785879438,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb5a2b0"} 
[2026-08-05 03:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 03:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185059072001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185059072001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:11:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:11:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185059072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":149431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:11:52] local.INFO: GPS data processed {"connection_id":149431,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:11:52] local.INFO: Acknowledgment sent {"connection_id":149431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:12:16] local.INFO: TCP Data received {"connection_id":150833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:12:16] local.INFO: Processing buffer {"connection_id":150833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:12:16] local.INFO: IMEI packet received {"connection_id":150833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":150833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:12:21] local.INFO: TCP Data received {"connection_id":150833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:12:21] local.INFO: Processing buffer {"connection_id":150833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:12:21] local.INFO: IMEI packet received {"connection_id":150833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":150833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:12:22] local.INFO: TCP Data received {"connection_id":150833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:12:22] local.INFO: Processing buffer {"connection_id":150833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:12:22] local.INFO: Packet analysis {"connection_id":150833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:12:22] local.INFO: Extracted packet for processing {"connection_id":150833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:12:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185059072001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879438000,"timestamp_ms":1785879438000,"timestamp_seconds":1785879438,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb5a2b0"} 
[2026-08-05 03:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:12: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-08-05 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 03:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185059072001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185059072001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:12:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:12:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185059072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":150833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:12:22] local.INFO: GPS data processed {"connection_id":150833,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:12:22] local.INFO: Acknowledgment sent {"connection_id":150833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:12:53] local.INFO: TCP Data received {"connection_id":150833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:12:53] local.INFO: Processing buffer {"connection_id":150833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceb5a2b0012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:12:53] local.INFO: Packet analysis {"connection_id":150833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:12:53] local.INFO: Extracted packet for processing {"connection_id":150833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceb5"} 
[2026-08-05 03:12:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185059072001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785879438000,"timestamp_ms":1785879438000,"timestamp_seconds":1785879438,"priority":1,"record_length":96,"hex_timestamp":"0000019fceb5a2b0"} 
[2026-08-05 03:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 03:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185059072001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185059072001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:12:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:12:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185059072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":150833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:12:53] local.INFO: GPS data processed {"connection_id":150833,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:12:53] local.INFO: Acknowledgment sent {"connection_id":150833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:13:16] local.INFO: TCP Data received {"connection_id":150834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:13:16] local.INFO: Processing buffer {"connection_id":150834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:13:16] local.INFO: IMEI packet received {"connection_id":150834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":150834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:13:21] local.INFO: TCP Data received {"connection_id":150834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:13:21] local.INFO: Processing buffer {"connection_id":150834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:13:21] local.INFO: IMEI packet received {"connection_id":150834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":150834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:13:22] local.INFO: TCP Data received {"connection_id":150834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:13:22] local.INFO: Processing buffer {"connection_id":150834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:13:22] local.INFO: Packet analysis {"connection_id":150834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:13:22] local.INFO: Extracted packet for processing {"connection_id":150834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:13:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185136128001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879739000,"timestamp_ms":1785879739000,"timestamp_seconds":1785879739,"priority":1,"record_length":96,"hex_timestamp":"0000019fceba3a78"} 
[2026-08-05 03:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:13: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-08-05 03:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185136128001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185136128001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:13:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:13:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185136128001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":150834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:13:22] local.INFO: GPS data processed {"connection_id":150834,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:13:22] local.INFO: Acknowledgment sent {"connection_id":150834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:13:52] local.INFO: TCP Data received {"connection_id":150834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:13:52] local.INFO: Processing buffer {"connection_id":150834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:13:52] local.INFO: Packet analysis {"connection_id":150834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:13:52] local.INFO: Extracted packet for processing {"connection_id":150834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:13:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185136128001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785879739000,"timestamp_ms":1785879739000,"timestamp_seconds":1785879739,"priority":1,"record_length":96,"hex_timestamp":"0000019fceba3a78"} 
[2026-08-05 03:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185136128001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185136128001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:13:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:13:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185136128001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":150834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:13:52] local.INFO: GPS data processed {"connection_id":150834,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:13:52] local.INFO: Acknowledgment sent {"connection_id":150834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:14:16] local.INFO: TCP Data received {"connection_id":148196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:14:16] local.INFO: Processing buffer {"connection_id":148196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:14:16] local.INFO: IMEI packet received {"connection_id":148196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":148196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:14:21] local.INFO: TCP Data received {"connection_id":148196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:14:21] local.INFO: Processing buffer {"connection_id":148196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:14:21] local.INFO: IMEI packet received {"connection_id":148196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":148196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:14:22] local.INFO: TCP Data received {"connection_id":148196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:14:22] local.INFO: Processing buffer {"connection_id":148196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:14:22] local.INFO: Packet analysis {"connection_id":148196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:14:22] local.INFO: Extracted packet for processing {"connection_id":148196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:14:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185136128001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879739000,"timestamp_ms":1785879739000,"timestamp_seconds":1785879739,"priority":1,"record_length":96,"hex_timestamp":"0000019fceba3a78"} 
[2026-08-05 03:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:14: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-08-05 03:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185136128001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185136128001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:14:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:14:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185136128001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":148196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:14:22] local.INFO: GPS data processed {"connection_id":148196,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:14:22] local.INFO: Acknowledgment sent {"connection_id":148196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:14:53] local.INFO: TCP Data received {"connection_id":148196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:14:53] local.INFO: Processing buffer {"connection_id":148196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:14:53] local.INFO: Packet analysis {"connection_id":148196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:14:53] local.INFO: Extracted packet for processing {"connection_id":148196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:14:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185136128001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785879739000,"timestamp_ms":1785879739000,"timestamp_seconds":1785879739,"priority":1,"record_length":96,"hex_timestamp":"0000019fceba3a78"} 
[2026-08-05 03:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185136128001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185136128001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:14:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:14:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185136128001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":148196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:14:53] local.INFO: GPS data processed {"connection_id":148196,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:14:53] local.INFO: Acknowledgment sent {"connection_id":148196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:15:16] local.INFO: TCP Data received {"connection_id":150835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:15:16] local.INFO: Processing buffer {"connection_id":150835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:15:16] local.INFO: IMEI packet received {"connection_id":150835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":150835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:15:21] local.INFO: TCP Data received {"connection_id":150835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:15:21] local.INFO: Processing buffer {"connection_id":150835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:15:21] local.INFO: IMEI packet received {"connection_id":150835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":150835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:15:22] local.INFO: TCP Data received {"connection_id":150835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:15:22] local.INFO: Processing buffer {"connection_id":150835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:15:22] local.INFO: Packet analysis {"connection_id":150835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:15:22] local.INFO: Extracted packet for processing {"connection_id":150835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:15:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185136128001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879739000,"timestamp_ms":1785879739000,"timestamp_seconds":1785879739,"priority":1,"record_length":96,"hex_timestamp":"0000019fceba3a78"} 
[2026-08-05 03:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:15: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-08-05 03:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185136128001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185136128001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:15:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:15:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185136128001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":150835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:15:22] local.INFO: GPS data processed {"connection_id":150835,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:15:22] local.INFO: Acknowledgment sent {"connection_id":150835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:15:52] local.INFO: TCP Data received {"connection_id":150835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:15:52] local.INFO: Processing buffer {"connection_id":150835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:15:52] local.INFO: Packet analysis {"connection_id":150835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:15:52] local.INFO: Extracted packet for processing {"connection_id":150835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:15:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185136128001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785879739000,"timestamp_ms":1785879739000,"timestamp_seconds":1785879739,"priority":1,"record_length":96,"hex_timestamp":"0000019fceba3a78"} 
[2026-08-05 03:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185136128001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185136128001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:15:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:15:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185136128001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":150835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:15:52] local.INFO: GPS data processed {"connection_id":150835,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:15:52] local.INFO: Acknowledgment sent {"connection_id":150835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:16:16] local.INFO: TCP Data received {"connection_id":149432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:16:16] local.INFO: Processing buffer {"connection_id":149432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:16:16] local.INFO: IMEI packet received {"connection_id":149432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":149432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:16:21] local.INFO: TCP Data received {"connection_id":149432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:16:21] local.INFO: Processing buffer {"connection_id":149432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:16:21] local.INFO: IMEI packet received {"connection_id":149432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":149432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:16:22] local.INFO: TCP Data received {"connection_id":149432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:16:22] local.INFO: Processing buffer {"connection_id":149432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:16:22] local.INFO: Packet analysis {"connection_id":149432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:16:22] local.INFO: Extracted packet for processing {"connection_id":149432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:16:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185136128001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879739000,"timestamp_ms":1785879739000,"timestamp_seconds":1785879739,"priority":1,"record_length":96,"hex_timestamp":"0000019fceba3a78"} 
[2026-08-05 03:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:16: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-08-05 03:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185136128001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185136128001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:16:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:16:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185136128001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":149432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:16:22] local.INFO: GPS data processed {"connection_id":149432,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:16:22] local.INFO: Acknowledgment sent {"connection_id":149432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:16:53] local.INFO: TCP Data received {"connection_id":149432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:16:53] local.INFO: Processing buffer {"connection_id":149432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:16:53] local.INFO: Packet analysis {"connection_id":149432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:16:53] local.INFO: Extracted packet for processing {"connection_id":149432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:16:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185136128001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785879739000,"timestamp_ms":1785879739000,"timestamp_seconds":1785879739,"priority":1,"record_length":96,"hex_timestamp":"0000019fceba3a78"} 
[2026-08-05 03:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185136128001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185136128001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:16:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:16:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185136128001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":149432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:16:53] local.INFO: GPS data processed {"connection_id":149432,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:16:53] local.INFO: Acknowledgment sent {"connection_id":149432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:17:16] local.INFO: TCP Data received {"connection_id":150836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:17:16] local.INFO: Processing buffer {"connection_id":150836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:17:16] local.INFO: IMEI packet received {"connection_id":150836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":150836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:17:21] local.INFO: TCP Data received {"connection_id":150836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:17:21] local.INFO: Processing buffer {"connection_id":150836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:17:21] local.INFO: IMEI packet received {"connection_id":150836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":150836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:17:22] local.INFO: TCP Data received {"connection_id":150836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:17:22] local.INFO: Processing buffer {"connection_id":150836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:17:22] local.INFO: Packet analysis {"connection_id":150836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:17:22] local.INFO: Extracted packet for processing {"connection_id":150836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:17:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185136128001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785879739000,"timestamp_ms":1785879739000,"timestamp_seconds":1785879739,"priority":1,"record_length":96,"hex_timestamp":"0000019fceba3a78"} 
[2026-08-05 03:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:17: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-08-05 03:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185136128001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185136128001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:17:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:17:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185136128001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":150836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:17:22] local.INFO: GPS data processed {"connection_id":150836,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:17:22] local.INFO: Acknowledgment sent {"connection_id":150836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:17:53] local.INFO: TCP Data received {"connection_id":150836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:17:53] local.INFO: Processing buffer {"connection_id":150836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceba3a78012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:17:53] local.INFO: Packet analysis {"connection_id":150836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:17:53] local.INFO: Extracted packet for processing {"connection_id":150836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceba"} 
[2026-08-05 03:17:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185136128001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785879739000,"timestamp_ms":1785879739000,"timestamp_seconds":1785879739,"priority":1,"record_length":96,"hex_timestamp":"0000019fceba3a78"} 
[2026-08-05 03:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185136128001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185136128001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:17:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:17:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185136128001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":150836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:17:53] local.INFO: GPS data processed {"connection_id":150836,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:17:53] local.INFO: Acknowledgment sent {"connection_id":150836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:18:16] local.INFO: TCP Data received {"connection_id":149433,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:18:16] local.INFO: Processing buffer {"connection_id":149433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:18:16] local.INFO: IMEI packet received {"connection_id":149433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":149433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:18:21] local.INFO: TCP Data received {"connection_id":149433,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:18:21] local.INFO: Processing buffer {"connection_id":149433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:18:21] local.INFO: IMEI packet received {"connection_id":149433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":149433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:18:22] local.INFO: TCP Data received {"connection_id":149433,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:18:22] local.INFO: Processing buffer {"connection_id":149433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:18:22] local.INFO: Packet analysis {"connection_id":149433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:18:22] local.INFO: Extracted packet for processing {"connection_id":149433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:18:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880040000,"timestamp_ms":1785880040000,"timestamp_seconds":1785880040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcebed240"} 
[2026-08-05 03:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:18: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-08-05 03:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185213184001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:18:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:18:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185213184001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":149433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:18:22] local.INFO: GPS data processed {"connection_id":149433,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:18:22] local.INFO: Acknowledgment sent {"connection_id":149433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:18:53] local.INFO: TCP Data received {"connection_id":149433,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:18:53] local.INFO: Processing buffer {"connection_id":149433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:18:53] local.INFO: Packet analysis {"connection_id":149433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:18:53] local.INFO: Extracted packet for processing {"connection_id":149433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:18:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785880040000,"timestamp_ms":1785880040000,"timestamp_seconds":1785880040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcebed240"} 
[2026-08-05 03:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:18: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-08-05 03:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185213184001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:18:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:18:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185213184001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":149433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:18:53] local.INFO: GPS data processed {"connection_id":149433,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:18:53] local.INFO: Acknowledgment sent {"connection_id":149433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:19:21] local.INFO: TCP Data received {"connection_id":149434,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:19:21] local.INFO: Processing buffer {"connection_id":149434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:19:21] local.INFO: IMEI packet received {"connection_id":149434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":149434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:19:26] local.INFO: TCP Data received {"connection_id":149434,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:19:26] local.INFO: Processing buffer {"connection_id":149434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:19:26] local.INFO: IMEI packet received {"connection_id":149434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":149434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:19:27] local.INFO: TCP Data received {"connection_id":149434,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:19:27] local.INFO: Processing buffer {"connection_id":149434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:19:27] local.INFO: Packet analysis {"connection_id":149434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:19:27] local.INFO: Extracted packet for processing {"connection_id":149434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:19:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785880040000,"timestamp_ms":1785880040000,"timestamp_seconds":1785880040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcebed240"} 
[2026-08-05 03:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185213184001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:19:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:19:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185213184001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":149434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:19:27] local.INFO: GPS data processed {"connection_id":149434,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:19:27] local.INFO: Acknowledgment sent {"connection_id":149434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:19:31] local.INFO: TCP Data received {"connection_id":149434,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:19:31] local.INFO: Processing buffer {"connection_id":149434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:19:31] local.INFO: Packet analysis {"connection_id":149434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:19:31] local.INFO: Extracted packet for processing {"connection_id":149434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:19:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785880040000,"timestamp_ms":1785880040000,"timestamp_seconds":1785880040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcebed240"} 
[2026-08-05 03:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185213184001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:19:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:19:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185213184001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":149434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:19:31] local.INFO: GPS data processed {"connection_id":149434,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:19:31] local.INFO: Acknowledgment sent {"connection_id":149434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:20:16] local.INFO: TCP Data received {"connection_id":148428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:20:16] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:20:16] local.INFO: IMEI packet received {"connection_id":148428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":148428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:20:21] local.INFO: TCP Data received {"connection_id":148428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:20:21] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:20:21] local.INFO: IMEI packet received {"connection_id":148428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":148428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:20:22] local.INFO: TCP Data received {"connection_id":148428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:20:22] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:20:22] local.INFO: Packet analysis {"connection_id":148428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:20:22] local.INFO: Extracted packet for processing {"connection_id":148428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:20:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03: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-08-05 03:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880040000,"timestamp_ms":1785880040000,"timestamp_seconds":1785880040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcebed240"} 
[2026-08-05 03:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:20: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-08-05 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03: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-08-05 03:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185213184001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:20:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:20:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185213184001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":148428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:20:22] local.INFO: GPS data processed {"connection_id":148428,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:20:22] local.INFO: Acknowledgment sent {"connection_id":148428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:20:26] local.INFO: TCP Data received {"connection_id":148428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:20:26] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:20:26] local.INFO: Packet analysis {"connection_id":148428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:20:26] local.INFO: Extracted packet for processing {"connection_id":148428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:20:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785880040000,"timestamp_ms":1785880040000,"timestamp_seconds":1785880040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcebed240"} 
[2026-08-05 03:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185213184001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:20:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:20:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185213184001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":148428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:20:26] local.INFO: GPS data processed {"connection_id":148428,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:20:26] local.INFO: Acknowledgment sent {"connection_id":148428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:20:57] local.INFO: TCP Data received {"connection_id":148428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:20:57] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:20:57] local.INFO: Packet analysis {"connection_id":148428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:20:57] local.INFO: Extracted packet for processing {"connection_id":148428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:20:57] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785880040000,"timestamp_ms":1785880040000,"timestamp_seconds":1785880040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcebed240"} 
[2026-08-05 03:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185213184001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:20:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:20:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185213184001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":148428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:20:57] local.INFO: GPS data processed {"connection_id":148428,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:20:57] local.INFO: Acknowledgment sent {"connection_id":148428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:21:16] local.INFO: TCP Data received {"connection_id":148197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:21:16] local.INFO: Processing buffer {"connection_id":148197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:21:16] local.INFO: IMEI packet received {"connection_id":148197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":148197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:21:21] local.INFO: TCP Data received {"connection_id":148197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:21:21] local.INFO: Processing buffer {"connection_id":148197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:21:21] local.INFO: IMEI packet received {"connection_id":148197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":148197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:21:22] local.INFO: TCP Data received {"connection_id":148197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:21:22] local.INFO: Processing buffer {"connection_id":148197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:21:22] local.INFO: Packet analysis {"connection_id":148197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:21:22] local.INFO: Extracted packet for processing {"connection_id":148197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:21:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880040000,"timestamp_ms":1785880040000,"timestamp_seconds":1785880040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcebed240"} 
[2026-08-05 03:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:21: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-08-05 03:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185213184001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:21:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:21:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185213184001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":148197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:21:22] local.INFO: GPS data processed {"connection_id":148197,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:21:22] local.INFO: Acknowledgment sent {"connection_id":148197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:21:53] local.INFO: TCP Data received {"connection_id":148197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:21:53] local.INFO: Processing buffer {"connection_id":148197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:21:53] local.INFO: Packet analysis {"connection_id":148197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:21:53] local.INFO: Extracted packet for processing {"connection_id":148197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:21:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785880040000,"timestamp_ms":1785880040000,"timestamp_seconds":1785880040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcebed240"} 
[2026-08-05 03:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:21: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-08-05 03:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185213184001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:21:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:21:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185213184001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":148197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:21:53] local.INFO: GPS data processed {"connection_id":148197,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:21:53] local.INFO: Acknowledgment sent {"connection_id":148197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:22:16] local.INFO: TCP Data received {"connection_id":150837,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:22:16] local.INFO: Processing buffer {"connection_id":150837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:22:16] local.INFO: IMEI packet received {"connection_id":150837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":150837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:22:21] local.INFO: TCP Data received {"connection_id":150837,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:22:21] local.INFO: Processing buffer {"connection_id":150837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:22:21] local.INFO: IMEI packet received {"connection_id":150837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":150837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:22:22] local.INFO: TCP Data received {"connection_id":150837,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:22:22] local.INFO: Processing buffer {"connection_id":150837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:22:22] local.INFO: Packet analysis {"connection_id":150837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:22:22] local.INFO: Extracted packet for processing {"connection_id":150837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:22:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880040000,"timestamp_ms":1785880040000,"timestamp_seconds":1785880040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcebed240"} 
[2026-08-05 03:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:22: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-08-05 03:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185213184001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:22:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:22:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185213184001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":150837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:22:22] local.INFO: GPS data processed {"connection_id":150837,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:22:22] local.INFO: Acknowledgment sent {"connection_id":150837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:22:53] local.INFO: TCP Data received {"connection_id":150837,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:22:53] local.INFO: Processing buffer {"connection_id":150837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcebed240012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:22:53] local.INFO: Packet analysis {"connection_id":150837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:22:53] local.INFO: Extracted packet for processing {"connection_id":150837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcebe"} 
[2026-08-05 03:22:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785880040000,"timestamp_ms":1785880040000,"timestamp_seconds":1785880040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcebed240"} 
[2026-08-05 03:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:22: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-08-05 03:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185213184001,"66":25462,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:22:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:22:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185213184001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":150837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:22:53] local.INFO: GPS data processed {"connection_id":150837,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:22:53] local.INFO: Acknowledgment sent {"connection_id":150837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:23:16] local.INFO: TCP Data received {"connection_id":148198,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:23:16] local.INFO: Processing buffer {"connection_id":148198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:23:16] local.INFO: IMEI packet received {"connection_id":148198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":148198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:23:21] local.INFO: TCP Data received {"connection_id":148198,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:23:21] local.INFO: Processing buffer {"connection_id":148198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:23:21] local.INFO: IMEI packet received {"connection_id":148198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":148198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:23:22] local.INFO: TCP Data received {"connection_id":148198,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:23:22] local.INFO: Processing buffer {"connection_id":148198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:23:22] local.INFO: Packet analysis {"connection_id":148198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:23:22] local.INFO: Extracted packet for processing {"connection_id":148198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:23:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185290240001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880341000,"timestamp_ms":1785880341000,"timestamp_seconds":1785880341,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec36a08"} 
[2026-08-05 03:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:23: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-08-05 03: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 03:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185290240001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185290240001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:23:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:23:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185290240001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":148198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:23:22] local.INFO: GPS data processed {"connection_id":148198,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:23:22] local.INFO: Acknowledgment sent {"connection_id":148198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:23:53] local.INFO: TCP Data received {"connection_id":148198,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:23:53] local.INFO: Processing buffer {"connection_id":148198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:23:53] local.INFO: Packet analysis {"connection_id":148198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:23:53] local.INFO: Extracted packet for processing {"connection_id":148198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:23:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185290240001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785880341000,"timestamp_ms":1785880341000,"timestamp_seconds":1785880341,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec36a08"} 
[2026-08-05 03:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 03:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185290240001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185290240001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:23:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:23:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185290240001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":148198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:23:53] local.INFO: GPS data processed {"connection_id":148198,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:23:53] local.INFO: Acknowledgment sent {"connection_id":148198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:24:16] local.INFO: TCP Data received {"connection_id":148199,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:24:16] local.INFO: Processing buffer {"connection_id":148199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:24:16] local.INFO: IMEI packet received {"connection_id":148199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":148199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:24:21] local.INFO: TCP Data received {"connection_id":148199,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:24:21] local.INFO: Processing buffer {"connection_id":148199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:24:21] local.INFO: IMEI packet received {"connection_id":148199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":148199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:24:22] local.INFO: TCP Data received {"connection_id":148199,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:24:22] local.INFO: Processing buffer {"connection_id":148199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:24:22] local.INFO: Packet analysis {"connection_id":148199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:24:22] local.INFO: Extracted packet for processing {"connection_id":148199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:24:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185290240001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880341000,"timestamp_ms":1785880341000,"timestamp_seconds":1785880341,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec36a08"} 
[2026-08-05 03:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:24: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-08-05 03:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 03:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185290240001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185290240001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:24:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:24:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185290240001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":148199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:24:22] local.INFO: GPS data processed {"connection_id":148199,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:24:22] local.INFO: Acknowledgment sent {"connection_id":148199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:24:53] local.INFO: TCP Data received {"connection_id":148199,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:24:53] local.INFO: Processing buffer {"connection_id":148199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:24:53] local.INFO: Packet analysis {"connection_id":148199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:24:53] local.INFO: Extracted packet for processing {"connection_id":148199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:24:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185290240001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785880341000,"timestamp_ms":1785880341000,"timestamp_seconds":1785880341,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec36a08"} 
[2026-08-05 03:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 03:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185290240001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185290240001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:24:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:24:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185290240001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":148199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:24:53] local.INFO: GPS data processed {"connection_id":148199,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:24:53] local.INFO: Acknowledgment sent {"connection_id":148199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:25:21] local.INFO: TCP Data received {"connection_id":149435,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:25:21] local.INFO: Processing buffer {"connection_id":149435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:25:21] local.INFO: IMEI packet received {"connection_id":149435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":149435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:25:26] local.INFO: TCP Data received {"connection_id":149435,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:25:26] local.INFO: Processing buffer {"connection_id":149435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:25:26] local.INFO: IMEI packet received {"connection_id":149435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":149435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:25:27] local.INFO: TCP Data received {"connection_id":149435,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:25:27] local.INFO: Processing buffer {"connection_id":149435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:25:27] local.INFO: Packet analysis {"connection_id":149435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:25:27] local.INFO: Extracted packet for processing {"connection_id":149435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:25:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185290240001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785880341000,"timestamp_ms":1785880341000,"timestamp_seconds":1785880341,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec36a08"} 
[2026-08-05 03:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 03:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185290240001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185290240001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:25:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:25:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185290240001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":149435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:25:27] local.INFO: GPS data processed {"connection_id":149435,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:25:27] local.INFO: Acknowledgment sent {"connection_id":149435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:25:31] local.INFO: TCP Data received {"connection_id":149435,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:25:31] local.INFO: Processing buffer {"connection_id":149435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:25:31] local.INFO: Packet analysis {"connection_id":149435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:25:31] local.INFO: Extracted packet for processing {"connection_id":149435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:25:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185290240001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785880341000,"timestamp_ms":1785880341000,"timestamp_seconds":1785880341,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec36a08"} 
[2026-08-05 03:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 03:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185290240001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185290240001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:25:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:25:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185290240001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":149435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:25:31] local.INFO: GPS data processed {"connection_id":149435,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:25:31] local.INFO: Acknowledgment sent {"connection_id":149435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:26:16] local.INFO: TCP Data received {"connection_id":150838,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:26:16] local.INFO: Processing buffer {"connection_id":150838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:26:16] local.INFO: IMEI packet received {"connection_id":150838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":150838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:26:21] local.INFO: TCP Data received {"connection_id":150838,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:26:21] local.INFO: Processing buffer {"connection_id":150838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:26:21] local.INFO: IMEI packet received {"connection_id":150838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":150838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:26:22] local.INFO: TCP Data received {"connection_id":150838,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:26:22] local.INFO: Processing buffer {"connection_id":150838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:26:22] local.INFO: Packet analysis {"connection_id":150838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:26:22] local.INFO: Extracted packet for processing {"connection_id":150838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:26:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185290240001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880341000,"timestamp_ms":1785880341000,"timestamp_seconds":1785880341,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec36a08"} 
[2026-08-05 03:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:26: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-08-05 03:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 03:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185290240001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185290240001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:26:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:26:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185290240001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":150838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:26:22] local.INFO: GPS data processed {"connection_id":150838,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:26:22] local.INFO: Acknowledgment sent {"connection_id":150838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:26:53] local.INFO: TCP Data received {"connection_id":150838,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:26:53] local.INFO: Processing buffer {"connection_id":150838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:26:53] local.INFO: Packet analysis {"connection_id":150838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:26:53] local.INFO: Extracted packet for processing {"connection_id":150838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:26:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185290240001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785880341000,"timestamp_ms":1785880341000,"timestamp_seconds":1785880341,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec36a08"} 
[2026-08-05 03:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 03:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185290240001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185290240001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:26:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:26:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185290240001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":150838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:26:53] local.INFO: GPS data processed {"connection_id":150838,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:26:53] local.INFO: Acknowledgment sent {"connection_id":150838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:27:16] local.INFO: TCP Data received {"connection_id":150839,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:27:16] local.INFO: Processing buffer {"connection_id":150839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:27:16] local.INFO: IMEI packet received {"connection_id":150839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":150839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:27:21] local.INFO: TCP Data received {"connection_id":150839,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:27:21] local.INFO: Processing buffer {"connection_id":150839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:27:21] local.INFO: IMEI packet received {"connection_id":150839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":150839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:27:22] local.INFO: TCP Data received {"connection_id":150839,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:27:22] local.INFO: Processing buffer {"connection_id":150839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:27:22] local.INFO: Packet analysis {"connection_id":150839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:27:22] local.INFO: Extracted packet for processing {"connection_id":150839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:27:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 03:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185290240001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880341000,"timestamp_ms":1785880341000,"timestamp_seconds":1785880341,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec36a08"} 
[2026-08-05 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-08-05 03:27: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-08-05 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":118,"data_length":795,"current_offset":136} 
[2026-08-05 03:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 03:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185290240001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185290240001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:27:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:27:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185290240001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":150839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:27:22] local.INFO: GPS data processed {"connection_id":150839,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:27:22] local.INFO: Acknowledgment sent {"connection_id":150839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:27:53] local.INFO: TCP Data received {"connection_id":150839,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:27:53] local.INFO: Processing buffer {"connection_id":150839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec36a08012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 03:27:53] local.INFO: Packet analysis {"connection_id":150839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:27:53] local.INFO: Extracted packet for processing {"connection_id":150839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec3"} 
[2026-08-05 03:27:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185290240001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785880341000,"timestamp_ms":1785880341000,"timestamp_seconds":1785880341,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec36a08"} 
[2026-08-05 03:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 03:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185290240001,"66":25451,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185290240001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:27:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:27:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185290240001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":150839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:27:53] local.INFO: GPS data processed {"connection_id":150839,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:27:53] local.INFO: Acknowledgment sent {"connection_id":150839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:28:16] local.INFO: TCP Data received {"connection_id":148200,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:28:16] local.INFO: Processing buffer {"connection_id":148200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:28:16] local.INFO: IMEI packet received {"connection_id":148200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":148200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:28:21] local.INFO: TCP Data received {"connection_id":148200,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:28:21] local.INFO: Processing buffer {"connection_id":148200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:28:21] local.INFO: IMEI packet received {"connection_id":148200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":148200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:28:22] local.INFO: TCP Data received {"connection_id":148200,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:28:22] local.INFO: Processing buffer {"connection_id":148200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:28:22] local.INFO: Packet analysis {"connection_id":148200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:28:22] local.INFO: Extracted packet for processing {"connection_id":148200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:28:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185367296001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880642000,"timestamp_ms":1785880642000,"timestamp_seconds":1785880642,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec801d0"} 
[2026-08-05 03:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 03:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185367296001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185367296001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:28:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:28:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185367296001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":148200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:28:22] local.INFO: GPS data processed {"connection_id":148200,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:28:22] local.INFO: Acknowledgment sent {"connection_id":148200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:28:53] local.INFO: TCP Data received {"connection_id":148200,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:28:53] local.INFO: Processing buffer {"connection_id":148200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:28:53] local.INFO: Packet analysis {"connection_id":148200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:28:53] local.INFO: Extracted packet for processing {"connection_id":148200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:28:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185367296001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785880642000,"timestamp_ms":1785880642000,"timestamp_seconds":1785880642,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec801d0"} 
[2026-08-05 03:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 03:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185367296001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185367296001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:28:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:28:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185367296001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":148200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:28:53] local.INFO: GPS data processed {"connection_id":148200,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:28:53] local.INFO: Acknowledgment sent {"connection_id":148200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:29:16] local.INFO: TCP Data received {"connection_id":148201,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:29:16] local.INFO: Processing buffer {"connection_id":148201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:29:16] local.INFO: IMEI packet received {"connection_id":148201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":148201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:29:23] local.INFO: TCP Data received {"connection_id":148201,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:29:23] local.INFO: Processing buffer {"connection_id":148201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:29:23] local.INFO: IMEI packet received {"connection_id":148201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":148201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:29:24] local.INFO: TCP Data received {"connection_id":148201,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:29:24] local.INFO: Processing buffer {"connection_id":148201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:29:24] local.INFO: Packet analysis {"connection_id":148201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:29:24] local.INFO: Extracted packet for processing {"connection_id":148201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:29:24] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185367296001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785880642000,"timestamp_ms":1785880642000,"timestamp_seconds":1785880642,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec801d0"} 
[2026-08-05 03:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 03:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185367296001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185367296001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:29:24] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:29:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185367296001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":148201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:29:24] local.INFO: GPS data processed {"connection_id":148201,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:29:24] local.INFO: Acknowledgment sent {"connection_id":148201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:29:55] local.INFO: TCP Data received {"connection_id":148201,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:29:55] local.INFO: Processing buffer {"connection_id":148201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:29:55] local.INFO: Packet analysis {"connection_id":148201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:29:55] local.INFO: Extracted packet for processing {"connection_id":148201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:29:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185367296001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785880642000,"timestamp_ms":1785880642000,"timestamp_seconds":1785880642,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec801d0"} 
[2026-08-05 03:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:29: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-08-05 03:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 03:29: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-08-05 03:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185367296001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185367296001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:29:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:29:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185367296001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":148201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:29:55] local.INFO: GPS data processed {"connection_id":148201,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:29:55] local.INFO: Acknowledgment sent {"connection_id":148201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:30:21] local.INFO: TCP Data received {"connection_id":148202,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:30:21] local.INFO: Processing buffer {"connection_id":148202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:30:21] local.INFO: IMEI packet received {"connection_id":148202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":148202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:30:26] local.INFO: TCP Data received {"connection_id":148202,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:30:26] local.INFO: Processing buffer {"connection_id":148202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:30:26] local.INFO: IMEI packet received {"connection_id":148202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":148202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:30:27] local.INFO: TCP Data received {"connection_id":148202,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:30:27] local.INFO: Processing buffer {"connection_id":148202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:30:27] local.INFO: Packet analysis {"connection_id":148202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:30:27] local.INFO: Extracted packet for processing {"connection_id":148202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:30:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185367296001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785880642000,"timestamp_ms":1785880642000,"timestamp_seconds":1785880642,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec801d0"} 
[2026-08-05 03:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 03:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185367296001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185367296001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:30:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:30:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185367296001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":148202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:30:27] local.INFO: GPS data processed {"connection_id":148202,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:30:27] local.INFO: Acknowledgment sent {"connection_id":148202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:30:31] local.INFO: TCP Data received {"connection_id":148202,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:30:31] local.INFO: Processing buffer {"connection_id":148202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:30:31] local.INFO: Packet analysis {"connection_id":148202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:30:31] local.INFO: Extracted packet for processing {"connection_id":148202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:30:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03: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-08-05 03:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185367296001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785880642000,"timestamp_ms":1785880642000,"timestamp_seconds":1785880642,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec801d0"} 
[2026-08-05 03:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 03:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03: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-08-05 03:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185367296001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185367296001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:30:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:30:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185367296001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":148202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:30:31] local.INFO: GPS data processed {"connection_id":148202,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:30:31] local.INFO: Acknowledgment sent {"connection_id":148202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:31:16] local.INFO: TCP Data received {"connection_id":148429,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:31:16] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:31:16] local.INFO: IMEI packet received {"connection_id":148429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":148429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:31:21] local.INFO: TCP Data received {"connection_id":148429,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:31:21] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:31:21] local.INFO: IMEI packet received {"connection_id":148429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":148429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:31:22] local.INFO: TCP Data received {"connection_id":148429,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:31:22] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:31:22] local.INFO: Packet analysis {"connection_id":148429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:31:22] local.INFO: Extracted packet for processing {"connection_id":148429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:31:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185367296001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880642000,"timestamp_ms":1785880642000,"timestamp_seconds":1785880642,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec801d0"} 
[2026-08-05 03:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 03:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185367296001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185367296001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:31:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:31:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185367296001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":148429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:31:22] local.INFO: GPS data processed {"connection_id":148429,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:31:22] local.INFO: Acknowledgment sent {"connection_id":148429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:31:53] local.INFO: TCP Data received {"connection_id":148429,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:31:53] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:31:53] local.INFO: Packet analysis {"connection_id":148429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:31:53] local.INFO: Extracted packet for processing {"connection_id":148429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:31:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185367296001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785880642000,"timestamp_ms":1785880642000,"timestamp_seconds":1785880642,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec801d0"} 
[2026-08-05 03:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 03:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185367296001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185367296001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:31:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:31:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185367296001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":148429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:31:53] local.INFO: GPS data processed {"connection_id":148429,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:31:53] local.INFO: Acknowledgment sent {"connection_id":148429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:32:16] local.INFO: TCP Data received {"connection_id":149436,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:32:16] local.INFO: Processing buffer {"connection_id":149436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:32:16] local.INFO: IMEI packet received {"connection_id":149436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":149436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:32:21] local.INFO: TCP Data received {"connection_id":149436,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:32:21] local.INFO: Processing buffer {"connection_id":149436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:32:21] local.INFO: IMEI packet received {"connection_id":149436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":149436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:32:22] local.INFO: TCP Data received {"connection_id":149436,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:32:22] local.INFO: Processing buffer {"connection_id":149436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:32:22] local.INFO: Packet analysis {"connection_id":149436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:32:22] local.INFO: Extracted packet for processing {"connection_id":149436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:32:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185367296001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880642000,"timestamp_ms":1785880642000,"timestamp_seconds":1785880642,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec801d0"} 
[2026-08-05 03:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 03:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185367296001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185367296001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:32:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:32:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185367296001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":149436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:32:22] local.INFO: GPS data processed {"connection_id":149436,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:32:22] local.INFO: Acknowledgment sent {"connection_id":149436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:32:53] local.INFO: TCP Data received {"connection_id":149436,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:32:53] local.INFO: Processing buffer {"connection_id":149436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcec801d0012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:32:53] local.INFO: Packet analysis {"connection_id":149436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:32:53] local.INFO: Extracted packet for processing {"connection_id":149436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcec8"} 
[2026-08-05 03:32:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185367296001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785880642000,"timestamp_ms":1785880642000,"timestamp_seconds":1785880642,"priority":1,"record_length":96,"hex_timestamp":"0000019fcec801d0"} 
[2026-08-05 03:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 03:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185367296001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185367296001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:32:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:32:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185367296001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":149436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:32:53] local.INFO: GPS data processed {"connection_id":149436,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:32:53] local.INFO: Acknowledgment sent {"connection_id":149436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:33:16] local.INFO: TCP Data received {"connection_id":148203,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:33:16] local.INFO: Processing buffer {"connection_id":148203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:33:16] local.INFO: IMEI packet received {"connection_id":148203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":148203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:33:21] local.INFO: TCP Data received {"connection_id":148203,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:33:21] local.INFO: Processing buffer {"connection_id":148203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:33:21] local.INFO: IMEI packet received {"connection_id":148203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":148203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:33:21] local.INFO: TCP Data received {"connection_id":148203,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:33:21] local.INFO: Processing buffer {"connection_id":148203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:33:21] local.INFO: Packet analysis {"connection_id":148203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:33:21] local.INFO: Extracted packet for processing {"connection_id":148203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:33:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185444352001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785880943000,"timestamp_ms":1785880943000,"timestamp_seconds":1785880943,"priority":1,"record_length":96,"hex_timestamp":"0000019fcecc9998"} 
[2026-08-05 03:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185444352001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185444352001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:33:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:33:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185444352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":148203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:33:21] local.INFO: GPS data processed {"connection_id":148203,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:33:21] local.INFO: Acknowledgment sent {"connection_id":148203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:33:52] local.INFO: TCP Data received {"connection_id":148203,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:33:52] local.INFO: Processing buffer {"connection_id":148203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:33:52] local.INFO: Packet analysis {"connection_id":148203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:33:52] local.INFO: Extracted packet for processing {"connection_id":148203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:33:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185444352001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785880943000,"timestamp_ms":1785880943000,"timestamp_seconds":1785880943,"priority":1,"record_length":96,"hex_timestamp":"0000019fcecc9998"} 
[2026-08-05 03:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185444352001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185444352001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:33:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:33:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185444352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":148203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:33:52] local.INFO: GPS data processed {"connection_id":148203,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:33:52] local.INFO: Acknowledgment sent {"connection_id":148203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:34:21] local.INFO: TCP Data received {"connection_id":148204,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:34:21] local.INFO: Processing buffer {"connection_id":148204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:34:21] local.INFO: IMEI packet received {"connection_id":148204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":148204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:34:26] local.INFO: TCP Data received {"connection_id":148204,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:34:26] local.INFO: Processing buffer {"connection_id":148204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:34:26] local.INFO: IMEI packet received {"connection_id":148204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":148204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:34:27] local.INFO: TCP Data received {"connection_id":148204,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:34:27] local.INFO: Processing buffer {"connection_id":148204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:34:27] local.INFO: Packet analysis {"connection_id":148204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:34:27] local.INFO: Extracted packet for processing {"connection_id":148204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:34:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185444352001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785880943000,"timestamp_ms":1785880943000,"timestamp_seconds":1785880943,"priority":1,"record_length":96,"hex_timestamp":"0000019fcecc9998"} 
[2026-08-05 03:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185444352001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185444352001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:34:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:34:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185444352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":148204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:34:27] local.INFO: GPS data processed {"connection_id":148204,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:34:27] local.INFO: Acknowledgment sent {"connection_id":148204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:34:31] local.INFO: TCP Data received {"connection_id":148204,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:34:31] local.INFO: Processing buffer {"connection_id":148204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:34:31] local.INFO: Packet analysis {"connection_id":148204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:34:31] local.INFO: Extracted packet for processing {"connection_id":148204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:34:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185444352001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785880943000,"timestamp_ms":1785880943000,"timestamp_seconds":1785880943,"priority":1,"record_length":96,"hex_timestamp":"0000019fcecc9998"} 
[2026-08-05 03:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185444352001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185444352001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:34:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:34:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185444352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":148204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:34:31] local.INFO: GPS data processed {"connection_id":148204,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:34:31] local.INFO: Acknowledgment sent {"connection_id":148204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:35:16] local.INFO: TCP Data received {"connection_id":149437,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:35:16] local.INFO: Processing buffer {"connection_id":149437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:35:16] local.INFO: IMEI packet received {"connection_id":149437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":149437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:35:21] local.INFO: TCP Data received {"connection_id":149437,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:35:21] local.INFO: Processing buffer {"connection_id":149437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:35:21] local.INFO: IMEI packet received {"connection_id":149437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":149437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:35:22] local.INFO: TCP Data received {"connection_id":149437,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:35:22] local.INFO: Processing buffer {"connection_id":149437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:35:22] local.INFO: Packet analysis {"connection_id":149437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:35:22] local.INFO: Extracted packet for processing {"connection_id":149437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:35:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185444352001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880943000,"timestamp_ms":1785880943000,"timestamp_seconds":1785880943,"priority":1,"record_length":96,"hex_timestamp":"0000019fcecc9998"} 
[2026-08-05 03:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03: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-08-05 03: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185444352001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185444352001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:35:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:35:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185444352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":149437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:35:22] local.INFO: GPS data processed {"connection_id":149437,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:35:22] local.INFO: Acknowledgment sent {"connection_id":149437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:35:53] local.INFO: TCP Data received {"connection_id":149437,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:35:53] local.INFO: Processing buffer {"connection_id":149437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:35:53] local.INFO: Packet analysis {"connection_id":149437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:35:53] local.INFO: Extracted packet for processing {"connection_id":149437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:35:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185444352001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785880943000,"timestamp_ms":1785880943000,"timestamp_seconds":1785880943,"priority":1,"record_length":96,"hex_timestamp":"0000019fcecc9998"} 
[2026-08-05 03:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185444352001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185444352001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:35:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:35:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185444352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":149437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:35:53] local.INFO: GPS data processed {"connection_id":149437,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:35:53] local.INFO: Acknowledgment sent {"connection_id":149437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:36:16] local.INFO: TCP Data received {"connection_id":150840,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:36:16] local.INFO: Processing buffer {"connection_id":150840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:36:16] local.INFO: IMEI packet received {"connection_id":150840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":150840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:36:21] local.INFO: TCP Data received {"connection_id":150840,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:36:21] local.INFO: Processing buffer {"connection_id":150840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:36:21] local.INFO: IMEI packet received {"connection_id":150840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":150840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:36:22] local.INFO: TCP Data received {"connection_id":150840,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:36:22] local.INFO: Processing buffer {"connection_id":150840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:36:22] local.INFO: Packet analysis {"connection_id":150840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:36:22] local.INFO: Extracted packet for processing {"connection_id":150840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:36:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185444352001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785880943000,"timestamp_ms":1785880943000,"timestamp_seconds":1785880943,"priority":1,"record_length":96,"hex_timestamp":"0000019fcecc9998"} 
[2026-08-05 03:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:36: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-08-05 03:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185444352001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185444352001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:36:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:36:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185444352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":150840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:36:22] local.INFO: GPS data processed {"connection_id":150840,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:36:22] local.INFO: Acknowledgment sent {"connection_id":150840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:36:55] local.INFO: TCP Data received {"connection_id":150840,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:36:55] local.INFO: Processing buffer {"connection_id":150840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:36:55] local.INFO: Packet analysis {"connection_id":150840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:36:55] local.INFO: Extracted packet for processing {"connection_id":150840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:36:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185444352001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785880943000,"timestamp_ms":1785880943000,"timestamp_seconds":1785880943,"priority":1,"record_length":96,"hex_timestamp":"0000019fcecc9998"} 
[2026-08-05 03:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03: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-08-05 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185444352001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185444352001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:36:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:36:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185444352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":150840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:36:55] local.INFO: GPS data processed {"connection_id":150840,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:36:55] local.INFO: Acknowledgment sent {"connection_id":150840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:37:18] local.INFO: TCP Data received {"connection_id":150841,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:37:18] local.INFO: Processing buffer {"connection_id":150841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:37:18] local.INFO: IMEI packet received {"connection_id":150841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":150841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:37:21] local.INFO: TCP Data received {"connection_id":150841,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:37:21] local.INFO: Processing buffer {"connection_id":150841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:37:21] local.INFO: IMEI packet received {"connection_id":150841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":150841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:37:39] local.INFO: TCP Data received {"connection_id":150841,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:37:39] local.INFO: Processing buffer {"connection_id":150841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcecc9998012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:37:39] local.INFO: Packet analysis {"connection_id":150841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:37:39] local.INFO: Extracted packet for processing {"connection_id":150841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcecc"} 
[2026-08-05 03:37:39] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185444352001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785880943000,"timestamp_ms":1785880943000,"timestamp_seconds":1785880943,"priority":1,"record_length":96,"hex_timestamp":"0000019fcecc9998"} 
[2026-08-05 03:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 03:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185444352001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185444352001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:37:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:37:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185444352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":150841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:37:39] local.INFO: GPS data processed {"connection_id":150841,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:37:39] local.INFO: Acknowledgment sent {"connection_id":150841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:38:16] local.INFO: TCP Data received {"connection_id":148205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:38:16] local.INFO: Processing buffer {"connection_id":148205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:38:16] local.INFO: IMEI packet received {"connection_id":148205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":148205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:38:21] local.INFO: TCP Data received {"connection_id":148205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:38:21] local.INFO: Processing buffer {"connection_id":148205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:38:21] local.INFO: IMEI packet received {"connection_id":148205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":148205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:38:21] local.INFO: TCP Data received {"connection_id":148205,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:38:21] local.INFO: Processing buffer {"connection_id":148205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:38:21] local.INFO: Packet analysis {"connection_id":148205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:38:21] local.INFO: Extracted packet for processing {"connection_id":148205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:38:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185521408001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785881244000,"timestamp_ms":1785881244000,"timestamp_seconds":1785881244,"priority":1,"record_length":96,"hex_timestamp":"0000019fced13160"} 
[2026-08-05 03:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:38: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-08-05 03:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:38: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-08-05 03:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185521408001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185521408001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:38:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:38:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185521408001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":148205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:38:21] local.INFO: GPS data processed {"connection_id":148205,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:38:21] local.INFO: Acknowledgment sent {"connection_id":148205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:38:52] local.INFO: TCP Data received {"connection_id":148205,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:38:52] local.INFO: Processing buffer {"connection_id":148205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:38:52] local.INFO: Packet analysis {"connection_id":148205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:38:52] local.INFO: Extracted packet for processing {"connection_id":148205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:38:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185521408001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785881244000,"timestamp_ms":1785881244000,"timestamp_seconds":1785881244,"priority":1,"record_length":96,"hex_timestamp":"0000019fced13160"} 
[2026-08-05 03:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185521408001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185521408001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:38:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:38:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185521408001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":148205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:38:52] local.INFO: GPS data processed {"connection_id":148205,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:38:52] local.INFO: Acknowledgment sent {"connection_id":148205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:39:16] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:39:16] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:39:16] local.INFO: IMEI packet received {"connection_id":148430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":148430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:39:21] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:39:21] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:39:21] local.INFO: IMEI packet received {"connection_id":148430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":148430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:39:22] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:39:22] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:39:22] local.INFO: Packet analysis {"connection_id":148430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:39:22] local.INFO: Extracted packet for processing {"connection_id":148430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:39:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185521408001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785881244000,"timestamp_ms":1785881244000,"timestamp_seconds":1785881244,"priority":1,"record_length":96,"hex_timestamp":"0000019fced13160"} 
[2026-08-05 03:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185521408001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185521408001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:39:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:39:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185521408001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":148430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:39:22] local.INFO: GPS data processed {"connection_id":148430,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:39:22] local.INFO: Acknowledgment sent {"connection_id":148430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:39:53] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:39:53] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:39:53] local.INFO: Packet analysis {"connection_id":148430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:39:53] local.INFO: Extracted packet for processing {"connection_id":148430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:39:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185521408001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785881244000,"timestamp_ms":1785881244000,"timestamp_seconds":1785881244,"priority":1,"record_length":96,"hex_timestamp":"0000019fced13160"} 
[2026-08-05 03:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:39: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-08-05 03:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185521408001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185521408001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:39:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:39:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185521408001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":148430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:39:53] local.INFO: GPS data processed {"connection_id":148430,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:39:53] local.INFO: Acknowledgment sent {"connection_id":148430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:40:16] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:40:16] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:40:16] local.INFO: IMEI packet received {"connection_id":148431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":148431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:40:21] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:40:21] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:40:21] local.INFO: IMEI packet received {"connection_id":148431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":148431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:40:22] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:40:22] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:40:22] local.INFO: Packet analysis {"connection_id":148431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:40:22] local.INFO: Extracted packet for processing {"connection_id":148431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:40:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185521408001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785881244000,"timestamp_ms":1785881244000,"timestamp_seconds":1785881244,"priority":1,"record_length":96,"hex_timestamp":"0000019fced13160"} 
[2026-08-05 03:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185521408001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185521408001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:40:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:40:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185521408001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":148431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:40:22] local.INFO: GPS data processed {"connection_id":148431,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:40:22] local.INFO: Acknowledgment sent {"connection_id":148431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:40:55] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:40:55] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:40:55] local.INFO: Packet analysis {"connection_id":148431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:40:55] local.INFO: Extracted packet for processing {"connection_id":148431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:40:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185521408001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785881244000,"timestamp_ms":1785881244000,"timestamp_seconds":1785881244,"priority":1,"record_length":96,"hex_timestamp":"0000019fced13160"} 
[2026-08-05 03:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:40: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-08-05 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:40: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-08-05 03:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185521408001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185521408001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:40:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:40:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185521408001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":148431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:40:55] local.INFO: GPS data processed {"connection_id":148431,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:40:55] local.INFO: Acknowledgment sent {"connection_id":148431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:41:16] local.INFO: TCP Data received {"connection_id":150842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:41:16] local.INFO: Processing buffer {"connection_id":150842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:41:16] local.INFO: IMEI packet received {"connection_id":150842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":150842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:41:21] local.INFO: TCP Data received {"connection_id":150842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:41:21] local.INFO: Processing buffer {"connection_id":150842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:41:21] local.INFO: IMEI packet received {"connection_id":150842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":150842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:41:22] local.INFO: TCP Data received {"connection_id":150842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:41:22] local.INFO: Processing buffer {"connection_id":150842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:41:22] local.INFO: Packet analysis {"connection_id":150842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:41:22] local.INFO: Extracted packet for processing {"connection_id":150842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:41:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185521408001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785881244000,"timestamp_ms":1785881244000,"timestamp_seconds":1785881244,"priority":1,"record_length":96,"hex_timestamp":"0000019fced13160"} 
[2026-08-05 03:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185521408001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185521408001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:41:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:41:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185521408001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":150842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:41:22] local.INFO: GPS data processed {"connection_id":150842,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:41:22] local.INFO: Acknowledgment sent {"connection_id":150842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:41:53] local.INFO: TCP Data received {"connection_id":150842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:41:53] local.INFO: Processing buffer {"connection_id":150842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:41:53] local.INFO: Packet analysis {"connection_id":150842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:41:53] local.INFO: Extracted packet for processing {"connection_id":150842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:41:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185521408001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785881244000,"timestamp_ms":1785881244000,"timestamp_seconds":1785881244,"priority":1,"record_length":96,"hex_timestamp":"0000019fced13160"} 
[2026-08-05 03:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:41: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-08-05 03:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185521408001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185521408001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:41:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:41:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185521408001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":150842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:41:53] local.INFO: GPS data processed {"connection_id":150842,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:41:53] local.INFO: Acknowledgment sent {"connection_id":150842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:42:16] local.INFO: TCP Data received {"connection_id":150843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:42:16] local.INFO: Processing buffer {"connection_id":150843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:42:16] local.INFO: IMEI packet received {"connection_id":150843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":150843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:42:21] local.INFO: TCP Data received {"connection_id":150843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:42:21] local.INFO: Processing buffer {"connection_id":150843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:42:21] local.INFO: IMEI packet received {"connection_id":150843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":150843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:42:22] local.INFO: TCP Data received {"connection_id":150843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:42:22] local.INFO: Processing buffer {"connection_id":150843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:42:22] local.INFO: Packet analysis {"connection_id":150843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:42:22] local.INFO: Extracted packet for processing {"connection_id":150843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:42:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185521408001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785881244000,"timestamp_ms":1785881244000,"timestamp_seconds":1785881244,"priority":1,"record_length":96,"hex_timestamp":"0000019fced13160"} 
[2026-08-05 03:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185521408001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185521408001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:42:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:42:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185521408001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":150843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:42:22] local.INFO: GPS data processed {"connection_id":150843,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:42:22] local.INFO: Acknowledgment sent {"connection_id":150843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:42:53] local.INFO: TCP Data received {"connection_id":150843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:42:53] local.INFO: Processing buffer {"connection_id":150843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced13160012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:42:53] local.INFO: Packet analysis {"connection_id":150843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:42:53] local.INFO: Extracted packet for processing {"connection_id":150843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced1"} 
[2026-08-05 03:42:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185521408001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785881244000,"timestamp_ms":1785881244000,"timestamp_seconds":1785881244,"priority":1,"record_length":96,"hex_timestamp":"0000019fced13160"} 
[2026-08-05 03:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 03:42: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-08-05 03:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185521408001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185521408001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:42:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:42:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185521408001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":150843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:42:53] local.INFO: GPS data processed {"connection_id":150843,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:42:53] local.INFO: Acknowledgment sent {"connection_id":150843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:43:16] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:43:16] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:43:16] local.INFO: IMEI packet received {"connection_id":148432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":148432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:43:21] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:43:21] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:43:21] local.INFO: IMEI packet received {"connection_id":148432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":148432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:43:21] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:43:21] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:43:21] local.INFO: Packet analysis {"connection_id":148432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:43:21] local.INFO: Extracted packet for processing {"connection_id":148432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:43:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185598464001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785881545000,"timestamp_ms":1785881545000,"timestamp_seconds":1785881545,"priority":1,"record_length":96,"hex_timestamp":"0000019fced5c928"} 
[2026-08-05 03:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:43: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-08-05 03:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:43: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-08-05 03:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185598464001,"66":25375,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185598464001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:43:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:43:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185598464001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":148432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:43:21] local.INFO: GPS data processed {"connection_id":148432,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:43:21] local.INFO: Acknowledgment sent {"connection_id":148432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:43:52] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:43:52] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:43:52] local.INFO: Packet analysis {"connection_id":148432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:43:52] local.INFO: Extracted packet for processing {"connection_id":148432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:43:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185598464001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785881545000,"timestamp_ms":1785881545000,"timestamp_seconds":1785881545,"priority":1,"record_length":96,"hex_timestamp":"0000019fced5c928"} 
[2026-08-05 03:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185598464001,"66":25375,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185598464001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:43:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:43:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185598464001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":148432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:43:52] local.INFO: GPS data processed {"connection_id":148432,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:43:52] local.INFO: Acknowledgment sent {"connection_id":148432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:44:16] local.INFO: TCP Data received {"connection_id":148206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:44:16] local.INFO: Processing buffer {"connection_id":148206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:44:16] local.INFO: IMEI packet received {"connection_id":148206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":148206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:44:21] local.INFO: TCP Data received {"connection_id":148206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:44:21] local.INFO: Processing buffer {"connection_id":148206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:44:21] local.INFO: IMEI packet received {"connection_id":148206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":148206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:44:21] local.INFO: TCP Data received {"connection_id":148206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:44:21] local.INFO: Processing buffer {"connection_id":148206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:44:21] local.INFO: Packet analysis {"connection_id":148206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:44:21] local.INFO: Extracted packet for processing {"connection_id":148206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:44:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185598464001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785881545000,"timestamp_ms":1785881545000,"timestamp_seconds":1785881545,"priority":1,"record_length":96,"hex_timestamp":"0000019fced5c928"} 
[2026-08-05 03:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:44: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-08-05 03:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185598464001,"66":25375,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185598464001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:44:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:44:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185598464001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":148206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:44:21] local.INFO: GPS data processed {"connection_id":148206,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:44:21] local.INFO: Acknowledgment sent {"connection_id":148206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:44:52] local.INFO: TCP Data received {"connection_id":148206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:44:52] local.INFO: Processing buffer {"connection_id":148206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:44:52] local.INFO: Packet analysis {"connection_id":148206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:44:52] local.INFO: Extracted packet for processing {"connection_id":148206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:44:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185598464001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785881545000,"timestamp_ms":1785881545000,"timestamp_seconds":1785881545,"priority":1,"record_length":96,"hex_timestamp":"0000019fced5c928"} 
[2026-08-05 03:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185598464001,"66":25375,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185598464001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:44:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:44:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185598464001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":148206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:44:52] local.INFO: GPS data processed {"connection_id":148206,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:44:52] local.INFO: Acknowledgment sent {"connection_id":148206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:45:16] local.INFO: TCP Data received {"connection_id":149438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:45:16] local.INFO: Processing buffer {"connection_id":149438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:45:16] local.INFO: IMEI packet received {"connection_id":149438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":149438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:45:21] local.INFO: TCP Data received {"connection_id":149438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:45:21] local.INFO: Processing buffer {"connection_id":149438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:45:21] local.INFO: IMEI packet received {"connection_id":149438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":149438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:45:21] local.INFO: TCP Data received {"connection_id":149438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:45:21] local.INFO: Processing buffer {"connection_id":149438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:45:21] local.INFO: Packet analysis {"connection_id":149438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:45:21] local.INFO: Extracted packet for processing {"connection_id":149438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:45:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03: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-08-05 03:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185598464001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785881545000,"timestamp_ms":1785881545000,"timestamp_seconds":1785881545,"priority":1,"record_length":96,"hex_timestamp":"0000019fced5c928"} 
[2026-08-05 03:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:45: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-08-05 03:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03: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-08-05 03:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:45: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-08-05 03:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185598464001,"66":25375,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185598464001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:45:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:45:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185598464001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":149438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:45:22] local.INFO: GPS data processed {"connection_id":149438,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:45:22] local.INFO: Acknowledgment sent {"connection_id":149438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:45:52] local.INFO: TCP Data received {"connection_id":149438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:45:52] local.INFO: Processing buffer {"connection_id":149438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:45:52] local.INFO: Packet analysis {"connection_id":149438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:45:52] local.INFO: Extracted packet for processing {"connection_id":149438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:45:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185598464001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785881545000,"timestamp_ms":1785881545000,"timestamp_seconds":1785881545,"priority":1,"record_length":96,"hex_timestamp":"0000019fced5c928"} 
[2026-08-05 03:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185598464001,"66":25375,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185598464001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:45:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:45:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185598464001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":149438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:45:52] local.INFO: GPS data processed {"connection_id":149438,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:45:52] local.INFO: Acknowledgment sent {"connection_id":149438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:46:16] local.INFO: TCP Data received {"connection_id":149439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:46:16] local.INFO: Processing buffer {"connection_id":149439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:46:16] local.INFO: IMEI packet received {"connection_id":149439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":149439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:46:21] local.INFO: TCP Data received {"connection_id":149439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:46:21] local.INFO: Processing buffer {"connection_id":149439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:46:21] local.INFO: IMEI packet received {"connection_id":149439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":149439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:46:22] local.INFO: TCP Data received {"connection_id":149439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:46:22] local.INFO: Processing buffer {"connection_id":149439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:46:22] local.INFO: Packet analysis {"connection_id":149439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:46:22] local.INFO: Extracted packet for processing {"connection_id":149439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:46:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185598464001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785881545000,"timestamp_ms":1785881545000,"timestamp_seconds":1785881545,"priority":1,"record_length":96,"hex_timestamp":"0000019fced5c928"} 
[2026-08-05 03:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03: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-08-05 03:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185598464001,"66":25375,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185598464001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:46:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:46:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185598464001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":149439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:46:22] local.INFO: GPS data processed {"connection_id":149439,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:46:22] local.INFO: Acknowledgment sent {"connection_id":149439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:46:52] local.INFO: TCP Data received {"connection_id":149439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:46:52] local.INFO: Processing buffer {"connection_id":149439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:46:52] local.INFO: Packet analysis {"connection_id":149439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:46:52] local.INFO: Extracted packet for processing {"connection_id":149439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:46:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185598464001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785881545000,"timestamp_ms":1785881545000,"timestamp_seconds":1785881545,"priority":1,"record_length":96,"hex_timestamp":"0000019fced5c928"} 
[2026-08-05 03:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185598464001,"66":25375,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185598464001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:46:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:46:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185598464001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":149439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:46:52] local.INFO: GPS data processed {"connection_id":149439,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:46:52] local.INFO: Acknowledgment sent {"connection_id":149439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:47:16] local.INFO: TCP Data received {"connection_id":148207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:47:16] local.INFO: Processing buffer {"connection_id":148207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:47:16] local.INFO: IMEI packet received {"connection_id":148207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":148207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:47:21] local.INFO: TCP Data received {"connection_id":148207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:47:21] local.INFO: Processing buffer {"connection_id":148207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:47:21] local.INFO: IMEI packet received {"connection_id":148207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":148207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:47:22] local.INFO: TCP Data received {"connection_id":148207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:47:22] local.INFO: Processing buffer {"connection_id":148207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:47:22] local.INFO: Packet analysis {"connection_id":148207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:47:22] local.INFO: Extracted packet for processing {"connection_id":148207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:47:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185598464001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785881545000,"timestamp_ms":1785881545000,"timestamp_seconds":1785881545,"priority":1,"record_length":96,"hex_timestamp":"0000019fced5c928"} 
[2026-08-05 03:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185598464001,"66":25375,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185598464001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:47:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:47:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185598464001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":148207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:47:22] local.INFO: GPS data processed {"connection_id":148207,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:47:22] local.INFO: Acknowledgment sent {"connection_id":148207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:47:52] local.INFO: TCP Data received {"connection_id":148207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:47:52] local.INFO: Processing buffer {"connection_id":148207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fced5c928012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 03:47:52] local.INFO: Packet analysis {"connection_id":148207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:47:52] local.INFO: Extracted packet for processing {"connection_id":148207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fced5"} 
[2026-08-05 03:47:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185598464001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785881545000,"timestamp_ms":1785881545000,"timestamp_seconds":1785881545,"priority":1,"record_length":96,"hex_timestamp":"0000019fced5c928"} 
[2026-08-05 03:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185598464001,"66":25375,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185598464001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:47:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:47:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185598464001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":148207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:47:52] local.INFO: GPS data processed {"connection_id":148207,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:47:52] local.INFO: Acknowledgment sent {"connection_id":148207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:48:16] local.INFO: TCP Data received {"connection_id":148208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:48:16] local.INFO: Processing buffer {"connection_id":148208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:48:16] local.INFO: IMEI packet received {"connection_id":148208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":148208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:48:21] local.INFO: TCP Data received {"connection_id":148208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:48:21] local.INFO: Processing buffer {"connection_id":148208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:48:21] local.INFO: IMEI packet received {"connection_id":148208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":148208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:48:21] local.INFO: TCP Data received {"connection_id":148208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:48:21] local.INFO: Processing buffer {"connection_id":148208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:48:21] local.INFO: Packet analysis {"connection_id":148208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:48:21] local.INFO: Extracted packet for processing {"connection_id":148208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:48:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03: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-08-05 03:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185675520001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785881846000,"timestamp_ms":1785881846000,"timestamp_seconds":1785881846,"priority":1,"record_length":96,"hex_timestamp":"0000019fceda60f0"} 
[2026-08-05 03:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:48: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-08-05 03:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 03:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03: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-08-05 03:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:48: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-08-05 03:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185675520001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185675520001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:48:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:48:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185675520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":148208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:48:22] local.INFO: GPS data processed {"connection_id":148208,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:48:22] local.INFO: Acknowledgment sent {"connection_id":148208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:48:52] local.INFO: TCP Data received {"connection_id":148208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:48:52] local.INFO: Processing buffer {"connection_id":148208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:48:52] local.INFO: Packet analysis {"connection_id":148208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:48:52] local.INFO: Extracted packet for processing {"connection_id":148208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:48:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185675520001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785881846000,"timestamp_ms":1785881846000,"timestamp_seconds":1785881846,"priority":1,"record_length":96,"hex_timestamp":"0000019fceda60f0"} 
[2026-08-05 03:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 03:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185675520001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185675520001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:48:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:48:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185675520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":148208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:48:52] local.INFO: GPS data processed {"connection_id":148208,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:48:52] local.INFO: Acknowledgment sent {"connection_id":148208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:49:16] local.INFO: TCP Data received {"connection_id":150844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:49:16] local.INFO: Processing buffer {"connection_id":150844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:49:16] local.INFO: IMEI packet received {"connection_id":150844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":150844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:49:21] local.INFO: TCP Data received {"connection_id":150844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:49:21] local.INFO: Processing buffer {"connection_id":150844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:49:21] local.INFO: IMEI packet received {"connection_id":150844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":150844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:49:22] local.INFO: TCP Data received {"connection_id":150844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:49:22] local.INFO: Processing buffer {"connection_id":150844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:49:22] local.INFO: Packet analysis {"connection_id":150844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:49:22] local.INFO: Extracted packet for processing {"connection_id":150844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:49:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185675520001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785881846000,"timestamp_ms":1785881846000,"timestamp_seconds":1785881846,"priority":1,"record_length":96,"hex_timestamp":"0000019fceda60f0"} 
[2026-08-05 03:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 03:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185675520001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185675520001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:49:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:49:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185675520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":150844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:49:22] local.INFO: GPS data processed {"connection_id":150844,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:49:22] local.INFO: Acknowledgment sent {"connection_id":150844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:49:52] local.INFO: TCP Data received {"connection_id":150844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:49:52] local.INFO: Processing buffer {"connection_id":150844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:49:52] local.INFO: Packet analysis {"connection_id":150844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:49:52] local.INFO: Extracted packet for processing {"connection_id":150844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:49:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185675520001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785881846000,"timestamp_ms":1785881846000,"timestamp_seconds":1785881846,"priority":1,"record_length":96,"hex_timestamp":"0000019fceda60f0"} 
[2026-08-05 03:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 03:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185675520001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185675520001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:49:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:49:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185675520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":150844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:49:52] local.INFO: GPS data processed {"connection_id":150844,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:49:52] local.INFO: Acknowledgment sent {"connection_id":150844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:50:16] local.INFO: TCP Data received {"connection_id":150845,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:50:16] local.INFO: Processing buffer {"connection_id":150845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:50:16] local.INFO: IMEI packet received {"connection_id":150845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":150845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:50:21] local.INFO: TCP Data received {"connection_id":150845,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:50:21] local.INFO: Processing buffer {"connection_id":150845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:50:21] local.INFO: IMEI packet received {"connection_id":150845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":150845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:50:21] local.INFO: TCP Data received {"connection_id":150845,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:50:21] local.INFO: Processing buffer {"connection_id":150845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:50:21] local.INFO: Packet analysis {"connection_id":150845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:50:21] local.INFO: Extracted packet for processing {"connection_id":150845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:50:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185675520001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785881846000,"timestamp_ms":1785881846000,"timestamp_seconds":1785881846,"priority":1,"record_length":96,"hex_timestamp":"0000019fceda60f0"} 
[2026-08-05 03:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:50: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-08-05 03:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 03:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185675520001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185675520001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:50:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:50:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185675520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":150845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:50:21] local.INFO: GPS data processed {"connection_id":150845,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:50:21] local.INFO: Acknowledgment sent {"connection_id":150845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:50:52] local.INFO: TCP Data received {"connection_id":150845,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:50:52] local.INFO: Processing buffer {"connection_id":150845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:50:52] local.INFO: Packet analysis {"connection_id":150845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:50:52] local.INFO: Extracted packet for processing {"connection_id":150845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:50:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185675520001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785881846000,"timestamp_ms":1785881846000,"timestamp_seconds":1785881846,"priority":1,"record_length":96,"hex_timestamp":"0000019fceda60f0"} 
[2026-08-05 03:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 03:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185675520001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185675520001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:50:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:50:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185675520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":150845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:50:52] local.INFO: GPS data processed {"connection_id":150845,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:50:52] local.INFO: Acknowledgment sent {"connection_id":150845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:51:21] local.INFO: TCP Data received {"connection_id":150846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:51:21] local.INFO: Processing buffer {"connection_id":150846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:51:21] local.INFO: IMEI packet received {"connection_id":150846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":150846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:51:26] local.INFO: TCP Data received {"connection_id":150846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:51:26] local.INFO: Processing buffer {"connection_id":150846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:51:26] local.INFO: IMEI packet received {"connection_id":150846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":150846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:51:26] local.INFO: TCP Data received {"connection_id":150846,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:51:26] local.INFO: Processing buffer {"connection_id":150846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:51:26] local.INFO: Packet analysis {"connection_id":150846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:51:26] local.INFO: Extracted packet for processing {"connection_id":150846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:51:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185675520001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785881846000,"timestamp_ms":1785881846000,"timestamp_seconds":1785881846,"priority":1,"record_length":96,"hex_timestamp":"0000019fceda60f0"} 
[2026-08-05 03:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 03:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185675520001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185675520001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:51:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:51:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185675520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":150846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:51:26] local.INFO: GPS data processed {"connection_id":150846,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:51:26] local.INFO: Acknowledgment sent {"connection_id":150846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:51:31] local.INFO: TCP Data received {"connection_id":150846,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:51:31] local.INFO: Processing buffer {"connection_id":150846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:51:31] local.INFO: Packet analysis {"connection_id":150846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:51:31] local.INFO: Extracted packet for processing {"connection_id":150846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:51:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185675520001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785881846000,"timestamp_ms":1785881846000,"timestamp_seconds":1785881846,"priority":1,"record_length":96,"hex_timestamp":"0000019fceda60f0"} 
[2026-08-05 03:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 03:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":150846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":150846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":150846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185675520001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185675520001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:51:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:51:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185675520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":150846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:51:31] local.INFO: GPS data processed {"connection_id":150846,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:51:31] local.INFO: Acknowledgment sent {"connection_id":150846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:52:16] local.INFO: TCP Data received {"connection_id":149440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:52:16] local.INFO: Processing buffer {"connection_id":149440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:52:16] local.INFO: IMEI packet received {"connection_id":149440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":149440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:52:21] local.INFO: TCP Data received {"connection_id":149440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:52:21] local.INFO: Processing buffer {"connection_id":149440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:52:21] local.INFO: IMEI packet received {"connection_id":149440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":149440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:52:21] local.INFO: TCP Data received {"connection_id":149440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:52:21] local.INFO: Processing buffer {"connection_id":149440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:52:21] local.INFO: Packet analysis {"connection_id":149440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:52:21] local.INFO: Extracted packet for processing {"connection_id":149440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:52:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03: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-08-05 03:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185675520001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785881846000,"timestamp_ms":1785881846000,"timestamp_seconds":1785881846,"priority":1,"record_length":96,"hex_timestamp":"0000019fceda60f0"} 
[2026-08-05 03:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03: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-08-05 03: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":31,"data_length":795,"current_offset":136} 
[2026-08-05 03:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03: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-08-05 03:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:52: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-08-05 03:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185675520001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185675520001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:52:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:52:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185675520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":149440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:52:21] local.INFO: GPS data processed {"connection_id":149440,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:52:21] local.INFO: Acknowledgment sent {"connection_id":149440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:52:52] local.INFO: TCP Data received {"connection_id":149440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:52:52] local.INFO: Processing buffer {"connection_id":149440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceda60f0012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 03:52:52] local.INFO: Packet analysis {"connection_id":149440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:52:52] local.INFO: Extracted packet for processing {"connection_id":149440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceda"} 
[2026-08-05 03:52:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185675520001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785881846000,"timestamp_ms":1785881846000,"timestamp_seconds":1785881846,"priority":1,"record_length":96,"hex_timestamp":"0000019fceda60f0"} 
[2026-08-05 03:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 03:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185675520001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185675520001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:52:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:52:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185675520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":149440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:52:52] local.INFO: GPS data processed {"connection_id":149440,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:52:52] local.INFO: Acknowledgment sent {"connection_id":149440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:53:16] local.INFO: TCP Data received {"connection_id":148433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:53:16] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:53:16] local.INFO: IMEI packet received {"connection_id":148433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":148433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:53:21] local.INFO: TCP Data received {"connection_id":148433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:53:21] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:53:21] local.INFO: IMEI packet received {"connection_id":148433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":148433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:53:21] local.INFO: TCP Data received {"connection_id":148433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:53:21] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:53:21] local.INFO: Packet analysis {"connection_id":148433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:53:21] local.INFO: Extracted packet for processing {"connection_id":148433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:53:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03: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-08-05 03:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185752576001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785882147000,"timestamp_ms":1785882147000,"timestamp_seconds":1785882147,"priority":1,"record_length":96,"hex_timestamp":"0000019fcedef8b8"} 
[2026-08-05 03:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:53: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-08-05 03: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03: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-08-05 03:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:53: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-08-05 03:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185752576001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185752576001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:53:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:53:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185752576001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":148433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:53:22] local.INFO: GPS data processed {"connection_id":148433,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:53:22] local.INFO: Acknowledgment sent {"connection_id":148433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:53:52] local.INFO: TCP Data received {"connection_id":148433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:53:52] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:53:52] local.INFO: Packet analysis {"connection_id":148433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:53:52] local.INFO: Extracted packet for processing {"connection_id":148433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:53:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185752576001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785882147000,"timestamp_ms":1785882147000,"timestamp_seconds":1785882147,"priority":1,"record_length":96,"hex_timestamp":"0000019fcedef8b8"} 
[2026-08-05 03:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185752576001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185752576001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:53:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:53:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185752576001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":148433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:53:52] local.INFO: GPS data processed {"connection_id":148433,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:53:52] local.INFO: Acknowledgment sent {"connection_id":148433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:54:16] local.INFO: TCP Data received {"connection_id":150847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:54:16] local.INFO: Processing buffer {"connection_id":150847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:54:16] local.INFO: IMEI packet received {"connection_id":150847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":150847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:54:22] local.INFO: TCP Data received {"connection_id":150847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:54:22] local.INFO: Processing buffer {"connection_id":150847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:54:22] local.INFO: IMEI packet received {"connection_id":150847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":150847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:54:46] local.INFO: TCP Data received {"connection_id":150847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:54:46] local.INFO: Processing buffer {"connection_id":150847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:54:46] local.INFO: Packet analysis {"connection_id":150847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:54:46] local.INFO: Extracted packet for processing {"connection_id":150847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:54:46] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 03:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185752576001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785882147000,"timestamp_ms":1785882147000,"timestamp_seconds":1785882147,"priority":1,"record_length":96,"hex_timestamp":"0000019fcedef8b8"} 
[2026-08-05 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-08-05 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-08-05 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":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 03:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 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-08-05 03:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185752576001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185752576001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:54:46] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:54:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185752576001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":150847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:54:46] local.INFO: GPS data processed {"connection_id":150847,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:54:46] local.INFO: Acknowledgment sent {"connection_id":150847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:55:16] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:55:16] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:55:16] local.INFO: IMEI packet received {"connection_id":148434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":148434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:55:21] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:55:21] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:55:21] local.INFO: IMEI packet received {"connection_id":148434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":148434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:55:21] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:55:21] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:55:21] local.INFO: Packet analysis {"connection_id":148434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:55:21] local.INFO: Extracted packet for processing {"connection_id":148434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:55:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 03:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185752576001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785882147000,"timestamp_ms":1785882147000,"timestamp_seconds":1785882147,"priority":1,"record_length":96,"hex_timestamp":"0000019fcedef8b8"} 
[2026-08-05 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-08-05 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-08-05 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":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 03:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 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-08-05 03:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185752576001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185752576001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:55:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:55:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185752576001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":148434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:55:21] local.INFO: GPS data processed {"connection_id":148434,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:55:21] local.INFO: Acknowledgment sent {"connection_id":148434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:55:52] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:55:52] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:55:52] local.INFO: Packet analysis {"connection_id":148434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:55:52] local.INFO: Extracted packet for processing {"connection_id":148434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:55:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185752576001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785882147000,"timestamp_ms":1785882147000,"timestamp_seconds":1785882147,"priority":1,"record_length":96,"hex_timestamp":"0000019fcedef8b8"} 
[2026-08-05 03:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185752576001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185752576001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:55:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:55:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185752576001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":148434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:55:52] local.INFO: GPS data processed {"connection_id":148434,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:55:52] local.INFO: Acknowledgment sent {"connection_id":148434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:56:16] local.INFO: TCP Data received {"connection_id":149441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:56:16] local.INFO: Processing buffer {"connection_id":149441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:56:16] local.INFO: IMEI packet received {"connection_id":149441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":149441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:56:21] local.INFO: TCP Data received {"connection_id":149441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:56:21] local.INFO: Processing buffer {"connection_id":149441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:56:21] local.INFO: IMEI packet received {"connection_id":149441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":149441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:56:21] local.INFO: TCP Data received {"connection_id":149441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:56:21] local.INFO: Processing buffer {"connection_id":149441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:56:21] local.INFO: Packet analysis {"connection_id":149441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:56:21] local.INFO: Extracted packet for processing {"connection_id":149441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:56:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03: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-08-05 03:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185752576001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785882147000,"timestamp_ms":1785882147000,"timestamp_seconds":1785882147,"priority":1,"record_length":96,"hex_timestamp":"0000019fcedef8b8"} 
[2026-08-05 03:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:56: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-08-05 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03: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-08-05 03:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:56: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-08-05 03:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185752576001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185752576001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:56:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:56:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185752576001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":149441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:56:22] local.INFO: GPS data processed {"connection_id":149441,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:56:22] local.INFO: Acknowledgment sent {"connection_id":149441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:56:53] local.INFO: TCP Data received {"connection_id":149441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:56:53] local.INFO: Processing buffer {"connection_id":149441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:56:53] local.INFO: Packet analysis {"connection_id":149441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:56:53] local.INFO: Extracted packet for processing {"connection_id":149441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:56:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185752576001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785882147000,"timestamp_ms":1785882147000,"timestamp_seconds":1785882147,"priority":1,"record_length":96,"hex_timestamp":"0000019fcedef8b8"} 
[2026-08-05 03:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185752576001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185752576001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:56:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:56:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185752576001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":149441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:56:53] local.INFO: GPS data processed {"connection_id":149441,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:56:53] local.INFO: Acknowledgment sent {"connection_id":149441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:57:21] local.INFO: TCP Data received {"connection_id":149442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:57:21] local.INFO: Processing buffer {"connection_id":149442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:57:21] local.INFO: IMEI packet received {"connection_id":149442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":149442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:57:26] local.INFO: TCP Data received {"connection_id":149442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:57:26] local.INFO: Processing buffer {"connection_id":149442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:57:26] local.INFO: IMEI packet received {"connection_id":149442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":149442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:57:28] local.INFO: TCP Data received {"connection_id":149442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:57:28] local.INFO: Processing buffer {"connection_id":149442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:57:28] local.INFO: Packet analysis {"connection_id":149442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:57:28] local.INFO: Extracted packet for processing {"connection_id":149442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:57:28] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185752576001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785882147000,"timestamp_ms":1785882147000,"timestamp_seconds":1785882147,"priority":1,"record_length":96,"hex_timestamp":"0000019fcedef8b8"} 
[2026-08-05 03:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185752576001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185752576001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:57:28] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:57:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185752576001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":149442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:57:29] local.INFO: GPS data processed {"connection_id":149442,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:57:29] local.INFO: Acknowledgment sent {"connection_id":149442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:57:59] local.INFO: TCP Data received {"connection_id":149442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:57:59] local.INFO: Processing buffer {"connection_id":149442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcedef8b8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:57:59] local.INFO: Packet analysis {"connection_id":149442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:57:59] local.INFO: Extracted packet for processing {"connection_id":149442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcede"} 
[2026-08-05 03:57:59] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185752576001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785882147000,"timestamp_ms":1785882147000,"timestamp_seconds":1785882147,"priority":1,"record_length":96,"hex_timestamp":"0000019fcedef8b8"} 
[2026-08-05 03:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185752576001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185752576001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:57:59] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:57:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185752576001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":149442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:57:59] local.INFO: GPS data processed {"connection_id":149442,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:57:59] local.INFO: Acknowledgment sent {"connection_id":149442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:58:16] local.INFO: TCP Data received {"connection_id":149443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:58:16] local.INFO: Processing buffer {"connection_id":149443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:58:16] local.INFO: IMEI packet received {"connection_id":149443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":149443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:58:21] local.INFO: TCP Data received {"connection_id":149443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:58:21] local.INFO: Processing buffer {"connection_id":149443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:58:21] local.INFO: IMEI packet received {"connection_id":149443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":149443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:58:21] local.INFO: TCP Data received {"connection_id":149443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:58:21] local.INFO: Processing buffer {"connection_id":149443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:58:21] local.INFO: Packet analysis {"connection_id":149443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 03:58:21] local.INFO: Extracted packet for processing {"connection_id":149443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 03:58:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785882448000,"timestamp_ms":1785882448000,"timestamp_seconds":1785882448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee39080"} 
[2026-08-05 03:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:58: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-08-05 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:58: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-08-05 03:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185829632001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:58:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:58:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185829632001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":149443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:58:21] local.INFO: GPS data processed {"connection_id":149443,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:58:21] local.INFO: Acknowledgment sent {"connection_id":149443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:58:53] local.INFO: TCP Data received {"connection_id":149443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:58:53] local.INFO: Processing buffer {"connection_id":149443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:58:53] local.INFO: Packet analysis {"connection_id":149443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 03:58:53] local.INFO: Extracted packet for processing {"connection_id":149443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 03:58:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785882448000,"timestamp_ms":1785882448000,"timestamp_seconds":1785882448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee39080"} 
[2026-08-05 03:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185829632001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:58:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:58:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185829632001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":149443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:58:53] local.INFO: GPS data processed {"connection_id":149443,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:58:53] local.INFO: Acknowledgment sent {"connection_id":149443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:59:16] local.INFO: TCP Data received {"connection_id":148435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:59:16] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:59:16] local.INFO: IMEI packet received {"connection_id":148435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 03:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":148435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 03:59:21] local.INFO: TCP Data received {"connection_id":148435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:59:21] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 03:59:21] local.INFO: IMEI packet received {"connection_id":148435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 03:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":148435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 03:59:21] local.INFO: TCP Data received {"connection_id":148435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:59:21] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:59:21] local.INFO: Packet analysis {"connection_id":148435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 03:59:21] local.INFO: Extracted packet for processing {"connection_id":148435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 03:59:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785882448000,"timestamp_ms":1785882448000,"timestamp_seconds":1785882448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee39080"} 
[2026-08-05 03:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:59: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-08-05 03:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:59: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-08-05 03:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185829632001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:59:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:59:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185829632001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":148435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:59:21] local.INFO: GPS data processed {"connection_id":148435,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:59:21] local.INFO: Acknowledgment sent {"connection_id":148435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 03:59:52] local.INFO: TCP Data received {"connection_id":148435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:59:52] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 03:59:52] local.INFO: Packet analysis {"connection_id":148435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 03:59:52] local.INFO: Extracted packet for processing {"connection_id":148435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 03:59:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 03:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 03:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 03:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 03:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 03:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 03:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785882448000,"timestamp_ms":1785882448000,"timestamp_seconds":1785882448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee39080"} 
[2026-08-05 03:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 03:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 03:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 03:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 03:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 03:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 03:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 03:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 03:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 03:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 03:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 03:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 03:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185829632001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 03:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 03:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 03:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 03:59:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 03:59:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 03:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 03:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 03:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185829632001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 03:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":148435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 03:59:52] local.INFO: GPS data processed {"connection_id":148435,"processed":1,"errors":0,"total":1} 
[2026-08-05 03:59:52] local.INFO: Acknowledgment sent {"connection_id":148435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:00:16] local.INFO: TCP Data received {"connection_id":150848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:00:16] local.INFO: Processing buffer {"connection_id":150848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:00:16] local.INFO: IMEI packet received {"connection_id":150848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":150848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:00:21] local.INFO: TCP Data received {"connection_id":150848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:00:21] local.INFO: Processing buffer {"connection_id":150848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:00:21] local.INFO: IMEI packet received {"connection_id":150848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":150848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:00:21] local.INFO: TCP Data received {"connection_id":150848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:00:21] local.INFO: Processing buffer {"connection_id":150848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:00:21] local.INFO: Packet analysis {"connection_id":150848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:00:21] local.INFO: Extracted packet for processing {"connection_id":150848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:00:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04: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-08-05 04:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785882448000,"timestamp_ms":1785882448000,"timestamp_seconds":1785882448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee39080"} 
[2026-08-05 04:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:00: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-08-05 04:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04: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-08-05 04:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185829632001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:00:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:00:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185829632001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":150848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:00:21] local.INFO: GPS data processed {"connection_id":150848,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:00:21] local.INFO: Acknowledgment sent {"connection_id":150848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:00:53] local.INFO: TCP Data received {"connection_id":150848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:00:53] local.INFO: Processing buffer {"connection_id":150848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:00:53] local.INFO: Packet analysis {"connection_id":150848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:00:53] local.INFO: Extracted packet for processing {"connection_id":150848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:00:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785882448000,"timestamp_ms":1785882448000,"timestamp_seconds":1785882448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee39080"} 
[2026-08-05 04:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185829632001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:00:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:00:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185829632001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":150848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:00:53] local.INFO: GPS data processed {"connection_id":150848,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:00:53] local.INFO: Acknowledgment sent {"connection_id":150848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:01:16] local.INFO: TCP Data received {"connection_id":149444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:01:16] local.INFO: Processing buffer {"connection_id":149444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:01:16] local.INFO: IMEI packet received {"connection_id":149444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":149444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:01:21] local.INFO: TCP Data received {"connection_id":149444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:01:21] local.INFO: Processing buffer {"connection_id":149444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:01:21] local.INFO: IMEI packet received {"connection_id":149444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":149444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:01:21] local.INFO: TCP Data received {"connection_id":149444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:01:21] local.INFO: Processing buffer {"connection_id":149444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:01:21] local.INFO: Packet analysis {"connection_id":149444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:01:21] local.INFO: Extracted packet for processing {"connection_id":149444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:01:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785882448000,"timestamp_ms":1785882448000,"timestamp_seconds":1785882448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee39080"} 
[2026-08-05 04:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:01: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-08-05 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:01: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-08-05 04:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185829632001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:01:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:01:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185829632001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":149444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:01:21] local.INFO: GPS data processed {"connection_id":149444,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:01:21] local.INFO: Acknowledgment sent {"connection_id":149444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:01:52] local.INFO: TCP Data received {"connection_id":149444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:01:52] local.INFO: Processing buffer {"connection_id":149444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:01:52] local.INFO: Packet analysis {"connection_id":149444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:01:52] local.INFO: Extracted packet for processing {"connection_id":149444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:01:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785882448000,"timestamp_ms":1785882448000,"timestamp_seconds":1785882448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee39080"} 
[2026-08-05 04:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185829632001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:01:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:01:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185829632001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":149444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:01:52] local.INFO: GPS data processed {"connection_id":149444,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:01:52] local.INFO: Acknowledgment sent {"connection_id":149444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:02:16] local.INFO: TCP Data received {"connection_id":148209,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:02:16] local.INFO: Processing buffer {"connection_id":148209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:02:16] local.INFO: IMEI packet received {"connection_id":148209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":148209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:02:21] local.INFO: TCP Data received {"connection_id":148209,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:02:21] local.INFO: Processing buffer {"connection_id":148209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:02:21] local.INFO: IMEI packet received {"connection_id":148209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":148209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:02:22] local.INFO: TCP Data received {"connection_id":148209,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:02:22] local.INFO: Processing buffer {"connection_id":148209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:02:22] local.INFO: Packet analysis {"connection_id":148209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:02:22] local.INFO: Extracted packet for processing {"connection_id":148209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:02:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 04:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785882448000,"timestamp_ms":1785882448000,"timestamp_seconds":1785882448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee39080"} 
[2026-08-05 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-08-05 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-08-05 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":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 04:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185829632001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:02:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:02:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185829632001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":148209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:02:22] local.INFO: GPS data processed {"connection_id":148209,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:02:22] local.INFO: Acknowledgment sent {"connection_id":148209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:02:53] local.INFO: TCP Data received {"connection_id":148209,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:02:53] local.INFO: Processing buffer {"connection_id":148209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee39080012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:02:53] local.INFO: Packet analysis {"connection_id":148209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:02:53] local.INFO: Extracted packet for processing {"connection_id":148209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee3"} 
[2026-08-05 04:02:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785882448000,"timestamp_ms":1785882448000,"timestamp_seconds":1785882448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee39080"} 
[2026-08-05 04:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185829632001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:02:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:02:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185829632001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":148209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:02:53] local.INFO: GPS data processed {"connection_id":148209,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:02:53] local.INFO: Acknowledgment sent {"connection_id":148209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:03:16] local.INFO: TCP Data received {"connection_id":148210,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:03:16] local.INFO: Processing buffer {"connection_id":148210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:03:16] local.INFO: IMEI packet received {"connection_id":148210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":148210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:03:21] local.INFO: TCP Data received {"connection_id":148210,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:03:21] local.INFO: Processing buffer {"connection_id":148210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:03:21] local.INFO: IMEI packet received {"connection_id":148210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":148210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:03:22] local.INFO: TCP Data received {"connection_id":148210,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:03:22] local.INFO: Processing buffer {"connection_id":148210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:03:22] local.INFO: Packet analysis {"connection_id":148210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:03:22] local.INFO: Extracted packet for processing {"connection_id":148210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:03:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785882749000,"timestamp_ms":1785882749000,"timestamp_seconds":1785882749,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee82848"} 
[2026-08-05 04:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04: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-08-05 04:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185906688001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:03:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:03:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185906688001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":148210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:03:22] local.INFO: GPS data processed {"connection_id":148210,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:03:22] local.INFO: Acknowledgment sent {"connection_id":148210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:03:53] local.INFO: TCP Data received {"connection_id":148210,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:03:53] local.INFO: Processing buffer {"connection_id":148210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:03:53] local.INFO: Packet analysis {"connection_id":148210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:03:53] local.INFO: Extracted packet for processing {"connection_id":148210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:03:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785882749000,"timestamp_ms":1785882749000,"timestamp_seconds":1785882749,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee82848"} 
[2026-08-05 04:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04: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-08-05 04: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:03: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-08-05 04:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185906688001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:03:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:03:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185906688001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":148210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:03:53] local.INFO: GPS data processed {"connection_id":148210,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:03:53] local.INFO: Acknowledgment sent {"connection_id":148210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:04:16] local.INFO: TCP Data received {"connection_id":148211,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:04:16] local.INFO: Processing buffer {"connection_id":148211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:04:16] local.INFO: IMEI packet received {"connection_id":148211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":148211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:04:21] local.INFO: TCP Data received {"connection_id":148211,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:04:21] local.INFO: Processing buffer {"connection_id":148211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:04:21] local.INFO: IMEI packet received {"connection_id":148211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":148211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:04:22] local.INFO: TCP Data received {"connection_id":148211,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:04:22] local.INFO: Processing buffer {"connection_id":148211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:04:22] local.INFO: Packet analysis {"connection_id":148211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:04:22] local.INFO: Extracted packet for processing {"connection_id":148211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:04:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785882749000,"timestamp_ms":1785882749000,"timestamp_seconds":1785882749,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee82848"} 
[2026-08-05 04:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185906688001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:04:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:04:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185906688001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":148211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:04:22] local.INFO: GPS data processed {"connection_id":148211,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:04:22] local.INFO: Acknowledgment sent {"connection_id":148211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:04:53] local.INFO: TCP Data received {"connection_id":148211,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:04:53] local.INFO: Processing buffer {"connection_id":148211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:04:53] local.INFO: Packet analysis {"connection_id":148211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:04:53] local.INFO: Extracted packet for processing {"connection_id":148211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:04:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785882749000,"timestamp_ms":1785882749000,"timestamp_seconds":1785882749,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee82848"} 
[2026-08-05 04:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:04: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-08-05 04:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185906688001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:04:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:04:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185906688001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":148211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:04:53] local.INFO: GPS data processed {"connection_id":148211,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:04:53] local.INFO: Acknowledgment sent {"connection_id":148211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:05:16] local.INFO: TCP Data received {"connection_id":149445,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:05:16] local.INFO: Processing buffer {"connection_id":149445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:05:16] local.INFO: IMEI packet received {"connection_id":149445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":149445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:05:21] local.INFO: TCP Data received {"connection_id":149445,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:05:21] local.INFO: Processing buffer {"connection_id":149445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:05:21] local.INFO: IMEI packet received {"connection_id":149445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":149445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:05:21] local.INFO: TCP Data received {"connection_id":149445,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:05:21] local.INFO: Processing buffer {"connection_id":149445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:05:21] local.INFO: Packet analysis {"connection_id":149445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:05:21] local.INFO: Extracted packet for processing {"connection_id":149445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:05:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04: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-08-05 04:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785882749000,"timestamp_ms":1785882749000,"timestamp_seconds":1785882749,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee82848"} 
[2026-08-05 04:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04: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-08-05 04:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04: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-08-05 04:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185906688001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:05:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:05:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185906688001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":149445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:05:21] local.INFO: GPS data processed {"connection_id":149445,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:05:21] local.INFO: Acknowledgment sent {"connection_id":149445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:05:26] local.INFO: TCP Data received {"connection_id":149445,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:05:26] local.INFO: Processing buffer {"connection_id":149445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:05:26] local.INFO: Packet analysis {"connection_id":149445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:05:26] local.INFO: Extracted packet for processing {"connection_id":149445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:05:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785882749000,"timestamp_ms":1785882749000,"timestamp_seconds":1785882749,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee82848"} 
[2026-08-05 04:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185906688001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:05:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:05:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185906688001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":149445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:05:26] local.INFO: GPS data processed {"connection_id":149445,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:05:26] local.INFO: Acknowledgment sent {"connection_id":149445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:05:57] local.INFO: TCP Data received {"connection_id":149445,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:05:57] local.INFO: Processing buffer {"connection_id":149445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:05:57] local.INFO: Packet analysis {"connection_id":149445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:05:57] local.INFO: Extracted packet for processing {"connection_id":149445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:05:57] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785882749000,"timestamp_ms":1785882749000,"timestamp_seconds":1785882749,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee82848"} 
[2026-08-05 04:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185906688001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:05:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:05:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185906688001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":149445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:05:57] local.INFO: GPS data processed {"connection_id":149445,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:05:57] local.INFO: Acknowledgment sent {"connection_id":149445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:06:16] local.INFO: TCP Data received {"connection_id":148212,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:06:16] local.INFO: Processing buffer {"connection_id":148212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:06:16] local.INFO: IMEI packet received {"connection_id":148212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":148212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:06:21] local.INFO: TCP Data received {"connection_id":148212,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:06:21] local.INFO: Processing buffer {"connection_id":148212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:06:21] local.INFO: IMEI packet received {"connection_id":148212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":148212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:06:22] local.INFO: TCP Data received {"connection_id":148212,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:06:22] local.INFO: Processing buffer {"connection_id":148212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:06:22] local.INFO: Packet analysis {"connection_id":148212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:06:22] local.INFO: Extracted packet for processing {"connection_id":148212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:06:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785882749000,"timestamp_ms":1785882749000,"timestamp_seconds":1785882749,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee82848"} 
[2026-08-05 04:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185906688001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:06:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:06:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185906688001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":148212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:06:22] local.INFO: GPS data processed {"connection_id":148212,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:06:22] local.INFO: Acknowledgment sent {"connection_id":148212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:06:53] local.INFO: TCP Data received {"connection_id":148212,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:06:53] local.INFO: Processing buffer {"connection_id":148212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:06:53] local.INFO: Packet analysis {"connection_id":148212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:06:53] local.INFO: Extracted packet for processing {"connection_id":148212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:06:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785882749000,"timestamp_ms":1785882749000,"timestamp_seconds":1785882749,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee82848"} 
[2026-08-05 04:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:06: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-08-05 04:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185906688001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:06:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:06:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185906688001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":148212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:06:53] local.INFO: GPS data processed {"connection_id":148212,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:06:53] local.INFO: Acknowledgment sent {"connection_id":148212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:07:16] local.INFO: TCP Data received {"connection_id":149446,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:07:16] local.INFO: Processing buffer {"connection_id":149446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:07:16] local.INFO: IMEI packet received {"connection_id":149446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":149446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:07:21] local.INFO: TCP Data received {"connection_id":149446,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:07:21] local.INFO: Processing buffer {"connection_id":149446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:07:21] local.INFO: IMEI packet received {"connection_id":149446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":149446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:07:22] local.INFO: TCP Data received {"connection_id":149446,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:07:22] local.INFO: Processing buffer {"connection_id":149446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:07:22] local.INFO: Packet analysis {"connection_id":149446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:07:22] local.INFO: Extracted packet for processing {"connection_id":149446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:07:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785882749000,"timestamp_ms":1785882749000,"timestamp_seconds":1785882749,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee82848"} 
[2026-08-05 04:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185906688001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:07:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:07:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185906688001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":149446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:07:22] local.INFO: GPS data processed {"connection_id":149446,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:07:22] local.INFO: Acknowledgment sent {"connection_id":149446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:07:53] local.INFO: TCP Data received {"connection_id":149446,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:07:53] local.INFO: Processing buffer {"connection_id":149446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcee82848012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:07:53] local.INFO: Packet analysis {"connection_id":149446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:07:53] local.INFO: Extracted packet for processing {"connection_id":149446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcee8"} 
[2026-08-05 04:07:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785882749000,"timestamp_ms":1785882749000,"timestamp_seconds":1785882749,"priority":1,"record_length":96,"hex_timestamp":"0000019fcee82848"} 
[2026-08-05 04:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:07: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-08-05 04:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185906688001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:07:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:07:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185906688001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":149446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:07:53] local.INFO: GPS data processed {"connection_id":149446,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:07:53] local.INFO: Acknowledgment sent {"connection_id":149446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:08:16] local.INFO: TCP Data received {"connection_id":149447,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:08:16] local.INFO: Processing buffer {"connection_id":149447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:08:16] local.INFO: IMEI packet received {"connection_id":149447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":149447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:08:21] local.INFO: TCP Data received {"connection_id":149447,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:08:21] local.INFO: Processing buffer {"connection_id":149447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:08:21] local.INFO: IMEI packet received {"connection_id":149447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":149447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:08:22] local.INFO: TCP Data received {"connection_id":149447,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:08:22] local.INFO: Processing buffer {"connection_id":149447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:08:22] local.INFO: Packet analysis {"connection_id":149447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:08:22] local.INFO: Extracted packet for processing {"connection_id":149447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:08:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785883050000,"timestamp_ms":1785883050000,"timestamp_seconds":1785883050,"priority":1,"record_length":96,"hex_timestamp":"0000019fceecc010"} 
[2026-08-05 04:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185983744001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:08:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:08:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185983744001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":149447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:08:22] local.INFO: GPS data processed {"connection_id":149447,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:08:22] local.INFO: Acknowledgment sent {"connection_id":149447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:08:53] local.INFO: TCP Data received {"connection_id":149447,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:08:53] local.INFO: Processing buffer {"connection_id":149447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:08:53] local.INFO: Packet analysis {"connection_id":149447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:08:53] local.INFO: Extracted packet for processing {"connection_id":149447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:08:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785883050000,"timestamp_ms":1785883050000,"timestamp_seconds":1785883050,"priority":1,"record_length":96,"hex_timestamp":"0000019fceecc010"} 
[2026-08-05 04:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185983744001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:08:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:08:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185983744001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":149447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:08:53] local.INFO: GPS data processed {"connection_id":149447,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:08:53] local.INFO: Acknowledgment sent {"connection_id":149447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:09:16] local.INFO: TCP Data received {"connection_id":148213,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:09:16] local.INFO: Processing buffer {"connection_id":148213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:09:16] local.INFO: IMEI packet received {"connection_id":148213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":148213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:09:21] local.INFO: TCP Data received {"connection_id":148213,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:09:21] local.INFO: Processing buffer {"connection_id":148213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:09:21] local.INFO: IMEI packet received {"connection_id":148213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":148213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:09:22] local.INFO: TCP Data received {"connection_id":148213,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:09:22] local.INFO: Processing buffer {"connection_id":148213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:09:22] local.INFO: Packet analysis {"connection_id":148213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:09:22] local.INFO: Extracted packet for processing {"connection_id":148213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:09:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785883050000,"timestamp_ms":1785883050000,"timestamp_seconds":1785883050,"priority":1,"record_length":96,"hex_timestamp":"0000019fceecc010"} 
[2026-08-05 04:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04: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-08-05 04: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185983744001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:09:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:09:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185983744001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":148213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:09:22] local.INFO: GPS data processed {"connection_id":148213,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:09:22] local.INFO: Acknowledgment sent {"connection_id":148213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:09:53] local.INFO: TCP Data received {"connection_id":148213,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:09:53] local.INFO: Processing buffer {"connection_id":148213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:09:53] local.INFO: Packet analysis {"connection_id":148213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:09:53] local.INFO: Extracted packet for processing {"connection_id":148213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:09:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785883050000,"timestamp_ms":1785883050000,"timestamp_seconds":1785883050,"priority":1,"record_length":96,"hex_timestamp":"0000019fceecc010"} 
[2026-08-05 04:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185983744001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:09:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:09:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185983744001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":148213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:09:53] local.INFO: GPS data processed {"connection_id":148213,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:09:53] local.INFO: Acknowledgment sent {"connection_id":148213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:10:16] local.INFO: TCP Data received {"connection_id":148214,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:10:16] local.INFO: Processing buffer {"connection_id":148214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:10:16] local.INFO: IMEI packet received {"connection_id":148214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":148214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:10:21] local.INFO: TCP Data received {"connection_id":148214,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:10:21] local.INFO: Processing buffer {"connection_id":148214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:10:21] local.INFO: IMEI packet received {"connection_id":148214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":148214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:10:22] local.INFO: TCP Data received {"connection_id":148214,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:10:22] local.INFO: Processing buffer {"connection_id":148214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:10:22] local.INFO: Packet analysis {"connection_id":148214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:10:22] local.INFO: Extracted packet for processing {"connection_id":148214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:10:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785883050000,"timestamp_ms":1785883050000,"timestamp_seconds":1785883050,"priority":1,"record_length":96,"hex_timestamp":"0000019fceecc010"} 
[2026-08-05 04:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185983744001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:10:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:10:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185983744001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":148214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:10:22] local.INFO: GPS data processed {"connection_id":148214,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:10:22] local.INFO: Acknowledgment sent {"connection_id":148214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:10:53] local.INFO: TCP Data received {"connection_id":148214,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:10:53] local.INFO: Processing buffer {"connection_id":148214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:10:53] local.INFO: Packet analysis {"connection_id":148214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:10:53] local.INFO: Extracted packet for processing {"connection_id":148214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:10:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785883050000,"timestamp_ms":1785883050000,"timestamp_seconds":1785883050,"priority":1,"record_length":96,"hex_timestamp":"0000019fceecc010"} 
[2026-08-05 04:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185983744001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:10:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:10:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185983744001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":148214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:10:53] local.INFO: GPS data processed {"connection_id":148214,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:10:53] local.INFO: Acknowledgment sent {"connection_id":148214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:11:16] local.INFO: TCP Data received {"connection_id":149448,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:11:16] local.INFO: Processing buffer {"connection_id":149448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:11:16] local.INFO: IMEI packet received {"connection_id":149448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":149448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:11:21] local.INFO: TCP Data received {"connection_id":149448,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:11:21] local.INFO: Processing buffer {"connection_id":149448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:11:21] local.INFO: IMEI packet received {"connection_id":149448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":149448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:11:22] local.INFO: TCP Data received {"connection_id":149448,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:11:22] local.INFO: Processing buffer {"connection_id":149448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:11:22] local.INFO: Packet analysis {"connection_id":149448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:11:22] local.INFO: Extracted packet for processing {"connection_id":149448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:11:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785883050000,"timestamp_ms":1785883050000,"timestamp_seconds":1785883050,"priority":1,"record_length":96,"hex_timestamp":"0000019fceecc010"} 
[2026-08-05 04:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185983744001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:11:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:11:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185983744001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":149448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:11:22] local.INFO: GPS data processed {"connection_id":149448,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:11:22] local.INFO: Acknowledgment sent {"connection_id":149448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:11:53] local.INFO: TCP Data received {"connection_id":149448,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:11:53] local.INFO: Processing buffer {"connection_id":149448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:11:53] local.INFO: Packet analysis {"connection_id":149448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:11:53] local.INFO: Extracted packet for processing {"connection_id":149448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:11:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785883050000,"timestamp_ms":1785883050000,"timestamp_seconds":1785883050,"priority":1,"record_length":96,"hex_timestamp":"0000019fceecc010"} 
[2026-08-05 04:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185983744001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:11:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:11:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185983744001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":149448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:11:53] local.INFO: GPS data processed {"connection_id":149448,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:11:53] local.INFO: Acknowledgment sent {"connection_id":149448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:12:16] local.INFO: TCP Data received {"connection_id":148215,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:12:16] local.INFO: Processing buffer {"connection_id":148215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:12:16] local.INFO: IMEI packet received {"connection_id":148215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":148215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:12:21] local.INFO: TCP Data received {"connection_id":148215,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:12:21] local.INFO: Processing buffer {"connection_id":148215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:12:21] local.INFO: IMEI packet received {"connection_id":148215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":148215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:12:22] local.INFO: TCP Data received {"connection_id":148215,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:12:22] local.INFO: Processing buffer {"connection_id":148215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:12:22] local.INFO: Packet analysis {"connection_id":148215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:12:22] local.INFO: Extracted packet for processing {"connection_id":148215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:12:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785883050000,"timestamp_ms":1785883050000,"timestamp_seconds":1785883050,"priority":1,"record_length":96,"hex_timestamp":"0000019fceecc010"} 
[2026-08-05 04:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185983744001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:12:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:12:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185983744001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":148215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:12:22] local.INFO: GPS data processed {"connection_id":148215,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:12:22] local.INFO: Acknowledgment sent {"connection_id":148215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:12:53] local.INFO: TCP Data received {"connection_id":148215,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:12:53] local.INFO: Processing buffer {"connection_id":148215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceecc010012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:12:53] local.INFO: Packet analysis {"connection_id":148215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:12:53] local.INFO: Extracted packet for processing {"connection_id":148215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceec"} 
[2026-08-05 04:12:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457185983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785883050000,"timestamp_ms":1785883050000,"timestamp_seconds":1785883050,"priority":1,"record_length":96,"hex_timestamp":"0000019fceecc010"} 
[2026-08-05 04:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457185983744001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457185983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:12:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:12:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457185983744001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":148215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:12:53] local.INFO: GPS data processed {"connection_id":148215,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:12:53] local.INFO: Acknowledgment sent {"connection_id":148215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:13:21] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:13:21] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:13:21] local.INFO: IMEI packet received {"connection_id":148436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":148436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:13:26] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:13:26] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:13:26] local.INFO: IMEI packet received {"connection_id":148436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":148436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:13:27] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:13:27] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:13:27] local.INFO: Packet analysis {"connection_id":148436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:13:27] local.INFO: Extracted packet for processing {"connection_id":148436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:13:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785883351000,"timestamp_ms":1785883351000,"timestamp_seconds":1785883351,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef157d8"} 
[2026-08-05 04:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186060800001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:13:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:13:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186060800001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":148436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:13:27] local.INFO: GPS data processed {"connection_id":148436,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:13:27] local.INFO: Acknowledgment sent {"connection_id":148436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:13:31] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:13:31] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:13:31] local.INFO: Packet analysis {"connection_id":148436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:13:31] local.INFO: Extracted packet for processing {"connection_id":148436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:13:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785883351000,"timestamp_ms":1785883351000,"timestamp_seconds":1785883351,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef157d8"} 
[2026-08-05 04:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186060800001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:13:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:13:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186060800001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":148436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:13:31] local.INFO: GPS data processed {"connection_id":148436,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:13:31] local.INFO: Acknowledgment sent {"connection_id":148436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:14:16] local.INFO: TCP Data received {"connection_id":149449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:14:16] local.INFO: Processing buffer {"connection_id":149449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:14:16] local.INFO: IMEI packet received {"connection_id":149449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":149449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:14:21] local.INFO: TCP Data received {"connection_id":149449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:14:21] local.INFO: Processing buffer {"connection_id":149449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:14:21] local.INFO: IMEI packet received {"connection_id":149449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":149449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:14:22] local.INFO: TCP Data received {"connection_id":149449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:14:22] local.INFO: Processing buffer {"connection_id":149449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:14:22] local.INFO: Packet analysis {"connection_id":149449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:14:22] local.INFO: Extracted packet for processing {"connection_id":149449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:14:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785883351000,"timestamp_ms":1785883351000,"timestamp_seconds":1785883351,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef157d8"} 
[2026-08-05 04:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186060800001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:14:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:14:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186060800001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":149449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:14:22] local.INFO: GPS data processed {"connection_id":149449,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:14:22] local.INFO: Acknowledgment sent {"connection_id":149449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:14:55] local.INFO: TCP Data received {"connection_id":149449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:14:55] local.INFO: Processing buffer {"connection_id":149449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:14:55] local.INFO: Packet analysis {"connection_id":149449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:14:55] local.INFO: Extracted packet for processing {"connection_id":149449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:14:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785883351000,"timestamp_ms":1785883351000,"timestamp_seconds":1785883351,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef157d8"} 
[2026-08-05 04:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:14: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-08-05 04: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186060800001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:14:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:14:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186060800001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":149449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:14:55] local.INFO: GPS data processed {"connection_id":149449,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:14:55] local.INFO: Acknowledgment sent {"connection_id":149449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:15:16] local.INFO: TCP Data received {"connection_id":148216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:15:16] local.INFO: Processing buffer {"connection_id":148216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:15:16] local.INFO: IMEI packet received {"connection_id":148216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":148216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:15:21] local.INFO: TCP Data received {"connection_id":148216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:15:21] local.INFO: Processing buffer {"connection_id":148216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:15:21] local.INFO: IMEI packet received {"connection_id":148216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":148216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:15:21] local.INFO: TCP Data received {"connection_id":148216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:15:21] local.INFO: Processing buffer {"connection_id":148216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:15:21] local.INFO: Packet analysis {"connection_id":148216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:15:21] local.INFO: Extracted packet for processing {"connection_id":148216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:15:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785883351000,"timestamp_ms":1785883351000,"timestamp_seconds":1785883351,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef157d8"} 
[2026-08-05 04:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04: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-08-05 04: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04: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-08-05 04:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186060800001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:15:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:15:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186060800001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":148216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":593999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:15:21] local.INFO: GPS data processed {"connection_id":148216,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:15:21] local.INFO: Acknowledgment sent {"connection_id":148216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:15:52] local.INFO: TCP Data received {"connection_id":148216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:15:52] local.INFO: Processing buffer {"connection_id":148216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:15:52] local.INFO: Packet analysis {"connection_id":148216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:15:52] local.INFO: Extracted packet for processing {"connection_id":148216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:15:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785883351000,"timestamp_ms":1785883351000,"timestamp_seconds":1785883351,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef157d8"} 
[2026-08-05 04:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186060800001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:15:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:15:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186060800001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":148216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:15:52] local.INFO: GPS data processed {"connection_id":148216,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:15:52] local.INFO: Acknowledgment sent {"connection_id":148216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:16:16] local.INFO: TCP Data received {"connection_id":148217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:16:16] local.INFO: Processing buffer {"connection_id":148217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:16:16] local.INFO: IMEI packet received {"connection_id":148217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":148217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:16:21] local.INFO: TCP Data received {"connection_id":148217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:16:21] local.INFO: Processing buffer {"connection_id":148217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:16:21] local.INFO: IMEI packet received {"connection_id":148217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":148217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:16:21] local.INFO: TCP Data received {"connection_id":148217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:16:21] local.INFO: Processing buffer {"connection_id":148217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:16:21] local.INFO: Packet analysis {"connection_id":148217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:16:21] local.INFO: Extracted packet for processing {"connection_id":148217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:16:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785883351000,"timestamp_ms":1785883351000,"timestamp_seconds":1785883351,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef157d8"} 
[2026-08-05 04:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04: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-08-05 04: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:16: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-08-05 04:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186060800001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:16:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:16:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186060800001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":148217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:16:21] local.INFO: GPS data processed {"connection_id":148217,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:16:21] local.INFO: Acknowledgment sent {"connection_id":148217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:16:52] local.INFO: TCP Data received {"connection_id":148217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:16:52] local.INFO: Processing buffer {"connection_id":148217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:16:52] local.INFO: Packet analysis {"connection_id":148217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:16:52] local.INFO: Extracted packet for processing {"connection_id":148217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:16:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785883351000,"timestamp_ms":1785883351000,"timestamp_seconds":1785883351,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef157d8"} 
[2026-08-05 04:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186060800001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:16:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:16:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186060800001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":148217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:16:52] local.INFO: GPS data processed {"connection_id":148217,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:16:52] local.INFO: Acknowledgment sent {"connection_id":148217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:17:16] local.INFO: TCP Data received {"connection_id":149450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:17:16] local.INFO: Processing buffer {"connection_id":149450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:17:16] local.INFO: IMEI packet received {"connection_id":149450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":149450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:17:21] local.INFO: TCP Data received {"connection_id":149450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:17:21] local.INFO: Processing buffer {"connection_id":149450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:17:21] local.INFO: IMEI packet received {"connection_id":149450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":149450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:17:21] local.INFO: TCP Data received {"connection_id":149450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:17:21] local.INFO: Processing buffer {"connection_id":149450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:17:21] local.INFO: Packet analysis {"connection_id":149450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:17:21] local.INFO: Extracted packet for processing {"connection_id":149450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:17:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785883351000,"timestamp_ms":1785883351000,"timestamp_seconds":1785883351,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef157d8"} 
[2026-08-05 04:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:17: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-08-05 04:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:17: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-08-05 04:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186060800001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:17:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:17:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186060800001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":149450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:17:21] local.INFO: GPS data processed {"connection_id":149450,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:17:21] local.INFO: Acknowledgment sent {"connection_id":149450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:17:52] local.INFO: TCP Data received {"connection_id":149450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:17:52] local.INFO: Processing buffer {"connection_id":149450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef157d8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:17:52] local.INFO: Packet analysis {"connection_id":149450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:17:52] local.INFO: Extracted packet for processing {"connection_id":149450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef1"} 
[2026-08-05 04:17:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785883351000,"timestamp_ms":1785883351000,"timestamp_seconds":1785883351,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef157d8"} 
[2026-08-05 04:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186060800001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:17:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:17:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186060800001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":149450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:17:52] local.INFO: GPS data processed {"connection_id":149450,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:17:52] local.INFO: Acknowledgment sent {"connection_id":149450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:18:16] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:18:16] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:18:16] local.INFO: IMEI packet received {"connection_id":148437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":148437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:18:21] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:18:21] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:18:21] local.INFO: IMEI packet received {"connection_id":148437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":148437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:18:21] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:18:21] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:18:21] local.INFO: Packet analysis {"connection_id":148437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:18:21] local.INFO: Extracted packet for processing {"connection_id":148437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:18:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785883652000,"timestamp_ms":1785883652000,"timestamp_seconds":1785883652,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef5efa0"} 
[2026-08-05 04:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:18: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-08-05 04:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:18: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-08-05 04:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186137856001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:18:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:18:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186137856001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":148437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:18:21] local.INFO: GPS data processed {"connection_id":148437,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:18:21] local.INFO: Acknowledgment sent {"connection_id":148437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:18:52] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:18:52] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:18:52] local.INFO: Packet analysis {"connection_id":148437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:18:52] local.INFO: Extracted packet for processing {"connection_id":148437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:18:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 04:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785883652000,"timestamp_ms":1785883652000,"timestamp_seconds":1785883652,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef5efa0"} 
[2026-08-05 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-08-05 04:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 04:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 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-08-05 04:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186137856001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:18:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:18:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186137856001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":148437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:18:52] local.INFO: GPS data processed {"connection_id":148437,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:18:52] local.INFO: Acknowledgment sent {"connection_id":148437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:19:16] local.INFO: TCP Data received {"connection_id":150849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:19:16] local.INFO: Processing buffer {"connection_id":150849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:19:16] local.INFO: IMEI packet received {"connection_id":150849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":150849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:19:21] local.INFO: TCP Data received {"connection_id":150849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:19:21] local.INFO: Processing buffer {"connection_id":150849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:19:21] local.INFO: IMEI packet received {"connection_id":150849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":150849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:19:21] local.INFO: TCP Data received {"connection_id":150849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:19:21] local.INFO: Processing buffer {"connection_id":150849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:19:21] local.INFO: Packet analysis {"connection_id":150849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:19:21] local.INFO: Extracted packet for processing {"connection_id":150849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:19:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04: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-08-05 04:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785883652000,"timestamp_ms":1785883652000,"timestamp_seconds":1785883652,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef5efa0"} 
[2026-08-05 04:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04: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-08-05 04:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:19: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-08-05 04:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186137856001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:19:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:19:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186137856001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":150849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:19:21] local.INFO: GPS data processed {"connection_id":150849,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:19:21] local.INFO: Acknowledgment sent {"connection_id":150849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:19:52] local.INFO: TCP Data received {"connection_id":150849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:19:52] local.INFO: Processing buffer {"connection_id":150849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:19:52] local.INFO: Packet analysis {"connection_id":150849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:19:52] local.INFO: Extracted packet for processing {"connection_id":150849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:19:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785883652000,"timestamp_ms":1785883652000,"timestamp_seconds":1785883652,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef5efa0"} 
[2026-08-05 04:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186137856001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:19:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:19:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186137856001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":150849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:19:52] local.INFO: GPS data processed {"connection_id":150849,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:19:52] local.INFO: Acknowledgment sent {"connection_id":150849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:20:16] local.INFO: TCP Data received {"connection_id":149451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:20:16] local.INFO: Processing buffer {"connection_id":149451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:20:16] local.INFO: IMEI packet received {"connection_id":149451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":149451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:20:21] local.INFO: TCP Data received {"connection_id":149451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:20:21] local.INFO: Processing buffer {"connection_id":149451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:20:21] local.INFO: IMEI packet received {"connection_id":149451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":149451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:20:21] local.INFO: TCP Data received {"connection_id":149451,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:20:21] local.INFO: Processing buffer {"connection_id":149451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:20:21] local.INFO: Packet analysis {"connection_id":149451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:20:21] local.INFO: Extracted packet for processing {"connection_id":149451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:20:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04: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-08-05 04:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785883652000,"timestamp_ms":1785883652000,"timestamp_seconds":1785883652,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef5efa0"} 
[2026-08-05 04:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:20: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-08-05 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04: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-08-05 04:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:20: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-08-05 04:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186137856001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:20:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:20:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186137856001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":149451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:20:21] local.INFO: GPS data processed {"connection_id":149451,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:20:21] local.INFO: Acknowledgment sent {"connection_id":149451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:20:52] local.INFO: TCP Data received {"connection_id":149451,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:20:52] local.INFO: Processing buffer {"connection_id":149451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:20:52] local.INFO: Packet analysis {"connection_id":149451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:20:52] local.INFO: Extracted packet for processing {"connection_id":149451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:20:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785883652000,"timestamp_ms":1785883652000,"timestamp_seconds":1785883652,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef5efa0"} 
[2026-08-05 04:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186137856001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:20:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:20:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186137856001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":149451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:20:53] local.INFO: GPS data processed {"connection_id":149451,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:20:53] local.INFO: Acknowledgment sent {"connection_id":149451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:21:16] local.INFO: TCP Data received {"connection_id":148218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:21:16] local.INFO: Processing buffer {"connection_id":148218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:21:16] local.INFO: IMEI packet received {"connection_id":148218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":148218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:21:21] local.INFO: TCP Data received {"connection_id":148218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:21:21] local.INFO: Processing buffer {"connection_id":148218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:21:21] local.INFO: IMEI packet received {"connection_id":148218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":148218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:21:21] local.INFO: TCP Data received {"connection_id":148218,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:21:21] local.INFO: Processing buffer {"connection_id":148218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:21:21] local.INFO: Packet analysis {"connection_id":148218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:21:21] local.INFO: Extracted packet for processing {"connection_id":148218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:21:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785883652000,"timestamp_ms":1785883652000,"timestamp_seconds":1785883652,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef5efa0"} 
[2026-08-05 04:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:21: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-08-05 04:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:21: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-08-05 04:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186137856001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:21:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:21:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186137856001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":148218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:21:21] local.INFO: GPS data processed {"connection_id":148218,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:21:21] local.INFO: Acknowledgment sent {"connection_id":148218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:21:52] local.INFO: TCP Data received {"connection_id":148218,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:21:52] local.INFO: Processing buffer {"connection_id":148218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:21:52] local.INFO: Packet analysis {"connection_id":148218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:21:52] local.INFO: Extracted packet for processing {"connection_id":148218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:21:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785883652000,"timestamp_ms":1785883652000,"timestamp_seconds":1785883652,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef5efa0"} 
[2026-08-05 04:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186137856001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:21:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:21:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186137856001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":148218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:21:52] local.INFO: GPS data processed {"connection_id":148218,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:21:52] local.INFO: Acknowledgment sent {"connection_id":148218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:22:16] local.INFO: TCP Data received {"connection_id":148219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:22:16] local.INFO: Processing buffer {"connection_id":148219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:22:16] local.INFO: IMEI packet received {"connection_id":148219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":148219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:22:21] local.INFO: TCP Data received {"connection_id":148219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:22:21] local.INFO: Processing buffer {"connection_id":148219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:22:21] local.INFO: IMEI packet received {"connection_id":148219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":148219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:22:21] local.INFO: TCP Data received {"connection_id":148219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:22:21] local.INFO: Processing buffer {"connection_id":148219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:22:21] local.INFO: Packet analysis {"connection_id":148219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:22:21] local.INFO: Extracted packet for processing {"connection_id":148219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:22:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04: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-08-05 04:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785883652000,"timestamp_ms":1785883652000,"timestamp_seconds":1785883652,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef5efa0"} 
[2026-08-05 04:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:22: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-08-05 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04: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-08-05 04:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:22: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-08-05 04:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186137856001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:22:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:22:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186137856001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":148219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:22:21] local.INFO: GPS data processed {"connection_id":148219,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:22:21] local.INFO: Acknowledgment sent {"connection_id":148219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:22:52] local.INFO: TCP Data received {"connection_id":148219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:22:52] local.INFO: Processing buffer {"connection_id":148219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcef5efa0012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:22:52] local.INFO: Packet analysis {"connection_id":148219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:22:52] local.INFO: Extracted packet for processing {"connection_id":148219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcef5"} 
[2026-08-05 04:22:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785883652000,"timestamp_ms":1785883652000,"timestamp_seconds":1785883652,"priority":1,"record_length":96,"hex_timestamp":"0000019fcef5efa0"} 
[2026-08-05 04:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 04:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186137856001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:22:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:22:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186137856001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":148219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:22:52] local.INFO: GPS data processed {"connection_id":148219,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:22:52] local.INFO: Acknowledgment sent {"connection_id":148219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:23:16] local.INFO: TCP Data received {"connection_id":148438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:23:16] local.INFO: Processing buffer {"connection_id":148438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:23:16] local.INFO: IMEI packet received {"connection_id":148438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":148438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:23:21] local.INFO: TCP Data received {"connection_id":148438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:23:21] local.INFO: Processing buffer {"connection_id":148438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:23:21] local.INFO: IMEI packet received {"connection_id":148438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":148438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:23:21] local.INFO: TCP Data received {"connection_id":148438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:23:21] local.INFO: Processing buffer {"connection_id":148438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:23:21] local.INFO: Packet analysis {"connection_id":148438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:23:21] local.INFO: Extracted packet for processing {"connection_id":148438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:23:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":47,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785883953000,"timestamp_ms":1785883953000,"timestamp_seconds":1785883953,"priority":1,"record_length":96,"hex_timestamp":"0000019fcefa8768"} 
[2026-08-05 04:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:23: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-08-05 04:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:23: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-08-05 04:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186214912001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:23:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:23:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186214912001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":148438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:23:21] local.INFO: GPS data processed {"connection_id":148438,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:23:21] local.INFO: Acknowledgment sent {"connection_id":148438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:23:52] local.INFO: TCP Data received {"connection_id":148438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:23:52] local.INFO: Processing buffer {"connection_id":148438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:23:52] local.INFO: Packet analysis {"connection_id":148438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:23:52] local.INFO: Extracted packet for processing {"connection_id":148438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:23:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":47,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785883953000,"timestamp_ms":1785883953000,"timestamp_seconds":1785883953,"priority":1,"record_length":96,"hex_timestamp":"0000019fcefa8768"} 
[2026-08-05 04:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186214912001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:23:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:23:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186214912001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":148438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:23:52] local.INFO: GPS data processed {"connection_id":148438,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:23:52] local.INFO: Acknowledgment sent {"connection_id":148438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:24:16] local.INFO: TCP Data received {"connection_id":149452,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:24:16] local.INFO: Processing buffer {"connection_id":149452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:24:16] local.INFO: IMEI packet received {"connection_id":149452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":149452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:24:21] local.INFO: TCP Data received {"connection_id":149452,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:24:21] local.INFO: Processing buffer {"connection_id":149452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:24:21] local.INFO: IMEI packet received {"connection_id":149452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":149452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:24:22] local.INFO: TCP Data received {"connection_id":149452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:24:22] local.INFO: Processing buffer {"connection_id":149452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:24:22] local.INFO: Packet analysis {"connection_id":149452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:24:22] local.INFO: Extracted packet for processing {"connection_id":149452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:24:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":47,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785883953000,"timestamp_ms":1785883953000,"timestamp_seconds":1785883953,"priority":1,"record_length":96,"hex_timestamp":"0000019fcefa8768"} 
[2026-08-05 04:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186214912001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:24:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:24:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186214912001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":149452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:24:22] local.INFO: GPS data processed {"connection_id":149452,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:24:22] local.INFO: Acknowledgment sent {"connection_id":149452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:24:53] local.INFO: TCP Data received {"connection_id":149452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:24:53] local.INFO: Processing buffer {"connection_id":149452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:24:53] local.INFO: Packet analysis {"connection_id":149452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:24:53] local.INFO: Extracted packet for processing {"connection_id":149452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:24:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":47,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785883953000,"timestamp_ms":1785883953000,"timestamp_seconds":1785883953,"priority":1,"record_length":96,"hex_timestamp":"0000019fcefa8768"} 
[2026-08-05 04:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186214912001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:24:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:24:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186214912001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":149452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:24:53] local.INFO: GPS data processed {"connection_id":149452,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:24:53] local.INFO: Acknowledgment sent {"connection_id":149452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:25:16] local.INFO: TCP Data received {"connection_id":148220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:25:16] local.INFO: Processing buffer {"connection_id":148220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:25:16] local.INFO: IMEI packet received {"connection_id":148220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":148220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:25:21] local.INFO: TCP Data received {"connection_id":148220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:25:21] local.INFO: Processing buffer {"connection_id":148220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:25:21] local.INFO: IMEI packet received {"connection_id":148220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":148220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:25:21] local.INFO: TCP Data received {"connection_id":148220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:25:21] local.INFO: Processing buffer {"connection_id":148220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:25:21] local.INFO: Packet analysis {"connection_id":148220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:25:21] local.INFO: Extracted packet for processing {"connection_id":148220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:25:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":47,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785883953000,"timestamp_ms":1785883953000,"timestamp_seconds":1785883953,"priority":1,"record_length":96,"hex_timestamp":"0000019fcefa8768"} 
[2026-08-05 04:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:25: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-08-05 04:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:25: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-08-05 04:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186214912001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:25:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:25:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186214912001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":148220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:25:21] local.INFO: GPS data processed {"connection_id":148220,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:25:21] local.INFO: Acknowledgment sent {"connection_id":148220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:25:52] local.INFO: TCP Data received {"connection_id":148220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:25:52] local.INFO: Processing buffer {"connection_id":148220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:25:52] local.INFO: Packet analysis {"connection_id":148220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:25:52] local.INFO: Extracted packet for processing {"connection_id":148220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:25:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":47,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785883953000,"timestamp_ms":1785883953000,"timestamp_seconds":1785883953,"priority":1,"record_length":96,"hex_timestamp":"0000019fcefa8768"} 
[2026-08-05 04:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186214912001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:25:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:25:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186214912001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":148220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:25:52] local.INFO: GPS data processed {"connection_id":148220,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:25:52] local.INFO: Acknowledgment sent {"connection_id":148220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:26:16] local.INFO: TCP Data received {"connection_id":149453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:26:16] local.INFO: Processing buffer {"connection_id":149453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:26:16] local.INFO: IMEI packet received {"connection_id":149453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":149453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:26:21] local.INFO: TCP Data received {"connection_id":149453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:26:21] local.INFO: Processing buffer {"connection_id":149453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:26:21] local.INFO: IMEI packet received {"connection_id":149453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":149453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:26:21] local.INFO: TCP Data received {"connection_id":149453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:26:21] local.INFO: Processing buffer {"connection_id":149453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:26:21] local.INFO: Packet analysis {"connection_id":149453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:26:21] local.INFO: Extracted packet for processing {"connection_id":149453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:26:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":47,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04: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-08-05 04:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785883953000,"timestamp_ms":1785883953000,"timestamp_seconds":1785883953,"priority":1,"record_length":96,"hex_timestamp":"0000019fcefa8768"} 
[2026-08-05 04:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:26: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-08-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04: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-08-05 04:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:26: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-08-05 04:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186214912001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:26:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:26:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186214912001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":149453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:26:21] local.INFO: GPS data processed {"connection_id":149453,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:26:21] local.INFO: Acknowledgment sent {"connection_id":149453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:26:52] local.INFO: TCP Data received {"connection_id":149453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:26:52] local.INFO: Processing buffer {"connection_id":149453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:26:52] local.INFO: Packet analysis {"connection_id":149453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:26:52] local.INFO: Extracted packet for processing {"connection_id":149453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:26:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":47,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785883953000,"timestamp_ms":1785883953000,"timestamp_seconds":1785883953,"priority":1,"record_length":96,"hex_timestamp":"0000019fcefa8768"} 
[2026-08-05 04:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186214912001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:26:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:26:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186214912001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":149453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:26:52] local.INFO: GPS data processed {"connection_id":149453,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:26:52] local.INFO: Acknowledgment sent {"connection_id":149453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:27:21] local.INFO: TCP Data received {"connection_id":148439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:27:21] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:27:21] local.INFO: IMEI packet received {"connection_id":148439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":148439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:27:26] local.INFO: TCP Data received {"connection_id":148439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:27:26] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:27:26] local.INFO: IMEI packet received {"connection_id":148439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":148439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:27:26] local.INFO: TCP Data received {"connection_id":148439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:27:26] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:27:26] local.INFO: Packet analysis {"connection_id":148439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:27:26] local.INFO: Extracted packet for processing {"connection_id":148439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:27:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":47,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785883953000,"timestamp_ms":1785883953000,"timestamp_seconds":1785883953,"priority":1,"record_length":96,"hex_timestamp":"0000019fcefa8768"} 
[2026-08-05 04:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186214912001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:27:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:27:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186214912001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":148439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:27:26] local.INFO: GPS data processed {"connection_id":148439,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:27:26] local.INFO: Acknowledgment sent {"connection_id":148439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:27:31] local.INFO: TCP Data received {"connection_id":148439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:27:31] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcefa8768012dc5e6c00537dbe80035013a2f..."} 
[2026-08-05 04:27:31] local.INFO: Packet analysis {"connection_id":148439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:27:31] local.INFO: Extracted packet for processing {"connection_id":148439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcefa"} 
[2026-08-05 04:27:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":47,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785883953000,"timestamp_ms":1785883953000,"timestamp_seconds":1785883953,"priority":1,"record_length":96,"hex_timestamp":"0000019fcefa8768"} 
[2026-08-05 04:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186214912001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:27:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:27:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186214912001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":148439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:27:31] local.INFO: GPS data processed {"connection_id":148439,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:27:31] local.INFO: Acknowledgment sent {"connection_id":148439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:28:12] local.INFO: TCP Data received {"connection_id":148221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:28:12] local.INFO: Processing buffer {"connection_id":148221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:28:12] local.INFO: IMEI packet received {"connection_id":148221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":148221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:28:16] local.INFO: TCP Data received {"connection_id":148221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:28:16] local.INFO: Processing buffer {"connection_id":148221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:28:16] local.INFO: IMEI packet received {"connection_id":148221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":148221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:28:21] local.INFO: TCP Data received {"connection_id":148221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:28:21] local.INFO: Processing buffer {"connection_id":148221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:28:21] local.INFO: IMEI packet received {"connection_id":148221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":148221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:28:21] local.INFO: TCP Data received {"connection_id":148221,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:28:21] local.INFO: Processing buffer {"connection_id":148221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:28:21] local.INFO: Packet analysis {"connection_id":148221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:28:21] local.INFO: Extracted packet for processing {"connection_id":148221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:28:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04: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-08-05 04:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785884254000,"timestamp_ms":1785884254000,"timestamp_seconds":1785884254,"priority":1,"record_length":96,"hex_timestamp":"0000019fceff1f30"} 
[2026-08-05 04:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04: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-08-05 04:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:28: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-08-05 04:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186291968001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:28:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:28:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186291968001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":148221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:28:21] local.INFO: GPS data processed {"connection_id":148221,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:28:21] local.INFO: Acknowledgment sent {"connection_id":148221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:28:52] local.INFO: TCP Data received {"connection_id":148221,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:28:52] local.INFO: Processing buffer {"connection_id":148221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:28:52] local.INFO: Packet analysis {"connection_id":148221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:28:52] local.INFO: Extracted packet for processing {"connection_id":148221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:28:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785884254000,"timestamp_ms":1785884254000,"timestamp_seconds":1785884254,"priority":1,"record_length":96,"hex_timestamp":"0000019fceff1f30"} 
[2026-08-05 04:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186291968001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:28:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:28:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186291968001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":148221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:28:52] local.INFO: GPS data processed {"connection_id":148221,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:28:52] local.INFO: Acknowledgment sent {"connection_id":148221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:29:16] local.INFO: TCP Data received {"connection_id":149454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:29:16] local.INFO: Processing buffer {"connection_id":149454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:29:16] local.INFO: IMEI packet received {"connection_id":149454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":149454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:29:21] local.INFO: TCP Data received {"connection_id":149454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:29:21] local.INFO: Processing buffer {"connection_id":149454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:29:21] local.INFO: IMEI packet received {"connection_id":149454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":149454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:29:21] local.INFO: TCP Data received {"connection_id":149454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:29:21] local.INFO: Processing buffer {"connection_id":149454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:29:21] local.INFO: Packet analysis {"connection_id":149454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:29:21] local.INFO: Extracted packet for processing {"connection_id":149454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:29:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785884254000,"timestamp_ms":1785884254000,"timestamp_seconds":1785884254,"priority":1,"record_length":96,"hex_timestamp":"0000019fceff1f30"} 
[2026-08-05 04:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:29: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-08-05 04:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:29: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-08-05 04:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186291968001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:29:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:29:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186291968001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":149454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:29:21] local.INFO: GPS data processed {"connection_id":149454,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:29:21] local.INFO: Acknowledgment sent {"connection_id":149454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:29:52] local.INFO: TCP Data received {"connection_id":149454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:29:52] local.INFO: Processing buffer {"connection_id":149454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:29:52] local.INFO: Packet analysis {"connection_id":149454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:29:52] local.INFO: Extracted packet for processing {"connection_id":149454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:29:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785884254000,"timestamp_ms":1785884254000,"timestamp_seconds":1785884254,"priority":1,"record_length":96,"hex_timestamp":"0000019fceff1f30"} 
[2026-08-05 04:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186291968001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:29:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:29:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186291968001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":149454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:29:52] local.INFO: GPS data processed {"connection_id":149454,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:29:52] local.INFO: Acknowledgment sent {"connection_id":149454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:30:16] local.INFO: TCP Data received {"connection_id":148222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:30:16] local.INFO: Processing buffer {"connection_id":148222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:30:16] local.INFO: IMEI packet received {"connection_id":148222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":148222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:30:21] local.INFO: TCP Data received {"connection_id":148222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:30:21] local.INFO: Processing buffer {"connection_id":148222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:30:21] local.INFO: IMEI packet received {"connection_id":148222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":148222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:30:21] local.INFO: TCP Data received {"connection_id":148222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:30:21] local.INFO: Processing buffer {"connection_id":148222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:30:21] local.INFO: Packet analysis {"connection_id":148222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:30:21] local.INFO: Extracted packet for processing {"connection_id":148222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:30:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785884254000,"timestamp_ms":1785884254000,"timestamp_seconds":1785884254,"priority":1,"record_length":96,"hex_timestamp":"0000019fceff1f30"} 
[2026-08-05 04:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:30: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-08-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:30: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-08-05 04:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186291968001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:30:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:30:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186291968001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":148222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:30:21] local.INFO: GPS data processed {"connection_id":148222,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:30:21] local.INFO: Acknowledgment sent {"connection_id":148222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:30:53] local.INFO: TCP Data received {"connection_id":148222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:30:53] local.INFO: Processing buffer {"connection_id":148222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:30:53] local.INFO: Packet analysis {"connection_id":148222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:30:53] local.INFO: Extracted packet for processing {"connection_id":148222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:30:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785884254000,"timestamp_ms":1785884254000,"timestamp_seconds":1785884254,"priority":1,"record_length":96,"hex_timestamp":"0000019fceff1f30"} 
[2026-08-05 04:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186291968001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:30:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:30:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186291968001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":148222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:30:53] local.INFO: GPS data processed {"connection_id":148222,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:30:53] local.INFO: Acknowledgment sent {"connection_id":148222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:31:16] local.INFO: TCP Data received {"connection_id":148440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:31:16] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:31:16] local.INFO: IMEI packet received {"connection_id":148440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":148440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:31:21] local.INFO: TCP Data received {"connection_id":148440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:31:21] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:31:21] local.INFO: IMEI packet received {"connection_id":148440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":148440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:31:21] local.INFO: TCP Data received {"connection_id":148440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:31:21] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:31:21] local.INFO: Packet analysis {"connection_id":148440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:31:21] local.INFO: Extracted packet for processing {"connection_id":148440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:31:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785884254000,"timestamp_ms":1785884254000,"timestamp_seconds":1785884254,"priority":1,"record_length":96,"hex_timestamp":"0000019fceff1f30"} 
[2026-08-05 04:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:31: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-08-05 04:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186291968001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:31:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:31:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186291968001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":148440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:31:21] local.INFO: GPS data processed {"connection_id":148440,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:31:21] local.INFO: Acknowledgment sent {"connection_id":148440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:31:52] local.INFO: TCP Data received {"connection_id":148440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:31:52] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:31:52] local.INFO: Packet analysis {"connection_id":148440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:31:52] local.INFO: Extracted packet for processing {"connection_id":148440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:31:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785884254000,"timestamp_ms":1785884254000,"timestamp_seconds":1785884254,"priority":1,"record_length":96,"hex_timestamp":"0000019fceff1f30"} 
[2026-08-05 04:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186291968001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:31:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:31:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186291968001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":148440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:31:52] local.INFO: GPS data processed {"connection_id":148440,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:31:52] local.INFO: Acknowledgment sent {"connection_id":148440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:32:16] local.INFO: TCP Data received {"connection_id":150850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:32:16] local.INFO: Processing buffer {"connection_id":150850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:32:16] local.INFO: IMEI packet received {"connection_id":150850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":150850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:32:21] local.INFO: TCP Data received {"connection_id":150850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:32:21] local.INFO: Processing buffer {"connection_id":150850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:32:21] local.INFO: IMEI packet received {"connection_id":150850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":150850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:32:21] local.INFO: TCP Data received {"connection_id":150850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:32:21] local.INFO: Processing buffer {"connection_id":150850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:32:21] local.INFO: Packet analysis {"connection_id":150850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:32:21] local.INFO: Extracted packet for processing {"connection_id":150850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:32:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785884254000,"timestamp_ms":1785884254000,"timestamp_seconds":1785884254,"priority":1,"record_length":96,"hex_timestamp":"0000019fceff1f30"} 
[2026-08-05 04:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:32: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-08-05 04:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:32: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-08-05 04:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186291968001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:32:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:32:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186291968001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":150850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:32:21] local.INFO: GPS data processed {"connection_id":150850,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:32:21] local.INFO: Acknowledgment sent {"connection_id":150850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:32:53] local.INFO: TCP Data received {"connection_id":150850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:32:53] local.INFO: Processing buffer {"connection_id":150850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fceff1f30012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:32:53] local.INFO: Packet analysis {"connection_id":150850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:32:53] local.INFO: Extracted packet for processing {"connection_id":150850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fceff"} 
[2026-08-05 04:32:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785884254000,"timestamp_ms":1785884254000,"timestamp_seconds":1785884254,"priority":1,"record_length":96,"hex_timestamp":"0000019fceff1f30"} 
[2026-08-05 04:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186291968001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:32:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:32:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186291968001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":150850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:32:53] local.INFO: GPS data processed {"connection_id":150850,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:32:53] local.INFO: Acknowledgment sent {"connection_id":150850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:33:16] local.INFO: TCP Data received {"connection_id":150851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:33:16] local.INFO: Processing buffer {"connection_id":150851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:33:16] local.INFO: IMEI packet received {"connection_id":150851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":150851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:33:21] local.INFO: TCP Data received {"connection_id":150851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:33:21] local.INFO: Processing buffer {"connection_id":150851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:33:21] local.INFO: IMEI packet received {"connection_id":150851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":150851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:33:21] local.INFO: TCP Data received {"connection_id":150851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:33:21] local.INFO: Processing buffer {"connection_id":150851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:33:21] local.INFO: Packet analysis {"connection_id":150851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:33:21] local.INFO: Extracted packet for processing {"connection_id":150851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:33:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785884555000,"timestamp_ms":1785884555000,"timestamp_seconds":1785884555,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf03b6f8"} 
[2026-08-05 04:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:33: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-08-05 04:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:33: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-08-05 04:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186369024001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:33:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:33:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186369024001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":150851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:33:21] local.INFO: GPS data processed {"connection_id":150851,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:33:21] local.INFO: Acknowledgment sent {"connection_id":150851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:33:52] local.INFO: TCP Data received {"connection_id":150851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:33:52] local.INFO: Processing buffer {"connection_id":150851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:33:52] local.INFO: Packet analysis {"connection_id":150851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:33:52] local.INFO: Extracted packet for processing {"connection_id":150851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:33:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785884555000,"timestamp_ms":1785884555000,"timestamp_seconds":1785884555,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf03b6f8"} 
[2026-08-05 04:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186369024001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:33:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:33:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186369024001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":150851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:33:52] local.INFO: GPS data processed {"connection_id":150851,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:33:52] local.INFO: Acknowledgment sent {"connection_id":150851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:34:21] local.INFO: TCP Data received {"connection_id":148223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:34:21] local.INFO: Processing buffer {"connection_id":148223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:34:21] local.INFO: IMEI packet received {"connection_id":148223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":148223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:34:26] local.INFO: TCP Data received {"connection_id":148223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:34:26] local.INFO: Processing buffer {"connection_id":148223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:34:26] local.INFO: IMEI packet received {"connection_id":148223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":148223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:34:26] local.INFO: TCP Data received {"connection_id":148223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:34:26] local.INFO: Processing buffer {"connection_id":148223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:34:26] local.INFO: Packet analysis {"connection_id":148223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:34:26] local.INFO: Extracted packet for processing {"connection_id":148223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:34:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785884555000,"timestamp_ms":1785884555000,"timestamp_seconds":1785884555,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf03b6f8"} 
[2026-08-05 04:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186369024001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:34:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:34:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186369024001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":148223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:34:26] local.INFO: GPS data processed {"connection_id":148223,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:34:26] local.INFO: Acknowledgment sent {"connection_id":148223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:34:31] local.INFO: TCP Data received {"connection_id":148223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:34:31] local.INFO: Processing buffer {"connection_id":148223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:34:31] local.INFO: Packet analysis {"connection_id":148223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:34:31] local.INFO: Extracted packet for processing {"connection_id":148223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:34:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785884555000,"timestamp_ms":1785884555000,"timestamp_seconds":1785884555,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf03b6f8"} 
[2026-08-05 04:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186369024001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:34:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:34:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186369024001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":148223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:34:31] local.INFO: GPS data processed {"connection_id":148223,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:34:31] local.INFO: Acknowledgment sent {"connection_id":148223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:35:16] local.INFO: TCP Data received {"connection_id":148441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:35:16] local.INFO: Processing buffer {"connection_id":148441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:35:16] local.INFO: IMEI packet received {"connection_id":148441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":148441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:35:21] local.INFO: TCP Data received {"connection_id":148441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:35:21] local.INFO: Processing buffer {"connection_id":148441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:35:21] local.INFO: IMEI packet received {"connection_id":148441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":148441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:35:21] local.INFO: TCP Data received {"connection_id":148441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:35:21] local.INFO: Processing buffer {"connection_id":148441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:35:21] local.INFO: Packet analysis {"connection_id":148441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:35:21] local.INFO: Extracted packet for processing {"connection_id":148441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:35:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785884555000,"timestamp_ms":1785884555000,"timestamp_seconds":1785884555,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf03b6f8"} 
[2026-08-05 04:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:35: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-08-05 04:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:35: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-08-05 04:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186369024001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:35:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:35:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186369024001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":148441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:35:21] local.INFO: GPS data processed {"connection_id":148441,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:35:21] local.INFO: Acknowledgment sent {"connection_id":148441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:35:52] local.INFO: TCP Data received {"connection_id":148441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:35:52] local.INFO: Processing buffer {"connection_id":148441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:35:52] local.INFO: Packet analysis {"connection_id":148441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:35:52] local.INFO: Extracted packet for processing {"connection_id":148441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:35:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785884555000,"timestamp_ms":1785884555000,"timestamp_seconds":1785884555,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf03b6f8"} 
[2026-08-05 04:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186369024001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:35:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:35:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186369024001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":148441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:35:52] local.INFO: GPS data processed {"connection_id":148441,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:35:52] local.INFO: Acknowledgment sent {"connection_id":148441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:36:16] local.INFO: TCP Data received {"connection_id":149455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:36:16] local.INFO: Processing buffer {"connection_id":149455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:36:16] local.INFO: IMEI packet received {"connection_id":149455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":149455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:36:21] local.INFO: TCP Data received {"connection_id":149455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:36:21] local.INFO: Processing buffer {"connection_id":149455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:36:21] local.INFO: IMEI packet received {"connection_id":149455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":149455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:36:21] local.INFO: TCP Data received {"connection_id":149455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:36:21] local.INFO: Processing buffer {"connection_id":149455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:36:21] local.INFO: Packet analysis {"connection_id":149455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:36:21] local.INFO: Extracted packet for processing {"connection_id":149455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:36:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04: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-08-05 04:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785884555000,"timestamp_ms":1785884555000,"timestamp_seconds":1785884555,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf03b6f8"} 
[2026-08-05 04:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04: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-08-05 04: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":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04: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-08-05 04:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04: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-08-05 04:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186369024001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:36:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:36:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186369024001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":149455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:36:21] local.INFO: GPS data processed {"connection_id":149455,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:36:21] local.INFO: Acknowledgment sent {"connection_id":149455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:36:52] local.INFO: TCP Data received {"connection_id":149455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:36:53] local.INFO: Processing buffer {"connection_id":149455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:36:53] local.INFO: Packet analysis {"connection_id":149455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:36:53] local.INFO: Extracted packet for processing {"connection_id":149455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:36:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785884555000,"timestamp_ms":1785884555000,"timestamp_seconds":1785884555,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf03b6f8"} 
[2026-08-05 04:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186369024001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:36:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:36:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186369024001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":149455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:36:53] local.INFO: GPS data processed {"connection_id":149455,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:36:53] local.INFO: Acknowledgment sent {"connection_id":149455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:37:16] local.INFO: TCP Data received {"connection_id":148224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:37:16] local.INFO: Processing buffer {"connection_id":148224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:37:16] local.INFO: IMEI packet received {"connection_id":148224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":148224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:37:21] local.INFO: TCP Data received {"connection_id":148224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:37:21] local.INFO: Processing buffer {"connection_id":148224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:37:21] local.INFO: IMEI packet received {"connection_id":148224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":148224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:37:21] local.INFO: TCP Data received {"connection_id":148224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:37:21] local.INFO: Processing buffer {"connection_id":148224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:37:21] local.INFO: Packet analysis {"connection_id":148224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:37:21] local.INFO: Extracted packet for processing {"connection_id":148224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:37:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04: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-08-05 04:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785884555000,"timestamp_ms":1785884555000,"timestamp_seconds":1785884555,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf03b6f8"} 
[2026-08-05 04:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:37: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-08-05 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04: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-08-05 04:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:37: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-08-05 04:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186369024001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:37:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:37:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186369024001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":148224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:37:21] local.INFO: GPS data processed {"connection_id":148224,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:37:21] local.INFO: Acknowledgment sent {"connection_id":148224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:37:52] local.INFO: TCP Data received {"connection_id":148224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:37:52] local.INFO: Processing buffer {"connection_id":148224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf03b6f8012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 04:37:52] local.INFO: Packet analysis {"connection_id":148224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:37:52] local.INFO: Extracted packet for processing {"connection_id":148224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf03"} 
[2026-08-05 04:37:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785884555000,"timestamp_ms":1785884555000,"timestamp_seconds":1785884555,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf03b6f8"} 
[2026-08-05 04:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186369024001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:37:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:37:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186369024001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":148224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:37:52] local.INFO: GPS data processed {"connection_id":148224,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:37:52] local.INFO: Acknowledgment sent {"connection_id":148224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:38:14] local.INFO: TCP Data received {"connection_id":150852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:14] local.INFO: Processing buffer {"connection_id":150852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:14] local.INFO: IMEI packet received {"connection_id":150852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":150852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:38:16] local.INFO: TCP Data received {"connection_id":150852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:16] local.INFO: Processing buffer {"connection_id":150852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:16] local.INFO: IMEI packet received {"connection_id":150852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":150852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:38:21] local.INFO: TCP Data received {"connection_id":150852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:21] local.INFO: Processing buffer {"connection_id":150852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:21] local.INFO: IMEI packet received {"connection_id":150852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":150852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:38:21] local.INFO: TCP Data received {"connection_id":150852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:38:21] local.INFO: Processing buffer {"connection_id":150852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:38:21] local.INFO: Packet analysis {"connection_id":150852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:38:21] local.INFO: Extracted packet for processing {"connection_id":150852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:38:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785884856000,"timestamp_ms":1785884856000,"timestamp_seconds":1785884856,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf084ec0"} 
[2026-08-05 04:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:38: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-08-05 04:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:38: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-08-05 04:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186446080001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:38:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:38:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186446080001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":150852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:38:21] local.INFO: GPS data processed {"connection_id":150852,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:38:21] local.INFO: Acknowledgment sent {"connection_id":150852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:38:46] local.INFO: TCP Data received {"connection_id":148442,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:46] local.INFO: Processing buffer {"connection_id":148442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:46] local.INFO: IMEI packet received {"connection_id":148442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":148442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:38:51] local.INFO: TCP Data received {"connection_id":148442,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:51] local.INFO: Processing buffer {"connection_id":148442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:38:51] local.INFO: IMEI packet received {"connection_id":148442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":148442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:38:56] local.INFO: TCP Data received {"connection_id":148442,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:38:56] local.INFO: Processing buffer {"connection_id":148442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:38:56] local.INFO: Packet analysis {"connection_id":148442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:38:56] local.INFO: Extracted packet for processing {"connection_id":148442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:38:56] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04: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-08-05 04:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785884856000,"timestamp_ms":1785884856000,"timestamp_seconds":1785884856,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf084ec0"} 
[2026-08-05 04:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04: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-08-05 04:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186446080001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:38:56] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:38:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186446080001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":148442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:38:56] local.INFO: GPS data processed {"connection_id":148442,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:38:56] local.INFO: Acknowledgment sent {"connection_id":148442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:39:16] local.INFO: TCP Data received {"connection_id":149456,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:39:16] local.INFO: Processing buffer {"connection_id":149456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:39:16] local.INFO: IMEI packet received {"connection_id":149456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":149456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:39:21] local.INFO: TCP Data received {"connection_id":149456,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:39:21] local.INFO: Processing buffer {"connection_id":149456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:39:21] local.INFO: IMEI packet received {"connection_id":149456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":149456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:39:22] local.INFO: TCP Data received {"connection_id":149456,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:39:22] local.INFO: Processing buffer {"connection_id":149456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:39:22] local.INFO: Packet analysis {"connection_id":149456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:39:22] local.INFO: Extracted packet for processing {"connection_id":149456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:39:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785884856000,"timestamp_ms":1785884856000,"timestamp_seconds":1785884856,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf084ec0"} 
[2026-08-05 04:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186446080001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186446080001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":149456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:39:22] local.INFO: GPS data processed {"connection_id":149456,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:39:22] local.INFO: Acknowledgment sent {"connection_id":149456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:39:53] local.INFO: TCP Data received {"connection_id":149456,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:39:53] local.INFO: Processing buffer {"connection_id":149456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:39:53] local.INFO: Packet analysis {"connection_id":149456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:39:53] local.INFO: Extracted packet for processing {"connection_id":149456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:39:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785884856000,"timestamp_ms":1785884856000,"timestamp_seconds":1785884856,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf084ec0"} 
[2026-08-05 04:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:39: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-08-05 04:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186446080001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:39:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:39:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186446080001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":149456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:39:53] local.INFO: GPS data processed {"connection_id":149456,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:39:53] local.INFO: Acknowledgment sent {"connection_id":149456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:40:21] local.INFO: TCP Data received {"connection_id":148225,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:40:21] local.INFO: Processing buffer {"connection_id":148225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:40:21] local.INFO: IMEI packet received {"connection_id":148225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":148225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:40:26] local.INFO: TCP Data received {"connection_id":148225,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:40:26] local.INFO: Processing buffer {"connection_id":148225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:40:26] local.INFO: IMEI packet received {"connection_id":148225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":148225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:40:27] local.INFO: TCP Data received {"connection_id":148225,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:40:27] local.INFO: Processing buffer {"connection_id":148225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:40:27] local.INFO: Packet analysis {"connection_id":148225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:40:27] local.INFO: Extracted packet for processing {"connection_id":148225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:40:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785884856000,"timestamp_ms":1785884856000,"timestamp_seconds":1785884856,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf084ec0"} 
[2026-08-05 04:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186446080001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:40:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:40:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186446080001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":148225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:40:27] local.INFO: GPS data processed {"connection_id":148225,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:40:27] local.INFO: Acknowledgment sent {"connection_id":148225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:40:31] local.INFO: TCP Data received {"connection_id":148225,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:40:31] local.INFO: Processing buffer {"connection_id":148225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:40:31] local.INFO: Packet analysis {"connection_id":148225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:40:31] local.INFO: Extracted packet for processing {"connection_id":148225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:40:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785884856000,"timestamp_ms":1785884856000,"timestamp_seconds":1785884856,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf084ec0"} 
[2026-08-05 04:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186446080001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:40:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:40:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186446080001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":148225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:40:31] local.INFO: GPS data processed {"connection_id":148225,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:40:31] local.INFO: Acknowledgment sent {"connection_id":148225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:41:16] local.INFO: TCP Data received {"connection_id":148443,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:41:16] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:41:16] local.INFO: IMEI packet received {"connection_id":148443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":148443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:41:21] local.INFO: TCP Data received {"connection_id":148443,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:41:21] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:41:21] local.INFO: IMEI packet received {"connection_id":148443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":148443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:41:22] local.INFO: TCP Data received {"connection_id":148443,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:41:22] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:41:22] local.INFO: Packet analysis {"connection_id":148443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:41:22] local.INFO: Extracted packet for processing {"connection_id":148443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:41:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785884856000,"timestamp_ms":1785884856000,"timestamp_seconds":1785884856,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf084ec0"} 
[2026-08-05 04:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186446080001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:41:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:41:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186446080001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":148443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:41:22] local.INFO: GPS data processed {"connection_id":148443,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:41:22] local.INFO: Acknowledgment sent {"connection_id":148443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:41:53] local.INFO: TCP Data received {"connection_id":148443,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:41:53] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:41:53] local.INFO: Packet analysis {"connection_id":148443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:41:53] local.INFO: Extracted packet for processing {"connection_id":148443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:41:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785884856000,"timestamp_ms":1785884856000,"timestamp_seconds":1785884856,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf084ec0"} 
[2026-08-05 04:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:41: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-08-05 04:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186446080001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:41:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:41:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186446080001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":148443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:41:53] local.INFO: GPS data processed {"connection_id":148443,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:41:53] local.INFO: Acknowledgment sent {"connection_id":148443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:42:16] local.INFO: TCP Data received {"connection_id":148226,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:42:16] local.INFO: Processing buffer {"connection_id":148226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:42:16] local.INFO: IMEI packet received {"connection_id":148226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":148226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:42:21] local.INFO: TCP Data received {"connection_id":148226,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:42:21] local.INFO: Processing buffer {"connection_id":148226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:42:21] local.INFO: IMEI packet received {"connection_id":148226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":148226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:42:22] local.INFO: TCP Data received {"connection_id":148226,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:42:22] local.INFO: Processing buffer {"connection_id":148226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:42:22] local.INFO: Packet analysis {"connection_id":148226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:42:22] local.INFO: Extracted packet for processing {"connection_id":148226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:42:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785884856000,"timestamp_ms":1785884856000,"timestamp_seconds":1785884856,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf084ec0"} 
[2026-08-05 04:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186446080001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:42:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:42:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186446080001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":148226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:42:22] local.INFO: GPS data processed {"connection_id":148226,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:42:22] local.INFO: Acknowledgment sent {"connection_id":148226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:42:53] local.INFO: TCP Data received {"connection_id":148226,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:42:53] local.INFO: Processing buffer {"connection_id":148226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf084ec0012dc5e6c00537dbe80035013a29..."} 
[2026-08-05 04:42:53] local.INFO: Packet analysis {"connection_id":148226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:42:53] local.INFO: Extracted packet for processing {"connection_id":148226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf08"} 
[2026-08-05 04:42:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785884856000,"timestamp_ms":1785884856000,"timestamp_seconds":1785884856,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf084ec0"} 
[2026-08-05 04:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:42: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-08-05 04:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186446080001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:42:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:42:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186446080001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":148226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:42:53] local.INFO: GPS data processed {"connection_id":148226,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:42:53] local.INFO: Acknowledgment sent {"connection_id":148226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:43:15] local.INFO: TCP Data received {"connection_id":150853,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:43:15] local.INFO: Processing buffer {"connection_id":150853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:43:15] local.INFO: IMEI packet received {"connection_id":150853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":150853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:43:16] local.INFO: TCP Data received {"connection_id":150853,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:43:16] local.INFO: Processing buffer {"connection_id":150853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:43:16] local.INFO: IMEI packet received {"connection_id":150853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":150853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:43:21] local.INFO: TCP Data received {"connection_id":150853,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:43:21] local.INFO: Processing buffer {"connection_id":150853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:43:21] local.INFO: IMEI packet received {"connection_id":150853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":150853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:43:22] local.INFO: TCP Data received {"connection_id":150853,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:43:22] local.INFO: Processing buffer {"connection_id":150853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:43:22] local.INFO: Packet analysis {"connection_id":150853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:43:22] local.INFO: Extracted packet for processing {"connection_id":150853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:43:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 04:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885157000,"timestamp_ms":1785885157000,"timestamp_seconds":1785885157,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf0ce688"} 
[2026-08-05 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-08-05 04: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-08-05 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":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 04:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186523136001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:43:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:43:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186523136001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":150853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:43:22] local.INFO: GPS data processed {"connection_id":150853,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:43:22] local.INFO: Acknowledgment sent {"connection_id":150853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:43:53] local.INFO: TCP Data received {"connection_id":150853,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:43:53] local.INFO: Processing buffer {"connection_id":150853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:43:53] local.INFO: Packet analysis {"connection_id":150853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:43:53] local.INFO: Extracted packet for processing {"connection_id":150853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:43:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785885157000,"timestamp_ms":1785885157000,"timestamp_seconds":1785885157,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf0ce688"} 
[2026-08-05 04:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186523136001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:43:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:43:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186523136001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":150853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:43:53] local.INFO: GPS data processed {"connection_id":150853,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:43:53] local.INFO: Acknowledgment sent {"connection_id":150853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:44:21] local.INFO: TCP Data received {"connection_id":148227,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:44:21] local.INFO: Processing buffer {"connection_id":148227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:44:21] local.INFO: IMEI packet received {"connection_id":148227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":148227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:44:26] local.INFO: TCP Data received {"connection_id":148227,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:44:26] local.INFO: Processing buffer {"connection_id":148227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:44:26] local.INFO: IMEI packet received {"connection_id":148227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":148227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:44:27] local.INFO: TCP Data received {"connection_id":148227,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:44:27] local.INFO: Processing buffer {"connection_id":148227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:44:27] local.INFO: Packet analysis {"connection_id":148227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:44:27] local.INFO: Extracted packet for processing {"connection_id":148227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:44:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785885157000,"timestamp_ms":1785885157000,"timestamp_seconds":1785885157,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf0ce688"} 
[2026-08-05 04:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186523136001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:44:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:44:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186523136001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":148227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:44:27] local.INFO: GPS data processed {"connection_id":148227,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:44:27] local.INFO: Acknowledgment sent {"connection_id":148227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:44:31] local.INFO: TCP Data received {"connection_id":148227,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:44:31] local.INFO: Processing buffer {"connection_id":148227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:44:31] local.INFO: Packet analysis {"connection_id":148227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:44:31] local.INFO: Extracted packet for processing {"connection_id":148227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:44:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785885157000,"timestamp_ms":1785885157000,"timestamp_seconds":1785885157,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf0ce688"} 
[2026-08-05 04:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186523136001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:44:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:44:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186523136001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":148227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:44:31] local.INFO: GPS data processed {"connection_id":148227,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:44:31] local.INFO: Acknowledgment sent {"connection_id":148227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:45:16] local.INFO: TCP Data received {"connection_id":150854,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:45:16] local.INFO: Processing buffer {"connection_id":150854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:45:16] local.INFO: IMEI packet received {"connection_id":150854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":150854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:45:21] local.INFO: TCP Data received {"connection_id":150854,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:45:21] local.INFO: Processing buffer {"connection_id":150854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:45:21] local.INFO: IMEI packet received {"connection_id":150854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":150854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:45:22] local.INFO: TCP Data received {"connection_id":150854,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:45:22] local.INFO: Processing buffer {"connection_id":150854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:45:22] local.INFO: Packet analysis {"connection_id":150854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:45:22] local.INFO: Extracted packet for processing {"connection_id":150854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:45:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885157000,"timestamp_ms":1785885157000,"timestamp_seconds":1785885157,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf0ce688"} 
[2026-08-05 04:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186523136001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:45:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:45:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186523136001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":150854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:45:22] local.INFO: GPS data processed {"connection_id":150854,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:45:22] local.INFO: Acknowledgment sent {"connection_id":150854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:45:55] local.INFO: TCP Data received {"connection_id":150854,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:45:55] local.INFO: Processing buffer {"connection_id":150854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:45:55] local.INFO: Packet analysis {"connection_id":150854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:45:55] local.INFO: Extracted packet for processing {"connection_id":150854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:45:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785885157000,"timestamp_ms":1785885157000,"timestamp_seconds":1785885157,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf0ce688"} 
[2026-08-05 04:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186523136001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:45:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:45:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186523136001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":150854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:45:55] local.INFO: GPS data processed {"connection_id":150854,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:45:55] local.INFO: Acknowledgment sent {"connection_id":150854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:46:16] local.INFO: TCP Data received {"connection_id":149457,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:46:16] local.INFO: Processing buffer {"connection_id":149457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:46:16] local.INFO: IMEI packet received {"connection_id":149457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":149457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:46:21] local.INFO: TCP Data received {"connection_id":149457,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:46:21] local.INFO: Processing buffer {"connection_id":149457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:46:21] local.INFO: IMEI packet received {"connection_id":149457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":149457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:46:22] local.INFO: TCP Data received {"connection_id":149457,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:46:22] local.INFO: Processing buffer {"connection_id":149457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:46:22] local.INFO: Packet analysis {"connection_id":149457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:46:22] local.INFO: Extracted packet for processing {"connection_id":149457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:46:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885157000,"timestamp_ms":1785885157000,"timestamp_seconds":1785885157,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf0ce688"} 
[2026-08-05 04:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186523136001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:46:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:46:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186523136001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":149457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:46:22] local.INFO: GPS data processed {"connection_id":149457,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:46:22] local.INFO: Acknowledgment sent {"connection_id":149457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:46:53] local.INFO: TCP Data received {"connection_id":149457,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:46:53] local.INFO: Processing buffer {"connection_id":149457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:46:53] local.INFO: Packet analysis {"connection_id":149457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:46:53] local.INFO: Extracted packet for processing {"connection_id":149457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:46:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785885157000,"timestamp_ms":1785885157000,"timestamp_seconds":1785885157,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf0ce688"} 
[2026-08-05 04:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186523136001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:46:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:46:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186523136001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":149457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:46:53] local.INFO: GPS data processed {"connection_id":149457,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:46:53] local.INFO: Acknowledgment sent {"connection_id":149457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:47:16] local.INFO: TCP Data received {"connection_id":148228,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:47:16] local.INFO: Processing buffer {"connection_id":148228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:47:16] local.INFO: IMEI packet received {"connection_id":148228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":148228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:47:21] local.INFO: TCP Data received {"connection_id":148228,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:47:21] local.INFO: Processing buffer {"connection_id":148228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:47:21] local.INFO: IMEI packet received {"connection_id":148228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":148228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:47:22] local.INFO: TCP Data received {"connection_id":148228,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:47:22] local.INFO: Processing buffer {"connection_id":148228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:47:22] local.INFO: Packet analysis {"connection_id":148228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:47:22] local.INFO: Extracted packet for processing {"connection_id":148228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:47:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885157000,"timestamp_ms":1785885157000,"timestamp_seconds":1785885157,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf0ce688"} 
[2026-08-05 04:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186523136001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:47:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:47:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186523136001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":148228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:47:22] local.INFO: GPS data processed {"connection_id":148228,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:47:22] local.INFO: Acknowledgment sent {"connection_id":148228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:47:53] local.INFO: TCP Data received {"connection_id":148228,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:47:53] local.INFO: Processing buffer {"connection_id":148228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf0ce688012dc5e6c00537dbe80035013a2b..."} 
[2026-08-05 04:47:53] local.INFO: Packet analysis {"connection_id":148228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:47:53] local.INFO: Extracted packet for processing {"connection_id":148228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf0c"} 
[2026-08-05 04:47:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785885157000,"timestamp_ms":1785885157000,"timestamp_seconds":1785885157,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf0ce688"} 
[2026-08-05 04:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 04:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186523136001,"66":25419,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:47:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:47:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186523136001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":148228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:47:53] local.INFO: GPS data processed {"connection_id":148228,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:47:53] local.INFO: Acknowledgment sent {"connection_id":148228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:48:16] local.INFO: TCP Data received {"connection_id":150855,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:48:16] local.INFO: Processing buffer {"connection_id":150855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:48:16] local.INFO: IMEI packet received {"connection_id":150855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":150855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:48:16] local.INFO: TCP Data received {"connection_id":150855,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:48:16] local.INFO: Processing buffer {"connection_id":150855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:48:16] local.INFO: IMEI packet received {"connection_id":150855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":150855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:48:21] local.INFO: TCP Data received {"connection_id":150855,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:48:21] local.INFO: Processing buffer {"connection_id":150855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:48:21] local.INFO: IMEI packet received {"connection_id":150855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":150855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:48:21] local.INFO: TCP Data received {"connection_id":150855,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:48:21] local.INFO: Processing buffer {"connection_id":150855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:48:21] local.INFO: Packet analysis {"connection_id":150855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:48:21] local.INFO: Extracted packet for processing {"connection_id":150855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:48:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04: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-08-05 04:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785885458000,"timestamp_ms":1785885458000,"timestamp_seconds":1785885458,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf117e50"} 
[2026-08-05 04:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:48: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-08-05 04:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04: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-08-05 04:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:48: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-08-05 04:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186600192001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:48:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:48:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186600192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":150855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:48:21] local.INFO: GPS data processed {"connection_id":150855,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:48:21] local.INFO: Acknowledgment sent {"connection_id":150855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:48:52] local.INFO: TCP Data received {"connection_id":150855,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:48:52] local.INFO: Processing buffer {"connection_id":150855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:48:52] local.INFO: Packet analysis {"connection_id":150855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:48:52] local.INFO: Extracted packet for processing {"connection_id":150855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:48:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785885458000,"timestamp_ms":1785885458000,"timestamp_seconds":1785885458,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf117e50"} 
[2026-08-05 04:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186600192001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:48:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:48:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186600192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":150855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:48:52] local.INFO: GPS data processed {"connection_id":150855,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:48:52] local.INFO: Acknowledgment sent {"connection_id":150855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:49:21] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:49:21] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:49:21] local.INFO: IMEI packet received {"connection_id":148444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":148444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:49:26] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:49:26] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:49:26] local.INFO: IMEI packet received {"connection_id":148444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":148444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:49:26] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:49:26] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:49:26] local.INFO: Packet analysis {"connection_id":148444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:49:26] local.INFO: Extracted packet for processing {"connection_id":148444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:49:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785885458000,"timestamp_ms":1785885458000,"timestamp_seconds":1785885458,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf117e50"} 
[2026-08-05 04:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186600192001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:49:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:49:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186600192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":148444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:49:26] local.INFO: GPS data processed {"connection_id":148444,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:49:26] local.INFO: Acknowledgment sent {"connection_id":148444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:49:57] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:49:57] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:49:57] local.INFO: Packet analysis {"connection_id":148444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:49:57] local.INFO: Extracted packet for processing {"connection_id":148444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:49:57] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785885458000,"timestamp_ms":1785885458000,"timestamp_seconds":1785885458,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf117e50"} 
[2026-08-05 04:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186600192001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:49:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:49:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186600192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":148444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:49:57] local.INFO: GPS data processed {"connection_id":148444,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:49:57] local.INFO: Acknowledgment sent {"connection_id":148444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:50:16] local.INFO: TCP Data received {"connection_id":150856,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:50:16] local.INFO: Processing buffer {"connection_id":150856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:50:16] local.INFO: IMEI packet received {"connection_id":150856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":150856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:50:21] local.INFO: TCP Data received {"connection_id":150856,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:50:21] local.INFO: Processing buffer {"connection_id":150856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:50:21] local.INFO: IMEI packet received {"connection_id":150856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":150856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:50:22] local.INFO: TCP Data received {"connection_id":150856,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:50:22] local.INFO: Processing buffer {"connection_id":150856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:50:22] local.INFO: Packet analysis {"connection_id":150856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:50:22] local.INFO: Extracted packet for processing {"connection_id":150856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:50:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885458000,"timestamp_ms":1785885458000,"timestamp_seconds":1785885458,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf117e50"} 
[2026-08-05 04:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186600192001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:50:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:50:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186600192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":150856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:50:22] local.INFO: GPS data processed {"connection_id":150856,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:50:22] local.INFO: Acknowledgment sent {"connection_id":150856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:50:53] local.INFO: TCP Data received {"connection_id":150856,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:50:53] local.INFO: Processing buffer {"connection_id":150856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:50:53] local.INFO: Packet analysis {"connection_id":150856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:50:53] local.INFO: Extracted packet for processing {"connection_id":150856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:50:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785885458000,"timestamp_ms":1785885458000,"timestamp_seconds":1785885458,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf117e50"} 
[2026-08-05 04:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186600192001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:50:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:50:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186600192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":150856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:50:53] local.INFO: GPS data processed {"connection_id":150856,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:50:53] local.INFO: Acknowledgment sent {"connection_id":150856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:51:16] local.INFO: TCP Data received {"connection_id":149458,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:51:16] local.INFO: Processing buffer {"connection_id":149458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:51:16] local.INFO: IMEI packet received {"connection_id":149458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":149458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:51:21] local.INFO: TCP Data received {"connection_id":149458,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:51:21] local.INFO: Processing buffer {"connection_id":149458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:51:21] local.INFO: IMEI packet received {"connection_id":149458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":149458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:51:22] local.INFO: TCP Data received {"connection_id":149458,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:51:22] local.INFO: Processing buffer {"connection_id":149458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:51:22] local.INFO: Packet analysis {"connection_id":149458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:51:22] local.INFO: Extracted packet for processing {"connection_id":149458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:51:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885458000,"timestamp_ms":1785885458000,"timestamp_seconds":1785885458,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf117e50"} 
[2026-08-05 04:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186600192001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:51:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:51:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186600192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":149458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:51:22] local.INFO: GPS data processed {"connection_id":149458,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:51:22] local.INFO: Acknowledgment sent {"connection_id":149458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:51:55] local.INFO: TCP Data received {"connection_id":149458,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:51:55] local.INFO: Processing buffer {"connection_id":149458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:51:55] local.INFO: Packet analysis {"connection_id":149458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:51:55] local.INFO: Extracted packet for processing {"connection_id":149458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:51:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785885458000,"timestamp_ms":1785885458000,"timestamp_seconds":1785885458,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf117e50"} 
[2026-08-05 04:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:51: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-08-05 04:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186600192001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:51:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:51:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186600192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":149458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:51:55] local.INFO: GPS data processed {"connection_id":149458,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:51:55] local.INFO: Acknowledgment sent {"connection_id":149458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:52:16] local.INFO: TCP Data received {"connection_id":149459,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:52:16] local.INFO: Processing buffer {"connection_id":149459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:52:16] local.INFO: IMEI packet received {"connection_id":149459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":149459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:52:21] local.INFO: TCP Data received {"connection_id":149459,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:52:21] local.INFO: Processing buffer {"connection_id":149459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:52:21] local.INFO: IMEI packet received {"connection_id":149459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":149459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:52:22] local.INFO: TCP Data received {"connection_id":149459,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:52:22] local.INFO: Processing buffer {"connection_id":149459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:52:22] local.INFO: Packet analysis {"connection_id":149459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:52:22] local.INFO: Extracted packet for processing {"connection_id":149459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:52:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885458000,"timestamp_ms":1785885458000,"timestamp_seconds":1785885458,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf117e50"} 
[2026-08-05 04:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186600192001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:52:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:52:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186600192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":149459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:52:22] local.INFO: GPS data processed {"connection_id":149459,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:52:22] local.INFO: Acknowledgment sent {"connection_id":149459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:52:53] local.INFO: TCP Data received {"connection_id":149459,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:52:53] local.INFO: Processing buffer {"connection_id":149459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf117e50012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:52:53] local.INFO: Packet analysis {"connection_id":149459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:52:53] local.INFO: Extracted packet for processing {"connection_id":149459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf11"} 
[2026-08-05 04:52:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785885458000,"timestamp_ms":1785885458000,"timestamp_seconds":1785885458,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf117e50"} 
[2026-08-05 04:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 04:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186600192001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:52:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:52:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186600192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":149459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:52:53] local.INFO: GPS data processed {"connection_id":149459,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:52:53] local.INFO: Acknowledgment sent {"connection_id":149459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:53:16] local.INFO: TCP Data received {"connection_id":148445,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:53:16] local.INFO: Processing buffer {"connection_id":148445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:53:16] local.INFO: IMEI packet received {"connection_id":148445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":148445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:53:17] local.INFO: TCP Data received {"connection_id":148445,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:53:17] local.INFO: Processing buffer {"connection_id":148445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:53:17] local.INFO: IMEI packet received {"connection_id":148445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":148445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:53:21] local.INFO: TCP Data received {"connection_id":148445,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:53:21] local.INFO: Processing buffer {"connection_id":148445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:53:21] local.INFO: IMEI packet received {"connection_id":148445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":148445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:53:22] local.INFO: TCP Data received {"connection_id":148445,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:53:22] local.INFO: Processing buffer {"connection_id":148445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:53:22] local.INFO: Packet analysis {"connection_id":148445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:53:22] local.INFO: Extracted packet for processing {"connection_id":148445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:53:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885759000,"timestamp_ms":1785885759000,"timestamp_seconds":1785885759,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf161618"} 
[2026-08-05 04:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186677248001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:53:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:53:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186677248001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":148445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:53:22] local.INFO: GPS data processed {"connection_id":148445,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:53:22] local.INFO: Acknowledgment sent {"connection_id":148445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:53:53] local.INFO: TCP Data received {"connection_id":148445,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:53:53] local.INFO: Processing buffer {"connection_id":148445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:53:53] local.INFO: Packet analysis {"connection_id":148445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:53:53] local.INFO: Extracted packet for processing {"connection_id":148445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:53:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785885759000,"timestamp_ms":1785885759000,"timestamp_seconds":1785885759,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf161618"} 
[2026-08-05 04:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:53: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-08-05 04:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186677248001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:53:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:53:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186677248001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":148445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:53:53] local.INFO: GPS data processed {"connection_id":148445,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:53:53] local.INFO: Acknowledgment sent {"connection_id":148445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:54:16] local.INFO: TCP Data received {"connection_id":149460,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:54:16] local.INFO: Processing buffer {"connection_id":149460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:54:16] local.INFO: IMEI packet received {"connection_id":149460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":149460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:54:21] local.INFO: TCP Data received {"connection_id":149460,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:54:21] local.INFO: Processing buffer {"connection_id":149460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:54:21] local.INFO: IMEI packet received {"connection_id":149460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":149460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:54:22] local.INFO: TCP Data received {"connection_id":149460,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:54:22] local.INFO: Processing buffer {"connection_id":149460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:54:22] local.INFO: Packet analysis {"connection_id":149460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:54:22] local.INFO: Extracted packet for processing {"connection_id":149460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:54:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885759000,"timestamp_ms":1785885759000,"timestamp_seconds":1785885759,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf161618"} 
[2026-08-05 04:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186677248001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:54:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:54:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186677248001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":149460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:54:22] local.INFO: GPS data processed {"connection_id":149460,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:54:22] local.INFO: Acknowledgment sent {"connection_id":149460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:54:53] local.INFO: TCP Data received {"connection_id":149460,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:54:53] local.INFO: Processing buffer {"connection_id":149460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:54:53] local.INFO: Packet analysis {"connection_id":149460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:54:53] local.INFO: Extracted packet for processing {"connection_id":149460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:54:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785885759000,"timestamp_ms":1785885759000,"timestamp_seconds":1785885759,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf161618"} 
[2026-08-05 04:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:54: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-08-05 04:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186677248001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:54:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:54:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186677248001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":149460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:54:53] local.INFO: GPS data processed {"connection_id":149460,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:54:53] local.INFO: Acknowledgment sent {"connection_id":149460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:55:16] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:55:16] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:55:16] local.INFO: IMEI packet received {"connection_id":148446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":148446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:55:21] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:55:21] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:55:21] local.INFO: IMEI packet received {"connection_id":148446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":148446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:55:22] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:55:22] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:55:22] local.INFO: Packet analysis {"connection_id":148446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:55:22] local.INFO: Extracted packet for processing {"connection_id":148446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:55:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885759000,"timestamp_ms":1785885759000,"timestamp_seconds":1785885759,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf161618"} 
[2026-08-05 04:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186677248001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:55:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:55:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186677248001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":148446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:55:22] local.INFO: GPS data processed {"connection_id":148446,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:55:22] local.INFO: Acknowledgment sent {"connection_id":148446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:55:53] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:55:53] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:55:53] local.INFO: Packet analysis {"connection_id":148446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:55:53] local.INFO: Extracted packet for processing {"connection_id":148446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:55:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785885759000,"timestamp_ms":1785885759000,"timestamp_seconds":1785885759,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf161618"} 
[2026-08-05 04:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:55: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-08-05 04:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186677248001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:55:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:55:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186677248001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":148446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:55:53] local.INFO: GPS data processed {"connection_id":148446,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:55:53] local.INFO: Acknowledgment sent {"connection_id":148446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:56:16] local.INFO: TCP Data received {"connection_id":150857,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:56:16] local.INFO: Processing buffer {"connection_id":150857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:56:16] local.INFO: IMEI packet received {"connection_id":150857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":150857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:56:21] local.INFO: TCP Data received {"connection_id":150857,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:56:21] local.INFO: Processing buffer {"connection_id":150857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:56:21] local.INFO: IMEI packet received {"connection_id":150857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":150857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:56:22] local.INFO: TCP Data received {"connection_id":150857,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:56:22] local.INFO: Processing buffer {"connection_id":150857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:56:22] local.INFO: Packet analysis {"connection_id":150857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:56:22] local.INFO: Extracted packet for processing {"connection_id":150857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:56:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 04:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885759000,"timestamp_ms":1785885759000,"timestamp_seconds":1785885759,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf161618"} 
[2026-08-05 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-08-05 04:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 04:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186677248001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:56:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:56:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186677248001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":150857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:56:22] local.INFO: GPS data processed {"connection_id":150857,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:56:22] local.INFO: Acknowledgment sent {"connection_id":150857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:56:35] local.INFO: TCP Data received {"connection_id":150857,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:56:35] local.INFO: Processing buffer {"connection_id":150857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:56:35] local.INFO: Packet analysis {"connection_id":150857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:56:35] local.INFO: Extracted packet for processing {"connection_id":150857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:56:35] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785885759000,"timestamp_ms":1785885759000,"timestamp_seconds":1785885759,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf161618"} 
[2026-08-05 04:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186677248001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:56:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:56:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186677248001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":150857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:56:35] local.INFO: GPS data processed {"connection_id":150857,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:56:35] local.INFO: Acknowledgment sent {"connection_id":150857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:57:16] local.INFO: TCP Data received {"connection_id":148447,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:57:16] local.INFO: Processing buffer {"connection_id":148447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:57:16] local.INFO: IMEI packet received {"connection_id":148447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":148447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:57:21] local.INFO: TCP Data received {"connection_id":148447,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:57:21] local.INFO: Processing buffer {"connection_id":148447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:57:21] local.INFO: IMEI packet received {"connection_id":148447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":148447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:57:22] local.INFO: TCP Data received {"connection_id":148447,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:57:22] local.INFO: Processing buffer {"connection_id":148447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:57:22] local.INFO: Packet analysis {"connection_id":148447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:57:22] local.INFO: Extracted packet for processing {"connection_id":148447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:57:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785885759000,"timestamp_ms":1785885759000,"timestamp_seconds":1785885759,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf161618"} 
[2026-08-05 04:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186677248001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:57:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:57:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186677248001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":148447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:57:22] local.INFO: GPS data processed {"connection_id":148447,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:57:22] local.INFO: Acknowledgment sent {"connection_id":148447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:57:53] local.INFO: TCP Data received {"connection_id":148447,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:57:53] local.INFO: Processing buffer {"connection_id":148447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf161618012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 04:57:53] local.INFO: Packet analysis {"connection_id":148447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:57:53] local.INFO: Extracted packet for processing {"connection_id":148447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf16"} 
[2026-08-05 04:57:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785885759000,"timestamp_ms":1785885759000,"timestamp_seconds":1785885759,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf161618"} 
[2026-08-05 04:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 04:57: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-08-05 04:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186677248001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:57:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:57:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186677248001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":148447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:57:53] local.INFO: GPS data processed {"connection_id":148447,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:57:53] local.INFO: Acknowledgment sent {"connection_id":148447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:58:16] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:58:16] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:58:16] local.INFO: IMEI packet received {"connection_id":148448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":148448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:58:18] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:58:18] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:58:18] local.INFO: IMEI packet received {"connection_id":148448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":148448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:58:21] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:58:21] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:58:21] local.INFO: IMEI packet received {"connection_id":148448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":148448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:58:22] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:58:22] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:58:22] local.INFO: Packet analysis {"connection_id":148448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 04:58:22] local.INFO: Extracted packet for processing {"connection_id":148448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 04:58:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886060000,"timestamp_ms":1785886060000,"timestamp_seconds":1785886060,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1aade0"} 
[2026-08-05 04:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186754304001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:58:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:58:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186754304001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":148448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:58:22] local.INFO: GPS data processed {"connection_id":148448,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:58:22] local.INFO: Acknowledgment sent {"connection_id":148448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:58:53] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:58:53] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:58:53] local.INFO: Packet analysis {"connection_id":148448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 04:58:53] local.INFO: Extracted packet for processing {"connection_id":148448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 04:58:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886060000,"timestamp_ms":1785886060000,"timestamp_seconds":1785886060,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1aade0"} 
[2026-08-05 04:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186754304001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:58:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:58:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186754304001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":148448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:58:53] local.INFO: GPS data processed {"connection_id":148448,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:58:53] local.INFO: Acknowledgment sent {"connection_id":148448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:59:16] local.INFO: TCP Data received {"connection_id":150858,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:59:16] local.INFO: Processing buffer {"connection_id":150858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:59:16] local.INFO: IMEI packet received {"connection_id":150858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 04:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":150858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 04:59:21] local.INFO: TCP Data received {"connection_id":150858,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:59:21] local.INFO: Processing buffer {"connection_id":150858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 04:59:21] local.INFO: IMEI packet received {"connection_id":150858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 04:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":150858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 04:59:22] local.INFO: TCP Data received {"connection_id":150858,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:59:22] local.INFO: Processing buffer {"connection_id":150858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:59:22] local.INFO: Packet analysis {"connection_id":150858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 04:59:22] local.INFO: Extracted packet for processing {"connection_id":150858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 04:59:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886060000,"timestamp_ms":1785886060000,"timestamp_seconds":1785886060,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1aade0"} 
[2026-08-05 04:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186754304001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:59:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:59:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186754304001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":150858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:59:22] local.INFO: GPS data processed {"connection_id":150858,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:59:22] local.INFO: Acknowledgment sent {"connection_id":150858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:59:26] local.INFO: TCP Data received {"connection_id":150858,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:59:26] local.INFO: Processing buffer {"connection_id":150858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:59:26] local.INFO: Packet analysis {"connection_id":150858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 04:59:26] local.INFO: Extracted packet for processing {"connection_id":150858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 04:59:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785886060000,"timestamp_ms":1785886060000,"timestamp_seconds":1785886060,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1aade0"} 
[2026-08-05 04:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186754304001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:59:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:59:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186754304001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":150858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:59:26] local.INFO: GPS data processed {"connection_id":150858,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:59:26] local.INFO: Acknowledgment sent {"connection_id":150858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 04:59:57] local.INFO: TCP Data received {"connection_id":150858,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:59:57] local.INFO: Processing buffer {"connection_id":150858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 04:59:57] local.INFO: Packet analysis {"connection_id":150858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 04:59:57] local.INFO: Extracted packet for processing {"connection_id":150858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 04:59:57] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 04:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 04:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 04:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 04:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 04:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 04:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785886060000,"timestamp_ms":1785886060000,"timestamp_seconds":1785886060,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1aade0"} 
[2026-08-05 04:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 04:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 04:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 04:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 04:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 04:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 04:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 04:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 04:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 04:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 04:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 04:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 04:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186754304001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 04:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 04:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 04:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 04:59:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 04:59:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 04:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 04:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 04:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186754304001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 04:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":150858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 04:59:57] local.INFO: GPS data processed {"connection_id":150858,"processed":1,"errors":0,"total":1} 
[2026-08-05 04:59:57] local.INFO: Acknowledgment sent {"connection_id":150858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:00:16] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:00:16] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:00:16] local.INFO: IMEI packet received {"connection_id":148449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":148449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:00:21] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:00:21] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:00:21] local.INFO: IMEI packet received {"connection_id":148449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":148449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:00:21] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:00:21] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:00:21] local.INFO: Packet analysis {"connection_id":148449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:00:21] local.INFO: Extracted packet for processing {"connection_id":148449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:00:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05: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-08-05 05:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785886060000,"timestamp_ms":1785886060000,"timestamp_seconds":1785886060,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1aade0"} 
[2026-08-05 05:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:00: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-08-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05: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-08-05 05:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186754304001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:00:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:00:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186754304001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":148449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:00:21] local.INFO: GPS data processed {"connection_id":148449,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:00:21] local.INFO: Acknowledgment sent {"connection_id":148449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:00:52] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:00:52] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:00:52] local.INFO: Packet analysis {"connection_id":148449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:00:52] local.INFO: Extracted packet for processing {"connection_id":148449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:00:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785886060000,"timestamp_ms":1785886060000,"timestamp_seconds":1785886060,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1aade0"} 
[2026-08-05 05:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186754304001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:00:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:00:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186754304001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":148449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:00:52] local.INFO: GPS data processed {"connection_id":148449,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:00:52] local.INFO: Acknowledgment sent {"connection_id":148449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:01:16] local.INFO: TCP Data received {"connection_id":148229,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:01:16] local.INFO: Processing buffer {"connection_id":148229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:01:16] local.INFO: IMEI packet received {"connection_id":148229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":148229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:01:21] local.INFO: TCP Data received {"connection_id":148229,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:01:21] local.INFO: Processing buffer {"connection_id":148229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:01:21] local.INFO: IMEI packet received {"connection_id":148229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":148229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:01:22] local.INFO: TCP Data received {"connection_id":148229,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:01:22] local.INFO: Processing buffer {"connection_id":148229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:01:22] local.INFO: Packet analysis {"connection_id":148229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:01:22] local.INFO: Extracted packet for processing {"connection_id":148229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:01:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886060000,"timestamp_ms":1785886060000,"timestamp_seconds":1785886060,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1aade0"} 
[2026-08-05 05:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186754304001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:01:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:01:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186754304001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":148229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:01:22] local.INFO: GPS data processed {"connection_id":148229,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:01:22] local.INFO: Acknowledgment sent {"connection_id":148229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:01:53] local.INFO: TCP Data received {"connection_id":148229,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:01:53] local.INFO: Processing buffer {"connection_id":148229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:01:53] local.INFO: Packet analysis {"connection_id":148229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:01:53] local.INFO: Extracted packet for processing {"connection_id":148229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:01:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886060000,"timestamp_ms":1785886060000,"timestamp_seconds":1785886060,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1aade0"} 
[2026-08-05 05:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186754304001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:01:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:01:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186754304001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":148229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:01:53] local.INFO: GPS data processed {"connection_id":148229,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:01:53] local.INFO: Acknowledgment sent {"connection_id":148229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:02:16] local.INFO: TCP Data received {"connection_id":150859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:02:16] local.INFO: Processing buffer {"connection_id":150859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:02:16] local.INFO: IMEI packet received {"connection_id":150859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":150859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:02:21] local.INFO: TCP Data received {"connection_id":150859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:02:21] local.INFO: Processing buffer {"connection_id":150859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:02:21] local.INFO: IMEI packet received {"connection_id":150859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":150859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:02:22] local.INFO: TCP Data received {"connection_id":150859,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:02:22] local.INFO: Processing buffer {"connection_id":150859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:02:22] local.INFO: Packet analysis {"connection_id":150859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:02:22] local.INFO: Extracted packet for processing {"connection_id":150859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:02:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886060000,"timestamp_ms":1785886060000,"timestamp_seconds":1785886060,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1aade0"} 
[2026-08-05 05:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05: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-08-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186754304001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:02:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:02:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186754304001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":150859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:02:22] local.INFO: GPS data processed {"connection_id":150859,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:02:22] local.INFO: Acknowledgment sent {"connection_id":150859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:02:53] local.INFO: TCP Data received {"connection_id":150859,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:02:53] local.INFO: Processing buffer {"connection_id":150859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1aade0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:02:53] local.INFO: Packet analysis {"connection_id":150859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:02:53] local.INFO: Extracted packet for processing {"connection_id":150859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1a"} 
[2026-08-05 05:02:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886060000,"timestamp_ms":1785886060000,"timestamp_seconds":1785886060,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1aade0"} 
[2026-08-05 05:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186754304001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:02:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:02:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186754304001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":150859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:02:53] local.INFO: GPS data processed {"connection_id":150859,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:02:53] local.INFO: Acknowledgment sent {"connection_id":150859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:03:16] local.INFO: TCP Data received {"connection_id":148230,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:03:16] local.INFO: Processing buffer {"connection_id":148230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:03:16] local.INFO: IMEI packet received {"connection_id":148230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":148230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:03:19] local.INFO: TCP Data received {"connection_id":148230,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:03:19] local.INFO: Processing buffer {"connection_id":148230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:03:19] local.INFO: IMEI packet received {"connection_id":148230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":148230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:03:21] local.INFO: TCP Data received {"connection_id":148230,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:03:21] local.INFO: Processing buffer {"connection_id":148230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:03:21] local.INFO: IMEI packet received {"connection_id":148230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":148230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:03:21] local.INFO: TCP Data received {"connection_id":148230,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:03:21] local.INFO: Processing buffer {"connection_id":148230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:03:21] local.INFO: Packet analysis {"connection_id":148230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:03:21] local.INFO: Extracted packet for processing {"connection_id":148230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:03:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785886361000,"timestamp_ms":1785886361000,"timestamp_seconds":1785886361,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1f45a8"} 
[2026-08-05 05:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186831360001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:03:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:03:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186831360001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":148230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:03:21] local.INFO: GPS data processed {"connection_id":148230,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:03:21] local.INFO: Acknowledgment sent {"connection_id":148230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:03:52] local.INFO: TCP Data received {"connection_id":148230,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:03:52] local.INFO: Processing buffer {"connection_id":148230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:03:52] local.INFO: Packet analysis {"connection_id":148230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:03:52] local.INFO: Extracted packet for processing {"connection_id":148230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:03:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785886361000,"timestamp_ms":1785886361000,"timestamp_seconds":1785886361,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1f45a8"} 
[2026-08-05 05:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186831360001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:03:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:03:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186831360001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":148230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:03:52] local.INFO: GPS data processed {"connection_id":148230,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:03:52] local.INFO: Acknowledgment sent {"connection_id":148230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:04:16] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:04:16] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:04:16] local.INFO: IMEI packet received {"connection_id":148450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":148450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:04:21] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:04:21] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:04:21] local.INFO: IMEI packet received {"connection_id":148450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":148450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:04:22] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:04:22] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:04:22] local.INFO: Packet analysis {"connection_id":148450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:04:22] local.INFO: Extracted packet for processing {"connection_id":148450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:04:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886361000,"timestamp_ms":1785886361000,"timestamp_seconds":1785886361,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1f45a8"} 
[2026-08-05 05:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186831360001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:04:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:04:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186831360001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":148450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:04:22] local.INFO: GPS data processed {"connection_id":148450,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:04:22] local.INFO: Acknowledgment sent {"connection_id":148450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:04:53] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:04:53] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:04:53] local.INFO: Packet analysis {"connection_id":148450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:04:53] local.INFO: Extracted packet for processing {"connection_id":148450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:04:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886361000,"timestamp_ms":1785886361000,"timestamp_seconds":1785886361,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1f45a8"} 
[2026-08-05 05:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186831360001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:04:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:04:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186831360001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":148450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:04:53] local.INFO: GPS data processed {"connection_id":148450,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:04:53] local.INFO: Acknowledgment sent {"connection_id":148450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:05:16] local.INFO: TCP Data received {"connection_id":150860,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:05:16] local.INFO: Processing buffer {"connection_id":150860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:05:16] local.INFO: IMEI packet received {"connection_id":150860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":150860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:05:21] local.INFO: TCP Data received {"connection_id":150860,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:05:21] local.INFO: Processing buffer {"connection_id":150860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:05:21] local.INFO: IMEI packet received {"connection_id":150860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":150860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:05:22] local.INFO: TCP Data received {"connection_id":150860,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:05:22] local.INFO: Processing buffer {"connection_id":150860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:05:22] local.INFO: Packet analysis {"connection_id":150860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:05:22] local.INFO: Extracted packet for processing {"connection_id":150860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:05:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886361000,"timestamp_ms":1785886361000,"timestamp_seconds":1785886361,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1f45a8"} 
[2026-08-05 05:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186831360001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:05:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:05:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186831360001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":150860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:05:22] local.INFO: GPS data processed {"connection_id":150860,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:05:22] local.INFO: Acknowledgment sent {"connection_id":150860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:05:53] local.INFO: TCP Data received {"connection_id":150860,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:05:53] local.INFO: Processing buffer {"connection_id":150860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:05:53] local.INFO: Packet analysis {"connection_id":150860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:05:53] local.INFO: Extracted packet for processing {"connection_id":150860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:05:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886361000,"timestamp_ms":1785886361000,"timestamp_seconds":1785886361,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1f45a8"} 
[2026-08-05 05:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186831360001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:05:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:05:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186831360001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":150860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:05:53] local.INFO: GPS data processed {"connection_id":150860,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:05:53] local.INFO: Acknowledgment sent {"connection_id":150860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:06:16] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:06:16] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:06:16] local.INFO: IMEI packet received {"connection_id":148451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":148451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:06:21] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:06:21] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:06:21] local.INFO: IMEI packet received {"connection_id":148451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":148451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:06:22] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:06:22] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:06:22] local.INFO: Packet analysis {"connection_id":148451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:06:22] local.INFO: Extracted packet for processing {"connection_id":148451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:06:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886361000,"timestamp_ms":1785886361000,"timestamp_seconds":1785886361,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1f45a8"} 
[2026-08-05 05:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186831360001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:06:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:06:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186831360001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":148451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:06:22] local.INFO: GPS data processed {"connection_id":148451,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:06:22] local.INFO: Acknowledgment sent {"connection_id":148451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:06:53] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:06:53] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:06:53] local.INFO: Packet analysis {"connection_id":148451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:06:53] local.INFO: Extracted packet for processing {"connection_id":148451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:06:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886361000,"timestamp_ms":1785886361000,"timestamp_seconds":1785886361,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1f45a8"} 
[2026-08-05 05:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186831360001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:06:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:06:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186831360001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":148451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:06:53] local.INFO: GPS data processed {"connection_id":148451,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:06:53] local.INFO: Acknowledgment sent {"connection_id":148451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:07:16] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:07:16] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:07:16] local.INFO: IMEI packet received {"connection_id":148452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":148452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:07:21] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:07:21] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:07:21] local.INFO: IMEI packet received {"connection_id":148452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":148452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:07:22] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:07:22] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:07:22] local.INFO: Packet analysis {"connection_id":148452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:07:22] local.INFO: Extracted packet for processing {"connection_id":148452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:07:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886361000,"timestamp_ms":1785886361000,"timestamp_seconds":1785886361,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1f45a8"} 
[2026-08-05 05:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186831360001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:07:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:07:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186831360001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":148452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:07:22] local.INFO: GPS data processed {"connection_id":148452,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:07:22] local.INFO: Acknowledgment sent {"connection_id":148452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:07:53] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:07:53] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf1f45a8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:07:53] local.INFO: Packet analysis {"connection_id":148452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:07:53] local.INFO: Extracted packet for processing {"connection_id":148452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf1f"} 
[2026-08-05 05:07:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886361000,"timestamp_ms":1785886361000,"timestamp_seconds":1785886361,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf1f45a8"} 
[2026-08-05 05:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186831360001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:07:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:07:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186831360001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":148452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:07:53] local.INFO: GPS data processed {"connection_id":148452,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:07:53] local.INFO: Acknowledgment sent {"connection_id":148452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:08:16] local.INFO: TCP Data received {"connection_id":149461,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:08:16] local.INFO: Processing buffer {"connection_id":149461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:08:16] local.INFO: IMEI packet received {"connection_id":149461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":149461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:08:20] local.INFO: TCP Data received {"connection_id":149461,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:08:20] local.INFO: Processing buffer {"connection_id":149461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:08:20] local.INFO: IMEI packet received {"connection_id":149461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":149461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:08:21] local.INFO: TCP Data received {"connection_id":149461,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:08:21] local.INFO: Processing buffer {"connection_id":149461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:08:21] local.INFO: IMEI packet received {"connection_id":149461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":149461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:08:21] local.INFO: TCP Data received {"connection_id":149461,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:08:21] local.INFO: Processing buffer {"connection_id":149461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:08:21] local.INFO: Packet analysis {"connection_id":149461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:08:21] local.INFO: Extracted packet for processing {"connection_id":149461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:08:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05: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-08-05 05:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785886662000,"timestamp_ms":1785886662000,"timestamp_seconds":1785886662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf23dd70"} 
[2026-08-05 05:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05: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-08-05 05:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186908416001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:08:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:08:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186908416001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":149461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:08:21] local.INFO: GPS data processed {"connection_id":149461,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:08:21] local.INFO: Acknowledgment sent {"connection_id":149461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:08:26] local.INFO: TCP Data received {"connection_id":149461,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:08:26] local.INFO: Processing buffer {"connection_id":149461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:08:26] local.INFO: Packet analysis {"connection_id":149461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:08:26] local.INFO: Extracted packet for processing {"connection_id":149461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:08:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785886662000,"timestamp_ms":1785886662000,"timestamp_seconds":1785886662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf23dd70"} 
[2026-08-05 05:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186908416001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:08:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:08:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186908416001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":149461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:08:26] local.INFO: GPS data processed {"connection_id":149461,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:08:26] local.INFO: Acknowledgment sent {"connection_id":149461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:08:57] local.INFO: TCP Data received {"connection_id":149461,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:08:57] local.INFO: Processing buffer {"connection_id":149461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:08:57] local.INFO: Packet analysis {"connection_id":149461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:08:57] local.INFO: Extracted packet for processing {"connection_id":149461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:08:57] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785886662000,"timestamp_ms":1785886662000,"timestamp_seconds":1785886662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf23dd70"} 
[2026-08-05 05:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186908416001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:08:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:08:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186908416001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":149461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:08:57] local.INFO: GPS data processed {"connection_id":149461,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:08:57] local.INFO: Acknowledgment sent {"connection_id":149461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:09:16] local.INFO: TCP Data received {"connection_id":150861,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:09:16] local.INFO: Processing buffer {"connection_id":150861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:09:16] local.INFO: IMEI packet received {"connection_id":150861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":150861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:09:21] local.INFO: TCP Data received {"connection_id":150861,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:09:21] local.INFO: Processing buffer {"connection_id":150861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:09:21] local.INFO: IMEI packet received {"connection_id":150861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":150861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:09:22] local.INFO: TCP Data received {"connection_id":150861,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:09:22] local.INFO: Processing buffer {"connection_id":150861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:09:22] local.INFO: Packet analysis {"connection_id":150861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:09:22] local.INFO: Extracted packet for processing {"connection_id":150861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:09:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886662000,"timestamp_ms":1785886662000,"timestamp_seconds":1785886662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf23dd70"} 
[2026-08-05 05:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186908416001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:09:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:09:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186908416001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":150861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:09:22] local.INFO: GPS data processed {"connection_id":150861,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:09:22] local.INFO: Acknowledgment sent {"connection_id":150861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:09:53] local.INFO: TCP Data received {"connection_id":150861,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:09:53] local.INFO: Processing buffer {"connection_id":150861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:09:53] local.INFO: Packet analysis {"connection_id":150861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:09:53] local.INFO: Extracted packet for processing {"connection_id":150861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:09:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886662000,"timestamp_ms":1785886662000,"timestamp_seconds":1785886662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf23dd70"} 
[2026-08-05 05:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186908416001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:09:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:09:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186908416001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":150861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:09:53] local.INFO: GPS data processed {"connection_id":150861,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:09:53] local.INFO: Acknowledgment sent {"connection_id":150861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:10:16] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:10:16] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:10:16] local.INFO: IMEI packet received {"connection_id":148453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":148453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:10:21] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:10:21] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:10:21] local.INFO: IMEI packet received {"connection_id":148453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":148453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:10:22] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:10:22] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:10:22] local.INFO: Packet analysis {"connection_id":148453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:10:22] local.INFO: Extracted packet for processing {"connection_id":148453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:10:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 05:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886662000,"timestamp_ms":1785886662000,"timestamp_seconds":1785886662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf23dd70"} 
[2026-08-05 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-08-05 05:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 05:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186908416001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:10:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:10:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186908416001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":148453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:10:22] local.INFO: GPS data processed {"connection_id":148453,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:10:22] local.INFO: Acknowledgment sent {"connection_id":148453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:10:53] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:10:53] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:10:53] local.INFO: Packet analysis {"connection_id":148453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:10:53] local.INFO: Extracted packet for processing {"connection_id":148453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:10:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886662000,"timestamp_ms":1785886662000,"timestamp_seconds":1785886662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf23dd70"} 
[2026-08-05 05:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186908416001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:10:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:10:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186908416001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":148453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:10:53] local.INFO: GPS data processed {"connection_id":148453,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:10:53] local.INFO: Acknowledgment sent {"connection_id":148453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:11:16] local.INFO: TCP Data received {"connection_id":148231,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:11:16] local.INFO: Processing buffer {"connection_id":148231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:11:16] local.INFO: IMEI packet received {"connection_id":148231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":148231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:11:21] local.INFO: TCP Data received {"connection_id":148231,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:11:21] local.INFO: Processing buffer {"connection_id":148231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:11:21] local.INFO: IMEI packet received {"connection_id":148231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":148231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:11:22] local.INFO: TCP Data received {"connection_id":148231,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:11:22] local.INFO: Processing buffer {"connection_id":148231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:11:22] local.INFO: Packet analysis {"connection_id":148231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:11:22] local.INFO: Extracted packet for processing {"connection_id":148231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:11:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886662000,"timestamp_ms":1785886662000,"timestamp_seconds":1785886662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf23dd70"} 
[2026-08-05 05:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186908416001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:11:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:11:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186908416001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":148231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:11:22] local.INFO: GPS data processed {"connection_id":148231,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:11:22] local.INFO: Acknowledgment sent {"connection_id":148231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:11:53] local.INFO: TCP Data received {"connection_id":148231,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:11:53] local.INFO: Processing buffer {"connection_id":148231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:11:53] local.INFO: Packet analysis {"connection_id":148231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:11:53] local.INFO: Extracted packet for processing {"connection_id":148231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:11:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886662000,"timestamp_ms":1785886662000,"timestamp_seconds":1785886662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf23dd70"} 
[2026-08-05 05:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186908416001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:11:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:11:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186908416001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":148231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:11:53] local.INFO: GPS data processed {"connection_id":148231,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:11:53] local.INFO: Acknowledgment sent {"connection_id":148231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:12:16] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:12:16] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:12:16] local.INFO: IMEI packet received {"connection_id":148454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":148454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:12:21] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:12:21] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:12:21] local.INFO: IMEI packet received {"connection_id":148454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":148454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:12:22] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:12:22] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:12:22] local.INFO: Packet analysis {"connection_id":148454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:12:22] local.INFO: Extracted packet for processing {"connection_id":148454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:12:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886662000,"timestamp_ms":1785886662000,"timestamp_seconds":1785886662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf23dd70"} 
[2026-08-05 05:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186908416001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:12:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:12:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186908416001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":148454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:12:22] local.INFO: GPS data processed {"connection_id":148454,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:12:22] local.INFO: Acknowledgment sent {"connection_id":148454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:12:53] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:12:53] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf23dd70012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:12:53] local.INFO: Packet analysis {"connection_id":148454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:12:53] local.INFO: Extracted packet for processing {"connection_id":148454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf23"} 
[2026-08-05 05:12:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886662000,"timestamp_ms":1785886662000,"timestamp_seconds":1785886662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf23dd70"} 
[2026-08-05 05:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186908416001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:12:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:12:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186908416001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":148454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:12:53] local.INFO: GPS data processed {"connection_id":148454,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:12:53] local.INFO: Acknowledgment sent {"connection_id":148454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:13:16] local.INFO: TCP Data received {"connection_id":149462,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:13:16] local.INFO: Processing buffer {"connection_id":149462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:13:16] local.INFO: IMEI packet received {"connection_id":149462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":149462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:13:21] local.INFO: TCP Data received {"connection_id":149462,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:13:21] local.INFO: Processing buffer {"connection_id":149462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:13:21] local.INFO: IMEI packet received {"connection_id":149462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":149462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:13:22] local.INFO: TCP Data received {"connection_id":149462,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:13:22] local.INFO: Processing buffer {"connection_id":149462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:13:22] local.INFO: Packet analysis {"connection_id":149462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:13:22] local.INFO: Extracted packet for processing {"connection_id":149462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:13:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886963000,"timestamp_ms":1785886963000,"timestamp_seconds":1785886963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf287538"} 
[2026-08-05 05:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186985472001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:13:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:13:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186985472001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":149462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:13:22] local.INFO: GPS data processed {"connection_id":149462,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:13:22] local.INFO: Acknowledgment sent {"connection_id":149462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:13:53] local.INFO: TCP Data received {"connection_id":149462,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:13:53] local.INFO: Processing buffer {"connection_id":149462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:13:53] local.INFO: Packet analysis {"connection_id":149462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:13:53] local.INFO: Extracted packet for processing {"connection_id":149462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:13:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886963000,"timestamp_ms":1785886963000,"timestamp_seconds":1785886963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf287538"} 
[2026-08-05 05:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:13: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-08-05 05:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186985472001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:13:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:13:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186985472001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":149462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:13:53] local.INFO: GPS data processed {"connection_id":149462,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:13:53] local.INFO: Acknowledgment sent {"connection_id":149462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:14:16] local.INFO: TCP Data received {"connection_id":149463,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:14:16] local.INFO: Processing buffer {"connection_id":149463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:14:16] local.INFO: IMEI packet received {"connection_id":149463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":149463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:14:21] local.INFO: TCP Data received {"connection_id":149463,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:14:21] local.INFO: Processing buffer {"connection_id":149463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:14:21] local.INFO: IMEI packet received {"connection_id":149463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":149463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:14:22] local.INFO: TCP Data received {"connection_id":149463,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:14:22] local.INFO: Processing buffer {"connection_id":149463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:14:22] local.INFO: Packet analysis {"connection_id":149463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:14:22] local.INFO: Extracted packet for processing {"connection_id":149463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:14:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886963000,"timestamp_ms":1785886963000,"timestamp_seconds":1785886963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf287538"} 
[2026-08-05 05:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186985472001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:14:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:14:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186985472001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":149463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:14:22] local.INFO: GPS data processed {"connection_id":149463,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:14:22] local.INFO: Acknowledgment sent {"connection_id":149463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:14:55] local.INFO: TCP Data received {"connection_id":149463,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:14:55] local.INFO: Processing buffer {"connection_id":149463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:14:55] local.INFO: Packet analysis {"connection_id":149463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:14:55] local.INFO: Extracted packet for processing {"connection_id":149463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:14:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785886963000,"timestamp_ms":1785886963000,"timestamp_seconds":1785886963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf287538"} 
[2026-08-05 05:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:14: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-08-05 05:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186985472001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:14:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:14:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186985472001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":149463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:14:55] local.INFO: GPS data processed {"connection_id":149463,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:14:55] local.INFO: Acknowledgment sent {"connection_id":149463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:15:16] local.INFO: TCP Data received {"connection_id":150862,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:15:16] local.INFO: Processing buffer {"connection_id":150862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:15:16] local.INFO: IMEI packet received {"connection_id":150862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":150862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:15:21] local.INFO: TCP Data received {"connection_id":150862,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:15:21] local.INFO: Processing buffer {"connection_id":150862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:15:21] local.INFO: IMEI packet received {"connection_id":150862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":150862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:15:22] local.INFO: TCP Data received {"connection_id":150862,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:15:22] local.INFO: Processing buffer {"connection_id":150862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:15:22] local.INFO: Packet analysis {"connection_id":150862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:15:22] local.INFO: Extracted packet for processing {"connection_id":150862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:15:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886963000,"timestamp_ms":1785886963000,"timestamp_seconds":1785886963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf287538"} 
[2026-08-05 05:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186985472001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:15:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:15:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186985472001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":150862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:15:22] local.INFO: GPS data processed {"connection_id":150862,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:15:22] local.INFO: Acknowledgment sent {"connection_id":150862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:15:55] local.INFO: TCP Data received {"connection_id":150862,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:15:55] local.INFO: Processing buffer {"connection_id":150862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:15:55] local.INFO: Packet analysis {"connection_id":150862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:15:55] local.INFO: Extracted packet for processing {"connection_id":150862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:15:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785886963000,"timestamp_ms":1785886963000,"timestamp_seconds":1785886963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf287538"} 
[2026-08-05 05:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:15: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-08-05 05:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186985472001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:15:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:15:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186985472001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":150862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:15:55] local.INFO: GPS data processed {"connection_id":150862,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:15:55] local.INFO: Acknowledgment sent {"connection_id":150862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:16:16] local.INFO: TCP Data received {"connection_id":148455,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:16:16] local.INFO: Processing buffer {"connection_id":148455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:16:16] local.INFO: IMEI packet received {"connection_id":148455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":148455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:16:21] local.INFO: TCP Data received {"connection_id":148455,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:16:21] local.INFO: Processing buffer {"connection_id":148455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:16:21] local.INFO: IMEI packet received {"connection_id":148455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":148455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:16:22] local.INFO: TCP Data received {"connection_id":148455,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:16:22] local.INFO: Processing buffer {"connection_id":148455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:16:22] local.INFO: Packet analysis {"connection_id":148455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:16:22] local.INFO: Extracted packet for processing {"connection_id":148455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:16:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886963000,"timestamp_ms":1785886963000,"timestamp_seconds":1785886963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf287538"} 
[2026-08-05 05:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186985472001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:16:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:16:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186985472001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":148455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:16:22] local.INFO: GPS data processed {"connection_id":148455,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:16:22] local.INFO: Acknowledgment sent {"connection_id":148455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:16:58] local.INFO: TCP Data received {"connection_id":148455,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:16:58] local.INFO: Processing buffer {"connection_id":148455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:16:58] local.INFO: Packet analysis {"connection_id":148455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:16:58] local.INFO: Extracted packet for processing {"connection_id":148455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:16:58] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785886963000,"timestamp_ms":1785886963000,"timestamp_seconds":1785886963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf287538"} 
[2026-08-05 05:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186985472001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:16:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:16:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186985472001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":148455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:16:58] local.INFO: GPS data processed {"connection_id":148455,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:16:58] local.INFO: Acknowledgment sent {"connection_id":148455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:17:16] local.INFO: TCP Data received {"connection_id":149464,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:17:16] local.INFO: Processing buffer {"connection_id":149464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:17:16] local.INFO: IMEI packet received {"connection_id":149464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":149464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:17:21] local.INFO: TCP Data received {"connection_id":149464,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:17:21] local.INFO: Processing buffer {"connection_id":149464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:17:21] local.INFO: IMEI packet received {"connection_id":149464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":149464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:17:22] local.INFO: TCP Data received {"connection_id":149464,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:17:22] local.INFO: Processing buffer {"connection_id":149464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:17:22] local.INFO: Packet analysis {"connection_id":149464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:17:22] local.INFO: Extracted packet for processing {"connection_id":149464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:17:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886963000,"timestamp_ms":1785886963000,"timestamp_seconds":1785886963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf287538"} 
[2026-08-05 05:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186985472001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:17:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:17:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186985472001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":149464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:17:22] local.INFO: GPS data processed {"connection_id":149464,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:17:22] local.INFO: Acknowledgment sent {"connection_id":149464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:17:53] local.INFO: TCP Data received {"connection_id":149464,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:17:53] local.INFO: Processing buffer {"connection_id":149464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:17:53] local.INFO: Packet analysis {"connection_id":149464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:17:53] local.INFO: Extracted packet for processing {"connection_id":149464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:17:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785886963000,"timestamp_ms":1785886963000,"timestamp_seconds":1785886963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf287538"} 
[2026-08-05 05:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:17: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-08-05 05:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186985472001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:17:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:17:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186985472001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":149464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:17:53] local.INFO: GPS data processed {"connection_id":149464,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:17:53] local.INFO: Acknowledgment sent {"connection_id":149464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:18:16] local.INFO: TCP Data received {"connection_id":150863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:18:16] local.INFO: Processing buffer {"connection_id":150863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:18:16] local.INFO: IMEI packet received {"connection_id":150863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":150863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:18:21] local.INFO: TCP Data received {"connection_id":150863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:18:21] local.INFO: Processing buffer {"connection_id":150863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:18:21] local.INFO: IMEI packet received {"connection_id":150863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":150863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:18:22] local.INFO: TCP Data received {"connection_id":150863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:18:22] local.INFO: Processing buffer {"connection_id":150863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf287538012dc5e6c00537dbe80035013a2a..."} 
[2026-08-05 05:18:22] local.INFO: Packet analysis {"connection_id":150863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:18:22] local.INFO: Extracted packet for processing {"connection_id":150863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf28"} 
[2026-08-05 05:18:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457186985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785886963000,"timestamp_ms":1785886963000,"timestamp_seconds":1785886963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf287538"} 
[2026-08-05 05:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457186985472001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457186985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:18:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:18:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457186985472001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":150863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:18:22] local.INFO: GPS data processed {"connection_id":150863,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:18:22] local.INFO: Acknowledgment sent {"connection_id":150863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:18:52] local.INFO: TCP Data received {"connection_id":150863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:18:52] local.INFO: Processing buffer {"connection_id":150863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:18:52] local.INFO: Packet analysis {"connection_id":150863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:18:52] local.INFO: Extracted packet for processing {"connection_id":150863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:18:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785887264000,"timestamp_ms":1785887264000,"timestamp_seconds":1785887264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf2d0d00"} 
[2026-08-05 05:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05: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-08-05 05:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187062528001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:18:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:18:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187062528001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":150863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:18:52] local.INFO: GPS data processed {"connection_id":150863,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:18:52] local.INFO: Acknowledgment sent {"connection_id":150863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:19:16] local.INFO: TCP Data received {"connection_id":148232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:19:16] local.INFO: Processing buffer {"connection_id":148232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:19:16] local.INFO: IMEI packet received {"connection_id":148232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":148232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:19:21] local.INFO: TCP Data received {"connection_id":148232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:19:21] local.INFO: Processing buffer {"connection_id":148232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:19:21] local.INFO: IMEI packet received {"connection_id":148232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":148232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:19:21] local.INFO: TCP Data received {"connection_id":148232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:19:21] local.INFO: Processing buffer {"connection_id":148232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:19:21] local.INFO: Packet analysis {"connection_id":148232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:19:21] local.INFO: Extracted packet for processing {"connection_id":148232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:19:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05: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-08-05 05:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785887264000,"timestamp_ms":1785887264000,"timestamp_seconds":1785887264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf2d0d00"} 
[2026-08-05 05:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05: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-08-05 05:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:19: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-08-05 05:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187062528001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:19:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:19:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187062528001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":148232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:19:21] local.INFO: GPS data processed {"connection_id":148232,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:19:21] local.INFO: Acknowledgment sent {"connection_id":148232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:19:52] local.INFO: TCP Data received {"connection_id":148232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:19:52] local.INFO: Processing buffer {"connection_id":148232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:19:52] local.INFO: Packet analysis {"connection_id":148232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:19:52] local.INFO: Extracted packet for processing {"connection_id":148232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:19:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785887264000,"timestamp_ms":1785887264000,"timestamp_seconds":1785887264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf2d0d00"} 
[2026-08-05 05:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187062528001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:19:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:19:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187062528001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":148232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:19:52] local.INFO: GPS data processed {"connection_id":148232,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:19:52] local.INFO: Acknowledgment sent {"connection_id":148232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:20:16] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:20:16] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:20:16] local.INFO: IMEI packet received {"connection_id":148456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":148456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:20:21] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:20:21] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:20:21] local.INFO: IMEI packet received {"connection_id":148456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":148456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:20:21] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:20:21] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:20:21] local.INFO: Packet analysis {"connection_id":148456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:20:21] local.INFO: Extracted packet for processing {"connection_id":148456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:20:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05: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-08-05 05:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785887264000,"timestamp_ms":1785887264000,"timestamp_seconds":1785887264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf2d0d00"} 
[2026-08-05 05:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:20: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-08-05 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05: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-08-05 05:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:20: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-08-05 05:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187062528001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:20:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:20:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187062528001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":148456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:20:21] local.INFO: GPS data processed {"connection_id":148456,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:20:21] local.INFO: Acknowledgment sent {"connection_id":148456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:20:52] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:20:52] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:20:52] local.INFO: Packet analysis {"connection_id":148456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:20:52] local.INFO: Extracted packet for processing {"connection_id":148456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:20:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785887264000,"timestamp_ms":1785887264000,"timestamp_seconds":1785887264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf2d0d00"} 
[2026-08-05 05:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187062528001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:20:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:20:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187062528001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":148456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:20:52] local.INFO: GPS data processed {"connection_id":148456,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:20:52] local.INFO: Acknowledgment sent {"connection_id":148456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:21:16] local.INFO: TCP Data received {"connection_id":148233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:21:16] local.INFO: Processing buffer {"connection_id":148233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:21:16] local.INFO: IMEI packet received {"connection_id":148233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":148233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:21:21] local.INFO: TCP Data received {"connection_id":148233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:21:21] local.INFO: Processing buffer {"connection_id":148233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:21:21] local.INFO: IMEI packet received {"connection_id":148233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":148233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:21:21] local.INFO: TCP Data received {"connection_id":148233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:21:21] local.INFO: Processing buffer {"connection_id":148233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:21:21] local.INFO: Packet analysis {"connection_id":148233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:21:21] local.INFO: Extracted packet for processing {"connection_id":148233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:21:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785887264000,"timestamp_ms":1785887264000,"timestamp_seconds":1785887264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf2d0d00"} 
[2026-08-05 05:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:21: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-08-05 05:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:21: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-08-05 05:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187062528001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:21:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:21:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187062528001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":148233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:21:21] local.INFO: GPS data processed {"connection_id":148233,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:21:21] local.INFO: Acknowledgment sent {"connection_id":148233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:22:16] local.INFO: TCP Data received {"connection_id":150864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:22:16] local.INFO: Processing buffer {"connection_id":150864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:22:16] local.INFO: IMEI packet received {"connection_id":150864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":150864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:22:21] local.INFO: TCP Data received {"connection_id":150864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:22:21] local.INFO: Processing buffer {"connection_id":150864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:22:21] local.INFO: IMEI packet received {"connection_id":150864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":150864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:22:21] local.INFO: TCP Data received {"connection_id":150864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:22:21] local.INFO: Processing buffer {"connection_id":150864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:22:21] local.INFO: Packet analysis {"connection_id":150864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:22:21] local.INFO: Extracted packet for processing {"connection_id":150864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:22:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05: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-08-05 05:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785887264000,"timestamp_ms":1785887264000,"timestamp_seconds":1785887264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf2d0d00"} 
[2026-08-05 05:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:22: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-08-05 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05: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-08-05 05:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:22: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-08-05 05:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187062528001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:22:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:22:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187062528001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":150864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:22:21] local.INFO: GPS data processed {"connection_id":150864,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:22:21] local.INFO: Acknowledgment sent {"connection_id":150864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:22:22] local.INFO: TCP Data received {"connection_id":148233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:22:22] local.INFO: Processing buffer {"connection_id":148233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:22:22] local.INFO: Packet analysis {"connection_id":148233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:22:22] local.INFO: Extracted packet for processing {"connection_id":148233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:22:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785887264000,"timestamp_ms":1785887264000,"timestamp_seconds":1785887264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf2d0d00"} 
[2026-08-05 05:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187062528001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:22:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:22:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187062528001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":148233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:22:22] local.INFO: GPS data processed {"connection_id":148233,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:22:22] local.INFO: Acknowledgment sent {"connection_id":148233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:22:52] local.INFO: TCP Data received {"connection_id":150864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:22:52] local.INFO: Processing buffer {"connection_id":150864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:22:52] local.INFO: Packet analysis {"connection_id":150864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:22:52] local.INFO: Extracted packet for processing {"connection_id":150864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:22:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785887264000,"timestamp_ms":1785887264000,"timestamp_seconds":1785887264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf2d0d00"} 
[2026-08-05 05:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187062528001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:22:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:22:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187062528001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":150864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:22:52] local.INFO: GPS data processed {"connection_id":150864,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:22:52] local.INFO: Acknowledgment sent {"connection_id":150864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:23:16] local.INFO: TCP Data received {"connection_id":148457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:23:16] local.INFO: Processing buffer {"connection_id":148457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:23:16] local.INFO: IMEI packet received {"connection_id":148457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":148457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:23:21] local.INFO: TCP Data received {"connection_id":148457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:23:21] local.INFO: Processing buffer {"connection_id":148457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:23:21] local.INFO: IMEI packet received {"connection_id":148457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":148457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:23:21] local.INFO: TCP Data received {"connection_id":148457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:23:21] local.INFO: Processing buffer {"connection_id":148457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf2d0d00012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:23:21] local.INFO: Packet analysis {"connection_id":148457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:23:21] local.INFO: Extracted packet for processing {"connection_id":148457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf2d"} 
[2026-08-05 05:23:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785887264000,"timestamp_ms":1785887264000,"timestamp_seconds":1785887264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf2d0d00"} 
[2026-08-05 05:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:23: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-08-05 05:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:23: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-08-05 05:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187062528001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:23:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:23:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187062528001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":148457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:23:21] local.INFO: GPS data processed {"connection_id":148457,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:23:21] local.INFO: Acknowledgment sent {"connection_id":148457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:23:52] local.INFO: TCP Data received {"connection_id":148457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:23:52] local.INFO: Processing buffer {"connection_id":148457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:23:52] local.INFO: Packet analysis {"connection_id":148457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:23:52] local.INFO: Extracted packet for processing {"connection_id":148457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:23:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785887565000,"timestamp_ms":1785887565000,"timestamp_seconds":1785887565,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf31a4c8"} 
[2026-08-05 05:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187139584001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:23:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:23:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187139584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":148457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:23:52] local.INFO: GPS data processed {"connection_id":148457,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:23:52] local.INFO: Acknowledgment sent {"connection_id":148457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:24:16] local.INFO: TCP Data received {"connection_id":148234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:24:16] local.INFO: Processing buffer {"connection_id":148234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:24:16] local.INFO: IMEI packet received {"connection_id":148234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":148234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:24:21] local.INFO: TCP Data received {"connection_id":148234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:24:21] local.INFO: Processing buffer {"connection_id":148234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:24:21] local.INFO: IMEI packet received {"connection_id":148234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":148234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:24:21] local.INFO: TCP Data received {"connection_id":148234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:24:21] local.INFO: Processing buffer {"connection_id":148234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:24:21] local.INFO: Packet analysis {"connection_id":148234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:24:21] local.INFO: Extracted packet for processing {"connection_id":148234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:24:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785887565000,"timestamp_ms":1785887565000,"timestamp_seconds":1785887565,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf31a4c8"} 
[2026-08-05 05:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:24: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-08-05 05:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187139584001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:24:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:24:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187139584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":148234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:24:21] local.INFO: GPS data processed {"connection_id":148234,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:24:21] local.INFO: Acknowledgment sent {"connection_id":148234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:24:52] local.INFO: TCP Data received {"connection_id":148234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:24:52] local.INFO: Processing buffer {"connection_id":148234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:24:52] local.INFO: Packet analysis {"connection_id":148234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:24:52] local.INFO: Extracted packet for processing {"connection_id":148234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:24:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785887565000,"timestamp_ms":1785887565000,"timestamp_seconds":1785887565,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf31a4c8"} 
[2026-08-05 05:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187139584001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:24:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:24:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187139584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":148234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:24:52] local.INFO: GPS data processed {"connection_id":148234,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:24:52] local.INFO: Acknowledgment sent {"connection_id":148234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:25:21] local.INFO: TCP Data received {"connection_id":149465,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:25:21] local.INFO: Processing buffer {"connection_id":149465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:25:21] local.INFO: IMEI packet received {"connection_id":149465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":149465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:25:26] local.INFO: TCP Data received {"connection_id":149465,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:25:26] local.INFO: Processing buffer {"connection_id":149465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:25:26] local.INFO: IMEI packet received {"connection_id":149465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":149465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:25:27] local.INFO: TCP Data received {"connection_id":149465,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:25:27] local.INFO: Processing buffer {"connection_id":149465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:25:27] local.INFO: Packet analysis {"connection_id":149465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:25:27] local.INFO: Extracted packet for processing {"connection_id":149465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:25:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785887565000,"timestamp_ms":1785887565000,"timestamp_seconds":1785887565,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf31a4c8"} 
[2026-08-05 05:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187139584001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:25:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:25:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187139584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":149465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:25:27] local.INFO: GPS data processed {"connection_id":149465,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:25:27] local.INFO: Acknowledgment sent {"connection_id":149465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:25:31] local.INFO: TCP Data received {"connection_id":149465,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:25:31] local.INFO: Processing buffer {"connection_id":149465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:25:31] local.INFO: Packet analysis {"connection_id":149465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:25:31] local.INFO: Extracted packet for processing {"connection_id":149465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:25:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785887565000,"timestamp_ms":1785887565000,"timestamp_seconds":1785887565,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf31a4c8"} 
[2026-08-05 05:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187139584001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:25:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:25:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187139584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":149465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:25:31] local.INFO: GPS data processed {"connection_id":149465,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:25:31] local.INFO: Acknowledgment sent {"connection_id":149465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:26:16] local.INFO: TCP Data received {"connection_id":148235,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:26:16] local.INFO: Processing buffer {"connection_id":148235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:26:16] local.INFO: IMEI packet received {"connection_id":148235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":148235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:26:21] local.INFO: TCP Data received {"connection_id":148235,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:26:21] local.INFO: Processing buffer {"connection_id":148235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:26:21] local.INFO: IMEI packet received {"connection_id":148235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":148235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:26:22] local.INFO: TCP Data received {"connection_id":148235,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:26:22] local.INFO: Processing buffer {"connection_id":148235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:26:22] local.INFO: Packet analysis {"connection_id":148235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:26:22] local.INFO: Extracted packet for processing {"connection_id":148235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:26:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785887565000,"timestamp_ms":1785887565000,"timestamp_seconds":1785887565,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf31a4c8"} 
[2026-08-05 05:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187139584001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:26:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:26:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187139584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":148235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:26:22] local.INFO: GPS data processed {"connection_id":148235,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:26:22] local.INFO: Acknowledgment sent {"connection_id":148235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:26:53] local.INFO: TCP Data received {"connection_id":148235,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:26:53] local.INFO: Processing buffer {"connection_id":148235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:26:53] local.INFO: Packet analysis {"connection_id":148235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:26:53] local.INFO: Extracted packet for processing {"connection_id":148235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:26:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785887565000,"timestamp_ms":1785887565000,"timestamp_seconds":1785887565,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf31a4c8"} 
[2026-08-05 05:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187139584001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:26:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:26:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187139584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":148235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:26:53] local.INFO: GPS data processed {"connection_id":148235,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:26:53] local.INFO: Acknowledgment sent {"connection_id":148235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:27:16] local.INFO: TCP Data received {"connection_id":150865,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:27:16] local.INFO: Processing buffer {"connection_id":150865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:27:16] local.INFO: IMEI packet received {"connection_id":150865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":150865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:27:21] local.INFO: TCP Data received {"connection_id":150865,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:27:21] local.INFO: Processing buffer {"connection_id":150865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:27:21] local.INFO: IMEI packet received {"connection_id":150865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":150865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:27:22] local.INFO: TCP Data received {"connection_id":150865,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:27:22] local.INFO: Processing buffer {"connection_id":150865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:27:22] local.INFO: Packet analysis {"connection_id":150865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:27:22] local.INFO: Extracted packet for processing {"connection_id":150865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:27:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785887565000,"timestamp_ms":1785887565000,"timestamp_seconds":1785887565,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf31a4c8"} 
[2026-08-05 05:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187139584001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:27:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:27:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187139584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":150865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:27:22] local.INFO: GPS data processed {"connection_id":150865,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:27:22] local.INFO: Acknowledgment sent {"connection_id":150865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:27:53] local.INFO: TCP Data received {"connection_id":150865,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:27:53] local.INFO: Processing buffer {"connection_id":150865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:27:53] local.INFO: Packet analysis {"connection_id":150865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:27:53] local.INFO: Extracted packet for processing {"connection_id":150865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:27:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785887565000,"timestamp_ms":1785887565000,"timestamp_seconds":1785887565,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf31a4c8"} 
[2026-08-05 05:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187139584001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:27:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:27:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187139584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":150865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:27:53] local.INFO: GPS data processed {"connection_id":150865,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:27:53] local.INFO: Acknowledgment sent {"connection_id":150865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:28:16] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:28:16] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:28:16] local.INFO: IMEI packet received {"connection_id":148458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":148458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:28:21] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:28:21] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:28:21] local.INFO: IMEI packet received {"connection_id":148458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":148458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:28:22] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:28:22] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf31a4c8012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:28:22] local.INFO: Packet analysis {"connection_id":148458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:28:22] local.INFO: Extracted packet for processing {"connection_id":148458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf31"} 
[2026-08-05 05:28:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785887565000,"timestamp_ms":1785887565000,"timestamp_seconds":1785887565,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf31a4c8"} 
[2026-08-05 05:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187139584001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:28:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:28:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187139584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":148458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:28:22] local.INFO: GPS data processed {"connection_id":148458,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:28:22] local.INFO: Acknowledgment sent {"connection_id":148458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:28:53] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:28:53] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:28:53] local.INFO: Packet analysis {"connection_id":148458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:28:53] local.INFO: Extracted packet for processing {"connection_id":148458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:28:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785887866000,"timestamp_ms":1785887866000,"timestamp_seconds":1785887866,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf363c90"} 
[2026-08-05 05:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:28: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-08-05 05:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187216640001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:28:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:28:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187216640001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":148458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:28:53] local.INFO: GPS data processed {"connection_id":148458,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:28:53] local.INFO: Acknowledgment sent {"connection_id":148458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:29:16] local.INFO: TCP Data received {"connection_id":148236,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:29:16] local.INFO: Processing buffer {"connection_id":148236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:29:16] local.INFO: IMEI packet received {"connection_id":148236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":148236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:29:21] local.INFO: TCP Data received {"connection_id":148236,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:29:21] local.INFO: Processing buffer {"connection_id":148236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:29:21] local.INFO: IMEI packet received {"connection_id":148236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":148236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:29:22] local.INFO: TCP Data received {"connection_id":148236,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:29:22] local.INFO: Processing buffer {"connection_id":148236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:29:22] local.INFO: Packet analysis {"connection_id":148236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:29:22] local.INFO: Extracted packet for processing {"connection_id":148236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:29:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785887866000,"timestamp_ms":1785887866000,"timestamp_seconds":1785887866,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf363c90"} 
[2026-08-05 05:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187216640001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:29:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:29:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187216640001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":148236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:29:22] local.INFO: GPS data processed {"connection_id":148236,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:29:22] local.INFO: Acknowledgment sent {"connection_id":148236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:29:53] local.INFO: TCP Data received {"connection_id":148236,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:29:53] local.INFO: Processing buffer {"connection_id":148236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:29:53] local.INFO: Packet analysis {"connection_id":148236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:29:53] local.INFO: Extracted packet for processing {"connection_id":148236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:29:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785887866000,"timestamp_ms":1785887866000,"timestamp_seconds":1785887866,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf363c90"} 
[2026-08-05 05:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:29: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-08-05 05:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187216640001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:29:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:29:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187216640001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":148236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:29:53] local.INFO: GPS data processed {"connection_id":148236,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:29:53] local.INFO: Acknowledgment sent {"connection_id":148236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:30:21] local.INFO: TCP Data received {"connection_id":148237,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:30:21] local.INFO: Processing buffer {"connection_id":148237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:30:21] local.INFO: IMEI packet received {"connection_id":148237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":148237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:30:26] local.INFO: TCP Data received {"connection_id":148237,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:30:26] local.INFO: Processing buffer {"connection_id":148237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:30:26] local.INFO: IMEI packet received {"connection_id":148237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":148237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:30:27] local.INFO: TCP Data received {"connection_id":148237,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:30:27] local.INFO: Processing buffer {"connection_id":148237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:30:27] local.INFO: Packet analysis {"connection_id":148237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:30:27] local.INFO: Extracted packet for processing {"connection_id":148237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:30:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785887866000,"timestamp_ms":1785887866000,"timestamp_seconds":1785887866,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf363c90"} 
[2026-08-05 05:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187216640001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:30:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:30:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187216640001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":148237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:30:27] local.INFO: GPS data processed {"connection_id":148237,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:30:27] local.INFO: Acknowledgment sent {"connection_id":148237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:30:31] local.INFO: TCP Data received {"connection_id":148237,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:30:31] local.INFO: Processing buffer {"connection_id":148237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:30:31] local.INFO: Packet analysis {"connection_id":148237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:30:31] local.INFO: Extracted packet for processing {"connection_id":148237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:30:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05: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-08-05 05:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785887866000,"timestamp_ms":1785887866000,"timestamp_seconds":1785887866,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf363c90"} 
[2026-08-05 05:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05: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-08-05 05:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187216640001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:30:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:30:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187216640001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":148237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:30:31] local.INFO: GPS data processed {"connection_id":148237,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:30:31] local.INFO: Acknowledgment sent {"connection_id":148237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:31:16] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:31:16] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:31:16] local.INFO: IMEI packet received {"connection_id":148459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":148459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:31:21] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:31:21] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:31:21] local.INFO: IMEI packet received {"connection_id":148459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":148459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:31:22] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:31:22] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:31:22] local.INFO: Packet analysis {"connection_id":148459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:31:22] local.INFO: Extracted packet for processing {"connection_id":148459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:31:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785887866000,"timestamp_ms":1785887866000,"timestamp_seconds":1785887866,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf363c90"} 
[2026-08-05 05:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187216640001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:31:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:31:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187216640001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":148459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:31:22] local.INFO: GPS data processed {"connection_id":148459,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:31:22] local.INFO: Acknowledgment sent {"connection_id":148459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:31:53] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:31:53] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:31:53] local.INFO: Packet analysis {"connection_id":148459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:31:53] local.INFO: Extracted packet for processing {"connection_id":148459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:31:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785887866000,"timestamp_ms":1785887866000,"timestamp_seconds":1785887866,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf363c90"} 
[2026-08-05 05:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:31: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-08-05 05:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187216640001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:31:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:31:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187216640001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":148459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:31:53] local.INFO: GPS data processed {"connection_id":148459,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:31:53] local.INFO: Acknowledgment sent {"connection_id":148459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:32:16] local.INFO: TCP Data received {"connection_id":150866,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:32:16] local.INFO: Processing buffer {"connection_id":150866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:32:16] local.INFO: IMEI packet received {"connection_id":150866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":150866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:32:21] local.INFO: TCP Data received {"connection_id":150866,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:32:21] local.INFO: Processing buffer {"connection_id":150866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:32:21] local.INFO: IMEI packet received {"connection_id":150866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":150866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:32:22] local.INFO: TCP Data received {"connection_id":150866,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:32:22] local.INFO: Processing buffer {"connection_id":150866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:32:22] local.INFO: Packet analysis {"connection_id":150866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:32:22] local.INFO: Extracted packet for processing {"connection_id":150866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:32:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785887866000,"timestamp_ms":1785887866000,"timestamp_seconds":1785887866,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf363c90"} 
[2026-08-05 05:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187216640001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:32:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:32:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187216640001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":150866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:32:22] local.INFO: GPS data processed {"connection_id":150866,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:32:22] local.INFO: Acknowledgment sent {"connection_id":150866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:32:55] local.INFO: TCP Data received {"connection_id":150866,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:32:55] local.INFO: Processing buffer {"connection_id":150866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:32:55] local.INFO: Packet analysis {"connection_id":150866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:32:55] local.INFO: Extracted packet for processing {"connection_id":150866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:32:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785887866000,"timestamp_ms":1785887866000,"timestamp_seconds":1785887866,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf363c90"} 
[2026-08-05 05:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:32: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-08-05 05:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187216640001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:32:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:32:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187216640001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":150866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:32:55] local.INFO: GPS data processed {"connection_id":150866,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:32:55] local.INFO: Acknowledgment sent {"connection_id":150866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:33:16] local.INFO: TCP Data received {"connection_id":149466,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:33:16] local.INFO: Processing buffer {"connection_id":149466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:33:16] local.INFO: IMEI packet received {"connection_id":149466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":149466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:33:21] local.INFO: TCP Data received {"connection_id":149466,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:33:21] local.INFO: Processing buffer {"connection_id":149466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:33:21] local.INFO: IMEI packet received {"connection_id":149466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":149466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:33:22] local.INFO: TCP Data received {"connection_id":149466,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:33:22] local.INFO: Processing buffer {"connection_id":149466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf363c90012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:33:22] local.INFO: Packet analysis {"connection_id":149466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:33:22] local.INFO: Extracted packet for processing {"connection_id":149466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf36"} 
[2026-08-05 05:33:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785887866000,"timestamp_ms":1785887866000,"timestamp_seconds":1785887866,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf363c90"} 
[2026-08-05 05:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187216640001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:33:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:33:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187216640001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":149466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:33:22] local.INFO: GPS data processed {"connection_id":149466,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:33:22] local.INFO: Acknowledgment sent {"connection_id":149466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:33:53] local.INFO: TCP Data received {"connection_id":149466,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:33:53] local.INFO: Processing buffer {"connection_id":149466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:33:53] local.INFO: Packet analysis {"connection_id":149466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:33:53] local.INFO: Extracted packet for processing {"connection_id":149466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:33:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785888167000,"timestamp_ms":1785888167000,"timestamp_seconds":1785888167,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3ad458"} 
[2026-08-05 05:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:33: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-08-05 05:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187293696001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:33:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:33:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187293696001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":149466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:33:53] local.INFO: GPS data processed {"connection_id":149466,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:33:53] local.INFO: Acknowledgment sent {"connection_id":149466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:34:15] local.INFO: TCP Data received {"connection_id":148460,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:34:15] local.INFO: Processing buffer {"connection_id":148460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:34:15] local.INFO: IMEI packet received {"connection_id":148460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":148460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:34:21] local.INFO: TCP Data received {"connection_id":148460,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:34:21] local.INFO: Processing buffer {"connection_id":148460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:34:21] local.INFO: IMEI packet received {"connection_id":148460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":148460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:34:22] local.INFO: TCP Data received {"connection_id":148460,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:34:22] local.INFO: Processing buffer {"connection_id":148460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:34:22] local.INFO: Packet analysis {"connection_id":148460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:34:22] local.INFO: Extracted packet for processing {"connection_id":148460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:34:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785888167000,"timestamp_ms":1785888167000,"timestamp_seconds":1785888167,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3ad458"} 
[2026-08-05 05:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187293696001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:34:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:34:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187293696001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":148460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:34:22] local.INFO: GPS data processed {"connection_id":148460,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:34:22] local.INFO: Acknowledgment sent {"connection_id":148460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:34:53] local.INFO: TCP Data received {"connection_id":148460,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:34:53] local.INFO: Processing buffer {"connection_id":148460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:34:53] local.INFO: Packet analysis {"connection_id":148460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:34:53] local.INFO: Extracted packet for processing {"connection_id":148460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:34:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785888167000,"timestamp_ms":1785888167000,"timestamp_seconds":1785888167,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3ad458"} 
[2026-08-05 05:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:34: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-08-05 05:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187293696001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:34:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:34:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187293696001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":148460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:34:53] local.INFO: GPS data processed {"connection_id":148460,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:34:53] local.INFO: Acknowledgment sent {"connection_id":148460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:35:21] local.INFO: TCP Data received {"connection_id":150867,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:35:21] local.INFO: Processing buffer {"connection_id":150867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:35:21] local.INFO: IMEI packet received {"connection_id":150867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":150867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:35:26] local.INFO: TCP Data received {"connection_id":150867,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:35:26] local.INFO: Processing buffer {"connection_id":150867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:35:26] local.INFO: IMEI packet received {"connection_id":150867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":150867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:35:26] local.INFO: TCP Data received {"connection_id":150867,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:35:26] local.INFO: Processing buffer {"connection_id":150867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:35:26] local.INFO: Packet analysis {"connection_id":150867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:35:26] local.INFO: Extracted packet for processing {"connection_id":150867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:35:26] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785888167000,"timestamp_ms":1785888167000,"timestamp_seconds":1785888167,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3ad458"} 
[2026-08-05 05:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187293696001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:35:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:35:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187293696001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":150867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:35:27] local.INFO: GPS data processed {"connection_id":150867,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:35:27] local.INFO: Acknowledgment sent {"connection_id":150867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:35:31] local.INFO: TCP Data received {"connection_id":150867,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:35:31] local.INFO: Processing buffer {"connection_id":150867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:35:31] local.INFO: Packet analysis {"connection_id":150867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:35:31] local.INFO: Extracted packet for processing {"connection_id":150867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:35:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785888167000,"timestamp_ms":1785888167000,"timestamp_seconds":1785888167,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3ad458"} 
[2026-08-05 05:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":150867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":150867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":150867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187293696001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:35:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:35:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187293696001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":150867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:35:31] local.INFO: GPS data processed {"connection_id":150867,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:35:31] local.INFO: Acknowledgment sent {"connection_id":150867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:36:16] local.INFO: TCP Data received {"connection_id":148238,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:36:16] local.INFO: Processing buffer {"connection_id":148238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:36:16] local.INFO: IMEI packet received {"connection_id":148238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":148238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:36:21] local.INFO: TCP Data received {"connection_id":148238,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:36:21] local.INFO: Processing buffer {"connection_id":148238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:36:21] local.INFO: IMEI packet received {"connection_id":148238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":148238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:36:22] local.INFO: TCP Data received {"connection_id":148238,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:36:22] local.INFO: Processing buffer {"connection_id":148238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:36:22] local.INFO: Packet analysis {"connection_id":148238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:36:22] local.INFO: Extracted packet for processing {"connection_id":148238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:36:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785888167000,"timestamp_ms":1785888167000,"timestamp_seconds":1785888167,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3ad458"} 
[2026-08-05 05:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187293696001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:36:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:36:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187293696001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":148238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:36:22] local.INFO: GPS data processed {"connection_id":148238,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:36:22] local.INFO: Acknowledgment sent {"connection_id":148238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:36:53] local.INFO: TCP Data received {"connection_id":148238,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:36:53] local.INFO: Processing buffer {"connection_id":148238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:36:53] local.INFO: Packet analysis {"connection_id":148238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:36:53] local.INFO: Extracted packet for processing {"connection_id":148238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:36:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785888167000,"timestamp_ms":1785888167000,"timestamp_seconds":1785888167,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3ad458"} 
[2026-08-05 05:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:36: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-08-05 05:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187293696001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:36:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:36:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187293696001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":148238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:36:53] local.INFO: GPS data processed {"connection_id":148238,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:36:53] local.INFO: Acknowledgment sent {"connection_id":148238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:37:16] local.INFO: TCP Data received {"connection_id":148239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:37:16] local.INFO: Processing buffer {"connection_id":148239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:37:16] local.INFO: IMEI packet received {"connection_id":148239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":148239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:37:21] local.INFO: TCP Data received {"connection_id":148239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:37:21] local.INFO: Processing buffer {"connection_id":148239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:37:21] local.INFO: IMEI packet received {"connection_id":148239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":148239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:37:22] local.INFO: TCP Data received {"connection_id":148239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:37:22] local.INFO: Processing buffer {"connection_id":148239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:37:22] local.INFO: Packet analysis {"connection_id":148239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:37:22] local.INFO: Extracted packet for processing {"connection_id":148239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:37:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785888167000,"timestamp_ms":1785888167000,"timestamp_seconds":1785888167,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3ad458"} 
[2026-08-05 05:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187293696001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:37:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:37:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187293696001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":148239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:37:22] local.INFO: GPS data processed {"connection_id":148239,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:37:22] local.INFO: Acknowledgment sent {"connection_id":148239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:37:53] local.INFO: TCP Data received {"connection_id":148239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:37:53] local.INFO: Processing buffer {"connection_id":148239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:37:53] local.INFO: Packet analysis {"connection_id":148239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:37:53] local.INFO: Extracted packet for processing {"connection_id":148239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:37:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785888167000,"timestamp_ms":1785888167000,"timestamp_seconds":1785888167,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3ad458"} 
[2026-08-05 05:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05: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-08-05 05:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187293696001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:37:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:37:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187293696001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":148239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:37:53] local.INFO: GPS data processed {"connection_id":148239,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:37:53] local.INFO: Acknowledgment sent {"connection_id":148239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:38:16] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:38:16] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:38:16] local.INFO: IMEI packet received {"connection_id":148461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":148461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:38:21] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:38:21] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:38:21] local.INFO: IMEI packet received {"connection_id":148461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":148461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:38:22] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:38:22] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3ad458012dc5e6c00537dbe80035013a2c..."} 
[2026-08-05 05:38:22] local.INFO: Packet analysis {"connection_id":148461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:38:22] local.INFO: Extracted packet for processing {"connection_id":148461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3a"} 
[2026-08-05 05:38:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785888167000,"timestamp_ms":1785888167000,"timestamp_seconds":1785888167,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3ad458"} 
[2026-08-05 05:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187293696001,"66":25397,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:38:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:38:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187293696001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":148461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:38:22] local.INFO: GPS data processed {"connection_id":148461,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:38:22] local.INFO: Acknowledgment sent {"connection_id":148461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:38:52] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:38:52] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:38:52] local.INFO: Packet analysis {"connection_id":148461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:38:52] local.INFO: Extracted packet for processing {"connection_id":148461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:38:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785888468000,"timestamp_ms":1785888468000,"timestamp_seconds":1785888468,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3f6c20"} 
[2026-08-05 05:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187370752001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:38:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:38:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187370752001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":148461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:38:53] local.INFO: GPS data processed {"connection_id":148461,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:38:53] local.INFO: Acknowledgment sent {"connection_id":148461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:39:21] local.INFO: TCP Data received {"connection_id":148240,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:39:21] local.INFO: Processing buffer {"connection_id":148240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:39:21] local.INFO: IMEI packet received {"connection_id":148240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":148240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:39:26] local.INFO: TCP Data received {"connection_id":148240,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:39:26] local.INFO: Processing buffer {"connection_id":148240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:39:26] local.INFO: IMEI packet received {"connection_id":148240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":148240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:39:27] local.INFO: TCP Data received {"connection_id":148240,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:39:27] local.INFO: Processing buffer {"connection_id":148240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:39:27] local.INFO: Packet analysis {"connection_id":148240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:39:27] local.INFO: Extracted packet for processing {"connection_id":148240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:39:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785888468000,"timestamp_ms":1785888468000,"timestamp_seconds":1785888468,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3f6c20"} 
[2026-08-05 05:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187370752001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:39:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:39:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187370752001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":148240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:39:27] local.INFO: GPS data processed {"connection_id":148240,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:39:27] local.INFO: Acknowledgment sent {"connection_id":148240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:39:31] local.INFO: TCP Data received {"connection_id":148240,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:39:31] local.INFO: Processing buffer {"connection_id":148240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:39:31] local.INFO: Packet analysis {"connection_id":148240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:39:31] local.INFO: Extracted packet for processing {"connection_id":148240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:39:31] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785888468000,"timestamp_ms":1785888468000,"timestamp_seconds":1785888468,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3f6c20"} 
[2026-08-05 05:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187370752001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:39:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:39:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187370752001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":148240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:39:31] local.INFO: GPS data processed {"connection_id":148240,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:39:31] local.INFO: Acknowledgment sent {"connection_id":148240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:40:16] local.INFO: TCP Data received {"connection_id":148241,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:40:16] local.INFO: Processing buffer {"connection_id":148241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:40:16] local.INFO: IMEI packet received {"connection_id":148241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":148241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:40:21] local.INFO: TCP Data received {"connection_id":148241,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:40:21] local.INFO: Processing buffer {"connection_id":148241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:40:21] local.INFO: IMEI packet received {"connection_id":148241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":148241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:40:23] local.INFO: TCP Data received {"connection_id":148241,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:40:23] local.INFO: Processing buffer {"connection_id":148241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:40:23] local.INFO: Packet analysis {"connection_id":148241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:40:23] local.INFO: Extracted packet for processing {"connection_id":148241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:40:23] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785888468000,"timestamp_ms":1785888468000,"timestamp_seconds":1785888468,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3f6c20"} 
[2026-08-05 05:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187370752001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:40:23] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:40:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187370752001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":148241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:40:23] local.INFO: GPS data processed {"connection_id":148241,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:40:23] local.INFO: Acknowledgment sent {"connection_id":148241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:40:54] local.INFO: TCP Data received {"connection_id":148241,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:40:54] local.INFO: Processing buffer {"connection_id":148241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:40:54] local.INFO: Packet analysis {"connection_id":148241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:40:54] local.INFO: Extracted packet for processing {"connection_id":148241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:40:54] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785888468000,"timestamp_ms":1785888468000,"timestamp_seconds":1785888468,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3f6c20"} 
[2026-08-05 05:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187370752001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:40:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:40:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187370752001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":148241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:40:54] local.INFO: GPS data processed {"connection_id":148241,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:40:54] local.INFO: Acknowledgment sent {"connection_id":148241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:41:15] local.INFO: TCP Data received {"connection_id":150868,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:41:15] local.INFO: Processing buffer {"connection_id":150868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:41:15] local.INFO: IMEI packet received {"connection_id":150868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":150868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:41:21] local.INFO: TCP Data received {"connection_id":150868,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:41:21] local.INFO: Processing buffer {"connection_id":150868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:41:21] local.INFO: IMEI packet received {"connection_id":150868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":150868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:41:22] local.INFO: TCP Data received {"connection_id":150868,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:41:22] local.INFO: Processing buffer {"connection_id":150868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:41:22] local.INFO: Packet analysis {"connection_id":150868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:41:22] local.INFO: Extracted packet for processing {"connection_id":150868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:41:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785888468000,"timestamp_ms":1785888468000,"timestamp_seconds":1785888468,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3f6c20"} 
[2026-08-05 05:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187370752001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:41:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:41:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187370752001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":150868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:41:22] local.INFO: GPS data processed {"connection_id":150868,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:41:22] local.INFO: Acknowledgment sent {"connection_id":150868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:41:55] local.INFO: TCP Data received {"connection_id":150868,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:41:55] local.INFO: Processing buffer {"connection_id":150868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:41:55] local.INFO: Packet analysis {"connection_id":150868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:41:55] local.INFO: Extracted packet for processing {"connection_id":150868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:41:55] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785888468000,"timestamp_ms":1785888468000,"timestamp_seconds":1785888468,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3f6c20"} 
[2026-08-05 05:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:41: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-08-05 05:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187370752001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:41:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:41:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187370752001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":150868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:41:55] local.INFO: GPS data processed {"connection_id":150868,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:41:55] local.INFO: Acknowledgment sent {"connection_id":150868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:42:16] local.INFO: TCP Data received {"connection_id":150869,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:42:16] local.INFO: Processing buffer {"connection_id":150869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:42:16] local.INFO: IMEI packet received {"connection_id":150869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":150869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:42:21] local.INFO: TCP Data received {"connection_id":150869,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:42:21] local.INFO: Processing buffer {"connection_id":150869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:42:21] local.INFO: IMEI packet received {"connection_id":150869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":150869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:42:22] local.INFO: TCP Data received {"connection_id":150869,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:42:22] local.INFO: Processing buffer {"connection_id":150869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:42:22] local.INFO: Packet analysis {"connection_id":150869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:42:22] local.INFO: Extracted packet for processing {"connection_id":150869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:42:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785888468000,"timestamp_ms":1785888468000,"timestamp_seconds":1785888468,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3f6c20"} 
[2026-08-05 05:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187370752001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:42:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:42:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187370752001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":150869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:42:22] local.INFO: GPS data processed {"connection_id":150869,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:42:22] local.INFO: Acknowledgment sent {"connection_id":150869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:42:53] local.INFO: TCP Data received {"connection_id":150869,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:42:53] local.INFO: Processing buffer {"connection_id":150869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:42:53] local.INFO: Packet analysis {"connection_id":150869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:42:53] local.INFO: Extracted packet for processing {"connection_id":150869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:42:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785888468000,"timestamp_ms":1785888468000,"timestamp_seconds":1785888468,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3f6c20"} 
[2026-08-05 05:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:42: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-08-05 05:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187370752001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:42:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:42:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187370752001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":150869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:42:53] local.INFO: GPS data processed {"connection_id":150869,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:42:53] local.INFO: Acknowledgment sent {"connection_id":150869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:43:15] local.INFO: TCP Data received {"connection_id":149467,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:43:15] local.INFO: Processing buffer {"connection_id":149467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:43:15] local.INFO: IMEI packet received {"connection_id":149467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":149467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:43:21] local.INFO: TCP Data received {"connection_id":149467,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:43:21] local.INFO: Processing buffer {"connection_id":149467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:43:21] local.INFO: IMEI packet received {"connection_id":149467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":149467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:43:22] local.INFO: TCP Data received {"connection_id":149467,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:43:22] local.INFO: Processing buffer {"connection_id":149467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf3f6c20012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:43:22] local.INFO: Packet analysis {"connection_id":149467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:43:22] local.INFO: Extracted packet for processing {"connection_id":149467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf3f"} 
[2026-08-05 05:43:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785888468000,"timestamp_ms":1785888468000,"timestamp_seconds":1785888468,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf3f6c20"} 
[2026-08-05 05:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05: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-08-05 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 05:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187370752001,"66":25343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:43:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:43:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187370752001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":149467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:43:22] local.INFO: GPS data processed {"connection_id":149467,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:43:22] local.INFO: Acknowledgment sent {"connection_id":149467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:43:52] local.INFO: TCP Data received {"connection_id":149467,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:43:52] local.INFO: Processing buffer {"connection_id":149467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:43:52] local.INFO: Packet analysis {"connection_id":149467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:43:52] local.INFO: Extracted packet for processing {"connection_id":149467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:43:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785888769000,"timestamp_ms":1785888769000,"timestamp_seconds":1785888769,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4403e8"} 
[2026-08-05 05:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187447808001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:43:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:43:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187447808001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":149467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:43:52] local.INFO: GPS data processed {"connection_id":149467,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:43:52] local.INFO: Acknowledgment sent {"connection_id":149467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:44:21] local.INFO: TCP Data received {"connection_id":148462,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:44:21] local.INFO: Processing buffer {"connection_id":148462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:44:21] local.INFO: IMEI packet received {"connection_id":148462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":148462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:44:26] local.INFO: TCP Data received {"connection_id":148462,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:44:26] local.INFO: Processing buffer {"connection_id":148462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:44:26] local.INFO: IMEI packet received {"connection_id":148462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":148462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:44:27] local.INFO: TCP Data received {"connection_id":148462,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:44:27] local.INFO: Processing buffer {"connection_id":148462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:44:27] local.INFO: Packet analysis {"connection_id":148462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:44:27] local.INFO: Extracted packet for processing {"connection_id":148462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:44:27] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785888769000,"timestamp_ms":1785888769000,"timestamp_seconds":1785888769,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4403e8"} 
[2026-08-05 05:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187447808001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:44:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:44:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187447808001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":148462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:44:27] local.INFO: GPS data processed {"connection_id":148462,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:44:27] local.INFO: Acknowledgment sent {"connection_id":148462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:44:57] local.INFO: TCP Data received {"connection_id":148462,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:44:57] local.INFO: Processing buffer {"connection_id":148462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:44:57] local.INFO: Packet analysis {"connection_id":148462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:44:57] local.INFO: Extracted packet for processing {"connection_id":148462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:44:57] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785888769000,"timestamp_ms":1785888769000,"timestamp_seconds":1785888769,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4403e8"} 
[2026-08-05 05:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187447808001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:44:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:44:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187447808001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":148462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:44:57] local.INFO: GPS data processed {"connection_id":148462,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:44:57] local.INFO: Acknowledgment sent {"connection_id":148462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:45:16] local.INFO: TCP Data received {"connection_id":148242,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:45:16] local.INFO: Processing buffer {"connection_id":148242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:45:16] local.INFO: IMEI packet received {"connection_id":148242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":148242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:45:21] local.INFO: TCP Data received {"connection_id":148242,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:45:21] local.INFO: Processing buffer {"connection_id":148242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:45:21] local.INFO: IMEI packet received {"connection_id":148242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":148242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:45:22] local.INFO: TCP Data received {"connection_id":148242,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:45:22] local.INFO: Processing buffer {"connection_id":148242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:45:22] local.INFO: Packet analysis {"connection_id":148242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:45:22] local.INFO: Extracted packet for processing {"connection_id":148242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:45:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785888769000,"timestamp_ms":1785888769000,"timestamp_seconds":1785888769,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4403e8"} 
[2026-08-05 05:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187447808001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:45:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:45:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187447808001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":148242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:45:22] local.INFO: GPS data processed {"connection_id":148242,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:45:22] local.INFO: Acknowledgment sent {"connection_id":148242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:45:53] local.INFO: TCP Data received {"connection_id":148242,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:45:53] local.INFO: Processing buffer {"connection_id":148242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:45:53] local.INFO: Packet analysis {"connection_id":148242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:45:53] local.INFO: Extracted packet for processing {"connection_id":148242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:45:53] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785888769000,"timestamp_ms":1785888769000,"timestamp_seconds":1785888769,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4403e8"} 
[2026-08-05 05:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187447808001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:45:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:45:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187447808001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":148242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:45:53] local.INFO: GPS data processed {"connection_id":148242,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:45:53] local.INFO: Acknowledgment sent {"connection_id":148242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:46:15] local.INFO: TCP Data received {"connection_id":148243,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:46:15] local.INFO: Processing buffer {"connection_id":148243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:46:15] local.INFO: IMEI packet received {"connection_id":148243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":148243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:46:20] local.INFO: TCP Data received {"connection_id":148243,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:46:20] local.INFO: Processing buffer {"connection_id":148243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:46:20] local.INFO: IMEI packet received {"connection_id":148243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":148243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:46:21] local.INFO: TCP Data received {"connection_id":148243,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:46:21] local.INFO: Processing buffer {"connection_id":148243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:46:21] local.INFO: Packet analysis {"connection_id":148243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:46:21] local.INFO: Extracted packet for processing {"connection_id":148243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:46:21] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785888769000,"timestamp_ms":1785888769000,"timestamp_seconds":1785888769,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4403e8"} 
[2026-08-05 05:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187447808001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:46:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:46:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187447808001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":148243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:46:21] local.INFO: GPS data processed {"connection_id":148243,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:46:21] local.INFO: Acknowledgment sent {"connection_id":148243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:46:52] local.INFO: TCP Data received {"connection_id":148243,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:46:52] local.INFO: Processing buffer {"connection_id":148243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:46:52] local.INFO: Packet analysis {"connection_id":148243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:46:52] local.INFO: Extracted packet for processing {"connection_id":148243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:46:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785888769000,"timestamp_ms":1785888769000,"timestamp_seconds":1785888769,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4403e8"} 
[2026-08-05 05:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187447808001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:46:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:46:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187447808001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":148243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:46:52] local.INFO: GPS data processed {"connection_id":148243,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:46:52] local.INFO: Acknowledgment sent {"connection_id":148243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:47:15] local.INFO: TCP Data received {"connection_id":150870,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:47:15] local.INFO: Processing buffer {"connection_id":150870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:47:15] local.INFO: IMEI packet received {"connection_id":150870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":150870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:47:21] local.INFO: TCP Data received {"connection_id":150870,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:47:21] local.INFO: Processing buffer {"connection_id":150870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:47:21] local.INFO: IMEI packet received {"connection_id":150870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":150870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:47:22] local.INFO: TCP Data received {"connection_id":150870,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:47:22] local.INFO: Processing buffer {"connection_id":150870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4403e8012dc5e6c00537dbe80035013a2e..."} 
[2026-08-05 05:47:22] local.INFO: Packet analysis {"connection_id":150870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:47:22] local.INFO: Extracted packet for processing {"connection_id":150870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf44"} 
[2026-08-05 05:47:22] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785888769000,"timestamp_ms":1785888769000,"timestamp_seconds":1785888769,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4403e8"} 
[2026-08-05 05:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 05:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187447808001,"66":25430,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:47:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:47:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187447808001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":150870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:47:22] local.INFO: GPS data processed {"connection_id":150870,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:47:22] local.INFO: Acknowledgment sent {"connection_id":150870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:47:52] local.INFO: TCP Data received {"connection_id":150870,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf47c8c0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf47c8c0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:47:52] local.INFO: Processing buffer {"connection_id":150870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf47c8c0012dc5e6c00537dbe80035013a2d..."} 
[2026-08-05 05:47:52] local.INFO: Packet analysis {"connection_id":150870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf47"} 
[2026-08-05 05:47:52] local.INFO: Extracted packet for processing {"connection_id":150870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf47"} 
[2026-08-05 05:47:52] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87546856,"longitude_deg":76.7944384,"latitude_deg":8.7546856,"altitude":53,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2dc5e6c0","hex_latitude":"0537dbe8","is_valid_coordinates":true} 
[2026-08-05 05:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785889016000,"timestamp_ms":1785889016000,"timestamp_seconds":1785889016,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf47c8c0"} 
[2026-08-05 05:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 05:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 05:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187524864001,"66":25441,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:47:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:47:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187524864001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":150870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:47:52] local.INFO: GPS data processed {"connection_id":150870,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:47:52] local.INFO: Acknowledgment sent {"connection_id":150870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:48:19] local.INFO: TCP Data received {"connection_id":150871,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:48:19] local.INFO: Processing buffer {"connection_id":150871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:48:19] local.INFO: IMEI packet received {"connection_id":150871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":150871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:48:20] local.INFO: TCP Data received {"connection_id":150871,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:48:20] local.INFO: Processing buffer {"connection_id":150871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:48:20] local.INFO: IMEI packet received {"connection_id":150871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":150871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:48:26] local.INFO: TCP Data received {"connection_id":150871,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:48:26] local.INFO: Processing buffer {"connection_id":150871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:48:26] local.INFO: IMEI packet received {"connection_id":150871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":150871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:48:27] local.INFO: TCP Data received {"connection_id":150871,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf47d478012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf47d478012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:48:27] local.INFO: Processing buffer {"connection_id":150871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf47d478012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:48:27] local.INFO: Packet analysis {"connection_id":150871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf47"} 
[2026-08-05 05:48:27] local.INFO: Extracted packet for processing {"connection_id":150871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf47"} 
[2026-08-05 05:48:27] local.INFO: GPS Element Parsed {"raw_longitude":767944192,"raw_latitude":87547112,"longitude_deg":76.7944192,"latitude_deg":8.7547112,"altitude":53,"angle":339,"satellites":45,"speed":0,"hex_longitude":"2dc5e600","hex_latitude":"0537dce8","is_valid_coordinates":true} 
[2026-08-05 05:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187588096001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949769216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785889019000,"timestamp_ms":1785889019000,"timestamp_seconds":1785889019,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf47d478"} 
[2026-08-05 05:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187588096001,"66":21973,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186447674949769216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187588096001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:48:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:48:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949769216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187588096001,"power":21973,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186447674949769216}} 
[2026-08-05 05:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":150871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:48:27] local.INFO: GPS data processed {"connection_id":150871,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:48:27] local.INFO: Acknowledgment sent {"connection_id":150871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:48:57] local.INFO: TCP Data received {"connection_id":150871,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf482680012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf482680012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:48:57] local.INFO: Processing buffer {"connection_id":150871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf482680012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:48:57] local.INFO: Packet analysis {"connection_id":150871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf48"} 
[2026-08-05 05:48:57] local.INFO: Extracted packet for processing {"connection_id":150871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf48"} 
[2026-08-05 05:48:57] local.INFO: GPS Element Parsed {"raw_longitude":767944192,"raw_latitude":87547112,"longitude_deg":76.7944192,"latitude_deg":8.7547112,"altitude":53,"angle":339,"satellites":45,"speed":0,"hex_longitude":"2dc5e600","hex_latitude":"0537dce8","is_valid_coordinates":true} 
[2026-08-05 05:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187588864001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186658781182236672,"note":"Value kept but may cause issues"} 
[2026-08-05 05:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785889040000,"timestamp_ms":1785889040000,"timestamp_seconds":1785889040,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf482680"} 
[2026-08-05 05:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":85,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-05 05:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187588864001,"66":27745,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186658781182236672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187588864001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:48:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:48:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186658781182236672,"description":"Unknown IO ID 45"} 
[2026-08-05 05:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187588864001,"power":27745,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186658781182236672}} 
[2026-08-05 05:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":150871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:48:57] local.INFO: GPS data processed {"connection_id":150871,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:48:57] local.INFO: Acknowledgment sent {"connection_id":150871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:49:16] local.INFO: TCP Data received {"connection_id":148244,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:49:16] local.INFO: Processing buffer {"connection_id":148244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:49:16] local.INFO: IMEI packet received {"connection_id":148244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":148244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:49:21] local.INFO: TCP Data received {"connection_id":148244,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:49:21] local.INFO: Processing buffer {"connection_id":148244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:49:21] local.INFO: IMEI packet received {"connection_id":148244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":148244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:49:22] local.INFO: TCP Data received {"connection_id":148244,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf487888012dc5e6000537dce8003501532c..."} 
[2026-08-05 05:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf487888012dc5e6000537dce8003501532c..."} 
[2026-08-05 05:49:22] local.INFO: Processing buffer {"connection_id":148244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf487888012dc5e6000537dce8003501532c..."} 
[2026-08-05 05:49:22] local.INFO: Packet analysis {"connection_id":148244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf48"} 
[2026-08-05 05:49:22] local.INFO: Extracted packet for processing {"connection_id":148244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf48"} 
[2026-08-05 05:49:22] local.INFO: GPS Element Parsed {"raw_longitude":767944192,"raw_latitude":87547112,"longitude_deg":76.7944192,"latitude_deg":8.7547112,"altitude":53,"angle":339,"satellites":44,"speed":0,"hex_longitude":"2dc5e600","hex_latitude":"0537dce8","is_valid_coordinates":true} 
[2026-08-05 05:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187594240001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186658781182236672,"note":"Value kept but may cause issues"} 
[2026-08-05 05:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785889061000,"timestamp_ms":1785889061000,"timestamp_seconds":1785889061,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf487888"} 
[2026-08-05 05:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187594240001,"66":27876,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186658781182236672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187594240001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:49:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:49:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186658781182236672,"description":"Unknown IO ID 45"} 
[2026-08-05 05:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187594240001,"power":27876,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186658781182236672}} 
[2026-08-05 05:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":148244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:49:22] local.INFO: GPS data processed {"connection_id":148244,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:49:22] local.INFO: Acknowledgment sent {"connection_id":148244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:49:53] local.INFO: TCP Data received {"connection_id":148244,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf48ca90012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf48ca90012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:49:53] local.INFO: Processing buffer {"connection_id":148244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf48ca90012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:49:53] local.INFO: Packet analysis {"connection_id":148244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf48"} 
[2026-08-05 05:49:53] local.INFO: Extracted packet for processing {"connection_id":148244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf48"} 
[2026-08-05 05:49:53] local.INFO: GPS Element Parsed {"raw_longitude":767944192,"raw_latitude":87547112,"longitude_deg":76.7944192,"latitude_deg":8.7547112,"altitude":53,"angle":339,"satellites":45,"speed":0,"hex_longitude":"2dc5e600","hex_latitude":"0537dce8","is_valid_coordinates":true} 
[2026-08-05 05:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187599616001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186658781182236672,"note":"Value kept but may cause issues"} 
[2026-08-05 05:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785889082000,"timestamp_ms":1785889082000,"timestamp_seconds":1785889082,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf48ca90"} 
[2026-08-05 05:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 05:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187599616001,"66":27745,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186658781182236672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187599616001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:49:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:49:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186658781182236672,"description":"Unknown IO ID 45"} 
[2026-08-05 05:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187599616001,"power":27745,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186658781182236672}} 
[2026-08-05 05:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":148244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:49:53] local.INFO: GPS data processed {"connection_id":148244,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:49:53] local.INFO: Acknowledgment sent {"connection_id":148244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:50:17] local.INFO: TCP Data received {"connection_id":148245,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:50:17] local.INFO: Processing buffer {"connection_id":148245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:50:17] local.INFO: IMEI packet received {"connection_id":148245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":148245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:50:21] local.INFO: TCP Data received {"connection_id":148245,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:50:21] local.INFO: Processing buffer {"connection_id":148245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:50:21] local.INFO: IMEI packet received {"connection_id":148245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":148245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:50:22] local.INFO: TCP Data received {"connection_id":148245,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf491c98012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf491c98012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:50:22] local.INFO: Processing buffer {"connection_id":148245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf491c98012dc5e6000537dce8003501532d..."} 
[2026-08-05 05:50:22] local.INFO: Packet analysis {"connection_id":148245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf49"} 
[2026-08-05 05:50:22] local.INFO: Extracted packet for processing {"connection_id":148245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf49"} 
[2026-08-05 05:50:22] local.INFO: GPS Element Parsed {"raw_longitude":767944192,"raw_latitude":87547112,"longitude_deg":76.7944192,"latitude_deg":8.7547112,"altitude":53,"angle":339,"satellites":45,"speed":0,"hex_longitude":"2dc5e600","hex_latitude":"0537dce8","is_valid_coordinates":true} 
[2026-08-05 05:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187604992001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186658781182236672,"note":"Value kept but may cause issues"} 
[2026-08-05 05:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785889103000,"timestamp_ms":1785889103000,"timestamp_seconds":1785889103,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf491c98"} 
[2026-08-05 05:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 05:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187604992001,"66":27832,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186658781182236672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187604992001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:50:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:50:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186658781182236672,"description":"Unknown IO ID 45"} 
[2026-08-05 05:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187604992001,"power":27832,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186658781182236672}} 
[2026-08-05 05:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":148245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:50:22] local.INFO: GPS data processed {"connection_id":148245,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:50:22] local.INFO: Acknowledgment sent {"connection_id":148245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:50:53] local.INFO: TCP Data received {"connection_id":148245,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf496ea0012dc5e6000537dce8003501532c..."} 
[2026-08-05 05:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf496ea0012dc5e6000537dce8003501532c..."} 
[2026-08-05 05:50:53] local.INFO: Processing buffer {"connection_id":148245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf496ea0012dc5e6000537dce8003501532c..."} 
[2026-08-05 05:50:53] local.INFO: Packet analysis {"connection_id":148245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf49"} 
[2026-08-05 05:50:53] local.INFO: Extracted packet for processing {"connection_id":148245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf49"} 
[2026-08-05 05:50:53] local.INFO: GPS Element Parsed {"raw_longitude":767944192,"raw_latitude":87547112,"longitude_deg":76.7944192,"latitude_deg":8.7547112,"altitude":53,"angle":339,"satellites":44,"speed":0,"hex_longitude":"2dc5e600","hex_latitude":"0537dce8","is_valid_coordinates":true} 
[2026-08-05 05:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187610368001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186658781182236672,"note":"Value kept but may cause issues"} 
[2026-08-05 05:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785889124000,"timestamp_ms":1785889124000,"timestamp_seconds":1785889124,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf496ea0"} 
[2026-08-05 05:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-05 05:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187610368001,"66":27343,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186658781182236672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187610368001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:50:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:50:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186658781182236672,"description":"Unknown IO ID 45"} 
[2026-08-05 05:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187610368001,"power":27343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186658781182236672}} 
[2026-08-05 05:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":148245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:50:53] local.INFO: GPS data processed {"connection_id":148245,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:50:53] local.INFO: Acknowledgment sent {"connection_id":148245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:51:16] local.INFO: TCP Data received {"connection_id":150872,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:51:16] local.INFO: Processing buffer {"connection_id":150872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:51:16] local.INFO: IMEI packet received {"connection_id":150872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":150872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:51:21] local.INFO: TCP Data received {"connection_id":150872,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:51:21] local.INFO: Processing buffer {"connection_id":150872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:51:21] local.INFO: IMEI packet received {"connection_id":150872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":150872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:51:21] local.INFO: TCP Data received {"connection_id":150872,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf49c0a8012dc5e6000537dce8003501532b..."} 
[2026-08-05 05:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf49c0a8012dc5e6000537dce8003501532b..."} 
[2026-08-05 05:51:21] local.INFO: Processing buffer {"connection_id":150872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf49c0a8012dc5e6000537dce8003501532b..."} 
[2026-08-05 05:51:21] local.INFO: Packet analysis {"connection_id":150872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf49"} 
[2026-08-05 05:51:21] local.INFO: Extracted packet for processing {"connection_id":150872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf49"} 
[2026-08-05 05:51:21] local.INFO: GPS Element Parsed {"raw_longitude":767944192,"raw_latitude":87547112,"longitude_deg":76.7944192,"latitude_deg":8.7547112,"altitude":53,"angle":339,"satellites":43,"speed":0,"hex_longitude":"2dc5e600","hex_latitude":"0537dce8","is_valid_coordinates":true} 
[2026-08-05 05: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-08-05 05:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187615744001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369945599291686912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186658781182236672,"note":"Value kept but may cause issues"} 
[2026-08-05 05:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785889145000,"timestamp_ms":1785889145000,"timestamp_seconds":1785889145,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf49c0a8"} 
[2026-08-05 05:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-05 05:51: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-08-05 05: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-08-05 05:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187615744001,"66":27376,"113":206,"80":35072,"24":0,"16":369945599291686912,"45":-4186658781182236672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-05 05:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187615744001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:51:21] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 05:51:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369945599291686912,"km_value":369945599291686.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186658781182236672,"description":"Unknown IO ID 45"} 
[2026-08-05 05:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187615744001,"power":27376,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186658781182236672}} 
[2026-08-05 05:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":150872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:51:21] local.INFO: GPS data processed {"connection_id":150872,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:51:21] local.INFO: Acknowledgment sent {"connection_id":150872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:51:52] local.INFO: TCP Data received {"connection_id":150872,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4b4360012dc59ac005389fa8003701522d..."} 
[2026-08-05 05:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4b4360012dc59ac005389fa8003701522d..."} 
[2026-08-05 05:51:52] local.INFO: Processing buffer {"connection_id":150872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4b4360012dc59ac005389fa8003701522d..."} 
[2026-08-05 05:51:52] local.INFO: Packet analysis {"connection_id":150872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4b"} 
[2026-08-05 05:51:52] local.INFO: Extracted packet for processing {"connection_id":150872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4b"} 
[2026-08-05 05:51:52] local.INFO: GPS Element Parsed {"raw_longitude":767924928,"raw_latitude":87596968,"longitude_deg":76.7924928,"latitude_deg":8.7596968,"altitude":55,"angle":338,"satellites":45,"speed":27,"hex_longitude":"2dc59ac0","hex_latitude":"05389fa8","is_valid_coordinates":true} 
[2026-08-05 05:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187644160001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369948210631802880,"note":"Value kept but may cause issues"} 
[2026-08-05 05:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4204954654656854016,"note":"Value kept but may cause issues"} 
[2026-08-05 05:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785889244000,"timestamp_ms":1785889244000,"timestamp_seconds":1785889244,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4b4360"} 
[2026-08-05 05:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-05 05:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187644160001,"66":27300,"241":206,"80":35072,"24":27,"16":369948210631802880,"45":-4204954654656854016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-05 05:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187644160001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:51:52] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-05 05:51:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369948210631802880,"km_value":369948210631802.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4204954654656854016,"description":"Unknown IO ID 45"} 
[2026-08-05 05:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187644160001,"power":27300,"unknown_241":206,"unknown_80":35072,"ignition":27,"odometer":null,"unknown_45":-4204954654656854016}} 
[2026-08-05 05:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":150872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:51:52] local.INFO: GPS data processed {"connection_id":150872,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:51:52] local.INFO: Acknowledgment sent {"connection_id":150872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:52:16] local.INFO: TCP Data received {"connection_id":150873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:52:16] local.INFO: Processing buffer {"connection_id":150873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:52:16] local.INFO: IMEI packet received {"connection_id":150873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":150873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:52:16] local.INFO: TCP Data received {"connection_id":150873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:52:16] local.INFO: Processing buffer {"connection_id":150873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:52:16] local.INFO: IMEI packet received {"connection_id":150873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":150873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:52:21] local.INFO: TCP Data received {"connection_id":150873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:52:21] local.INFO: Processing buffer {"connection_id":150873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:52:21] local.INFO: IMEI packet received {"connection_id":150873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":150873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:52:22] local.INFO: TCP Data received {"connection_id":150873,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4b7240012dc58d800538c2b0003701532d..."} 
[2026-08-05 05:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4b7240012dc58d800538c2b0003701532d..."} 
[2026-08-05 05:52:22] local.INFO: Processing buffer {"connection_id":150873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4b7240012dc58d800538c2b0003701532d..."} 
[2026-08-05 05:52:22] local.INFO: Packet analysis {"connection_id":150873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4b"} 
[2026-08-05 05:52:22] local.INFO: Extracted packet for processing {"connection_id":150873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4b"} 
[2026-08-05 05:52:22] local.INFO: GPS Element Parsed {"raw_longitude":767921536,"raw_latitude":87605936,"longitude_deg":76.7921536,"latitude_deg":8.7605936,"altitude":55,"angle":339,"satellites":45,"speed":31,"hex_longitude":"2dc58d80","hex_latitude":"0538c2b0","is_valid_coordinates":true} 
[2026-08-05 05:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187646464001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369948678783238144,"note":"Value kept but may cause issues"} 
[2026-08-05 05:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4207839773166950400,"note":"Value kept but may cause issues"} 
[2026-08-05 05:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785889256000,"timestamp_ms":1785889256000,"timestamp_seconds":1785889256,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4b7240"} 
[2026-08-05 05:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-05 05:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187646464001,"66":27343,"241":206,"80":35072,"24":31,"16":369948678783238144,"45":-4207839773166950400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-05 05:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187646464001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:52:22] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-05 05:52:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369948678783238144,"km_value":369948678783238.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4207839773166950400,"description":"Unknown IO ID 45"} 
[2026-08-05 05:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187646464001,"power":27343,"unknown_241":206,"unknown_80":35072,"ignition":31,"odometer":null,"unknown_45":-4207839773166950400}} 
[2026-08-05 05:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":150873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:52:22] local.INFO: GPS data processed {"connection_id":150873,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:52:22] local.INFO: Acknowledgment sent {"connection_id":150873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:52:53] local.INFO: TCP Data received {"connection_id":150873,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4ba120012dc581000538e540003801542d..."} 
[2026-08-05 05:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4ba120012dc581000538e540003801542d..."} 
[2026-08-05 05:52:53] local.INFO: Processing buffer {"connection_id":150873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4ba120012dc581000538e540003801542d..."} 
[2026-08-05 05:52:53] local.INFO: Packet analysis {"connection_id":150873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4b"} 
[2026-08-05 05:52:53] local.INFO: Extracted packet for processing {"connection_id":150873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4b"} 
[2026-08-05 05:52:53] local.INFO: GPS Element Parsed {"raw_longitude":767918336,"raw_latitude":87614784,"longitude_deg":76.7918336,"latitude_deg":8.7614784,"altitude":56,"angle":340,"satellites":45,"speed":31,"hex_longitude":"2dc58100","hex_latitude":"0538e540","is_valid_coordinates":true} 
[2026-08-05 05:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187649536001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369949134049771520,"note":"Value kept but may cause issues"} 
[2026-08-05 05:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4211569316606070784,"note":"Value kept but may cause issues"} 
[2026-08-05 05:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785889268000,"timestamp_ms":1785889268000,"timestamp_seconds":1785889268,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4ba120"} 
[2026-08-05 05:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-05 05:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187649536001,"66":27376,"241":206,"80":35072,"24":31,"16":369949134049771520,"45":-4211569316606070784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-05 05:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187649536001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:52:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-05 05:52:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369949134049771520,"km_value":369949134049771.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4211569316606070784,"description":"Unknown IO ID 45"} 
[2026-08-05 05:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187649536001,"power":27376,"unknown_241":206,"unknown_80":35072,"ignition":31,"odometer":null,"unknown_45":-4211569316606070784}} 
[2026-08-05 05:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":150873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:52:53] local.INFO: GPS data processed {"connection_id":150873,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:52:53] local.INFO: Acknowledgment sent {"connection_id":150873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:53:21] local.INFO: TCP Data received {"connection_id":148246,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:53:21] local.INFO: Processing buffer {"connection_id":148246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:53:21] local.INFO: IMEI packet received {"connection_id":148246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":148246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:53:24] local.INFO: TCP Data received {"connection_id":148246,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:53:24] local.INFO: Processing buffer {"connection_id":148246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:53:24] local.INFO: IMEI packet received {"connection_id":148246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":148246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:53:25] local.INFO: TCP Data received {"connection_id":148246,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4bcc18012dc57640053908500038015b2d..."} 
[2026-08-05 05:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4bcc18012dc57640053908500038015b2d..."} 
[2026-08-05 05:53:25] local.INFO: Processing buffer {"connection_id":148246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4bcc18012dc57640053908500038015b2d..."} 
[2026-08-05 05:53:25] local.INFO: Packet analysis {"connection_id":148246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4b"} 
[2026-08-05 05:53:25] local.INFO: Extracted packet for processing {"connection_id":148246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4b"} 
[2026-08-05 05:53:25] local.INFO: GPS Element Parsed {"raw_longitude":767915584,"raw_latitude":87623760,"longitude_deg":76.7915584,"latitude_deg":8.762376,"altitude":56,"angle":347,"satellites":45,"speed":33,"hex_longitude":"2dc57640","hex_latitude":"05390850","is_valid_coordinates":true} 
[2026-08-05 05:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187652608001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369949589316304896,"note":"Value kept but may cause issues"} 
[2026-08-05 05:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4215087753812688896,"note":"Value kept but may cause issues"} 
[2026-08-05 05:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785889279000,"timestamp_ms":1785889279000,"timestamp_seconds":1785889279,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4bcc18"} 
[2026-08-05 05:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-05 05:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187652608001,"66":27376,"241":206,"80":35072,"24":33,"16":369949589316304896,"45":-4215087753812688896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-05 05:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187652608001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:53:25] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-05 05:53:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369949589316304896,"km_value":369949589316304.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4215087753812688896,"description":"Unknown IO ID 45"} 
[2026-08-05 05:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187652608001,"power":27376,"unknown_241":206,"unknown_80":35072,"ignition":33,"odometer":null,"unknown_45":-4215087753812688896}} 
[2026-08-05 05:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":148246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:53:25] local.INFO: GPS data processed {"connection_id":148246,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:53:25] local.INFO: Acknowledgment sent {"connection_id":148246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:53:26] local.INFO: TCP Data received {"connection_id":148246,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4bf710012dc56c4005392a98003501582a..."} 
[2026-08-05 05:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4bf710012dc56c4005392a98003501582a..."} 
[2026-08-05 05:53:26] local.INFO: Processing buffer {"connection_id":148246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4bf710012dc56c4005392a98003501582a..."} 
[2026-08-05 05:53:26] local.INFO: Packet analysis {"connection_id":148246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4b"} 
[2026-08-05 05:53:26] local.INFO: Extracted packet for processing {"connection_id":148246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4b"} 
[2026-08-05 05:53:26] local.INFO: GPS Element Parsed {"raw_longitude":767913024,"raw_latitude":87632536,"longitude_deg":76.7913024,"latitude_deg":8.7632536,"altitude":53,"angle":344,"satellites":42,"speed":32,"hex_longitude":"2dc56c40","hex_latitude":"05392a98","is_valid_coordinates":true} 
[2026-08-05 05:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187655424001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369950031697936384,"note":"Value kept but may cause issues"} 
[2026-08-05 05:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4218113609810030592,"note":"Value kept but may cause issues"} 
[2026-08-05 05:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785889290000,"timestamp_ms":1785889290000,"timestamp_seconds":1785889290,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4bf710"} 
[2026-08-05 05:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-05 05:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187655424001,"66":27397,"241":206,"80":35072,"24":32,"16":369950031697936384,"45":-4218113609810030592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-05 05:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187655424001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:53:26] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-05 05:53:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369950031697936384,"km_value":369950031697936.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4218113609810030592,"description":"Unknown IO ID 45"} 
[2026-08-05 05:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187655424001,"power":27397,"unknown_241":206,"unknown_80":35072,"ignition":32,"odometer":null,"unknown_45":-4218113609810030592}} 
[2026-08-05 05:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":148246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:53:26] local.INFO: GPS data processed {"connection_id":148246,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:53:26] local.INFO: Acknowledgment sent {"connection_id":148246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:53:57] local.INFO: TCP Data received {"connection_id":148246,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4d5a88012dc4e1c0053a79f8001e01582c..."} 
[2026-08-05 05:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4d5a88012dc4e1c0053a79f8001e01582c..."} 
[2026-08-05 05:53:57] local.INFO: Processing buffer {"connection_id":148246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4d5a88012dc4e1c0053a79f8001e01582c..."} 
[2026-08-05 05:53:57] local.INFO: Packet analysis {"connection_id":148246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4d"} 
[2026-08-05 05:53:57] local.INFO: Extracted packet for processing {"connection_id":148246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4d"} 
[2026-08-05 05:53:57] local.INFO: GPS Element Parsed {"raw_longitude":767877568,"raw_latitude":87718392,"longitude_deg":76.7877568,"latitude_deg":8.7718392,"altitude":30,"angle":344,"satellites":44,"speed":53,"hex_longitude":"2dc4e1c0","hex_latitude":"053a79f8","is_valid_coordinates":true} 
[2026-08-05 05:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187679744001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369954614428041216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4257660844015960064,"note":"Value kept but may cause issues"} 
[2026-08-05 05:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785889381000,"timestamp_ms":1785889381000,"timestamp_seconds":1785889381,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4d5a88"} 
[2026-08-05 05:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 05:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187679744001,"66":27267,"255":206,"80":35072,"24":53,"16":369954614428041216,"45":-4257660844015960064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-05 05:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187679744001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:53:57] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-05 05:53:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369954614428041216,"km_value":369954614428041.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4257660844015960064,"description":"Unknown IO ID 45"} 
[2026-08-05 05:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187679744001,"power":27267,"unknown_255":206,"unknown_80":35072,"ignition":53,"odometer":null,"unknown_45":-4257660844015960064}} 
[2026-08-05 05:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":148246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:53:57] local.INFO: GPS data processed {"connection_id":148246,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:53:57] local.INFO: Acknowledgment sent {"connection_id":148246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:54:12] local.INFO: TCP Data received {"connection_id":148463,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:54:12] local.INFO: Processing buffer {"connection_id":148463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:54:12] local.INFO: IMEI packet received {"connection_id":148463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":148463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:54:16] local.INFO: TCP Data received {"connection_id":148463,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:54:16] local.INFO: Processing buffer {"connection_id":148463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:54:16] local.INFO: IMEI packet received {"connection_id":148463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":148463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:54:21] local.INFO: TCP Data received {"connection_id":148463,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:54:21] local.INFO: Processing buffer {"connection_id":148463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:54:21] local.INFO: IMEI packet received {"connection_id":148463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":148463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:54:22] local.INFO: TCP Data received {"connection_id":148463,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4d75e0012dc4d500053a9b38001b014d27..."} 
[2026-08-05 05:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4d75e0012dc4d500053a9b38001b014d27..."} 
[2026-08-05 05:54:22] local.INFO: Processing buffer {"connection_id":148463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4d75e0012dc4d500053a9b38001b014d27..."} 
[2026-08-05 05:54:22] local.INFO: Packet analysis {"connection_id":148463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4d"} 
[2026-08-05 05:54:22] local.INFO: Extracted packet for processing {"connection_id":148463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4d"} 
[2026-08-05 05:54:22] local.INFO: GPS Element Parsed {"raw_longitude":767874304,"raw_latitude":87726904,"longitude_deg":76.7874304,"latitude_deg":8.7726904,"altitude":27,"angle":333,"satellites":39,"speed":50,"hex_longitude":"2dc4d500","hex_latitude":"053a9b38","is_valid_coordinates":true} 
[2026-08-05 05:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187681536001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369955056809672704,"note":"Value kept but may cause issues"} 
[2026-08-05 05:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4259912643827337216,"note":"Value kept but may cause issues"} 
[2026-08-05 05:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785889388000,"timestamp_ms":1785889388000,"timestamp_seconds":1785889388,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4d75e0"} 
[2026-08-05 05:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 05:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187681536001,"66":27376,"255":206,"80":35072,"24":50,"16":369955056809672704,"45":-4259912643827337216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-05 05:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187681536001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:54:22] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-05 05:54:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369955056809672704,"km_value":369955056809672.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4259912643827337216,"description":"Unknown IO ID 45"} 
[2026-08-05 05:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187681536001,"power":27376,"unknown_255":206,"unknown_80":35072,"ignition":50,"odometer":null,"unknown_45":-4259912643827337216}} 
[2026-08-05 05:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":148463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:54:22] local.INFO: GPS data processed {"connection_id":148463,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:54:22] local.INFO: Acknowledgment sent {"connection_id":148463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:54:54] local.INFO: TCP Data received {"connection_id":148463,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4d9520012dc4c2c0053abb78001d01492a..."} 
[2026-08-05 05:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4d9520012dc4c2c0053abb78001d01492a..."} 
[2026-08-05 05:54:54] local.INFO: Processing buffer {"connection_id":148463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4d9520012dc4c2c0053abb78001d01492a..."} 
[2026-08-05 05:54:54] local.INFO: Packet analysis {"connection_id":148463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4d"} 
[2026-08-05 05:54:54] local.INFO: Extracted packet for processing {"connection_id":148463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4d"} 
[2026-08-05 05:54:54] local.INFO: GPS Element Parsed {"raw_longitude":767869632,"raw_latitude":87735160,"longitude_deg":76.7869632,"latitude_deg":8.773516,"altitude":29,"angle":329,"satellites":42,"speed":43,"hex_longitude":"2dc4c2c0","hex_latitude":"053abb78","is_valid_coordinates":true} 
[2026-08-05 05: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-08-05 05:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187683328001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369955512076206080,"note":"Value kept but may cause issues"} 
[2026-08-05 05:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4263501449778219008,"note":"Value kept but may cause issues"} 
[2026-08-05 05:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785889396000,"timestamp_ms":1785889396000,"timestamp_seconds":1785889396,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4d9520"} 
[2026-08-05 05:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-05 05:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187683328001,"66":27332,"255":206,"80":35072,"24":43,"16":369955512076206080,"45":-4263501449778219008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-05 05:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187683328001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:54:54] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-05 05:54:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369955512076206080,"km_value":369955512076206.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4263501449778219008,"description":"Unknown IO ID 45"} 
[2026-08-05 05:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187683328001,"power":27332,"unknown_255":206,"unknown_80":35072,"ignition":43,"odometer":null,"unknown_45":-4263501449778219008}} 
[2026-08-05 05:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":148463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:54:54] local.INFO: GPS data processed {"connection_id":148463,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:54:54] local.INFO: Acknowledgment sent {"connection_id":148463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:55:16] local.INFO: TCP Data received {"connection_id":148247,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:55:16] local.INFO: Processing buffer {"connection_id":148247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:55:16] local.INFO: IMEI packet received {"connection_id":148247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":148247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:55:19] local.INFO: TCP Data received {"connection_id":148247,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:55:19] local.INFO: Processing buffer {"connection_id":148247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:55:19] local.INFO: IMEI packet received {"connection_id":148247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":148247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:55:20] local.INFO: TCP Data received {"connection_id":148247,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4db848012dc4af80053adc60001d01482d..."} 
[2026-08-05 05:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4db848012dc4af80053adc60001d01482d..."} 
[2026-08-05 05:55:20] local.INFO: Processing buffer {"connection_id":148247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4db848012dc4af80053adc60001d01482d..."} 
[2026-08-05 05:55:20] local.INFO: Packet analysis {"connection_id":148247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4d"} 
[2026-08-05 05:55:20] local.INFO: Extracted packet for processing {"connection_id":148247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4d"} 
[2026-08-05 05:55:20] local.INFO: GPS Element Parsed {"raw_longitude":767864704,"raw_latitude":87743584,"longitude_deg":76.7864704,"latitude_deg":8.7743584,"altitude":29,"angle":328,"satellites":45,"speed":42,"hex_longitude":"2dc4af80","hex_latitude":"053adc60","is_valid_coordinates":true} 
[2026-08-05 05:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187685376001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369955984522608640,"note":"Value kept but may cause issues"} 
[2026-08-05 05:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4268638368101074944,"note":"Value kept but may cause issues"} 
[2026-08-05 05:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785889405000,"timestamp_ms":1785889405000,"timestamp_seconds":1785889405,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4db848"} 
[2026-08-05 05:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-05 05:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187685376001,"66":27365,"255":206,"80":35072,"24":42,"16":369955984522608640,"45":-4268638368101074944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-05 05:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187685376001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:55:20] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-05 05:55:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369955984522608640,"km_value":369955984522608.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4268638368101074944,"description":"Unknown IO ID 45"} 
[2026-08-05 05:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187685376001,"power":27365,"unknown_255":206,"unknown_80":35072,"ignition":42,"odometer":null,"unknown_45":-4268638368101074944}} 
[2026-08-05 05:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":148247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:55:20] local.INFO: GPS data processed {"connection_id":148247,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:55:20] local.INFO: Acknowledgment sent {"connection_id":148247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:55:51] local.INFO: TCP Data received {"connection_id":148247,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4ddb70012dc49d40053afaa0001d014928..."} 
[2026-08-05 05:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4ddb70012dc49d40053afaa0001d014928..."} 
[2026-08-05 05:55:51] local.INFO: Processing buffer {"connection_id":148247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4ddb70012dc49d40053afaa0001d014928..."} 
[2026-08-05 05:55:51] local.INFO: Packet analysis {"connection_id":148247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4d"} 
[2026-08-05 05:55:51] local.INFO: Extracted packet for processing {"connection_id":148247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4d"} 
[2026-08-05 05:55:51] local.INFO: GPS Element Parsed {"raw_longitude":767860032,"raw_latitude":87751328,"longitude_deg":76.7860032,"latitude_deg":8.7751328,"altitude":29,"angle":329,"satellites":40,"speed":37,"hex_longitude":"2dc49d40","hex_latitude":"053afaa0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 05:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187687680001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369956422609272832,"note":"Value kept but may cause issues"} 
[2026-08-05 05:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4274056761400598528,"note":"Value kept but may cause issues"} 
[2026-08-05 05:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785889414000,"timestamp_ms":1785889414000,"timestamp_seconds":1785889414,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4ddb70"} 
[2026-08-05 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-08-05 05:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-05 05:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 05:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187687680001,"66":27343,"255":206,"80":35072,"24":37,"16":369956422609272832,"45":-4274056761400598528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-05 05:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187687680001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:55:51] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-05 05:55:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369956422609272832,"km_value":369956422609272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4274056761400598528,"description":"Unknown IO ID 45"} 
[2026-08-05 05:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187687680001,"power":27343,"unknown_255":206,"unknown_80":35072,"ignition":37,"odometer":null,"unknown_45":-4274056761400598528}} 
[2026-08-05 05:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":148247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:55:51] local.INFO: GPS data processed {"connection_id":148247,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:55:51] local.INFO: Acknowledgment sent {"connection_id":148247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:56:15] local.INFO: TCP Data received {"connection_id":149468,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:56:15] local.INFO: Processing buffer {"connection_id":149468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:56:15] local.INFO: IMEI packet received {"connection_id":149468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":149468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:56:15] local.INFO: TCP Data received {"connection_id":149468,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:56:15] local.INFO: Processing buffer {"connection_id":149468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:56:15] local.INFO: IMEI packet received {"connection_id":149468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":149468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:56:20] local.INFO: TCP Data received {"connection_id":149468,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:56:20] local.INFO: Processing buffer {"connection_id":149468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:56:20] local.INFO: IMEI packet received {"connection_id":149468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":149468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:56:21] local.INFO: TCP Data received {"connection_id":149468,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4f94d8012dc3b140053c3b30001f01422b..."} 
[2026-08-05 05:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4f94d8012dc3b140053c3b30001f01422b..."} 
[2026-08-05 05:56:21] local.INFO: Processing buffer {"connection_id":149468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4f94d8012dc3b140053c3b30001f01422b..."} 
[2026-08-05 05:56:21] local.INFO: Packet analysis {"connection_id":149468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4f"} 
[2026-08-05 05:56:21] local.INFO: Extracted packet for processing {"connection_id":149468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4f"} 
[2026-08-05 05:56:21] local.INFO: GPS Element Parsed {"raw_longitude":767799616,"raw_latitude":87833392,"longitude_deg":76.7799616,"latitude_deg":8.7833392,"altitude":31,"angle":322,"satellites":43,"speed":39,"hex_longitude":"2dc3b140","hex_latitude":"053c3b30","is_valid_coordinates":true} 
[2026-08-05 05: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-08-05 05:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187716608001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369961357526695936,"note":"Value kept but may cause issues"} 
[2026-08-05 05:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4339007112255567872,"note":"Value kept but may cause issues"} 
[2026-08-05 05:56:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 05:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785889527000,"timestamp_ms":1785889527000,"timestamp_seconds":1785889527,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4f94d8"} 
[2026-08-05 05:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:56: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-08-05 05: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-05 05:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05: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-08-05 05:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187716608001,"66":206,"80":35072,"24":39,"16":369961357526695936,"45":-4339007112255567872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-05 05:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187716608001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:56:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369961357526695936,"km_value":369961357526695.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4339007112255567872,"description":"Unknown IO ID 45"} 
[2026-08-05 05:56:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457187716608001,"power":206,"unknown_80":35072,"ignition":39,"odometer":null,"unknown_45":-4339007112255567872}} 
[2026-08-05 05:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":149468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:56:21] local.INFO: GPS data processed {"connection_id":149468,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:56:21] local.INFO: Acknowledgment sent {"connection_id":149468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:56:52] local.INFO: TCP Data received {"connection_id":149468,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4fb418012dc3a400053c4e90001e01512c..."} 
[2026-08-05 05:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4fb418012dc3a400053c4e90001e01512c..."} 
[2026-08-05 05:56:52] local.INFO: Processing buffer {"connection_id":149468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4fb418012dc3a400053c4e90001e01512c..."} 
[2026-08-05 05:56:52] local.INFO: Packet analysis {"connection_id":149468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4f"} 
[2026-08-05 05:56:52] local.INFO: Extracted packet for processing {"connection_id":149468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4f"} 
[2026-08-05 05:56:52] local.INFO: GPS Element Parsed {"raw_longitude":767796224,"raw_latitude":87838352,"longitude_deg":76.7796224,"latitude_deg":8.7838352,"altitude":30,"angle":337,"satellites":44,"speed":21,"hex_longitude":"2dc3a400","hex_latitude":"053c4e90","is_valid_coordinates":true} 
[2026-08-05 05:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187718912001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369961645289504768,"note":"Value kept but may cause issues"} 
[2026-08-05 05:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4345621774206291968,"note":"Value kept but may cause issues"} 
[2026-08-05 05:56:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 05:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785889535000,"timestamp_ms":1785889535000,"timestamp_seconds":1785889535,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4fb418"} 
[2026-08-05 05:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 05:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187718912001,"66":206,"80":35072,"24":21,"16":369961645289504768,"45":-4345621774206291968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-05 05:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187718912001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:56:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369961645289504768,"km_value":369961645289504.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4345621774206291968,"description":"Unknown IO ID 45"} 
[2026-08-05 05:56:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457187718912001,"power":206,"unknown_80":35072,"ignition":21,"odometer":null,"unknown_45":-4345621774206291968}} 
[2026-08-05 05:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":149468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:56:52] local.INFO: GPS data processed {"connection_id":149468,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:56:52] local.INFO: Acknowledgment sent {"connection_id":149468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:57:15] local.INFO: TCP Data received {"connection_id":149469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:15] local.INFO: Processing buffer {"connection_id":149469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:15] local.INFO: IMEI packet received {"connection_id":149469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":149469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:57:15] local.INFO: TCP Data received {"connection_id":149469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:15] local.INFO: Processing buffer {"connection_id":149469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:15] local.INFO: IMEI packet received {"connection_id":149469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":149469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:57:15] local.INFO: TCP Data received {"connection_id":149469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:15] local.INFO: Processing buffer {"connection_id":149469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:15] local.INFO: IMEI packet received {"connection_id":149469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":149469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:57:21] local.INFO: TCP Data received {"connection_id":149469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:21] local.INFO: Processing buffer {"connection_id":149469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:57:21] local.INFO: IMEI packet received {"connection_id":149469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":149469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:57:22] local.INFO: TCP Data received {"connection_id":149469,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4fbbe8012dc3a300053c51f0001e015e2d..."} 
[2026-08-05 05:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4fbbe8012dc3a300053c51f0001e015e2d..."} 
[2026-08-05 05:57:22] local.INFO: Processing buffer {"connection_id":149469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4fbbe8012dc3a300053c51f0001e015e2d..."} 
[2026-08-05 05:57:22] local.INFO: Packet analysis {"connection_id":149469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4f"} 
[2026-08-05 05:57:22] local.INFO: Extracted packet for processing {"connection_id":149469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4f"} 
[2026-08-05 05:57:22] local.INFO: GPS Element Parsed {"raw_longitude":767795968,"raw_latitude":87839216,"longitude_deg":76.7795968,"latitude_deg":8.7839216,"altitude":30,"angle":350,"satellites":45,"speed":15,"hex_longitude":"2dc3a300","hex_latitude":"053c51f0","is_valid_coordinates":true} 
[2026-08-05 05:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187720960001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369961692534145024,"note":"Value kept but may cause issues"} 
[2026-08-05 05:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4349351317646438400,"note":"Value kept but may cause issues"} 
[2026-08-05 05:57:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 05:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785889537000,"timestamp_ms":1785889537000,"timestamp_seconds":1785889537,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4fbbe8"} 
[2026-08-05 05:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 05:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187720960001,"66":206,"80":35072,"24":15,"16":369961692534145024,"45":-4349351317646438400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-05 05:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187720960001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:57:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369961692534145024,"km_value":369961692534145.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4349351317646438400,"description":"Unknown IO ID 45"} 
[2026-08-05 05:57:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457187720960001,"power":206,"unknown_80":35072,"ignition":15,"odometer":null,"unknown_45":-4349351317646438400}} 
[2026-08-05 05:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":149469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:57:22] local.INFO: GPS data processed {"connection_id":149469,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:57:22] local.INFO: Acknowledgment sent {"connection_id":149469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:57:52] local.INFO: TCP Data received {"connection_id":149469,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf4fcf70012dc3a180053c5808001e014d2b..."} 
[2026-08-05 05:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf4fcf70012dc3a180053c5808001e014d2b..."} 
[2026-08-05 05:57:52] local.INFO: Processing buffer {"connection_id":149469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf4fcf70012dc3a180053c5808001e014d2b..."} 
[2026-08-05 05:57:52] local.INFO: Packet analysis {"connection_id":149469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf4f"} 
[2026-08-05 05:57:52] local.INFO: Extracted packet for processing {"connection_id":149469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf4f"} 
[2026-08-05 05:57:52] local.INFO: GPS Element Parsed {"raw_longitude":767795584,"raw_latitude":87840776,"longitude_deg":76.7795584,"latitude_deg":8.7840776,"altitude":30,"angle":333,"satellites":43,"speed":16,"hex_longitude":"2dc3a180","hex_latitude":"053c5808","is_valid_coordinates":true} 
[2026-08-05 05:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187721472001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369961769843556352,"note":"Value kept but may cause issues"} 
[2026-08-05 05:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4349632792622927872,"note":"Value kept but may cause issues"} 
[2026-08-05 05:57:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 05:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785889542000,"timestamp_ms":1785889542000,"timestamp_seconds":1785889542,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf4fcf70"} 
[2026-08-05 05:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-05 05:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187721472001,"66":206,"80":35072,"24":16,"16":369961769843556352,"45":-4349632792622927872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-05 05:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187721472001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:57:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369961769843556352,"km_value":369961769843556.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4349632792622927872,"description":"Unknown IO ID 45"} 
[2026-08-05 05:57:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457187721472001,"power":206,"unknown_80":35072,"ignition":16,"odometer":null,"unknown_45":-4349632792622927872}} 
[2026-08-05 05:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":149469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:57:52] local.INFO: GPS data processed {"connection_id":149469,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:57:52] local.INFO: Acknowledgment sent {"connection_id":149469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:58:29] local.INFO: TCP Data received {"connection_id":150874,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:58:29] local.INFO: Processing buffer {"connection_id":150874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:58:29] local.INFO: IMEI packet received {"connection_id":150874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":150874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:58:31] local.INFO: TCP Data received {"connection_id":150874,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:58:31] local.INFO: Processing buffer {"connection_id":150874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:58:31] local.INFO: IMEI packet received {"connection_id":150874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":150874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:58:36] local.INFO: TCP Data received {"connection_id":150874,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:58:36] local.INFO: Processing buffer {"connection_id":150874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:58:36] local.INFO: IMEI packet received {"connection_id":150874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":150874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:58:37] local.INFO: TCP Data received {"connection_id":150874,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf515de0012dc2ccc0053cfe100021011629..."} 
[2026-08-05 05:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf515de0012dc2ccc0053cfe100021011629..."} 
[2026-08-05 05:58:37] local.INFO: Processing buffer {"connection_id":150874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf515de0012dc2ccc0053cfe100021011629..."} 
[2026-08-05 05:58:37] local.INFO: Packet analysis {"connection_id":150874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf51"} 
[2026-08-05 05:58:37] local.INFO: Extracted packet for processing {"connection_id":150874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf51"} 
[2026-08-05 05:58:37] local.INFO: GPS Element Parsed {"raw_longitude":767741120,"raw_latitude":87883280,"longitude_deg":76.774112,"latitude_deg":8.788328,"altitude":33,"angle":278,"satellites":41,"speed":31,"hex_longitude":"2dc2ccc0","hex_latitude":"053cfe10","is_valid_coordinates":true} 
[2026-08-05 05:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187748096001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369965356141248512,"note":"Value kept but may cause issues"} 
[2026-08-05 05:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4407546269069862912,"note":"Value kept but may cause issues"} 
[2026-08-05 05:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785889644000,"timestamp_ms":1785889644000,"timestamp_seconds":1785889644,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf515de0"} 
[2026-08-05 05:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 05:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187748096001,"66":27332,"67":206,"80":35072,"24":31,"16":369965356141248512,"45":-4407546269069862912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-05 05:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187748096001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:58:37] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 05:58:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369965356141248512,"km_value":369965356141248.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4407546269069862912,"description":"Unknown IO ID 45"} 
[2026-08-05 05:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187748096001,"power":27332,"unknown_67":206,"unknown_80":35072,"ignition":31,"odometer":null,"unknown_45":-4407546269069862912}} 
[2026-08-05 05:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":150874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:58:37] local.INFO: GPS data processed {"connection_id":150874,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:58:37] local.INFO: Acknowledgment sent {"connection_id":150874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:59:14] local.INFO: TCP Data received {"connection_id":148248,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:59:14] local.INFO: Processing buffer {"connection_id":148248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:59:14] local.INFO: IMEI packet received {"connection_id":148248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 05:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":148248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 05:59:16] local.INFO: TCP Data received {"connection_id":148248,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:59:16] local.INFO: Processing buffer {"connection_id":148248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:59:16] local.INFO: IMEI packet received {"connection_id":148248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":148248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:59:21] local.INFO: TCP Data received {"connection_id":148248,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:59:21] local.INFO: Processing buffer {"connection_id":148248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 05:59:21] local.INFO: IMEI packet received {"connection_id":148248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 05:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":148248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 05:59:22] local.INFO: TCP Data received {"connection_id":148248,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5184f0012dc2a700053d04d80023011f28..."} 
[2026-08-05 05:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5184f0012dc2a700053d04d80023011f28..."} 
[2026-08-05 05:59:22] local.INFO: Processing buffer {"connection_id":148248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5184f0012dc2a700053d04d80023011f28..."} 
[2026-08-05 05:59:22] local.INFO: Packet analysis {"connection_id":148248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf51"} 
[2026-08-05 05:59:22] local.INFO: Extracted packet for processing {"connection_id":148248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf51"} 
[2026-08-05 05:59:22] local.INFO: GPS Element Parsed {"raw_longitude":767731456,"raw_latitude":87885016,"longitude_deg":76.7731456,"latitude_deg":8.7885016,"altitude":35,"angle":287,"satellites":40,"speed":41,"hex_longitude":"2dc2a700","hex_latitude":"053d04d8","is_valid_coordinates":true} 
[2026-08-05 05:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187748864001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369965824292683776,"note":"Value kept but may cause issues"} 
[2026-08-05 05:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4409938806371905536,"note":"Value kept but may cause issues"} 
[2026-08-05 05:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785889654000,"timestamp_ms":1785889654000,"timestamp_seconds":1785889654,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5184f0"} 
[2026-08-05 05:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-05 05:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187748864001,"66":27343,"67":206,"80":35072,"24":41,"16":369965824292683776,"45":-4409938806371905536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-05 05:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187748864001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:59:22] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 05:59:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369965824292683776,"km_value":369965824292683.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4409938806371905536,"description":"Unknown IO ID 45"} 
[2026-08-05 05:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187748864001,"power":27343,"unknown_67":206,"unknown_80":35072,"ignition":41,"odometer":null,"unknown_45":-4409938806371905536}} 
[2026-08-05 05:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":148248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:59:22] local.INFO: GPS data processed {"connection_id":148248,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:59:22] local.INFO: Acknowledgment sent {"connection_id":148248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 05:59:52] local.INFO: TCP Data received {"connection_id":148248,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf51a430012dc28a80053d10a00026012a28..."} 
[2026-08-05 05:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf51a430012dc28a80053d10a00026012a28..."} 
[2026-08-05 05:59:52] local.INFO: Processing buffer {"connection_id":148248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf51a430012dc28a80053d10a00026012a28..."} 
[2026-08-05 05:59:52] local.INFO: Packet analysis {"connection_id":148248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf51"} 
[2026-08-05 05:59:52] local.INFO: Extracted packet for processing {"connection_id":148248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf51"} 
[2026-08-05 05:59:52] local.INFO: GPS Element Parsed {"raw_longitude":767724160,"raw_latitude":87888032,"longitude_deg":76.772416,"latitude_deg":8.7888032,"altitude":38,"angle":298,"satellites":40,"speed":36,"hex_longitude":"2dc28a80","hex_latitude":"053d10a0","is_valid_coordinates":true} 
[2026-08-05 05:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 05:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187751424001,"note":"Value kept but may cause issues"} 
[2026-08-05 05:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369966206544773120,"note":"Value kept but may cause issues"} 
[2026-08-05 05:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4420564486742288384,"note":"Value kept but may cause issues"} 
[2026-08-05 05:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 05:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785889662000,"timestamp_ms":1785889662000,"timestamp_seconds":1785889662,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf51a430"} 
[2026-08-05 05:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 05:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 05:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-05 05:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 05:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 05:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 05:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 05:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 05:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 05:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 05:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 05:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 05:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187751424001,"66":27343,"67":206,"80":35072,"24":36,"16":369966206544773120,"45":-4420564486742288384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-05 05:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 05:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 05:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187751424001,"description":"Unknown IO ID 0"} 
[2026-08-05 05:59:52] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 05:59:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-05 05:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369966206544773120,"km_value":369966206544773.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 05:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4420564486742288384,"description":"Unknown IO ID 45"} 
[2026-08-05 05:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187751424001,"power":27343,"unknown_67":206,"unknown_80":35072,"ignition":36,"odometer":null,"unknown_45":-4420564486742288384}} 
[2026-08-05 05:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":148248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 05:59:52] local.INFO: GPS data processed {"connection_id":148248,"processed":1,"errors":0,"total":1} 
[2026-08-05 05:59:52] local.INFO: Acknowledgment sent {"connection_id":148248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:00:16] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:00:16] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:00:16] local.INFO: IMEI packet received {"connection_id":148464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":148464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:00:21] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:00:21] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:00:21] local.INFO: IMEI packet received {"connection_id":148464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":148464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:00:22] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf51c758012dc271c0053d2188002a013528..."} 
[2026-08-05 06:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf51c758012dc271c0053d2188002a013528..."} 
[2026-08-05 06:00:22] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf51c758012dc271c0053d2188002a013528..."} 
[2026-08-05 06:00:22] local.INFO: Packet analysis {"connection_id":148464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf51"} 
[2026-08-05 06:00:22] local.INFO: Extracted packet for processing {"connection_id":148464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf51"} 
[2026-08-05 06:00:22] local.INFO: GPS Element Parsed {"raw_longitude":767717824,"raw_latitude":87892360,"longitude_deg":76.7717824,"latitude_deg":8.789236,"altitude":42,"angle":309,"satellites":40,"speed":31,"hex_longitude":"2dc271c0","hex_latitude":"053d2188","is_valid_coordinates":true} 
[2026-08-05 06:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187753472001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369966575911960576,"note":"Value kept but may cause issues"} 
[2026-08-05 06:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4428586523577769984,"note":"Value kept but may cause issues"} 
[2026-08-05 06:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785889671000,"timestamp_ms":1785889671000,"timestamp_seconds":1785889671,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf51c758"} 
[2026-08-05 06:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-05 06:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187753472001,"66":27234,"188":206,"84":5376,"24":31,"16":369966575911960576,"45":-4428586523577769984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,84,24,16,45]} 
[2026-08-05 06:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187753472001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:00:22] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-05 06:00:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369966575911960576,"km_value":369966575911960.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4428586523577769984,"description":"Unknown IO ID 45"} 
[2026-08-05 06:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187753472001,"power":27234,"unknown_188":206,"unknown_84":5376,"ignition":31,"odometer":null,"unknown_45":-4428586523577769984}} 
[2026-08-05 06:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":148464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:00:22] local.INFO: GPS data processed {"connection_id":148464,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:00:22] local.INFO: Acknowledgment sent {"connection_id":148464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:00:53] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf538c78012dc205c0053e5808002201612c..."} 
[2026-08-05 06:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf538c78012dc205c0053e5808002201612c..."} 
[2026-08-05 06:00:53] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf538c78012dc205c0053e5808002201612c..."} 
[2026-08-05 06:00:53] local.INFO: Packet analysis {"connection_id":148464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf53"} 
[2026-08-05 06:00:53] local.INFO: Extracted packet for processing {"connection_id":148464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf53"} 
[2026-08-05 06:00:53] local.INFO: GPS Element Parsed {"raw_longitude":767690176,"raw_latitude":87971848,"longitude_deg":76.7690176,"latitude_deg":8.7971848,"altitude":34,"angle":353,"satellites":44,"speed":22,"hex_longitude":"2dc205c0","hex_latitude":"053e5808","is_valid_coordinates":true} 
[2026-08-05 06:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187781376001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369970724850368512,"note":"Value kept but may cause issues"} 
[2026-08-05 06:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4464896795554293760,"note":"Value kept but may cause issues"} 
[2026-08-05 06:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785889787000,"timestamp_ms":1785889787000,"timestamp_seconds":1785889787,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf538c78"} 
[2026-08-05 06:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 06:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187781376001,"66":27376,"187":206,"84":5376,"24":22,"16":369970724850368512,"45":-4464896795554293760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,84,24,16,45]} 
[2026-08-05 06:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187781376001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:00:53] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-05 06:00:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369970724850368512,"km_value":369970724850368.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4464896795554293760,"description":"Unknown IO ID 45"} 
[2026-08-05 06:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187781376001,"power":27376,"unknown_187":206,"unknown_84":5376,"ignition":22,"odometer":null,"unknown_45":-4464896795554293760}} 
[2026-08-05 06:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":148464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:00:53] local.INFO: GPS data processed {"connection_id":148464,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:00:53] local.INFO: Acknowledgment sent {"connection_id":148464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:01:21] local.INFO: TCP Data received {"connection_id":150875,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:01:21] local.INFO: Processing buffer {"connection_id":150875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:01:21] local.INFO: IMEI packet received {"connection_id":150875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":150875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:01:22] local.INFO: TCP Data received {"connection_id":150875,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:01:22] local.INFO: Processing buffer {"connection_id":150875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:01:22] local.INFO: IMEI packet received {"connection_id":150875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":150875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:01:22] local.INFO: TCP Data received {"connection_id":150875,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf53c710012dc20400053e7bd8002101642d..."} 
[2026-08-05 06:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf53c710012dc20400053e7bd8002101642d..."} 
[2026-08-05 06:01:22] local.INFO: Processing buffer {"connection_id":150875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf53c710012dc20400053e7bd8002101642d..."} 
[2026-08-05 06:01:22] local.INFO: Packet analysis {"connection_id":150875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf53"} 
[2026-08-05 06:01:22] local.INFO: Extracted packet for processing {"connection_id":150875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf53"} 
[2026-08-05 06:01:22] local.INFO: GPS Element Parsed {"raw_longitude":767689728,"raw_latitude":87981016,"longitude_deg":76.7689728,"latitude_deg":8.7981016,"altitude":33,"angle":356,"satellites":45,"speed":25,"hex_longitude":"2dc20400","hex_latitude":"053e7bd8","is_valid_coordinates":true} 
[2026-08-05 06:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187785472001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369971167232000000,"note":"Value kept but may cause issues"} 
[2026-08-05 06:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4465952326714652672,"note":"Value kept but may cause issues"} 
[2026-08-05 06:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785889802000,"timestamp_ms":1785889802000,"timestamp_seconds":1785889802,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf53c710"} 
[2026-08-05 06:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-05 06:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187785472001,"66":27397,"187":206,"84":5376,"24":25,"16":369971167232000000,"45":-4465952326714652672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,84,24,16,45]} 
[2026-08-05 06:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187785472001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:01:22] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-05 06:01:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369971167232000000,"km_value":369971167232000,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4465952326714652672,"description":"Unknown IO ID 45"} 
[2026-08-05 06:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187785472001,"power":27397,"unknown_187":206,"unknown_84":5376,"ignition":25,"odometer":null,"unknown_45":-4465952326714652672}} 
[2026-08-05 06:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":150875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:01:22] local.INFO: GPS data processed {"connection_id":150875,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:01:22] local.INFO: Acknowledgment sent {"connection_id":150875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:01:26] local.INFO: TCP Data received {"connection_id":150875,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf53f9d8012dc202c0053e9e680023015c2e..."} 
[2026-08-05 06:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf53f9d8012dc202c0053e9e680023015c2e..."} 
[2026-08-05 06:01:26] local.INFO: Processing buffer {"connection_id":150875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf53f9d8012dc202c0053e9e680023015c2e..."} 
[2026-08-05 06:01:26] local.INFO: Packet analysis {"connection_id":150875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf53"} 
[2026-08-05 06:01:26] local.INFO: Extracted packet for processing {"connection_id":150875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf53"} 
[2026-08-05 06:01:26] local.INFO: GPS Element Parsed {"raw_longitude":767689408,"raw_latitude":87989864,"longitude_deg":76.7689408,"latitude_deg":8.7989864,"altitude":35,"angle":348,"satellites":46,"speed":28,"hex_longitude":"2dc202c0","hex_latitude":"053e9e68","is_valid_coordinates":true} 
[2026-08-05 06:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187789312001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369971596728729600,"note":"Value kept but may cause issues"} 
[2026-08-05 06:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4466444907921549312,"note":"Value kept but may cause issues"} 
[2026-08-05 06:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785889815000,"timestamp_ms":1785889815000,"timestamp_seconds":1785889815,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf53f9d8"} 
[2026-08-05 06:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 06:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187789312001,"66":27365,"217":206,"84":5376,"24":28,"16":369971596728729600,"45":-4466444907921549312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,84,24,16,45]} 
[2026-08-05 06:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187789312001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:01:26] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-05 06:01:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369971596728729600,"km_value":369971596728729.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4466444907921549312,"description":"Unknown IO ID 45"} 
[2026-08-05 06:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187789312001,"power":27365,"unknown_217":206,"unknown_84":5376,"ignition":28,"odometer":null,"unknown_45":-4466444907921549312}} 
[2026-08-05 06:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":150875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:01:26] local.INFO: GPS data processed {"connection_id":150875,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:01:26] local.INFO: Acknowledgment sent {"connection_id":150875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:01:57] local.INFO: TCP Data received {"connection_id":150875,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5424d0012dc1f8c0053ec0b8002601512e..."} 
[2026-08-05 06:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5424d0012dc1f8c0053ec0b8002601512e..."} 
[2026-08-05 06:01:57] local.INFO: Processing buffer {"connection_id":150875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5424d0012dc1f8c0053ec0b8002601512e..."} 
[2026-08-05 06:01:57] local.INFO: Packet analysis {"connection_id":150875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf54"} 
[2026-08-05 06:01:57] local.INFO: Extracted packet for processing {"connection_id":150875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf54"} 
[2026-08-05 06:01:57] local.INFO: GPS Element Parsed {"raw_longitude":767686848,"raw_latitude":87998648,"longitude_deg":76.7686848,"latitude_deg":8.7998648,"altitude":38,"angle":337,"satellites":46,"speed":32,"hex_longitude":"2dc1f8c0","hex_latitude":"053ec0b8","is_valid_coordinates":true} 
[2026-08-05 06:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187792640001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369972043405328384,"note":"Value kept but may cause issues"} 
[2026-08-05 06:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4466796751640172544,"note":"Value kept but may cause issues"} 
[2026-08-05 06:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785889826000,"timestamp_ms":1785889826000,"timestamp_seconds":1785889826,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5424d0"} 
[2026-08-05 06:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-05 06:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187792640001,"66":27376,"217":206,"84":5376,"24":32,"16":369972043405328384,"45":-4466796751640172544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,84,24,16,45]} 
[2026-08-05 06:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187792640001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:01:57] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-05 06:01:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369972043405328384,"km_value":369972043405328.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4466796751640172544,"description":"Unknown IO ID 45"} 
[2026-08-05 06:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187792640001,"power":27376,"unknown_217":206,"unknown_84":5376,"ignition":32,"odometer":null,"unknown_45":-4466796751640172544}} 
[2026-08-05 06:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":150875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:01:57] local.INFO: GPS data processed {"connection_id":150875,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:01:57] local.INFO: Acknowledgment sent {"connection_id":150875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:02:21] local.INFO: TCP Data received {"connection_id":149470,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:02:21] local.INFO: Processing buffer {"connection_id":149470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:02:21] local.INFO: IMEI packet received {"connection_id":149470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":149470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:02:24] local.INFO: TCP Data received {"connection_id":149470,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:02:24] local.INFO: Processing buffer {"connection_id":149470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:02:24] local.INFO: IMEI packet received {"connection_id":149470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":149470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:02:25] local.INFO: TCP Data received {"connection_id":149470,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf551ed0012dc10e00053f7b880034014c2d..."} 
[2026-08-05 06:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf551ed0012dc10e00053f7b880034014c2d..."} 
[2026-08-05 06:02:25] local.INFO: Processing buffer {"connection_id":149470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf551ed0012dc10e00053f7b880034014c2d..."} 
[2026-08-05 06:02:25] local.INFO: Packet analysis {"connection_id":149470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf55"} 
[2026-08-05 06:02:25] local.INFO: Extracted packet for processing {"connection_id":149470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf55"} 
[2026-08-05 06:02:25] local.INFO: GPS Element Parsed {"raw_longitude":767626752,"raw_latitude":88046472,"longitude_deg":76.7626752,"latitude_deg":8.8046472,"altitude":52,"angle":332,"satellites":45,"speed":51,"hex_longitude":"2dc10e00","hex_latitude":"053f7b88","is_valid_coordinates":true} 
[2026-08-05 06:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187810304001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369975861631254528,"note":"Value kept but may cause issues"} 
[2026-08-05 06:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4530621202596517888,"note":"Value kept but may cause issues"} 
[2026-08-05 06:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785889890000,"timestamp_ms":1785889890000,"timestamp_seconds":1785889890,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf551ed0"} 
[2026-08-05 06:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 06:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187810304001,"66":27343,"218":206,"84":5376,"24":51,"16":369975861631254528,"45":-4530621202596517888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,84,24,16,45]} 
[2026-08-05 06:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187810304001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:02:25] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-05 06:02:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369975861631254528,"km_value":369975861631254.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4530621202596517888,"description":"Unknown IO ID 45"} 
[2026-08-05 06:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187810304001,"power":27343,"unknown_218":206,"unknown_84":5376,"ignition":51,"odometer":null,"unknown_45":-4530621202596517888}} 
[2026-08-05 06:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":149470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:02:25] local.INFO: GPS data processed {"connection_id":149470,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:02:25] local.INFO: Acknowledgment sent {"connection_id":149470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:02:56] local.INFO: TCP Data received {"connection_id":149470,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf553e10012dc0ff00053fa000003601562e..."} 
[2026-08-05 06:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf553e10012dc0ff00053fa000003601562e..."} 
[2026-08-05 06:02:56] local.INFO: Processing buffer {"connection_id":149470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf553e10012dc0ff00053fa000003601562e..."} 
[2026-08-05 06:02:56] local.INFO: Packet analysis {"connection_id":149470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf55"} 
[2026-08-05 06:02:56] local.INFO: Extracted packet for processing {"connection_id":149470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf55"} 
[2026-08-05 06:02:56] local.INFO: GPS Element Parsed {"raw_longitude":767622912,"raw_latitude":88055808,"longitude_deg":76.7622912,"latitude_deg":8.8055808,"altitude":54,"angle":342,"satellites":46,"speed":48,"hex_longitude":"2dc0ff00","hex_latitude":"053fa000","is_valid_coordinates":true} 
[2026-08-05 06: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-08-05 06:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187811840001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369976351257526272,"note":"Value kept but may cause issues"} 
[2026-08-05 06:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4535687752175613952,"note":"Value kept but may cause issues"} 
[2026-08-05 06:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785889898000,"timestamp_ms":1785889898000,"timestamp_seconds":1785889898,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf553e10"} 
[2026-08-05 06:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-05 06:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06: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-08-05 06:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187811840001,"66":27463,"218":206,"84":5376,"24":48,"16":369976351257526272,"45":-4535687752175613952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,84,24,16,45]} 
[2026-08-05 06:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187811840001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:02:56] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-05 06:02:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369976351257526272,"km_value":369976351257526.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4535687752175613952,"description":"Unknown IO ID 45"} 
[2026-08-05 06:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187811840001,"power":27463,"unknown_218":206,"unknown_84":5376,"ignition":48,"odometer":null,"unknown_45":-4535687752175613952}} 
[2026-08-05 06:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":149470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:02:56] local.INFO: GPS data processed {"connection_id":149470,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:02:56] local.INFO: Acknowledgment sent {"connection_id":149470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:03:13] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:03:13] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:03:13] local.INFO: IMEI packet received {"connection_id":148465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":148465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:03:16] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:03:16] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:03:16] local.INFO: IMEI packet received {"connection_id":148465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":148465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:03:20] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:03:20] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:03:20] local.INFO: IMEI packet received {"connection_id":148465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":148465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:03:21] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf555d50012dc0f2c0053fc570003701552d..."} 
[2026-08-05 06:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf555d50012dc0f2c0053fc570003701552d..."} 
[2026-08-05 06:03:21] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf555d50012dc0f2c0053fc570003701552d..."} 
[2026-08-05 06:03:21] local.INFO: Packet analysis {"connection_id":148465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf55"} 
[2026-08-05 06:03:21] local.INFO: Extracted packet for processing {"connection_id":148465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf55"} 
[2026-08-05 06:03:21] local.INFO: GPS Element Parsed {"raw_longitude":767619776,"raw_latitude":88065392,"longitude_deg":76.7619776,"latitude_deg":8.8065392,"altitude":55,"angle":341,"satellites":45,"speed":51,"hex_longitude":"2dc0f2c0","hex_latitude":"053fc570","is_valid_coordinates":true} 
[2026-08-05 06:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187813888001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369976836588830720,"note":"Value kept but may cause issues"} 
[2026-08-05 06:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4539909876823883776,"note":"Value kept but may cause issues"} 
[2026-08-05 06:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785889906000,"timestamp_ms":1785889906000,"timestamp_seconds":1785889906,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf555d50"} 
[2026-08-05 06:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:03: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-08-05 06:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-05 06:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187813888001,"66":27463,"95":206,"84":5376,"24":51,"16":369976836588830720,"45":-4539909876823883776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-05 06:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187813888001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:03:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-05 06:03:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369976836588830720,"km_value":369976836588830.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4539909876823883776,"description":"Unknown IO ID 45"} 
[2026-08-05 06:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187813888001,"power":27463,"unknown_95":206,"unknown_84":5376,"ignition":51,"odometer":null,"unknown_45":-4539909876823883776}} 
[2026-08-05 06:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":148465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:03:21] local.INFO: GPS data processed {"connection_id":148465,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:03:21] local.INFO: Acknowledgment sent {"connection_id":148465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:03:51] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5578a8012dc0e800053fe698003701562c..."} 
[2026-08-05 06:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5578a8012dc0e800053fe698003701562c..."} 
[2026-08-05 06:03:51] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5578a8012dc0e800053fe698003701562c..."} 
[2026-08-05 06:03:51] local.INFO: Packet analysis {"connection_id":148465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf55"} 
[2026-08-05 06:03:51] local.INFO: Extracted packet for processing {"connection_id":148465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf55"} 
[2026-08-05 06:03:51] local.INFO: GPS Element Parsed {"raw_longitude":767617024,"raw_latitude":88073880,"longitude_deg":76.7617024,"latitude_deg":8.807388,"altitude":55,"angle":342,"satellites":44,"speed":50,"hex_longitude":"2dc0e800","hex_latitude":"053fe698","is_valid_coordinates":true} 
[2026-08-05 06:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187815936001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369977270380527616,"note":"Value kept but may cause issues"} 
[2026-08-05 06:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4543357945286135808,"note":"Value kept but may cause issues"} 
[2026-08-05 06:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785889913000,"timestamp_ms":1785889913000,"timestamp_seconds":1785889913,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5578a8"} 
[2026-08-05 06:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-05 06:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187815936001,"66":27376,"95":206,"84":5376,"24":50,"16":369977270380527616,"45":-4543357945286135808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-05 06:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187815936001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:03:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-05 06:03:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369977270380527616,"km_value":369977270380527.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4543357945286135808,"description":"Unknown IO ID 45"} 
[2026-08-05 06:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187815936001,"power":27376,"unknown_95":206,"unknown_84":5376,"ignition":50,"odometer":null,"unknown_45":-4543357945286135808}} 
[2026-08-05 06:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":148465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:03:51] local.INFO: GPS data processed {"connection_id":148465,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:03:51] local.INFO: Acknowledgment sent {"connection_id":148465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:04:16] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:04:16] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:04:16] local.INFO: IMEI packet received {"connection_id":148466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":148466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:04:19] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:04:19] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:04:19] local.INFO: IMEI packet received {"connection_id":148466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":148466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:04:20] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf569da0012dc0120005413d30003501472c..."} 
[2026-08-05 06:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf569da0012dc0120005413d30003501472c..."} 
[2026-08-05 06:04:20] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf569da0012dc0120005413d30003501472c..."} 
[2026-08-05 06:04:20] local.INFO: Packet analysis {"connection_id":148466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf56"} 
[2026-08-05 06:04:20] local.INFO: Extracted packet for processing {"connection_id":148466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf56"} 
[2026-08-05 06:04:20] local.INFO: GPS Element Parsed {"raw_longitude":767562240,"raw_latitude":88161584,"longitude_deg":76.756224,"latitude_deg":8.8161584,"altitude":53,"angle":327,"satellites":44,"speed":61,"hex_longitude":"2dc01200","hex_latitude":"05413d30","is_valid_coordinates":true} 
[2026-08-05 06:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187835392001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369982295492263936,"note":"Value kept but may cause issues"} 
[2026-08-05 06:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4601060315489191936,"note":"Value kept but may cause issues"} 
[2026-08-05 06:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785889988000,"timestamp_ms":1785889988000,"timestamp_seconds":1785889988,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf569da0"} 
[2026-08-05 06:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 06:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187835392001,"66":27365,"97":206,"84":5376,"24":61,"16":369982295492263936,"45":-4601060315489191936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-08-05 06:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187835392001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:04:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 06:04:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369982295492263936,"km_value":369982295492263.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4601060315489191936,"description":"Unknown IO ID 45"} 
[2026-08-05 06:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187835392001,"power":27365,"unknown_97":206,"unknown_84":5376,"ignition":61,"odometer":null,"unknown_45":-4601060315489191936}} 
[2026-08-05 06:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":148466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:04:20] local.INFO: GPS data processed {"connection_id":148466,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:04:20] local.INFO: Acknowledgment sent {"connection_id":148466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:04:52] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf56b510012dbffe8005415ba8003301472d..."} 
[2026-08-05 06:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf56b510012dbffe8005415ba8003301472d..."} 
[2026-08-05 06:04:52] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf56b510012dbffe8005415ba8003301472d..."} 
[2026-08-05 06:04:52] local.INFO: Packet analysis {"connection_id":148466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf56"} 
[2026-08-05 06:04:52] local.INFO: Extracted packet for processing {"connection_id":148466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf56"} 
[2026-08-05 06:04:52] local.INFO: GPS Element Parsed {"raw_longitude":767557248,"raw_latitude":88169384,"longitude_deg":76.7557248,"latitude_deg":8.8169384,"altitude":51,"angle":327,"satellites":45,"speed":61,"hex_longitude":"2dbffe80","hex_latitude":"05415ba8","is_valid_coordinates":true} 
[2026-08-05 06:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187836928001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369982746463830016,"note":"Value kept but may cause issues"} 
[2026-08-05 06:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4606619446277230592,"note":"Value kept but may cause issues"} 
[2026-08-05 06:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785889994000,"timestamp_ms":1785889994000,"timestamp_seconds":1785889994,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf56b510"} 
[2026-08-05 06:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-05 06:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187836928001,"66":27071,"97":206,"84":5376,"24":61,"16":369982746463830016,"45":-4606619446277230592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-08-05 06:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187836928001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 06:04:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369982746463830016,"km_value":369982746463830.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4606619446277230592,"description":"Unknown IO ID 45"} 
[2026-08-05 06:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187836928001,"power":27071,"unknown_97":206,"unknown_84":5376,"ignition":61,"odometer":null,"unknown_45":-4606619446277230592}} 
[2026-08-05 06:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":148466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:04:52] local.INFO: GPS data processed {"connection_id":148466,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:04:52] local.INFO: Acknowledgment sent {"connection_id":148466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:05:21] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:05:21] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:05:21] local.INFO: IMEI packet received {"connection_id":148467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":148467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:05:23] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:05:23] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:05:23] local.INFO: IMEI packet received {"connection_id":148467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":148467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:05:29] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:05:29] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:05:29] local.INFO: IMEI packet received {"connection_id":148467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":148467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:05:51] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf56cc80012dbfeb8005417948003301472d..."} 
[2026-08-05 06:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf56cc80012dbfeb8005417948003301472d..."} 
[2026-08-05 06:05:51] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf56cc80012dbfeb8005417948003301472d..."} 
[2026-08-05 06:05:51] local.INFO: Packet analysis {"connection_id":148467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf56"} 
[2026-08-05 06:05:51] local.INFO: Extracted packet for processing {"connection_id":148467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf56"} 
[2026-08-05 06:05:51] local.INFO: GPS Element Parsed {"raw_longitude":767552384,"raw_latitude":88176968,"longitude_deg":76.7552384,"latitude_deg":8.8176968,"altitude":51,"angle":327,"satellites":45,"speed":57,"hex_longitude":"2dbfeb80","hex_latitude":"05417948","is_valid_coordinates":true} 
[2026-08-05 06:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187838464001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369983180255526912,"note":"Value kept but may cause issues"} 
[2026-08-05 06:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4612108208321091584,"note":"Value kept but may cause issues"} 
[2026-08-05 06:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785890000000,"timestamp_ms":1785890000000,"timestamp_seconds":1785890000,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf56cc80"} 
[2026-08-05 06:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-05 06:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187838464001,"66":27397,"97":206,"84":5376,"24":57,"16":369983180255526912,"45":-4612108208321091584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-08-05 06:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187838464001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:05:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 06:05:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369983180255526912,"km_value":369983180255526.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4612108208321091584,"description":"Unknown IO ID 45"} 
[2026-08-05 06:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187838464001,"power":27397,"unknown_97":206,"unknown_84":5376,"ignition":57,"odometer":null,"unknown_45":-4612108208321091584}} 
[2026-08-05 06:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":148467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:05:51] local.INFO: GPS data processed {"connection_id":148467,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:05:51] local.INFO: Acknowledgment sent {"connection_id":148467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:06:16] local.INFO: TCP Data received {"connection_id":148249,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:06:16] local.INFO: Processing buffer {"connection_id":148249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:06:16] local.INFO: IMEI packet received {"connection_id":148249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":148249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:06:16] local.INFO: TCP Data received {"connection_id":148249,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:06:16] local.INFO: Processing buffer {"connection_id":148249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:06:16] local.INFO: IMEI packet received {"connection_id":148249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":148249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:06:24] local.INFO: TCP Data received {"connection_id":148249,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:06:24] local.INFO: Processing buffer {"connection_id":148249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:06:24] local.INFO: IMEI packet received {"connection_id":148249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":148249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:06:26] local.INFO: TCP Data received {"connection_id":148249,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf586e78012dbec40005431a700035014729..."} 
[2026-08-05 06:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf586e78012dbec40005431a700035014729..."} 
[2026-08-05 06:06:26] local.INFO: Processing buffer {"connection_id":148249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf586e78012dbec40005431a700035014729..."} 
[2026-08-05 06:06:26] local.INFO: Packet analysis {"connection_id":148249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf58"} 
[2026-08-05 06:06:26] local.INFO: Extracted packet for processing {"connection_id":148249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf58"} 
[2026-08-05 06:06:26] local.INFO: GPS Element Parsed {"raw_longitude":767476736,"raw_latitude":88283760,"longitude_deg":76.7476736,"latitude_deg":8.828376,"altitude":53,"angle":327,"satellites":41,"speed":46,"hex_longitude":"2dbec400","hex_latitude":"05431a70","is_valid_coordinates":true} 
[2026-08-05 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-08-05 06:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187867392001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369989519627255808,"note":"Value kept but may cause issues"} 
[2026-08-05 06:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4700632088467312640,"note":"Value kept but may cause issues"} 
[2026-08-05 06:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785890107000,"timestamp_ms":1785890107000,"timestamp_seconds":1785890107,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf586e78"} 
[2026-08-05 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-08-05 06:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 06:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 06:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187867392001,"66":27397,"109":206,"84":5376,"24":46,"16":369989519627255808,"45":-4700632088467312640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-05 06:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187867392001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:06:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 06:06:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369989519627255808,"km_value":369989519627255.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4700632088467312640,"description":"Unknown IO ID 45"} 
[2026-08-05 06:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187867392001,"power":27397,"unknown_109":206,"unknown_84":5376,"ignition":46,"odometer":null,"unknown_45":-4700632088467312640}} 
[2026-08-05 06:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":148249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:06:27] local.INFO: GPS data processed {"connection_id":148249,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:06:27] local.INFO: Acknowledgment sent {"connection_id":148249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:06:59] local.INFO: TCP Data received {"connection_id":148249,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf588db8012dbeb2c005433c380035014f28..."} 
[2026-08-05 06:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf588db8012dbeb2c005433c380035014f28..."} 
[2026-08-05 06:06:59] local.INFO: Processing buffer {"connection_id":148249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf588db8012dbeb2c005433c380035014f28..."} 
[2026-08-05 06:06:59] local.INFO: Packet analysis {"connection_id":148249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf58"} 
[2026-08-05 06:06:59] local.INFO: Extracted packet for processing {"connection_id":148249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf58"} 
[2026-08-05 06:06:59] local.INFO: GPS Element Parsed {"raw_longitude":767472320,"raw_latitude":88292408,"longitude_deg":76.747232,"latitude_deg":8.8292408,"altitude":53,"angle":335,"satellites":40,"speed":49,"hex_longitude":"2dbeb2c0","hex_latitude":"05433c38","is_valid_coordinates":true} 
[2026-08-05 06:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187867392001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369989987778691072,"note":"Value kept but may cause issues"} 
[2026-08-05 06:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4700632088467312640,"note":"Value kept but may cause issues"} 
[2026-08-05 06:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785890115000,"timestamp_ms":1785890115000,"timestamp_seconds":1785890115,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf588db8"} 
[2026-08-05 06:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 06:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187867392001,"66":27343,"109":206,"84":5376,"24":49,"16":369989987778691072,"45":-4700632088467312640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-05 06:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187867392001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:06:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 06:06:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369989987778691072,"km_value":369989987778691.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4700632088467312640,"description":"Unknown IO ID 45"} 
[2026-08-05 06:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187867392001,"power":27343,"unknown_109":206,"unknown_84":5376,"ignition":49,"odometer":null,"unknown_45":-4700632088467312640}} 
[2026-08-05 06:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":148249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:06:59] local.INFO: GPS data processed {"connection_id":148249,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:06:59] local.INFO: Acknowledgment sent {"connection_id":148249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:07:15] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:07:15] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:07:15] local.INFO: IMEI packet received {"connection_id":148468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":148468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:07:17] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:07:17] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:07:17] local.INFO: IMEI packet received {"connection_id":148468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":148468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:07:21] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:07:21] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:07:21] local.INFO: IMEI packet received {"connection_id":148468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":148468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:07:22] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf58a910012dbea48005435c000035014f29..."} 
[2026-08-05 06:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf58a910012dbea48005435c000035014f29..."} 
[2026-08-05 06:07:22] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf58a910012dbea48005435c000035014f29..."} 
[2026-08-05 06:07:22] local.INFO: Packet analysis {"connection_id":148468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf58"} 
[2026-08-05 06:07:22] local.INFO: Extracted packet for processing {"connection_id":148468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf58"} 
[2026-08-05 06:07:22] local.INFO: GPS Element Parsed {"raw_longitude":767468672,"raw_latitude":88300544,"longitude_deg":76.7468672,"latitude_deg":8.8300544,"altitude":53,"angle":335,"satellites":41,"speed":50,"hex_longitude":"2dbea480","hex_latitude":"05435c00","is_valid_coordinates":true} 
[2026-08-05 06:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187869440001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369990421570387968,"note":"Value kept but may cause issues"} 
[2026-08-05 06:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4705487531813357568,"note":"Value kept but may cause issues"} 
[2026-08-05 06:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785890122000,"timestamp_ms":1785890122000,"timestamp_seconds":1785890122,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf58a910"} 
[2026-08-05 06:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-05 06:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187869440001,"66":27463,"109":206,"84":5376,"24":50,"16":369990421570387968,"45":-4705487531813357568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-05 06:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187869440001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:07:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 06:07:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369990421570387968,"km_value":369990421570387.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4705487531813357568,"description":"Unknown IO ID 45"} 
[2026-08-05 06:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187869440001,"power":27463,"unknown_109":206,"unknown_84":5376,"ignition":50,"odometer":null,"unknown_45":-4705487531813357568}} 
[2026-08-05 06:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":148468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:07:22] local.INFO: GPS data processed {"connection_id":148468,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:07:22] local.INFO: Acknowledgment sent {"connection_id":148468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:07:52] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5a27e0012dbd5c400544aaa00037014329..."} 
[2026-08-05 06:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5a27e0012dbd5c400544aaa00037014329..."} 
[2026-08-05 06:07:52] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5a27e0012dbd5c400544aaa00037014329..."} 
[2026-08-05 06:07:52] local.INFO: Packet analysis {"connection_id":148468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5a"} 
[2026-08-05 06:07:52] local.INFO: Extracted packet for processing {"connection_id":148468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5a"} 
[2026-08-05 06:07:52] local.INFO: GPS Element Parsed {"raw_longitude":767384640,"raw_latitude":88386208,"longitude_deg":76.738464,"latitude_deg":8.8386208,"altitude":55,"angle":323,"satellites":41,"speed":56,"hex_longitude":"2dbd5c40","hex_latitude":"0544aaa0","is_valid_coordinates":true} 
[2026-08-05 06:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187894528001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369996447409504256,"note":"Value kept but may cause issues"} 
[2026-08-05 06:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4796192843036569600,"note":"Value kept but may cause issues"} 
[2026-08-05 06:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785890220000,"timestamp_ms":1785890220000,"timestamp_seconds":1785890220,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5a27e0"} 
[2026-08-05 06:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 06:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187894528001,"66":26636,"117":206,"84":5376,"24":56,"16":369996447409504256,"45":-4796192843036569600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-05 06:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187894528001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:07:52] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-05 06:07:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369996447409504256,"km_value":369996447409504.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4796192843036569600,"description":"Unknown IO ID 45"} 
[2026-08-05 06:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187894528001,"power":26636,"unknown_117":206,"unknown_84":5376,"ignition":56,"odometer":null,"unknown_45":-4796192843036569600}} 
[2026-08-05 06:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":148468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:07:52] local.INFO: GPS data processed {"connection_id":148468,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:07:52] local.INFO: Acknowledgment sent {"connection_id":148468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:08:20] local.INFO: TCP Data received {"connection_id":150876,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:08:20] local.INFO: Processing buffer {"connection_id":150876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:08:20] local.INFO: IMEI packet received {"connection_id":150876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":150876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:08:20] local.INFO: TCP Data received {"connection_id":150876,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:08:20] local.INFO: Processing buffer {"connection_id":150876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:08:20] local.INFO: IMEI packet received {"connection_id":150876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":150876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:08:26] local.INFO: TCP Data received {"connection_id":150876,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:08:26] local.INFO: Processing buffer {"connection_id":150876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:08:26] local.INFO: IMEI packet received {"connection_id":150876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":150876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:08:27] local.INFO: TCP Data received {"connection_id":150876,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5a4338012dbd44c00544c868003801412b..."} 
[2026-08-05 06:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5a4338012dbd44c00544c868003801412b..."} 
[2026-08-05 06:08:27] local.INFO: Processing buffer {"connection_id":150876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5a4338012dbd44c00544c868003801412b..."} 
[2026-08-05 06:08:27] local.INFO: Packet analysis {"connection_id":150876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5a"} 
[2026-08-05 06:08:27] local.INFO: Extracted packet for processing {"connection_id":150876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5a"} 
[2026-08-05 06:08:27] local.INFO: GPS Element Parsed {"raw_longitude":767378624,"raw_latitude":88393832,"longitude_deg":76.7378624,"latitude_deg":8.8393832,"altitude":56,"angle":321,"satellites":43,"speed":53,"hex_longitude":"2dbd44c0","hex_latitude":"0544c868","is_valid_coordinates":true} 
[2026-08-05 06:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187896320001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369996919855906816,"note":"Value kept but may cause issues"} 
[2026-08-05 06:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4801892711312744448,"note":"Value kept but may cause issues"} 
[2026-08-05 06:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785890227000,"timestamp_ms":1785890227000,"timestamp_seconds":1785890227,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5a4338"} 
[2026-08-05 06:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 06:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187896320001,"66":27463,"117":206,"84":5376,"24":53,"16":369996919855906816,"45":-4801892711312744448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-05 06:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187896320001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:08:27] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-05 06:08:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369996919855906816,"km_value":369996919855906.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4801892711312744448,"description":"Unknown IO ID 45"} 
[2026-08-05 06:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187896320001,"power":27463,"unknown_117":206,"unknown_84":5376,"ignition":53,"odometer":null,"unknown_45":-4801892711312744448}} 
[2026-08-05 06:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":150876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:08:27] local.INFO: GPS data processed {"connection_id":150876,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:08:27] local.INFO: Acknowledgment sent {"connection_id":150876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:08:58] local.INFO: TCP Data received {"connection_id":150876,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5a5e90012dbd2f400544e560003a01472a..."} 
[2026-08-05 06:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5a5e90012dbd2f400544e560003a01472a..."} 
[2026-08-05 06:08:58] local.INFO: Processing buffer {"connection_id":150876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5a5e90012dbd2f400544e560003a01472a..."} 
[2026-08-05 06:08:58] local.INFO: Packet analysis {"connection_id":150876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5a"} 
[2026-08-05 06:08:58] local.INFO: Extracted packet for processing {"connection_id":150876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5a"} 
[2026-08-05 06:08:58] local.INFO: GPS Element Parsed {"raw_longitude":767373120,"raw_latitude":88401248,"longitude_deg":76.737312,"latitude_deg":8.8401248,"altitude":58,"angle":327,"satellites":42,"speed":51,"hex_longitude":"2dbd2f40","hex_latitude":"0544e560","is_valid_coordinates":true} 
[2026-08-05 06:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187898112001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":369997362237538304,"note":"Value kept but may cause issues"} 
[2026-08-05 06:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4808507373263493120,"note":"Value kept but may cause issues"} 
[2026-08-05 06:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785890234000,"timestamp_ms":1785890234000,"timestamp_seconds":1785890234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5a5e90"} 
[2026-08-05 06:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-05 06:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187898112001,"66":27484,"57":206,"84":5376,"24":51,"16":369997362237538304,"45":-4808507373263493120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,84,24,16,45]} 
[2026-08-05 06:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187898112001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:08:58] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-05 06:08:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":369997362237538304,"km_value":369997362237538.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4808507373263493120,"description":"Unknown IO ID 45"} 
[2026-08-05 06:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187898112001,"power":27484,"unknown_57":206,"unknown_84":5376,"ignition":51,"odometer":null,"unknown_45":-4808507373263493120}} 
[2026-08-05 06:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":150876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:08:58] local.INFO: GPS data processed {"connection_id":150876,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:08:58] local.INFO: Acknowledgment sent {"connection_id":150876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:09:16] local.INFO: TCP Data received {"connection_id":149471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:09:16] local.INFO: Processing buffer {"connection_id":149471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:09:16] local.INFO: IMEI packet received {"connection_id":149471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":149471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:09:16] local.INFO: TCP Data received {"connection_id":149471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:09:16] local.INFO: Processing buffer {"connection_id":149471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:09:16] local.INFO: IMEI packet received {"connection_id":149471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":149471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:09:21] local.INFO: TCP Data received {"connection_id":149471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:09:21] local.INFO: Processing buffer {"connection_id":149471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:09:21] local.INFO: IMEI packet received {"connection_id":149471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":149471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:09:22] local.INFO: TCP Data received {"connection_id":149471,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5b77d0012dbca88005463a00003401512b..."} 
[2026-08-05 06:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5b77d0012dbca88005463a00003401512b..."} 
[2026-08-05 06:09:22] local.INFO: Processing buffer {"connection_id":149471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5b77d0012dbca88005463a00003401512b..."} 
[2026-08-05 06:09:22] local.INFO: Packet analysis {"connection_id":149471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5b"} 
[2026-08-05 06:09:22] local.INFO: Extracted packet for processing {"connection_id":149471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5b"} 
[2026-08-05 06:09:22] local.INFO: GPS Element Parsed {"raw_longitude":767338624,"raw_latitude":88488448,"longitude_deg":76.7338624,"latitude_deg":8.8488448,"altitude":52,"angle":337,"satellites":43,"speed":54,"hex_longitude":"2dbca880","hex_latitude":"05463a00","is_valid_coordinates":true} 
[2026-08-05 06:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187918336001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370001979327381504,"note":"Value kept but may cause issues"} 
[2026-08-05 06:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4852487838350311424,"note":"Value kept but may cause issues"} 
[2026-08-05 06:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785890306000,"timestamp_ms":1785890306000,"timestamp_seconds":1785890306,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5b77d0"} 
[2026-08-05 06:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-05 06:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06: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-08-05 06:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187918336001,"66":27343,"59":206,"84":5376,"24":54,"16":370001979327381504,"45":-4852487838350311424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,84,24,16,45]} 
[2026-08-05 06:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187918336001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:09:22] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-05 06:09:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370001979327381504,"km_value":370001979327381.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4852487838350311424,"description":"Unknown IO ID 45"} 
[2026-08-05 06:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187918336001,"power":27343,"unknown_59":206,"unknown_84":5376,"ignition":54,"odometer":null,"unknown_45":-4852487838350311424}} 
[2026-08-05 06:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":149471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:09:22] local.INFO: GPS data processed {"connection_id":149471,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:09:22] local.INFO: Acknowledgment sent {"connection_id":149471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:09:52] local.INFO: TCP Data received {"connection_id":149471,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5b8f40012dbc994005465570003501452d..."} 
[2026-08-05 06:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5b8f40012dbc994005465570003501452d..."} 
[2026-08-05 06:09:52] local.INFO: Processing buffer {"connection_id":149471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5b8f40012dbc994005465570003501452d..."} 
[2026-08-05 06:09:52] local.INFO: Packet analysis {"connection_id":149471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5b"} 
[2026-08-05 06:09:52] local.INFO: Extracted packet for processing {"connection_id":149471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5b"} 
[2026-08-05 06:09:52] local.INFO: GPS Element Parsed {"raw_longitude":767334720,"raw_latitude":88495472,"longitude_deg":76.733472,"latitude_deg":8.8495472,"altitude":53,"angle":325,"satellites":45,"speed":52,"hex_longitude":"2dbc9940","hex_latitude":"05465570","is_valid_coordinates":true} 
[2026-08-05 06:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187918336001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370002365874438144,"note":"Value kept but may cause issues"} 
[2026-08-05 06:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4852487838350311424,"note":"Value kept but may cause issues"} 
[2026-08-05 06:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785890312000,"timestamp_ms":1785890312000,"timestamp_seconds":1785890312,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5b8f40"} 
[2026-08-05 06:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-05 06:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187918336001,"66":27376,"59":206,"84":5376,"24":52,"16":370002365874438144,"45":-4852487838350311424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,84,24,16,45]} 
[2026-08-05 06:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187918336001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:09:52] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-05 06:09:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370002365874438144,"km_value":370002365874438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4852487838350311424,"description":"Unknown IO ID 45"} 
[2026-08-05 06:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187918336001,"power":27376,"unknown_59":206,"unknown_84":5376,"ignition":52,"odometer":null,"unknown_45":-4852487838350311424}} 
[2026-08-05 06:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":149471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:09:52] local.INFO: GPS data processed {"connection_id":149471,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:09:52] local.INFO: Acknowledgment sent {"connection_id":149471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:10:16] local.INFO: TCP Data received {"connection_id":150877,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:10:16] local.INFO: Processing buffer {"connection_id":150877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:10:16] local.INFO: IMEI packet received {"connection_id":150877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":150877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:10:19] local.INFO: TCP Data received {"connection_id":150877,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:10:19] local.INFO: Processing buffer {"connection_id":150877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:10:19] local.INFO: IMEI packet received {"connection_id":150877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":150877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:10:20] local.INFO: TCP Data received {"connection_id":150877,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5ba6b0012dbc84c005466ca8003501392d..."} 
[2026-08-05 06:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5ba6b0012dbc84c005466ca8003501392d..."} 
[2026-08-05 06:10:20] local.INFO: Processing buffer {"connection_id":150877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5ba6b0012dbc84c005466ca8003501392d..."} 
[2026-08-05 06:10:20] local.INFO: Packet analysis {"connection_id":150877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5b"} 
[2026-08-05 06:10:20] local.INFO: Extracted packet for processing {"connection_id":150877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5b"} 
[2026-08-05 06:10:20] local.INFO: GPS Element Parsed {"raw_longitude":767329472,"raw_latitude":88501416,"longitude_deg":76.7329472,"latitude_deg":8.8501416,"altitude":53,"angle":313,"satellites":45,"speed":52,"hex_longitude":"2dbc84c0","hex_latitude":"05466ca8","is_valid_coordinates":true} 
[2026-08-05 06: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-08-05 06:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187919872001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370002752421494784,"note":"Value kept but may cause issues"} 
[2026-08-05 06:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4856780331743350784,"note":"Value kept but may cause issues"} 
[2026-08-05 06:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785890318000,"timestamp_ms":1785890318000,"timestamp_seconds":1785890318,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5ba6b0"} 
[2026-08-05 06:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-05 06:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06: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-08-05 06:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187919872001,"66":27376,"59":206,"84":5376,"24":52,"16":370002752421494784,"45":-4856780331743350784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,84,24,16,45]} 
[2026-08-05 06:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187919872001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:10:20] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-05 06:10:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370002752421494784,"km_value":370002752421494.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4856780331743350784,"description":"Unknown IO ID 45"} 
[2026-08-05 06:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187919872001,"power":27376,"unknown_59":206,"unknown_84":5376,"ignition":52,"odometer":null,"unknown_45":-4856780331743350784}} 
[2026-08-05 06:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":150877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:10:20] local.INFO: GPS data processed {"connection_id":150877,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:10:20] local.INFO: Acknowledgment sent {"connection_id":150877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:10:50] local.INFO: TCP Data received {"connection_id":150877,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5cd378012dbb528005478fa00027013128..."} 
[2026-08-05 06:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5cd378012dbb528005478fa00027013128..."} 
[2026-08-05 06:10:50] local.INFO: Processing buffer {"connection_id":150877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5cd378012dbb528005478fa00027013128..."} 
[2026-08-05 06:10:50] local.INFO: Packet analysis {"connection_id":150877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5c"} 
[2026-08-05 06:10:50] local.INFO: Extracted packet for processing {"connection_id":150877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5c"} 
[2026-08-05 06:10:50] local.INFO: GPS Element Parsed {"raw_longitude":767251072,"raw_latitude":88575904,"longitude_deg":76.7251072,"latitude_deg":8.8575904,"altitude":39,"angle":305,"satellites":40,"speed":53,"hex_longitude":"2dbb5280","hex_latitude":"05478fa0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 06:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187939328001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370007996576563200,"note":"Value kept but may cause issues"} 
[2026-08-05 06:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4940237662318962688,"note":"Value kept but may cause issues"} 
[2026-08-05 06:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785890395000,"timestamp_ms":1785890395000,"timestamp_seconds":1785890395,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5cd378"} 
[2026-08-05 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-08-05 06:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-05 06:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 06:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:10: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-08-05 06:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187939328001,"66":27137,"112":206,"84":5376,"24":53,"16":370007996576563200,"45":-4940237662318962688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-05 06:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187939328001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:10:50] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-05 06:10:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370007996576563200,"km_value":370007996576563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4940237662318962688,"description":"Unknown IO ID 45"} 
[2026-08-05 06:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187939328001,"power":27137,"unknown_112":206,"unknown_84":5376,"ignition":53,"odometer":null,"unknown_45":-4940237662318962688}} 
[2026-08-05 06:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":150877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:10:50] local.INFO: GPS data processed {"connection_id":150877,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:10:50] local.INFO: Acknowledgment sent {"connection_id":150877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:11:16] local.INFO: TCP Data received {"connection_id":148250,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:11:16] local.INFO: Processing buffer {"connection_id":148250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:11:16] local.INFO: IMEI packet received {"connection_id":148250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":148250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:11:19] local.INFO: TCP Data received {"connection_id":148250,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:11:19] local.INFO: Processing buffer {"connection_id":148250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:11:19] local.INFO: IMEI packet received {"connection_id":148250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":148250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:11:20] local.INFO: TCP Data received {"connection_id":148250,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5ceed0012dbb34400547a4700027012f2b..."} 
[2026-08-05 06:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5ceed0012dbb34400547a4700027012f2b..."} 
[2026-08-05 06:11:20] local.INFO: Processing buffer {"connection_id":148250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5ceed0012dbb34400547a4700027012f2b..."} 
[2026-08-05 06:11:20] local.INFO: Packet analysis {"connection_id":148250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5c"} 
[2026-08-05 06:11:20] local.INFO: Extracted packet for processing {"connection_id":148250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5c"} 
[2026-08-05 06:11:20] local.INFO: GPS Element Parsed {"raw_longitude":767243328,"raw_latitude":88581232,"longitude_deg":76.7243328,"latitude_deg":8.8581232,"altitude":39,"angle":303,"satellites":43,"speed":52,"hex_longitude":"2dbb3440","hex_latitude":"0547a470","is_valid_coordinates":true} 
[2026-08-05 06:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187941120001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370008447548129280,"note":"Value kept but may cause issues"} 
[2026-08-05 06:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4948752280362967040,"note":"Value kept but may cause issues"} 
[2026-08-05 06:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785890402000,"timestamp_ms":1785890402000,"timestamp_seconds":1785890402,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5ceed0"} 
[2026-08-05 06:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-05 06:11:20] 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-08-05 06:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187941120001,"66":27376,"112":206,"84":5376,"24":52,"16":370008447548129280,"45":-4948752280362967040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-05 06:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187941120001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:11:20] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-05 06:11:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370008447548129280,"km_value":370008447548129.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4948752280362967040,"description":"Unknown IO ID 45"} 
[2026-08-05 06:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187941120001,"power":27376,"unknown_112":206,"unknown_84":5376,"ignition":52,"odometer":null,"unknown_45":-4948752280362967040}} 
[2026-08-05 06:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":148250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:11:20] local.INFO: GPS data processed {"connection_id":148250,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:11:20] local.INFO: Acknowledgment sent {"connection_id":148250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:11:51] local.INFO: TCP Data received {"connection_id":148250,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5d0a28012dbb15400547b8700026012c2c..."} 
[2026-08-05 06:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5d0a28012dbb15400547b8700026012c2c..."} 
[2026-08-05 06:11:51] local.INFO: Processing buffer {"connection_id":148250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5d0a28012dbb15400547b8700026012c2c..."} 
[2026-08-05 06:11:51] local.INFO: Packet analysis {"connection_id":148250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5d"} 
[2026-08-05 06:11:51] local.INFO: Extracted packet for processing {"connection_id":148250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5d"} 
[2026-08-05 06:11:51] local.INFO: GPS Element Parsed {"raw_longitude":767235392,"raw_latitude":88586352,"longitude_deg":76.7235392,"latitude_deg":8.8586352,"altitude":38,"angle":300,"satellites":44,"speed":54,"hex_longitude":"2dbb1540","hex_latitude":"0547b870","is_valid_coordinates":true} 
[2026-08-05 06:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187942912001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370008902814662656,"note":"Value kept but may cause issues"} 
[2026-08-05 06:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4957266898407100416,"note":"Value kept but may cause issues"} 
[2026-08-05 06:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785890409000,"timestamp_ms":1785890409000,"timestamp_seconds":1785890409,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5d0a28"} 
[2026-08-05 06:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-05 06:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187942912001,"66":27463,"112":206,"84":5376,"24":54,"16":370008902814662656,"45":-4957266898407100416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-05 06:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187942912001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:11:51] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-05 06:11:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370008902814662656,"km_value":370008902814662.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4957266898407100416,"description":"Unknown IO ID 45"} 
[2026-08-05 06:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187942912001,"power":27463,"unknown_112":206,"unknown_84":5376,"ignition":54,"odometer":null,"unknown_45":-4957266898407100416}} 
[2026-08-05 06:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":148250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:11:51] local.INFO: GPS data processed {"connection_id":148250,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:11:51] local.INFO: Acknowledgment sent {"connection_id":148250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:12:51] local.INFO: TCP Data received {"connection_id":149472,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:12:51] local.INFO: Processing buffer {"connection_id":149472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:12:51] local.INFO: IMEI packet received {"connection_id":149472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":149472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:12:54] local.INFO: TCP Data received {"connection_id":149472,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:12:54] local.INFO: Processing buffer {"connection_id":149472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:12:54] local.INFO: IMEI packet received {"connection_id":149472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":149472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:12:55] local.INFO: TCP Data received {"connection_id":149472,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5e2b38012db9ab0005487b98001d01182b..."} 
[2026-08-05 06:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5e2b38012db9ab0005487b98001d01182b..."} 
[2026-08-05 06:12:55] local.INFO: Processing buffer {"connection_id":149472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5e2b38012db9ab0005487b98001d01182b..."} 
[2026-08-05 06:12:55] local.INFO: Packet analysis {"connection_id":149472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5e"} 
[2026-08-05 06:12:55] local.INFO: Extracted packet for processing {"connection_id":149472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5e"} 
[2026-08-05 06:12:55] local.INFO: GPS Element Parsed {"raw_longitude":767142656,"raw_latitude":88636312,"longitude_deg":76.7142656,"latitude_deg":8.8636312,"altitude":29,"angle":280,"satellites":43,"speed":59,"hex_longitude":"2db9ab00","hex_latitude":"05487b98","is_valid_coordinates":true} 
[2026-08-05 06:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187961856001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370013992350908416,"note":"Value kept but may cause issues"} 
[2026-08-05 06:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5057120146381742080,"note":"Value kept but may cause issues"} 
[2026-08-05 06:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785890483000,"timestamp_ms":1785890483000,"timestamp_seconds":1785890483,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5e2b38"} 
[2026-08-05 06:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 06:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:12: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-08-05 06:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187961856001,"66":27397,"113":206,"84":5376,"24":59,"16":370013992350908416,"45":-5057120146381742080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-05 06:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187961856001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:12:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 06:12:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370013992350908416,"km_value":370013992350908.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5057120146381742080,"description":"Unknown IO ID 45"} 
[2026-08-05 06:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187961856001,"power":27397,"unknown_113":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-5057120146381742080}} 
[2026-08-05 06:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":149472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:12:55] local.INFO: GPS data processed {"connection_id":149472,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:12:55] local.INFO: Acknowledgment sent {"connection_id":149472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:13:20] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:13:20] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:13:20] local.INFO: IMEI packet received {"connection_id":148469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":148469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:13:20] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:13:20] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:13:20] local.INFO: IMEI packet received {"connection_id":148469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":148469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:13:26] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:13:26] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:13:26] local.INFO: IMEI packet received {"connection_id":148469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":148469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:13:27] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5e42a8012db9874005488010001901122a..."} 
[2026-08-05 06:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5e42a8012db9874005488010001901122a..."} 
[2026-08-05 06:13:27] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5e42a8012db9874005488010001901122a..."} 
[2026-08-05 06:13:27] local.INFO: Packet analysis {"connection_id":148469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5e"} 
[2026-08-05 06:13:27] local.INFO: Extracted packet for processing {"connection_id":148469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5e"} 
[2026-08-05 06:13:27] local.INFO: GPS Element Parsed {"raw_longitude":767133504,"raw_latitude":88637456,"longitude_deg":76.7133504,"latitude_deg":8.8637456,"altitude":25,"angle":274,"satellites":42,"speed":62,"hex_longitude":"2db98740","hex_latitude":"05488010","is_valid_coordinates":true} 
[2026-08-05 06:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187963648001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370014434732539904,"note":"Value kept but may cause issues"} 
[2026-08-05 06:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5067956932984465408,"note":"Value kept but may cause issues"} 
[2026-08-05 06:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785890489000,"timestamp_ms":1785890489000,"timestamp_seconds":1785890489,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5e42a8"} 
[2026-08-05 06:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 06:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187963648001,"66":27463,"113":206,"84":5376,"24":62,"16":370014434732539904,"45":-5067956932984465408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-05 06:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187963648001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:13:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-05 06:13:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370014434732539904,"km_value":370014434732539.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5067956932984465408,"description":"Unknown IO ID 45"} 
[2026-08-05 06:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187963648001,"power":27463,"unknown_113":206,"unknown_84":5376,"ignition":62,"odometer":null,"unknown_45":-5067956932984465408}} 
[2026-08-05 06:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":148469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:13:27] local.INFO: GPS data processed {"connection_id":148469,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:13:27] local.INFO: Acknowledgment sent {"connection_id":148469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:13:57] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5fc948012db77c8005486948000701382b..."} 
[2026-08-05 06:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5fc948012db77c8005486948000701382b..."} 
[2026-08-05 06:13:57] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5fc948012db77c8005486948000701382b..."} 
[2026-08-05 06:13:57] local.INFO: Packet analysis {"connection_id":148469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5f"} 
[2026-08-05 06:13:57] local.INFO: Extracted packet for processing {"connection_id":148469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5f"} 
[2026-08-05 06:13:57] local.INFO: GPS Element Parsed {"raw_longitude":766999680,"raw_latitude":88631624,"longitude_deg":76.699968,"latitude_deg":8.8631624,"altitude":7,"angle":312,"satellites":43,"speed":25,"hex_longitude":"2db77c80","hex_latitude":"05486948","is_valid_coordinates":true} 
[2026-08-05 06:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187988480001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370021139176488960,"note":"Value kept but may cause issues"} 
[2026-08-05 06:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5217349776875819008,"note":"Value kept but may cause issues"} 
[2026-08-05 06:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785890589000,"timestamp_ms":1785890589000,"timestamp_seconds":1785890589,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5fc948"} 
[2026-08-05 06:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-05 06:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187988480001,"66":27365,"37":206,"84":5376,"24":25,"16":370021139176488960,"45":-5217349776875819008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-08-05 06:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187988480001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:13:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-05 06:13:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370021139176488960,"km_value":370021139176488.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5217349776875819008,"description":"Unknown IO ID 45"} 
[2026-08-05 06:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187988480001,"power":27365,"unknown_37":206,"unknown_84":5376,"ignition":25,"odometer":null,"unknown_45":-5217349776875819008}} 
[2026-08-05 06:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":148469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:13:57] local.INFO: GPS data processed {"connection_id":148469,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:13:57] local.INFO: Acknowledgment sent {"connection_id":148469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:14:15] local.INFO: TCP Data received {"connection_id":148251,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:14:15] local.INFO: Processing buffer {"connection_id":148251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:14:15] local.INFO: IMEI packet received {"connection_id":148251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":148251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:14:21] local.INFO: TCP Data received {"connection_id":148251,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:14:21] local.INFO: Processing buffer {"connection_id":148251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:14:21] local.INFO: IMEI packet received {"connection_id":148251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":148251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:14:22] local.INFO: TCP Data received {"connection_id":148251,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5fdcd0012db771c005487218000601252b..."} 
[2026-08-05 06:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5fdcd0012db771c005487218000601252b..."} 
[2026-08-05 06:14:22] local.INFO: Processing buffer {"connection_id":148251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5fdcd0012db771c005487218000601252b..."} 
[2026-08-05 06:14:22] local.INFO: Packet analysis {"connection_id":148251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5f"} 
[2026-08-05 06:14:22] local.INFO: Extracted packet for processing {"connection_id":148251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5f"} 
[2026-08-05 06:14:22] local.INFO: GPS Element Parsed {"raw_longitude":766996928,"raw_latitude":88633880,"longitude_deg":76.6996928,"latitude_deg":8.863388,"altitude":6,"angle":293,"satellites":43,"speed":30,"hex_longitude":"2db771c0","hex_latitude":"05487218","is_valid_coordinates":true} 
[2026-08-05 06:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187990784001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370021310975180800,"note":"Value kept but may cause issues"} 
[2026-08-05 06:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5225160707478566912,"note":"Value kept but may cause issues"} 
[2026-08-05 06:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785890594000,"timestamp_ms":1785890594000,"timestamp_seconds":1785890594,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5fdcd0"} 
[2026-08-05 06:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-05 06:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187990784001,"66":27397,"37":206,"84":5376,"24":30,"16":370021310975180800,"45":-5225160707478566912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-08-05 06:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187990784001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:14:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-05 06:14:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370021310975180800,"km_value":370021310975180.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5225160707478566912,"description":"Unknown IO ID 45"} 
[2026-08-05 06:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187990784001,"power":27397,"unknown_37":206,"unknown_84":5376,"ignition":30,"odometer":null,"unknown_45":-5225160707478566912}} 
[2026-08-05 06:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":148251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:14:22] local.INFO: GPS data processed {"connection_id":148251,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:14:22] local.INFO: Acknowledgment sent {"connection_id":148251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:15:04] local.INFO: TCP Data received {"connection_id":148251,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf5fe4a0012db76c00054873a8000501172c..."} 
[2026-08-05 06:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf5fe4a0012db76c00054873a8000501172c..."} 
[2026-08-05 06:15:04] local.INFO: Processing buffer {"connection_id":148251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf5fe4a0012db76c00054873a8000501172c..."} 
[2026-08-05 06:15:04] local.INFO: Packet analysis {"connection_id":148251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf5f"} 
[2026-08-05 06:15:04] local.INFO: Extracted packet for processing {"connection_id":148251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf5f"} 
[2026-08-05 06:15:04] local.INFO: GPS Element Parsed {"raw_longitude":766995456,"raw_latitude":88634280,"longitude_deg":76.6995456,"latitude_deg":8.863428,"altitude":5,"angle":279,"satellites":44,"speed":31,"hex_longitude":"2db76c00","hex_latitude":"054873a8","is_valid_coordinates":true} 
[2026-08-05 06:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187992064001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370021383989624832,"note":"Value kept but may cause issues"} 
[2026-08-05 06:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5228186563477628928,"note":"Value kept but may cause issues"} 
[2026-08-05 06:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785890596000,"timestamp_ms":1785890596000,"timestamp_seconds":1785890596,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf5fe4a0"} 
[2026-08-05 06:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 06:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187992064001,"66":27365,"37":206,"84":5376,"24":31,"16":370021383989624832,"45":-5228186563477628928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-08-05 06:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187992064001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:15:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-05 06:15:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370021383989624832,"km_value":370021383989624.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5228186563477628928,"description":"Unknown IO ID 45"} 
[2026-08-05 06:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187992064001,"power":27365,"unknown_37":206,"unknown_84":5376,"ignition":31,"odometer":null,"unknown_45":-5228186563477628928}} 
[2026-08-05 06:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":148251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:15:04] local.INFO: GPS data processed {"connection_id":148251,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:15:04] local.INFO: Acknowledgment sent {"connection_id":148251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:15:15] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:15:15] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:15:15] local.INFO: IMEI packet received {"connection_id":148470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":148470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:15:17] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:15:17] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:15:17] local.INFO: IMEI packet received {"connection_id":148470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":148470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:15:21] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:15:21] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:15:21] local.INFO: IMEI packet received {"connection_id":148470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":148470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:15:22] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf6007c8012db74d00054874780005010c2a..."} 
[2026-08-05 06:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf6007c8012db74d00054874780005010c2a..."} 
[2026-08-05 06:15:22] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf6007c8012db74d00054874780005010c2a..."} 
[2026-08-05 06:15:22] local.INFO: Packet analysis {"connection_id":148470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf60"} 
[2026-08-05 06:15:22] local.INFO: Extracted packet for processing {"connection_id":148470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf60"} 
[2026-08-05 06:15:22] local.INFO: GPS Element Parsed {"raw_longitude":766987520,"raw_latitude":88634488,"longitude_deg":76.698752,"latitude_deg":8.8634488,"altitude":5,"angle":268,"satellites":42,"speed":37,"hex_longitude":"2db74d00","hex_latitude":"05487478","is_valid_coordinates":true} 
[2026-08-05 06:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187992576001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370021766241714176,"note":"Value kept but may cause issues"} 
[2026-08-05 06:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5229805044593612800,"note":"Value kept but may cause issues"} 
[2026-08-05 06:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785890605000,"timestamp_ms":1785890605000,"timestamp_seconds":1785890605,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf6007c8"} 
[2026-08-05 06:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-05 06:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187992576001,"66":27267,"37":206,"84":5376,"24":37,"16":370021766241714176,"45":-5229805044593612800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-08-05 06:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187992576001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:15:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-05 06:15:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370021766241714176,"km_value":370021766241714.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5229805044593612800,"description":"Unknown IO ID 45"} 
[2026-08-05 06:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187992576001,"power":27267,"unknown_37":206,"unknown_84":5376,"ignition":37,"odometer":null,"unknown_45":-5229805044593612800}} 
[2026-08-05 06:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":148470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:15:22] local.INFO: GPS data processed {"connection_id":148470,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:15:22] local.INFO: Acknowledgment sent {"connection_id":148470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:15:52] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf6032c0012db7288005487170000601082a..."} 
[2026-08-05 06:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf6032c0012db7288005487170000601082a..."} 
[2026-08-05 06:15:52] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf6032c0012db7288005487170000601082a..."} 
[2026-08-05 06:15:52] local.INFO: Packet analysis {"connection_id":148470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf60"} 
[2026-08-05 06:15:52] local.INFO: Extracted packet for processing {"connection_id":148470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf60"} 
[2026-08-05 06:15:52] local.INFO: GPS Element Parsed {"raw_longitude":766978176,"raw_latitude":88633712,"longitude_deg":76.6978176,"latitude_deg":8.8633712,"altitude":6,"angle":264,"satellites":42,"speed":31,"hex_longitude":"2db72880","hex_latitude":"05487170","is_valid_coordinates":true} 
[2026-08-05 06:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457187994880001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370022217213280256,"note":"Value kept but may cause issues"} 
[2026-08-05 06:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5238530768871589888,"note":"Value kept but may cause issues"} 
[2026-08-05 06:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785890616000,"timestamp_ms":1785890616000,"timestamp_seconds":1785890616,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf6032c0"} 
[2026-08-05 06:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 06:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457187994880001,"66":27343,"37":206,"84":5376,"24":31,"16":370022217213280256,"45":-5238530768871589888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-08-05 06:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457187994880001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:15:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-05 06:15:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370022217213280256,"km_value":370022217213280.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5238530768871589888,"description":"Unknown IO ID 45"} 
[2026-08-05 06:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457187994880001,"power":27343,"unknown_37":206,"unknown_84":5376,"ignition":31,"odometer":null,"unknown_45":-5238530768871589888}} 
[2026-08-05 06:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":148470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:15:52] local.INFO: GPS data processed {"connection_id":148470,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:15:52] local.INFO: Acknowledgment sent {"connection_id":148470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:16:21] local.INFO: TCP Data received {"connection_id":149473,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:16:21] local.INFO: Processing buffer {"connection_id":149473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:16:21] local.INFO: IMEI packet received {"connection_id":149473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":149473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:16:26] local.INFO: TCP Data received {"connection_id":149473,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:16:26] local.INFO: Processing buffer {"connection_id":149473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:16:26] local.INFO: IMEI packet received {"connection_id":149473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":149473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:16:27] local.INFO: TCP Data received {"connection_id":149473,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf61a5d8012db5b7c0054880c80009011626..."} 
[2026-08-05 06:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf61a5d8012db5b7c0054880c80009011626..."} 
[2026-08-05 06:16:27] local.INFO: Processing buffer {"connection_id":149473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf61a5d8012db5b7c0054880c80009011626..."} 
[2026-08-05 06:16:27] local.INFO: Packet analysis {"connection_id":149473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf61"} 
[2026-08-05 06:16:27] local.INFO: Extracted packet for processing {"connection_id":149473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf61"} 
[2026-08-05 06:16:27] local.INFO: GPS Element Parsed {"raw_longitude":766883776,"raw_latitude":88637640,"longitude_deg":76.6883776,"latitude_deg":8.863764,"altitude":9,"angle":278,"satellites":38,"speed":53,"hex_longitude":"2db5b7c0","hex_latitude":"054880c8","is_valid_coordinates":true} 
[2026-08-05 06:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188019968001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370026782763515904,"note":"Value kept but may cause issues"} 
[2026-08-05 06:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5341972822812325888,"note":"Value kept but may cause issues"} 
[2026-08-05 06:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785890711000,"timestamp_ms":1785890711000,"timestamp_seconds":1785890711,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf61a5d8"} 
[2026-08-05 06:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 06:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188019968001,"66":27691,"57":206,"84":5376,"24":53,"16":370026782763515904,"45":-5341972822812325888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,84,24,16,45]} 
[2026-08-05 06:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188019968001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:16:27] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-05 06:16:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370026782763515904,"km_value":370026782763515.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5341972822812325888,"description":"Unknown IO ID 45"} 
[2026-08-05 06:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188019968001,"power":27691,"unknown_57":206,"unknown_84":5376,"ignition":53,"odometer":null,"unknown_45":-5341972822812325888}} 
[2026-08-05 06:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":149473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:16:27] local.INFO: GPS data processed {"connection_id":149473,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:16:27] local.INFO: Acknowledgment sent {"connection_id":149473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:16:28] local.INFO: TCP Data received {"connection_id":149473,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf61c518012db59080054886080004011423..."} 
[2026-08-05 06:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf61c518012db59080054886080004011423..."} 
[2026-08-05 06:16:28] local.INFO: Processing buffer {"connection_id":149473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf61c518012db59080054886080004011423..."} 
[2026-08-05 06:16:28] local.INFO: Packet analysis {"connection_id":149473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf61"} 
[2026-08-05 06:16:28] local.INFO: Extracted packet for processing {"connection_id":149473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf61"} 
[2026-08-05 06:16:28] local.INFO: GPS Element Parsed {"raw_longitude":766873728,"raw_latitude":88638984,"longitude_deg":76.6873728,"latitude_deg":8.8638984,"altitude":4,"angle":276,"satellites":35,"speed":48,"hex_longitude":"2db59080","hex_latitude":"05488608","is_valid_coordinates":true} 
[2026-08-05 06:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188022016001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370027268094820352,"note":"Value kept but may cause issues"} 
[2026-08-05 06:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5352598503182776320,"note":"Value kept but may cause issues"} 
[2026-08-05 06:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785890719000,"timestamp_ms":1785890719000,"timestamp_seconds":1785890719,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf61c518"} 
[2026-08-05 06:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-05 06:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188022016001,"66":27767,"57":206,"84":5376,"24":48,"16":370027268094820352,"45":-5352598503182776320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,84,24,16,45]} 
[2026-08-05 06:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188022016001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:16:28] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-05 06:16:28] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370027268094820352,"km_value":370027268094820.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5352598503182776320,"description":"Unknown IO ID 45"} 
[2026-08-05 06:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188022016001,"power":27767,"unknown_57":206,"unknown_84":5376,"ignition":48,"odometer":null,"unknown_45":-5352598503182776320}} 
[2026-08-05 06:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":149473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:16:28] local.INFO: GPS data processed {"connection_id":149473,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:16:28] local.INFO: Acknowledgment sent {"connection_id":149473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:16:59] local.INFO: TCP Data received {"connection_id":149473,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf61e458012db56b8005488998000701132a..."} 
[2026-08-05 06:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf61e458012db56b8005488998000701132a..."} 
[2026-08-05 06:16:59] local.INFO: Processing buffer {"connection_id":149473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf61e458012db56b8005488998000701132a..."} 
[2026-08-05 06:16:59] local.INFO: Packet analysis {"connection_id":149473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf61"} 
[2026-08-05 06:16:59] local.INFO: Extracted packet for processing {"connection_id":149473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf61"} 
[2026-08-05 06:16:59] local.INFO: GPS Element Parsed {"raw_longitude":766864256,"raw_latitude":88639896,"longitude_deg":76.6864256,"latitude_deg":8.8639896,"altitude":7,"angle":275,"satellites":42,"speed":44,"hex_longitude":"2db56b80","hex_latitude":"05488998","is_valid_coordinates":true} 
[2026-08-05 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-08-05 06:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188024064001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370027723361353728,"note":"Value kept but may cause issues"} 
[2026-08-05 06:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5363646396018325504,"note":"Value kept but may cause issues"} 
[2026-08-05 06:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785890727000,"timestamp_ms":1785890727000,"timestamp_seconds":1785890727,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf61e458"} 
[2026-08-05 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-08-05 06:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 06:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 06:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188024064001,"66":27767,"57":206,"84":5376,"24":44,"16":370027723361353728,"45":-5363646396018325504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,84,24,16,45]} 
[2026-08-05 06:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188024064001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:16:59] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-05 06:16:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370027723361353728,"km_value":370027723361353.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5363646396018325504,"description":"Unknown IO ID 45"} 
[2026-08-05 06:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188024064001,"power":27767,"unknown_57":206,"unknown_84":5376,"ignition":44,"odometer":null,"unknown_45":-5363646396018325504}} 
[2026-08-05 06:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":149473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:16:59] local.INFO: GPS data processed {"connection_id":149473,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:16:59] local.INFO: Acknowledgment sent {"connection_id":149473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:17:16] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:17:16] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:17:16] local.INFO: IMEI packet received {"connection_id":148471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":148471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:17:19] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:17:19] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:17:19] local.INFO: IMEI packet received {"connection_id":148471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":148471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:17:21] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:17:21] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:17:21] local.INFO: IMEI packet received {"connection_id":148471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":148471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:17:22] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf620780012db547c005488dd0000b011527..."} 
[2026-08-05 06:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf620780012db547c005488dd0000b011527..."} 
[2026-08-05 06:17:22] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf620780012db547c005488dd0000b011527..."} 
[2026-08-05 06:17:22] local.INFO: Packet analysis {"connection_id":148471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf62"} 
[2026-08-05 06:17:22] local.INFO: Extracted packet for processing {"connection_id":148471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf62"} 
[2026-08-05 06:17:22] local.INFO: GPS Element Parsed {"raw_longitude":766855104,"raw_latitude":88640976,"longitude_deg":76.6855104,"latitude_deg":8.8640976,"altitude":11,"angle":277,"satellites":39,"speed":36,"hex_longitude":"2db547c0","hex_latitude":"05488dd0","is_valid_coordinates":true} 
[2026-08-05 06:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188026112001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370028165742985216,"note":"Value kept but may cause issues"} 
[2026-08-05 06:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5374060970156386304,"note":"Value kept but may cause issues"} 
[2026-08-05 06:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785890736000,"timestamp_ms":1785890736000,"timestamp_seconds":1785890736,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf620780"} 
[2026-08-05 06:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 06:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188026112001,"66":27658,"57":206,"84":5376,"24":36,"16":370028165742985216,"45":-5374060970156386304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,84,24,16,45]} 
[2026-08-05 06:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188026112001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:17:22] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-05 06:17:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-05 06:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370028165742985216,"km_value":370028165742985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5374060970156386304,"description":"Unknown IO ID 45"} 
[2026-08-05 06:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188026112001,"power":27658,"unknown_57":206,"unknown_84":5376,"ignition":36,"odometer":null,"unknown_45":-5374060970156386304}} 
[2026-08-05 06:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":148471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:17:22] local.INFO: GPS data processed {"connection_id":148471,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:17:22] local.INFO: Acknowledgment sent {"connection_id":148471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:20:21] local.INFO: TCP Data received {"connection_id":150878,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:20:21] local.INFO: Processing buffer {"connection_id":150878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:20:21] local.INFO: IMEI packet received {"connection_id":150878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":150878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:20:21] local.INFO: TCP Data received {"connection_id":150878,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:20:21] local.INFO: Processing buffer {"connection_id":150878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:20:21] local.INFO: IMEI packet received {"connection_id":150878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":150878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:20:26] local.INFO: TCP Data received {"connection_id":150878,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:20:26] local.INFO: Processing buffer {"connection_id":150878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:20:26] local.INFO: IMEI packet received {"connection_id":150878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":150878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:20:26] local.INFO: TCP Data received {"connection_id":150878,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf6537e8012db131800548a6800015010e2c..."} 
[2026-08-05 06:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf6537e8012db131800548a6800015010e2c..."} 
[2026-08-05 06:20:26] local.INFO: Processing buffer {"connection_id":150878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf6537e8012db131800548a6800015010e2c..."} 
[2026-08-05 06:20:26] local.INFO: Packet analysis {"connection_id":150878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf65"} 
[2026-08-05 06:20:26] local.INFO: Extracted packet for processing {"connection_id":150878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf65"} 
[2026-08-05 06:20:26] local.INFO: GPS Element Parsed {"raw_longitude":766587264,"raw_latitude":88647296,"longitude_deg":76.6587264,"latitude_deg":8.8647296,"altitude":21,"angle":270,"satellites":44,"speed":59,"hex_longitude":"2db13180","hex_latitude":"0548a680","is_valid_coordinates":true} 
[2026-08-05 06:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188081920001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370041222443565056,"note":"Value kept but may cause issues"} 
[2026-08-05 06:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5678616894955421696,"note":"Value kept but may cause issues"} 
[2026-08-05 06:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785890945000,"timestamp_ms":1785890945000,"timestamp_seconds":1785890945,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf6537e8"} 
[2026-08-05 06:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 06:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188081920001,"66":27767,"78":206,"84":6400,"24":59,"16":370041222443565056,"45":-5678616894955421696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-05 06:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188081920001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:20:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-05 06:20:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-05 06:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370041222443565056,"km_value":370041222443565.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5678616894955421696,"description":"Unknown IO ID 45"} 
[2026-08-05 06:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188081920001,"power":27767,"unknown_78":206,"unknown_84":6400,"ignition":59,"odometer":null,"unknown_45":-5678616894955421696}} 
[2026-08-05 06:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":150878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:20:26] local.INFO: GPS data processed {"connection_id":150878,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:20:26] local.INFO: Acknowledgment sent {"connection_id":150878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:20:27] local.INFO: TCP Data received {"connection_id":150878,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf654f58012db10e800548a7680014010f2d..."} 
[2026-08-05 06:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf654f58012db10e800548a7680014010f2d..."} 
[2026-08-05 06:20:27] local.INFO: Processing buffer {"connection_id":150878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf654f58012db10e800548a7680014010f2d..."} 
[2026-08-05 06:20:27] local.INFO: Packet analysis {"connection_id":150878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf65"} 
[2026-08-05 06:20:27] local.INFO: Extracted packet for processing {"connection_id":150878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf65"} 
[2026-08-05 06:20:27] local.INFO: GPS Element Parsed {"raw_longitude":766578304,"raw_latitude":88647528,"longitude_deg":76.6578304,"latitude_deg":8.8647528,"altitude":20,"angle":271,"satellites":45,"speed":59,"hex_longitude":"2db10e80","hex_latitude":"0548a768","is_valid_coordinates":true} 
[2026-08-05 06:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188081920001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370041651940294656,"note":"Value kept but may cause issues"} 
[2026-08-05 06:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5678616894955421696,"note":"Value kept but may cause issues"} 
[2026-08-05 06:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785890951000,"timestamp_ms":1785890951000,"timestamp_seconds":1785890951,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf654f58"} 
[2026-08-05 06:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 06:20: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-08-05 06:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188081920001,"66":27908,"78":206,"84":6400,"24":59,"16":370041651940294656,"45":-5678616894955421696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-05 06:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188081920001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:20:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-05 06:20:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-05 06:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370041651940294656,"km_value":370041651940294.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5678616894955421696,"description":"Unknown IO ID 45"} 
[2026-08-05 06:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188081920001,"power":27908,"unknown_78":206,"unknown_84":6400,"ignition":59,"odometer":null,"unknown_45":-5678616894955421696}} 
[2026-08-05 06:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":150878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:20:27] local.INFO: GPS data processed {"connection_id":150878,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:20:27] local.INFO: Acknowledgment sent {"connection_id":150878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:20:31] local.INFO: TCP Data received {"connection_id":150878,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf656ab0012db0e6000548a8b80014010f2d..."} 
[2026-08-05 06:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf656ab0012db0e6000548a8b80014010f2d..."} 
[2026-08-05 06:20:31] local.INFO: Processing buffer {"connection_id":150878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf656ab0012db0e6000548a8b80014010f2d..."} 
[2026-08-05 06:20:31] local.INFO: Packet analysis {"connection_id":150878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf65"} 
[2026-08-05 06:20:31] local.INFO: Extracted packet for processing {"connection_id":150878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf65"} 
[2026-08-05 06:20:31] local.INFO: GPS Element Parsed {"raw_longitude":766567936,"raw_latitude":88647864,"longitude_deg":76.6567936,"latitude_deg":8.8647864,"altitude":20,"angle":271,"satellites":45,"speed":57,"hex_longitude":"2db0e600","hex_latitude":"0548a8b8","is_valid_coordinates":true} 
[2026-08-05 06:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188083456001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370042150156500992,"note":"Value kept but may cause issues"} 
[2026-08-05 06:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5688468519140235264,"note":"Value kept but may cause issues"} 
[2026-08-05 06:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785890958000,"timestamp_ms":1785890958000,"timestamp_seconds":1785890958,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf656ab0"} 
[2026-08-05 06:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 06:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":150878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":150878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":150878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188083456001,"66":27800,"78":206,"84":6400,"24":57,"16":370042150156500992,"45":-5688468519140235264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-05 06:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188083456001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:20:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-05 06:20:31] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-05 06:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370042150156500992,"km_value":370042150156501.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5688468519140235264,"description":"Unknown IO ID 45"} 
[2026-08-05 06:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188083456001,"power":27800,"unknown_78":206,"unknown_84":6400,"ignition":57,"odometer":null,"unknown_45":-5688468519140235264}} 
[2026-08-05 06:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":150878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:20:31] local.INFO: GPS data processed {"connection_id":150878,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:20:31] local.INFO: Acknowledgment sent {"connection_id":150878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:21:16] local.INFO: TCP Data received {"connection_id":148472,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:21:16] local.INFO: Processing buffer {"connection_id":148472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:21:16] local.INFO: IMEI packet received {"connection_id":148472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":148472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:21:23] local.INFO: TCP Data received {"connection_id":148472,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:21:23] local.INFO: Processing buffer {"connection_id":148472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:21:23] local.INFO: IMEI packet received {"connection_id":148472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":148472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:21:25] local.INFO: TCP Data received {"connection_id":148472,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf658608012db0bd800548aa30001501102e..."} 
[2026-08-05 06:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf658608012db0bd800548aa30001501102e..."} 
[2026-08-05 06:21:25] local.INFO: Processing buffer {"connection_id":148472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf658608012db0bd800548aa30001501102e..."} 
[2026-08-05 06:21:25] local.INFO: Packet analysis {"connection_id":148472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf65"} 
[2026-08-05 06:21:25] local.INFO: Extracted packet for processing {"connection_id":148472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf65"} 
[2026-08-05 06:21:25] local.INFO: GPS Element Parsed {"raw_longitude":766557568,"raw_latitude":88648240,"longitude_deg":76.6557568,"latitude_deg":8.864824,"altitude":21,"angle":272,"satellites":46,"speed":59,"hex_longitude":"2db0bd80","hex_latitude":"0548aa30","is_valid_coordinates":true} 
[2026-08-05 06:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188085248001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370042648372707328,"note":"Value kept but may cause issues"} 
[2026-08-05 06:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5699868255696930816,"note":"Value kept but may cause issues"} 
[2026-08-05 06:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785890965000,"timestamp_ms":1785890965000,"timestamp_seconds":1785890965,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf658608"} 
[2026-08-05 06:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 06:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188085248001,"66":27593,"78":206,"84":6400,"24":59,"16":370042648372707328,"45":-5699868255696930816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-05 06:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188085248001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:21:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-05 06:21:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-05 06:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370042648372707328,"km_value":370042648372707.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5699868255696930816,"description":"Unknown IO ID 45"} 
[2026-08-05 06:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188085248001,"power":27593,"unknown_78":206,"unknown_84":6400,"ignition":59,"odometer":null,"unknown_45":-5699868255696930816}} 
[2026-08-05 06:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":148472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:21:25] local.INFO: GPS data processed {"connection_id":148472,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:21:25] local.INFO: Acknowledgment sent {"connection_id":148472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:22:16] local.INFO: TCP Data received {"connection_id":150879,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:22:16] local.INFO: Processing buffer {"connection_id":150879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:22:16] local.INFO: IMEI packet received {"connection_id":150879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":150879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:22:21] local.INFO: TCP Data received {"connection_id":150879,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:22:21] local.INFO: Processing buffer {"connection_id":150879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:22:21] local.INFO: IMEI packet received {"connection_id":150879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":150879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:22:22] local.INFO: TCP Data received {"connection_id":150879,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf66e1b0012daf55c0054907a8000f01202d..."} 
[2026-08-05 06:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf66e1b0012daf55c0054907a8000f01202d..."} 
[2026-08-05 06:22:22] local.INFO: Processing buffer {"connection_id":150879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf66e1b0012daf55c0054907a8000f01202d..."} 
[2026-08-05 06:22:22] local.INFO: Packet analysis {"connection_id":150879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf66"} 
[2026-08-05 06:22:22] local.INFO: Extracted packet for processing {"connection_id":150879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf66"} 
[2026-08-05 06:22:22] local.INFO: GPS Element Parsed {"raw_longitude":766465472,"raw_latitude":88672168,"longitude_deg":76.6465472,"latitude_deg":8.8672168,"altitude":15,"angle":288,"satellites":45,"speed":32,"hex_longitude":"2daf55c0","hex_latitude":"054907a8","is_valid_coordinates":true} 
[2026-08-05 06:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188107008001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370047239692746752,"note":"Value kept but may cause issues"} 
[2026-08-05 06:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5802958465911717888,"note":"Value kept but may cause issues"} 
[2026-08-05 06:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785891054000,"timestamp_ms":1785891054000,"timestamp_seconds":1785891054,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf66e1b0"} 
[2026-08-05 06:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 06:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188107008001,"66":27745,"80":206,"84":6400,"24":32,"16":370047239692746752,"45":-5802958465911717888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-05 06:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188107008001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:22:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-05 06:22:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-05 06:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370047239692746752,"km_value":370047239692746.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5802958465911717888,"description":"Unknown IO ID 45"} 
[2026-08-05 06:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188107008001,"power":27745,"unknown_80":206,"unknown_84":6400,"ignition":32,"odometer":null,"unknown_45":-5802958465911717888}} 
[2026-08-05 06:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":150879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:22:22] local.INFO: GPS data processed {"connection_id":150879,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:22:22] local.INFO: Acknowledgment sent {"connection_id":150879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:23:15] local.INFO: TCP Data received {"connection_id":150879,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf670ca8012daf3380054912e0000f01212b..."} 
[2026-08-05 06:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf670ca8012daf3380054912e0000f01212b..."} 
[2026-08-05 06:23:15] local.INFO: Processing buffer {"connection_id":150879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf670ca8012daf3380054912e0000f01212b..."} 
[2026-08-05 06:23:15] local.INFO: Packet analysis {"connection_id":150879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf67"} 
[2026-08-05 06:23:15] local.INFO: Extracted packet for processing {"connection_id":150879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf67"} 
[2026-08-05 06:23:15] local.INFO: GPS Element Parsed {"raw_longitude":766456704,"raw_latitude":88675040,"longitude_deg":76.6456704,"latitude_deg":8.867504,"altitude":15,"angle":289,"satellites":43,"speed":28,"hex_longitude":"2daf3380","hex_latitude":"054912e0","is_valid_coordinates":true} 
[2026-08-05 06:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188109824001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370047682074378240,"note":"Value kept but may cause issues"} 
[2026-08-05 06:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5812528615119149056,"note":"Value kept but may cause issues"} 
[2026-08-05 06:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785891065000,"timestamp_ms":1785891065000,"timestamp_seconds":1785891065,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf670ca8"} 
[2026-08-05 06:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 06:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188109824001,"66":27745,"80":206,"84":6400,"24":28,"16":370047682074378240,"45":-5812528615119149056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-05 06:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188109824001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:23:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-05 06:23:15] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-05 06:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370047682074378240,"km_value":370047682074378.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5812528615119149056,"description":"Unknown IO ID 45"} 
[2026-08-05 06:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188109824001,"power":27745,"unknown_80":206,"unknown_84":6400,"ignition":28,"odometer":null,"unknown_45":-5812528615119149056}} 
[2026-08-05 06:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":150879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:23:15] local.INFO: GPS data processed {"connection_id":150879,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:23:15] local.INFO: Acknowledgment sent {"connection_id":150879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:23:17] local.INFO: TCP Data received {"connection_id":149474,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:17] local.INFO: Processing buffer {"connection_id":149474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:17] local.INFO: IMEI packet received {"connection_id":149474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":149474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:23:18] local.INFO: TCP Data received {"connection_id":149474,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:18] local.INFO: Processing buffer {"connection_id":149474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:18] local.INFO: IMEI packet received {"connection_id":149474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":149474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:23:20] local.INFO: TCP Data received {"connection_id":149474,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:20] local.INFO: Processing buffer {"connection_id":149474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:20] local.INFO: IMEI packet received {"connection_id":149474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":149474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:23:48] local.INFO: TCP Data received {"connection_id":149474,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:48] local.INFO: Processing buffer {"connection_id":149474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:23:48] local.INFO: IMEI packet received {"connection_id":149474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":149474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:23:50] local.INFO: TCP Data received {"connection_id":149474,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf687fc0012dadd8000549da18000c011529..."} 
[2026-08-05 06:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf687fc0012dadd8000549da18000c011529..."} 
[2026-08-05 06:23:50] local.INFO: Processing buffer {"connection_id":149474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf687fc0012dadd8000549da18000c011529..."} 
[2026-08-05 06:23:50] local.INFO: Packet analysis {"connection_id":149474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf68"} 
[2026-08-05 06:23:50] local.INFO: Extracted packet for processing {"connection_id":149474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf68"} 
[2026-08-05 06:23:50] local.INFO: GPS Element Parsed {"raw_longitude":766367744,"raw_latitude":88726040,"longitude_deg":76.6367744,"latitude_deg":8.872604,"altitude":12,"angle":277,"satellites":41,"speed":57,"hex_longitude":"2dadd800","hex_latitude":"0549da18","is_valid_coordinates":true} 
[2026-08-05 06: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-08-05 06:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188135168001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370052677121343488,"note":"Value kept but may cause issues"} 
[2026-08-05 06:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5909285638350223360,"note":"Value kept but may cause issues"} 
[2026-08-05 06:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785891160000,"timestamp_ms":1785891160000,"timestamp_seconds":1785891160,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf687fc0"} 
[2026-08-05 06:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-05 06:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06: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-08-05 06:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:23: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-08-05 06:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188135168001,"66":27658,"247":206,"84":6400,"24":57,"16":370052677121343488,"45":-5909285638350223360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-05 06:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188135168001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:23:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-05 06:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370052677121343488,"km_value":370052677121343.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5909285638350223360,"description":"Unknown IO ID 45"} 
[2026-08-05 06:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188135168001,"power":27658,"internal_battery_voltage":206,"unknown_84":6400,"ignition":57,"odometer":null,"unknown_45":-5909285638350223360}} 
[2026-08-05 06:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":149474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:23:50] local.INFO: GPS data processed {"connection_id":149474,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:23:50] local.INFO: Acknowledgment sent {"connection_id":149474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:24:15] local.INFO: TCP Data received {"connection_id":149475,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:24:15] local.INFO: Processing buffer {"connection_id":149475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:24:15] local.INFO: IMEI packet received {"connection_id":149475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":149475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:24:16] local.INFO: TCP Data received {"connection_id":149475,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:24:16] local.INFO: Processing buffer {"connection_id":149475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:24:16] local.INFO: IMEI packet received {"connection_id":149475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":149475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:24:21] local.INFO: TCP Data received {"connection_id":149475,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:24:21] local.INFO: Processing buffer {"connection_id":149475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:24:21] local.INFO: IMEI packet received {"connection_id":149475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":149475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:24:22] local.INFO: TCP Data received {"connection_id":149475,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf687fc0012dadd8000549da18000c011529..."} 
[2026-08-05 06:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf687fc0012dadd8000549da18000c011529..."} 
[2026-08-05 06:24:22] local.INFO: Processing buffer {"connection_id":149475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf687fc0012dadd8000549da18000c011529..."} 
[2026-08-05 06:24:22] local.INFO: Packet analysis {"connection_id":149475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf68"} 
[2026-08-05 06:24:22] local.INFO: Extracted packet for processing {"connection_id":149475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf68"} 
[2026-08-05 06:24:22] local.INFO: GPS Element Parsed {"raw_longitude":766367744,"raw_latitude":88726040,"longitude_deg":76.6367744,"latitude_deg":8.872604,"altitude":12,"angle":277,"satellites":41,"speed":57,"hex_longitude":"2dadd800","hex_latitude":"0549da18","is_valid_coordinates":true} 
[2026-08-05 06:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188136960001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370052677121343488,"note":"Value kept but may cause issues"} 
[2026-08-05 06:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5919981687464650752,"note":"Value kept but may cause issues"} 
[2026-08-05 06:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785891160000,"timestamp_ms":1785891160000,"timestamp_seconds":1785891160,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf687fc0"} 
[2026-08-05 06:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 06:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188136960001,"66":27658,"247":206,"84":6400,"24":57,"16":370052677121343488,"45":-5919981687464650752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-05 06:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188136960001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:24:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-05 06:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370052677121343488,"km_value":370052677121343.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5919981687464650752,"description":"Unknown IO ID 45"} 
[2026-08-05 06:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188136960001,"power":27658,"internal_battery_voltage":206,"unknown_84":6400,"ignition":57,"odometer":null,"unknown_45":-5919981687464650752}} 
[2026-08-05 06:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":149475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:24:22] local.INFO: GPS data processed {"connection_id":149475,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:24:22] local.INFO: Acknowledgment sent {"connection_id":149475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:24:56] local.INFO: TCP Data received {"connection_id":149475,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf699ce8012dac64c0054a3178000e012a2a..."} 
[2026-08-05 06:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf699ce8012dac64c0054a3178000e012a2a..."} 
[2026-08-05 06:24:56] local.INFO: Processing buffer {"connection_id":149475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf699ce8012dac64c0054a3178000e012a2a..."} 
[2026-08-05 06:24:56] local.INFO: Packet analysis {"connection_id":149475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf69"} 
[2026-08-05 06:24:56] local.INFO: Extracted packet for processing {"connection_id":149475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf69"} 
[2026-08-05 06:24:56] local.INFO: GPS Element Parsed {"raw_longitude":766272704,"raw_latitude":88748408,"longitude_deg":76.6272704,"latitude_deg":8.8748408,"altitude":14,"angle":298,"satellites":42,"speed":53,"hex_longitude":"2dac64c0","hex_latitude":"054a3178","is_valid_coordinates":true} 
[2026-08-05 06:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188153856001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370057556204191744,"note":"Value kept but may cause issues"} 
[2026-08-05 06:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6015120229588267008,"note":"Value kept but may cause issues"} 
[2026-08-05 06:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785891233000,"timestamp_ms":1785891233000,"timestamp_seconds":1785891233,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf699ce8"} 
[2026-08-05 06:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 06:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188153856001,"66":27876,"72":206,"84":6144,"24":53,"16":370057556204191744,"45":-6015120229588267008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-05 06:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188153856001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:24:56] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-05 06:24:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370057556204191744,"km_value":370057556204191.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6015120229588267008,"description":"Unknown IO ID 45"} 
[2026-08-05 06:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188153856001,"power":27876,"unknown_72":206,"unknown_84":6144,"ignition":53,"odometer":null,"unknown_45":-6015120229588267008}} 
[2026-08-05 06:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":149475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:24:56] local.INFO: GPS data processed {"connection_id":149475,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:24:56] local.INFO: Acknowledgment sent {"connection_id":149475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:25:16] local.INFO: TCP Data received {"connection_id":148252,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:25:16] local.INFO: Processing buffer {"connection_id":148252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:25:16] local.INFO: IMEI packet received {"connection_id":148252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":148252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:25:20] local.INFO: TCP Data received {"connection_id":148252,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:25:20] local.INFO: Processing buffer {"connection_id":148252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:25:20] local.INFO: IMEI packet received {"connection_id":148252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":148252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:25:39] local.INFO: TCP Data received {"connection_id":148252,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf69b840012dac4480054a42b8000f012a2b..."} 
[2026-08-05 06:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf69b840012dac4480054a42b8000f012a2b..."} 
[2026-08-05 06:25:39] local.INFO: Processing buffer {"connection_id":148252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf69b840012dac4480054a42b8000f012a2b..."} 
[2026-08-05 06:25:39] local.INFO: Packet analysis {"connection_id":148252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf69"} 
[2026-08-05 06:25:39] local.INFO: Extracted packet for processing {"connection_id":148252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf69"} 
[2026-08-05 06:25:39] local.INFO: GPS Element Parsed {"raw_longitude":766264448,"raw_latitude":88752824,"longitude_deg":76.6264448,"latitude_deg":8.8752824,"altitude":15,"angle":298,"satellites":43,"speed":52,"hex_longitude":"2dac4480","hex_latitude":"054a42b8","is_valid_coordinates":true} 
[2026-08-05 06:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188155648001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370058007175757824,"note":"Value kept but may cause issues"} 
[2026-08-05 06:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6024479272562755584,"note":"Value kept but may cause issues"} 
[2026-08-05 06:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785891240000,"timestamp_ms":1785891240000,"timestamp_seconds":1785891240,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf69b840"} 
[2026-08-05 06:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 06:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188155648001,"66":27843,"72":206,"84":6144,"24":52,"16":370058007175757824,"45":-6024479272562755584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-05 06:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188155648001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:25:39] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-05 06:25:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370058007175757824,"km_value":370058007175757.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6024479272562755584,"description":"Unknown IO ID 45"} 
[2026-08-05 06:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188155648001,"power":27843,"unknown_72":206,"unknown_84":6144,"ignition":52,"odometer":null,"unknown_45":-6024479272562755584}} 
[2026-08-05 06:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":148252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:25:39] local.INFO: GPS data processed {"connection_id":148252,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:25:39] local.INFO: Acknowledgment sent {"connection_id":148252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:26:16] local.INFO: TCP Data received {"connection_id":148473,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:26:16] local.INFO: Processing buffer {"connection_id":148473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:26:16] local.INFO: IMEI packet received {"connection_id":148473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":148473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:26:20] local.INFO: TCP Data received {"connection_id":148473,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:26:20] local.INFO: Processing buffer {"connection_id":148473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:26:20] local.INFO: IMEI packet received {"connection_id":148473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":148473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:26:21] local.INFO: TCP Data received {"connection_id":148473,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf6add38012daadd40054a51c0000e01172b..."} 
[2026-08-05 06:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf6add38012daadd40054a51c0000e01172b..."} 
[2026-08-05 06:26:21] local.INFO: Processing buffer {"connection_id":148473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf6add38012daadd40054a51c0000e01172b..."} 
[2026-08-05 06:26:21] local.INFO: Packet analysis {"connection_id":148473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf6a"} 
[2026-08-05 06:26:21] local.INFO: Extracted packet for processing {"connection_id":148473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf6a"} 
[2026-08-05 06:26:21] local.INFO: GPS Element Parsed {"raw_longitude":766172480,"raw_latitude":88756672,"longitude_deg":76.617248,"latitude_deg":8.8756672,"altitude":14,"angle":279,"satellites":43,"speed":52,"hex_longitude":"2daadd40","hex_latitude":"054a51c0","is_valid_coordinates":true} 
[2026-08-05 06: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-08-05 06:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188175616001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370062568431026176,"note":"Value kept but may cause issues"} 
[2026-08-05 06:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6128906488920360960,"note":"Value kept but may cause issues"} 
[2026-08-05 06:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785891315000,"timestamp_ms":1785891315000,"timestamp_seconds":1785891315,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf6add38"} 
[2026-08-05 06:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:26: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-08-05 06: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 06:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06: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-08-05 06:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188175616001,"66":27800,"35":206,"84":6144,"24":52,"16":370062568431026176,"45":-6128906488920360960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-05 06:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188175616001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:26:21] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-05 06:26:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370062568431026176,"km_value":370062568431026.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6128906488920360960,"description":"Unknown IO ID 45"} 
[2026-08-05 06:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188175616001,"power":27800,"unknown_35":206,"unknown_84":6144,"ignition":52,"odometer":null,"unknown_45":-6128906488920360960}} 
[2026-08-05 06:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":148473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:26:21] local.INFO: GPS data processed {"connection_id":148473,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:26:21] local.INFO: Acknowledgment sent {"connection_id":148473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:26:52] local.INFO: TCP Data received {"connection_id":148473,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf6af890012daaba80054a5b90000e01192c..."} 
[2026-08-05 06:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf6af890012daaba80054a5b90000e01192c..."} 
[2026-08-05 06:26:52] local.INFO: Processing buffer {"connection_id":148473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf6af890012daaba80054a5b90000e01192c..."} 
[2026-08-05 06:26:52] local.INFO: Packet analysis {"connection_id":148473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf6a"} 
[2026-08-05 06:26:52] local.INFO: Extracted packet for processing {"connection_id":148473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf6a"} 
[2026-08-05 06:26:52] local.INFO: GPS Element Parsed {"raw_longitude":766163584,"raw_latitude":88759184,"longitude_deg":76.6163584,"latitude_deg":8.8759184,"altitude":14,"angle":281,"satellites":44,"speed":51,"hex_longitude":"2daaba80","hex_latitude":"054a5b90","is_valid_coordinates":true} 
[2026-08-05 06:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188176640001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370063015107624960,"note":"Value kept but may cause issues"} 
[2026-08-05 06:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134676725942861824,"note":"Value kept but may cause issues"} 
[2026-08-05 06:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785891322000,"timestamp_ms":1785891322000,"timestamp_seconds":1785891322,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf6af890"} 
[2026-08-05 06:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 06:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188176640001,"66":27865,"36":206,"84":6144,"24":51,"16":370063015107624960,"45":-6134676725942861824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,84,24,16,45]} 
[2026-08-05 06:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188176640001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:26:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-05 06:26:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370063015107624960,"km_value":370063015107624.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134676725942861824,"description":"Unknown IO ID 45"} 
[2026-08-05 06:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188176640001,"power":27865,"unknown_36":206,"unknown_84":6144,"ignition":51,"odometer":null,"unknown_45":-6134676725942861824}} 
[2026-08-05 06:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":148473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:26:52] local.INFO: GPS data processed {"connection_id":148473,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:26:52] local.INFO: Acknowledgment sent {"connection_id":148473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:27:19] local.INFO: TCP Data received {"connection_id":150880,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:27:19] local.INFO: Processing buffer {"connection_id":150880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:27:19] local.INFO: IMEI packet received {"connection_id":150880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":150880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:27:20] local.INFO: TCP Data received {"connection_id":150880,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:27:20] local.INFO: Processing buffer {"connection_id":150880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:27:20] local.INFO: IMEI packet received {"connection_id":150880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":150880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:27:26] local.INFO: TCP Data received {"connection_id":150880,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:27:26] local.INFO: Processing buffer {"connection_id":150880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:27:26] local.INFO: IMEI packet received {"connection_id":150880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":150880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:27:27] local.INFO: TCP Data received {"connection_id":150880,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf6b0c18012daaa3c0054a6168000f01282a..."} 
[2026-08-05 06:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf6b0c18012daaa3c0054a6168000f01282a..."} 
[2026-08-05 06:27:27] local.INFO: Processing buffer {"connection_id":150880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf6b0c18012daaa3c0054a6168000f01282a..."} 
[2026-08-05 06:27:27] local.INFO: Packet analysis {"connection_id":150880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf6b"} 
[2026-08-05 06:27:27] local.INFO: Extracted packet for processing {"connection_id":150880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf6b"} 
[2026-08-05 06:27:27] local.INFO: GPS Element Parsed {"raw_longitude":766157760,"raw_latitude":88760680,"longitude_deg":76.615776,"latitude_deg":8.876068,"altitude":15,"angle":296,"satellites":42,"speed":45,"hex_longitude":"2daaa3c0","hex_latitude":"054a6168","is_valid_coordinates":true} 
[2026-08-05 06:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188178432001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370063302870433792,"note":"Value kept but may cause issues"} 
[2026-08-05 06:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6144457981382914048,"note":"Value kept but may cause issues"} 
[2026-08-05 06:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785891327000,"timestamp_ms":1785891327000,"timestamp_seconds":1785891327,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf6b0c18"} 
[2026-08-05 06:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 06:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188178432001,"66":27800,"36":206,"84":6144,"24":45,"16":370063302870433792,"45":-6144457981382914048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,84,24,16,45]} 
[2026-08-05 06:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188178432001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:27:27] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-05 06:27:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370063302870433792,"km_value":370063302870433.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6144457981382914048,"description":"Unknown IO ID 45"} 
[2026-08-05 06:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188178432001,"power":27800,"unknown_36":206,"unknown_84":6144,"ignition":45,"odometer":null,"unknown_45":-6144457981382914048}} 
[2026-08-05 06:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":150880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:27:27] local.INFO: GPS data processed {"connection_id":150880,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:27:27] local.INFO: Acknowledgment sent {"connection_id":150880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:27:58] local.INFO: TCP Data received {"connection_id":150880,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf6c6ba8012da8fd80054af9700012011a29..."} 
[2026-08-05 06:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf6c6ba8012da8fd80054af9700012011a29..."} 
[2026-08-05 06:27:58] local.INFO: Processing buffer {"connection_id":150880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf6c6ba8012da8fd80054af9700012011a29..."} 
[2026-08-05 06:27:58] local.INFO: Packet analysis {"connection_id":150880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf6c"} 
[2026-08-05 06:27:58] local.INFO: Extracted packet for processing {"connection_id":150880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf6c"} 
[2026-08-05 06:27:58] local.INFO: GPS Element Parsed {"raw_longitude":766049664,"raw_latitude":88799600,"longitude_deg":76.6049664,"latitude_deg":8.87996,"altitude":18,"angle":282,"satellites":41,"speed":38,"hex_longitude":"2da8fd80","hex_latitude":"054af970","is_valid_coordinates":true} 
[2026-08-05 06:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188200704001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370068821903409152,"note":"Value kept but may cause issues"} 
[2026-08-05 06:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259862721824749568,"note":"Value kept but may cause issues"} 
[2026-08-05 06:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785891417000,"timestamp_ms":1785891417000,"timestamp_seconds":1785891417,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf6c6ba8"} 
[2026-08-05 06:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 06:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188200704001,"66":27908,"155":206,"84":6144,"24":38,"16":370068821903409152,"45":-6259862721824749568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,84,24,16,45]} 
[2026-08-05 06:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188200704001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:27:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 06:27:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370068821903409152,"km_value":370068821903409.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259862721824749568,"description":"Unknown IO ID 45"} 
[2026-08-05 06:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188200704001,"power":27908,"unknown_155":206,"unknown_84":6144,"ignition":38,"odometer":null,"unknown_45":-6259862721824749568}} 
[2026-08-05 06:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":150880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:27:58] local.INFO: GPS data processed {"connection_id":150880,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:27:58] local.INFO: Acknowledgment sent {"connection_id":150880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:28:20] local.INFO: TCP Data received {"connection_id":149476,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:28:20] local.INFO: Processing buffer {"connection_id":149476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:28:20] local.INFO: IMEI packet received {"connection_id":149476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":149476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:28:25] local.INFO: TCP Data received {"connection_id":149476,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:28:25] local.INFO: Processing buffer {"connection_id":149476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:28:25] local.INFO: IMEI packet received {"connection_id":149476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":149476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:28:26] local.INFO: TCP Data received {"connection_id":149476,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf6c8ed0012da8da00054afde8001001112b..."} 
[2026-08-05 06:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf6c8ed0012da8da00054afde8001001112b..."} 
[2026-08-05 06:28:26] local.INFO: Processing buffer {"connection_id":149476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf6c8ed0012da8da00054afde8001001112b..."} 
[2026-08-05 06:28:26] local.INFO: Packet analysis {"connection_id":149476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf6c"} 
[2026-08-05 06:28:26] local.INFO: Extracted packet for processing {"connection_id":149476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf6c"} 
[2026-08-05 06:28:26] local.INFO: GPS Element Parsed {"raw_longitude":766040576,"raw_latitude":88800744,"longitude_deg":76.6040576,"latitude_deg":8.8800744,"altitude":16,"angle":273,"satellites":43,"speed":45,"hex_longitude":"2da8da00","hex_latitude":"054afde8","is_valid_coordinates":true} 
[2026-08-05 06:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188202752001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370069264285040640,"note":"Value kept but may cause issues"} 
[2026-08-05 06:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6269714346008809472,"note":"Value kept but may cause issues"} 
[2026-08-05 06:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785891426000,"timestamp_ms":1785891426000,"timestamp_seconds":1785891426,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf6c8ed0"} 
[2026-08-05 06:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 06:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188202752001,"66":27930,"156":206,"84":6144,"24":45,"16":370069264285040640,"45":-6269714346008809472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-05 06:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188202752001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:28:26] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 06:28:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370069264285040640,"km_value":370069264285040.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6269714346008809472,"description":"Unknown IO ID 45"} 
[2026-08-05 06:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188202752001,"power":27930,"unknown_156":206,"unknown_84":6144,"ignition":45,"odometer":null,"unknown_45":-6269714346008809472}} 
[2026-08-05 06:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":149476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:28:26] local.INFO: GPS data processed {"connection_id":149476,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:28:26] local.INFO: Acknowledgment sent {"connection_id":149476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:28:57] local.INFO: TCP Data received {"connection_id":149476,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf6cae10012da8b340054b0018001001112b..."} 
[2026-08-05 06:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf6cae10012da8b340054b0018001001112b..."} 
[2026-08-05 06:28:57] local.INFO: Processing buffer {"connection_id":149476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf6cae10012da8b340054b0018001001112b..."} 
[2026-08-05 06:28:57] local.INFO: Packet analysis {"connection_id":149476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf6c"} 
[2026-08-05 06:28:57] local.INFO: Extracted packet for processing {"connection_id":149476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf6c"} 
[2026-08-05 06:28:57] local.INFO: GPS Element Parsed {"raw_longitude":766030656,"raw_latitude":88801304,"longitude_deg":76.6030656,"latitude_deg":8.8801304,"altitude":16,"angle":273,"satellites":43,"speed":52,"hex_longitude":"2da8b340","hex_latitude":"054b0018","is_valid_coordinates":true} 
[2026-08-05 06:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188205056001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370069736731443200,"note":"Value kept but may cause issues"} 
[2026-08-05 06:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6279706707681744896,"note":"Value kept but may cause issues"} 
[2026-08-05 06:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785891434000,"timestamp_ms":1785891434000,"timestamp_seconds":1785891434,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf6cae10"} 
[2026-08-05 06:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 06:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188205056001,"66":27908,"156":206,"84":6144,"24":52,"16":370069736731443200,"45":-6279706707681744896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-05 06:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188205056001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:28:57] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 06:28:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370069736731443200,"km_value":370069736731443.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6279706707681744896,"description":"Unknown IO ID 45"} 
[2026-08-05 06:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188205056001,"power":27908,"unknown_156":206,"unknown_84":6144,"ignition":52,"odometer":null,"unknown_45":-6279706707681744896}} 
[2026-08-05 06:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":149476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:28:57] local.INFO: GPS data processed {"connection_id":149476,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:28:57] local.INFO: Acknowledgment sent {"connection_id":149476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:29:16] local.INFO: TCP Data received {"connection_id":149477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:16] local.INFO: Processing buffer {"connection_id":149477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:16] local.INFO: IMEI packet received {"connection_id":149477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":149477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:29:16] local.INFO: TCP Data received {"connection_id":149477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:16] local.INFO: Processing buffer {"connection_id":149477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:16] local.INFO: IMEI packet received {"connection_id":149477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":149477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:29:17] local.INFO: TCP Data received {"connection_id":149477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:17] local.INFO: Processing buffer {"connection_id":149477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:17] local.INFO: IMEI packet received {"connection_id":149477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":149477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:29:18] local.INFO: TCP Data received {"connection_id":149477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:18] local.INFO: Processing buffer {"connection_id":149477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:29:18] local.INFO: IMEI packet received {"connection_id":149477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":149477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:34:19] local.INFO: TCP Data received {"connection_id":148253,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:34:19] local.INFO: Processing buffer {"connection_id":148253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:34:19] local.INFO: IMEI packet received {"connection_id":148253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":148253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:34:20] local.INFO: TCP Data received {"connection_id":148253,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:34:20] local.INFO: Processing buffer {"connection_id":148253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:34:20] local.INFO: IMEI packet received {"connection_id":148253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":148253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:34:21] local.INFO: TCP Data received {"connection_id":148253,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf723fd8012da42080054d1868000a016527..."} 
[2026-08-05 06:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf723fd8012da42080054d1868000a016527..."} 
[2026-08-05 06:34:21] local.INFO: Processing buffer {"connection_id":148253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf723fd8012da42080054d1868000a016527..."} 
[2026-08-05 06:34:21] local.INFO: Packet analysis {"connection_id":148253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf72"} 
[2026-08-05 06:34:21] local.INFO: Extracted packet for processing {"connection_id":148253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf72"} 
[2026-08-05 06:34:21] local.INFO: GPS Element Parsed {"raw_longitude":765730944,"raw_latitude":88938600,"longitude_deg":76.5730944,"latitude_deg":8.89386,"altitude":10,"angle":357,"satellites":39,"speed":33,"hex_longitude":"2da42080","hex_latitude":"054d1868","is_valid_coordinates":true} 
[2026-08-05 06:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188300288001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370086873650954240,"note":"Value kept but may cause issues"} 
[2026-08-05 06:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6620009954489847808,"note":"Value kept but may cause issues"} 
[2026-08-05 06:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785891799000,"timestamp_ms":1785891799000,"timestamp_seconds":1785891799,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf723fd8"} 
[2026-08-05 06:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 06:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188300288001,"66":27843,"164":206,"84":6144,"24":33,"16":370086873650954240,"45":-6620009954489847808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,84,24,16,45]} 
[2026-08-05 06:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188300288001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:34:21] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-05 06:34:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370086873650954240,"km_value":370086873650954.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6620009954489847808,"description":"Unknown IO ID 45"} 
[2026-08-05 06:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188300288001,"power":27843,"unknown_164":206,"unknown_84":6144,"ignition":33,"odometer":null,"unknown_45":-6620009954489847808}} 
[2026-08-05 06:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":148253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:34:21] local.INFO: GPS data processed {"connection_id":148253,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:34:21] local.INFO: Acknowledgment sent {"connection_id":148253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:34:52] local.INFO: TCP Data received {"connection_id":148253,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf730328012da37a80054d4db0000a014327..."} 
[2026-08-05 06:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf730328012da37a80054d4db0000a014327..."} 
[2026-08-05 06:34:52] local.INFO: Processing buffer {"connection_id":148253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf730328012da37a80054d4db0000a014327..."} 
[2026-08-05 06:34:52] local.INFO: Packet analysis {"connection_id":148253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf73"} 
[2026-08-05 06:34:52] local.INFO: Extracted packet for processing {"connection_id":148253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf73"} 
[2026-08-05 06:34:52] local.INFO: GPS Element Parsed {"raw_longitude":765688448,"raw_latitude":88952240,"longitude_deg":76.5688448,"latitude_deg":8.895224,"altitude":10,"angle":323,"satellites":39,"speed":32,"hex_longitude":"2da37a80","hex_latitude":"054d4db0","is_valid_coordinates":true} 
[2026-08-05 06:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188313088001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370089347552116736,"note":"Value kept but may cause issues"} 
[2026-08-05 06:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6666242219411040256,"note":"Value kept but may cause issues"} 
[2026-08-05 06:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785891849000,"timestamp_ms":1785891849000,"timestamp_seconds":1785891849,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf730328"} 
[2026-08-05 06:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 06:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188313088001,"66":27908,"166":206,"84":6144,"24":32,"16":370089347552116736,"45":-6666242219411040256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,84,24,16,45]} 
[2026-08-05 06:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188313088001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:34:52] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-05 06:34:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370089347552116736,"km_value":370089347552116.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6666242219411040256,"description":"Unknown IO ID 45"} 
[2026-08-05 06:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188313088001,"power":27908,"unknown_166":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6666242219411040256}} 
[2026-08-05 06:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":148253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:34:52] local.INFO: GPS data processed {"connection_id":148253,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:34:52] local.INFO: Acknowledgment sent {"connection_id":148253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:35:15] local.INFO: TCP Data received {"connection_id":150883,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:35:15] local.INFO: Processing buffer {"connection_id":150883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:35:15] local.INFO: IMEI packet received {"connection_id":150883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":150883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:35:26] local.INFO: TCP Data received {"connection_id":150883,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:35:26] local.INFO: Processing buffer {"connection_id":150883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:35:26] local.INFO: IMEI packet received {"connection_id":150883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":150883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:40:43] local.INFO: TCP Data received {"connection_id":148256,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:40:43] local.INFO: Processing buffer {"connection_id":148256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:40:43] local.INFO: IMEI packet received {"connection_id":148256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":148256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:40:44] local.INFO: TCP Data received {"connection_id":148256,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf77ae78012da161400551efe00008012729..."} 
[2026-08-05 06:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf77ae78012da161400551efe00008012729..."} 
[2026-08-05 06:40:44] local.INFO: Processing buffer {"connection_id":148256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf77ae78012da161400551efe00008012729..."} 
[2026-08-05 06:40:44] local.INFO: Packet analysis {"connection_id":148256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf77"} 
[2026-08-05 06:40:44] local.INFO: Extracted packet for processing {"connection_id":148256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf77"} 
[2026-08-05 06:40:44] local.INFO: GPS Element Parsed {"raw_longitude":765550912,"raw_latitude":89255904,"longitude_deg":76.5550912,"latitude_deg":8.9255904,"altitude":8,"angle":295,"satellites":41,"speed":38,"hex_longitude":"2da16140","hex_latitude":"0551efe0","is_valid_coordinates":true} 
[2026-08-05 06:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188388864001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370106377097445376,"note":"Value kept but may cause issues"} 
[2026-08-05 06:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6808879663782131712,"note":"Value kept but may cause issues"} 
[2026-08-05 06:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785892155000,"timestamp_ms":1785892155000,"timestamp_seconds":1785892155,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf77ae78"} 
[2026-08-05 06:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 06:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188388864001,"66":27865,"125":206,"84":6144,"24":38,"16":370106377097445376,"45":-6808879663782131712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-05 06:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188388864001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:40:44] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-05 06:40:44] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370106377097445376,"km_value":370106377097445.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6808879663782131712,"description":"Unknown IO ID 45"} 
[2026-08-05 06:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188388864001,"power":27865,"unknown_125":206,"unknown_84":6144,"ignition":38,"odometer":null,"unknown_45":-6808879663782131712}} 
[2026-08-05 06:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":148256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:40:44] local.INFO: GPS data processed {"connection_id":148256,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:40:44] local.INFO: Acknowledgment sent {"connection_id":148256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:41:15] local.INFO: TCP Data received {"connection_id":150886,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:41:15] local.INFO: Processing buffer {"connection_id":150886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:41:15] local.INFO: IMEI packet received {"connection_id":150886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":150886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:41:16] local.INFO: TCP Data received {"connection_id":150886,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:41:16] local.INFO: Processing buffer {"connection_id":150886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:41:16] local.INFO: IMEI packet received {"connection_id":150886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":150886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:41:21] local.INFO: TCP Data received {"connection_id":150886,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:41:21] local.INFO: Processing buffer {"connection_id":150886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:41:21] local.INFO: IMEI packet received {"connection_id":150886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":150886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:41:22] local.INFO: TCP Data received {"connection_id":150886,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf77d1a0012da13e000551fda00009012521..."} 
[2026-08-05 06:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf77d1a0012da13e000551fda00009012521..."} 
[2026-08-05 06:41:22] local.INFO: Processing buffer {"connection_id":150886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf77d1a0012da13e000551fda00009012521..."} 
[2026-08-05 06:41:22] local.INFO: Packet analysis {"connection_id":150886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf77"} 
[2026-08-05 06:41:22] local.INFO: Extracted packet for processing {"connection_id":150886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf77"} 
[2026-08-05 06:41:22] local.INFO: GPS Element Parsed {"raw_longitude":765541888,"raw_latitude":89259424,"longitude_deg":76.5541888,"latitude_deg":8.9259424,"altitude":9,"angle":293,"satellites":33,"speed":40,"hex_longitude":"2da13e00","hex_latitude":"0551fda0","is_valid_coordinates":true} 
[2026-08-05 06:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188391680001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370106840953913344,"note":"Value kept but may cause issues"} 
[2026-08-05 06:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6818097969268531200,"note":"Value kept but may cause issues"} 
[2026-08-05 06:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785892164000,"timestamp_ms":1785892164000,"timestamp_seconds":1785892164,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf77d1a0"} 
[2026-08-05 06:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 06:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188391680001,"66":27843,"125":206,"84":6144,"24":40,"16":370106840953913344,"45":-6818097969268531200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-05 06:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188391680001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:41:22] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-05 06:41:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370106840953913344,"km_value":370106840953913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6818097969268531200,"description":"Unknown IO ID 45"} 
[2026-08-05 06:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188391680001,"power":27843,"unknown_125":206,"unknown_84":6144,"ignition":40,"odometer":null,"unknown_45":-6818097969268531200}} 
[2026-08-05 06:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":150886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:41:22] local.INFO: GPS data processed {"connection_id":150886,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:41:22] local.INFO: Acknowledgment sent {"connection_id":150886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:41:53] local.INFO: TCP Data received {"connection_id":150886,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf77f8b0012da11d0005520bd0000a012825..."} 
[2026-08-05 06:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf77f8b0012da11d0005520bd0000a012825..."} 
[2026-08-05 06:41:53] local.INFO: Processing buffer {"connection_id":150886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf77f8b0012da11d0005520bd0000a012825..."} 
[2026-08-05 06:41:53] local.INFO: Packet analysis {"connection_id":150886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf77"} 
[2026-08-05 06:41:53] local.INFO: Extracted packet for processing {"connection_id":150886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf77"} 
[2026-08-05 06:41:53] local.INFO: GPS Element Parsed {"raw_longitude":765533440,"raw_latitude":89263056,"longitude_deg":76.553344,"latitude_deg":8.9263056,"altitude":10,"angle":296,"satellites":37,"speed":32,"hex_longitude":"2da11d00","hex_latitude":"05520bd0","is_valid_coordinates":true} 
[2026-08-05 06:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188393984001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370107283335544832,"note":"Value kept but may cause issues"} 
[2026-08-05 06:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6828019962196680704,"note":"Value kept but may cause issues"} 
[2026-08-05 06:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785892174000,"timestamp_ms":1785892174000,"timestamp_seconds":1785892174,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf77f8b0"} 
[2026-08-05 06:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 06:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188393984001,"66":27767,"125":206,"84":6144,"24":32,"16":370107283335544832,"45":-6828019962196680704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-05 06:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188393984001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:41:53] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-05 06:41:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370107283335544832,"km_value":370107283335544.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6828019962196680704,"description":"Unknown IO ID 45"} 
[2026-08-05 06:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188393984001,"power":27767,"unknown_125":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6828019962196680704}} 
[2026-08-05 06:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":150886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:41:53] local.INFO: GPS data processed {"connection_id":150886,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:41:53] local.INFO: Acknowledgment sent {"connection_id":150886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:42:16] local.INFO: TCP Data received {"connection_id":150887,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:42:16] local.INFO: Processing buffer {"connection_id":150887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:42:16] local.INFO: IMEI packet received {"connection_id":150887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":150887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:42:16] local.INFO: TCP Data received {"connection_id":150887,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:42:16] local.INFO: Processing buffer {"connection_id":150887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:42:16] local.INFO: IMEI packet received {"connection_id":150887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":150887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:42:21] local.INFO: TCP Data received {"connection_id":150887,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:42:21] local.INFO: Processing buffer {"connection_id":150887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:42:21] local.INFO: IMEI packet received {"connection_id":150887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":150887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:42:22] local.INFO: TCP Data received {"connection_id":150887,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf798338012d9ff5000552bcd8000501392b..."} 
[2026-08-05 06:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf798338012d9ff5000552bcd8000501392b..."} 
[2026-08-05 06:42:22] local.INFO: Processing buffer {"connection_id":150887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf798338012d9ff5000552bcd8000501392b..."} 
[2026-08-05 06:42:22] local.INFO: Packet analysis {"connection_id":150887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf79"} 
[2026-08-05 06:42:22] local.INFO: Extracted packet for processing {"connection_id":150887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf79"} 
[2026-08-05 06:42:22] local.INFO: GPS Element Parsed {"raw_longitude":765457664,"raw_latitude":89308376,"longitude_deg":76.5457664,"latitude_deg":8.9308376,"altitude":5,"angle":313,"satellites":43,"speed":27,"hex_longitude":"2d9ff500","hex_latitude":"0552bcd8","is_valid_coordinates":true} 
[2026-08-05 06:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188421120001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370111595482710016,"note":"Value kept but may cause issues"} 
[2026-08-05 06:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6917599373522802688,"note":"Value kept but may cause issues"} 
[2026-08-05 06:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785892275000,"timestamp_ms":1785892275000,"timestamp_seconds":1785892275,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf798338"} 
[2026-08-05 06:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 06:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188421120001,"66":27919,"116":206,"84":6144,"24":27,"16":370111595482710016,"45":-6917599373522802688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-05 06:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188421120001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:42:22] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-05 06:42:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370111595482710016,"km_value":370111595482710.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6917599373522802688,"description":"Unknown IO ID 45"} 
[2026-08-05 06:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188421120001,"power":27919,"unknown_116":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6917599373522802688}} 
[2026-08-05 06:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":150887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:42:22] local.INFO: GPS data processed {"connection_id":150887,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:42:22] local.INFO: Acknowledgment sent {"connection_id":150887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:42:52] local.INFO: TCP Data received {"connection_id":150887,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf79a278012d9fe5400552ced8000501462c..."} 
[2026-08-05 06:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf79a278012d9fe5400552ced8000501462c..."} 
[2026-08-05 06:42:52] local.INFO: Processing buffer {"connection_id":150887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf79a278012d9fe5400552ced8000501462c..."} 
[2026-08-05 06:42:52] local.INFO: Packet analysis {"connection_id":150887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf79"} 
[2026-08-05 06:42:52] local.INFO: Extracted packet for processing {"connection_id":150887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf79"} 
[2026-08-05 06:42:52] local.INFO: GPS Element Parsed {"raw_longitude":765453632,"raw_latitude":89312984,"longitude_deg":76.5453632,"latitude_deg":8.9312984,"altitude":5,"angle":326,"satellites":44,"speed":22,"hex_longitude":"2d9fe540","hex_latitude":"0552ced8","is_valid_coordinates":true} 
[2026-08-05 06:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188422400001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370111891835453440,"note":"Value kept but may cause issues"} 
[2026-08-05 06:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6920625229521954816,"note":"Value kept but may cause issues"} 
[2026-08-05 06:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785892283000,"timestamp_ms":1785892283000,"timestamp_seconds":1785892283,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf79a278"} 
[2026-08-05 06:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 06:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188422400001,"66":27908,"115":206,"84":6144,"24":22,"16":370111891835453440,"45":-6920625229521954816},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-05 06:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188422400001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:42:52] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-05 06:42:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370111891835453440,"km_value":370111891835453.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6920625229521954816,"description":"Unknown IO ID 45"} 
[2026-08-05 06:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188422400001,"power":27908,"unknown_115":206,"unknown_84":6144,"ignition":22,"odometer":null,"unknown_45":-6920625229521954816}} 
[2026-08-05 06:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":150887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:42:53] local.INFO: GPS data processed {"connection_id":150887,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:42:53] local.INFO: Acknowledgment sent {"connection_id":150887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:43:15] local.INFO: TCP Data received {"connection_id":150888,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:43:15] local.INFO: Processing buffer {"connection_id":150888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:43:15] local.INFO: IMEI packet received {"connection_id":150888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":150888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:43:19] local.INFO: TCP Data received {"connection_id":150888,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:43:19] local.INFO: Processing buffer {"connection_id":150888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:43:19] local.INFO: IMEI packet received {"connection_id":150888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":150888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:43:20] local.INFO: TCP Data received {"connection_id":150888,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf79c988012d9fd9000552e390000401552b..."} 
[2026-08-05 06:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf79c988012d9fd9000552e390000401552b..."} 
[2026-08-05 06:43:20] local.INFO: Processing buffer {"connection_id":150888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf79c988012d9fd9000552e390000401552b..."} 
[2026-08-05 06:43:20] local.INFO: Packet analysis {"connection_id":150888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf79"} 
[2026-08-05 06:43:20] local.INFO: Extracted packet for processing {"connection_id":150888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf79"} 
[2026-08-05 06:43:20] local.INFO: GPS Element Parsed {"raw_longitude":765450496,"raw_latitude":89318288,"longitude_deg":76.5450496,"latitude_deg":8.9318288,"altitude":4,"angle":341,"satellites":43,"speed":26,"hex_longitude":"2d9fd900","hex_latitude":"0552e390","is_valid_coordinates":true} 
[2026-08-05 06:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188424448001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370112192483164160,"note":"Value kept but may cause issues"} 
[2026-08-05 06:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6925058460403968000,"note":"Value kept but may cause issues"} 
[2026-08-05 06:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785892293000,"timestamp_ms":1785892293000,"timestamp_seconds":1785892293,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf79c988"} 
[2026-08-05 06:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 06:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:43: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-08-05 06:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188424448001,"66":27919,"115":206,"84":6144,"24":26,"16":370112192483164160,"45":-6925058460403968000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-05 06:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188424448001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:43:20] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-05 06:43:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370112192483164160,"km_value":370112192483164.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6925058460403968000,"description":"Unknown IO ID 45"} 
[2026-08-05 06:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188424448001,"power":27919,"unknown_115":206,"unknown_84":6144,"ignition":26,"odometer":null,"unknown_45":-6925058460403968000}} 
[2026-08-05 06:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":150888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:43:20] local.INFO: GPS data processed {"connection_id":150888,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:43:20] local.INFO: Acknowledgment sent {"connection_id":150888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:43:51] local.INFO: TCP Data received {"connection_id":150888,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf79dd10012d9fd6800552efa8000401612d..."} 
[2026-08-05 06:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf79dd10012d9fd6800552efa8000401612d..."} 
[2026-08-05 06:43:51] local.INFO: Processing buffer {"connection_id":150888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf79dd10012d9fd6800552efa8000401612d..."} 
[2026-08-05 06:43:51] local.INFO: Packet analysis {"connection_id":150888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf79"} 
[2026-08-05 06:43:51] local.INFO: Extracted packet for processing {"connection_id":150888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf79"} 
[2026-08-05 06:43:51] local.INFO: GPS Element Parsed {"raw_longitude":765449856,"raw_latitude":89321384,"longitude_deg":76.5449856,"latitude_deg":8.9321384,"altitude":4,"angle":353,"satellites":45,"speed":22,"hex_longitude":"2d9fd680","hex_latitude":"0552efa8","is_valid_coordinates":true} 
[2026-08-05 06:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188427008001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370112347101986816,"note":"Value kept but may cause issues"} 
[2026-08-05 06:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6928506528867315712,"note":"Value kept but may cause issues"} 
[2026-08-05 06:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785892298000,"timestamp_ms":1785892298000,"timestamp_seconds":1785892298,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf79dd10"} 
[2026-08-05 06:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 06:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188427008001,"66":27593,"115":206,"84":6144,"24":22,"16":370112347101986816,"45":-6928506528867315712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-05 06:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188427008001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:43:51] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-05 06:43:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370112347101986816,"km_value":370112347101986.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6928506528867315712,"description":"Unknown IO ID 45"} 
[2026-08-05 06:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188427008001,"power":27593,"unknown_115":206,"unknown_84":6144,"ignition":22,"odometer":null,"unknown_45":-6928506528867315712}} 
[2026-08-05 06:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":150888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:43:51] local.INFO: GPS data processed {"connection_id":150888,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:43:51] local.INFO: Acknowledgment sent {"connection_id":150888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:44:16] local.INFO: TCP Data received {"connection_id":148257,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:44:16] local.INFO: Processing buffer {"connection_id":148257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:44:16] local.INFO: IMEI packet received {"connection_id":148257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":148257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:44:17] local.INFO: TCP Data received {"connection_id":148257,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:44:17] local.INFO: Processing buffer {"connection_id":148257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:44:17] local.INFO: IMEI packet received {"connection_id":148257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":148257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:44:21] local.INFO: TCP Data received {"connection_id":148257,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:44:21] local.INFO: Processing buffer {"connection_id":148257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:44:21] local.INFO: IMEI packet received {"connection_id":148257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":148257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:44:22] local.INFO: TCP Data received {"connection_id":148257,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7a2b30012d9fd2c005531328000a01632c..."} 
[2026-08-05 06:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7a2b30012d9fd2c005531328000a01632c..."} 
[2026-08-05 06:44:22] local.INFO: Processing buffer {"connection_id":148257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7a2b30012d9fd2c005531328000a01632c..."} 
[2026-08-05 06:44:22] local.INFO: Packet analysis {"connection_id":148257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7a"} 
[2026-08-05 06:44:22] local.INFO: Extracted packet for processing {"connection_id":148257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7a"} 
[2026-08-05 06:44:22] local.INFO: GPS Element Parsed {"raw_longitude":765448896,"raw_latitude":89330472,"longitude_deg":76.5448896,"latitude_deg":8.9330472,"altitude":10,"angle":355,"satellites":44,"speed":22,"hex_longitude":"2d9fd2c0","hex_latitude":"05531328","is_valid_coordinates":true} 
[2026-08-05 06:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188428288001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370112789483618304,"note":"Value kept but may cause issues"} 
[2026-08-05 06:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6929210216308299776,"note":"Value kept but may cause issues"} 
[2026-08-05 06:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785892318000,"timestamp_ms":1785892318000,"timestamp_seconds":1785892318,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7a2b30"} 
[2026-08-05 06:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-05 06:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188428288001,"66":27767,"115":206,"84":6144,"24":22,"16":370112789483618304,"45":-6929210216308299776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-05 06:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188428288001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:44:22] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-05 06:44:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-05 06:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370112789483618304,"km_value":370112789483618.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6929210216308299776,"description":"Unknown IO ID 45"} 
[2026-08-05 06:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188428288001,"power":27767,"unknown_115":206,"unknown_84":6144,"ignition":22,"odometer":null,"unknown_45":-6929210216308299776}} 
[2026-08-05 06:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":148257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:44:22] local.INFO: GPS data processed {"connection_id":148257,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:44:22] local.INFO: Acknowledgment sent {"connection_id":148257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:44:53] local.INFO: TCP Data received {"connection_id":148257,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7c2700012d9eee4005546538000501382c..."} 
[2026-08-05 06:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7c2700012d9eee4005546538000501382c..."} 
[2026-08-05 06:44:53] local.INFO: Processing buffer {"connection_id":148257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7c2700012d9eee4005546538000501382c..."} 
[2026-08-05 06:44:53] local.INFO: Packet analysis {"connection_id":148257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7c"} 
[2026-08-05 06:44:53] local.INFO: Extracted packet for processing {"connection_id":148257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7c"} 
[2026-08-05 06:44:53] local.INFO: GPS Element Parsed {"raw_longitude":765390400,"raw_latitude":89417016,"longitude_deg":76.53904,"latitude_deg":8.9417016,"altitude":5,"angle":312,"satellites":44,"speed":56,"hex_longitude":"2d9eee40","hex_latitude":"05546538","is_valid_coordinates":true} 
[2026-08-05 06:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188464896001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370118385826004992,"note":"Value kept but may cause issues"} 
[2026-08-05 06:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6986420005301774336,"note":"Value kept but may cause issues"} 
[2026-08-05 06:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785892448000,"timestamp_ms":1785892448000,"timestamp_seconds":1785892448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7c2700"} 
[2026-08-05 06:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 06:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188464896001,"66":27865,"196":206,"84":7168,"24":56,"16":370118385826004992,"45":-6986420005301774336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-05 06:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188464896001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:44:53] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-05 06:44:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370118385826004992,"km_value":370118385826005.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6986420005301774336,"description":"Unknown IO ID 45"} 
[2026-08-05 06:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188464896001,"power":27865,"unknown_196":206,"unknown_84":7168,"ignition":56,"odometer":null,"unknown_45":-6986420005301774336}} 
[2026-08-05 06:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":148257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:44:53] local.INFO: GPS data processed {"connection_id":148257,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:44:53] local.INFO: Acknowledgment sent {"connection_id":148257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:45:21] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:45:21] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:45:21] local.INFO: IMEI packet received {"connection_id":148476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":148476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:45:23] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:45:23] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:45:23] local.INFO: IMEI packet received {"connection_id":148476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":148476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:45:24] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7c4258012d9ed300055482b0000501452c..."} 
[2026-08-05 06:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7c4258012d9ed300055482b0000501452c..."} 
[2026-08-05 06:45:24] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7c4258012d9ed300055482b0000501452c..."} 
[2026-08-05 06:45:24] local.INFO: Packet analysis {"connection_id":148476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7c"} 
[2026-08-05 06:45:24] local.INFO: Extracted packet for processing {"connection_id":148476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7c"} 
[2026-08-05 06:45:24] local.INFO: GPS Element Parsed {"raw_longitude":765383424,"raw_latitude":89424560,"longitude_deg":76.5383424,"latitude_deg":8.942456,"altitude":5,"angle":325,"satellites":44,"speed":60,"hex_longitude":"2d9ed300","hex_latitude":"055482b0","is_valid_coordinates":true} 
[2026-08-05 06:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188466688001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370118879747244032,"note":"Value kept but may cause issues"} 
[2026-08-05 06:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6994582779624867840,"note":"Value kept but may cause issues"} 
[2026-08-05 06:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785892455000,"timestamp_ms":1785892455000,"timestamp_seconds":1785892455,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7c4258"} 
[2026-08-05 06:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 06:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188466688001,"66":27908,"196":206,"84":7168,"24":60,"16":370118879747244032,"45":-6994582779624867840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-05 06:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188466688001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:45:24] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-05 06:45:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370118879747244032,"km_value":370118879747244.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6994582779624867840,"description":"Unknown IO ID 45"} 
[2026-08-05 06:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188466688001,"power":27908,"unknown_196":206,"unknown_84":7168,"ignition":60,"odometer":null,"unknown_45":-6994582779624867840}} 
[2026-08-05 06:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":148476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:45:24] local.INFO: GPS data processed {"connection_id":148476,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:45:24] local.INFO: Acknowledgment sent {"connection_id":148476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:45:54] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7c4258012d9ed300055482b0000501452c..."} 
[2026-08-05 06:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7c4258012d9ed300055482b0000501452c..."} 
[2026-08-05 06:45:54] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7c4258012d9ed300055482b0000501452c..."} 
[2026-08-05 06:45:54] local.INFO: Packet analysis {"connection_id":148476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7c"} 
[2026-08-05 06:45:54] local.INFO: Extracted packet for processing {"connection_id":148476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7c"} 
[2026-08-05 06:45:54] local.INFO: GPS Element Parsed {"raw_longitude":765383424,"raw_latitude":89424560,"longitude_deg":76.5383424,"latitude_deg":8.942456,"altitude":5,"angle":325,"satellites":44,"speed":60,"hex_longitude":"2d9ed300","hex_latitude":"055482b0","is_valid_coordinates":true} 
[2026-08-05 06:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188468480001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370118879747244032,"note":"Value kept but may cause issues"} 
[2026-08-05 06:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7002252972738301952,"note":"Value kept but may cause issues"} 
[2026-08-05 06:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785892455000,"timestamp_ms":1785892455000,"timestamp_seconds":1785892455,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7c4258"} 
[2026-08-05 06:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 06:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188468480001,"66":27908,"196":206,"84":7168,"24":60,"16":370118879747244032,"45":-7002252972738301952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-05 06:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188468480001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:45:54] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-05 06:45:54] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370118879747244032,"km_value":370118879747244.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7002252972738301952,"description":"Unknown IO ID 45"} 
[2026-08-05 06:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188468480001,"power":27908,"unknown_196":206,"unknown_84":7168,"ignition":60,"odometer":null,"unknown_45":-7002252972738301952}} 
[2026-08-05 06:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":148476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:45:54] local.INFO: GPS data processed {"connection_id":148476,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:45:54] local.INFO: Acknowledgment sent {"connection_id":148476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:46:14] local.INFO: TCP Data received {"connection_id":149479,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:46:14] local.INFO: Processing buffer {"connection_id":149479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:46:14] local.INFO: IMEI packet received {"connection_id":149479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":149479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:46:16] local.INFO: TCP Data received {"connection_id":149479,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:46:16] local.INFO: Processing buffer {"connection_id":149479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:46:16] local.INFO: IMEI packet received {"connection_id":149479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":149479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:46:23] local.INFO: TCP Data received {"connection_id":149479,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:46:23] local.INFO: Processing buffer {"connection_id":149479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:46:23] local.INFO: IMEI packet received {"connection_id":149479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":149479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:46:24] local.INFO: TCP Data received {"connection_id":149479,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7d4fe0012d9e57800555f5d80005015a2b..."} 
[2026-08-05 06:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7d4fe0012d9e57800555f5d80005015a2b..."} 
[2026-08-05 06:46:24] local.INFO: Processing buffer {"connection_id":149479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7d4fe0012d9e57800555f5d80005015a2b..."} 
[2026-08-05 06:46:24] local.INFO: Packet analysis {"connection_id":149479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7d"} 
[2026-08-05 06:46:24] local.INFO: Extracted packet for processing {"connection_id":149479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7d"} 
[2026-08-05 06:46:24] local.INFO: GPS Element Parsed {"raw_longitude":765351808,"raw_latitude":89519576,"longitude_deg":76.5351808,"latitude_deg":8.9519576,"altitude":5,"angle":346,"satellites":43,"speed":59,"hex_longitude":"2d9e5780","hex_latitude":"0555f5d8","is_valid_coordinates":true} 
[2026-08-05 06:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188484608001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370123758830092288,"note":"Value kept but may cause issues"} 
[2026-08-05 06:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7034692963782141952,"note":"Value kept but may cause issues"} 
[2026-08-05 06:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785892524000,"timestamp_ms":1785892524000,"timestamp_seconds":1785892524,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7d4fe0"} 
[2026-08-05 06:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-05 06:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188484608001,"66":27691,"197":206,"84":7168,"24":59,"16":370123758830092288,"45":-7034692963782141952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-08-05 06:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188484608001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:46:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-05 06:46:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370123758830092288,"km_value":370123758830092.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7034692963782141952,"description":"Unknown IO ID 45"} 
[2026-08-05 06:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188484608001,"power":27691,"unknown_197":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7034692963782141952}} 
[2026-08-05 06:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":149479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:46:24] local.INFO: GPS data processed {"connection_id":149479,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:46:24] local.INFO: Acknowledgment sent {"connection_id":149479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:46:55] local.INFO: TCP Data received {"connection_id":149479,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7d6750012d9e4e80055617d0000501562a..."} 
[2026-08-05 06:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7d6750012d9e4e80055617d0000501562a..."} 
[2026-08-05 06:46:55] local.INFO: Processing buffer {"connection_id":149479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7d6750012d9e4e80055617d0000501562a..."} 
[2026-08-05 06:46:55] local.INFO: Packet analysis {"connection_id":149479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7d"} 
[2026-08-05 06:46:55] local.INFO: Extracted packet for processing {"connection_id":149479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7d"} 
[2026-08-05 06:46:55] local.INFO: GPS Element Parsed {"raw_longitude":765349504,"raw_latitude":89528272,"longitude_deg":76.5349504,"latitude_deg":8.9528272,"altitude":5,"angle":342,"satellites":42,"speed":59,"hex_longitude":"2d9e4e80","hex_latitude":"055617d0","is_valid_coordinates":true} 
[2026-08-05 06:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188486144001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370124196916756480,"note":"Value kept but may cause issues"} 
[2026-08-05 06:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7037015132337743872,"note":"Value kept but may cause issues"} 
[2026-08-05 06:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785892530000,"timestamp_ms":1785892530000,"timestamp_seconds":1785892530,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7d6750"} 
[2026-08-05 06:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-05 06:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:46: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-08-05 06:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188486144001,"66":27876,"197":206,"84":7168,"24":59,"16":370124196916756480,"45":-7037015132337743872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-08-05 06:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188486144001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:46:55] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-05 06:46:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370124196916756480,"km_value":370124196916756.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7037015132337743872,"description":"Unknown IO ID 45"} 
[2026-08-05 06:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188486144001,"power":27876,"unknown_197":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7037015132337743872}} 
[2026-08-05 06:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":149479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:46:55] local.INFO: GPS data processed {"connection_id":149479,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:46:55] local.INFO: Acknowledgment sent {"connection_id":149479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:47:16] local.INFO: TCP Data received {"connection_id":148258,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:47:16] local.INFO: Processing buffer {"connection_id":148258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:47:16] local.INFO: IMEI packet received {"connection_id":148258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":148258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:47:21] local.INFO: TCP Data received {"connection_id":148258,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:47:21] local.INFO: Processing buffer {"connection_id":148258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:47:21] local.INFO: IMEI packet received {"connection_id":148258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":148258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:47:22] local.INFO: TCP Data received {"connection_id":148258,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7d7ec0012d9e4380055638e8000401552a..."} 
[2026-08-05 06:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7d7ec0012d9e4380055638e8000401552a..."} 
[2026-08-05 06:47:22] local.INFO: Processing buffer {"connection_id":148258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7d7ec0012d9e4380055638e8000401552a..."} 
[2026-08-05 06:47:22] local.INFO: Packet analysis {"connection_id":148258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7d"} 
[2026-08-05 06:47:22] local.INFO: Extracted packet for processing {"connection_id":148258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7d"} 
[2026-08-05 06:47:22] local.INFO: GPS Element Parsed {"raw_longitude":765346688,"raw_latitude":89536744,"longitude_deg":76.5346688,"latitude_deg":8.9536744,"altitude":4,"angle":341,"satellites":42,"speed":59,"hex_longitude":"2d9e4380","hex_latitude":"055638e8","is_valid_coordinates":true} 
[2026-08-05 06:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188487680001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370124626413486080,"note":"Value kept but may cause issues"} 
[2026-08-05 06:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039548407125913600,"note":"Value kept but may cause issues"} 
[2026-08-05 06:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785892536000,"timestamp_ms":1785892536000,"timestamp_seconds":1785892536,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7d7ec0"} 
[2026-08-05 06:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 06:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188487680001,"66":27919,"179":206,"84":7168,"24":59,"16":370124626413486080,"45":-7039548407125913600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-05 06:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188487680001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:47:22] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-05 06:47:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370124626413486080,"km_value":370124626413486.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039548407125913600,"description":"Unknown IO ID 45"} 
[2026-08-05 06:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188487680001,"power":27919,"unknown_179":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7039548407125913600}} 
[2026-08-05 06:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":148258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:47:22] local.INFO: GPS data processed {"connection_id":148258,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:47:22] local.INFO: Acknowledgment sent {"connection_id":148258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:47:53] local.INFO: TCP Data received {"connection_id":148258,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7d9630012d9e370005565988000401522a..."} 
[2026-08-05 06:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7d9630012d9e370005565988000401522a..."} 
[2026-08-05 06:47:53] local.INFO: Processing buffer {"connection_id":148258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7d9630012d9e370005565988000401522a..."} 
[2026-08-05 06:47:53] local.INFO: Packet analysis {"connection_id":148258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7d"} 
[2026-08-05 06:47:53] local.INFO: Extracted packet for processing {"connection_id":148258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7d"} 
[2026-08-05 06:47:53] local.INFO: GPS Element Parsed {"raw_longitude":765343488,"raw_latitude":89545096,"longitude_deg":76.5343488,"latitude_deg":8.9545096,"altitude":4,"angle":338,"satellites":42,"speed":59,"hex_longitude":"2d9e3700","hex_latitude":"05565988","is_valid_coordinates":true} 
[2026-08-05 06:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188489216001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370125060205182976,"note":"Value kept but may cause issues"} 
[2026-08-05 06:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042644631867561984,"note":"Value kept but may cause issues"} 
[2026-08-05 06:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785892542000,"timestamp_ms":1785892542000,"timestamp_seconds":1785892542,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7d9630"} 
[2026-08-05 06:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 06:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188489216001,"66":27908,"179":206,"84":7168,"24":59,"16":370125060205182976,"45":-7042644631867561984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-05 06:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188489216001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:47:53] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-05 06:47:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370125060205182976,"km_value":370125060205183.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042644631867561984,"description":"Unknown IO ID 45"} 
[2026-08-05 06:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188489216001,"power":27908,"unknown_179":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7042644631867561984}} 
[2026-08-05 06:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":148258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:47:53] local.INFO: GPS data processed {"connection_id":148258,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:47:53] local.INFO: Acknowledgment sent {"connection_id":148258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:48:15] local.INFO: TCP Data received {"connection_id":149480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:48:15] local.INFO: Processing buffer {"connection_id":149480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:48:15] local.INFO: IMEI packet received {"connection_id":149480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":149480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:48:17] local.INFO: TCP Data received {"connection_id":149480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:48:17] local.INFO: Processing buffer {"connection_id":149480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:48:17] local.INFO: IMEI packet received {"connection_id":149480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":149480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:48:21] local.INFO: TCP Data received {"connection_id":149480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:48:21] local.INFO: Processing buffer {"connection_id":149480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:48:21] local.INFO: IMEI packet received {"connection_id":149480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":149480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:48:21] local.INFO: TCP Data received {"connection_id":149480,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7dada0012d9e29c0055679a8000301512c..."} 
[2026-08-05 06:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7dada0012d9e29c0055679a8000301512c..."} 
[2026-08-05 06:48:21] local.INFO: Processing buffer {"connection_id":149480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7dada0012d9e29c0055679a8000301512c..."} 
[2026-08-05 06:48:21] local.INFO: Packet analysis {"connection_id":149480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7d"} 
[2026-08-05 06:48:21] local.INFO: Extracted packet for processing {"connection_id":149480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7d"} 
[2026-08-05 06:48:21] local.INFO: GPS Element Parsed {"raw_longitude":765340096,"raw_latitude":89553320,"longitude_deg":76.5340096,"latitude_deg":8.955332,"altitude":3,"angle":337,"satellites":44,"speed":59,"hex_longitude":"2d9e29c0","hex_latitude":"055679a8","is_valid_coordinates":true} 
[2026-08-05 06: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-08-05 06:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188490752001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370125489701912576,"note":"Value kept but may cause issues"} 
[2026-08-05 06:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7046163069074307072,"note":"Value kept but may cause issues"} 
[2026-08-05 06:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785892548000,"timestamp_ms":1785892548000,"timestamp_seconds":1785892548,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7dada0"} 
[2026-08-05 06:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:48: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-08-05 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 06:48: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-08-05 06: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-08-05 06:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:48: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-08-05 06:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188490752001,"66":27876,"179":206,"84":7168,"24":59,"16":370125489701912576,"45":-7046163069074307072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-05 06:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188490752001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:48:21] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-05 06:48:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370125489701912576,"km_value":370125489701912.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7046163069074307072,"description":"Unknown IO ID 45"} 
[2026-08-05 06:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188490752001,"power":27876,"unknown_179":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7046163069074307072}} 
[2026-08-05 06:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":149480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:48:21] local.INFO: GPS data processed {"connection_id":149480,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:48:21] local.INFO: Acknowledgment sent {"connection_id":149480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:48:53] local.INFO: TCP Data received {"connection_id":149480,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7f95e8012d9da24005580dd00003000527..."} 
[2026-08-05 06:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7f95e8012d9da24005580dd00003000527..."} 
[2026-08-05 06:48:53] local.INFO: Processing buffer {"connection_id":149480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7f95e8012d9da24005580dd00003000527..."} 
[2026-08-05 06:48:53] local.INFO: Packet analysis {"connection_id":149480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7f"} 
[2026-08-05 06:48:53] local.INFO: Extracted packet for processing {"connection_id":149480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7f"} 
[2026-08-05 06:48:53] local.INFO: GPS Element Parsed {"raw_longitude":765305408,"raw_latitude":89656784,"longitude_deg":76.5305408,"latitude_deg":8.9656784,"altitude":3,"angle":5,"satellites":39,"speed":40,"hex_longitude":"2d9da240","hex_latitude":"05580dd0","is_valid_coordinates":true} 
[2026-08-05 06:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188520704001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370130819756326912,"note":"Value kept but may cause issues"} 
[2026-08-05 06:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7087891734345289728,"note":"Value kept but may cause issues"} 
[2026-08-05 06:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785892673000,"timestamp_ms":1785892673000,"timestamp_seconds":1785892673,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7f95e8"} 
[2026-08-05 06:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 06:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188520704001,"66":27908,"162":206,"84":7168,"24":40,"16":370130819756326912,"45":-7087891734345289728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-05 06:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188520704001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:48:53] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-05 06:48:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370130819756326912,"km_value":370130819756326.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7087891734345289728,"description":"Unknown IO ID 45"} 
[2026-08-05 06:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188520704001,"power":27908,"unknown_162":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-7087891734345289728}} 
[2026-08-05 06:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":149480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:48:53] local.INFO: GPS data processed {"connection_id":149480,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:48:53] local.INFO: Acknowledgment sent {"connection_id":149480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:49:15] local.INFO: TCP Data received {"connection_id":149481,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:15] local.INFO: Processing buffer {"connection_id":149481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:15] local.INFO: IMEI packet received {"connection_id":149481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":149481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:49:17] local.INFO: TCP Data received {"connection_id":149481,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:17] local.INFO: Processing buffer {"connection_id":149481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:17] local.INFO: IMEI packet received {"connection_id":149481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":149481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:49:19] local.INFO: TCP Data received {"connection_id":149481,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:19] local.INFO: Processing buffer {"connection_id":149481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:19] local.INFO: IMEI packet received {"connection_id":149481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":149481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:49:21] local.INFO: TCP Data received {"connection_id":149481,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:21] local.INFO: Processing buffer {"connection_id":149481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:49:21] local.INFO: IMEI packet received {"connection_id":149481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":149481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:49:22] local.INFO: TCP Data received {"connection_id":149481,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7fb528012d9da90005582e70000200122a..."} 
[2026-08-05 06:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7fb528012d9da90005582e70000200122a..."} 
[2026-08-05 06:49:22] local.INFO: Processing buffer {"connection_id":149481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7fb528012d9da90005582e70000200122a..."} 
[2026-08-05 06:49:22] local.INFO: Packet analysis {"connection_id":149481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7f"} 
[2026-08-05 06:49:22] local.INFO: Extracted packet for processing {"connection_id":149481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7f"} 
[2026-08-05 06:49:22] local.INFO: GPS Element Parsed {"raw_longitude":765307136,"raw_latitude":89665136,"longitude_deg":76.5307136,"latitude_deg":8.9665136,"altitude":2,"angle":18,"satellites":42,"speed":46,"hex_longitude":"2d9da900","hex_latitude":"05582e70","is_valid_coordinates":true} 
[2026-08-05 06:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188524288001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370131236368154624,"note":"Value kept but may cause issues"} 
[2026-08-05 06:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7088032471831425024,"note":"Value kept but may cause issues"} 
[2026-08-05 06:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785892681000,"timestamp_ms":1785892681000,"timestamp_seconds":1785892681,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7fb528"} 
[2026-08-05 06:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 06:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188524288001,"66":27876,"162":206,"84":7168,"24":46,"16":370131236368154624,"45":-7088032471831425024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-05 06:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188524288001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:49:22] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-05 06:49:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370131236368154624,"km_value":370131236368154.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7088032471831425024,"description":"Unknown IO ID 45"} 
[2026-08-05 06:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188524288001,"power":27876,"unknown_162":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7088032471831425024}} 
[2026-08-05 06:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":149481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:49:22] local.INFO: GPS data processed {"connection_id":149481,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:49:22] local.INFO: Acknowledgment sent {"connection_id":149481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:49:53] local.INFO: TCP Data received {"connection_id":149481,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf7fd080012d9db7c005584d000002001e2c..."} 
[2026-08-05 06:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf7fd080012d9db7c005584d000002001e2c..."} 
[2026-08-05 06:49:53] local.INFO: Processing buffer {"connection_id":149481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf7fd080012d9db7c005584d000002001e2c..."} 
[2026-08-05 06:49:53] local.INFO: Packet analysis {"connection_id":149481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf7f"} 
[2026-08-05 06:49:53] local.INFO: Extracted packet for processing {"connection_id":149481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf7f"} 
[2026-08-05 06:49:53] local.INFO: GPS Element Parsed {"raw_longitude":765310912,"raw_latitude":89672960,"longitude_deg":76.5310912,"latitude_deg":8.967296,"altitude":2,"angle":30,"satellites":44,"speed":51,"hex_longitude":"2d9db7c0","hex_latitude":"05584d00","is_valid_coordinates":true} 
[2026-08-05 06:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188526336001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370131657274949632,"note":"Value kept but may cause issues"} 
[2026-08-05 06:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086132515736489984,"note":"Value kept but may cause issues"} 
[2026-08-05 06:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785892688000,"timestamp_ms":1785892688000,"timestamp_seconds":1785892688,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf7fd080"} 
[2026-08-05 06:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 06:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188526336001,"66":27767,"162":206,"84":7168,"24":51,"16":370131657274949632,"45":-7086132515736489984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-05 06:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188526336001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:49:53] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-05 06:49:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370131657274949632,"km_value":370131657274949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086132515736489984,"description":"Unknown IO ID 45"} 
[2026-08-05 06:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188526336001,"power":27767,"unknown_162":206,"unknown_84":7168,"ignition":51,"odometer":null,"unknown_45":-7086132515736489984}} 
[2026-08-05 06:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":149481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:49:53] local.INFO: GPS data processed {"connection_id":149481,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:49:53] local.INFO: Acknowledgment sent {"connection_id":149481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:50:30] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:50:30] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:50:30] local.INFO: IMEI packet received {"connection_id":148477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":148477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:50:36] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 06:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 06:50:36] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 06:50:36] local.INFO: IMEI packet received {"connection_id":148477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":148477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:50:38] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf810130012d9e41c005593778000700172c..."} 
[2026-08-05 06:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf810130012d9e41c005593778000700172c..."} 
[2026-08-05 06:50:38] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fcf..."} 
[2026-08-05 06:50:38] local.INFO: IMEI packet received {"connection_id":148477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":148477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:50:39] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf812070012d9e4c80055959a80005000c2c..."} 
[2026-08-05 06:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf812070012d9e4c80055959a80005000c2c..."} 
[2026-08-05 06:50:39] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fcf810130012d9e41c005593778000700172c..."} 
[2026-08-05 06:50:39] local.INFO: Packet analysis {"connection_id":148477,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fcf81"} 
[2026-08-05 06:50:39] local.INFO: Extracted packet for processing {"connection_id":148477,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf81"} 
[2026-08-05 06:50:39] local.INFO: GPS Element Parsed {"raw_longitude":765346240,"raw_latitude":89732984,"longitude_deg":76.534624,"latitude_deg":8.9732984,"altitude":7,"angle":23,"satellites":44,"speed":41,"hex_longitude":"2d9e41c0","hex_latitude":"05593778","is_valid_coordinates":true} 
[2026-08-05 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-08-05 06:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188545280001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370135037414211584,"note":"Value kept but may cause issues"} 
[2026-08-05 06:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047851918888704000,"note":"Value kept but may cause issues"} 
[2026-08-05 06:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785892766000,"timestamp_ms":1785892766000,"timestamp_seconds":1785892766,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf810130"} 
[2026-08-05 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-08-05 06:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 06:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 06:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188545280001,"66":27800,"119":206,"84":7168,"24":41,"16":370135037414211584,"45":-7047851918888704000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-05 06:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188545280001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:50:39] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-05 06:50:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370135037414211584,"km_value":370135037414211.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047851918888704000,"description":"Unknown IO ID 45"} 
[2026-08-05 06:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188545280001,"power":27800,"unknown_119":206,"unknown_84":7168,"ignition":41,"odometer":null,"unknown_45":-7047851918888704000}} 
[2026-08-05 06:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":148477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:50:39] local.INFO: GPS data processed {"connection_id":148477,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:50:39] local.INFO: Acknowledgment sent {"connection_id":148477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:50:39] local.INFO: Packet analysis {"connection_id":148477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf81"} 
[2026-08-05 06:50:39] local.INFO: Extracted packet for processing {"connection_id":148477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf81"} 
[2026-08-05 06:50:39] local.INFO: GPS Element Parsed {"raw_longitude":765348992,"raw_latitude":89741736,"longitude_deg":76.5348992,"latitude_deg":8.9741736,"altitude":5,"angle":12,"satellites":44,"speed":45,"hex_longitude":"2d9e4c80","hex_latitude":"055959a8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 06:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188548096001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370135479795843072,"note":"Value kept but may cause issues"} 
[2026-08-05 06:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043137213026568192,"note":"Value kept but may cause issues"} 
[2026-08-05 06:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785892774000,"timestamp_ms":1785892774000,"timestamp_seconds":1785892774,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf812070"} 
[2026-08-05 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-08-05 06:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 06:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 06:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188548096001,"66":27832,"119":206,"84":7168,"24":45,"16":370135479795843072,"45":-7043137213026568192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-05 06:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188548096001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:50:39] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-05 06:50:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370135479795843072,"km_value":370135479795843.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043137213026568192,"description":"Unknown IO ID 45"} 
[2026-08-05 06:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188548096001,"power":27832,"unknown_119":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-7043137213026568192}} 
[2026-08-05 06:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":148477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:50:39] local.INFO: GPS data processed {"connection_id":148477,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:50:39] local.INFO: Acknowledgment sent {"connection_id":148477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:50:42] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf814780012d9e520005597c98000400062b..."} 
[2026-08-05 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf814780012d9e520005597c98000400062b..."} 
[2026-08-05 06:50:42] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf814780012d9e520005597c98000400062b..."} 
[2026-08-05 06:50:42] local.INFO: Packet analysis {"connection_id":148477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf81"} 
[2026-08-05 06:50:42] local.INFO: Extracted packet for processing {"connection_id":148477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf81"} 
[2026-08-05 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":765350400,"raw_latitude":89750680,"longitude_deg":76.53504,"latitude_deg":8.975068,"altitude":4,"angle":6,"satellites":43,"speed":31,"hex_longitude":"2d9e5200","hex_latitude":"05597c98","is_valid_coordinates":true} 
[2026-08-05 06:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188550144001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370135922177474560,"note":"Value kept but may cause issues"} 
[2026-08-05 06:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7040111357024688128,"note":"Value kept but may cause issues"} 
[2026-08-05 06:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785892784000,"timestamp_ms":1785892784000,"timestamp_seconds":1785892784,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf814780"} 
[2026-08-05 06:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-05 06:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188550144001,"66":27658,"119":206,"84":7168,"24":31,"16":370135922177474560,"45":-7040111357024688128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-05 06:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188550144001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:50:42] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-05 06:50:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370135922177474560,"km_value":370135922177474.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7040111357024688128,"description":"Unknown IO ID 45"} 
[2026-08-05 06:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188550144001,"power":27658,"unknown_119":206,"unknown_84":7168,"ignition":31,"odometer":null,"unknown_45":-7040111357024688128}} 
[2026-08-05 06:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":148477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:50:42] local.INFO: GPS data processed {"connection_id":148477,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:50:42] local.INFO: Acknowledgment sent {"connection_id":148477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:51:16] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:51:16] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:51:16] local.INFO: IMEI packet received {"connection_id":148478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":148478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:51:21] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:51:21] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:51:21] local.INFO: IMEI packet received {"connection_id":148478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":148478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:51:22] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf815720012d9e51c0055989a0000501622b..."} 
[2026-08-05 06:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf815720012d9e51c0055989a0000501622b..."} 
[2026-08-05 06:51:22] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf815720012d9e51c0055989a0000501622b..."} 
[2026-08-05 06:51:22] local.INFO: Packet analysis {"connection_id":148478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf81"} 
[2026-08-05 06:51:22] local.INFO: Extracted packet for processing {"connection_id":148478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf81"} 
[2026-08-05 06:51:22] local.INFO: GPS Element Parsed {"raw_longitude":765350336,"raw_latitude":89754016,"longitude_deg":76.5350336,"latitude_deg":8.9754016,"altitude":5,"angle":354,"satellites":43,"speed":35,"hex_longitude":"2d9e51c0","hex_latitude":"055989a0","is_valid_coordinates":true} 
[2026-08-05 06:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188552704001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370136085386231808,"note":"Value kept but may cause issues"} 
[2026-08-05 06:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7038563244650489856,"note":"Value kept but may cause issues"} 
[2026-08-05 06:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785892788000,"timestamp_ms":1785892788000,"timestamp_seconds":1785892788,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf815720"} 
[2026-08-05 06:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 06:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188552704001,"66":27745,"119":206,"84":7168,"24":35,"16":370136085386231808,"45":-7038563244650489856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-05 06:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188552704001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:51:22] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-05 06:51:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370136085386231808,"km_value":370136085386231.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7038563244650489856,"description":"Unknown IO ID 45"} 
[2026-08-05 06:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188552704001,"power":27745,"unknown_119":206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-7038563244650489856}} 
[2026-08-05 06:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":148478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:51:22] local.INFO: GPS data processed {"connection_id":148478,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:51:22] local.INFO: Acknowledgment sent {"connection_id":148478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:51:53] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf816e90012d9e4e0005599fe0000401542a..."} 
[2026-08-05 06:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf816e90012d9e4e0005599fe0000401542a..."} 
[2026-08-05 06:51:53] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf816e90012d9e4e0005599fe0000401542a..."} 
[2026-08-05 06:51:53] local.INFO: Packet analysis {"connection_id":148478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf81"} 
[2026-08-05 06:51:53] local.INFO: Extracted packet for processing {"connection_id":148478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf81"} 
[2026-08-05 06:51:53] local.INFO: GPS Element Parsed {"raw_longitude":765349376,"raw_latitude":89759712,"longitude_deg":76.5349376,"latitude_deg":8.9759712,"altitude":4,"angle":340,"satellites":42,"speed":39,"hex_longitude":"2d9e4e00","hex_latitude":"05599fe0","is_valid_coordinates":true} 
[2026-08-05 06:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188553728001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370136364559106048,"note":"Value kept but may cause issues"} 
[2026-08-05 06:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7038633613393813504,"note":"Value kept but may cause issues"} 
[2026-08-05 06:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785892794000,"timestamp_ms":1785892794000,"timestamp_seconds":1785892794,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf816e90"} 
[2026-08-05 06:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 06:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188553728001,"66":27800,"119":206,"84":7168,"24":39,"16":370136364559106048,"45":-7038633613393813504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-05 06:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188553728001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:51:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-05 06:51:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370136364559106048,"km_value":370136364559106.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7038633613393813504,"description":"Unknown IO ID 45"} 
[2026-08-05 06:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188553728001,"power":27800,"unknown_119":206,"unknown_84":7168,"ignition":39,"odometer":null,"unknown_45":-7038633613393813504}} 
[2026-08-05 06:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":148478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:51:53] local.INFO: GPS data processed {"connection_id":148478,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:51:53] local.INFO: Acknowledgment sent {"connection_id":148478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:52:03] local.INFO: TCP Data received {"connection_id":150889,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 06:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 06:52:03] local.INFO: Processing buffer {"connection_id":150889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 06:52:03] local.INFO: IMEI packet received {"connection_id":150889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 06:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":150889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:52:04] local.INFO: TCP Data received {"connection_id":150889,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 06:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150889,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 06:52:04] local.INFO: Processing buffer {"connection_id":150889,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 06:52:04] local.INFO: IMEI packet received {"connection_id":150889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 06:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":150889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:52:04] local.INFO: TCP Data received {"connection_id":150889,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 06:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 06:52:04] local.INFO: Processing buffer {"connection_id":150889,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 06:52:04] local.INFO: IMEI packet received {"connection_id":150889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 06:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":150889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:52:16] local.INFO: TCP Data received {"connection_id":150890,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:52:16] local.INFO: Processing buffer {"connection_id":150890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:52:16] local.INFO: IMEI packet received {"connection_id":150890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":150890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:52:21] local.INFO: TCP Data received {"connection_id":150890,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:52:21] local.INFO: Processing buffer {"connection_id":150890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:52:21] local.INFO: IMEI packet received {"connection_id":150890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":150890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:52:24] local.INFO: TCP Data received {"connection_id":150890,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:52:24] local.INFO: Processing buffer {"connection_id":150890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:52:24] local.INFO: IMEI packet received {"connection_id":150890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":150890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:52:25] local.INFO: TCP Data received {"connection_id":150890,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf82ed60012d9e4080055b2188000401632c..."} 
[2026-08-05 06:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf82ed60012d9e4080055b2188000401632c..."} 
[2026-08-05 06:52:25] local.INFO: Processing buffer {"connection_id":150890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf82ed60012d9e4080055b2188000401632c..."} 
[2026-08-05 06:52:25] local.INFO: Packet analysis {"connection_id":150890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf82"} 
[2026-08-05 06:52:25] local.INFO: Extracted packet for processing {"connection_id":150890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf82"} 
[2026-08-05 06:52:25] local.INFO: GPS Element Parsed {"raw_longitude":765345920,"raw_latitude":89858440,"longitude_deg":76.534592,"latitude_deg":8.985844,"altitude":4,"angle":355,"satellites":44,"speed":59,"hex_longitude":"2d9e4080","hex_latitude":"055b2188","is_valid_coordinates":true} 
[2026-08-05 06:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188578560001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370141174922477568,"note":"Value kept but may cause issues"} 
[2026-08-05 06:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043207581741277184,"note":"Value kept but may cause issues"} 
[2026-08-05 06:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785892892000,"timestamp_ms":1785892892000,"timestamp_seconds":1785892892,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf82ed60"} 
[2026-08-05 06:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 06:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188578560001,"66":27876,"248":206,"84":7168,"24":59,"16":370141174922477568,"45":-7043207581741277184},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-05 06:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188578560001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:52:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370141174922477568,"km_value":370141174922477.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043207581741277184,"description":"Unknown IO ID 45"} 
[2026-08-05 06:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188578560001,"power":27876,"tamper_alert":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7043207581741277184}} 
[2026-08-05 06:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":150890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:52:25] local.INFO: GPS data processed {"connection_id":150890,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:52:25] local.INFO: Acknowledgment sent {"connection_id":150890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:52:55] local.INFO: TCP Data received {"connection_id":150890,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8308b8012d9e3ac0055b46600005015d2b..."} 
[2026-08-05 06:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8308b8012d9e3ac0055b46600005015d2b..."} 
[2026-08-05 06:52:55] local.INFO: Processing buffer {"connection_id":150890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8308b8012d9e3ac0055b46600005015d2b..."} 
[2026-08-05 06:52:55] local.INFO: Packet analysis {"connection_id":150890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf83"} 
[2026-08-05 06:52:55] local.INFO: Extracted packet for processing {"connection_id":150890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf83"} 
[2026-08-05 06:52:55] local.INFO: GPS Element Parsed {"raw_longitude":765344448,"raw_latitude":89867872,"longitude_deg":76.5344448,"latitude_deg":8.9867872,"altitude":5,"angle":349,"satellites":43,"speed":48,"hex_longitude":"2d9e3ac0","hex_latitude":"055b4660","is_valid_coordinates":true} 
[2026-08-05 06:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188580352001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370141638778945536,"note":"Value kept but may cause issues"} 
[2026-08-05 06:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043489056715339776,"note":"Value kept but may cause issues"} 
[2026-08-05 06:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785892899000,"timestamp_ms":1785892899000,"timestamp_seconds":1785892899,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8308b8"} 
[2026-08-05 06:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 06:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:52: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-08-05 06:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188580352001,"66":27800,"248":206,"84":7168,"24":48,"16":370141638778945536,"45":-7043489056715339776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-05 06:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188580352001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:52:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370141638778945536,"km_value":370141638778945.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043489056715339776,"description":"Unknown IO ID 45"} 
[2026-08-05 06:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188580352001,"power":27800,"tamper_alert":206,"unknown_84":7168,"ignition":48,"odometer":null,"unknown_45":-7043489056715339776}} 
[2026-08-05 06:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":150890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:52:55] local.INFO: GPS data processed {"connection_id":150890,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:52:55] local.INFO: Acknowledgment sent {"connection_id":150890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:53:16] local.INFO: TCP Data received {"connection_id":149482,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:53:16] local.INFO: Processing buffer {"connection_id":149482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:53:16] local.INFO: IMEI packet received {"connection_id":149482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":149482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:53:21] local.INFO: TCP Data received {"connection_id":149482,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:53:21] local.INFO: Processing buffer {"connection_id":149482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:53:21] local.INFO: IMEI packet received {"connection_id":149482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":149482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:53:21] local.INFO: TCP Data received {"connection_id":149482,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf832410012d9e3300055b69e80005015a2b..."} 
[2026-08-05 06:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf832410012d9e3300055b69e80005015a2b..."} 
[2026-08-05 06:53:21] local.INFO: Processing buffer {"connection_id":149482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf832410012d9e3300055b69e80005015a2b..."} 
[2026-08-05 06:53:21] local.INFO: Packet analysis {"connection_id":149482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf83"} 
[2026-08-05 06:53:21] local.INFO: Extracted packet for processing {"connection_id":149482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf83"} 
[2026-08-05 06:53:21] local.INFO: GPS Element Parsed {"raw_longitude":765342464,"raw_latitude":89876968,"longitude_deg":76.5342464,"latitude_deg":8.9876968,"altitude":5,"angle":346,"satellites":43,"speed":56,"hex_longitude":"2d9e3300","hex_latitude":"055b69e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 06:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188582144001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370142089750511616,"note":"Value kept but may cause issues"} 
[2026-08-05 06:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7045107537829011456,"note":"Value kept but may cause issues"} 
[2026-08-05 06:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785892906000,"timestamp_ms":1785892906000,"timestamp_seconds":1785892906,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf832410"} 
[2026-08-05 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-08-05 06:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 06:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 06:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:53: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-08-05 06:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188582144001,"66":27800,"249":206,"84":7168,"24":56,"16":370142089750511616,"45":-7045107537829011456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-05 06:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188582144001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:53:21] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-05 06:53:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370142089750511616,"km_value":370142089750511.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7045107537829011456,"description":"Unknown IO ID 45"} 
[2026-08-05 06:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188582144001,"power":27800,"unknown_249":206,"unknown_84":7168,"ignition":56,"odometer":null,"unknown_45":-7045107537829011456}} 
[2026-08-05 06:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":149482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:53:22] local.INFO: GPS data processed {"connection_id":149482,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:53:22] local.INFO: Acknowledgment sent {"connection_id":149482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:53:53] local.INFO: TCP Data received {"connection_id":149482,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf833b80012d9e2bc0055b8c400005015b2c..."} 
[2026-08-05 06:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf833b80012d9e2bc0055b8c400005015b2c..."} 
[2026-08-05 06:53:53] local.INFO: Processing buffer {"connection_id":149482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf833b80012d9e2bc0055b8c400005015b2c..."} 
[2026-08-05 06:53:53] local.INFO: Packet analysis {"connection_id":149482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf83"} 
[2026-08-05 06:53:53] local.INFO: Extracted packet for processing {"connection_id":149482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf83"} 
[2026-08-05 06:53:53] local.INFO: GPS Element Parsed {"raw_longitude":765340608,"raw_latitude":89885760,"longitude_deg":76.5340608,"latitude_deg":8.988576,"altitude":5,"angle":347,"satellites":44,"speed":60,"hex_longitude":"2d9e2bc0","hex_latitude":"055b8c40","is_valid_coordinates":true} 
[2026-08-05 06:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188583936001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370142527837175808,"note":"Value kept but may cause issues"} 
[2026-08-05 06:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047288968896190464,"note":"Value kept but may cause issues"} 
[2026-08-05 06:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785892912000,"timestamp_ms":1785892912000,"timestamp_seconds":1785892912,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf833b80"} 
[2026-08-05 06:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 06:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188583936001,"66":27908,"249":206,"84":7168,"24":60,"16":370142527837175808,"45":-7047288968896190464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-05 06:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188583936001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:53:53] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-05 06:53:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370142527837175808,"km_value":370142527837175.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047288968896190464,"description":"Unknown IO ID 45"} 
[2026-08-05 06:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188583936001,"power":27908,"unknown_249":206,"unknown_84":7168,"ignition":60,"odometer":null,"unknown_45":-7047288968896190464}} 
[2026-08-05 06:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":149482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:53:53] local.INFO: GPS data processed {"connection_id":149482,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:53:53] local.INFO: Acknowledgment sent {"connection_id":149482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:54:16] local.INFO: TCP Data received {"connection_id":150891,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:54:16] local.INFO: Processing buffer {"connection_id":150891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:54:16] local.INFO: IMEI packet received {"connection_id":150891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":150891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:54:17] local.INFO: TCP Data received {"connection_id":150891,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:54:17] local.INFO: Processing buffer {"connection_id":150891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:54:17] local.INFO: IMEI packet received {"connection_id":150891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":150891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:54:21] local.INFO: TCP Data received {"connection_id":150891,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:54:21] local.INFO: Processing buffer {"connection_id":150891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:54:21] local.INFO: IMEI packet received {"connection_id":150891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":150891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:54:21] local.INFO: TCP Data received {"connection_id":150891,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8356d8012d9e22c0055bb130000601552a..."} 
[2026-08-05 06:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8356d8012d9e22c0055bb130000601552a..."} 
[2026-08-05 06:54:21] local.INFO: Processing buffer {"connection_id":150891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8356d8012d9e22c0055bb130000601552a..."} 
[2026-08-05 06:54:21] local.INFO: Packet analysis {"connection_id":150891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf83"} 
[2026-08-05 06:54:21] local.INFO: Extracted packet for processing {"connection_id":150891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf83"} 
[2026-08-05 06:54:21] local.INFO: GPS Element Parsed {"raw_longitude":765338304,"raw_latitude":89895216,"longitude_deg":76.5338304,"latitude_deg":8.9895216,"altitude":6,"angle":341,"satellites":42,"speed":44,"hex_longitude":"2d9e22c0","hex_latitude":"055bb130","is_valid_coordinates":true} 
[2026-08-05 06: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-08-05 06:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188585472001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370143000283578368,"note":"Value kept but may cause issues"} 
[2026-08-05 06:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7049329662475091968,"note":"Value kept but may cause issues"} 
[2026-08-05 06:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785892919000,"timestamp_ms":1785892919000,"timestamp_seconds":1785892919,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8356d8"} 
[2026-08-05 06:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:54: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-08-05 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 06:54: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-08-05 06: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-08-05 06:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:54: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-08-05 06:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188585472001,"66":27843,"249":206,"84":7168,"24":44,"16":370143000283578368,"45":-7049329662475091968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-05 06:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188585472001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:54:21] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-05 06:54:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370143000283578368,"km_value":370143000283578.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7049329662475091968,"description":"Unknown IO ID 45"} 
[2026-08-05 06:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188585472001,"power":27843,"unknown_249":206,"unknown_84":7168,"ignition":44,"odometer":null,"unknown_45":-7049329662475091968}} 
[2026-08-05 06:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":150891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:54:21] local.INFO: GPS data processed {"connection_id":150891,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:54:21] local.INFO: Acknowledgment sent {"connection_id":150891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:54:52] local.INFO: TCP Data received {"connection_id":150891,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf837618012d9e1640055bd1e00006015a2c..."} 
[2026-08-05 06:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf837618012d9e1640055bd1e00006015a2c..."} 
[2026-08-05 06:54:52] local.INFO: Processing buffer {"connection_id":150891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf837618012d9e1640055bd1e00006015a2c..."} 
[2026-08-05 06:54:52] local.INFO: Packet analysis {"connection_id":150891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf83"} 
[2026-08-05 06:54:52] local.INFO: Extracted packet for processing {"connection_id":150891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf83"} 
[2026-08-05 06:54:52] local.INFO: GPS Element Parsed {"raw_longitude":765335104,"raw_latitude":89903584,"longitude_deg":76.5335104,"latitude_deg":8.9903584,"altitude":6,"angle":346,"satellites":44,"speed":45,"hex_longitude":"2d9e1640","hex_latitude":"055bd1e0","is_valid_coordinates":true} 
[2026-08-05 06:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188587264001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370143434075275264,"note":"Value kept but may cause issues"} 
[2026-08-05 06:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7051862937263067136,"note":"Value kept but may cause issues"} 
[2026-08-05 06:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785892927000,"timestamp_ms":1785892927000,"timestamp_seconds":1785892927,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf837618"} 
[2026-08-05 06:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 06:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188587264001,"66":27745,"249":206,"84":7168,"24":45,"16":370143434075275264,"45":-7051862937263067136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-05 06:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188587264001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:54:52] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-05 06:54:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370143434075275264,"km_value":370143434075275.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7051862937263067136,"description":"Unknown IO ID 45"} 
[2026-08-05 06:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188587264001,"power":27745,"unknown_249":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-7051862937263067136}} 
[2026-08-05 06:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":150891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:54:52] local.INFO: GPS data processed {"connection_id":150891,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:54:52] local.INFO: Acknowledgment sent {"connection_id":150891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:55:16] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:55:16] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:55:16] local.INFO: IMEI packet received {"connection_id":148479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":148479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:55:21] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:55:21] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:55:21] local.INFO: IMEI packet received {"connection_id":148479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":148479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:55:22] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf856e00012d9e47c0055d6cc0000300202e..."} 
[2026-08-05 06:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf856e00012d9e47c0055d6cc0000300202e..."} 
[2026-08-05 06:55:22] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf856e00012d9e47c0055d6cc0000300202e..."} 
[2026-08-05 06:55:22] local.INFO: Packet analysis {"connection_id":148479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf85"} 
[2026-08-05 06:55:22] local.INFO: Extracted packet for processing {"connection_id":148479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf85"} 
[2026-08-05 06:55:22] local.INFO: GPS Element Parsed {"raw_longitude":765347776,"raw_latitude":90008768,"longitude_deg":76.5347776,"latitude_deg":9.0008768,"altitude":3,"angle":32,"satellites":46,"speed":8,"hex_longitude":"2d9e47c0","hex_latitude":"055d6cc0","is_valid_coordinates":true} 
[2026-08-05 06:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188619008001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370148819964264448,"note":"Value kept but may cause issues"} 
[2026-08-05 06:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7046937125143517184,"note":"Value kept but may cause issues"} 
[2026-08-05 06:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785893056000,"timestamp_ms":1785893056000,"timestamp_seconds":1785893056,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf856e00"} 
[2026-08-05 06:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 06:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188619008001,"66":27669,"145":206,"84":7168,"24":8,"16":370148819964264448,"45":-7046937125143517184},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-05 06:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188619008001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:55:22] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-05 06:55:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370148819964264448,"km_value":370148819964264.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7046937125143517184,"description":"Unknown IO ID 45"} 
[2026-08-05 06:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188619008001,"power":27669,"unknown_145":206,"unknown_84":7168,"ignition":8,"odometer":null,"unknown_45":-7046937125143517184}} 
[2026-08-05 06:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":148479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:55:22] local.INFO: GPS data processed {"connection_id":148479,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:55:22] local.INFO: Acknowledgment sent {"connection_id":148479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:55:53] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf85b838012d9e5840055d8d40000200152d..."} 
[2026-08-05 06:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf85b838012d9e5840055d8d40000200152d..."} 
[2026-08-05 06:55:53] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf85b838012d9e5840055d8d40000200152d..."} 
[2026-08-05 06:55:53] local.INFO: Packet analysis {"connection_id":148479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf85"} 
[2026-08-05 06:55:53] local.INFO: Extracted packet for processing {"connection_id":148479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf85"} 
[2026-08-05 06:55:53] local.INFO: GPS Element Parsed {"raw_longitude":765352000,"raw_latitude":90017088,"longitude_deg":76.5352,"latitude_deg":9.0017088,"altitude":2,"angle":21,"satellites":45,"speed":33,"hex_longitude":"2d9e5840","hex_latitude":"055d8d40","is_valid_coordinates":true} 
[2026-08-05 06:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188622336001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370149275230797824,"note":"Value kept but may cause issues"} 
[2026-08-05 06:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7041448363095703552,"note":"Value kept but may cause issues"} 
[2026-08-05 06:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785893075000,"timestamp_ms":1785893075000,"timestamp_seconds":1785893075,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf85b838"} 
[2026-08-05 06:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-05 06:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188622336001,"66":27865,"199":206,"84":7168,"24":33,"16":370149275230797824,"45":-7041448363095703552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,84,24,16,45]} 
[2026-08-05 06:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188622336001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:55:53] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 06:55:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370149275230797824,"km_value":370149275230797.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7041448363095703552,"description":"Unknown IO ID 45"} 
[2026-08-05 06:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188622336001,"power":27865,"trip_odometer":0.206,"unknown_84":7168,"ignition":33,"odometer":null,"unknown_45":-7041448363095703552}} 
[2026-08-05 06:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":148479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:55:53] local.INFO: GPS data processed {"connection_id":148479,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:55:53] local.INFO: Acknowledgment sent {"connection_id":148479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:56:15] local.INFO: TCP Data received {"connection_id":148260,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:56:15] local.INFO: Processing buffer {"connection_id":148260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:56:15] local.INFO: IMEI packet received {"connection_id":148260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":148260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:56:21] local.INFO: TCP Data received {"connection_id":148260,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:56:21] local.INFO: Processing buffer {"connection_id":148260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:56:21] local.INFO: IMEI packet received {"connection_id":148260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":148260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:56:21] local.INFO: TCP Data received {"connection_id":148260,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf85b838012d9e5840055d8d40000200152d..."} 
[2026-08-05 06:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf85b838012d9e5840055d8d40000200152d..."} 
[2026-08-05 06:56:21] local.INFO: Processing buffer {"connection_id":148260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf85b838012d9e5840055d8d40000200152d..."} 
[2026-08-05 06:56:21] local.INFO: Packet analysis {"connection_id":148260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf85"} 
[2026-08-05 06:56:21] local.INFO: Extracted packet for processing {"connection_id":148260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf85"} 
[2026-08-05 06:56:21] local.INFO: GPS Element Parsed {"raw_longitude":765352000,"raw_latitude":90017088,"longitude_deg":76.5352,"latitude_deg":9.0017088,"altitude":2,"angle":21,"satellites":45,"speed":33,"hex_longitude":"2d9e5840","hex_latitude":"055d8d40","is_valid_coordinates":true} 
[2026-08-05 06: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-08-05 06:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188627200001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370149275230797824,"note":"Value kept but may cause issues"} 
[2026-08-05 06:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036804025977847808,"note":"Value kept but may cause issues"} 
[2026-08-05 06:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785893075000,"timestamp_ms":1785893075000,"timestamp_seconds":1785893075,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf85b838"} 
[2026-08-05 06:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 06:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06: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-08-05 06:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:56: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-08-05 06:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188627200001,"66":27865,"199":206,"84":7168,"24":33,"16":370149275230797824,"45":-7036804025977847808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,84,24,16,45]} 
[2026-08-05 06:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188627200001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:56:21] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 06:56:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370149275230797824,"km_value":370149275230797.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036804025977847808,"description":"Unknown IO ID 45"} 
[2026-08-05 06:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188627200001,"power":27865,"trip_odometer":0.206,"unknown_84":7168,"ignition":33,"odometer":null,"unknown_45":-7036804025977847808}} 
[2026-08-05 06:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":148260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:56:21] local.INFO: GPS data processed {"connection_id":148260,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:56:21] local.INFO: Acknowledgment sent {"connection_id":148260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:56:53] local.INFO: TCP Data received {"connection_id":148260,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf85df48012d9e6280055daf800004000b2d..."} 
[2026-08-05 06:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf85df48012d9e6280055daf800004000b2d..."} 
[2026-08-05 06:56:53] local.INFO: Processing buffer {"connection_id":148260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf85df48012d9e6280055daf800004000b2d..."} 
[2026-08-05 06:56:53] local.INFO: Packet analysis {"connection_id":148260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf85"} 
[2026-08-05 06:56:53] local.INFO: Extracted packet for processing {"connection_id":148260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf85"} 
[2026-08-05 06:56:53] local.INFO: GPS Element Parsed {"raw_longitude":765354624,"raw_latitude":90025856,"longitude_deg":76.5354624,"latitude_deg":9.0025856,"altitude":4,"angle":11,"satellites":45,"speed":35,"hex_longitude":"2d9e6280","hex_latitude":"055daf80","is_valid_coordinates":true} 
[2026-08-05 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-08-05 06:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188627200001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370149717612429312,"note":"Value kept but may cause issues"} 
[2026-08-05 06:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036804025977847808,"note":"Value kept but may cause issues"} 
[2026-08-05 06:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785893085000,"timestamp_ms":1785893085000,"timestamp_seconds":1785893085,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf85df48"} 
[2026-08-05 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-08-05 06:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 06:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 06:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188627200001,"66":27767,"199":206,"84":7168,"24":35,"16":370149717612429312,"45":-7036804025977847808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,84,24,16,45]} 
[2026-08-05 06:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188627200001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:56:53] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 06:56:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370149717612429312,"km_value":370149717612429.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036804025977847808,"description":"Unknown IO ID 45"} 
[2026-08-05 06:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188627200001,"power":27767,"trip_odometer":0.206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-7036804025977847808}} 
[2026-08-05 06:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":148260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:56:53] local.INFO: GPS data processed {"connection_id":148260,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:56:53] local.INFO: Acknowledgment sent {"connection_id":148260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:57:07] local.INFO: TCP Data received {"connection_id":148259,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 06:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 06:57:07] local.INFO: Processing buffer {"connection_id":148259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 06:57:07] local.INFO: IMEI packet received {"connection_id":148259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 06:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":148259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:57:08] local.INFO: TCP Data received {"connection_id":148259,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf878528012d803c8005d39048000b009815..."} 
[2026-08-05 06:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf878528012d803c8005d39048000b009815..."} 
[2026-08-05 06:57:08] local.INFO: Processing buffer {"connection_id":148259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf878528012d803c8005d39048000b009815..."} 
[2026-08-05 06:57:08] local.INFO: Packet analysis {"connection_id":148259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:57:08] local.INFO: Extracted packet for processing {"connection_id":148259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763378816,"raw_latitude":97751112,"longitude_deg":76.3378816,"latitude_deg":9.7751112,"altitude":11,"angle":152,"satellites":21,"speed":26,"hex_longitude":"2d803c80","hex_latitude":"05d39048","is_valid_coordinates":true} 
[2026-08-05 06:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188656896001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114829141819260928,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207116831925194752,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57: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-08-05 06:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785893193000,"timestamp_ms":1785893193000,"timestamp_seconds":1785893193,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf878528"} 
[2026-08-05 06:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-05 06:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06:57: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-08-05 06:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 06:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 06:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188656896001,"66":13504,"167":206,"85":15104,"24":26,"16":114829141819260928,"45":-9207116831925194752},"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-08-05 06:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 06:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 06:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188656896001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:57:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-05 06:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 06:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114829141819260928,"km_value":114829141819260.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207116831925194752,"description":"Unknown IO ID 45"} 
[2026-08-05 06:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188656896001,"power":13504,"unknown_167":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9207116831925194752}} 
[2026-08-05 06:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":148259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:57:08] local.INFO: GPS data processed {"connection_id":148259,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:57:08] local.INFO: Acknowledgment sent {"connection_id":148259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:57:15] local.INFO: TCP Data received {"connection_id":149483,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:57:15] local.INFO: Processing buffer {"connection_id":149483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:57:15] local.INFO: IMEI packet received {"connection_id":149483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":149483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:57:21] local.INFO: TCP Data received {"connection_id":149483,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:57:21] local.INFO: Processing buffer {"connection_id":149483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:57:21] local.INFO: IMEI packet received {"connection_id":149483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":149483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:57:21] local.INFO: TCP Data received {"connection_id":149483,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8742c0012d9ea6c0055ec4d0000401672d..."} 
[2026-08-05 06:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8742c0012d9ea6c0055ec4d0000401672d..."} 
[2026-08-05 06:57:21] local.INFO: Processing buffer {"connection_id":149483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8742c0012d9ea6c0055ec4d0000401672d..."} 
[2026-08-05 06:57:21] local.INFO: Packet analysis {"connection_id":149483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:57:21] local.INFO: Extracted packet for processing {"connection_id":149483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:57:21] local.INFO: GPS Element Parsed {"raw_longitude":765372096,"raw_latitude":90096848,"longitude_deg":76.5372096,"latitude_deg":9.0096848,"altitude":4,"angle":359,"satellites":45,"speed":29,"hex_longitude":"2d9ea6c0","hex_latitude":"055ec4d0","is_valid_coordinates":true} 
[2026-08-05 06: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-08-05 06:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188651008001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370153286730252288,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015341558985121792,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785893176000,"timestamp_ms":1785893176000,"timestamp_seconds":1785893176,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8742c0"} 
[2026-08-05 06:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 06:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06: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-08-05 06:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:57: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-08-05 06:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188651008001,"66":27821,"143":206,"84":7168,"24":29,"16":370153286730252288,"45":-7015341558985121792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-05 06:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188651008001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:57:21] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-05 06:57:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370153286730252288,"km_value":370153286730252.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015341558985121792,"description":"Unknown IO ID 45"} 
[2026-08-05 06:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188651008001,"power":27821,"unknown_143":206,"unknown_84":7168,"ignition":29,"odometer":null,"unknown_45":-7015341558985121792}} 
[2026-08-05 06:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":149483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:57:21] local.INFO: GPS data processed {"connection_id":149483,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:57:21] local.INFO: Acknowledgment sent {"connection_id":149483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:57:39] local.INFO: TCP Data received {"connection_id":148259,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf879c98012d80424005d385280009008416..."} 
[2026-08-05 06:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf879c98012d80424005d385280009008416..."} 
[2026-08-05 06:57:39] local.INFO: Processing buffer {"connection_id":148259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf879c98012d80424005d385280009008416..."} 
[2026-08-05 06:57:39] local.INFO: Packet analysis {"connection_id":148259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:57:39] local.INFO: Extracted packet for processing {"connection_id":148259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763380288,"raw_latitude":97748264,"longitude_deg":76.3380288,"latitude_deg":9.7748264,"altitude":9,"angle":132,"satellites":22,"speed":19,"hex_longitude":"2d804240","hex_latitude":"05d38528","is_valid_coordinates":true} 
[2026-08-05 06:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188657408001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114829296438083584,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206342775739496448,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785893199000,"timestamp_ms":1785893199000,"timestamp_seconds":1785893199,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf879c98"} 
[2026-08-05 06:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-05 06:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06:57: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-08-05 06:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 06:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 06:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188657408001,"66":13461,"167":206,"85":15104,"24":19,"16":114829296438083584,"45":-9206342775739496448},"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-08-05 06:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 06:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 06:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188657408001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:57:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-05 06:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 06:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114829296438083584,"km_value":114829296438083.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206342775739496448,"description":"Unknown IO ID 45"} 
[2026-08-05 06:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188657408001,"power":13461,"unknown_167":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9206342775739496448}} 
[2026-08-05 06:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":148259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:57:39] local.INFO: GPS data processed {"connection_id":148259,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:57:39] local.INFO: Acknowledgment sent {"connection_id":148259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:57:53] local.INFO: TCP Data received {"connection_id":149483,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf875648012d9ea5c0055ecf580005015b2d..."} 
[2026-08-05 06:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf875648012d9ea5c0055ecf580005015b2d..."} 
[2026-08-05 06:57:53] local.INFO: Processing buffer {"connection_id":149483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf875648012d9ea5c0055ecf580005015b2d..."} 
[2026-08-05 06:57:53] local.INFO: Packet analysis {"connection_id":149483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:57:53] local.INFO: Extracted packet for processing {"connection_id":149483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:57:53] local.INFO: GPS Element Parsed {"raw_longitude":765371840,"raw_latitude":90099544,"longitude_deg":76.537184,"latitude_deg":9.0099544,"altitude":5,"angle":347,"satellites":45,"speed":19,"hex_longitude":"2d9ea5c0","hex_latitude":"055ecf58","is_valid_coordinates":true} 
[2026-08-05 06:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188653056001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370153419874238464,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014708240285642752,"note":"Value kept but may cause issues"} 
[2026-08-05 06:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785893181000,"timestamp_ms":1785893181000,"timestamp_seconds":1785893181,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf875648"} 
[2026-08-05 06:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 06:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188653056001,"66":27995,"128":206,"84":7168,"24":19,"16":370153419874238464,"45":-7014708240285642752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-08-05 06:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188653056001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:57:53] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-05 06:57:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370153419874238464,"km_value":370153419874238.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014708240285642752,"description":"Unknown IO ID 45"} 
[2026-08-05 06:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188653056001,"power":27995,"unknown_128":206,"unknown_84":7168,"ignition":19,"odometer":null,"unknown_45":-7014708240285642752}} 
[2026-08-05 06:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":149483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:57:53] local.INFO: GPS data processed {"connection_id":149483,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:57:53] local.INFO: Acknowledgment sent {"connection_id":149483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:58:10] local.INFO: TCP Data received {"connection_id":148259,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf87a468012d8045c005d382d80009006d15..."} 
[2026-08-05 06:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf87a468012d8045c005d382d80009006d15..."} 
[2026-08-05 06:58:10] local.INFO: Processing buffer {"connection_id":148259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf87a468012d8045c005d382d80009006d15..."} 
[2026-08-05 06:58:10] local.INFO: Packet analysis {"connection_id":148259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:58:10] local.INFO: Extracted packet for processing {"connection_id":148259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763381184,"raw_latitude":97747672,"longitude_deg":76.3381184,"latitude_deg":9.7747672,"altitude":9,"angle":109,"satellites":21,"speed":21,"hex_longitude":"2d8045c0","hex_latitude":"05d382d8","is_valid_coordinates":true} 
[2026-08-05 06:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188658944001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114829352272658432,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204724294624139264,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785893201000,"timestamp_ms":1785893201000,"timestamp_seconds":1785893201,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf87a468"} 
[2026-08-05 06:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 06:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06:58: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-08-05 06:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 06:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 06:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188658944001,"66":13102,"167":206,"85":15104,"24":21,"16":114829352272658432,"45":-9204724294624139264},"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-08-05 06:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 06:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 06:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188658944001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:58:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-05 06:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 06:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114829352272658432,"km_value":114829352272658.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204724294624139264,"description":"Unknown IO ID 45"} 
[2026-08-05 06:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188658944001,"power":13102,"unknown_167":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9204724294624139264}} 
[2026-08-05 06:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":148259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:58:11] local.INFO: GPS data processed {"connection_id":148259,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:58:11] local.INFO: Acknowledgment sent {"connection_id":148259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:58:15] local.INFO: TCP Data received {"connection_id":148261,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:58:15] local.INFO: Processing buffer {"connection_id":148261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:58:15] local.INFO: IMEI packet received {"connection_id":148261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":148261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:58:21] local.INFO: TCP Data received {"connection_id":148261,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:58:21] local.INFO: Processing buffer {"connection_id":148261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:58:21] local.INFO: IMEI packet received {"connection_id":148261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":148261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:58:21] local.INFO: TCP Data received {"connection_id":148261,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf875e18012d9ea480055ed2e00004014f2d..."} 
[2026-08-05 06:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf875e18012d9ea480055ed2e00004014f2d..."} 
[2026-08-05 06:58:21] local.INFO: Processing buffer {"connection_id":148261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf875e18012d9ea480055ed2e00004014f2d..."} 
[2026-08-05 06:58:21] local.INFO: Packet analysis {"connection_id":148261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:58:21] local.INFO: Extracted packet for processing {"connection_id":148261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:58:21] local.INFO: GPS Element Parsed {"raw_longitude":765371520,"raw_latitude":90100448,"longitude_deg":76.537152,"latitude_deg":9.0100448,"altitude":4,"angle":335,"satellites":45,"speed":19,"hex_longitude":"2d9ea480","hex_latitude":"055ed2e0","is_valid_coordinates":true} 
[2026-08-05 06:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188654336001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370153467118878720,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014989715261663232,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785893183000,"timestamp_ms":1785893183000,"timestamp_seconds":1785893183,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf875e18"} 
[2026-08-05 06:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:58: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-08-05 06: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 06:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:58: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-08-05 06:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188654336001,"66":27908,"128":206,"84":7168,"24":19,"16":370153467118878720,"45":-7014989715261663232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-08-05 06:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188654336001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:58:21] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-05 06:58:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370153467118878720,"km_value":370153467118878.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014989715261663232,"description":"Unknown IO ID 45"} 
[2026-08-05 06:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188654336001,"power":27908,"unknown_128":206,"unknown_84":7168,"ignition":19,"odometer":null,"unknown_45":-7014989715261663232}} 
[2026-08-05 06:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":148261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:58:21] local.INFO: GPS data processed {"connection_id":148261,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:58:21] local.INFO: Acknowledgment sent {"connection_id":148261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:58:42] local.INFO: TCP Data received {"connection_id":148259,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf895218012d80c5c005d2f560000c007916..."} 
[2026-08-05 06:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf895218012d80c5c005d2f560000c007916..."} 
[2026-08-05 06:58:42] local.INFO: Processing buffer {"connection_id":148259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf895218012d80c5c005d2f560000c007916..."} 
[2026-08-05 06:58:42] local.INFO: Packet analysis {"connection_id":148259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 06:58:42] local.INFO: Extracted packet for processing {"connection_id":148259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 06:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763413952,"raw_latitude":97711456,"longitude_deg":76.3413952,"latitude_deg":9.7711456,"altitude":12,"angle":121,"satellites":22,"speed":25,"hex_longitude":"2d80c5c0","hex_latitude":"05d2f560","is_valid_coordinates":true} 
[2026-08-05 06:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188687104001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114832483303817216,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169047341335349248,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785893311000,"timestamp_ms":1785893311000,"timestamp_seconds":1785893311,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf895218"} 
[2026-08-05 06:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-05 06:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06:58: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-08-05 06:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 06:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 06:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188687104001,"66":13428,"208":206,"85":15104,"24":25,"16":114832483303817216,"45":-9169047341335349248},"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-08-05 06:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 06:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 06:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188687104001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:58:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-05 06:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 06:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114832483303817216,"km_value":114832483303817.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169047341335349248,"description":"Unknown IO ID 45"} 
[2026-08-05 06:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188687104001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9169047341335349248}} 
[2026-08-05 06:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":148259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:58:42] local.INFO: GPS data processed {"connection_id":148259,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:58:42] local.INFO: Acknowledgment sent {"connection_id":148259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:58:53] local.INFO: TCP Data received {"connection_id":148261,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf877588012d9ea040055edfd00005015b2e..."} 
[2026-08-05 06:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf877588012d9ea040055edfd00005015b2e..."} 
[2026-08-05 06:58:53] local.INFO: Processing buffer {"connection_id":148261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf877588012d9ea040055edfd00005015b2e..."} 
[2026-08-05 06:58:53] local.INFO: Packet analysis {"connection_id":148261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:58:53] local.INFO: Extracted packet for processing {"connection_id":148261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf87"} 
[2026-08-05 06:58:53] local.INFO: GPS Element Parsed {"raw_longitude":765370432,"raw_latitude":90103760,"longitude_deg":76.5370432,"latitude_deg":9.010376,"altitude":5,"angle":347,"satellites":46,"speed":27,"hex_longitude":"2d9ea040","hex_latitude":"055edfd0","is_valid_coordinates":true} 
[2026-08-05 06:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188654848001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370153638917570560,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015341558982320128,"note":"Value kept but may cause issues"} 
[2026-08-05 06:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785893189000,"timestamp_ms":1785893189000,"timestamp_seconds":1785893189,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf877588"} 
[2026-08-05 06:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 06:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188654848001,"66":27865,"128":206,"84":7168,"24":27,"16":370153638917570560,"45":-7015341558982320128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-08-05 06:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188654848001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:58:53] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-05 06:58:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370153638917570560,"km_value":370153638917570.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015341558982320128,"description":"Unknown IO ID 45"} 
[2026-08-05 06:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188654848001,"power":27865,"unknown_128":206,"unknown_84":7168,"ignition":27,"odometer":null,"unknown_45":-7015341558982320128}} 
[2026-08-05 06:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":148261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:58:53] local.INFO: GPS data processed {"connection_id":148261,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:58:53] local.INFO: Acknowledgment sent {"connection_id":148261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:59:13] local.INFO: TCP Data received {"connection_id":148259,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8959e8012d80c90005d2f228000d009116..."} 
[2026-08-05 06:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8959e8012d80c90005d2f228000d009116..."} 
[2026-08-05 06:59:13] local.INFO: Processing buffer {"connection_id":148259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8959e8012d80c90005d2f228000d009116..."} 
[2026-08-05 06:59:13] local.INFO: Packet analysis {"connection_id":148259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 06:59:13] local.INFO: Extracted packet for processing {"connection_id":148259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 06:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763414784,"raw_latitude":97710632,"longitude_deg":76.3414784,"latitude_deg":9.7710632,"altitude":13,"angle":145,"satellites":22,"speed":23,"hex_longitude":"2d80c900","hex_latitude":"05d2f228","is_valid_coordinates":true} 
[2026-08-05 06:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188687616001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114832543433359360,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167710335196110848,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785893313000,"timestamp_ms":1785893313000,"timestamp_seconds":1785893313,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8959e8"} 
[2026-08-05 06:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:59: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-08-05 06:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-05 06:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06: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-08-05 06:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06: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-08-05 06:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 06:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 06:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188687616001,"66":13363,"208":206,"85":15104,"24":23,"16":114832543433359360,"45":-9167710335196110848},"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-08-05 06:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 06:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 06:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188687616001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:59:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-05 06:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 06:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114832543433359360,"km_value":114832543433359.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167710335196110848,"description":"Unknown IO ID 45"} 
[2026-08-05 06:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188687616001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9167710335196110848}} 
[2026-08-05 06:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":148259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:59:13] local.INFO: GPS data processed {"connection_id":148259,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:59:13] local.INFO: Acknowledgment sent {"connection_id":148259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:59:21] local.INFO: TCP Data received {"connection_id":150892,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:59:21] local.INFO: Processing buffer {"connection_id":150892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:59:21] local.INFO: IMEI packet received {"connection_id":150892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 06:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":150892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 06:59:23] local.INFO: TCP Data received {"connection_id":150892,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:59:23] local.INFO: Processing buffer {"connection_id":150892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 06:59:23] local.INFO: IMEI packet received {"connection_id":150892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 06:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":150892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 06:59:24] local.INFO: TCP Data received {"connection_id":150892,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf891780012d9ec14005602ad0000500232d..."} 
[2026-08-05 06:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf891780012d9ec14005602ad0000500232d..."} 
[2026-08-05 06:59:24] local.INFO: Processing buffer {"connection_id":150892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf891780012d9ec14005602ad0000500232d..."} 
[2026-08-05 06:59:24] local.INFO: Packet analysis {"connection_id":150892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 06:59:24] local.INFO: Extracted packet for processing {"connection_id":150892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 06:59:24] local.INFO: GPS Element Parsed {"raw_longitude":765378880,"raw_latitude":90188496,"longitude_deg":76.537888,"latitude_deg":9.0188496,"altitude":5,"angle":35,"satellites":45,"speed":46,"hex_longitude":"2d9ec140","hex_latitude":"05602ad0","is_valid_coordinates":true} 
[2026-08-05 06:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188681728001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370157972539572224,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7012456440450502656,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785893296000,"timestamp_ms":1785893296000,"timestamp_seconds":1785893296,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf891780"} 
[2026-08-05 06:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 06:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188681728001,"66":27821,"175":206,"84":7168,"24":46,"16":370157972539572224,"45":-7012456440450502656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-05 06:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188681728001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:59:24] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-05 06:59:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370157972539572224,"km_value":370157972539572.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7012456440450502656,"description":"Unknown IO ID 45"} 
[2026-08-05 06:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188681728001,"power":27821,"unknown_175":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7012456440450502656}} 
[2026-08-05 06:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":150892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:59:24] local.INFO: GPS data processed {"connection_id":150892,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:59:24] local.INFO: Acknowledgment sent {"connection_id":150892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:59:26] local.INFO: TCP Data received {"connection_id":150892,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8936c0012d9ed8c0056045a80005002b2e..."} 
[2026-08-05 06:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8936c0012d9ed8c0056045a80005002b2e..."} 
[2026-08-05 06:59:26] local.INFO: Processing buffer {"connection_id":150892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8936c0012d9ed8c0056045a80005002b2e..."} 
[2026-08-05 06:59:26] local.INFO: Packet analysis {"connection_id":150892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 06:59:26] local.INFO: Extracted packet for processing {"connection_id":150892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 06:59:26] local.INFO: GPS Element Parsed {"raw_longitude":765384896,"raw_latitude":90195368,"longitude_deg":76.5384896,"latitude_deg":9.0195368,"altitude":5,"angle":43,"satellites":46,"speed":41,"hex_longitude":"2d9ed8c0","hex_latitude":"056045a8","is_valid_coordinates":true} 
[2026-08-05 06:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188683776001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370158414921203712,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7007249153379348480,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785893304000,"timestamp_ms":1785893304000,"timestamp_seconds":1785893304,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8936c0"} 
[2026-08-05 06:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 06:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188683776001,"66":28028,"175":206,"84":7168,"24":41,"16":370158414921203712,"45":-7007249153379348480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-05 06:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188683776001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:59:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-05 06:59:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370158414921203712,"km_value":370158414921203.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7007249153379348480,"description":"Unknown IO ID 45"} 
[2026-08-05 06:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188683776001,"power":28028,"unknown_175":206,"unknown_84":7168,"ignition":41,"odometer":null,"unknown_45":-7007249153379348480}} 
[2026-08-05 06:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":150892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:59:26] local.INFO: GPS data processed {"connection_id":150892,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:59:26] local.INFO: Acknowledgment sent {"connection_id":150892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:59:43] local.INFO: TCP Data received {"connection_id":148259,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8a5bb8012d81198005d269500002008218..."} 
[2026-08-05 06:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8a5bb8012d81198005d269500002008218..."} 
[2026-08-05 06:59:43] local.INFO: Processing buffer {"connection_id":148259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8a5bb8012d81198005d269500002008218..."} 
[2026-08-05 06:59:43] local.INFO: Packet analysis {"connection_id":148259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 06:59:43] local.INFO: Extracted packet for processing {"connection_id":148259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 06:59:43] local.INFO: GPS Element Parsed {"raw_longitude":763435392,"raw_latitude":97675600,"longitude_deg":76.3435392,"latitude_deg":9.76756,"altitude":2,"angle":130,"satellites":24,"speed":23,"hex_longitude":"2d811980","hex_latitude":"05d26950","is_valid_coordinates":true} 
[2026-08-05 06:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188704000001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114834828355960832,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146740449440182272,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785893379000,"timestamp_ms":1785893379000,"timestamp_seconds":1785893379,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8a5bb8"} 
[2026-08-05 06:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618041,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3481936160,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165096453,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7495883138967535616,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2318194689,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634789368985552,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4182573056,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3531681792,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":129,"raw_value":954769522753011714,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093638370079147,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:43] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,249,159,72,45,128,108,1,10,66,64,192,111,2,23,60,240,88,227,207,210,4,113,205,25,37,14,168,239,53,151,5,26,129,52,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-05 06:59:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72176440079548416,"timestamp_seconds":72176440079548.42,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 06:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 06:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 06:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 06:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188704000001,"66":13352,"208":206,"85":15104,"24":23,"16":114834828355960832,"45":-9146740449440182272},"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-08-05 06:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 06:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 06:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188704000001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:59:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-05 06:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 06:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114834828355960832,"km_value":114834828355960.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146740449440182272,"description":"Unknown IO ID 45"} 
[2026-08-05 06:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188704000001,"power":13352,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9146740449440182272}} 
[2026-08-05 06:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":148259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:59:43] local.INFO: GPS data processed {"connection_id":148259,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:59:43] local.INFO: Acknowledgment sent {"connection_id":148259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 06:59:57] local.INFO: TCP Data received {"connection_id":150892,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf895dd0012d9ef300056060d80004002a2d..."} 
[2026-08-05 06:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf895dd0012d9ef300056060d80004002a2d..."} 
[2026-08-05 06:59:57] local.INFO: Processing buffer {"connection_id":150892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf895dd0012d9ef300056060d80004002a2d..."} 
[2026-08-05 06:59:57] local.INFO: Packet analysis {"connection_id":150892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 06:59:57] local.INFO: Extracted packet for processing {"connection_id":150892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 06:59:57] local.INFO: GPS Element Parsed {"raw_longitude":765391616,"raw_latitude":90202328,"longitude_deg":76.5391616,"latitude_deg":9.0202328,"altitude":4,"angle":42,"satellites":45,"speed":34,"hex_longitude":"2d9ef300","hex_latitude":"056060d8","is_valid_coordinates":true} 
[2026-08-05 06:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 06:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188685824001,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370158883072638976,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7000634491424888832,"note":"Value kept but may cause issues"} 
[2026-08-05 06:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 06:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785893314000,"timestamp_ms":1785893314000,"timestamp_seconds":1785893314,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf895dd0"} 
[2026-08-05 06:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 06:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 06:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 06:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 06:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 06:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 06:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 06:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 06:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 06:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 06:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 06:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 06:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188685824001,"66":27908,"175":206,"84":7168,"24":34,"16":370158883072638976,"45":-7000634491424888832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-05 06:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 06:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 06:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188685824001,"description":"Unknown IO ID 0"} 
[2026-08-05 06:59:57] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-05 06:59:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 06:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370158883072638976,"km_value":370158883072639.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 06:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7000634491424888832,"description":"Unknown IO ID 45"} 
[2026-08-05 06:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188685824001,"power":27908,"unknown_175":206,"unknown_84":7168,"ignition":34,"odometer":null,"unknown_45":-7000634491424888832}} 
[2026-08-05 06:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":150892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 06:59:57] local.INFO: GPS data processed {"connection_id":150892,"processed":1,"errors":0,"total":1} 
[2026-08-05 06:59:57] local.INFO: Acknowledgment sent {"connection_id":150892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:00:14] local.INFO: TCP Data received {"connection_id":148259,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8a6388012d811c0005d265f80001009618..."} 
[2026-08-05 07:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8a6388012d811c0005d265f80001009618..."} 
[2026-08-05 07:00:14] local.INFO: Processing buffer {"connection_id":148259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8a6388012d811c0005d265f80001009618..."} 
[2026-08-05 07:00:14] local.INFO: Packet analysis {"connection_id":148259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 07:00:14] local.INFO: Extracted packet for processing {"connection_id":148259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 07:00:14] local.INFO: GPS Element Parsed {"raw_longitude":763436032,"raw_latitude":97674744,"longitude_deg":76.3436032,"latitude_deg":9.7674744,"altitude":1,"angle":150,"satellites":24,"speed":22,"hex_longitude":"2d811c00","hex_latitude":"05d265f8","is_valid_coordinates":true} 
[2026-08-05 07:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188705024001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114834884190535680,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144136805905772544,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785893381000,"timestamp_ms":1785893381000,"timestamp_seconds":1785893381,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8a6388"} 
[2026-08-05 07:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 07:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:00: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-08-05 07:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188705024001,"66":13493,"208":206,"85":15104,"24":22,"16":114834884190535680,"45":-9144136805905772544},"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-08-05 07:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188705024001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:00:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-05 07:00:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114834884190535680,"km_value":114834884190535.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144136805905772544,"description":"Unknown IO ID 45"} 
[2026-08-05 07:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188705024001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9144136805905772544}} 
[2026-08-05 07:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":148259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:00:14] local.INFO: GPS data processed {"connection_id":148259,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:00:14] local.INFO: Acknowledgment sent {"connection_id":148259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:00:20] local.INFO: TCP Data received {"connection_id":149484,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:00:20] local.INFO: Processing buffer {"connection_id":149484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:00:20] local.INFO: IMEI packet received {"connection_id":149484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":149484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:00:26] local.INFO: TCP Data received {"connection_id":149484,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:00:26] local.INFO: Processing buffer {"connection_id":149484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:00:26] local.INFO: IMEI packet received {"connection_id":149484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":149484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:00:26] local.INFO: TCP Data received {"connection_id":149484,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8988c8012d9f0d0005607bc00004002b2d..."} 
[2026-08-05 07:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8988c8012d9f0d0005607bc00004002b2d..."} 
[2026-08-05 07:00:27] local.INFO: Processing buffer {"connection_id":149484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8988c8012d9f0d0005607bc00004002b2d..."} 
[2026-08-05 07:00:27] local.INFO: Packet analysis {"connection_id":149484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 07:00:27] local.INFO: Extracted packet for processing {"connection_id":149484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 07:00:27] local.INFO: GPS Element Parsed {"raw_longitude":765398272,"raw_latitude":90209216,"longitude_deg":76.5398272,"latitude_deg":9.0209216,"altitude":4,"angle":43,"satellites":45,"speed":35,"hex_longitude":"2d9f0d00","hex_latitude":"05607bc0","is_valid_coordinates":true} 
[2026-08-05 07:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188688384001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370159342634139648,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6993245773284452352,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785893325000,"timestamp_ms":1785893325000,"timestamp_seconds":1785893325,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8988c8"} 
[2026-08-05 07:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188688384001,"66":27908,"175":206,"84":7168,"24":35,"16":370159342634139648,"45":-6993245773284452352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-05 07:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188688384001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:00:27] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-05 07:00:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 07:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370159342634139648,"km_value":370159342634139.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6993245773284452352,"description":"Unknown IO ID 45"} 
[2026-08-05 07:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188688384001,"power":27908,"unknown_175":206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-6993245773284452352}} 
[2026-08-05 07:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":149484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:00:27] local.INFO: GPS data processed {"connection_id":149484,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:00:27] local.INFO: Acknowledgment sent {"connection_id":149484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:00:46] local.INFO: TCP Data received {"connection_id":148259,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8a6770012d811cc005d26408000200a318..."} 
[2026-08-05 07:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8a6770012d811cc005d26408000200a318..."} 
[2026-08-05 07:00:46] local.INFO: Processing buffer {"connection_id":148259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8a6770012d811cc005d26408000200a318..."} 
[2026-08-05 07:00:46] local.INFO: Packet analysis {"connection_id":148259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 07:00:46] local.INFO: Extracted packet for processing {"connection_id":148259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 07:00:46] local.INFO: GPS Element Parsed {"raw_longitude":763436224,"raw_latitude":97674248,"longitude_deg":76.3436224,"latitude_deg":9.7674248,"altitude":2,"angle":163,"satellites":24,"speed":22,"hex_longitude":"2d811cc0","hex_latitude":"05d26408","is_valid_coordinates":true} 
[2026-08-05 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-08-05 07:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188705536001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114834909960339456,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143433118464215040,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785893382000,"timestamp_ms":1785893382000,"timestamp_seconds":1785893382,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8a6770"} 
[2026-08-05 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-08-05 07:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-05 07:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 07:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07: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-08-05 07:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188705536001,"66":13493,"208":206,"85":15104,"24":22,"16":114834909960339456,"45":-9143433118464215040},"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-08-05 07:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188705536001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:00:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-05 07:00:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114834909960339456,"km_value":114834909960339.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143433118464215040,"description":"Unknown IO ID 45"} 
[2026-08-05 07:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188705536001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9143433118464215040}} 
[2026-08-05 07:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":148259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:00:46] local.INFO: GPS data processed {"connection_id":148259,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:00:46] local.INFO: Acknowledgment sent {"connection_id":148259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:00:58] local.INFO: TCP Data received {"connection_id":149484,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf89dad0012d9f1a0005608ae00006002c2a..."} 
[2026-08-05 07:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf89dad0012d9f1a0005608ae00006002c2a..."} 
[2026-08-05 07:00:58] local.INFO: Processing buffer {"connection_id":149484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf89dad0012d9f1a0005608ae00006002c2a..."} 
[2026-08-05 07:00:58] local.INFO: Packet analysis {"connection_id":149484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 07:00:58] local.INFO: Extracted packet for processing {"connection_id":149484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf89"} 
[2026-08-05 07:00:58] local.INFO: GPS Element Parsed {"raw_longitude":765401600,"raw_latitude":90213088,"longitude_deg":76.54016,"latitude_deg":9.0213088,"altitude":6,"angle":44,"satellites":42,"speed":10,"hex_longitude":"2d9f1a00","hex_latitude":"05608ae0","is_valid_coordinates":true} 
[2026-08-05 07:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188691200001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370159600332177408,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6985927423888211968,"note":"Value kept but may cause issues"} 
[2026-08-05 07:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785893346000,"timestamp_ms":1785893346000,"timestamp_seconds":1785893346,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf89dad0"} 
[2026-08-05 07:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188691200001,"66":27789,"175":206,"84":7168,"24":10,"16":370159600332177408,"45":-6985927423888211968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-05 07:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188691200001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:00:58] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-05 07:00:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 07:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370159600332177408,"km_value":370159600332177.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6985927423888211968,"description":"Unknown IO ID 45"} 
[2026-08-05 07:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188691200001,"power":27789,"unknown_175":206,"unknown_84":7168,"ignition":10,"odometer":null,"unknown_45":-6985927423888211968}} 
[2026-08-05 07:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":149484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:00:58] local.INFO: GPS data processed {"connection_id":149484,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:00:58] local.INFO: Acknowledgment sent {"connection_id":149484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:01:12] local.INFO: TCP Data received {"connection_id":149485,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:01:12] local.INFO: Processing buffer {"connection_id":149485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:01:12] local.INFO: IMEI packet received {"connection_id":149485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":149485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:01:15] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:01:15] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:01:15] local.INFO: IMEI packet received {"connection_id":148480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":148480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:01:17] local.INFO: TCP Data received {"connection_id":149485,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:01:17] local.INFO: Processing buffer {"connection_id":149485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:01:17] local.INFO: IMEI packet received {"connection_id":149485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":149485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:01:18] local.INFO: TCP Data received {"connection_id":149485,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8b7110012d81134005d18b20000000891a..."} 
[2026-08-05 07:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8b7110012d81134005d18b20000000891a..."} 
[2026-08-05 07:01:18] local.INFO: Processing buffer {"connection_id":149485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8b7110012d81134005d18b20000000891a..."} 
[2026-08-05 07:01:18] local.INFO: Packet analysis {"connection_id":149485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8b"} 
[2026-08-05 07:01:18] local.INFO: Extracted packet for processing {"connection_id":149485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8b"} 
[2026-08-05 07:01:18] local.INFO: GPS Element Parsed {"raw_longitude":763433792,"raw_latitude":97618720,"longitude_deg":76.3433792,"latitude_deg":9.761872,"altitude":0,"angle":137,"satellites":26,"speed":14,"hex_longitude":"2d811340","hex_latitude":"05d18b20","is_valid_coordinates":true} 
[2026-08-05 07:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188722944001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114837637264572416,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146177499501416448,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01: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-08-05 07:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785893450000,"timestamp_ms":1785893450000,"timestamp_seconds":1785893450,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8b7110"} 
[2026-08-05 07:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 07:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188722944001,"66":13559,"208":206,"85":15104,"24":14,"16":114837637264572416,"45":-9146177499501416448},"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-08-05 07:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188722944001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:01:18] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-05 07:01:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114837637264572416,"km_value":114837637264572.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146177499501416448,"description":"Unknown IO ID 45"} 
[2026-08-05 07:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188722944001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9146177499501416448}} 
[2026-08-05 07:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":149485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:01:18] local.INFO: GPS data processed {"connection_id":149485,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:01:18] local.INFO: Acknowledgment sent {"connection_id":149485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:01:21] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:01:21] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:01:21] local.INFO: IMEI packet received {"connection_id":148480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":148480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:01:22] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8a28f0012d9f32400560a4a00009002b29..."} 
[2026-08-05 07:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8a28f0012d9f32400560a4a00009002b29..."} 
[2026-08-05 07:01:22] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8a28f0012d9f32400560a4a00009002b29..."} 
[2026-08-05 07:01:22] local.INFO: Packet analysis {"connection_id":148480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 07:01:22] local.INFO: Extracted packet for processing {"connection_id":148480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 07:01:22] local.INFO: GPS Element Parsed {"raw_longitude":765407808,"raw_latitude":90219680,"longitude_deg":76.5407808,"latitude_deg":9.021968,"altitude":9,"angle":43,"satellites":41,"speed":32,"hex_longitude":"2d9f3240","hex_latitude":"0560a4a0","is_valid_coordinates":true} 
[2026-08-05 07:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188696576001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370160034123874304,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6982268249189982208,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785893366000,"timestamp_ms":1785893366000,"timestamp_seconds":1785893366,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8a28f0"} 
[2026-08-05 07:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-05 07:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188696576001,"66":27821,"175":206,"84":7168,"24":32,"16":370160034123874304,"45":-6982268249189982208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-05 07:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188696576001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:01:22] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-05 07:01:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 07:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370160034123874304,"km_value":370160034123874.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6982268249189982208,"description":"Unknown IO ID 45"} 
[2026-08-05 07:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188696576001,"power":27821,"unknown_175":206,"unknown_84":7168,"ignition":32,"odometer":null,"unknown_45":-6982268249189982208}} 
[2026-08-05 07:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":148480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:01:22] local.INFO: GPS data processed {"connection_id":148480,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:01:22] local.INFO: Acknowledgment sent {"connection_id":148480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:01:49] local.INFO: TCP Data received {"connection_id":149485,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8b74f8012d81144005d18ab80000006919..."} 
[2026-08-05 07:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8b74f8012d81144005d18ab80000006919..."} 
[2026-08-05 07:01:49] local.INFO: Processing buffer {"connection_id":149485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8b74f8012d81144005d18ab80000006919..."} 
[2026-08-05 07:01:49] local.INFO: Packet analysis {"connection_id":149485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8b"} 
[2026-08-05 07:01:49] local.INFO: Extracted packet for processing {"connection_id":149485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8b"} 
[2026-08-05 07:01:49] local.INFO: GPS Element Parsed {"raw_longitude":763434048,"raw_latitude":97618616,"longitude_deg":76.3434048,"latitude_deg":9.7618616,"altitude":0,"angle":105,"satellites":25,"speed":14,"hex_longitude":"2d811440","hex_latitude":"05d18ab8","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188723200001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114837654444441600,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145896024524775424,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785893451000,"timestamp_ms":1785893451000,"timestamp_seconds":1785893451,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8b74f8"} 
[2026-08-05 07:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 07:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188723200001,"66":13276,"208":206,"85":15104,"24":14,"16":114837654444441600,"45":-9145896024524775424},"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-08-05 07:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188723200001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:01:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-05 07:01:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114837654444441600,"km_value":114837654444441.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145896024524775424,"description":"Unknown IO ID 45"} 
[2026-08-05 07:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188723200001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9145896024524775424}} 
[2026-08-05 07:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":149485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:01:49] local.INFO: GPS data processed {"connection_id":149485,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:01:49] local.INFO: Acknowledgment sent {"connection_id":149485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:01:52] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8a53e8012d9f4b800560bea8000600262a..."} 
[2026-08-05 07:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8a53e8012d9f4b800560bea8000600262a..."} 
[2026-08-05 07:01:52] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8a53e8012d9f4b800560bea8000600262a..."} 
[2026-08-05 07:01:52] local.INFO: Packet analysis {"connection_id":148480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 07:01:52] local.INFO: Extracted packet for processing {"connection_id":148480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 07:01:52] local.INFO: GPS Element Parsed {"raw_longitude":765414272,"raw_latitude":90226344,"longitude_deg":76.5414272,"latitude_deg":9.0226344,"altitude":6,"angle":38,"satellites":42,"speed":35,"hex_longitude":"2d9f4b80","hex_latitude":"0560bea8","is_valid_coordinates":true} 
[2026-08-05 07:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188701696001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370160485095440384,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6975442481003061248,"note":"Value kept but may cause issues"} 
[2026-08-05 07:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785893377000,"timestamp_ms":1785893377000,"timestamp_seconds":1785893377,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8a53e8"} 
[2026-08-05 07:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 07:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188701696001,"66":27908,"175":206,"84":7168,"24":35,"16":370160485095440384,"45":-6975442481003061248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-05 07:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188701696001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:01:52] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-05 07:01:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 07:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370160485095440384,"km_value":370160485095440.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6975442481003061248,"description":"Unknown IO ID 45"} 
[2026-08-05 07:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188701696001,"power":27908,"unknown_175":206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-6975442481003061248}} 
[2026-08-05 07:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":148480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:01:52] local.INFO: GPS data processed {"connection_id":148480,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:01:52] local.INFO: Acknowledgment sent {"connection_id":148480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:02:15] local.INFO: TCP Data received {"connection_id":150893,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:02:15] local.INFO: Processing buffer {"connection_id":150893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:02:15] local.INFO: IMEI packet received {"connection_id":150893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":150893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:02:20] local.INFO: TCP Data received {"connection_id":149485,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8c8a50012d81888005d187a8000000711a..."} 
[2026-08-05 07:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8c8a50012d81888005d187a8000000711a..."} 
[2026-08-05 07:02:20] local.INFO: Processing buffer {"connection_id":149485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8c8a50012d81888005d187a8000000711a..."} 
[2026-08-05 07:02:20] local.INFO: Packet analysis {"connection_id":149485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:02:20] local.INFO: Extracted packet for processing {"connection_id":149485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:02:20] local.INFO: GPS Element Parsed {"raw_longitude":763463808,"raw_latitude":97617832,"longitude_deg":76.3463808,"latitude_deg":9.7617832,"altitude":0,"angle":113,"satellites":26,"speed":25,"hex_longitude":"2d818880","hex_latitude":"05d187a8","is_valid_coordinates":true} 
[2026-08-05 07:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188741120001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114839101848420352,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9114230089644961792,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785893522000,"timestamp_ms":1785893522000,"timestamp_seconds":1785893522,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8c8a50"} 
[2026-08-05 07:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618044,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3482062160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2170765317,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7494807816595570688,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2353266689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2190999552,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633436454287312,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2147864962,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796744826048085,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4246405120,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515004928,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":129,"raw_value":5710570724915675136,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,253,159,122,45,64,136,25,10,66,103,128,132,26,87,1,240,51,227,207,209,4,113,205,9,60,97,239,52,2,151,5,129,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-05 07:02:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72163258824851456,"timestamp_seconds":72163258824851.45,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188741120001,"66":13689,"208":206,"85":15104,"24":25,"16":114839101848420352,"45":-9114230089644961792},"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-08-05 07:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188741120001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:02:20] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-05 07:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114839101848420352,"km_value":114839101848420.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9114230089644961792,"description":"Unknown IO ID 45"} 
[2026-08-05 07:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188741120001,"power":13689,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9114230089644961792}} 
[2026-08-05 07:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":149485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:02:20] local.INFO: GPS data processed {"connection_id":149485,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:02:20] local.INFO: Acknowledgment sent {"connection_id":149485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:02:21] local.INFO: TCP Data received {"connection_id":150893,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:02:21] local.INFO: Processing buffer {"connection_id":150893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:02:21] local.INFO: IMEI packet received {"connection_id":150893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":150893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:02:22] local.INFO: TCP Data received {"connection_id":150893,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8a7ee0012d9f5f800560da30000600192d..."} 
[2026-08-05 07:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8a7ee0012d9f5f800560da30000600192d..."} 
[2026-08-05 07:02:22] local.INFO: Processing buffer {"connection_id":150893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8a7ee0012d9f5f800560da30000600192d..."} 
[2026-08-05 07:02:22] local.INFO: Packet analysis {"connection_id":150893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 07:02:22] local.INFO: Extracted packet for processing {"connection_id":150893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8a"} 
[2026-08-05 07:02:22] local.INFO: GPS Element Parsed {"raw_longitude":765419392,"raw_latitude":90233392,"longitude_deg":76.5419392,"latitude_deg":9.0233392,"altitude":6,"angle":25,"satellites":45,"speed":23,"hex_longitude":"2d9f5f80","hex_latitude":"0560da30","is_valid_coordinates":true} 
[2026-08-05 07:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188704512001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370160906002235392,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6968335237839411200,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785893388000,"timestamp_ms":1785893388000,"timestamp_seconds":1785893388,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8a7ee0"} 
[2026-08-05 07:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188704512001,"66":27919,"175":206,"84":7168,"24":23,"16":370160906002235392,"45":-6968335237839411200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-05 07:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188704512001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:02:22] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-05 07:02:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 07:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370160906002235392,"km_value":370160906002235.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6968335237839411200,"description":"Unknown IO ID 45"} 
[2026-08-05 07:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188704512001,"power":27919,"unknown_175":206,"unknown_84":7168,"ignition":23,"odometer":null,"unknown_45":-6968335237839411200}} 
[2026-08-05 07:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":150893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:02:22] local.INFO: GPS data processed {"connection_id":150893,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:02:22] local.INFO: Acknowledgment sent {"connection_id":150893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:02:51] local.INFO: TCP Data received {"connection_id":149485,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8c99f0012d81940005d184880000006219..."} 
[2026-08-05 07:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8c99f0012d81940005d184880000006219..."} 
[2026-08-05 07:02:51] local.INFO: Processing buffer {"connection_id":149485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8c99f0012d81940005d184880000006219..."} 
[2026-08-05 07:02:51] local.INFO: Packet analysis {"connection_id":149485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:02:51] local.INFO: Extracted packet for processing {"connection_id":149485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:02:51] local.INFO: GPS Element Parsed {"raw_longitude":763466752,"raw_latitude":97617032,"longitude_deg":76.3466752,"latitude_deg":9.7617032,"altitude":0,"angle":98,"satellites":25,"speed":31,"hex_longitude":"2d819400","hex_latitude":"05d18488","is_valid_coordinates":true} 
[2026-08-05 07:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188741632001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114839247877308416,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9112893083505678336,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785893526000,"timestamp_ms":1785893526000,"timestamp_seconds":1785893526,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8c99f0"} 
[2026-08-05 07:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-05 07:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188741632001,"66":13537,"208":206,"85":15104,"24":31,"16":114839247877308416,"45":-9112893083505678336},"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-08-05 07:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188741632001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:02:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-05 07:02:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114839247877308416,"km_value":114839247877308.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9112893083505678336,"description":"Unknown IO ID 45"} 
[2026-08-05 07:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188741632001,"power":13537,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9112893083505678336}} 
[2026-08-05 07:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":149485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:02:51] local.INFO: GPS data processed {"connection_id":149485,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:02:51] local.INFO: Acknowledgment sent {"connection_id":149485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:02:53] local.INFO: TCP Data received {"connection_id":150893,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8c5b70012d9f830005623e48000701562e..."} 
[2026-08-05 07:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8c5b70012d9f830005623e48000701562e..."} 
[2026-08-05 07:02:53] local.INFO: Processing buffer {"connection_id":150893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8c5b70012d9f830005623e48000701562e..."} 
[2026-08-05 07:02:53] local.INFO: Packet analysis {"connection_id":150893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:02:53] local.INFO: Extracted packet for processing {"connection_id":150893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:02:53] local.INFO: GPS Element Parsed {"raw_longitude":765428480,"raw_latitude":90324552,"longitude_deg":76.542848,"latitude_deg":9.0324552,"altitude":7,"angle":342,"satellites":46,"speed":29,"hex_longitude":"2d9f8300","hex_latitude":"05623e48","is_valid_coordinates":true} 
[2026-08-05 07:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188733696001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370165402832994304,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6950391208051306496,"note":"Value kept but may cause issues"} 
[2026-08-05 07:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785893510000,"timestamp_ms":1785893510000,"timestamp_seconds":1785893510,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8c5b70"} 
[2026-08-05 07:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188733696001,"66":27843,"247":206,"84":7168,"24":29,"16":370165402832994304,"45":-6950391208051306496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-05 07:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188733696001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:02:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 07:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370165402832994304,"km_value":370165402832994.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6950391208051306496,"description":"Unknown IO ID 45"} 
[2026-08-05 07:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188733696001,"power":27843,"internal_battery_voltage":206,"unknown_84":7168,"ignition":29,"odometer":null,"unknown_45":-6950391208051306496}} 
[2026-08-05 07:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":150893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:02:53] local.INFO: GPS data processed {"connection_id":150893,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:02:53] local.INFO: Acknowledgment sent {"connection_id":150893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:03:15] local.INFO: TCP Data received {"connection_id":150895,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:03:15] local.INFO: Processing buffer {"connection_id":150895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:03:15] local.INFO: IMEI packet received {"connection_id":150895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":150895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:03:16] local.INFO: TCP Data received {"connection_id":150894,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:03:16] local.INFO: Processing buffer {"connection_id":150894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:03:16] local.INFO: IMEI packet received {"connection_id":150894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":150894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:03:17] local.INFO: TCP Data received {"connection_id":150894,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:03:17] local.INFO: Processing buffer {"connection_id":150894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:03:17] local.INFO: IMEI packet received {"connection_id":150894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":150894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:03:20] local.INFO: TCP Data received {"connection_id":150894,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:03:20] local.INFO: Processing buffer {"connection_id":150894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:03:20] local.INFO: IMEI packet received {"connection_id":150894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":150894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:03:21] local.INFO: TCP Data received {"connection_id":150895,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:03:21] local.INFO: Processing buffer {"connection_id":150895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:03:21] local.INFO: IMEI packet received {"connection_id":150895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":150895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:03:21] local.INFO: TCP Data received {"connection_id":150894,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8cc4e8012d81b74005d184500005005b1b..."} 
[2026-08-05 07:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8cc4e8012d81b74005d184500005005b1b..."} 
[2026-08-05 07:03:21] local.INFO: Processing buffer {"connection_id":150894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8cc4e8012d81b74005d184500005005b1b..."} 
[2026-08-05 07:03:21] local.INFO: Packet analysis {"connection_id":150894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:03:21] local.INFO: Extracted packet for processing {"connection_id":150894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:03:21] local.INFO: GPS Element Parsed {"raw_longitude":763475776,"raw_latitude":97616976,"longitude_deg":76.3475776,"latitude_deg":9.7616976,"altitude":5,"angle":91,"satellites":27,"speed":27,"hex_longitude":"2d81b740","hex_latitude":"05d18450","is_valid_coordinates":true} 
[2026-08-05 07:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188742656001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114839681669005312,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9109656121273710592,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785893537000,"timestamp_ms":1785893537000,"timestamp_seconds":1785893537,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8cc4e8"} 
[2026-08-05 07:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-05 07:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:03: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-08-05 07:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188742656001,"66":12982,"208":206,"85":15104,"24":27,"16":114839681669005312,"45":-9109656121273710592},"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-08-05 07:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188742656001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:03:21] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-05 07:03:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114839681669005312,"km_value":114839681669005.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9109656121273710592,"description":"Unknown IO ID 45"} 
[2026-08-05 07:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188742656001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9109656121273710592}} 
[2026-08-05 07:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":150894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:03:21] local.INFO: GPS data processed {"connection_id":150894,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:03:21] local.INFO: Acknowledgment sent {"connection_id":150894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:03:21] local.INFO: TCP Data received {"connection_id":150895,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8c8668012d9f74c0056260b00006014f2e..."} 
[2026-08-05 07:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8c8668012d9f74c0056260b00006014f2e..."} 
[2026-08-05 07:03:21] local.INFO: Processing buffer {"connection_id":150895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8c8668012d9f74c0056260b00006014f2e..."} 
[2026-08-05 07:03:21] local.INFO: Packet analysis {"connection_id":150895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:03:21] local.INFO: Extracted packet for processing {"connection_id":150895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:03:21] local.INFO: GPS Element Parsed {"raw_longitude":765424832,"raw_latitude":90333360,"longitude_deg":76.5424832,"latitude_deg":9.033336,"altitude":6,"angle":335,"satellites":46,"speed":39,"hex_longitude":"2d9f74c0","hex_latitude":"056260b0","is_valid_coordinates":true} 
[2026-08-05 07:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188738560001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370165866689462272,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6952713376606828544,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785893521000,"timestamp_ms":1785893521000,"timestamp_seconds":1785893521,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8c8668"} 
[2026-08-05 07:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 07:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:03: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-08-05 07:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188738560001,"66":27865,"247":206,"84":7168,"24":39,"16":370165866689462272,"45":-6952713376606828544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-05 07:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188738560001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:03:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 07:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370165866689462272,"km_value":370165866689462.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6952713376606828544,"description":"Unknown IO ID 45"} 
[2026-08-05 07:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188738560001,"power":27865,"internal_battery_voltage":206,"unknown_84":7168,"ignition":39,"odometer":null,"unknown_45":-6952713376606828544}} 
[2026-08-05 07:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":150895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:03:22] local.INFO: GPS data processed {"connection_id":150895,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:03:22] local.INFO: Acknowledgment sent {"connection_id":150895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:03:52] local.INFO: TCP Data received {"connection_id":150894,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8e2478012d8297c005d16370001100801a..."} 
[2026-08-05 07:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8e2478012d8297c005d16370001100801a..."} 
[2026-08-05 07:03:52] local.INFO: Processing buffer {"connection_id":150894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8e2478012d8297c005d16370001100801a..."} 
[2026-08-05 07:03:52] local.INFO: Packet analysis {"connection_id":150894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:03:52] local.INFO: Extracted packet for processing {"connection_id":150894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:03:52] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":97608560,"longitude_deg":76.3533248,"latitude_deg":9.760856,"altitude":17,"angle":128,"satellites":26,"speed":11,"hex_longitude":"2d8297c0","hex_latitude":"05d16370","is_valid_coordinates":true} 
[2026-08-05 07:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188768256001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842559297093632,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471051941888,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785893627000,"timestamp_ms":1785893627000,"timestamp_seconds":1785893627,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8e2478"} 
[2026-08-05 07:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-05 07:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188768256001,"66":13428,"63":206,"85":15104,"24":11,"16":114842559297093632,"45":-9036824471051941888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188768256001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:03:52] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842559297093632,"km_value":114842559297093.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471051941888,"description":"Unknown IO ID 45"} 
[2026-08-05 07:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188768256001,"power":13428,"unknown_63":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9036824471051941888}} 
[2026-08-05 07:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":150894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:03:52] local.INFO: GPS data processed {"connection_id":150894,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:03:52] local.INFO: Acknowledgment sent {"connection_id":150894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:03:52] local.INFO: TCP Data received {"connection_id":150895,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8cad78012d9f6540056283e8000601532e..."} 
[2026-08-05 07:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8cad78012d9f6540056283e8000601532e..."} 
[2026-08-05 07:03:52] local.INFO: Processing buffer {"connection_id":150895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8cad78012d9f6540056283e8000601532e..."} 
[2026-08-05 07:03:52] local.INFO: Packet analysis {"connection_id":150895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:03:52] local.INFO: Extracted packet for processing {"connection_id":150895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:03:52] local.INFO: GPS Element Parsed {"raw_longitude":765420864,"raw_latitude":90342376,"longitude_deg":76.5420864,"latitude_deg":9.0342376,"altitude":6,"angle":339,"satellites":46,"speed":40,"hex_longitude":"2d9f6540","hex_latitude":"056283e8","is_valid_coordinates":true} 
[2026-08-05 07:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188741376001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370166343430832128,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6956724395022700544,"note":"Value kept but may cause issues"} 
[2026-08-05 07:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785893531000,"timestamp_ms":1785893531000,"timestamp_seconds":1785893531,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8cad78"} 
[2026-08-05 07:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188741376001,"66":27908,"247":206,"84":7168,"24":40,"16":370166343430832128,"45":-6956724395022700544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-05 07:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188741376001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:03:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 07:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370166343430832128,"km_value":370166343430832.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6956724395022700544,"description":"Unknown IO ID 45"} 
[2026-08-05 07:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188741376001,"power":27908,"internal_battery_voltage":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-6956724395022700544}} 
[2026-08-05 07:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":150895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:03:53] local.INFO: GPS data processed {"connection_id":150895,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:03:53] local.INFO: Acknowledgment sent {"connection_id":150895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:04:10] local.INFO: TCP Data received {"connection_id":148262,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:04:10] local.INFO: Processing buffer {"connection_id":148262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:04:10] local.INFO: IMEI packet received {"connection_id":148262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":148262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:04:12] local.INFO: TCP Data received {"connection_id":148262,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:04:12] local.INFO: Processing buffer {"connection_id":148262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:04:12] local.INFO: IMEI packet received {"connection_id":148262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":148262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:04:17] local.INFO: TCP Data received {"connection_id":148262,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:04:17] local.INFO: Processing buffer {"connection_id":148262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:04:17] local.INFO: IMEI packet received {"connection_id":148262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":148262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:04:18] local.INFO: TCP Data received {"connection_id":148262,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8e2860012d82994005d162f80012006c19..."} 
[2026-08-05 07:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8e2860012d82994005d162f80012006c19..."} 
[2026-08-05 07:04:18] local.INFO: Processing buffer {"connection_id":148262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8e2860012d82994005d162f80012006c19..."} 
[2026-08-05 07:04:18] local.INFO: Packet analysis {"connection_id":148262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:04:18] local.INFO: Extracted packet for processing {"connection_id":148262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763533632,"raw_latitude":97608440,"longitude_deg":76.3533632,"latitude_deg":9.760844,"altitude":18,"angle":108,"satellites":25,"speed":13,"hex_longitude":"2d829940","hex_latitude":"05d162f8","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188768512001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842580771930112,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542996075286528,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785893628000,"timestamp_ms":1785893628000,"timestamp_seconds":1785893628,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8e2860"} 
[2026-08-05 07:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-05 07:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188768512001,"66":13428,"63":206,"85":15104,"24":13,"16":114842580771930112,"45":-9036542996075286528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188768512001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:04:18] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842580771930112,"km_value":114842580771930.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542996075286528,"description":"Unknown IO ID 45"} 
[2026-08-05 07:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188768512001,"power":13428,"unknown_63":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9036542996075286528}} 
[2026-08-05 07:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":148262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:04:18] local.INFO: GPS data processed {"connection_id":148262,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:04:18] local.INFO: Acknowledgment sent {"connection_id":148262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:04:21] local.INFO: TCP Data received {"connection_id":149486,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:04:21] local.INFO: Processing buffer {"connection_id":149486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:04:21] local.INFO: IMEI packet received {"connection_id":149486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":149486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:04:26] local.INFO: TCP Data received {"connection_id":149486,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:04:26] local.INFO: Processing buffer {"connection_id":149486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:04:26] local.INFO: IMEI packet received {"connection_id":149486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":149486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:04:29] local.INFO: TCP Data received {"connection_id":149486,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8cd0a0012d9f59800562a670000601572c..."} 
[2026-08-05 07:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8cd0a0012d9f59800562a670000601572c..."} 
[2026-08-05 07:04:29] local.INFO: Processing buffer {"connection_id":149486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8cd0a0012d9f59800562a670000601572c..."} 
[2026-08-05 07:04:29] local.INFO: Packet analysis {"connection_id":149486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:04:29] local.INFO: Extracted packet for processing {"connection_id":149486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:04:29] local.INFO: GPS Element Parsed {"raw_longitude":765417856,"raw_latitude":90351216,"longitude_deg":76.5417856,"latitude_deg":9.0351216,"altitude":6,"angle":343,"satellites":44,"speed":43,"hex_longitude":"2d9f5980","hex_latitude":"0562a670","is_valid_coordinates":true} 
[2026-08-05 07:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188743936001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370166794402398208,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6961087257159407616,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785893540000,"timestamp_ms":1785893540000,"timestamp_seconds":1785893540,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8cd0a0"} 
[2026-08-05 07:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188743936001,"66":27767,"207":206,"84":7168,"24":43,"16":370166794402398208,"45":-6961087257159407616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,84,24,16,45]} 
[2026-08-05 07:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188743936001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:04:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-05 07:04:29] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 07:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370166794402398208,"km_value":370166794402398.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6961087257159407616,"description":"Unknown IO ID 45"} 
[2026-08-05 07:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188743936001,"power":27767,"unknown_207":206,"unknown_84":7168,"ignition":43,"odometer":null,"unknown_45":-6961087257159407616}} 
[2026-08-05 07:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":149486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:04:29] local.INFO: GPS data processed {"connection_id":149486,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:04:29] local.INFO: Acknowledgment sent {"connection_id":149486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:04:31] local.INFO: TCP Data received {"connection_id":149486,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8cefe0012d9f4ec00562c7f0000601562c..."} 
[2026-08-05 07:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8cefe0012d9f4ec00562c7f0000601562c..."} 
[2026-08-05 07:04:31] local.INFO: Processing buffer {"connection_id":149486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8cefe0012d9f4ec00562c7f0000601562c..."} 
[2026-08-05 07:04:31] local.INFO: Packet analysis {"connection_id":149486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:04:31] local.INFO: Extracted packet for processing {"connection_id":149486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8c"} 
[2026-08-05 07:04:31] local.INFO: GPS Element Parsed {"raw_longitude":765415104,"raw_latitude":90359792,"longitude_deg":76.5415104,"latitude_deg":9.0359792,"altitude":6,"angle":342,"satellites":44,"speed":46,"hex_longitude":"2d9f4ec0","hex_latitude":"0562c7f0","is_valid_coordinates":true} 
[2026-08-05 07:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188746240001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370167232489062400,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6964394588133494784,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785893548000,"timestamp_ms":1785893548000,"timestamp_seconds":1785893548,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8cefe0"} 
[2026-08-05 07:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 07:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188746240001,"66":27767,"207":206,"84":7168,"24":46,"16":370167232489062400,"45":-6964394588133494784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,84,24,16,45]} 
[2026-08-05 07:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188746240001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:04:31] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-05 07:04:31] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 07:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370167232489062400,"km_value":370167232489062.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6964394588133494784,"description":"Unknown IO ID 45"} 
[2026-08-05 07:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188746240001,"power":27767,"unknown_207":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-6964394588133494784}} 
[2026-08-05 07:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":149486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:04:31] local.INFO: GPS data processed {"connection_id":149486,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:04:31] local.INFO: Acknowledgment sent {"connection_id":149486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:04:49] local.INFO: TCP Data received {"connection_id":148262,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8e2c48012d829b0005d162c80011005f1a..."} 
[2026-08-05 07:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8e2c48012d829b0005d162c80011005f1a..."} 
[2026-08-05 07:04:49] local.INFO: Processing buffer {"connection_id":148262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8e2c48012d829b0005d162c80011005f1a..."} 
[2026-08-05 07:04:49] local.INFO: Packet analysis {"connection_id":148262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:04:49] local.INFO: Extracted packet for processing {"connection_id":148262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:04:49] local.INFO: GPS Element Parsed {"raw_longitude":763534080,"raw_latitude":97608392,"longitude_deg":76.353408,"latitude_deg":9.7608392,"altitude":17,"angle":95,"satellites":26,"speed":19,"hex_longitude":"2d829b00","hex_latitude":"05d162c8","is_valid_coordinates":true} 
[2026-08-05 07:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188768768001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842602246766592,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036120783610251264,"note":"Value kept but may cause issues"} 
[2026-08-05 07:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785893629000,"timestamp_ms":1785893629000,"timestamp_seconds":1785893629,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8e2c48"} 
[2026-08-05 07:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-05 07:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188768768001,"66":13319,"63":206,"85":15104,"24":19,"16":114842602246766592,"45":-9036120783610251264},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188768768001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:04:49] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:04:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842602246766592,"km_value":114842602246766.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036120783610251264,"description":"Unknown IO ID 45"} 
[2026-08-05 07:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188768768001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9036120783610251264}} 
[2026-08-05 07:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":148262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:04:49] local.INFO: GPS data processed {"connection_id":148262,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:04:49] local.INFO: Acknowledgment sent {"connection_id":148262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:05:15] local.INFO: TCP Data received {"connection_id":150896,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:05:15] local.INFO: Processing buffer {"connection_id":150896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:05:15] local.INFO: IMEI packet received {"connection_id":150896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":150896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:05:19] local.INFO: TCP Data received {"connection_id":150896,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:05:19] local.INFO: Processing buffer {"connection_id":150896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:05:19] local.INFO: IMEI packet received {"connection_id":150896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":150896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:05:20] local.INFO: TCP Data received {"connection_id":150896,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8e8238012d9e8e400563cfb0000c01372d..."} 
[2026-08-05 07:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8e8238012d9e8e400563cfb0000c01372d..."} 
[2026-08-05 07:05:20] local.INFO: Processing buffer {"connection_id":150896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8e8238012d9e8e400563cfb0000c01372d..."} 
[2026-08-05 07:05:20] local.INFO: Packet analysis {"connection_id":150896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:05:20] local.INFO: Extracted packet for processing {"connection_id":150896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:05:20] local.INFO: GPS Element Parsed {"raw_longitude":765365824,"raw_latitude":90427312,"longitude_deg":76.5365824,"latitude_deg":9.0427312,"altitude":12,"angle":311,"satellites":45,"speed":32,"hex_longitude":"2d9e8e40","hex_latitude":"0563cfb0","is_valid_coordinates":true} 
[2026-08-05 07:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188772352001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370171454441914368,"note":"Value kept but may cause issues"} 
[2026-08-05 07:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014497133969580032,"note":"Value kept but may cause issues"} 
[2026-08-05 07:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785893651000,"timestamp_ms":1785893651000,"timestamp_seconds":1785893651,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8e8238"} 
[2026-08-05 07:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 07:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:05: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-08-05 07:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188772352001,"66":27843,"207":206,"84":7168,"24":32,"16":370171454441914368,"45":-7014497133969580032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,84,24,16,45]} 
[2026-08-05 07:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188772352001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:05:20] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-05 07:05:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-05 07:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370171454441914368,"km_value":370171454441914.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014497133969580032,"description":"Unknown IO ID 45"} 
[2026-08-05 07:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188772352001,"power":27843,"unknown_207":206,"unknown_84":7168,"ignition":32,"odometer":null,"unknown_45":-7014497133969580032}} 
[2026-08-05 07:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":150896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:05:20] local.INFO: GPS data processed {"connection_id":150896,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:05:20] local.INFO: Acknowledgment sent {"connection_id":150896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:05:34] local.INFO: TCP Data received {"connection_id":149487,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:05:34] local.INFO: Processing buffer {"connection_id":149487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:05:34] local.INFO: IMEI packet received {"connection_id":149487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":149487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:05:52] local.INFO: TCP Data received {"connection_id":149487,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:05:52] local.INFO: Processing buffer {"connection_id":149487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:05:52] local.INFO: IMEI packet received {"connection_id":149487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":149487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:05:52] local.INFO: TCP Data received {"connection_id":149487,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149487,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:05:52] local.INFO: Processing buffer {"connection_id":149487,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:05:52] local.INFO: IMEI packet received {"connection_id":149487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":149487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:05:58] local.INFO: TCP Data received {"connection_id":150896,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8e95c0012d9e82400563ddc8000c01432d..."} 
[2026-08-05 07:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8e95c0012d9e82400563ddc8000c01432d..."} 
[2026-08-05 07:05:58] local.INFO: Processing buffer {"connection_id":150896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8e95c0012d9e82400563ddc8000c01432d..."} 
[2026-08-05 07:05:58] local.INFO: Packet analysis {"connection_id":150896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:05:58] local.INFO: Extracted packet for processing {"connection_id":150896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:05:58] local.INFO: GPS Element Parsed {"raw_longitude":765362752,"raw_latitude":90430920,"longitude_deg":76.5362752,"latitude_deg":9.043092,"altitude":12,"angle":323,"satellites":45,"speed":41,"hex_longitude":"2d9e8240","hex_latitude":"0563ddc8","is_valid_coordinates":true} 
[2026-08-05 07:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188774656001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370171682075181056,"note":"Value kept but may cause issues"} 
[2026-08-05 07:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7021604377130455040,"note":"Value kept but may cause issues"} 
[2026-08-05 07:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785893656000,"timestamp_ms":1785893656000,"timestamp_seconds":1785893656,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8e95c0"} 
[2026-08-05 07:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 07:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188774656001,"66":27713,"199":206,"84":8448,"24":41,"16":370171682075181056,"45":-7021604377130455040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,84,24,16,45]} 
[2026-08-05 07:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188774656001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:05:58] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 07:05:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370171682075181056,"km_value":370171682075181.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7021604377130455040,"description":"Unknown IO ID 45"} 
[2026-08-05 07:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188774656001,"power":27713,"trip_odometer":0.206,"unknown_84":8448,"ignition":41,"odometer":null,"unknown_45":-7021604377130455040}} 
[2026-08-05 07:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":150896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:05:58] local.INFO: GPS data processed {"connection_id":150896,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:05:58] local.INFO: Acknowledgment sent {"connection_id":150896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:06:15] local.INFO: TCP Data received {"connection_id":148263,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:06:16] local.INFO: Processing buffer {"connection_id":148263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:06:16] local.INFO: IMEI packet received {"connection_id":148263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":148263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:06:16] local.INFO: TCP Data received {"connection_id":148263,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:06:16] local.INFO: Processing buffer {"connection_id":148263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:06:16] local.INFO: IMEI packet received {"connection_id":148263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":148263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:06:21] local.INFO: TCP Data received {"connection_id":148263,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:06:21] local.INFO: Processing buffer {"connection_id":148263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:06:21] local.INFO: IMEI packet received {"connection_id":148263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":148263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:06:21] local.INFO: TCP Data received {"connection_id":148263,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8ea948012d9e77400563efe0000b014f2e..."} 
[2026-08-05 07:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8ea948012d9e77400563efe0000b014f2e..."} 
[2026-08-05 07:06:21] local.INFO: Processing buffer {"connection_id":148263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8ea948012d9e77400563efe0000b014f2e..."} 
[2026-08-05 07:06:21] local.INFO: Packet analysis {"connection_id":148263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:06:21] local.INFO: Extracted packet for processing {"connection_id":148263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8e"} 
[2026-08-05 07:06:21] local.INFO: GPS Element Parsed {"raw_longitude":765359936,"raw_latitude":90435552,"longitude_deg":76.5359936,"latitude_deg":9.0435552,"altitude":11,"angle":335,"satellites":46,"speed":46,"hex_longitude":"2d9e7740","hex_latitude":"0563efe0","is_valid_coordinates":true} 
[2026-08-05 07:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188775936001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370171944068186112,"note":"Value kept but may cause issues"} 
[2026-08-05 07:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7024982076850059264,"note":"Value kept but may cause issues"} 
[2026-08-05 07:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785893661000,"timestamp_ms":1785893661000,"timestamp_seconds":1785893661,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8ea948"} 
[2026-08-05 07:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:06: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-08-05 07:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 07:06: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-08-05 07:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:06: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-08-05 07:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188775936001,"66":27876,"199":206,"84":8448,"24":46,"16":370171944068186112,"45":-7024982076850059264},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,84,24,16,45]} 
[2026-08-05 07:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188775936001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:06:21] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 07:06:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370171944068186112,"km_value":370171944068186.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7024982076850059264,"description":"Unknown IO ID 45"} 
[2026-08-05 07:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188775936001,"power":27876,"trip_odometer":0.206,"unknown_84":8448,"ignition":46,"odometer":null,"unknown_45":-7024982076850059264}} 
[2026-08-05 07:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":148263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:06:21] local.INFO: GPS data processed {"connection_id":148263,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:06:21] local.INFO: Acknowledgment sent {"connection_id":148263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:06:53] local.INFO: TCP Data received {"connection_id":148263,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8ffd20012d9e6c000564fce8000a015e28..."} 
[2026-08-05 07:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8ffd20012d9e6c000564fce8000a015e28..."} 
[2026-08-05 07:06:53] local.INFO: Processing buffer {"connection_id":148263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8ffd20012d9e6c000564fce8000a015e28..."} 
[2026-08-05 07:06:53] local.INFO: Packet analysis {"connection_id":148263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8f"} 
[2026-08-05 07:06:53] local.INFO: Extracted packet for processing {"connection_id":148263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8f"} 
[2026-08-05 07:06:53] local.INFO: GPS Element Parsed {"raw_longitude":765357056,"raw_latitude":90504424,"longitude_deg":76.5357056,"latitude_deg":9.0504424,"altitude":10,"angle":350,"satellites":40,"speed":40,"hex_longitude":"2d9e6c00","hex_latitude":"0564fce8","is_valid_coordinates":true} 
[2026-08-05 07:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188796928001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370175358567186432,"note":"Value kept but may cause issues"} 
[2026-08-05 07:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029837520181764096,"note":"Value kept but may cause issues"} 
[2026-08-05 07:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785893748000,"timestamp_ms":1785893748000,"timestamp_seconds":1785893748,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8ffd20"} 
[2026-08-05 07:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 07:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188796928001,"66":27919,"95":206,"84":8448,"24":40,"16":370175358567186432,"45":-7029837520181764096},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-05 07:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188796928001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:06:53] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-05 07:06:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370175358567186432,"km_value":370175358567186.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029837520181764096,"description":"Unknown IO ID 45"} 
[2026-08-05 07:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188796928001,"power":27919,"unknown_95":206,"unknown_84":8448,"ignition":40,"odometer":null,"unknown_45":-7029837520181764096}} 
[2026-08-05 07:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":148263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:06:53] local.INFO: GPS data processed {"connection_id":148263,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:06:53] local.INFO: Acknowledgment sent {"connection_id":148263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:07:20] local.INFO: TCP Data received {"connection_id":149488,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:07:20] local.INFO: Processing buffer {"connection_id":149488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:07:20] local.INFO: IMEI packet received {"connection_id":149488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":149488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:07:20] local.INFO: TCP Data received {"connection_id":149488,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:07:20] local.INFO: Processing buffer {"connection_id":149488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:07:20] local.INFO: IMEI packet received {"connection_id":149488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":149488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:07:26] local.INFO: TCP Data received {"connection_id":149488,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:07:26] local.INFO: Processing buffer {"connection_id":149488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:07:26] local.INFO: IMEI packet received {"connection_id":149488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":149488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:07:26] local.INFO: TCP Data received {"connection_id":149488,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf902430012d9e660005652110000c015e27..."} 
[2026-08-05 07:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf902430012d9e660005652110000c015e27..."} 
[2026-08-05 07:07:26] local.INFO: Processing buffer {"connection_id":149488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf902430012d9e660005652110000c015e27..."} 
[2026-08-05 07:07:26] local.INFO: Packet analysis {"connection_id":149488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:07:26] local.INFO: Extracted packet for processing {"connection_id":149488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:07:26] local.INFO: GPS Element Parsed {"raw_longitude":765355520,"raw_latitude":90513680,"longitude_deg":76.535552,"latitude_deg":9.051368,"altitude":12,"angle":350,"satellites":39,"speed":30,"hex_longitude":"2d9e6600","hex_latitude":"05652110","is_valid_coordinates":true} 
[2026-08-05 07:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188799488001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370175813833719808,"note":"Value kept but may cause issues"} 
[2026-08-05 07:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7031244895063054336,"note":"Value kept but may cause issues"} 
[2026-08-05 07:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785893758000,"timestamp_ms":1785893758000,"timestamp_seconds":1785893758,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf902430"} 
[2026-08-05 07:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 07:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188799488001,"66":27745,"95":206,"84":8448,"24":30,"16":370175813833719808,"45":-7031244895063054336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-05 07:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188799488001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:07:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-05 07:07:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370175813833719808,"km_value":370175813833719.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7031244895063054336,"description":"Unknown IO ID 45"} 
[2026-08-05 07:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188799488001,"power":27745,"unknown_95":206,"unknown_84":8448,"ignition":30,"odometer":null,"unknown_45":-7031244895063054336}} 
[2026-08-05 07:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":149488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:07:26] local.INFO: GPS data processed {"connection_id":149488,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:07:26] local.INFO: Acknowledgment sent {"connection_id":149488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:07:31] local.INFO: TCP Data received {"connection_id":149488,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9056f8012d9e618005654410000c016325..."} 
[2026-08-05 07:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9056f8012d9e618005654410000c016325..."} 
[2026-08-05 07:07:31] local.INFO: Processing buffer {"connection_id":149488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9056f8012d9e618005654410000c016325..."} 
[2026-08-05 07:07:31] local.INFO: Packet analysis {"connection_id":149488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:07:31] local.INFO: Extracted packet for processing {"connection_id":149488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:07:31] local.INFO: GPS Element Parsed {"raw_longitude":765354368,"raw_latitude":90522640,"longitude_deg":76.5354368,"latitude_deg":9.052264,"altitude":12,"angle":355,"satellites":37,"speed":36,"hex_longitude":"2d9e6180","hex_latitude":"05654410","is_valid_coordinates":true} 
[2026-08-05 07:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188802048001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370176251920384000,"note":"Value kept but may cause issues"} 
[2026-08-05 07:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7032933744920948736,"note":"Value kept but may cause issues"} 
[2026-08-05 07:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785893771000,"timestamp_ms":1785893771000,"timestamp_seconds":1785893771,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9056f8"} 
[2026-08-05 07:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 07:07: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-08-05 07:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188802048001,"66":27713,"95":206,"84":8448,"24":36,"16":370176251920384000,"45":-7032933744920948736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-05 07:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188802048001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:07:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-05 07:07:31] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370176251920384000,"km_value":370176251920384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7032933744920948736,"description":"Unknown IO ID 45"} 
[2026-08-05 07:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188802048001,"power":27713,"unknown_95":206,"unknown_84":8448,"ignition":36,"odometer":null,"unknown_45":-7032933744920948736}} 
[2026-08-05 07:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":149488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:07:31] local.INFO: GPS data processed {"connection_id":149488,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:07:31] local.INFO: Acknowledgment sent {"connection_id":149488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:08:15] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:08:15] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:08:15] local.INFO: IMEI packet received {"connection_id":148482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":148482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:08:17] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:08:17] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:08:17] local.INFO: IMEI packet received {"connection_id":148482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":148482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:08:21] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:08:21] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:08:21] local.INFO: IMEI packet received {"connection_id":148482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":148482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:08:22] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf907e08012d9e5c8005656840000a016126..."} 
[2026-08-05 07:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf907e08012d9e5c8005656840000a016126..."} 
[2026-08-05 07:08:22] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf907e08012d9e5c8005656840000a016126..."} 
[2026-08-05 07:08:22] local.INFO: Packet analysis {"connection_id":148482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:08:22] local.INFO: Extracted packet for processing {"connection_id":148482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:08:22] local.INFO: GPS Element Parsed {"raw_longitude":765353088,"raw_latitude":90531904,"longitude_deg":76.5353088,"latitude_deg":9.0531904,"altitude":10,"angle":353,"satellites":38,"speed":36,"hex_longitude":"2d9e5c80","hex_latitude":"05656840","is_valid_coordinates":true} 
[2026-08-05 07:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188805376001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370176707186917376,"note":"Value kept but may cause issues"} 
[2026-08-05 07:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7034200382313852928,"note":"Value kept but may cause issues"} 
[2026-08-05 07:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785893781000,"timestamp_ms":1785893781000,"timestamp_seconds":1785893781,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf907e08"} 
[2026-08-05 07:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 07:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188805376001,"66":27800,"96":206,"84":8448,"24":36,"16":370176707186917376,"45":-7034200382313852928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-05 07:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188805376001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:08:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-05 07:08:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370176707186917376,"km_value":370176707186917.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7034200382313852928,"description":"Unknown IO ID 45"} 
[2026-08-05 07:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188805376001,"power":27800,"unknown_96":206,"unknown_84":8448,"ignition":36,"odometer":null,"unknown_45":-7034200382313852928}} 
[2026-08-05 07:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":148482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:08:22] local.INFO: GPS data processed {"connection_id":148482,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:08:22] local.INFO: Acknowledgment sent {"connection_id":148482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:08:53] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf90a518012d9e568005658df8000b016129..."} 
[2026-08-05 07:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf90a518012d9e568005658df8000b016129..."} 
[2026-08-05 07:08:53] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf90a518012d9e568005658df8000b016129..."} 
[2026-08-05 07:08:53] local.INFO: Packet analysis {"connection_id":148482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:08:53] local.INFO: Extracted packet for processing {"connection_id":148482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:08:53] local.INFO: GPS Element Parsed {"raw_longitude":765351552,"raw_latitude":90541560,"longitude_deg":76.5351552,"latitude_deg":9.054156,"altitude":11,"angle":353,"satellites":41,"speed":40,"hex_longitude":"2d9e5680","hex_latitude":"05658df8","is_valid_coordinates":true} 
[2026-08-05 07:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188807936001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370177183928287232,"note":"Value kept but may cause issues"} 
[2026-08-05 07:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7035607757195034624,"note":"Value kept but may cause issues"} 
[2026-08-05 07:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785893791000,"timestamp_ms":1785893791000,"timestamp_seconds":1785893791,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf90a518"} 
[2026-08-05 07:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 07:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188807936001,"66":27876,"96":206,"84":8448,"24":40,"16":370177183928287232,"45":-7035607757195034624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-05 07:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188807936001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:08:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-05 07:08:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370177183928287232,"km_value":370177183928287.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7035607757195034624,"description":"Unknown IO ID 45"} 
[2026-08-05 07:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188807936001,"power":27876,"unknown_96":206,"unknown_84":8448,"ignition":40,"odometer":null,"unknown_45":-7035607757195034624}} 
[2026-08-05 07:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":148482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:08:53] local.INFO: GPS data processed {"connection_id":148482,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:08:53] local.INFO: Acknowledgment sent {"connection_id":148482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:09:21] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:09:21] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:09:21] local.INFO: IMEI packet received {"connection_id":148483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":148483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:09:26] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:09:26] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:09:26] local.INFO: IMEI packet received {"connection_id":148483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":148483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:09:26] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf90d010012d9e56c00565b380000a000227..."} 
[2026-08-05 07:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf90d010012d9e56c00565b380000a000227..."} 
[2026-08-05 07:09:26] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf90d010012d9e56c00565b380000a000227..."} 
[2026-08-05 07:09:26] local.INFO: Packet analysis {"connection_id":148483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:09:26] local.INFO: Extracted packet for processing {"connection_id":148483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:09:26] local.INFO: GPS Element Parsed {"raw_longitude":765351616,"raw_latitude":90551168,"longitude_deg":76.5351616,"latitude_deg":9.0551168,"altitude":10,"angle":2,"satellites":39,"speed":31,"hex_longitude":"2d9e56c0","hex_latitude":"0565b380","is_valid_coordinates":true} 
[2026-08-05 07:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188810496001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370177647784755200,"note":"Value kept but may cause issues"} 
[2026-08-05 07:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7037296607052826624,"note":"Value kept but may cause issues"} 
[2026-08-05 07:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785893802000,"timestamp_ms":1785893802000,"timestamp_seconds":1785893802,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf90d010"} 
[2026-08-05 07:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188810496001,"66":27876,"32":206,"84":8448,"24":31,"16":370177647784755200,"45":-7037296607052826624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,84,24,16,45]} 
[2026-08-05 07:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188810496001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:09:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-05 07:09:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370177647784755200,"km_value":370177647784755.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7037296607052826624,"description":"Unknown IO ID 45"} 
[2026-08-05 07:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188810496001,"power":27876,"unknown_32":206,"unknown_84":8448,"ignition":31,"odometer":null,"unknown_45":-7037296607052826624}} 
[2026-08-05 07:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":148483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:09:26] local.INFO: GPS data processed {"connection_id":148483,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:09:26] local.INFO: Acknowledgment sent {"connection_id":148483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:09:31] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf90fef0012d9e56c00565d870000a000328..."} 
[2026-08-05 07:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf90fef0012d9e56c00565d870000a000328..."} 
[2026-08-05 07:09:31] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf90fef0012d9e56c00565d870000a000328..."} 
[2026-08-05 07:09:31] local.INFO: Packet analysis {"connection_id":148483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:09:31] local.INFO: Extracted packet for processing {"connection_id":148483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf90"} 
[2026-08-05 07:09:31] local.INFO: GPS Element Parsed {"raw_longitude":765351616,"raw_latitude":90560624,"longitude_deg":76.5351616,"latitude_deg":9.0560624,"altitude":10,"angle":3,"satellites":40,"speed":37,"hex_longitude":"2d9e56c0","hex_latitude":"0565d870","is_valid_coordinates":true} 
[2026-08-05 07:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188813312001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370178107346255872,"note":"Value kept but may cause issues"} 
[2026-08-05 07:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7037226238306189312,"note":"Value kept but may cause issues"} 
[2026-08-05 07:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785893814000,"timestamp_ms":1785893814000,"timestamp_seconds":1785893814,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf90fef0"} 
[2026-08-05 07:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188813312001,"66":27908,"32":206,"84":8448,"24":37,"16":370178107346255872,"45":-7037226238306189312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,84,24,16,45]} 
[2026-08-05 07:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188813312001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:09:31] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-05 07:09:31] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370178107346255872,"km_value":370178107346255.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7037226238306189312,"description":"Unknown IO ID 45"} 
[2026-08-05 07:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188813312001,"power":27908,"unknown_32":206,"unknown_84":8448,"ignition":37,"odometer":null,"unknown_45":-7037226238306189312}} 
[2026-08-05 07:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":148483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:09:31] local.INFO: GPS data processed {"connection_id":148483,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:09:31] local.INFO: Acknowledgment sent {"connection_id":148483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:10:22] local.INFO: TCP Data received {"connection_id":148266,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:10:22] local.INFO: Processing buffer {"connection_id":148266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:10:22] local.INFO: IMEI packet received {"connection_id":148266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":148266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:10:23] local.INFO: TCP Data received {"connection_id":148266,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:10:23] local.INFO: Processing buffer {"connection_id":148266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:10:23] local.INFO: IMEI packet received {"connection_id":148266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":148266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:10:24] local.INFO: TCP Data received {"connection_id":148266,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9329a0012d9e3f0005672cb0000c01602b..."} 
[2026-08-05 07:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9329a0012d9e3f0005672cb0000c01602b..."} 
[2026-08-05 07:10:24] local.INFO: Processing buffer {"connection_id":148266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9329a0012d9e3f0005672cb0000c01602b..."} 
[2026-08-05 07:10:24] local.INFO: Packet analysis {"connection_id":148266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:10:24] local.INFO: Extracted packet for processing {"connection_id":148266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:10:24] local.INFO: GPS Element Parsed {"raw_longitude":765345536,"raw_latitude":90647728,"longitude_deg":76.5345536,"latitude_deg":9.0647728,"altitude":12,"angle":352,"satellites":43,"speed":34,"hex_longitude":"2d9e3f00","hex_latitude":"05672cb0","is_valid_coordinates":true} 
[2026-08-05 07:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188848384001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370182376543748096,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042644631585538048,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785893956000,"timestamp_ms":1785893956000,"timestamp_seconds":1785893956,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9329a0"} 
[2026-08-05 07:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188848384001,"66":27930,"112":206,"84":8448,"24":34,"16":370182376543748096,"45":-7042644631585538048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-05 07:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188848384001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:10:24] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-05 07:10:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370182376543748096,"km_value":370182376543748.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042644631585538048,"description":"Unknown IO ID 45"} 
[2026-08-05 07:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188848384001,"power":27930,"unknown_112":206,"unknown_84":8448,"ignition":34,"odometer":null,"unknown_45":-7042644631585538048}} 
[2026-08-05 07:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":148266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:10:24] local.INFO: GPS data processed {"connection_id":148266,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:10:24] local.INFO: Acknowledgment sent {"connection_id":148266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:10:25] local.INFO: TCP Data received {"connection_id":148266,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9350b0012d9e3a4005675168000a01602c..."} 
[2026-08-05 07:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9350b0012d9e3a4005675168000a01602c..."} 
[2026-08-05 07:10:25] local.INFO: Processing buffer {"connection_id":148266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9350b0012d9e3a4005675168000a01602c..."} 
[2026-08-05 07:10:25] local.INFO: Packet analysis {"connection_id":148266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:10:25] local.INFO: Extracted packet for processing {"connection_id":148266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:10:25] local.INFO: GPS Element Parsed {"raw_longitude":765344320,"raw_latitude":90657128,"longitude_deg":76.534432,"latitude_deg":9.0657128,"altitude":10,"angle":352,"satellites":44,"speed":39,"hex_longitude":"2d9e3a40","hex_latitude":"05675168","is_valid_coordinates":true} 
[2026-08-05 07:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188852736001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370182836105248768,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043911268978348032,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785893966000,"timestamp_ms":1785893966000,"timestamp_seconds":1785893966,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9350b0"} 
[2026-08-05 07:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 07:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188852736001,"66":27865,"112":206,"84":8448,"24":39,"16":370182836105248768,"45":-7043911268978348032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-05 07:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188852736001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:10:25] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-05 07:10:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370182836105248768,"km_value":370182836105248.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043911268978348032,"description":"Unknown IO ID 45"} 
[2026-08-05 07:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188852736001,"power":27865,"unknown_112":206,"unknown_84":8448,"ignition":39,"odometer":null,"unknown_45":-7043911268978348032}} 
[2026-08-05 07:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":148266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:10:25] local.INFO: GPS data processed {"connection_id":148266,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:10:25] local.INFO: Acknowledgment sent {"connection_id":148266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:10:52] local.INFO: TCP Data received {"connection_id":149489,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:10:52] local.INFO: Processing buffer {"connection_id":149489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:10:52] local.INFO: IMEI packet received {"connection_id":149489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":149489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:10:54] local.INFO: TCP Data received {"connection_id":149489,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf8f4588012d83348005d153f0000b00021a..."} 
[2026-08-05 07:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf8f4588012d83348005d153f0000b00021a..."} 
[2026-08-05 07:10:54] local.INFO: Processing buffer {"connection_id":149489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8f4588012d83348005d153f0000b00021a..."} 
[2026-08-05 07:10:54] local.INFO: Packet analysis {"connection_id":149489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8f"} 
[2026-08-05 07:10:54] local.INFO: Extracted packet for processing {"connection_id":149489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8f"} 
[2026-08-05 07:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604592,"longitude_deg":76.3573376,"latitude_deg":9.7604592,"altitude":11,"angle":2,"satellites":26,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d153f0","is_valid_coordinates":true} 
[2026-08-05 07:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188783360001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114844573636755456,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476915200,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785893701000,"timestamp_ms":1785893701000,"timestamp_seconds":1785893701,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8f4588"} 
[2026-08-05 07:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-05 07:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188783360001,"66":13450,"63":206,"85":15104,"24":0,"16":114844573636755456,"45":-8992421793476915200},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188783360001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:10:54] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:10:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114844573636755456,"km_value":114844573636755.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476915200,"description":"Unknown IO ID 45"} 
[2026-08-05 07:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188783360001,"power":13450,"unknown_63":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476915200}} 
[2026-08-05 07:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":149489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:10:54] local.INFO: GPS data processed {"connection_id":149489,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:10:54] local.INFO: Acknowledgment sent {"connection_id":149489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:10:55] local.INFO: TCP Data received {"connection_id":148266,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9373d8012d9e35c0056775b8000a01602c..."} 
[2026-08-05 07:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9373d8012d9e35c0056775b8000a01602c..."} 
[2026-08-05 07:10:55] local.INFO: Processing buffer {"connection_id":148266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9373d8012d9e35c0056775b8000a01602c..."} 
[2026-08-05 07:10:55] local.INFO: Packet analysis {"connection_id":148266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:10:55] local.INFO: Extracted packet for processing {"connection_id":148266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:10:55] local.INFO: GPS Element Parsed {"raw_longitude":765343168,"raw_latitude":90666424,"longitude_deg":76.5343168,"latitude_deg":9.0666424,"altitude":10,"angle":352,"satellites":44,"speed":42,"hex_longitude":"2d9e35c0","hex_latitude":"056775b8","is_valid_coordinates":true} 
[2026-08-05 07:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188855296001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370183291371782144,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7045248275115317248,"note":"Value kept but may cause issues"} 
[2026-08-05 07:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785893975000,"timestamp_ms":1785893975000,"timestamp_seconds":1785893975,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9373d8"} 
[2026-08-05 07:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:10: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-08-05 07:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188855296001,"66":27821,"112":206,"84":8448,"24":42,"16":370183291371782144,"45":-7045248275115317248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-05 07:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188855296001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:10:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-05 07:10:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370183291371782144,"km_value":370183291371782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7045248275115317248,"description":"Unknown IO ID 45"} 
[2026-08-05 07:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188855296001,"power":27821,"unknown_112":206,"unknown_84":8448,"ignition":42,"odometer":null,"unknown_45":-7045248275115317248}} 
[2026-08-05 07:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":148266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:10:55] local.INFO: GPS data processed {"connection_id":148266,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:10:55] local.INFO: Acknowledgment sent {"connection_id":148266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:11:16] local.INFO: TCP Data received {"connection_id":149490,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:11:16] local.INFO: Processing buffer {"connection_id":149490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:11:16] local.INFO: IMEI packet received {"connection_id":149490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":149490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:11:21] local.INFO: TCP Data received {"connection_id":149490,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:11:21] local.INFO: Processing buffer {"connection_id":149490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:11:21] local.INFO: IMEI packet received {"connection_id":149490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":149490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:11:22] local.INFO: TCP Data received {"connection_id":149490,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf939318012d9e328005679848000a01652a..."} 
[2026-08-05 07:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf939318012d9e328005679848000a01652a..."} 
[2026-08-05 07:11:22] local.INFO: Processing buffer {"connection_id":149490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf939318012d9e328005679848000a01652a..."} 
[2026-08-05 07:11:22] local.INFO: Packet analysis {"connection_id":149490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:11:22] local.INFO: Extracted packet for processing {"connection_id":149490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:11:22] local.INFO: GPS Element Parsed {"raw_longitude":765342336,"raw_latitude":90675272,"longitude_deg":76.5342336,"latitude_deg":9.0675272,"altitude":10,"angle":357,"satellites":42,"speed":43,"hex_longitude":"2d9e3280","hex_latitude":"05679848","is_valid_coordinates":true} 
[2026-08-05 07:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188857600001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370183720868511744,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7046514912508135424,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785893983000,"timestamp_ms":1785893983000,"timestamp_seconds":1785893983,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf939318"} 
[2026-08-05 07:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 07:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188857600001,"66":27919,"112":206,"84":8448,"24":43,"16":370183720868511744,"45":-7046514912508135424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-05 07:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188857600001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:11:22] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-05 07:11:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370183720868511744,"km_value":370183720868511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7046514912508135424,"description":"Unknown IO ID 45"} 
[2026-08-05 07:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188857600001,"power":27919,"unknown_112":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7046514912508135424}} 
[2026-08-05 07:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":149490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:11:22] local.INFO: GPS data processed {"connection_id":149490,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:11:22] local.INFO: Acknowledgment sent {"connection_id":149490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:11:26] local.INFO: TCP Data received {"connection_id":148267,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:11:26] local.INFO: Processing buffer {"connection_id":148267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:11:26] local.INFO: IMEI packet received {"connection_id":148267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":148267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:11:27] local.INFO: TCP Data received {"connection_id":148267,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:11:27] local.INFO: Processing buffer {"connection_id":148267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:11:27] local.INFO: IMEI packet received {"connection_id":148267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":148267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:11:30] local.INFO: TCP Data received {"connection_id":148267,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:11:30] local.INFO: Processing buffer {"connection_id":148267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:11:30] local.INFO: IMEI packet received {"connection_id":148267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":148267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:11:31] local.INFO: TCP Data received {"connection_id":148267,"ip":"42.106.6.31","data_length":1340,"data_hex":"000000000000030f8e0a0000019fcf8f4588012d83348005d153f0000b00021a..."} 
[2026-08-05 07:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148267,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019fcf8f4588012d83348005d153f0000b00021a..."} 
[2026-08-05 07:11:31] local.INFO: Processing buffer {"connection_id":148267,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019fcf8f4588012d83348005d153f0000b00021a..."} 
[2026-08-05 07:11:31] local.INFO: Packet analysis {"connection_id":148267,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019fcf8f"} 
[2026-08-05 07:11:31] local.INFO: Extracted packet for processing {"connection_id":148267,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019fcf8f"} 
[2026-08-05 07:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604592,"longitude_deg":76.3573376,"latitude_deg":9.7604592,"altitude":11,"angle":2,"satellites":26,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d153f0","is_valid_coordinates":true} 
[2026-08-05 07:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188787456001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114844573636755456,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476907008,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785893701000,"timestamp_ms":1785893701000,"timestamp_seconds":1785893701,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8f4588"} 
[2026-08-05 07:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 07:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-05 07:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188787456001,"66":13450,"63":206,"85":15104,"24":0,"16":114844573636755456,"45":-8992421793476907008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188787456001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114844573636755456,"km_value":114844573636755.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476907008,"description":"Unknown IO ID 45"} 
[2026-08-05 07:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188787456001,"power":13450,"unknown_63":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476907008}} 
[2026-08-05 07:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":148267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:11:31] local.INFO: GPS data processed {"connection_id":148267,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:11:31] local.INFO: Acknowledgment sent {"connection_id":148267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:11:31] local.INFO: Packet analysis {"connection_id":148267,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019fcf8f"} 
[2026-08-05 07:11:31] local.INFO: Incomplete packet, waiting for more data {"connection_id":148267,"needed":795,"available":545} 
[2026-08-05 07:11:31] local.INFO: TCP Data received {"connection_id":148267,"ip":"42.106.6.31","data_length":250,"data_hex":"e3001001980277000000000000019fcf8ecc70012d83340005d15210000c0084..."} 
[2026-08-05 07:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148267,"packet_length":250,"packet_hex":"e3001001980277000000000000019fcf8ecc70012d83340005d15210000c0084..."} 
[2026-08-05 07:11:31] local.INFO: Processing buffer {"connection_id":148267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf8f5528012d83348005d153f0000b00021b..."} 
[2026-08-05 07:11:31] local.INFO: Packet analysis {"connection_id":148267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf8f"} 
[2026-08-05 07:11:31] local.INFO: Extracted packet for processing {"connection_id":148267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf8f"} 
[2026-08-05 07:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604592,"longitude_deg":76.3573376,"latitude_deg":9.7604592,"altitude":11,"angle":2,"satellites":27,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d153f0","is_valid_coordinates":true} 
[2026-08-05 07:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188787456001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114844573636755456,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476907008,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785893705000,"timestamp_ms":1785893705000,"timestamp_seconds":1785893705,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf8f5528"} 
[2026-08-05 07:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 07:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-05 07:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188787456001,"66":13765,"63":206,"85":15104,"24":0,"16":114844573636755456,"45":-8992421793476907008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188787456001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114844573636755456,"km_value":114844573636755.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476907008,"description":"Unknown IO ID 45"} 
[2026-08-05 07:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188787456001,"power":13765,"unknown_63":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476907008}} 
[2026-08-05 07:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":148267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:11:31] local.INFO: GPS data processed {"connection_id":148267,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:11:31] local.INFO: Acknowledgment sent {"connection_id":148267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:11:32] local.INFO: TCP Data received {"connection_id":148267,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf93ecf0012d83360005d153e0000b00021d..."} 
[2026-08-05 07:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf93ecf0012d83360005d153e0000b00021d..."} 
[2026-08-05 07:11:32] local.INFO: Processing buffer {"connection_id":148267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf93ecf0012d83360005d153e0000b00021d..."} 
[2026-08-05 07:11:32] local.INFO: Packet analysis {"connection_id":148267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:11:32] local.INFO: Extracted packet for processing {"connection_id":148267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604576,"longitude_deg":76.357376,"latitude_deg":9.7604576,"altitude":11,"angle":2,"satellites":29,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d153e0","is_valid_coordinates":true} 
[2026-08-05 07:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188788480001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114844573636755456,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476907008,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785894006000,"timestamp_ms":1785894006000,"timestamp_seconds":1785894006,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf93ecf0"} 
[2026-08-05 07:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 07:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-05 07:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188788480001,"66":13080,"111":206,"85":15104,"24":0,"16":114844573636755456,"45":-8992421793476907008},"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-08-05 07:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188788480001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:11:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-05 07:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114844573636755456,"km_value":114844573636755.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476907008,"description":"Unknown IO ID 45"} 
[2026-08-05 07:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188788480001,"power":13080,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476907008}} 
[2026-08-05 07:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":148267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:11:32] local.INFO: GPS data processed {"connection_id":148267,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:11:32] local.INFO: Acknowledgment sent {"connection_id":148267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:11:53] local.INFO: TCP Data received {"connection_id":149490,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf93b640012d9e31400567be80000901662d..."} 
[2026-08-05 07:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf93b640012d9e31400567be80000901662d..."} 
[2026-08-05 07:11:53] local.INFO: Processing buffer {"connection_id":149490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf93b640012d9e31400567be80000901662d..."} 
[2026-08-05 07:11:53] local.INFO: Packet analysis {"connection_id":149490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:11:53] local.INFO: Extracted packet for processing {"connection_id":149490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:11:53] local.INFO: GPS Element Parsed {"raw_longitude":765342016,"raw_latitude":90685056,"longitude_deg":76.5342016,"latitude_deg":9.0685056,"altitude":9,"angle":358,"satellites":45,"speed":44,"hex_longitude":"2d9e3140","hex_latitude":"0567be80","is_valid_coordinates":true} 
[2026-08-05 07:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188859648001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370184193314914304,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047429706180179968,"note":"Value kept but may cause issues"} 
[2026-08-05 07:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785893992000,"timestamp_ms":1785893992000,"timestamp_seconds":1785893992,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf93b640"} 
[2026-08-05 07:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 07:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188859648001,"66":27865,"112":206,"84":8448,"24":44,"16":370184193314914304,"45":-7047429706180179968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-05 07:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188859648001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:11:53] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-05 07:11:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370184193314914304,"km_value":370184193314914.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047429706180179968,"description":"Unknown IO ID 45"} 
[2026-08-05 07:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188859648001,"power":27865,"unknown_112":206,"unknown_84":8448,"ignition":44,"odometer":null,"unknown_45":-7047429706180179968}} 
[2026-08-05 07:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":149490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:11:53] local.INFO: GPS data processed {"connection_id":149490,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:11:53] local.INFO: Acknowledgment sent {"connection_id":149490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:12:12] local.INFO: TCP Data received {"connection_id":149491,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:12:12] local.INFO: Processing buffer {"connection_id":149491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:12:12] local.INFO: IMEI packet received {"connection_id":149491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":149491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:12:15] local.INFO: TCP Data received {"connection_id":150898,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:12:15] local.INFO: Processing buffer {"connection_id":150898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:12:15] local.INFO: IMEI packet received {"connection_id":150898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":150898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:12:17] local.INFO: TCP Data received {"connection_id":149491,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:12:17] local.INFO: Processing buffer {"connection_id":149491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:12:17] local.INFO: IMEI packet received {"connection_id":149491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":149491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:12:18] local.INFO: TCP Data received {"connection_id":149491,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf952d40012d83360005d153e0000b000223..."} 
[2026-08-05 07:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf952d40012d83360005d153e0000b000223..."} 
[2026-08-05 07:12:18] local.INFO: Processing buffer {"connection_id":149491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf952d40012d83360005d153e0000b000223..."} 
[2026-08-05 07:12:18] local.INFO: Packet analysis {"connection_id":149491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf95"} 
[2026-08-05 07:12:18] local.INFO: Extracted packet for processing {"connection_id":149491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf95"} 
[2026-08-05 07:12:18] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604576,"longitude_deg":76.357376,"latitude_deg":9.7604576,"altitude":11,"angle":2,"satellites":35,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d153e0","is_valid_coordinates":true} 
[2026-08-05 07:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188865536001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114844573636755456,"note":"Value kept but may cause issues"} 
[2026-08-05 07:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991999581011845120,"note":"Value kept but may cause issues"} 
[2026-08-05 07:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785894088000,"timestamp_ms":1785894088000,"timestamp_seconds":1785894088,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf952d40"} 
[2026-08-05 07:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 07: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-05 07:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188865536001,"66":12961,"111":206,"85":15104,"24":0,"16":114844573636755456,"45":-8991999581011845120},"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-08-05 07:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188865536001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:12:18] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-05 07:12:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114844573636755456,"km_value":114844573636755.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991999581011845120,"description":"Unknown IO ID 45"} 
[2026-08-05 07:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188865536001,"power":12961,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991999581011845120}} 
[2026-08-05 07:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":149491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:12:18] local.INFO: GPS data processed {"connection_id":149491,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:12:18] local.INFO: Acknowledgment sent {"connection_id":149491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:12:19] local.INFO: TCP Data received {"connection_id":150898,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:12:19] local.INFO: Processing buffer {"connection_id":150898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:12:19] local.INFO: IMEI packet received {"connection_id":150898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":150898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:12:22] local.INFO: TCP Data received {"connection_id":150898,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf93d968012d9e30800567e390000901662e..."} 
[2026-08-05 07:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf93d968012d9e30800567e390000901662e..."} 
[2026-08-05 07:12:22] local.INFO: Processing buffer {"connection_id":150898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf93d968012d9e30800567e390000901662e..."} 
[2026-08-05 07:12:22] local.INFO: Packet analysis {"connection_id":150898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:12:22] local.INFO: Extracted packet for processing {"connection_id":150898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf93"} 
[2026-08-05 07:12:22] local.INFO: GPS Element Parsed {"raw_longitude":765341824,"raw_latitude":90694544,"longitude_deg":76.5341824,"latitude_deg":9.0694544,"altitude":9,"angle":358,"satellites":46,"speed":43,"hex_longitude":"2d9e3080","hex_latitude":"0567e390","is_valid_coordinates":true} 
[2026-08-05 07:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188861952001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370184657171382272,"note":"Value kept but may cause issues"} 
[2026-08-05 07:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047781549898563584,"note":"Value kept but may cause issues"} 
[2026-08-05 07:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785894001000,"timestamp_ms":1785894001000,"timestamp_seconds":1785894001,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf93d968"} 
[2026-08-05 07:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188861952001,"66":27930,"71":206,"84":8448,"24":43,"16":370184657171382272,"45":-7047781549898563584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,84,24,16,45]} 
[2026-08-05 07:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188861952001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:12:22] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-05 07:12:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370184657171382272,"km_value":370184657171382.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047781549898563584,"description":"Unknown IO ID 45"} 
[2026-08-05 07:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188861952001,"power":27930,"unknown_71":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7047781549898563584}} 
[2026-08-05 07:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":150898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:12:22] local.INFO: GPS data processed {"connection_id":150898,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:12:22] local.INFO: Acknowledgment sent {"connection_id":150898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:12:55] local.INFO: TCP Data received {"connection_id":150898,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf958b00012d9dbfc0056953e8000e01542b..."} 
[2026-08-05 07:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf958b00012d9dbfc0056953e8000e01542b..."} 
[2026-08-05 07:12:55] local.INFO: Processing buffer {"connection_id":150898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf958b00012d9dbfc0056953e8000e01542b..."} 
[2026-08-05 07:12:55] local.INFO: Packet analysis {"connection_id":150898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf95"} 
[2026-08-05 07:12:55] local.INFO: Extracted packet for processing {"connection_id":150898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf95"} 
[2026-08-05 07:12:55] local.INFO: GPS Element Parsed {"raw_longitude":765312960,"raw_latitude":90788840,"longitude_deg":76.531296,"latitude_deg":9.078884,"altitude":14,"angle":340,"satellites":43,"speed":36,"hex_longitude":"2d9dbfc0","hex_latitude":"056953e8","is_valid_coordinates":true} 
[2026-08-05 07:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188890112001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370189506189459456,"note":"Value kept but may cause issues"} 
[2026-08-05 07:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7076491997498763264,"note":"Value kept but may cause issues"} 
[2026-08-05 07:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785894112000,"timestamp_ms":1785894112000,"timestamp_seconds":1785894112,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf958b00"} 
[2026-08-05 07:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:12: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-08-05 07:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188890112001,"66":27908,"195":206,"84":8448,"24":36,"16":370189506189459456,"45":-7076491997498763264},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-05 07:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188890112001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:12:55] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-05 07:12:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370189506189459456,"km_value":370189506189459.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7076491997498763264,"description":"Unknown IO ID 45"} 
[2026-08-05 07:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188890112001,"power":27908,"unknown_195":206,"unknown_84":8448,"ignition":36,"odometer":null,"unknown_45":-7076491997498763264}} 
[2026-08-05 07:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":150898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:12:55] local.INFO: GPS data processed {"connection_id":150898,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:12:55] local.INFO: Acknowledgment sent {"connection_id":150898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:13:15] local.INFO: TCP Data received {"connection_id":148268,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:13:15] local.INFO: Processing buffer {"connection_id":148268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:13:15] local.INFO: IMEI packet received {"connection_id":148268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":148268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:13:18] local.INFO: TCP Data received {"connection_id":148268,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:13:18] local.INFO: Processing buffer {"connection_id":148268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:13:18] local.INFO: IMEI packet received {"connection_id":148268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":148268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:13:21] local.INFO: TCP Data received {"connection_id":148268,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:13:21] local.INFO: Processing buffer {"connection_id":148268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:13:21] local.INFO: IMEI packet received {"connection_id":148268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":148268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:13:24] local.INFO: TCP Data received {"connection_id":148268,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf95ae28012d9db400056974a8000d01542c..."} 
[2026-08-05 07:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf95ae28012d9db400056974a8000d01542c..."} 
[2026-08-05 07:13:24] local.INFO: Processing buffer {"connection_id":148268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf95ae28012d9db400056974a8000d01542c..."} 
[2026-08-05 07:13:24] local.INFO: Packet analysis {"connection_id":148268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf95"} 
[2026-08-05 07:13:24] local.INFO: Extracted packet for processing {"connection_id":148268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf95"} 
[2026-08-05 07:13:24] local.INFO: GPS Element Parsed {"raw_longitude":765309952,"raw_latitude":90797224,"longitude_deg":76.5309952,"latitude_deg":9.0797224,"altitude":13,"angle":340,"satellites":44,"speed":43,"hex_longitude":"2d9db400","hex_latitude":"056974a8","is_valid_coordinates":true} 
[2026-08-05 07:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188892672001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370189935686189056,"note":"Value kept but may cause issues"} 
[2026-08-05 07:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079728959728654336,"note":"Value kept but may cause issues"} 
[2026-08-05 07:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785894121000,"timestamp_ms":1785894121000,"timestamp_seconds":1785894121,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf95ae28"} 
[2026-08-05 07:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188892672001,"66":27908,"195":206,"84":8448,"24":43,"16":370189935686189056,"45":-7079728959728654336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-05 07:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188892672001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:13:24] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-05 07:13:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370189935686189056,"km_value":370189935686189.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079728959728654336,"description":"Unknown IO ID 45"} 
[2026-08-05 07:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188892672001,"power":27908,"unknown_195":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7079728959728654336}} 
[2026-08-05 07:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":148268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:13:24] local.INFO: GPS data processed {"connection_id":148268,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:13:24] local.INFO: Acknowledgment sent {"connection_id":148268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:13:56] local.INFO: TCP Data received {"connection_id":148268,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf95cd68012d9da8c005699638000c01562c..."} 
[2026-08-05 07:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf95cd68012d9da8c005699638000c01562c..."} 
[2026-08-05 07:13:56] local.INFO: Processing buffer {"connection_id":148268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf95cd68012d9da8c005699638000c01562c..."} 
[2026-08-05 07:13:56] local.INFO: Packet analysis {"connection_id":148268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf95"} 
[2026-08-05 07:13:56] local.INFO: Extracted packet for processing {"connection_id":148268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf95"} 
[2026-08-05 07:13:56] local.INFO: GPS Element Parsed {"raw_longitude":765307072,"raw_latitude":90805816,"longitude_deg":76.5307072,"latitude_deg":9.0805816,"altitude":12,"angle":342,"satellites":44,"speed":45,"hex_longitude":"2d9da8c0","hex_latitude":"05699638","is_valid_coordinates":true} 
[2026-08-05 07:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188894976001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370190373772853248,"note":"Value kept but may cause issues"} 
[2026-08-05 07:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7083036290702858240,"note":"Value kept but may cause issues"} 
[2026-08-05 07:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785894129000,"timestamp_ms":1785894129000,"timestamp_seconds":1785894129,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf95cd68"} 
[2026-08-05 07:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188894976001,"66":27800,"193":206,"84":8448,"24":45,"16":370190373772853248,"45":-7083036290702858240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-08-05 07:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188894976001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:13:56] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-05 07:13:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370190373772853248,"km_value":370190373772853.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7083036290702858240,"description":"Unknown IO ID 45"} 
[2026-08-05 07:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188894976001,"power":27800,"unknown_193":206,"unknown_84":8448,"ignition":45,"odometer":null,"unknown_45":-7083036290702858240}} 
[2026-08-05 07:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":148268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:13:56] local.INFO: GPS data processed {"connection_id":148268,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:13:56] local.INFO: Acknowledgment sent {"connection_id":148268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:14:20] local.INFO: TCP Data received {"connection_id":148269,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:14:20] local.INFO: Processing buffer {"connection_id":148269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:14:20] local.INFO: IMEI packet received {"connection_id":148269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":148269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:14:20] local.INFO: TCP Data received {"connection_id":148269,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:14:20] local.INFO: Processing buffer {"connection_id":148269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:14:20] local.INFO: IMEI packet received {"connection_id":148269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":148269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:14:36] local.INFO: TCP Data received {"connection_id":148269,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:14:36] local.INFO: Processing buffer {"connection_id":148269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:14:36] local.INFO: IMEI packet received {"connection_id":148269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":148269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:14:42] local.INFO: TCP Data received {"connection_id":148269,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf95eca8012d9d9f400569b7d0000c015b2e..."} 
[2026-08-05 07:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf95eca8012d9d9f400569b7d0000c015b2e..."} 
[2026-08-05 07:14:42] local.INFO: Processing buffer {"connection_id":148269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf95eca8012d9d9f400569b7d0000c015b2e..."} 
[2026-08-05 07:14:42] local.INFO: Packet analysis {"connection_id":148269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf95"} 
[2026-08-05 07:14:42] local.INFO: Extracted packet for processing {"connection_id":148269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf95"} 
[2026-08-05 07:14:42] local.INFO: GPS Element Parsed {"raw_longitude":765304640,"raw_latitude":90814416,"longitude_deg":76.530464,"latitude_deg":9.0814416,"altitude":12,"angle":347,"satellites":46,"speed":44,"hex_longitude":"2d9d9f40","hex_latitude":"0569b7d0","is_valid_coordinates":true} 
[2026-08-05 07:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188897024001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370190807564550144,"note":"Value kept but may cause issues"} 
[2026-08-05 07:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086202884188653568,"note":"Value kept but may cause issues"} 
[2026-08-05 07:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785894137000,"timestamp_ms":1785894137000,"timestamp_seconds":1785894137,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf95eca8"} 
[2026-08-05 07:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 07:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188897024001,"66":27919,"193":206,"84":8448,"24":44,"16":370190807564550144,"45":-7086202884188653568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-08-05 07:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188897024001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:14:42] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-05 07:14:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370190807564550144,"km_value":370190807564550.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086202884188653568,"description":"Unknown IO ID 45"} 
[2026-08-05 07:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188897024001,"power":27919,"unknown_193":206,"unknown_84":8448,"ignition":44,"odometer":null,"unknown_45":-7086202884188653568}} 
[2026-08-05 07:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":148269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:14:42] local.INFO: GPS data processed {"connection_id":148269,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:14:42] local.INFO: Acknowledgment sent {"connection_id":148269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:14:43] local.INFO: TCP Data received {"connection_id":148269,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf960be8012d9d96800569dae0000d015a2d..."} 
[2026-08-05 07:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf960be8012d9d96800569dae0000d015a2d..."} 
[2026-08-05 07:14:43] local.INFO: Processing buffer {"connection_id":148269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf960be8012d9d96800569dae0000d015a2d..."} 
[2026-08-05 07:14:43] local.INFO: Packet analysis {"connection_id":148269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf96"} 
[2026-08-05 07:14:43] local.INFO: Extracted packet for processing {"connection_id":148269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf96"} 
[2026-08-05 07:14:43] local.INFO: GPS Element Parsed {"raw_longitude":765302400,"raw_latitude":90823392,"longitude_deg":76.53024,"latitude_deg":9.0823392,"altitude":13,"angle":346,"satellites":45,"speed":48,"hex_longitude":"2d9d9680","hex_latitude":"0569dae0","is_valid_coordinates":true} 
[2026-08-05 07:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188899072001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370191258536116224,"note":"Value kept but may cause issues"} 
[2026-08-05 07:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7088876896465203200,"note":"Value kept but may cause issues"} 
[2026-08-05 07:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785894145000,"timestamp_ms":1785894145000,"timestamp_seconds":1785894145,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf960be8"} 
[2026-08-05 07:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 07:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188899072001,"66":27767,"193":206,"84":8448,"24":48,"16":370191258536116224,"45":-7088876896465203200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-08-05 07:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188899072001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:14:43] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-05 07:14:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370191258536116224,"km_value":370191258536116.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7088876896465203200,"description":"Unknown IO ID 45"} 
[2026-08-05 07:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188899072001,"power":27767,"unknown_193":206,"unknown_84":8448,"ignition":48,"odometer":null,"unknown_45":-7088876896465203200}} 
[2026-08-05 07:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":148269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:14:43] local.INFO: GPS data processed {"connection_id":148269,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:14:43] local.INFO: Acknowledgment sent {"connection_id":148269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:15:16] local.INFO: TCP Data received {"connection_id":150899,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:15:16] local.INFO: Processing buffer {"connection_id":150899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:15:16] local.INFO: IMEI packet received {"connection_id":150899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":150899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:15:18] local.INFO: TCP Data received {"connection_id":150899,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:15:18] local.INFO: Processing buffer {"connection_id":150899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:15:18] local.INFO: IMEI packet received {"connection_id":150899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":150899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:15:19] local.INFO: TCP Data received {"connection_id":150899,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf97a610012d9cf780056b6fa0000a01532c..."} 
[2026-08-05 07:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf97a610012d9cf780056b6fa0000a01532c..."} 
[2026-08-05 07:15:19] local.INFO: Processing buffer {"connection_id":150899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf97a610012d9cf780056b6fa0000a01532c..."} 
[2026-08-05 07:15:19] local.INFO: Packet analysis {"connection_id":150899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf97"} 
[2026-08-05 07:15:19] local.INFO: Extracted packet for processing {"connection_id":150899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf97"} 
[2026-08-05 07:15:19] local.INFO: GPS Element Parsed {"raw_longitude":765261696,"raw_latitude":90927008,"longitude_deg":76.5261696,"latitude_deg":9.0927008,"altitude":10,"angle":339,"satellites":44,"speed":48,"hex_longitude":"2d9cf780","hex_latitude":"056b6fa0","is_valid_coordinates":true} 
[2026-08-05 07:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188926208001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370196653015040000,"note":"Value kept but may cause issues"} 
[2026-08-05 07:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7132505517828691968,"note":"Value kept but may cause issues"} 
[2026-08-05 07:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785894250000,"timestamp_ms":1785894250000,"timestamp_seconds":1785894250,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf97a610"} 
[2026-08-05 07:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 07:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188926208001,"66":27843,"51":206,"84":8448,"24":48,"16":370196653015040000,"45":-7132505517828691968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-05 07:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188926208001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:15:19] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-05 07:15:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370196653015040000,"km_value":370196653015040,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7132505517828691968,"description":"Unknown IO ID 45"} 
[2026-08-05 07:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188926208001,"power":27843,"unknown_51":206,"unknown_84":8448,"ignition":48,"odometer":null,"unknown_45":-7132505517828691968}} 
[2026-08-05 07:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":150899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:15:19] local.INFO: GPS data processed {"connection_id":150899,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:15:19] local.INFO: Acknowledgment sent {"connection_id":150899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:16:05] local.INFO: TCP Data received {"connection_id":150899,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf97bd80012d9cee80056b8a58000a015f2c..."} 
[2026-08-05 07:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf97bd80012d9cee80056b8a58000a015f2c..."} 
[2026-08-05 07:16:05] local.INFO: Processing buffer {"connection_id":150899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf97bd80012d9cee80056b8a58000a015f2c..."} 
[2026-08-05 07:16:05] local.INFO: Packet analysis {"connection_id":150899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf97"} 
[2026-08-05 07:16:05] local.INFO: Extracted packet for processing {"connection_id":150899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf97"} 
[2026-08-05 07:16:05] local.INFO: GPS Element Parsed {"raw_longitude":765259392,"raw_latitude":90933848,"longitude_deg":76.5259392,"latitude_deg":9.0933848,"altitude":10,"angle":351,"satellites":44,"speed":49,"hex_longitude":"2d9cee80","hex_latitude":"056b8a58","is_valid_coordinates":true} 
[2026-08-05 07:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188928000001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370197000907390976,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7136094323779592192,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785894256000,"timestamp_ms":1785894256000,"timestamp_seconds":1785894256,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf97bd80"} 
[2026-08-05 07:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 07:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188928000001,"66":27767,"51":206,"84":8448,"24":49,"16":370197000907390976,"45":-7136094323779592192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-05 07:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188928000001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:16:05] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-05 07:16:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370197000907390976,"km_value":370197000907391.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7136094323779592192,"description":"Unknown IO ID 45"} 
[2026-08-05 07:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188928000001,"power":27767,"unknown_51":206,"unknown_84":8448,"ignition":49,"odometer":null,"unknown_45":-7136094323779592192}} 
[2026-08-05 07:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":150899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:16:05] local.INFO: GPS data processed {"connection_id":150899,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:16:05] local.INFO: Acknowledgment sent {"connection_id":150899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:16:14] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:16:14] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:16:14] local.INFO: IMEI packet received {"connection_id":148484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":148484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:16:16] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:16:16] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:16:16] local.INFO: IMEI packet received {"connection_id":148485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":148485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:16:17] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:16:17] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:16:17] local.INFO: IMEI packet received {"connection_id":148485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":148485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:16:18] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf97d108012d9ce840056ba2c0000a01542d..."} 
[2026-08-05 07:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf97d108012d9ce840056ba2c0000a01542d..."} 
[2026-08-05 07:16:18] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf97d108012d9ce840056ba2c0000a01542d..."} 
[2026-08-05 07:16:18] local.INFO: Packet analysis {"connection_id":148485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf97"} 
[2026-08-05 07:16:18] local.INFO: Extracted packet for processing {"connection_id":148485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf97"} 
[2026-08-05 07:16:18] local.INFO: GPS Element Parsed {"raw_longitude":765257792,"raw_latitude":90940096,"longitude_deg":76.5257792,"latitude_deg":9.0940096,"altitude":10,"angle":340,"satellites":45,"speed":53,"hex_longitude":"2d9ce840","hex_latitude":"056ba2c0","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188929536001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370197314440003584,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7138627598568237056,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785894261000,"timestamp_ms":1785894261000,"timestamp_seconds":1785894261,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf97d108"} 
[2026-08-05 07:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 07:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188929536001,"66":27908,"51":206,"84":8448,"24":53,"16":370197314440003584,"45":-7138627598568237056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-05 07:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188929536001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:16:18] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-05 07:16:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370197314440003584,"km_value":370197314440003.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7138627598568237056,"description":"Unknown IO ID 45"} 
[2026-08-05 07:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188929536001,"power":27908,"unknown_51":206,"unknown_84":8448,"ignition":53,"odometer":null,"unknown_45":-7138627598568237056}} 
[2026-08-05 07:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":148485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:16:18] local.INFO: GPS data processed {"connection_id":148485,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:16:18] local.INFO: Acknowledgment sent {"connection_id":148485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:16:19] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:16:19] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:16:19] local.INFO: IMEI packet received {"connection_id":148484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":148484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:16:20] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf999628012d82964005d1d9400007016125..."} 
[2026-08-05 07:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf999628012d82964005d1d9400007016125..."} 
[2026-08-05 07:16:20] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf999628012d82964005d1d9400007016125..."} 
[2026-08-05 07:16:20] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:16:20] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:16:20] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97638720,"longitude_deg":76.3532864,"latitude_deg":9.763872,"altitude":7,"angle":353,"satellites":37,"speed":0,"hex_longitude":"2d829640","hex_latitude":"05d1d940","is_valid_coordinates":true} 
[2026-08-05 07:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188951808001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114847215041642496,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839789363200,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785894377000,"timestamp_ms":1785894377000,"timestamp_seconds":1785894377,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf999628"} 
[2026-08-05 07:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-05 07:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188951808001,"66":13428,"63":206,"85":15104,"24":0,"16":114847215041642496,"45":-9036894839789363200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188951808001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:16:20] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114847215041642496,"km_value":114847215041642.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839789363200,"description":"Unknown IO ID 45"} 
[2026-08-05 07:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188951808001,"power":13428,"unknown_63":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9036894839789363200}} 
[2026-08-05 07:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:16:20] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:16:20] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:16:49] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf994808012d9c2f00056d05b0000701532a..."} 
[2026-08-05 07:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf994808012d9c2f00056d05b0000701532a..."} 
[2026-08-05 07:16:49] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf994808012d9c2f00056d05b0000701532a..."} 
[2026-08-05 07:16:49] local.INFO: Packet analysis {"connection_id":148485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:16:49] local.INFO: Extracted packet for processing {"connection_id":148485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:16:49] local.INFO: GPS Element Parsed {"raw_longitude":765210368,"raw_latitude":91030960,"longitude_deg":76.5210368,"latitude_deg":9.103096,"altitude":7,"angle":339,"satellites":42,"speed":47,"hex_longitude":"2d9c2f00","hex_latitude":"056d05b0","is_valid_coordinates":true} 
[2026-08-05 07:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188953344001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370202318076903424,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7188941250632755200,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785894357000,"timestamp_ms":1785894357000,"timestamp_seconds":1785894357,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf994808"} 
[2026-08-05 07:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:16: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":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188953344001,"66":27930,"53":206,"84":8448,"24":47,"16":370202318076903424,"45":-7188941250632755200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-05 07:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188953344001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:16:49] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 07:16:49] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370202318076903424,"km_value":370202318076903.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7188941250632755200,"description":"Unknown IO ID 45"} 
[2026-08-05 07:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188953344001,"power":27930,"unknown_53":206,"unknown_84":8448,"ignition":47,"odometer":null,"unknown_45":-7188941250632755200}} 
[2026-08-05 07:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":148485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:16:49] local.INFO: GPS data processed {"connection_id":148485,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:16:49] local.INFO: Acknowledgment sent {"connection_id":148485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:16:51] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf99b950012d82968005d1d9900007000a25..."} 
[2026-08-05 07:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf99b950012d82968005d1d9900007000a25..."} 
[2026-08-05 07:16:51] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf99b950012d82968005d1d9900007000a25..."} 
[2026-08-05 07:16:51] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:16:51] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:16:51] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97638800,"longitude_deg":76.3532928,"latitude_deg":9.76388,"altitude":7,"angle":10,"satellites":37,"speed":3,"hex_longitude":"2d829680","hex_latitude":"05d1d990","is_valid_coordinates":true} 
[2026-08-05 07:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188960512001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114847232221511680,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208532631552,"note":"Value kept but may cause issues"} 
[2026-08-05 07:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785894386000,"timestamp_ms":1785894386000,"timestamp_seconds":1785894386,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf99b950"} 
[2026-08-05 07:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-05 07:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188960512001,"66":13352,"63":206,"85":15104,"24":3,"16":114847232221511680,"45":-9036965208532631552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188960512001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:16:51] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114847232221511680,"km_value":114847232221511.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208532631552,"description":"Unknown IO ID 45"} 
[2026-08-05 07:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188960512001,"power":13352,"unknown_63":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-9036965208532631552}} 
[2026-08-05 07:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:16:51] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:16:51] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:17:14] local.INFO: TCP Data received {"connection_id":148270,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:17:14] local.INFO: Processing buffer {"connection_id":148270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:17:14] local.INFO: IMEI packet received {"connection_id":148270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":148270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:17:15] local.INFO: TCP Data received {"connection_id":148270,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:17:15] local.INFO: Processing buffer {"connection_id":148270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:17:15] local.INFO: IMEI packet received {"connection_id":148270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":148270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:17:21] local.INFO: TCP Data received {"connection_id":148270,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:17:21] local.INFO: Processing buffer {"connection_id":148270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:17:21] local.INFO: IMEI packet received {"connection_id":148270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":148270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:17:22] local.INFO: TCP Data received {"connection_id":148270,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9957a8012d9c2ac0056d15600009016129..."} 
[2026-08-05 07:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9957a8012d9c2ac0056d15600009016129..."} 
[2026-08-05 07:17:22] local.INFO: Processing buffer {"connection_id":148270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9957a8012d9c2ac0056d15600009016129..."} 
[2026-08-05 07:17:22] local.INFO: Packet analysis {"connection_id":148270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:17:22] local.INFO: Extracted packet for processing {"connection_id":148270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:17:22] local.INFO: GPS Element Parsed {"raw_longitude":765209280,"raw_latitude":91034976,"longitude_deg":76.520928,"latitude_deg":9.1034976,"altitude":9,"angle":353,"satellites":41,"speed":37,"hex_longitude":"2d9c2ac0","hex_latitude":"056d1560","is_valid_coordinates":true} 
[2026-08-05 07:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188955392001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370202519940366336,"note":"Value kept but may cause issues"} 
[2026-08-05 07:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7192530056583467008,"note":"Value kept but may cause issues"} 
[2026-08-05 07:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785894361000,"timestamp_ms":1785894361000,"timestamp_seconds":1785894361,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9957a8"} 
[2026-08-05 07:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 07:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188955392001,"66":27865,"53":206,"84":8448,"24":37,"16":370202519940366336,"45":-7192530056583467008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-05 07:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188955392001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:17:22] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 07:17:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370202519940366336,"km_value":370202519940366.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7192530056583467008,"description":"Unknown IO ID 45"} 
[2026-08-05 07:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188955392001,"power":27865,"unknown_53":206,"unknown_84":8448,"ignition":37,"odometer":null,"unknown_45":-7192530056583467008}} 
[2026-08-05 07:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":148270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:17:22] local.INFO: GPS data processed {"connection_id":148270,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:17:22] local.INFO: Acknowledgment sent {"connection_id":148270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:17:22] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf99d0c0012d8296c005d1def80007016526..."} 
[2026-08-05 07:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf99d0c0012d8296c005d1def80007016526..."} 
[2026-08-05 07:17:22] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf99d0c0012d8296c005d1def80007016526..."} 
[2026-08-05 07:17:22] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:17:22] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:17:22] local.INFO: GPS Element Parsed {"raw_longitude":763532992,"raw_latitude":97640184,"longitude_deg":76.3532992,"latitude_deg":9.7640184,"altitude":7,"angle":357,"satellites":38,"speed":14,"hex_longitude":"2d8296c0","hex_latitude":"05d1def8","is_valid_coordinates":true} 
[2026-08-05 07:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188962816001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114847296646021120,"note":"Value kept but may cause issues"} 
[2026-08-05 07:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839788433408,"note":"Value kept but may cause issues"} 
[2026-08-05 07:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785894392000,"timestamp_ms":1785894392000,"timestamp_seconds":1785894392,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf99d0c0"} 
[2026-08-05 07:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 07:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188962816001,"66":13406,"63":206,"85":15104,"24":14,"16":114847296646021120,"45":-9036894839788433408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188962816001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:17:22] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:17:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114847296646021120,"km_value":114847296646021.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839788433408,"description":"Unknown IO ID 45"} 
[2026-08-05 07:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188962816001,"power":13406,"unknown_63":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9036894839788433408}} 
[2026-08-05 07:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:17:22] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:17:22] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:17:53] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9a1710012d8295c005d203200008016425..."} 
[2026-08-05 07:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9a1710012d8295c005d203200008016425..."} 
[2026-08-05 07:17:53] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9a1710012d8295c005d203200008016425..."} 
[2026-08-05 07:17:53] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9a"} 
[2026-08-05 07:17:53] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9a"} 
[2026-08-05 07:17:53] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":97649440,"longitude_deg":76.3532736,"latitude_deg":9.764944,"altitude":8,"angle":356,"satellites":37,"speed":25,"hex_longitude":"2d8295c0","hex_latitude":"05d20320","is_valid_coordinates":true} 
[2026-08-05 07:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188964352001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114847747617587200,"note":"Value kept but may cause issues"} 
[2026-08-05 07:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471043901440,"note":"Value kept but may cause issues"} 
[2026-08-05 07:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785894410000,"timestamp_ms":1785894410000,"timestamp_seconds":1785894410,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9a1710"} 
[2026-08-05 07:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-05 07:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188964352001,"66":13537,"63":206,"85":15104,"24":25,"16":114847747617587200,"45":-9036824471043901440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188964352001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:17:53] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:17:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114847747617587200,"km_value":114847747617587.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471043901440,"description":"Unknown IO ID 45"} 
[2026-08-05 07:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188964352001,"power":13537,"unknown_63":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9036824471043901440}} 
[2026-08-05 07:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:17:53] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:17:53] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:18:07] local.INFO: TCP Data received {"connection_id":148270,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf996b30012d9c2680056d28c8000901562b..."} 
[2026-08-05 07:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf996b30012d9c2680056d28c8000901562b..."} 
[2026-08-05 07:18:07] local.INFO: Processing buffer {"connection_id":148270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf996b30012d9c2680056d28c8000901562b..."} 
[2026-08-05 07:18:07] local.INFO: Packet analysis {"connection_id":148270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:18:07] local.INFO: Extracted packet for processing {"connection_id":148270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:18:07] local.INFO: GPS Element Parsed {"raw_longitude":765208192,"raw_latitude":91039944,"longitude_deg":76.5208192,"latitude_deg":9.1039944,"altitude":9,"angle":342,"satellites":43,"speed":43,"hex_longitude":"2d9c2680","hex_latitude":"056d28c8","is_valid_coordinates":true} 
[2026-08-05 07:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188956416001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370202769048469504,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7193726325233459200,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785894366000,"timestamp_ms":1785894366000,"timestamp_seconds":1785894366,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf996b30"} 
[2026-08-05 07:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188956416001,"66":27658,"53":206,"84":8448,"24":43,"16":370202769048469504,"45":-7193726325233459200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-05 07:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188956416001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:18:07] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 07:18:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370202769048469504,"km_value":370202769048469.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7193726325233459200,"description":"Unknown IO ID 45"} 
[2026-08-05 07:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188956416001,"power":27658,"unknown_53":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7193726325233459200}} 
[2026-08-05 07:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":148270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:18:07] local.INFO: GPS data processed {"connection_id":148270,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:18:07] local.INFO: Acknowledgment sent {"connection_id":148270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:18:15] local.INFO: TCP Data received {"connection_id":148271,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:18:15] local.INFO: Processing buffer {"connection_id":148271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:18:15] local.INFO: IMEI packet received {"connection_id":148271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":148271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:18:18] local.INFO: TCP Data received {"connection_id":148271,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:18:18] local.INFO: Processing buffer {"connection_id":148271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:18:18] local.INFO: IMEI packet received {"connection_id":148271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":148271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:18:23] local.INFO: TCP Data received {"connection_id":148271,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:18:23] local.INFO: Processing buffer {"connection_id":148271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:18:23] local.INFO: IMEI packet received {"connection_id":148271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":148271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:18:24] local.INFO: TCP Data received {"connection_id":148271,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf998a70012d9c1a40056d4be0000901542b..."} 
[2026-08-05 07:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf998a70012d9c1a40056d4be0000901542b..."} 
[2026-08-05 07:18:24] local.INFO: Processing buffer {"connection_id":148271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf998a70012d9c1a40056d4be0000901542b..."} 
[2026-08-05 07:18:24] local.INFO: Packet analysis {"connection_id":148271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:18:24] local.INFO: Extracted packet for processing {"connection_id":148271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:18:24] local.INFO: GPS Element Parsed {"raw_longitude":765205056,"raw_latitude":91048928,"longitude_deg":76.5205056,"latitude_deg":9.1048928,"altitude":9,"angle":340,"satellites":43,"speed":50,"hex_longitude":"2d9c1a40","hex_latitude":"056d4be0","is_valid_coordinates":true} 
[2026-08-05 07:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188957696001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370203228609970176,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7194922593883207680,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785894374000,"timestamp_ms":1785894374000,"timestamp_seconds":1785894374,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf998a70"} 
[2026-08-05 07:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 07:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188957696001,"66":27843,"53":206,"84":8448,"24":50,"16":370203228609970176,"45":-7194922593883207680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-05 07:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188957696001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:18:24] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 07:18:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370203228609970176,"km_value":370203228609970.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7194922593883207680,"description":"Unknown IO ID 45"} 
[2026-08-05 07:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188957696001,"power":27843,"unknown_53":206,"unknown_84":8448,"ignition":50,"odometer":null,"unknown_45":-7194922593883207680}} 
[2026-08-05 07:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":148271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:18:24] local.INFO: GPS data processed {"connection_id":148271,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:18:24] local.INFO: Acknowledgment sent {"connection_id":148271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:18:24] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9a4dc0012d82954005d227600008000027..."} 
[2026-08-05 07:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9a4dc0012d82954005d227600008000027..."} 
[2026-08-05 07:18:24] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9a4dc0012d82954005d227600008000027..."} 
[2026-08-05 07:18:24] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9a"} 
[2026-08-05 07:18:24] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9a"} 
[2026-08-05 07:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97658720,"longitude_deg":76.3532608,"latitude_deg":9.765872,"altitude":8,"angle":0,"satellites":39,"speed":26,"hex_longitude":"2d829540","hex_latitude":"05d22760","is_valid_coordinates":true} 
[2026-08-05 07:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188968960001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114848198589153280,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946018242560,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785894424000,"timestamp_ms":1785894424000,"timestamp_seconds":1785894424,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9a4dc0"} 
[2026-08-05 07:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-05 07:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188968960001,"66":12982,"63":206,"85":15104,"24":26,"16":114848198589153280,"45":-9037105946018242560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188968960001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:18:24] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:18:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114848198589153280,"km_value":114848198589153.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946018242560,"description":"Unknown IO ID 45"} 
[2026-08-05 07:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188968960001,"power":12982,"unknown_63":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9037105946018242560}} 
[2026-08-05 07:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:18:24] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:18:24] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:18:25] local.INFO: TCP Data received {"connection_id":148271,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf99a1e0012d9c1300056d6508000801632b..."} 
[2026-08-05 07:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf99a1e0012d9c1300056d6508000801632b..."} 
[2026-08-05 07:18:25] local.INFO: Processing buffer {"connection_id":148271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf99a1e0012d9c1300056d6508000801632b..."} 
[2026-08-05 07:18:25] local.INFO: Packet analysis {"connection_id":148271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:18:25] local.INFO: Extracted packet for processing {"connection_id":148271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf99"} 
[2026-08-05 07:18:25] local.INFO: GPS Element Parsed {"raw_longitude":765203200,"raw_latitude":91055368,"longitude_deg":76.52032,"latitude_deg":9.1055368,"altitude":8,"angle":355,"satellites":43,"speed":36,"hex_longitude":"2d9c1300","hex_latitude":"056d6508","is_valid_coordinates":true} 
[2026-08-05 07:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188959744001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370203555027484672,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7198370662345613312,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785894380000,"timestamp_ms":1785894380000,"timestamp_seconds":1785894380,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf99a1e0"} 
[2026-08-05 07:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 07:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188959744001,"66":27995,"53":206,"84":8448,"24":36,"16":370203555027484672,"45":-7198370662345613312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-05 07:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188959744001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:18:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 07:18:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370203555027484672,"km_value":370203555027484.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7198370662345613312,"description":"Unknown IO ID 45"} 
[2026-08-05 07:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188959744001,"power":27995,"unknown_53":206,"unknown_84":8448,"ignition":36,"odometer":null,"unknown_45":-7198370662345613312}} 
[2026-08-05 07:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":148271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:18:25] local.INFO: GPS data processed {"connection_id":148271,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:18:25] local.INFO: Acknowledgment sent {"connection_id":148271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:18:55] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9a8470012d8296c005d24c880007016627..."} 
[2026-08-05 07:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9a8470012d8296c005d24c880007016627..."} 
[2026-08-05 07:18:55] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9a8470012d8296c005d24c880007016627..."} 
[2026-08-05 07:18:55] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9a"} 
[2026-08-05 07:18:55] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9a"} 
[2026-08-05 07:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763532992,"raw_latitude":97668232,"longitude_deg":76.3532992,"latitude_deg":9.7668232,"altitude":7,"angle":358,"satellites":39,"speed":27,"hex_longitude":"2d8296c0","hex_latitude":"05d24c88","is_valid_coordinates":true} 
[2026-08-05 07:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188972544001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114848658150653952,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683504222208,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785894438000,"timestamp_ms":1785894438000,"timestamp_seconds":1785894438,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9a8470"} 
[2026-08-05 07:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-05 07:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188972544001,"66":13189,"63":206,"85":15104,"24":27,"16":114848658150653952,"45":-9037246683504222208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 07:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188972544001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:18:55] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 07:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114848658150653952,"km_value":114848658150653.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683504222208,"description":"Unknown IO ID 45"} 
[2026-08-05 07:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188972544001,"power":13189,"unknown_63":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9037246683504222208}} 
[2026-08-05 07:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:18:55] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:18:55] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:18:55] local.INFO: TCP Data received {"connection_id":148271,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9b3c08012d9bdd80056eca18000901602c..."} 
[2026-08-05 07:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9b3c08012d9bdd80056eca18000901602c..."} 
[2026-08-05 07:18:55] local.INFO: Processing buffer {"connection_id":148271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9b3c08012d9bdd80056eca18000901602c..."} 
[2026-08-05 07:18:55] local.INFO: Packet analysis {"connection_id":148271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9b"} 
[2026-08-05 07:18:55] local.INFO: Extracted packet for processing {"connection_id":148271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9b"} 
[2026-08-05 07:18:55] local.INFO: GPS Element Parsed {"raw_longitude":765189504,"raw_latitude":91146776,"longitude_deg":76.5189504,"latitude_deg":9.1146776,"altitude":9,"angle":352,"satellites":44,"speed":59,"hex_longitude":"2d9bdd80","hex_latitude":"056eca18","is_valid_coordinates":true} 
[2026-08-05 07:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188986368001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370208073333080064,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7214062892274726912,"note":"Value kept but may cause issues"} 
[2026-08-05 07:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785894485000,"timestamp_ms":1785894485000,"timestamp_seconds":1785894485,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9b3c08"} 
[2026-08-05 07:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 07:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:18: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-08-05 07:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188986368001,"66":27658,"233":206,"84":8448,"24":59,"16":370208073333080064,"45":-7214062892274726912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,84,24,16,45]} 
[2026-08-05 07:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188986368001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:18:55] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-05 07:18:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370208073333080064,"km_value":370208073333080.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7214062892274726912,"description":"Unknown IO ID 45"} 
[2026-08-05 07:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188986368001,"power":27658,"unknown_233":206,"unknown_84":8448,"ignition":59,"odometer":null,"unknown_45":-7214062892274726912}} 
[2026-08-05 07:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":148271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:18:55] local.INFO: GPS data processed {"connection_id":148271,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:18:55] local.INFO: Acknowledgment sent {"connection_id":148271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:19:15] local.INFO: TCP Data received {"connection_id":148272,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:19:15] local.INFO: Processing buffer {"connection_id":148272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:19:15] local.INFO: IMEI packet received {"connection_id":148272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":148272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:19:19] local.INFO: TCP Data received {"connection_id":148272,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:19:19] local.INFO: Processing buffer {"connection_id":148272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:19:19] local.INFO: IMEI packet received {"connection_id":148272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":148272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:19:20] local.INFO: TCP Data received {"connection_id":148272,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:19:20] local.INFO: Processing buffer {"connection_id":148272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:19:20] local.INFO: IMEI packet received {"connection_id":148272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":148272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:19:21] local.INFO: TCP Data received {"connection_id":148272,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9b5378012d9bda00056eed68000901642d..."} 
[2026-08-05 07:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9b5378012d9bda00056eed68000901642d..."} 
[2026-08-05 07:19:21] local.INFO: Processing buffer {"connection_id":148272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9b5378012d9bda00056eed68000901642d..."} 
[2026-08-05 07:19:21] local.INFO: Packet analysis {"connection_id":148272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9b"} 
[2026-08-05 07:19:21] local.INFO: Extracted packet for processing {"connection_id":148272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9b"} 
[2026-08-05 07:19:21] local.INFO: GPS Element Parsed {"raw_longitude":765188608,"raw_latitude":91155816,"longitude_deg":76.5188608,"latitude_deg":9.1155816,"altitude":9,"angle":356,"satellites":45,"speed":60,"hex_longitude":"2d9bda00","hex_latitude":"056eed68","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188988160001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370208515714711552,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7215470267155736576,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785894491000,"timestamp_ms":1785894491000,"timestamp_seconds":1785894491,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9b5378"} 
[2026-08-05 07:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":10,"data_length":795,"current_offset":136} 
[2026-08-05 07:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:19: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-08-05 07:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188988160001,"66":27865,"233":206,"84":8448,"24":60,"16":370208515714711552,"45":-7215470267155736576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,84,24,16,45]} 
[2026-08-05 07:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188988160001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:19:21] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-05 07:19:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370208515714711552,"km_value":370208515714711.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7215470267155736576,"description":"Unknown IO ID 45"} 
[2026-08-05 07:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188988160001,"power":27865,"unknown_233":206,"unknown_84":8448,"ignition":60,"odometer":null,"unknown_45":-7215470267155736576}} 
[2026-08-05 07:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":148272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:19:21] local.INFO: GPS data processed {"connection_id":148272,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:19:21] local.INFO: Acknowledgment sent {"connection_id":148272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:19:27] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9c2668012d827e8005d34b000007010d29..."} 
[2026-08-05 07:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9c2668012d827e8005d34b000007010d29..."} 
[2026-08-05 07:19:27] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9c2668012d827e8005d34b000007010d29..."} 
[2026-08-05 07:19:27] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9c"} 
[2026-08-05 07:19:27] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9c"} 
[2026-08-05 07:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763526784,"raw_latitude":97733376,"longitude_deg":76.3526784,"latitude_deg":9.7733376,"altitude":7,"angle":269,"satellites":41,"speed":10,"hex_longitude":"2d827e80","hex_latitude":"05d34b00","is_valid_coordinates":true} 
[2026-08-05 07:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189003264001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114851866491224064,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043368764228573184,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785894545000,"timestamp_ms":1785894545000,"timestamp_seconds":1785894545,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9c2668"} 
[2026-08-05 07:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-05 07:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189003264001,"66":12928,"68":206,"85":15104,"24":10,"16":114851866491224064,"45":-9043368764228573184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-05 07:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189003264001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:19:27] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-05 07:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114851866491224064,"km_value":114851866491224.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043368764228573184,"description":"Unknown IO ID 45"} 
[2026-08-05 07:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189003264001,"power":12928,"unknown_68":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9043368764228573184}} 
[2026-08-05 07:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:19:27] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:19:27] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:19:52] local.INFO: TCP Data received {"connection_id":148272,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9b6ae8012d9bd880056f10a8000801662e..."} 
[2026-08-05 07:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9b6ae8012d9bd880056f10a8000801662e..."} 
[2026-08-05 07:19:52] local.INFO: Processing buffer {"connection_id":148272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9b6ae8012d9bd880056f10a8000801662e..."} 
[2026-08-05 07:19:52] local.INFO: Packet analysis {"connection_id":148272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9b"} 
[2026-08-05 07:19:52] local.INFO: Extracted packet for processing {"connection_id":148272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9b"} 
[2026-08-05 07:19:52] local.INFO: GPS Element Parsed {"raw_longitude":765188224,"raw_latitude":91164840,"longitude_deg":76.5188224,"latitude_deg":9.116484,"altitude":8,"angle":358,"satellites":46,"speed":59,"hex_longitude":"2d9bd880","hex_latitude":"056f10a8","is_valid_coordinates":true} 
[2026-08-05 07:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457188989696001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370208949506408448,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7216455429571909632,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785894497000,"timestamp_ms":1785894497000,"timestamp_seconds":1785894497,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9b6ae8"} 
[2026-08-05 07:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457188989696001,"66":27876,"233":206,"84":8448,"24":59,"16":370208949506408448,"45":-7216455429571909632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,84,24,16,45]} 
[2026-08-05 07:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457188989696001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:19:52] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-05 07:19:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-05 07:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370208949506408448,"km_value":370208949506408.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7216455429571909632,"description":"Unknown IO ID 45"} 
[2026-08-05 07:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457188989696001,"power":27876,"unknown_233":206,"unknown_84":8448,"ignition":59,"odometer":null,"unknown_45":-7216455429571909632}} 
[2026-08-05 07:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":148272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:19:52] local.INFO: GPS data processed {"connection_id":148272,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:19:52] local.INFO: Acknowledgment sent {"connection_id":148272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:19:57] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9c2a50012d827d4005d34ac80007010029..."} 
[2026-08-05 07:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9c2a50012d827d4005d34ac80007010029..."} 
[2026-08-05 07:19:58] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9c2a50012d827d4005d34ac80007010029..."} 
[2026-08-05 07:19:58] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9c"} 
[2026-08-05 07:19:58] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9c"} 
[2026-08-05 07:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763526464,"raw_latitude":97733320,"longitude_deg":76.3526464,"latitude_deg":9.773332,"altitude":7,"angle":256,"satellites":41,"speed":12,"hex_longitude":"2d827d40","hex_latitude":"05d34ac8","is_valid_coordinates":true} 
[2026-08-05 07:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189003520001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114851879376125952,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043650239205277696,"note":"Value kept but may cause issues"} 
[2026-08-05 07:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785894546000,"timestamp_ms":1785894546000,"timestamp_seconds":1785894546,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9c2a50"} 
[2026-08-05 07:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:19: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-08-05 07:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-05 07:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189003520001,"66":13363,"68":206,"85":15104,"24":12,"16":114851879376125952,"45":-9043650239205277696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-05 07:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189003520001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:19:58] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-05 07:19:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114851879376125952,"km_value":114851879376125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043650239205277696,"description":"Unknown IO ID 45"} 
[2026-08-05 07:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189003520001,"power":13363,"unknown_68":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9043650239205277696}} 
[2026-08-05 07:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:19:58] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:19:58] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:20:29] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9d4778012d81b44005d381600000013526..."} 
[2026-08-05 07:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9d4778012d81b44005d381600000013526..."} 
[2026-08-05 07:20:29] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9d4778012d81b44005d381600000013526..."} 
[2026-08-05 07:20:29] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9d"} 
[2026-08-05 07:20:29] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9d"} 
[2026-08-05 07:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763475008,"raw_latitude":97747296,"longitude_deg":76.3475008,"latitude_deg":9.7747296,"altitude":0,"angle":309,"satellites":38,"speed":29,"hex_longitude":"2d81b440","hex_latitude":"05d38160","is_valid_coordinates":true} 
[2026-08-05 07:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189021952001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114854967457611776,"note":"Value kept but may cause issues"} 
[2026-08-05 07:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099100809613893632,"note":"Value kept but may cause issues"} 
[2026-08-05 07:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785894619000,"timestamp_ms":1785894619000,"timestamp_seconds":1785894619,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9d4778"} 
[2026-08-05 07:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-05 07:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189021952001,"66":13189,"67":206,"85":15104,"24":29,"16":114854967457611776,"45":-9099100809613893632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 07:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189021952001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:20:29] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 07:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114854967457611776,"km_value":114854967457611.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099100809613893632,"description":"Unknown IO ID 45"} 
[2026-08-05 07:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189021952001,"power":13189,"unknown_67":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9099100809613893632}} 
[2026-08-05 07:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:20:29] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:20:29] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:20:29] local.INFO: TCP Data received {"connection_id":150900,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:20:29] local.INFO: Processing buffer {"connection_id":150900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:20:29] local.INFO: IMEI packet received {"connection_id":150900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":150900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:20:44] local.INFO: TCP Data received {"connection_id":149492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:44] local.INFO: Processing buffer {"connection_id":149492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:44] local.INFO: IMEI packet received {"connection_id":149492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":149492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:20:46] local.INFO: TCP Data received {"connection_id":149492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:46] local.INFO: Processing buffer {"connection_id":149492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:46] local.INFO: IMEI packet received {"connection_id":149492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":149492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:20:49] local.INFO: TCP Data received {"connection_id":149492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:49] local.INFO: Processing buffer {"connection_id":149492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:49] local.INFO: IMEI packet received {"connection_id":149492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":149492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:20:51] local.INFO: TCP Data received {"connection_id":149492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:51] local.INFO: Processing buffer {"connection_id":149492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:20:51] local.INFO: IMEI packet received {"connection_id":149492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":149492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:20:55] local.INFO: TCP Data received {"connection_id":149492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9d4f48012d81b0c005d386300000014926..."} 
[2026-08-05 07:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9d4f48012d81b0c005d386300000014926..."} 
[2026-08-05 07:20:55] local.INFO: Processing buffer {"connection_id":149492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9d4f48012d81b0c005d386300000014926..."} 
[2026-08-05 07:20:55] local.INFO: Packet analysis {"connection_id":149492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9d"} 
[2026-08-05 07:20:55] local.INFO: Extracted packet for processing {"connection_id":149492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9d"} 
[2026-08-05 07:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763474112,"raw_latitude":97748528,"longitude_deg":76.3474112,"latitude_deg":9.7748528,"altitude":0,"angle":329,"satellites":38,"speed":30,"hex_longitude":"2d81b0c0","hex_latitude":"05d38630","is_valid_coordinates":true} 
[2026-08-05 07:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189022464001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114855044767023104,"note":"Value kept but may cause issues"} 
[2026-08-05 07:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100578553241444352,"note":"Value kept but may cause issues"} 
[2026-08-05 07:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785894621000,"timestamp_ms":1785894621000,"timestamp_seconds":1785894621,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9d4f48"} 
[2026-08-05 07:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-05 07:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189022464001,"66":13363,"67":206,"85":15104,"24":30,"16":114855044767023104,"45":-9100578553241444352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 07:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189022464001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:20:55] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 07:20:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114855044767023104,"km_value":114855044767023.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100578553241444352,"description":"Unknown IO ID 45"} 
[2026-08-05 07:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189022464001,"power":13363,"unknown_67":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9100578553241444352}} 
[2026-08-05 07:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":149492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:20:55] local.INFO: GPS data processed {"connection_id":149492,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:20:55] local.INFO: Acknowledgment sent {"connection_id":149492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:20:56] local.INFO: TCP Data received {"connection_id":149492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9d5718012d81aec005d38db80000015626..."} 
[2026-08-05 07:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9d5718012d81aec005d38db80000015626..."} 
[2026-08-05 07:20:56] local.INFO: Processing buffer {"connection_id":149492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9d5718012d81aec005d38db80000015626..."} 
[2026-08-05 07:20:56] local.INFO: Packet analysis {"connection_id":149492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9d"} 
[2026-08-05 07:20:56] local.INFO: Extracted packet for processing {"connection_id":149492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9d"} 
[2026-08-05 07:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763473600,"raw_latitude":97750456,"longitude_deg":76.34736,"latitude_deg":9.7750456,"altitude":0,"angle":342,"satellites":38,"speed":38,"hex_longitude":"2d81aec0","hex_latitude":"05d38db8","is_valid_coordinates":true} 
[2026-08-05 07:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189022976001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114855139256303616,"note":"Value kept but may cause issues"} 
[2026-08-05 07:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101563715659616256,"note":"Value kept but may cause issues"} 
[2026-08-05 07:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785894623000,"timestamp_ms":1785894623000,"timestamp_seconds":1785894623,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9d5718"} 
[2026-08-05 07:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-05 07:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07: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-08-05 07:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189022976001,"66":13341,"67":206,"85":15104,"24":38,"16":114855139256303616,"45":-9101563715659616256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 07:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189022976001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:20:56] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 07:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114855139256303616,"km_value":114855139256303.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101563715659616256,"description":"Unknown IO ID 45"} 
[2026-08-05 07:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189022976001,"power":13341,"unknown_67":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9101563715659616256}} 
[2026-08-05 07:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":149492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:20:56] local.INFO: GPS data processed {"connection_id":149492,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:20:56] local.INFO: Acknowledgment sent {"connection_id":149492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:21:01] local.INFO: TCP Data received {"connection_id":150900,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 07:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150900,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 07:21:01] local.INFO: Processing buffer {"connection_id":150900,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 07:21:01] local.INFO: IMEI packet received {"connection_id":150900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":150900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:21:12] local.INFO: TCP Data received {"connection_id":150901,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:21:12] local.INFO: Processing buffer {"connection_id":150901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:21:12] local.INFO: IMEI packet received {"connection_id":150901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":150901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:21:27] local.INFO: TCP Data received {"connection_id":149492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9d66b8012d81ac0005d39e780000016426..."} 
[2026-08-05 07:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9d66b8012d81ac0005d39e780000016426..."} 
[2026-08-05 07:21:27] local.INFO: Processing buffer {"connection_id":149492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9d66b8012d81ac0005d39e780000016426..."} 
[2026-08-05 07:21:27] local.INFO: Packet analysis {"connection_id":149492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9d"} 
[2026-08-05 07:21:27] local.INFO: Extracted packet for processing {"connection_id":149492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9d"} 
[2026-08-05 07:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763472896,"raw_latitude":97754744,"longitude_deg":76.3472896,"latitude_deg":9.7754744,"altitude":0,"angle":356,"satellites":38,"speed":43,"hex_longitude":"2d81ac00","hex_latitude":"05d39e78","is_valid_coordinates":true} 
[2026-08-05 07:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189023488001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114855349709701120,"note":"Value kept but may cause issues"} 
[2026-08-05 07:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102126665612544000,"note":"Value kept but may cause issues"} 
[2026-08-05 07:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785894627000,"timestamp_ms":1785894627000,"timestamp_seconds":1785894627,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9d66b8"} 
[2026-08-05 07:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-05 07:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189023488001,"66":13222,"67":206,"85":15104,"24":43,"16":114855349709701120,"45":-9102126665612544000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 07:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189023488001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:21:27] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 07:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114855349709701120,"km_value":114855349709701.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102126665612544000,"description":"Unknown IO ID 45"} 
[2026-08-05 07:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189023488001,"power":13222,"unknown_67":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9102126665612544000}} 
[2026-08-05 07:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":149492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:21:27] local.INFO: GPS data processed {"connection_id":149492,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:21:27] local.INFO: Acknowledgment sent {"connection_id":149492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:21:58] local.INFO: TCP Data received {"connection_id":149492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9e9b50012d81a08005d4b6180005004827..."} 
[2026-08-05 07:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9e9b50012d81a08005d4b6180005004827..."} 
[2026-08-05 07:21:58] local.INFO: Processing buffer {"connection_id":149492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9e9b50012d81a08005d4b6180005004827..."} 
[2026-08-05 07:21:58] local.INFO: Packet analysis {"connection_id":149492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9e"} 
[2026-08-05 07:21:58] local.INFO: Extracted packet for processing {"connection_id":149492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9e"} 
[2026-08-05 07:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763469952,"raw_latitude":97826328,"longitude_deg":76.3469952,"latitude_deg":9.7826328,"altitude":5,"angle":72,"satellites":39,"speed":22,"hex_longitude":"2d81a080","hex_latitude":"05d4b618","is_valid_coordinates":true} 
[2026-08-05 07:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189044480001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114858918827524096,"note":"Value kept but may cause issues"} 
[2026-08-05 07:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106771002708895744,"note":"Value kept but may cause issues"} 
[2026-08-05 07:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785894706000,"timestamp_ms":1785894706000,"timestamp_seconds":1785894706,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9e9b50"} 
[2026-08-05 07:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:21: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-08-05 07: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":160,"data_length":795,"current_offset":136} 
[2026-08-05 07:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189044480001,"66":13298,"166":206,"85":15104,"24":22,"16":114858918827524096,"45":-9106771002708895744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-05 07:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189044480001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:21:58] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-05 07:21:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114858918827524096,"km_value":114858918827524.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106771002708895744,"description":"Unknown IO ID 45"} 
[2026-08-05 07:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189044480001,"power":13298,"unknown_166":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9106771002708895744}} 
[2026-08-05 07:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":149492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:21:58] local.INFO: GPS data processed {"connection_id":149492,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:21:58] local.INFO: Acknowledgment sent {"connection_id":149492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:22:49] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:22:49] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:22:49] local.INFO: IMEI packet received {"connection_id":148486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":148486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:22:58] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:22:58] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:22:58] local.INFO: IMEI packet received {"connection_id":148486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":148486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:22:59] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9f9550012d81b1c005d536500000000927..."} 
[2026-08-05 07:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9f9550012d81b1c005d536500000000927..."} 
[2026-08-05 07:22:59] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fcf..."} 
[2026-08-05 07:22:59] local.INFO: IMEI packet received {"connection_id":148486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":148486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:23:00] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9f9d20012d81b40005d53bc80000001a25..."} 
[2026-08-05 07:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9f9d20012d81b40005d53bc80000001a25..."} 
[2026-08-05 07:23:00] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fcf9f9550012d81b1c005d536500000000927..."} 
[2026-08-05 07:23:00] local.INFO: Packet analysis {"connection_id":148486,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fcf9f"} 
[2026-08-05 07:23:00] local.INFO: Extracted packet for processing {"connection_id":148486,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9f"} 
[2026-08-05 07:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763474368,"raw_latitude":97859152,"longitude_deg":76.3474368,"latitude_deg":9.7859152,"altitude":0,"angle":9,"satellites":39,"speed":28,"hex_longitude":"2d81b1c0","hex_latitude":"05d53650","is_valid_coordinates":true} 
[2026-08-05 07:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189059328001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114860868742676480,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100719290702829568,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785894770000,"timestamp_ms":1785894770000,"timestamp_seconds":1785894770,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9f9550"} 
[2026-08-05 07:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 07:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:23: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-08-05 07:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189059328001,"66":13526,"166":206,"85":15104,"24":28,"16":114860868742676480,"45":-9100719290702829568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-05 07:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189059328001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:23:00] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-05 07:23:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114860868742676480,"km_value":114860868742676.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100719290702829568,"description":"Unknown IO ID 45"} 
[2026-08-05 07:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189059328001,"power":13526,"unknown_166":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9100719290702829568}} 
[2026-08-05 07:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":148486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:23:00] local.INFO: GPS data processed {"connection_id":148486,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:23:00] local.INFO: Acknowledgment sent {"connection_id":148486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:23:00] local.INFO: Packet analysis {"connection_id":148486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9f"} 
[2026-08-05 07:23:00] local.INFO: Extracted packet for processing {"connection_id":148486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9f"} 
[2026-08-05 07:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763474944,"raw_latitude":97860552,"longitude_deg":76.3474944,"latitude_deg":9.7860552,"altitude":0,"angle":26,"satellites":37,"speed":32,"hex_longitude":"2d81b400","hex_latitude":"05d53bc8","is_valid_coordinates":true} 
[2026-08-05 07:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189061120001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114860941757120512,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101282240654585856,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785894772000,"timestamp_ms":1785894772000,"timestamp_seconds":1785894772,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9f9d20"} 
[2026-08-05 07:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-05 07:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:23: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-08-05 07:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189061120001,"66":13319,"166":206,"85":15104,"24":32,"16":114860941757120512,"45":-9101282240654585856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-05 07:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189061120001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:23:00] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-05 07:23:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114860941757120512,"km_value":114860941757120.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101282240654585856,"description":"Unknown IO ID 45"} 
[2026-08-05 07:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189061120001,"power":13319,"unknown_166":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9101282240654585856}} 
[2026-08-05 07:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":148486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:23:00] local.INFO: GPS data processed {"connection_id":148486,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:23:00] local.INFO: Acknowledgment sent {"connection_id":148486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:23:01] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcf9fb0a8012d81b9c005d54c580000000e25..."} 
[2026-08-05 07:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcf9fb0a8012d81b9c005d54c580000000e25..."} 
[2026-08-05 07:23:01] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcf9fb0a8012d81b9c005d54c580000000e25..."} 
[2026-08-05 07:23:01] local.INFO: Packet analysis {"connection_id":148486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcf9f"} 
[2026-08-05 07:23:01] local.INFO: Extracted packet for processing {"connection_id":148486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcf9f"} 
[2026-08-05 07:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763476416,"raw_latitude":97864792,"longitude_deg":76.3476416,"latitude_deg":9.7864792,"altitude":0,"angle":14,"satellites":37,"speed":36,"hex_longitude":"2d81b9c0","hex_latitude":"05d54c58","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189061632001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114861156505485312,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100648921956628480,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785894777000,"timestamp_ms":1785894777000,"timestamp_seconds":1785894777,"priority":1,"record_length":96,"hex_timestamp":"0000019fcf9fb0a8"} 
[2026-08-05 07:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3483293160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176843781,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2670962689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":212,"raw_value":-4580160795264932096,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2684431745,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3221607625,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3569557504,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57885602133988667,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-3314648030782570491,"note":"Value kept but may cause issues"} 
[2026-08-05 07:23:01] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,166,85,24,241,157,16,17,159,149,45,192,54,39,10,66,121,28,4,41,94,1,240,138,227,207,212,113,205,20,225,193,232,239,51,2,152,5,7,26,133,158],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-08-05 07:23:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28746218209280,"timestamp_seconds":28746218209.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189061632001,"66":13374,"166":206,"85":15104,"24":36,"16":114861156505485312,"45":-9100648921956628480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-05 07:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189061632001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:23:01] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-05 07:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114861156505485312,"km_value":114861156505485.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100648921956628480,"description":"Unknown IO ID 45"} 
[2026-08-05 07:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189061632001,"power":13374,"unknown_166":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9100648921956628480}} 
[2026-08-05 07:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":148486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:23:01] local.INFO: GPS data processed {"connection_id":148486,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:23:01] local.INFO: Acknowledgment sent {"connection_id":148486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:23:44] local.INFO: TCP Data received {"connection_id":150903,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:23:44] local.INFO: Processing buffer {"connection_id":150903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:23:44] local.INFO: IMEI packet received {"connection_id":150903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":150903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:23:44] local.INFO: TCP Data received {"connection_id":150903,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150903,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:23:44] local.INFO: Processing buffer {"connection_id":150903,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:23:44] local.INFO: IMEI packet received {"connection_id":150903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":150903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:23:51] local.INFO: TCP Data received {"connection_id":150903,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:23:51] local.INFO: Processing buffer {"connection_id":150903,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:23:51] local.INFO: IMEI packet received {"connection_id":150903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":150903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:26:16] local.INFO: TCP Data received {"connection_id":148274,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:26:16] local.INFO: Processing buffer {"connection_id":148274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:26:16] local.INFO: IMEI packet received {"connection_id":148274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":148274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:26:17] local.INFO: TCP Data received {"connection_id":148274,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:26:17] local.INFO: Processing buffer {"connection_id":148274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:26:17] local.INFO: IMEI packet received {"connection_id":148274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":148274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:26:20] local.INFO: TCP Data received {"connection_id":148274,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:26:20] local.INFO: Processing buffer {"connection_id":148274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:26:20] local.INFO: IMEI packet received {"connection_id":148274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":148274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:26:21] local.INFO: TCP Data received {"connection_id":148274,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa146e8012d9af84005744e38000700092b..."} 
[2026-08-05 07:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa146e8012d9af84005744e38000700092b..."} 
[2026-08-05 07:26:21] local.INFO: Processing buffer {"connection_id":148274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa146e8012d9af84005744e38000700092b..."} 
[2026-08-05 07:26:21] local.INFO: Packet analysis {"connection_id":148274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa1"} 
[2026-08-05 07:26:21] local.INFO: Extracted packet for processing {"connection_id":148274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa1"} 
[2026-08-05 07:26:21] local.INFO: GPS Element Parsed {"raw_longitude":765130816,"raw_latitude":91508280,"longitude_deg":76.5130816,"latitude_deg":9.150828,"altitude":7,"angle":9,"satellites":43,"speed":17,"hex_longitude":"2d9af840","hex_latitude":"05744e38","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189087488001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370226421433368576,"note":"Value kept but may cause issues"} 
[2026-08-05 07:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280983567893137408,"note":"Value kept but may cause issues"} 
[2026-08-05 07:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785894881000,"timestamp_ms":1785894881000,"timestamp_seconds":1785894881,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa146e8"} 
[2026-08-05 07:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 07:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:26: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-08-05 07:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189087488001,"66":27865,"150":206,"85":15872,"24":17,"16":370226421433368576,"45":-7280983567893137408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-05 07:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189087488001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:26:21] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-05 07:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370226421433368576,"km_value":370226421433368.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280983567893137408,"description":"Unknown IO ID 45"} 
[2026-08-05 07:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189087488001,"power":27865,"unknown_150":206,"unknown_85":15872,"ignition":17,"odometer":null,"unknown_45":-7280983567893137408}} 
[2026-08-05 07:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":148274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:26:21] local.INFO: GPS data processed {"connection_id":148274,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:26:21] local.INFO: Acknowledgment sent {"connection_id":148274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:26:22] local.INFO: TCP Data received {"connection_id":148274,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa14ad0012d9af84005745018000701652c..."} 
[2026-08-05 07:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa14ad0012d9af84005745018000701652c..."} 
[2026-08-05 07:26:22] local.INFO: Processing buffer {"connection_id":148274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa14ad0012d9af84005745018000701652c..."} 
[2026-08-05 07:26:22] local.INFO: Packet analysis {"connection_id":148274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa1"} 
[2026-08-05 07:26:22] local.INFO: Extracted packet for processing {"connection_id":148274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa1"} 
[2026-08-05 07:26:22] local.INFO: GPS Element Parsed {"raw_longitude":765130816,"raw_latitude":91508760,"longitude_deg":76.5130816,"latitude_deg":9.150876,"altitude":7,"angle":357,"satellites":44,"speed":20,"hex_longitude":"2d9af840","hex_latitude":"05745018","is_valid_coordinates":true} 
[2026-08-05 07:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189089536001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370226442908205056,"note":"Value kept but may cause issues"} 
[2026-08-05 07:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7279998405474109440,"note":"Value kept but may cause issues"} 
[2026-08-05 07:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785894882000,"timestamp_ms":1785894882000,"timestamp_seconds":1785894882,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa14ad0"} 
[2026-08-05 07:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189089536001,"66":27223,"150":206,"85":15872,"24":20,"16":370226442908205056,"45":-7279998405474109440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-05 07:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189089536001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:26:22] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-05 07:26:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370226442908205056,"km_value":370226442908205.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7279998405474109440,"description":"Unknown IO ID 45"} 
[2026-08-05 07:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189089536001,"power":27223,"unknown_150":206,"unknown_85":15872,"ignition":20,"odometer":null,"unknown_45":-7279998405474109440}} 
[2026-08-05 07:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":148274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:26:22] local.INFO: GPS data processed {"connection_id":148274,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:26:22] local.INFO: Acknowledgment sent {"connection_id":148274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:26:52] local.INFO: TCP Data received {"connection_id":148274,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa152a0012d9af78005745430000701592c..."} 
[2026-08-05 07:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa152a0012d9af78005745430000701592c..."} 
[2026-08-05 07:26:52] local.INFO: Processing buffer {"connection_id":148274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa152a0012d9af78005745430000701592c..."} 
[2026-08-05 07:26:52] local.INFO: Packet analysis {"connection_id":148274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa1"} 
[2026-08-05 07:26:52] local.INFO: Extracted packet for processing {"connection_id":148274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa1"} 
[2026-08-05 07:26:52] local.INFO: GPS Element Parsed {"raw_longitude":765130624,"raw_latitude":91509808,"longitude_deg":76.5130624,"latitude_deg":9.1509808,"altitude":7,"angle":345,"satellites":44,"speed":21,"hex_longitude":"2d9af780","hex_latitude":"05745430","is_valid_coordinates":true} 
[2026-08-05 07:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189089792001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370226494447812608,"note":"Value kept but may cause issues"} 
[2026-08-05 07:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7279998405473986560,"note":"Value kept but may cause issues"} 
[2026-08-05 07:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785894884000,"timestamp_ms":1785894884000,"timestamp_seconds":1785894884,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa152a0"} 
[2026-08-05 07:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-05 07:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189089792001,"66":27919,"150":206,"85":15872,"24":21,"16":370226494447812608,"45":-7279998405473986560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-05 07:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189089792001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:26:52] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-05 07:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370226494447812608,"km_value":370226494447812.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7279998405473986560,"description":"Unknown IO ID 45"} 
[2026-08-05 07:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189089792001,"power":27919,"unknown_150":206,"unknown_85":15872,"ignition":21,"odometer":null,"unknown_45":-7279998405473986560}} 
[2026-08-05 07:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":148274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:26:52] local.INFO: GPS data processed {"connection_id":148274,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:26:52] local.INFO: Acknowledgment sent {"connection_id":148274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:27:16] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:27:16] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:27:16] local.INFO: IMEI packet received {"connection_id":148489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":148489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:27:16] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:27:16] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:27:16] local.INFO: IMEI packet received {"connection_id":148489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":148489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:27:21] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:27:21] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:27:21] local.INFO: IMEI packet received {"connection_id":148489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":148489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:27:22] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa16df8012d9af180057463c00007014e2d..."} 
[2026-08-05 07:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa16df8012d9af180057463c00007014e2d..."} 
[2026-08-05 07:27:22] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa16df8012d9af180057463c00007014e2d..."} 
[2026-08-05 07:27:22] local.INFO: Packet analysis {"connection_id":148489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa1"} 
[2026-08-05 07:27:22] local.INFO: Extracted packet for processing {"connection_id":148489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa1"} 
[2026-08-05 07:27:22] local.INFO: GPS Element Parsed {"raw_longitude":765129088,"raw_latitude":91513792,"longitude_deg":76.5129088,"latitude_deg":9.1513792,"altitude":7,"angle":334,"satellites":45,"speed":27,"hex_longitude":"2d9af180","hex_latitude":"057463c0","is_valid_coordinates":true} 
[2026-08-05 07:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189090304001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370226700606242816,"note":"Value kept but may cause issues"} 
[2026-08-05 07:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280209511706251264,"note":"Value kept but may cause issues"} 
[2026-08-05 07:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785894891000,"timestamp_ms":1785894891000,"timestamp_seconds":1785894891,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa16df8"} 
[2026-08-05 07:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 07:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189090304001,"66":27713,"150":206,"85":15872,"24":27,"16":370226700606242816,"45":-7280209511706251264},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-05 07:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189090304001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:27:22] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-05 07:27:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370226700606242816,"km_value":370226700606242.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280209511706251264,"description":"Unknown IO ID 45"} 
[2026-08-05 07:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189090304001,"power":27713,"unknown_150":206,"unknown_85":15872,"ignition":27,"odometer":null,"unknown_45":-7280209511706251264}} 
[2026-08-05 07:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":148489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:27:22] local.INFO: GPS data processed {"connection_id":148489,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:27:22] local.INFO: Acknowledgment sent {"connection_id":148489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:27:58] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa19508012d9ae20005747ca8000601402b..."} 
[2026-08-05 07:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa19508012d9ae20005747ca8000601402b..."} 
[2026-08-05 07:27:58] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa19508012d9ae20005747ca8000601402b..."} 
[2026-08-05 07:27:58] local.INFO: Packet analysis {"connection_id":148489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa1"} 
[2026-08-05 07:27:58] local.INFO: Extracted packet for processing {"connection_id":148489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa1"} 
[2026-08-05 07:27:58] local.INFO: GPS Element Parsed {"raw_longitude":765125120,"raw_latitude":91520168,"longitude_deg":76.512512,"latitude_deg":9.1520168,"altitude":6,"angle":320,"satellites":43,"speed":27,"hex_longitude":"2d9ae200","hex_latitude":"05747ca8","is_valid_coordinates":true} 
[2026-08-05 07:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189092096001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370227065678462976,"note":"Value kept but may cause issues"} 
[2026-08-05 07:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7281898361565495296,"note":"Value kept but may cause issues"} 
[2026-08-05 07:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785894901000,"timestamp_ms":1785894901000,"timestamp_seconds":1785894901,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa19508"} 
[2026-08-05 07:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 07:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189092096001,"66":27071,"150":206,"85":15872,"24":27,"16":370227065678462976,"45":-7281898361565495296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-05 07:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189092096001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:27:58] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-05 07:27:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370227065678462976,"km_value":370227065678463.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7281898361565495296,"description":"Unknown IO ID 45"} 
[2026-08-05 07:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189092096001,"power":27071,"unknown_150":206,"unknown_85":15872,"ignition":27,"odometer":null,"unknown_45":-7281898361565495296}} 
[2026-08-05 07:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":148489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:27:58] local.INFO: GPS data processed {"connection_id":148489,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:27:58] local.INFO: Acknowledgment sent {"connection_id":148489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:28:16] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:28:16] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:28:16] local.INFO: IMEI packet received {"connection_id":148490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":148490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:28:20] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:28:20] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:28:20] local.INFO: IMEI packet received {"connection_id":148490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":148490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:28:20] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa3b7e8012d9a4e8005755b98000701502b..."} 
[2026-08-05 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa3b7e8012d9a4e8005755b98000701502b..."} 
[2026-08-05 07:28:20] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa3b7e8012d9a4e8005755b98000701502b..."} 
[2026-08-05 07:28:20] local.INFO: Packet analysis {"connection_id":148490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa3"} 
[2026-08-05 07:28:20] local.INFO: Extracted packet for processing {"connection_id":148490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa3"} 
[2026-08-05 07:28:20] local.INFO: GPS Element Parsed {"raw_longitude":765087360,"raw_latitude":91577240,"longitude_deg":76.508736,"latitude_deg":9.157724,"altitude":7,"angle":336,"satellites":43,"speed":4,"hex_longitude":"2d9a4e80","hex_latitude":"05755b98","is_valid_coordinates":true} 
[2026-08-05 07:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189125120001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370230505947267072,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7326582514102786048,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785895041000,"timestamp_ms":1785895041000,"timestamp_seconds":1785895041,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa3b7e8"} 
[2026-08-05 07:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 07:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:28: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-08-05 07:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189125120001,"66":27071,"150":206,"85":15872,"24":4,"16":370230505947267072,"45":-7326582514102786048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-05 07:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189125120001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:28:20] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-05 07:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370230505947267072,"km_value":370230505947267.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7326582514102786048,"description":"Unknown IO ID 45"} 
[2026-08-05 07:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189125120001,"power":27071,"unknown_150":206,"unknown_85":15872,"ignition":4,"odometer":null,"unknown_45":-7326582514102786048}} 
[2026-08-05 07:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":148490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:28:20] local.INFO: GPS data processed {"connection_id":148490,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:28:20] local.INFO: Acknowledgment sent {"connection_id":148490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:28:49] local.INFO: TCP Data received {"connection_id":148491,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:28:49] local.INFO: Processing buffer {"connection_id":148491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:28:49] local.INFO: IMEI packet received {"connection_id":148491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":148491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:28:50] local.INFO: TCP Data received {"connection_id":148491,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa4f068012d82a90005d756600005016325..."} 
[2026-08-05 07:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa4f068012d82a90005d756600005016325..."} 
[2026-08-05 07:28:50] local.INFO: Processing buffer {"connection_id":148491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa4f068012d82a90005d756600005016325..."} 
[2026-08-05 07:28:50] local.INFO: Packet analysis {"connection_id":148491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa4"} 
[2026-08-05 07:28:50] local.INFO: Extracted packet for processing {"connection_id":148491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa4"} 
[2026-08-05 07:28:50] local.INFO: GPS Element Parsed {"raw_longitude":763537664,"raw_latitude":97998432,"longitude_deg":76.3537664,"latitude_deg":9.7998432,"altitude":5,"angle":355,"satellites":37,"speed":12,"hex_longitude":"2d82a900","hex_latitude":"05d75660","is_valid_coordinates":true} 
[2026-08-05 07:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189145600001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114870639793274880,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031265340162979840,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785895121000,"timestamp_ms":1785895121000,"timestamp_seconds":1785895121,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa4f068"} 
[2026-08-05 07:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3483631160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193211397,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2754162689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-7687644533835291136,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3221608097,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3600478208,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":105,"raw_value":57885559184315707,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-691301247822888955,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:50] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,156,85,24,241,157,16,26,159,123,45,64,36,7,38,10,66,25,91,128,1,39,56,240,199,227,207,214,4,113,205,51,6,183,112,239,52,2,152,5,33,105,163],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-08-05 07:28:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432733855042961408,"timestamp_seconds":432733855042961.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189145600001,"66":12765,"155":206,"85":15104,"24":12,"16":114870639793274880,"45":-9031265340162979840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 07:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189145600001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:28:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 07:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114870639793274880,"km_value":114870639793274.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031265340162979840,"description":"Unknown IO ID 45"} 
[2026-08-05 07:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189145600001,"power":12765,"unknown_155":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9031265340162979840}} 
[2026-08-05 07:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":148491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:28:50] local.INFO: GPS data processed {"connection_id":148491,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:28:50] local.INFO: Acknowledgment sent {"connection_id":148491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:28:52] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa409f0012d9a410005757d200007014f28..."} 
[2026-08-05 07:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa409f0012d9a410005757d200007014f28..."} 
[2026-08-05 07:28:52] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa409f0012d9a410005757d200007014f28..."} 
[2026-08-05 07:28:52] local.INFO: Packet analysis {"connection_id":148490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa4"} 
[2026-08-05 07:28:52] local.INFO: Extracted packet for processing {"connection_id":148490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa4"} 
[2026-08-05 07:28:52] local.INFO: GPS Element Parsed {"raw_longitude":765083904,"raw_latitude":91585824,"longitude_deg":76.5083904,"latitude_deg":9.1585824,"altitude":7,"angle":335,"satellites":40,"speed":32,"hex_longitude":"2d9a4100","hex_latitude":"05757d20","is_valid_coordinates":true} 
[2026-08-05 07:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189130496001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370230956918833152,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7327778782753089536,"note":"Value kept but may cause issues"} 
[2026-08-05 07:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785895062000,"timestamp_ms":1785895062000,"timestamp_seconds":1785895062,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa409f0"} 
[2026-08-05 07:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-05 07:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189130496001,"66":27908,"111":206,"85":15872,"24":32,"16":370230956918833152,"45":-7327778782753089536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-05 07:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189130496001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:28:52] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-05 07:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370230956918833152,"km_value":370230956918833.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7327778782753089536,"description":"Unknown IO ID 45"} 
[2026-08-05 07:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189130496001,"power":27908,"unknown_111":206,"unknown_85":15872,"ignition":32,"odometer":null,"unknown_45":-7327778782753089536}} 
[2026-08-05 07:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":148490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:28:52] local.INFO: GPS data processed {"connection_id":148490,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:28:52] local.INFO: Acknowledgment sent {"connection_id":148490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:29:18] local.INFO: TCP Data received {"connection_id":150906,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:29:18] local.INFO: Processing buffer {"connection_id":150906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:29:18] local.INFO: IMEI packet received {"connection_id":150906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":150906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:29:18] local.INFO: TCP Data received {"connection_id":150906,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:29:18] local.INFO: Processing buffer {"connection_id":150906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:29:18] local.INFO: IMEI packet received {"connection_id":150906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":150906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:29:20] local.INFO: TCP Data received {"connection_id":148491,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa4f838012d82a88005d758980005015725..."} 
[2026-08-05 07:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa4f838012d82a88005d758980005015725..."} 
[2026-08-05 07:29:20] local.INFO: Processing buffer {"connection_id":148491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa4f838012d82a88005d758980005015725..."} 
[2026-08-05 07:29:20] local.INFO: Packet analysis {"connection_id":148491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa4"} 
[2026-08-05 07:29:20] local.INFO: Extracted packet for processing {"connection_id":148491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa4"} 
[2026-08-05 07:29:20] local.INFO: GPS Element Parsed {"raw_longitude":763537536,"raw_latitude":97999000,"longitude_deg":76.3537536,"latitude_deg":9.7999,"altitude":5,"angle":343,"satellites":37,"speed":9,"hex_longitude":"2d82a880","hex_latitude":"05d75898","is_valid_coordinates":true} 
[2026-08-05 07:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189150976001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114870669858045952,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031687552627220480,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785895123000,"timestamp_ms":1785895123000,"timestamp_seconds":1785895123,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa4f838"} 
[2026-08-05 07:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-05 07:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189150976001,"66":13059,"155":206,"85":15104,"24":9,"16":114870669858045952,"45":-9031687552627220480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 07:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189150976001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:29:20] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 07:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114870669858045952,"km_value":114870669858045.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031687552627220480,"description":"Unknown IO ID 45"} 
[2026-08-05 07:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189150976001,"power":13059,"unknown_155":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9031687552627220480}} 
[2026-08-05 07:29:20] local.INFO: TCP Data received {"connection_id":150906,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:29:20] local.INFO: Processing buffer {"connection_id":150906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:29:20] local.INFO: IMEI packet received {"connection_id":150906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":150906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":148491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:29:21] local.INFO: GPS data processed {"connection_id":148491,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:29:21] local.INFO: Acknowledgment sent {"connection_id":148491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:29:39] local.INFO: TCP Data received {"connection_id":150906,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa409f0012d9a410005757d200007014f28..."} 
[2026-08-05 07:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa409f0012d9a410005757d200007014f28..."} 
[2026-08-05 07:29:39] local.INFO: Processing buffer {"connection_id":150906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa409f0012d9a410005757d200007014f28..."} 
[2026-08-05 07:29:39] local.INFO: Packet analysis {"connection_id":150906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa4"} 
[2026-08-05 07:29:39] local.INFO: Extracted packet for processing {"connection_id":150906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa4"} 
[2026-08-05 07:29:39] local.INFO: GPS Element Parsed {"raw_longitude":765083904,"raw_latitude":91585824,"longitude_deg":76.5083904,"latitude_deg":9.1585824,"altitude":7,"angle":335,"satellites":40,"speed":32,"hex_longitude":"2d9a4100","hex_latitude":"05757d20","is_valid_coordinates":true} 
[2026-08-05 07:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189135872001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370230956918833152,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7331578694936485888,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785895062000,"timestamp_ms":1785895062000,"timestamp_seconds":1785895062,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa409f0"} 
[2026-08-05 07:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189135872001,"66":27908,"111":206,"85":15872,"24":32,"16":370230956918833152,"45":-7331578694936485888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-05 07:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189135872001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:29:39] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-05 07:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370230956918833152,"km_value":370230956918833.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7331578694936485888,"description":"Unknown IO ID 45"} 
[2026-08-05 07:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189135872001,"power":27908,"unknown_111":206,"unknown_85":15872,"ignition":32,"odometer":null,"unknown_45":-7331578694936485888}} 
[2026-08-05 07:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":150906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:29:39] local.INFO: GPS data processed {"connection_id":150906,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:29:39] local.INFO: Acknowledgment sent {"connection_id":150906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:29:44] local.INFO: TCP Data received {"connection_id":148276,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:44] local.INFO: Processing buffer {"connection_id":148276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:44] local.INFO: IMEI packet received {"connection_id":148276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":148276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:29:46] local.INFO: TCP Data received {"connection_id":148276,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:46] local.INFO: Processing buffer {"connection_id":148276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:46] local.INFO: IMEI packet received {"connection_id":148276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":148276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:29:48] local.INFO: TCP Data received {"connection_id":148276,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:48] local.INFO: Processing buffer {"connection_id":148276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:48] local.INFO: IMEI packet received {"connection_id":148276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":148276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:29:49] local.INFO: TCP Data received {"connection_id":148276,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:49] local.INFO: Processing buffer {"connection_id":148276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:29:49] local.INFO: IMEI packet received {"connection_id":148276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":148276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:29:49] local.INFO: TCP Data received {"connection_id":148276,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa503f0012d82a84005d75a400005016326..."} 
[2026-08-05 07:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa503f0012d82a84005d75a400005016326..."} 
[2026-08-05 07:29:49] local.INFO: Processing buffer {"connection_id":148276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa503f0012d82a84005d75a400005016326..."} 
[2026-08-05 07:29:49] local.INFO: Packet analysis {"connection_id":148276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:29:49] local.INFO: Extracted packet for processing {"connection_id":148276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:29:49] local.INFO: GPS Element Parsed {"raw_longitude":763537472,"raw_latitude":97999424,"longitude_deg":76.3537472,"latitude_deg":9.7999424,"altitude":5,"angle":355,"satellites":38,"speed":0,"hex_longitude":"2d82a840","hex_latitude":"05d75a40","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189151488001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114870691332882432,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031828290115430400,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785895126000,"timestamp_ms":1785895126000,"timestamp_seconds":1785895126,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa503f0"} 
[2026-08-05 07:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165009350054,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3483642160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3603369984,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58077557095399475,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2757490689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3489738114,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2147866331,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718630,"note":"Value kept but may cause issues"} 
[2026-08-05 07:29:49] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,155,85,24,241,157,16,26,159,240,45,86,5,37,10,66,158,128,73,6,38,156,123,64,1,160,227,25,207,215,4,113,205,56,185,8,39,239,49,2,152,51],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-08-05 07:29:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360665261592346624,"timestamp_seconds":360665261592346.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189151488001,"66":12765,"155":206,"85":15104,"24":0,"16":114870691332882432,"45":-9031828290115430400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 07:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189151488001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:29:49] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 07:29:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114870691332882432,"km_value":114870691332882.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031828290115430400,"description":"Unknown IO ID 45"} 
[2026-08-05 07:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189151488001,"power":12765,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9031828290115430400}} 
[2026-08-05 07:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":148276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:29:49] local.INFO: GPS data processed {"connection_id":148276,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:29:49] local.INFO: Acknowledgment sent {"connection_id":148276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:30:15] local.INFO: TCP Data received {"connection_id":149494,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:30:15] local.INFO: Processing buffer {"connection_id":149494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:30:15] local.INFO: IMEI packet received {"connection_id":149494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":149494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:30:20] local.INFO: TCP Data received {"connection_id":148276,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa55210012d82a84005d75a300005016326..."} 
[2026-08-05 07:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa55210012d82a84005d75a300005016326..."} 
[2026-08-05 07:30:20] local.INFO: Processing buffer {"connection_id":148276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa55210012d82a84005d75a300005016326..."} 
[2026-08-05 07:30:20] local.INFO: Packet analysis {"connection_id":148276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:30:20] local.INFO: Extracted packet for processing {"connection_id":148276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:30:20] local.INFO: GPS Element Parsed {"raw_longitude":763537472,"raw_latitude":97999408,"longitude_deg":76.3537472,"latitude_deg":9.7999408,"altitude":5,"angle":355,"satellites":38,"speed":0,"hex_longitude":"2d82a840","hex_latitude":"05d75a30","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189152256001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114870691332882432,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031898658859499520,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785895146000,"timestamp_ms":1785895146000,"timestamp_seconds":1785895146,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa55210"} 
[2026-08-05 07:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-05 07:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189152256001,"66":13189,"155":206,"85":15104,"24":0,"16":114870691332882432,"45":-9031898658859499520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 07:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189152256001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:30:20] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 07:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114870691332882432,"km_value":114870691332882.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031898658859499520,"description":"Unknown IO ID 45"} 
[2026-08-05 07:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189152256001,"power":13189,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9031898658859499520}} 
[2026-08-05 07:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":148276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:30:20] local.INFO: GPS data processed {"connection_id":148276,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:30:20] local.INFO: Acknowledgment sent {"connection_id":148276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:30:21] local.INFO: TCP Data received {"connection_id":149494,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:30:21] local.INFO: Processing buffer {"connection_id":149494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:30:21] local.INFO: IMEI packet received {"connection_id":149494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":149494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:30:21] local.INFO: TCP Data received {"connection_id":149494,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa532d0012d995c0005766758000601422c..."} 
[2026-08-05 07:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa532d0012d995c0005766758000601422c..."} 
[2026-08-05 07:30:21] local.INFO: Processing buffer {"connection_id":149494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa532d0012d995c0005766758000601422c..."} 
[2026-08-05 07:30:21] local.INFO: Packet analysis {"connection_id":149494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:30:21] local.INFO: Extracted packet for processing {"connection_id":149494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:30:21] local.INFO: GPS Element Parsed {"raw_longitude":765025280,"raw_latitude":91645784,"longitude_deg":76.502528,"latitude_deg":9.1645784,"altitude":6,"angle":322,"satellites":44,"speed":46,"hex_longitude":"2d995c00","hex_latitude":"05766758","is_valid_coordinates":true} 
[2026-08-05 07:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189153280001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370235067202535424,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7389844015102132224,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785895138000,"timestamp_ms":1785895138000,"timestamp_seconds":1785895138,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa532d0"} 
[2026-08-05 07:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:30: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-08-05 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-05 07:30: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-08-05 07:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:30: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-08-05 07:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189153280001,"66":27745,"60":206,"85":15872,"24":46,"16":370235067202535424,"45":-7389844015102132224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-05 07:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189153280001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:30:21] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-05 07:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370235067202535424,"km_value":370235067202535.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7389844015102132224,"description":"Unknown IO ID 45"} 
[2026-08-05 07:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189153280001,"power":27745,"unknown_60":206,"unknown_85":15872,"ignition":46,"odometer":null,"unknown_45":-7389844015102132224}} 
[2026-08-05 07:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":149494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:30:21] local.INFO: GPS data processed {"connection_id":149494,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:30:21] local.INFO: Acknowledgment sent {"connection_id":149494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:30:49] local.INFO: TCP Data received {"connection_id":149495,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:30:49] local.INFO: Processing buffer {"connection_id":149495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:30:49] local.INFO: IMEI packet received {"connection_id":149495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":149495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:30:53] local.INFO: TCP Data received {"connection_id":149495,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:30:53] local.INFO: Processing buffer {"connection_id":149495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:30:53] local.INFO: IMEI packet received {"connection_id":149495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":149495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:30:54] local.INFO: TCP Data received {"connection_id":149495,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa69e18012d82b2c005d71a30000900ab23..."} 
[2026-08-05 07:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa69e18012d82b2c005d71a30000900ab23..."} 
[2026-08-05 07:30:54] local.INFO: Processing buffer {"connection_id":149495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa69e18012d82b2c005d71a30000900ab23..."} 
[2026-08-05 07:30:54] local.INFO: Packet analysis {"connection_id":149495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:30:54] local.INFO: Extracted packet for processing {"connection_id":149495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763540160,"raw_latitude":97983024,"longitude_deg":76.354016,"latitude_deg":9.7983024,"altitude":9,"angle":171,"satellites":35,"speed":33,"hex_longitude":"2d82b2c0","hex_latitude":"05d71a30","is_valid_coordinates":true} 
[2026-08-05 07:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189176576001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114872353485225984,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030350546489520128,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785895231000,"timestamp_ms":1785895231000,"timestamp_seconds":1785895231,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa69e18"} 
[2026-08-05 07:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-05 07:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189176576001,"66":13363,"155":206,"85":15104,"24":33,"16":114872353485225984,"45":-9030350546489520128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189176576001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114872353485225984,"km_value":114872353485225.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030350546489520128,"description":"Unknown IO ID 45"} 
[2026-08-05 07:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189176576001,"power":13363,"unknown_155":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9030350546489520128}} 
[2026-08-05 07:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":149495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:30:54] local.INFO: GPS data processed {"connection_id":149495,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:30:54] local.INFO: Acknowledgment sent {"connection_id":149495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:30:54] local.INFO: TCP Data received {"connection_id":149494,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa555f8012d99428005768918000701432b..."} 
[2026-08-05 07:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa555f8012d99428005768918000701432b..."} 
[2026-08-05 07:30:54] local.INFO: Processing buffer {"connection_id":149494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa555f8012d99428005768918000701432b..."} 
[2026-08-05 07:30:54] local.INFO: Packet analysis {"connection_id":149494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:30:54] local.INFO: Extracted packet for processing {"connection_id":149494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:30:54] local.INFO: GPS Element Parsed {"raw_longitude":765018752,"raw_latitude":91654424,"longitude_deg":76.5018752,"latitude_deg":9.1654424,"altitude":7,"angle":323,"satellites":43,"speed":47,"hex_longitude":"2d994280","hex_latitude":"05768918","is_valid_coordinates":true} 
[2026-08-05 07:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189155328001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370235591188545536,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7396036464587876352,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785895147000,"timestamp_ms":1785895147000,"timestamp_seconds":1785895147,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa555f8"} 
[2026-08-05 07:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 07:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189155328001,"66":27930,"60":206,"85":15872,"24":47,"16":370235591188545536,"45":-7396036464587876352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189155328001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370235591188545536,"km_value":370235591188545.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7396036464587876352,"description":"Unknown IO ID 45"} 
[2026-08-05 07:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189155328001,"power":27930,"unknown_60":206,"unknown_85":15872,"ignition":47,"odometer":null,"unknown_45":-7396036464587876352}} 
[2026-08-05 07:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":149494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:30:54] local.INFO: GPS data processed {"connection_id":149494,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:30:54] local.INFO: Acknowledgment sent {"connection_id":149494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:30:54] local.INFO: TCP Data received {"connection_id":149495,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa6c910012d82b8c005d6f728000800a823..."} 
[2026-08-05 07:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa6c910012d82b8c005d6f728000800a823..."} 
[2026-08-05 07:30:54] local.INFO: Processing buffer {"connection_id":149495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa6c910012d82b8c005d6f728000800a823..."} 
[2026-08-05 07:30:54] local.INFO: Packet analysis {"connection_id":149495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:30:54] local.INFO: Extracted packet for processing {"connection_id":149495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763541696,"raw_latitude":97974056,"longitude_deg":76.3541696,"latitude_deg":9.7974056,"altitude":8,"angle":168,"satellites":35,"speed":30,"hex_longitude":"2d82b8c0","hex_latitude":"05d6f728","is_valid_coordinates":true} 
[2026-08-05 07:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189179136001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114872795866857472,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028943171608236032,"note":"Value kept but may cause issues"} 
[2026-08-05 07:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785895242000,"timestamp_ms":1785895242000,"timestamp_seconds":1785895242,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa6c910"} 
[2026-08-05 07:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-05 07:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189179136001,"66":13222,"155":206,"85":15104,"24":30,"16":114872795866857472,"45":-9028943171608236032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 07:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189179136001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114872795866857472,"km_value":114872795866857.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028943171608236032,"description":"Unknown IO ID 45"} 
[2026-08-05 07:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189179136001,"power":13222,"unknown_155":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9028943171608236032}} 
[2026-08-05 07:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":149495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:30:54] local.INFO: GPS data processed {"connection_id":149495,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:30:54] local.INFO: Acknowledgment sent {"connection_id":149495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:31:21] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:31:21] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:31:21] local.INFO: IMEI packet received {"connection_id":148492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":148492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:31:25] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:31:25] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:31:25] local.INFO: IMEI packet received {"connection_id":148492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":148492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:31:25] local.INFO: TCP Data received {"connection_id":149495,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa6ec38012d82bc0005d6e798000900bc24..."} 
[2026-08-05 07:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa6ec38012d82bc0005d6e798000900bc24..."} 
[2026-08-05 07:31:25] local.INFO: Processing buffer {"connection_id":149495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa6ec38012d82bc0005d6e798000900bc24..."} 
[2026-08-05 07:31:25] local.INFO: Packet analysis {"connection_id":149495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:31:25] local.INFO: Extracted packet for processing {"connection_id":149495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763542528,"raw_latitude":97970072,"longitude_deg":76.3542528,"latitude_deg":9.7970072,"altitude":9,"angle":188,"satellites":36,"speed":7,"hex_longitude":"2d82bc00","hex_latitude":"05d6e798","is_valid_coordinates":true} 
[2026-08-05 07:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189181952001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114872993435353088,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027254321750267904,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31: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-08-05 07:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785895251000,"timestamp_ms":1785895251000,"timestamp_seconds":1785895251,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa6ec38"} 
[2026-08-05 07:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07: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-08-05 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-05 07:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189181952001,"66":13341,"156":206,"85":15104,"24":7,"16":114872993435353088,"45":-9027254321750267904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 07:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189181952001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:31:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 07:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114872993435353088,"km_value":114872993435353.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027254321750267904,"description":"Unknown IO ID 45"} 
[2026-08-05 07:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189181952001,"power":13341,"unknown_156":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9027254321750267904}} 
[2026-08-05 07:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":149495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:31:25] local.INFO: GPS data processed {"connection_id":149495,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:31:25] local.INFO: Acknowledgment sent {"connection_id":149495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:31:26] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa57538012d992e400576a578000701452b..."} 
[2026-08-05 07:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa57538012d992e400576a578000701452b..."} 
[2026-08-05 07:31:26] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa57538012d992e400576a578000701452b..."} 
[2026-08-05 07:31:26] local.INFO: Packet analysis {"connection_id":148492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:31:26] local.INFO: Extracted packet for processing {"connection_id":148492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:31:26] local.INFO: GPS Element Parsed {"raw_longitude":765013568,"raw_latitude":91661688,"longitude_deg":76.5013568,"latitude_deg":9.1661688,"altitude":7,"angle":325,"satellites":43,"speed":41,"hex_longitude":"2d992e40","hex_latitude":"0576a578","is_valid_coordinates":true} 
[2026-08-05 07:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189157632001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370236020685275136,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7403214076491786240,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785895155000,"timestamp_ms":1785895155000,"timestamp_seconds":1785895155,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa57538"} 
[2026-08-05 07:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 07:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189157632001,"66":27876,"60":206,"85":15872,"24":41,"16":370236020685275136,"45":-7403214076491786240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-05 07:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189157632001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:31:26] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-05 07:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370236020685275136,"km_value":370236020685275.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7403214076491786240,"description":"Unknown IO ID 45"} 
[2026-08-05 07:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189157632001,"power":27876,"unknown_60":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7403214076491786240}} 
[2026-08-05 07:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":148492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:31:26] local.INFO: GPS data processed {"connection_id":148492,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:31:26] local.INFO: Acknowledgment sent {"connection_id":148492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:31:27] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa59860012d9919800576c440000601462c..."} 
[2026-08-05 07:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa59860012d9919800576c440000601462c..."} 
[2026-08-05 07:31:27] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa59860012d9919800576c440000601462c..."} 
[2026-08-05 07:31:27] local.INFO: Packet analysis {"connection_id":148492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:31:27] local.INFO: Extracted packet for processing {"connection_id":148492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:31:27] local.INFO: GPS Element Parsed {"raw_longitude":765008256,"raw_latitude":91669568,"longitude_deg":76.5008256,"latitude_deg":9.1669568,"altitude":6,"angle":326,"satellites":44,"speed":41,"hex_longitude":"2d991980","hex_latitude":"0576c440","is_valid_coordinates":true} 
[2026-08-05 07:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189159680001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370236480246775808,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7408913944768317440,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785895164000,"timestamp_ms":1785895164000,"timestamp_seconds":1785895164,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa59860"} 
[2026-08-05 07:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189159680001,"66":27908,"60":206,"85":15872,"24":41,"16":370236480246775808,"45":-7408913944768317440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-05 07:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189159680001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:31:27] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-05 07:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370236480246775808,"km_value":370236480246775.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7408913944768317440,"description":"Unknown IO ID 45"} 
[2026-08-05 07:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189159680001,"power":27908,"unknown_60":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7408913944768317440}} 
[2026-08-05 07:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":148492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:31:27] local.INFO: GPS data processed {"connection_id":148492,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:31:27] local.INFO: Acknowledgment sent {"connection_id":148492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:31:42] local.INFO: TCP Data received {"connection_id":150907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:31:42] local.INFO: Processing buffer {"connection_id":150907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:31:42] local.INFO: IMEI packet received {"connection_id":150907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":150907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:31:44] local.INFO: TCP Data received {"connection_id":150907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:31:44] local.INFO: Processing buffer {"connection_id":150907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:31:44] local.INFO: IMEI packet received {"connection_id":150907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":150907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:31:49] local.INFO: TCP Data received {"connection_id":150907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:31:49] local.INFO: Processing buffer {"connection_id":150907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:31:49] local.INFO: IMEI packet received {"connection_id":150907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":150907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:31:50] local.INFO: TCP Data received {"connection_id":150907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa6f020012d82bbc005d6e6f0000900dd25..."} 
[2026-08-05 07:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa6f020012d82bbc005d6e6f0000900dd25..."} 
[2026-08-05 07:31:50] local.INFO: Processing buffer {"connection_id":150907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa6f020012d82bbc005d6e6f0000900dd25..."} 
[2026-08-05 07:31:50] local.INFO: Packet analysis {"connection_id":150907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:31:50] local.INFO: Extracted packet for processing {"connection_id":150907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:31:50] local.INFO: GPS Element Parsed {"raw_longitude":763542464,"raw_latitude":97969904,"longitude_deg":76.3542464,"latitude_deg":9.7969904,"altitude":9,"angle":221,"satellites":37,"speed":8,"hex_longitude":"2d82bbc0","hex_latitude":"05d6e6f0","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189184256001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114873002025287680,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026339528076978176,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785895252000,"timestamp_ms":1785895252000,"timestamp_seconds":1785895252,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa6f020"} 
[2026-08-05 07:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-05 07:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189184256001,"66":13341,"156":206,"85":15104,"24":8,"16":114873002025287680,"45":-9026339528076978176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 07:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189184256001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:31:50] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 07:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114873002025287680,"km_value":114873002025287.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026339528076978176,"description":"Unknown IO ID 45"} 
[2026-08-05 07:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189184256001,"power":13341,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9026339528076978176}} 
[2026-08-05 07:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":150907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:31:50] local.INFO: GPS data processed {"connection_id":150907,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:31:50] local.INFO: Acknowledgment sent {"connection_id":150907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:31:54] local.INFO: TCP Data received {"connection_id":150907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa6f408012d82bb0005d6e670000900f225..."} 
[2026-08-05 07:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa6f408012d82bb0005d6e670000900f225..."} 
[2026-08-05 07:31:54] local.INFO: Processing buffer {"connection_id":150907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa6f408012d82bb0005d6e670000900f225..."} 
[2026-08-05 07:31:54] local.INFO: Packet analysis {"connection_id":150907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:31:54] local.INFO: Extracted packet for processing {"connection_id":150907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":97969776,"longitude_deg":76.3542272,"latitude_deg":9.7969776,"altitude":9,"angle":242,"satellites":37,"speed":7,"hex_longitude":"2d82bb00","hex_latitude":"05d6e670","is_valid_coordinates":true} 
[2026-08-05 07:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189184512001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114873014910189568,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026409896821198848,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785895253000,"timestamp_ms":1785895253000,"timestamp_seconds":1785895253,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa6f408"} 
[2026-08-05 07:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-05 07:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":150907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":150907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":150907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189184512001,"66":13341,"156":206,"85":15104,"24":7,"16":114873014910189568,"45":-9026409896821198848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 07:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189184512001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:31:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 07:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114873014910189568,"km_value":114873014910189.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026409896821198848,"description":"Unknown IO ID 45"} 
[2026-08-05 07:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189184512001,"power":13341,"unknown_156":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9026409896821198848}} 
[2026-08-05 07:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":150907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:31:54] local.INFO: GPS data processed {"connection_id":150907,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:31:54] local.INFO: Acknowledgment sent {"connection_id":150907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:31:58] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa5bf70012d9904000576e4100007014429..."} 
[2026-08-05 07:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa5bf70012d9904000576e4100007014429..."} 
[2026-08-05 07:31:58] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa5bf70012d9904000576e4100007014429..."} 
[2026-08-05 07:31:58] local.INFO: Packet analysis {"connection_id":148492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:31:58] local.INFO: Extracted packet for processing {"connection_id":148492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:31:58] local.INFO: GPS Element Parsed {"raw_longitude":765002752,"raw_latitude":91677712,"longitude_deg":76.5002752,"latitude_deg":9.1677712,"altitude":7,"angle":324,"satellites":41,"speed":36,"hex_longitude":"2d990400","hex_latitude":"0576e410","is_valid_coordinates":true} 
[2026-08-05 07:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189161984001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370236956988145664,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7414754550533046272,"note":"Value kept but may cause issues"} 
[2026-08-05 07:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785895174000,"timestamp_ms":1785895174000,"timestamp_seconds":1785895174,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa5bf70"} 
[2026-08-05 07:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189161984001,"66":27843,"60":206,"85":15872,"24":36,"16":370236956988145664,"45":-7414754550533046272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-05 07:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189161984001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:31:58] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-05 07:31:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370236956988145664,"km_value":370236956988145.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7414754550533046272,"description":"Unknown IO ID 45"} 
[2026-08-05 07:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189161984001,"power":27843,"unknown_60":206,"unknown_85":15872,"ignition":36,"odometer":null,"unknown_45":-7414754550533046272}} 
[2026-08-05 07:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":148492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:31:58] local.INFO: GPS data processed {"connection_id":148492,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:31:58] local.INFO: Acknowledgment sent {"connection_id":148492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:32:16] local.INFO: TCP Data received {"connection_id":148277,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:32:16] local.INFO: Processing buffer {"connection_id":148277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:32:16] local.INFO: IMEI packet received {"connection_id":148277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":148277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:32:16] local.INFO: TCP Data received {"connection_id":148277,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:32:16] local.INFO: Processing buffer {"connection_id":148277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:32:16] local.INFO: IMEI packet received {"connection_id":148277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":148277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:32:20] local.INFO: TCP Data received {"connection_id":148277,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:32:20] local.INFO: Processing buffer {"connection_id":148277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:32:20] local.INFO: IMEI packet received {"connection_id":148277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":148277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:32:21] local.INFO: TCP Data received {"connection_id":148277,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa5f238012d98ed40057704f00007014428..."} 
[2026-08-05 07:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa5f238012d98ed40057704f00007014428..."} 
[2026-08-05 07:32:21] local.INFO: Processing buffer {"connection_id":148277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa5f238012d98ed40057704f00007014428..."} 
[2026-08-05 07:32:21] local.INFO: Packet analysis {"connection_id":148277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:32:21] local.INFO: Extracted packet for processing {"connection_id":148277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa5"} 
[2026-08-05 07:32:21] local.INFO: GPS Element Parsed {"raw_longitude":764996928,"raw_latitude":91686128,"longitude_deg":76.4996928,"latitude_deg":9.1686128,"altitude":7,"angle":324,"satellites":40,"speed":27,"hex_longitude":"2d98ed40","hex_latitude":"057704f0","is_valid_coordinates":true} 
[2026-08-05 07:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189164544001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370237450909384704,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7420806262530240512,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785895187000,"timestamp_ms":1785895187000,"timestamp_seconds":1785895187,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa5f238"} 
[2026-08-05 07:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:32: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-08-05 07:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 07:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:32: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-08-05 07:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189164544001,"66":27876,"60":206,"85":15872,"24":27,"16":370237450909384704,"45":-7420806262530240512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-05 07:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189164544001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:32:21] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-05 07:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370237450909384704,"km_value":370237450909384.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7420806262530240512,"description":"Unknown IO ID 45"} 
[2026-08-05 07:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189164544001,"power":27876,"unknown_60":206,"unknown_85":15872,"ignition":27,"odometer":null,"unknown_45":-7420806262530240512}} 
[2026-08-05 07:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":148277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:32:21] local.INFO: GPS data processed {"connection_id":148277,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:32:21] local.INFO: Acknowledgment sent {"connection_id":148277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:32:25] local.INFO: TCP Data received {"connection_id":150907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa6f7f0012d82ba4005d6e6380009010425..."} 
[2026-08-05 07:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa6f7f0012d82ba4005d6e6380009010425..."} 
[2026-08-05 07:32:25] local.INFO: Processing buffer {"connection_id":150907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa6f7f0012d82ba4005d6e6380009010425..."} 
[2026-08-05 07:32:25] local.INFO: Packet analysis {"connection_id":150907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:32:25] local.INFO: Extracted packet for processing {"connection_id":150907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763542080,"raw_latitude":97969720,"longitude_deg":76.354208,"latitude_deg":9.796972,"altitude":9,"angle":260,"satellites":37,"speed":7,"hex_longitude":"2d82ba40","hex_latitude":"05d6e638","is_valid_coordinates":true} 
[2026-08-05 07:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189184768001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114873023500124160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026621003053764608,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32: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-08-05 07:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785895254000,"timestamp_ms":1785895254000,"timestamp_seconds":1785895254,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa6f7f0"} 
[2026-08-05 07:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:32: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-08-05 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-05 07:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189184768001,"66":13341,"156":206,"85":15104,"24":7,"16":114873023500124160,"45":-9026621003053764608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 07:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189184768001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:32:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 07:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114873023500124160,"km_value":114873023500124.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026621003053764608,"description":"Unknown IO ID 45"} 
[2026-08-05 07:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189184768001,"power":13341,"unknown_156":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9026621003053764608}} 
[2026-08-05 07:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":150907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:32:25] local.INFO: GPS data processed {"connection_id":150907,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:32:25] local.INFO: Acknowledgment sent {"connection_id":150907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:32:26] local.INFO: TCP Data received {"connection_id":148277,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa64440012d98dcc005771c98000601462c..."} 
[2026-08-05 07:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa64440012d98dcc005771c98000601462c..."} 
[2026-08-05 07:32:26] local.INFO: Processing buffer {"connection_id":148277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa64440012d98dcc005771c98000601462c..."} 
[2026-08-05 07:32:26] local.INFO: Packet analysis {"connection_id":148277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:32:26] local.INFO: Extracted packet for processing {"connection_id":148277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:32:26] local.INFO: GPS Element Parsed {"raw_longitude":764992704,"raw_latitude":91692184,"longitude_deg":76.4992704,"latitude_deg":9.1692184,"altitude":6,"angle":326,"satellites":44,"speed":14,"hex_longitude":"2d98dcc0","hex_latitude":"05771c98","is_valid_coordinates":true} 
[2026-08-05 07:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189167872001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370237807391670272,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7427209818248253440,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785895208000,"timestamp_ms":1785895208000,"timestamp_seconds":1785895208,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa64440"} 
[2026-08-05 07:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189167872001,"66":27995,"60":206,"85":15872,"24":14,"16":370237807391670272,"45":-7427209818248253440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-08-05 07:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189167872001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:32:26] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-05 07:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370237807391670272,"km_value":370237807391670.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7427209818248253440,"description":"Unknown IO ID 45"} 
[2026-08-05 07:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189167872001,"power":27995,"unknown_60":206,"unknown_85":15872,"ignition":14,"odometer":null,"unknown_45":-7427209818248253440}} 
[2026-08-05 07:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":148277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:32:26] local.INFO: GPS data processed {"connection_id":148277,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:32:26] local.INFO: Acknowledgment sent {"connection_id":148277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:32:44] local.INFO: TCP Data received {"connection_id":150908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:32:44] local.INFO: Processing buffer {"connection_id":150908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:32:44] local.INFO: IMEI packet received {"connection_id":150908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":150908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:32:46] local.INFO: TCP Data received {"connection_id":150908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:32:46] local.INFO: Processing buffer {"connection_id":150908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:32:46] local.INFO: IMEI packet received {"connection_id":150908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":150908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:32:47] local.INFO: TCP Data received {"connection_id":150908,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa85780012d82ac0005d742080006015f26..."} 
[2026-08-05 07:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa85780012d82ac0005d742080006015f26..."} 
[2026-08-05 07:32:47] local.INFO: Processing buffer {"connection_id":150908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa85780012d82ac0005d742080006015f26..."} 
[2026-08-05 07:32:47] local.INFO: Packet analysis {"connection_id":150908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:32:47] local.INFO: Extracted packet for processing {"connection_id":150908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763538432,"raw_latitude":97993224,"longitude_deg":76.3538432,"latitude_deg":9.7993224,"altitude":6,"angle":351,"satellites":38,"speed":45,"hex_longitude":"2d82ac00","hex_latitude":"05d74208","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189206016001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874187436261376,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029295015328794624,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785895344000,"timestamp_ms":1785895344000,"timestamp_seconds":1785895344,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa85780"} 
[2026-08-05 07:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:32: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-08-05 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-05 07:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189206016001,"66":13656,"156":206,"85":15104,"24":45,"16":114874187436261376,"45":-9029295015328794624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 07:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189206016001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:32:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 07:32:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874187436261376,"km_value":114874187436261.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029295015328794624,"description":"Unknown IO ID 45"} 
[2026-08-05 07:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189206016001,"power":13656,"unknown_156":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9029295015328794624}} 
[2026-08-05 07:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":150908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:32:47] local.INFO: GPS data processed {"connection_id":150908,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:32:47] local.INFO: Acknowledgment sent {"connection_id":150908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:32:57] local.INFO: TCP Data received {"connection_id":148277,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa68a90012d98c80005773980000601442a..."} 
[2026-08-05 07:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa68a90012d98c80005773980000601442a..."} 
[2026-08-05 07:32:57] local.INFO: Processing buffer {"connection_id":148277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa68a90012d98c80005773980000601442a..."} 
[2026-08-05 07:32:57] local.INFO: Packet analysis {"connection_id":148277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:32:57] local.INFO: Extracted packet for processing {"connection_id":148277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa6"} 
[2026-08-05 07:32:57] local.INFO: GPS Element Parsed {"raw_longitude":764987392,"raw_latitude":91699584,"longitude_deg":76.4987392,"latitude_deg":9.1699584,"altitude":6,"angle":324,"satellites":42,"speed":12,"hex_longitude":"2d98c800","hex_latitude":"05773980","is_valid_coordinates":true} 
[2026-08-05 07:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189173248001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370238245478334464,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7431854155362428928,"note":"Value kept but may cause issues"} 
[2026-08-05 07:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785895226000,"timestamp_ms":1785895226000,"timestamp_seconds":1785895226,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa68a90"} 
[2026-08-05 07:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 07:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189173248001,"66":27800,"161":206,"85":15872,"24":12,"16":370238245478334464,"45":-7431854155362428928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-08-05 07:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189173248001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:32:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-05 07:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370238245478334464,"km_value":370238245478334.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7431854155362428928,"description":"Unknown IO ID 45"} 
[2026-08-05 07:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189173248001,"power":27800,"unknown_161":206,"unknown_85":15872,"ignition":12,"odometer":null,"unknown_45":-7431854155362428928}} 
[2026-08-05 07:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":148277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:32:57] local.INFO: GPS data processed {"connection_id":148277,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:32:57] local.INFO: Acknowledgment sent {"connection_id":148277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:33:16] local.INFO: TCP Data received {"connection_id":149496,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:33:16] local.INFO: Processing buffer {"connection_id":149496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:33:16] local.INFO: IMEI packet received {"connection_id":149496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":149496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:33:18] local.INFO: TCP Data received {"connection_id":150908,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa87aa8012d82a7c005d765100005016326..."} 
[2026-08-05 07:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa87aa8012d82a7c005d765100005016326..."} 
[2026-08-05 07:33:18] local.INFO: Processing buffer {"connection_id":150908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa87aa8012d82a7c005d765100005016326..."} 
[2026-08-05 07:33:18] local.INFO: Packet analysis {"connection_id":150908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:33:18] local.INFO: Extracted packet for processing {"connection_id":150908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:33:18] local.INFO: GPS Element Parsed {"raw_longitude":763537344,"raw_latitude":98002192,"longitude_deg":76.3537344,"latitude_deg":9.8002192,"altitude":5,"angle":355,"satellites":38,"speed":34,"hex_longitude":"2d82a7c0","hex_latitude":"05d76510","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189208064001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874625522925568,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030843127698421760,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785895353000,"timestamp_ms":1785895353000,"timestamp_seconds":1785895353,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa87aa8"} 
[2026-08-05 07:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:33: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-08-05 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 07:33: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-08-05 07: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-08-05 07:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189208064001,"66":13646,"156":206,"85":15104,"24":34,"16":114874625522925568,"45":-9030843127698421760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 07:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189208064001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:33:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 07:33:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874625522925568,"km_value":114874625522925.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030843127698421760,"description":"Unknown IO ID 45"} 
[2026-08-05 07:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189208064001,"power":13646,"unknown_156":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9030843127698421760}} 
[2026-08-05 07:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":150908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:33:19] local.INFO: GPS data processed {"connection_id":150908,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:33:19] local.INFO: Acknowledgment sent {"connection_id":150908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:33:20] local.INFO: TCP Data received {"connection_id":149496,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:33:20] local.INFO: Processing buffer {"connection_id":149496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:33:20] local.INFO: IMEI packet received {"connection_id":149496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":149496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:33:21] local.INFO: TCP Data received {"connection_id":149496,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa84010012d98310005781f30000601292d..."} 
[2026-08-05 07:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa84010012d98310005781f30000601292d..."} 
[2026-08-05 07:33:21] local.INFO: Processing buffer {"connection_id":149496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa84010012d98310005781f30000601292d..."} 
[2026-08-05 07:33:21] local.INFO: Packet analysis {"connection_id":149496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:33:21] local.INFO: Extracted packet for processing {"connection_id":149496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:33:21] local.INFO: GPS Element Parsed {"raw_longitude":764948736,"raw_latitude":91758384,"longitude_deg":76.4948736,"latitude_deg":9.1758384,"altitude":6,"angle":297,"satellites":45,"speed":22,"hex_longitude":"2d983100","hex_latitude":"05781f30","is_valid_coordinates":true} 
[2026-08-05 07:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189206016001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370241659977334784,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7479141951433027584,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785895338000,"timestamp_ms":1785895338000,"timestamp_seconds":1785895338,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa84010"} 
[2026-08-05 07:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:33: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-08-05 07:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:33: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-08-05 07:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:33: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-08-05 07:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189206016001,"66":27821,"161":206,"85":15872,"24":22,"16":370241659977334784,"45":-7479141951433027584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-08-05 07:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189206016001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:33:21] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-05 07:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370241659977334784,"km_value":370241659977334.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7479141951433027584,"description":"Unknown IO ID 45"} 
[2026-08-05 07:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189206016001,"power":27821,"unknown_161":206,"unknown_85":15872,"ignition":22,"odometer":null,"unknown_45":-7479141951433027584}} 
[2026-08-05 07:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":149496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:33:21] local.INFO: GPS data processed {"connection_id":149496,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:33:21] local.INFO: Acknowledgment sent {"connection_id":149496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:33:44] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:33:44] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:33:44] local.INFO: IMEI packet received {"connection_id":148493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":148493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:33:48] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:33:48] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:33:48] local.INFO: IMEI packet received {"connection_id":148493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":148493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:33:50] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa8a5a0012d82a54005d78af00004016425..."} 
[2026-08-05 07:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa8a5a0012d82a54005d78af00004016425..."} 
[2026-08-05 07:33:50] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa8a5a0012d82a54005d78af00004016425..."} 
[2026-08-05 07:33:50] local.INFO: Packet analysis {"connection_id":148493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:33:50] local.INFO: Extracted packet for processing {"connection_id":148493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:33:50] local.INFO: GPS Element Parsed {"raw_longitude":763536704,"raw_latitude":98011888,"longitude_deg":76.3536704,"latitude_deg":9.8011888,"altitude":4,"angle":356,"satellites":37,"speed":36,"hex_longitude":"2d82a540","hex_latitude":"05d78af0","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189210368001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114875093674360832,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032039396347146240,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785895364000,"timestamp_ms":1785895364000,"timestamp_seconds":1785895364,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa8a5a0"} 
[2026-08-05 07:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-05 07:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189210368001,"66":13656,"155":206,"85":15104,"24":36,"16":114875093674360832,"45":-9032039396347146240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 07:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189210368001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:33:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 07:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114875093674360832,"km_value":114875093674360.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032039396347146240,"description":"Unknown IO ID 45"} 
[2026-08-05 07:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189210368001,"power":13656,"unknown_155":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9032039396347146240}} 
[2026-08-05 07:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":148493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:33:50] local.INFO: GPS data processed {"connection_id":148493,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:33:50] local.INFO: Acknowledgment sent {"connection_id":148493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:33:52] local.INFO: TCP Data received {"connection_id":149496,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa85398012d98290005782338000601362a..."} 
[2026-08-05 07:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa85398012d98290005782338000601362a..."} 
[2026-08-05 07:33:52] local.INFO: Processing buffer {"connection_id":149496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa85398012d98290005782338000601362a..."} 
[2026-08-05 07:33:52] local.INFO: Packet analysis {"connection_id":149496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:33:52] local.INFO: Extracted packet for processing {"connection_id":149496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:33:52] local.INFO: GPS Element Parsed {"raw_longitude":764946688,"raw_latitude":91759416,"longitude_deg":76.4946688,"latitude_deg":9.1759416,"altitude":6,"angle":310,"satellites":42,"speed":10,"hex_longitude":"2d982900","hex_latitude":"05782338","is_valid_coordinates":true} 
[2026-08-05 07:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189206528001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370241771646484480,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7480197482595536896,"note":"Value kept but may cause issues"} 
[2026-08-05 07:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785895343000,"timestamp_ms":1785895343000,"timestamp_seconds":1785895343,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa85398"} 
[2026-08-05 07:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 07:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189206528001,"66":27821,"161":206,"85":15872,"24":10,"16":370241771646484480,"45":-7480197482595536896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-08-05 07:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189206528001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:33:52] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-05 07:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370241771646484480,"km_value":370241771646484.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7480197482595536896,"description":"Unknown IO ID 45"} 
[2026-08-05 07:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189206528001,"power":27821,"unknown_161":206,"unknown_85":15872,"ignition":10,"odometer":null,"unknown_45":-7480197482595536896}} 
[2026-08-05 07:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":149496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:33:52] local.INFO: GPS data processed {"connection_id":149496,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:33:52] local.INFO: Acknowledgment sent {"connection_id":149496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:34:16] local.INFO: TCP Data received {"connection_id":149497,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:34:16] local.INFO: Processing buffer {"connection_id":149497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:34:16] local.INFO: IMEI packet received {"connection_id":149497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":149497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:34:18] local.INFO: TCP Data received {"connection_id":149497,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:34:18] local.INFO: Processing buffer {"connection_id":149497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:34:18] local.INFO: IMEI packet received {"connection_id":149497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":149497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:34:21] local.INFO: TCP Data received {"connection_id":149497,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:34:21] local.INFO: Processing buffer {"connection_id":149497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:34:21] local.INFO: IMEI packet received {"connection_id":149497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":149497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:34:21] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa8ccb0012d82a24005d7af100005016425..."} 
[2026-08-05 07:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa8ccb0012d82a24005d7af100005016425..."} 
[2026-08-05 07:34:21] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa8ccb0012d82a24005d7af100005016425..."} 
[2026-08-05 07:34:21] local.INFO: Packet analysis {"connection_id":148493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:34:21] local.INFO: Extracted packet for processing {"connection_id":148493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763535936,"raw_latitude":98021136,"longitude_deg":76.3535936,"latitude_deg":9.8021136,"altitude":5,"angle":356,"satellites":37,"speed":37,"hex_longitude":"2d82a240","hex_latitude":"05d7af10","is_valid_coordinates":true} 
[2026-08-05 07:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189213184001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114875544645926912,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032743083786440704,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785895374000,"timestamp_ms":1785895374000,"timestamp_seconds":1785895374,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa8ccb0"} 
[2026-08-05 07:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 07:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189213184001,"66":13254,"155":206,"85":15104,"24":37,"16":114875544645926912,"45":-9032743083786440704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 07:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189213184001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:34:21] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 07:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114875544645926912,"km_value":114875544645926.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032743083786440704,"description":"Unknown IO ID 45"} 
[2026-08-05 07:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189213184001,"power":13254,"unknown_155":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9032743083786440704}} 
[2026-08-05 07:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":148493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:34:21] local.INFO: GPS data processed {"connection_id":148493,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:34:21] local.INFO: Acknowledgment sent {"connection_id":148493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:34:21] local.INFO: TCP Data received {"connection_id":149497,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa85b68012d9827c005782458000501442b..."} 
[2026-08-05 07:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa85b68012d9827c005782458000501442b..."} 
[2026-08-05 07:34:21] local.INFO: Processing buffer {"connection_id":149497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa85b68012d9827c005782458000501442b..."} 
[2026-08-05 07:34:21] local.INFO: Packet analysis {"connection_id":149497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:34:21] local.INFO: Extracted packet for processing {"connection_id":149497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:34:21] local.INFO: GPS Element Parsed {"raw_longitude":764946368,"raw_latitude":91759704,"longitude_deg":76.4946368,"latitude_deg":9.1759704,"altitude":5,"angle":324,"satellites":43,"speed":6,"hex_longitude":"2d9827c0","hex_latitude":"05782458","is_valid_coordinates":true} 
[2026-08-05 07:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189207808001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370241793121320960,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7482449282408957952,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785895345000,"timestamp_ms":1785895345000,"timestamp_seconds":1785895345,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa85b68"} 
[2026-08-05 07:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:34: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-08-05 07:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 07:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:34: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-08-05 07:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189207808001,"66":27789,"161":206,"85":15872,"24":6,"16":370241793121320960,"45":-7482449282408957952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-08-05 07:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189207808001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:34:21] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-05 07:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370241793121320960,"km_value":370241793121320.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7482449282408957952,"description":"Unknown IO ID 45"} 
[2026-08-05 07:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189207808001,"power":27789,"unknown_161":206,"unknown_85":15872,"ignition":6,"odometer":null,"unknown_45":-7482449282408957952}} 
[2026-08-05 07:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":149497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:34:22] local.INFO: GPS data processed {"connection_id":149497,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:34:22] local.INFO: Acknowledgment sent {"connection_id":149497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:34:26] local.INFO: TCP Data received {"connection_id":149497,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa89dd0012d981340057843500004014929..."} 
[2026-08-05 07:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa89dd0012d981340057843500004014929..."} 
[2026-08-05 07:34:26] local.INFO: Processing buffer {"connection_id":149497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa89dd0012d981340057843500004014929..."} 
[2026-08-05 07:34:26] local.INFO: Packet analysis {"connection_id":149497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:34:26] local.INFO: Extracted packet for processing {"connection_id":149497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:34:26] local.INFO: GPS Element Parsed {"raw_longitude":764941120,"raw_latitude":91767632,"longitude_deg":76.494112,"latitude_deg":9.1767632,"altitude":4,"angle":329,"satellites":41,"speed":34,"hex_longitude":"2d981340","hex_latitude":"05784350","is_valid_coordinates":true} 
[2026-08-05 07:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189208320001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370242252682821632,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7482801126129772544,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785895362000,"timestamp_ms":1785895362000,"timestamp_seconds":1785895362,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa89dd0"} 
[2026-08-05 07:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-05 07:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189208320001,"66":27919,"161":206,"85":15872,"24":34,"16":370242252682821632,"45":-7482801126129772544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-08-05 07:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189208320001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:34:26] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-05 07:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370242252682821632,"km_value":370242252682821.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7482801126129772544,"description":"Unknown IO ID 45"} 
[2026-08-05 07:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189208320001,"power":27919,"unknown_161":206,"unknown_85":15872,"ignition":34,"odometer":null,"unknown_45":-7482801126129772544}} 
[2026-08-05 07:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":149497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:34:26] local.INFO: GPS data processed {"connection_id":149497,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:34:26] local.INFO: Acknowledgment sent {"connection_id":149497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:34:44] local.INFO: TCP Data received {"connection_id":150909,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:34:44] local.INFO: Processing buffer {"connection_id":150909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:34:44] local.INFO: IMEI packet received {"connection_id":150909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":150909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:34:49] local.INFO: TCP Data received {"connection_id":150909,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:34:49] local.INFO: Processing buffer {"connection_id":150909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:34:49] local.INFO: IMEI packet received {"connection_id":150909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":150909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:34:49] local.INFO: TCP Data received {"connection_id":150909,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa8f3c0012d82a00005d7d2600006016426..."} 
[2026-08-05 07:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa8f3c0012d82a00005d7d2600006016426..."} 
[2026-08-05 07:34:49] local.INFO: Processing buffer {"connection_id":150909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa8f3c0012d82a00005d7d2600006016426..."} 
[2026-08-05 07:34:49] local.INFO: Packet analysis {"connection_id":150909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:34:49] local.INFO: Extracted packet for processing {"connection_id":150909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:34:49] local.INFO: GPS Element Parsed {"raw_longitude":763535360,"raw_latitude":98030176,"longitude_deg":76.353536,"latitude_deg":9.8030176,"altitude":6,"angle":356,"satellites":38,"speed":35,"hex_longitude":"2d82a000","hex_latitude":"05d7d260","is_valid_coordinates":true} 
[2026-08-05 07:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189215744001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114875982732591104,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033587508714205184,"note":"Value kept but may cause issues"} 
[2026-08-05 07:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785895384000,"timestamp_ms":1785895384000,"timestamp_seconds":1785895384,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa8f3c0"} 
[2026-08-05 07:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:34: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-08-05 07:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-05 07:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189215744001,"66":13472,"155":206,"85":15104,"24":35,"16":114875982732591104,"45":-9033587508714205184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 07:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189215744001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:34:49] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 07:34:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114875982732591104,"km_value":114875982732591.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033587508714205184,"description":"Unknown IO ID 45"} 
[2026-08-05 07:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189215744001,"power":13472,"unknown_155":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9033587508714205184}} 
[2026-08-05 07:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":150909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:34:49] local.INFO: GPS data processed {"connection_id":150909,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:34:49] local.INFO: Acknowledgment sent {"connection_id":150909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:35:04] local.INFO: TCP Data received {"connection_id":149497,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa8c0f8012d980100057860f00004014829..."} 
[2026-08-05 07:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa8c0f8012d980100057860f00004014829..."} 
[2026-08-05 07:35:04] local.INFO: Processing buffer {"connection_id":149497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa8c0f8012d980100057860f00004014829..."} 
[2026-08-05 07:35:04] local.INFO: Packet analysis {"connection_id":149497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:35:04] local.INFO: Extracted packet for processing {"connection_id":149497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa8"} 
[2026-08-05 07:35:04] local.INFO: GPS Element Parsed {"raw_longitude":764936448,"raw_latitude":91775216,"longitude_deg":76.4936448,"latitude_deg":9.1775216,"altitude":4,"angle":328,"satellites":41,"speed":41,"hex_longitude":"2d980100","hex_latitude":"057860f0","is_valid_coordinates":true} 
[2026-08-05 07:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189212672001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370242682179551232,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7488571363150311424,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785895371000,"timestamp_ms":1785895371000,"timestamp_seconds":1785895371,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa8c0f8"} 
[2026-08-05 07:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 07:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":149497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":149497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":149497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189212672001,"66":27930,"161":206,"85":15872,"24":41,"16":370242682179551232,"45":-7488571363150311424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-08-05 07:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189212672001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:35:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-05 07:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370242682179551232,"km_value":370242682179551.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7488571363150311424,"description":"Unknown IO ID 45"} 
[2026-08-05 07:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189212672001,"power":27930,"unknown_161":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7488571363150311424}} 
[2026-08-05 07:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":149497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:35:04] local.INFO: GPS data processed {"connection_id":149497,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:35:04] local.INFO: Acknowledgment sent {"connection_id":149497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:35:16] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:35:16] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:35:16] local.INFO: IMEI packet received {"connection_id":148494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":148494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:35:18] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:35:18] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:35:18] local.INFO: IMEI packet received {"connection_id":148494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":148494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:35:20] local.INFO: TCP Data received {"connection_id":150909,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfa91ad0012d829e8005d7f5200005016525..."} 
[2026-08-05 07:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfa91ad0012d829e8005d7f5200005016525..."} 
[2026-08-05 07:35:20] local.INFO: Processing buffer {"connection_id":150909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfa91ad0012d829e8005d7f5200005016525..."} 
[2026-08-05 07:35:20] local.INFO: Packet analysis {"connection_id":150909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfa9"} 
[2026-08-05 07:35:20] local.INFO: Extracted packet for processing {"connection_id":150909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfa9"} 
[2026-08-05 07:35:20] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":98039072,"longitude_deg":76.3534976,"latitude_deg":9.8039072,"altitude":5,"angle":357,"satellites":37,"speed":36,"hex_longitude":"2d829e80","hex_latitude":"05d7f520","is_valid_coordinates":true} 
[2026-08-05 07:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189218304001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114876416524288000,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034220827409489920,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785895394000,"timestamp_ms":1785895394000,"timestamp_seconds":1785895394,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfa91ad0"} 
[2026-08-05 07:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-05 07:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189218304001,"66":13406,"155":206,"85":15104,"24":36,"16":114876416524288000,"45":-9034220827409489920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 07:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189218304001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:35:20] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 07:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114876416524288000,"km_value":114876416524288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034220827409489920,"description":"Unknown IO ID 45"} 
[2026-08-05 07:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189218304001,"power":13406,"unknown_155":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9034220827409489920}} 
[2026-08-05 07:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":150909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:35:20] local.INFO: GPS data processed {"connection_id":150909,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:35:20] local.INFO: Acknowledgment sent {"connection_id":150909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:35:32] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:35:32] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:35:32] local.INFO: IMEI packet received {"connection_id":148494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":148494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:35:32] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfaa2088012d9741000579ca000009014b2c..."} 
[2026-08-05 07:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfaa2088012d9741000579ca000009014b2c..."} 
[2026-08-05 07:35:32] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfaa2088012d9741000579ca000009014b2c..."} 
[2026-08-05 07:35:32] local.INFO: Packet analysis {"connection_id":148494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfaa"} 
[2026-08-05 07:35:32] local.INFO: Extracted packet for processing {"connection_id":148494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfaa"} 
[2026-08-05 07:35:32] local.INFO: GPS Element Parsed {"raw_longitude":764887296,"raw_latitude":91867648,"longitude_deg":76.4887296,"latitude_deg":9.1867648,"altitude":9,"angle":331,"satellites":44,"speed":60,"hex_longitude":"2d974100","hex_latitude":"0579ca00","is_valid_coordinates":true} 
[2026-08-05 07:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189236224001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370247754535927808,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7542333083678756864,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785895461000,"timestamp_ms":1785895461000,"timestamp_seconds":1785895461,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfaa2088"} 
[2026-08-05 07:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 07:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189236224001,"66":27713,"70":206,"85":15872,"24":60,"16":370247754535927808,"45":-7542333083678756864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-08-05 07:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189236224001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:35:32] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-05 07:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370247754535927808,"km_value":370247754535927.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7542333083678756864,"description":"Unknown IO ID 45"} 
[2026-08-05 07:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189236224001,"power":27713,"unknown_70":206,"unknown_85":15872,"ignition":60,"odometer":null,"unknown_45":-7542333083678756864}} 
[2026-08-05 07:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":148494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:35:32] local.INFO: GPS data processed {"connection_id":148494,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:35:32] local.INFO: Acknowledgment sent {"connection_id":148494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:35:38] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfaa37f8012d9730000579e9200009014b2c..."} 
[2026-08-05 07:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfaa37f8012d9730000579e9200009014b2c..."} 
[2026-08-05 07:35:38] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfaa37f8012d9730000579e9200009014b2c..."} 
[2026-08-05 07:35:38] local.INFO: Packet analysis {"connection_id":148494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfaa"} 
[2026-08-05 07:35:38] local.INFO: Extracted packet for processing {"connection_id":148494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfaa"} 
[2026-08-05 07:35:38] local.INFO: GPS Element Parsed {"raw_longitude":764882944,"raw_latitude":91875616,"longitude_deg":76.4882944,"latitude_deg":9.1875616,"altitude":9,"angle":331,"satellites":44,"speed":59,"hex_longitude":"2d973000","hex_latitude":"0579e920","is_valid_coordinates":true} 
[2026-08-05 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-08-05 07:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189238016001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370248192622592000,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7547751476978122752,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35: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-08-05 07:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785895467000,"timestamp_ms":1785895467000,"timestamp_seconds":1785895467,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfaa37f8"} 
[2026-08-05 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-08-05 07:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 07:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 07:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189238016001,"66":27604,"69":206,"85":15872,"24":59,"16":370248192622592000,"45":-7547751476978122752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-05 07:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189238016001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:35:38] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-05 07:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370248192622592000,"km_value":370248192622592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7547751476978122752,"description":"Unknown IO ID 45"} 
[2026-08-05 07:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189238016001,"power":27604,"unknown_69":206,"unknown_85":15872,"ignition":59,"odometer":null,"unknown_45":-7547751476978122752}} 
[2026-08-05 07:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":148494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:35:38] local.INFO: GPS data processed {"connection_id":148494,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:35:38] local.INFO: Acknowledgment sent {"connection_id":148494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:35:43] local.INFO: TCP Data received {"connection_id":149498,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:35:43] local.INFO: Processing buffer {"connection_id":149498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:35:43] local.INFO: IMEI packet received {"connection_id":149498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":149498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:35:44] local.INFO: TCP Data received {"connection_id":149498,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:35:44] local.INFO: Processing buffer {"connection_id":149498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:35:44] local.INFO: IMEI packet received {"connection_id":149498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":149498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:35:49] local.INFO: TCP Data received {"connection_id":149498,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:35:49] local.INFO: Processing buffer {"connection_id":149498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:35:49] local.INFO: IMEI packet received {"connection_id":149498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":149498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:35:49] local.INFO: TCP Data received {"connection_id":149498,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfab0ed0012d8279c005d920700008015625..."} 
[2026-08-05 07:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfab0ed0012d8279c005d920700008015625..."} 
[2026-08-05 07:35:49] local.INFO: Processing buffer {"connection_id":149498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfab0ed0012d8279c005d920700008015625..."} 
[2026-08-05 07:35:49] local.INFO: Packet analysis {"connection_id":149498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfab"} 
[2026-08-05 07:35:49] local.INFO: Extracted packet for processing {"connection_id":149498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfab"} 
[2026-08-05 07:35:49] local.INFO: GPS Element Parsed {"raw_longitude":763525568,"raw_latitude":98115696,"longitude_deg":76.3525568,"latitude_deg":9.8115696,"altitude":8,"angle":342,"satellites":37,"speed":32,"hex_longitude":"2d8279c0","hex_latitude":"05d92070","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189250048001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114880200390475776,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043228026644078592,"note":"Value kept but may cause issues"} 
[2026-08-05 07:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785895522000,"timestamp_ms":1785895522000,"timestamp_seconds":1785895522,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfab0ed0"} 
[2026-08-05 07:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-05 07:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189250048001,"66":13243,"49":206,"85":15104,"24":32,"16":114880200390475776,"45":-9043228026644078592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-05 07:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189250048001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:35:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-05 07:35:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114880200390475776,"km_value":114880200390475.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043228026644078592,"description":"Unknown IO ID 45"} 
[2026-08-05 07:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189250048001,"power":13243,"unknown_49":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9043228026644078592}} 
[2026-08-05 07:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":149498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:35:50] local.INFO: GPS data processed {"connection_id":149498,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:35:50] local.INFO: Acknowledgment sent {"connection_id":149498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:36:15] local.INFO: TCP Data received {"connection_id":149499,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:36:15] local.INFO: Processing buffer {"connection_id":149499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:36:15] local.INFO: IMEI packet received {"connection_id":149499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":149499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:36:20] local.INFO: TCP Data received {"connection_id":149498,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfab35e0012d826c8005d943e00007015226..."} 
[2026-08-05 07:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfab35e0012d826c8005d943e00007015226..."} 
[2026-08-05 07:36:20] local.INFO: Processing buffer {"connection_id":149498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfab35e0012d826c8005d943e00007015226..."} 
[2026-08-05 07:36:20] local.INFO: Packet analysis {"connection_id":149498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfab"} 
[2026-08-05 07:36:20] local.INFO: Extracted packet for processing {"connection_id":149498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfab"} 
[2026-08-05 07:36:20] local.INFO: GPS Element Parsed {"raw_longitude":763522176,"raw_latitude":98124768,"longitude_deg":76.3522176,"latitude_deg":9.8124768,"altitude":7,"angle":338,"satellites":38,"speed":40,"hex_longitude":"2d826c80","hex_latitude":"05d943e0","is_valid_coordinates":true} 
[2026-08-05 07:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189253632001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114880668541911040,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044987245246779392,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785895532000,"timestamp_ms":1785895532000,"timestamp_seconds":1785895532,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfab35e0"} 
[2026-08-05 07:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 07:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189253632001,"66":13526,"49":206,"85":15104,"24":40,"16":114880668541911040,"45":-9044987245246779392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-05 07:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189253632001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:36:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-05 07:36:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114880668541911040,"km_value":114880668541911.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044987245246779392,"description":"Unknown IO ID 45"} 
[2026-08-05 07:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189253632001,"power":13526,"unknown_49":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9044987245246779392}} 
[2026-08-05 07:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":149498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:36:21] local.INFO: GPS data processed {"connection_id":149498,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:36:21] local.INFO: Acknowledgment sent {"connection_id":149498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:36:21] local.INFO: TCP Data received {"connection_id":149499,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:36:21] local.INFO: Processing buffer {"connection_id":149499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:36:21] local.INFO: IMEI packet received {"connection_id":149499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":149499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:36:21] local.INFO: TCP Data received {"connection_id":149499,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfaa4f68012d971fc0057a08100009014d2c..."} 
[2026-08-05 07:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfaa4f68012d971fc0057a08100009014d2c..."} 
[2026-08-05 07:36:21] local.INFO: Processing buffer {"connection_id":149499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfaa4f68012d971fc0057a08100009014d2c..."} 
[2026-08-05 07:36:21] local.INFO: Packet analysis {"connection_id":149499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfaa"} 
[2026-08-05 07:36:21] local.INFO: Extracted packet for processing {"connection_id":149499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfaa"} 
[2026-08-05 07:36:21] local.INFO: GPS Element Parsed {"raw_longitude":764878784,"raw_latitude":91883536,"longitude_deg":76.4878784,"latitude_deg":9.1883536,"altitude":9,"angle":333,"satellites":44,"speed":59,"hex_longitude":"2d971fc0","hex_latitude":"057a0810","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189239552001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370248626414288896,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7552536551580164096,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785895473000,"timestamp_ms":1785895473000,"timestamp_seconds":1785895473,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfaa4f68"} 
[2026-08-05 07:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:36: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-08-05 07: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 07:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07: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-08-05 07:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189239552001,"66":27821,"69":206,"85":15872,"24":59,"16":370248626414288896,"45":-7552536551580164096},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-05 07:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189239552001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:36:21] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-05 07:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370248626414288896,"km_value":370248626414288.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7552536551580164096,"description":"Unknown IO ID 45"} 
[2026-08-05 07:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189239552001,"power":27821,"unknown_69":206,"unknown_85":15872,"ignition":59,"odometer":null,"unknown_45":-7552536551580164096}} 
[2026-08-05 07:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":149499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:36:21] local.INFO: GPS data processed {"connection_id":149499,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:36:21] local.INFO: Acknowledgment sent {"connection_id":149499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:36:44] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:36:44] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:36:44] local.INFO: IMEI packet received {"connection_id":148495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":148495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:36:46] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:36:46] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:36:46] local.INFO: IMEI packet received {"connection_id":148495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":148495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:36:49] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:36:49] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:36:49] local.INFO: IMEI packet received {"connection_id":148495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":148495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:36:49] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfab5908012d825fc005d966e80007015726..."} 
[2026-08-05 07:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfab5908012d825fc005d966e80007015726..."} 
[2026-08-05 07:36:49] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfab5908012d825fc005d966e80007015726..."} 
[2026-08-05 07:36:49] local.INFO: Packet analysis {"connection_id":148495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfab"} 
[2026-08-05 07:36:49] local.INFO: Extracted packet for processing {"connection_id":148495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfab"} 
[2026-08-05 07:36:49] local.INFO: GPS Element Parsed {"raw_longitude":763518912,"raw_latitude":98133736,"longitude_deg":76.3518912,"latitude_deg":9.8133736,"altitude":7,"angle":343,"satellites":38,"speed":43,"hex_longitude":"2d825fc0","hex_latitude":"05d966e8","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189256192001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114881132398379008,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9048716788685873152,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785895541000,"timestamp_ms":1785895541000,"timestamp_seconds":1785895541,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfab5908"} 
[2026-08-05 07:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-05 07:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189256192001,"66":12722,"49":206,"85":15104,"24":43,"16":114881132398379008,"45":-9048716788685873152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-05 07:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189256192001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:36:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-05 07:36:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114881132398379008,"km_value":114881132398379.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9048716788685873152,"description":"Unknown IO ID 45"} 
[2026-08-05 07:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189256192001,"power":12722,"unknown_49":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9048716788685873152}} 
[2026-08-05 07:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":148495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:36:49] local.INFO: GPS data processed {"connection_id":148495,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:36:49] local.INFO: Acknowledgment sent {"connection_id":148495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:36:53] local.INFO: TCP Data received {"connection_id":149499,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfaa66d8012d9711c0057a2810000901532d..."} 
[2026-08-05 07:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfaa66d8012d9711c0057a2810000901532d..."} 
[2026-08-05 07:36:53] local.INFO: Processing buffer {"connection_id":149499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfaa66d8012d9711c0057a2810000901532d..."} 
[2026-08-05 07:36:53] local.INFO: Packet analysis {"connection_id":149499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfaa"} 
[2026-08-05 07:36:53] local.INFO: Extracted packet for processing {"connection_id":149499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfaa"} 
[2026-08-05 07:36:53] local.INFO: GPS Element Parsed {"raw_longitude":764875200,"raw_latitude":91891728,"longitude_deg":76.48752,"latitude_deg":9.1891728,"altitude":9,"angle":339,"satellites":45,"speed":59,"hex_longitude":"2d9711c0","hex_latitude":"057a2810","is_valid_coordinates":true} 
[2026-08-05 07:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189241088001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370249060205985792,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7557110519949684736,"note":"Value kept but may cause issues"} 
[2026-08-05 07:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785895479000,"timestamp_ms":1785895479000,"timestamp_seconds":1785895479,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfaa66d8"} 
[2026-08-05 07:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 07:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189241088001,"66":27484,"69":206,"85":15872,"24":59,"16":370249060205985792,"45":-7557110519949684736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-05 07:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189241088001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:36:53] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-05 07:36:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-05 07:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370249060205985792,"km_value":370249060205985.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7557110519949684736,"description":"Unknown IO ID 45"} 
[2026-08-05 07:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189241088001,"power":27484,"unknown_69":206,"unknown_85":15872,"ignition":59,"odometer":null,"unknown_45":-7557110519949684736}} 
[2026-08-05 07:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":149499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:36:53] local.INFO: GPS data processed {"connection_id":149499,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:36:53] local.INFO: Acknowledgment sent {"connection_id":149499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:37:20] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfab7c30012d82578005d98c900007015b26..."} 
[2026-08-05 07:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfab7c30012d82578005d98c900007015b26..."} 
[2026-08-05 07:37:20] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfab7c30012d82578005d98c900007015b26..."} 
[2026-08-05 07:37:20] local.INFO: Packet analysis {"connection_id":148495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfab"} 
[2026-08-05 07:37:20] local.INFO: Extracted packet for processing {"connection_id":148495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfab"} 
[2026-08-05 07:37:20] local.INFO: GPS Element Parsed {"raw_longitude":763516800,"raw_latitude":98143376,"longitude_deg":76.35168,"latitude_deg":9.8143376,"altitude":7,"angle":347,"satellites":38,"speed":42,"hex_longitude":"2d825780","hex_latitude":"05d98c90","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189258496001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114881609139748864,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9052305594636638208,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785895550000,"timestamp_ms":1785895550000,"timestamp_seconds":1785895550,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfab7c30"} 
[2026-08-05 07:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 07:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189258496001,"66":13276,"69":206,"85":15104,"24":42,"16":114881609139748864,"45":-9052305594636638208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-05 07:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189258496001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:37:20] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-05 07:37:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114881609139748864,"km_value":114881609139748.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9052305594636638208,"description":"Unknown IO ID 45"} 
[2026-08-05 07:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189258496001,"power":13276,"unknown_69":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9052305594636638208}} 
[2026-08-05 07:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":148495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:37:20] local.INFO: GPS data processed {"connection_id":148495,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:37:20] local.INFO: Acknowledgment sent {"connection_id":148495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:37:21] local.INFO: TCP Data received {"connection_id":149500,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:37:21] local.INFO: Processing buffer {"connection_id":149500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:37:21] local.INFO: IMEI packet received {"connection_id":149500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":149500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:37:22] local.INFO: TCP Data received {"connection_id":149500,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:37:22] local.INFO: Processing buffer {"connection_id":149500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:37:22] local.INFO: IMEI packet received {"connection_id":149500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":149500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:37:23] local.INFO: TCP Data received {"connection_id":149500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfac0100012d96a680057baa50000801592b..."} 
[2026-08-05 07:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfac0100012d96a680057baa50000801592b..."} 
[2026-08-05 07:37:23] local.INFO: Processing buffer {"connection_id":149500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfac0100012d96a680057baa50000801592b..."} 
[2026-08-05 07:37:23] local.INFO: Packet analysis {"connection_id":149500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:37:23] local.INFO: Extracted packet for processing {"connection_id":149500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:37:23] local.INFO: GPS Element Parsed {"raw_longitude":764847744,"raw_latitude":91990608,"longitude_deg":76.4847744,"latitude_deg":9.1990608,"altitude":8,"angle":345,"satellites":43,"speed":50,"hex_longitude":"2d96a680","hex_latitude":"057baa50","is_valid_coordinates":true} 
[2026-08-05 07:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189267456001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370254038073081856,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7588424611083704320,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785895584000,"timestamp_ms":1785895584000,"timestamp_seconds":1785895584,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfac0100"} 
[2026-08-05 07:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189267456001,"66":27930,"236":206,"85":15360,"24":50,"16":370254038073081856,"45":-7588424611083704320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 07:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189267456001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:37:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 07:37:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370254038073081856,"km_value":370254038073081.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7588424611083704320,"description":"Unknown IO ID 45"} 
[2026-08-05 07:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189267456001,"power":27930,"unknown_236":206,"unknown_85":15360,"ignition":50,"odometer":null,"unknown_45":-7588424611083704320}} 
[2026-08-05 07:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":149500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:37:23] local.INFO: GPS data processed {"connection_id":149500,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:37:23] local.INFO: Acknowledgment sent {"connection_id":149500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:37:27] local.INFO: TCP Data received {"connection_id":149500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfac1c58012d969d40057bcce80008015829..."} 
[2026-08-05 07:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfac1c58012d969d40057bcce80008015829..."} 
[2026-08-05 07:37:27] local.INFO: Processing buffer {"connection_id":149500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfac1c58012d969d40057bcce80008015829..."} 
[2026-08-05 07:37:27] local.INFO: Packet analysis {"connection_id":149500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:37:27] local.INFO: Extracted packet for processing {"connection_id":149500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:37:27] local.INFO: GPS Element Parsed {"raw_longitude":764845376,"raw_latitude":91999464,"longitude_deg":76.4845376,"latitude_deg":9.1999464,"altitude":8,"angle":344,"satellites":41,"speed":53,"hex_longitude":"2d969d40","hex_latitude":"057bcce8","is_valid_coordinates":true} 
[2026-08-05 07:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189269504001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370254484749680640,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7591239360848441344,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785895591000,"timestamp_ms":1785895591000,"timestamp_seconds":1785895591,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfac1c58"} 
[2026-08-05 07:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 07:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189269504001,"66":27887,"236":206,"85":15360,"24":53,"16":370254484749680640,"45":-7591239360848441344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 07:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189269504001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:37:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 07:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370254484749680640,"km_value":370254484749680.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7591239360848441344,"description":"Unknown IO ID 45"} 
[2026-08-05 07:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189269504001,"power":27887,"unknown_236":206,"unknown_85":15360,"ignition":53,"odometer":null,"unknown_45":-7591239360848441344}} 
[2026-08-05 07:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":149500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:37:27] local.INFO: GPS data processed {"connection_id":149500,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:37:27] local.INFO: Acknowledgment sent {"connection_id":149500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:37:44] local.INFO: TCP Data received {"connection_id":149501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:37:44] local.INFO: Processing buffer {"connection_id":149501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:37:44] local.INFO: IMEI packet received {"connection_id":149501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":149501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:37:48] local.INFO: TCP Data received {"connection_id":149501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:37:48] local.INFO: Processing buffer {"connection_id":149501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:37:48] local.INFO: IMEI packet received {"connection_id":149501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":149501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:37:49] local.INFO: TCP Data received {"connection_id":149501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:37:49] local.INFO: Processing buffer {"connection_id":149501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:37:49] local.INFO: IMEI packet received {"connection_id":149501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":149501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:37:49] local.INFO: TCP Data received {"connection_id":149501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfacdfa8012d8218c005da8e880007011a26..."} 
[2026-08-05 07:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfacdfa8012d8218c005da8e880007011a26..."} 
[2026-08-05 07:37:49] local.INFO: Processing buffer {"connection_id":149501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfacdfa8012d8218c005da8e880007011a26..."} 
[2026-08-05 07:37:49] local.INFO: Packet analysis {"connection_id":149501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:37:49] local.INFO: Extracted packet for processing {"connection_id":149501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:37:49] local.INFO: GPS Element Parsed {"raw_longitude":763500736,"raw_latitude":98209416,"longitude_deg":76.3500736,"latitude_deg":9.8209416,"altitude":7,"angle":282,"satellites":38,"speed":21,"hex_longitude":"2d8218c0","hex_latitude":"05da8e88","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189283840001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114884942034370560,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071656999266164736,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785895641000,"timestamp_ms":1785895641000,"timestamp_seconds":1785895641,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfacdfa8"} 
[2026-08-05 07:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-05 07:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189283840001,"66":13602,"71":206,"85":15104,"24":21,"16":114884942034370560,"45":-9071656999266164736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-05 07:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189283840001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:37:49] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-05 07:37:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114884942034370560,"km_value":114884942034370.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071656999266164736,"description":"Unknown IO ID 45"} 
[2026-08-05 07:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189283840001,"power":13602,"unknown_71":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9071656999266164736}} 
[2026-08-05 07:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":149501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:37:49] local.INFO: GPS data processed {"connection_id":149501,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:37:49] local.INFO: Acknowledgment sent {"connection_id":149501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:37:52] local.INFO: TCP Data received {"connection_id":149501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcface390012d8216c005da8ea80007010d26..."} 
[2026-08-05 07:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcface390012d8216c005da8ea80007010d26..."} 
[2026-08-05 07:37:52] local.INFO: Processing buffer {"connection_id":149501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcface390012d8216c005da8ea80007010d26..."} 
[2026-08-05 07:37:52] local.INFO: Packet analysis {"connection_id":149501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:37:52] local.INFO: Extracted packet for processing {"connection_id":149501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763500224,"raw_latitude":98209448,"longitude_deg":76.3500224,"latitude_deg":9.8209448,"altitude":7,"angle":269,"satellites":38,"speed":21,"hex_longitude":"2d8216c0","hex_latitude":"05da8ea8","is_valid_coordinates":true} 
[2026-08-05 07:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189284096001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114884967804174336,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072290317963720704,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785895642000,"timestamp_ms":1785895642000,"timestamp_seconds":1785895642,"priority":1,"record_length":96,"hex_timestamp":"0000019fcface390"} 
[2026-08-05 07:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:37: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-08-05 07:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-05 07:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189284096001,"66":13602,"71":206,"85":15104,"24":21,"16":114884967804174336,"45":-9072290317963720704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-05 07:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189284096001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:37:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-05 07:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114884967804174336,"km_value":114884967804174.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072290317963720704,"description":"Unknown IO ID 45"} 
[2026-08-05 07:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189284096001,"power":13602,"unknown_71":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9072290317963720704}} 
[2026-08-05 07:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":149501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:37:52] local.INFO: GPS data processed {"connection_id":149501,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:37:52] local.INFO: Acknowledgment sent {"connection_id":149501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:37:58] local.INFO: TCP Data received {"connection_id":149500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfac37b0012d969340057bf180000801592a..."} 
[2026-08-05 07:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfac37b0012d969340057bf180000801592a..."} 
[2026-08-05 07:37:58] local.INFO: Processing buffer {"connection_id":149500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfac37b0012d969340057bf180000801592a..."} 
[2026-08-05 07:37:58] local.INFO: Packet analysis {"connection_id":149500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:37:58] local.INFO: Extracted packet for processing {"connection_id":149500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:37:58] local.INFO: GPS Element Parsed {"raw_longitude":764842816,"raw_latitude":92008832,"longitude_deg":76.4842816,"latitude_deg":9.2008832,"altitude":8,"angle":345,"satellites":42,"speed":56,"hex_longitude":"2d969340","hex_latitude":"057bf180","is_valid_coordinates":true} 
[2026-08-05 07:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189271296001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370254952901115904,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7593843004380747776,"note":"Value kept but may cause issues"} 
[2026-08-05 07:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785895598000,"timestamp_ms":1785895598000,"timestamp_seconds":1785895598,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfac37b0"} 
[2026-08-05 07:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 07:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189271296001,"66":27865,"236":206,"85":15360,"24":56,"16":370254952901115904,"45":-7593843004380747776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 07:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189271296001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:37:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 07:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370254952901115904,"km_value":370254952901115.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7593843004380747776,"description":"Unknown IO ID 45"} 
[2026-08-05 07:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189271296001,"power":27865,"unknown_236":206,"unknown_85":15360,"ignition":56,"odometer":null,"unknown_45":-7593843004380747776}} 
[2026-08-05 07:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":149500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:37:58] local.INFO: GPS data processed {"connection_id":149500,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:37:58] local.INFO: Acknowledgment sent {"connection_id":149500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:38:16] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:38:16] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:38:16] local.INFO: IMEI packet received {"connection_id":148496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":148496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:38:16] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:38:16] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:38:16] local.INFO: IMEI packet received {"connection_id":148496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":148496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:38:17] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfac5308012d968880057c1788000901582c..."} 
[2026-08-05 07:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfac5308012d968880057c1788000901582c..."} 
[2026-08-05 07:38:17] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfac5308012d968880057c1788000901582c..."} 
[2026-08-05 07:38:17] local.INFO: Packet analysis {"connection_id":148496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:38:17] local.INFO: Extracted packet for processing {"connection_id":148496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfac"} 
[2026-08-05 07:38:17] local.INFO: GPS Element Parsed {"raw_longitude":764840064,"raw_latitude":92018568,"longitude_deg":76.4840064,"latitude_deg":9.2018568,"altitude":9,"angle":344,"satellites":44,"speed":58,"hex_longitude":"2d968880","hex_latitude":"057c1788","is_valid_coordinates":true} 
[2026-08-05 07:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189273088001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370255442527387648,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7596657754145456128,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785895605000,"timestamp_ms":1785895605000,"timestamp_seconds":1785895605,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfac5308"} 
[2026-08-05 07:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189273088001,"66":27745,"236":206,"85":15360,"24":58,"16":370255442527387648,"45":-7596657754145456128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 07:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189273088001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:38:17] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 07:38:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370255442527387648,"km_value":370255442527387.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7596657754145456128,"description":"Unknown IO ID 45"} 
[2026-08-05 07:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189273088001,"power":27745,"unknown_236":206,"unknown_85":15360,"ignition":58,"odometer":null,"unknown_45":-7596657754145456128}} 
[2026-08-05 07:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":148496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:38:17] local.INFO: GPS data processed {"connection_id":148496,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:38:17] local.INFO: Acknowledgment sent {"connection_id":148496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:38:26] local.INFO: TCP Data received {"connection_id":149501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfadbe50012d81640005da89680005014825..."} 
[2026-08-05 07:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfadbe50012d81640005da89680005014825..."} 
[2026-08-05 07:38:26] local.INFO: Processing buffer {"connection_id":149501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfadbe50012d81640005da89680005014825..."} 
[2026-08-05 07:38:26] local.INFO: Packet analysis {"connection_id":149501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:38:26] local.INFO: Extracted packet for processing {"connection_id":149501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763454464,"raw_latitude":98208104,"longitude_deg":76.3454464,"latitude_deg":9.8208104,"altitude":5,"angle":328,"satellites":37,"speed":27,"hex_longitude":"2d816400","hex_latitude":"05da8968","is_valid_coordinates":true} 
[2026-08-05 07:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189298432001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114887278496579584,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122885445027952640,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785895698000,"timestamp_ms":1785895698000,"timestamp_seconds":1785895698,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfadbe50"} 
[2026-08-05 07:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3484244160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2173632517,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3664957440,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4177526784,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2911346689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":218,"raw_value":8264105329126875904,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2415996289,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2147867252,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465511,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.WARNING: Large IO value detected {"io_id":173,"raw_value":5832162812406611973,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:26] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,71,85,24,241,157,16,41,159,182,45,133,5,37,10,66,174,128,130,4,147,192,1,240,220,227,40,207,218,113,205,35,96,176,136,34,239,49,2,152,3,33,46,173],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-08-05 07:38:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360633371461353472,"timestamp_seconds":360633371461353.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189298432001,"66":13374,"71":206,"85":15104,"24":27,"16":114887278496579584,"45":-9122885445027952640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-05 07:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189298432001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:38:26] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-05 07:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114887278496579584,"km_value":114887278496579.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122885445027952640,"description":"Unknown IO ID 45"} 
[2026-08-05 07:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189298432001,"power":13374,"unknown_71":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9122885445027952640}} 
[2026-08-05 07:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":149501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:38:26] local.INFO: GPS data processed {"connection_id":149501,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:38:26] local.INFO: Acknowledgment sent {"connection_id":149501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:38:48] local.INFO: TCP Data received {"connection_id":148497,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:38:48] local.INFO: Processing buffer {"connection_id":148497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:38:48] local.INFO: IMEI packet received {"connection_id":148497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":148497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:38:48] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfad58c0012d960b80057d89780007015829..."} 
[2026-08-05 07:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfad58c0012d960b80057d89780007015829..."} 
[2026-08-05 07:38:48] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfad58c0012d960b80057d89780007015829..."} 
[2026-08-05 07:38:48] local.INFO: Packet analysis {"connection_id":148496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:38:48] local.INFO: Extracted packet for processing {"connection_id":148496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:38:48] local.INFO: GPS Element Parsed {"raw_longitude":764808064,"raw_latitude":92113272,"longitude_deg":76.4808064,"latitude_deg":9.2113272,"altitude":7,"angle":344,"satellites":41,"speed":59,"hex_longitude":"2d960b80","hex_latitude":"057d8978","is_valid_coordinates":true} 
[2026-08-05 07:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189290240001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370260287250497536,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7631771757465942016,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785895672000,"timestamp_ms":1785895672000,"timestamp_seconds":1785895672,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfad58c0"} 
[2026-08-05 07:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:38: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":26,"data_length":795,"current_offset":136} 
[2026-08-05 07:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189290240001,"66":27767,"236":206,"85":15360,"24":59,"16":370260287250497536,"45":-7631771757465942016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 07:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189290240001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:38:48] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 07:38:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370260287250497536,"km_value":370260287250497.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7631771757465942016,"description":"Unknown IO ID 45"} 
[2026-08-05 07:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189290240001,"power":27767,"unknown_236":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7631771757465942016}} 
[2026-08-05 07:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":148496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:38:48] local.INFO: GPS data processed {"connection_id":148496,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:38:48] local.INFO: Acknowledgment sent {"connection_id":148496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:38:49] local.INFO: TCP Data received {"connection_id":148497,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148497,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:38:49] local.INFO: Processing buffer {"connection_id":148497,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:38:49] local.INFO: IMEI packet received {"connection_id":148497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":148497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:38:54] local.INFO: TCP Data received {"connection_id":148497,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:38:54] local.INFO: Processing buffer {"connection_id":148497,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:38:54] local.INFO: IMEI packet received {"connection_id":148497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":148497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:38:55] local.INFO: TCP Data received {"connection_id":148497,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfadc238012d81630005da8c180005015425..."} 
[2026-08-05 07:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfadc238012d81630005da8c180005015425..."} 
[2026-08-05 07:38:55] local.INFO: Processing buffer {"connection_id":148497,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fcf..."} 
[2026-08-05 07:38:55] local.INFO: IMEI packet received {"connection_id":148497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":148497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:38:56] local.INFO: TCP Data received {"connection_id":148497,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfadca08012d81628005da92600005016125..."} 
[2026-08-05 07:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfadca08012d81628005da92600005016125..."} 
[2026-08-05 07:38:56] local.INFO: Processing buffer {"connection_id":148497,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fcfadc238012d81630005da8c180005015425..."} 
[2026-08-05 07:38:56] local.INFO: Packet analysis {"connection_id":148497,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:38:56] local.INFO: Extracted packet for processing {"connection_id":148497,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763454208,"raw_latitude":98208792,"longitude_deg":76.3454208,"latitude_deg":9.8208792,"altitude":5,"angle":340,"satellites":37,"speed":28,"hex_longitude":"2d816300","hex_latitude":"05da8c18","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189298688001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114887312856317952,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123166920004507648,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785895699000,"timestamp_ms":1785895699000,"timestamp_seconds":1785895699,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfadc238"} 
[2026-08-05 07:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:38: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-08-05 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-05 07:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:38: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-08-05 07:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189298688001,"66":13374,"71":206,"85":15104,"24":28,"16":114887312856317952,"45":-9123166920004507648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-05 07:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189298688001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:38:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-05 07:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114887312856317952,"km_value":114887312856317.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123166920004507648,"description":"Unknown IO ID 45"} 
[2026-08-05 07:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189298688001,"power":13374,"unknown_71":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9123166920004507648}} 
[2026-08-05 07:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":148497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:38:56] local.INFO: GPS data processed {"connection_id":148497,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:38:56] local.INFO: Acknowledgment sent {"connection_id":148497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:38:56] local.INFO: Packet analysis {"connection_id":148497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:38:56] local.INFO: Extracted packet for processing {"connection_id":148497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763454080,"raw_latitude":98210400,"longitude_deg":76.345408,"latitude_deg":9.82104,"altitude":5,"angle":353,"satellites":37,"speed":31,"hex_longitude":"2d816280","hex_latitude":"05da9260","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189298944001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114887390165729280,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123448394981042176,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785895701000,"timestamp_ms":1785895701000,"timestamp_seconds":1785895701,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfadca08"} 
[2026-08-05 07:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:38: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-08-05 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-05 07:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:38: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-08-05 07:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189298944001,"66":13059,"71":206,"85":15104,"24":31,"16":114887390165729280,"45":-9123448394981042176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-05 07:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189298944001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:38:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-05 07:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114887390165729280,"km_value":114887390165729.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123448394981042176,"description":"Unknown IO ID 45"} 
[2026-08-05 07:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189298944001,"power":13059,"unknown_71":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9123448394981042176}} 
[2026-08-05 07:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":148497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:38:56] local.INFO: GPS data processed {"connection_id":148497,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:38:56] local.INFO: Acknowledgment sent {"connection_id":148497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:38:59] local.INFO: TCP Data received {"connection_id":148497,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfadd1d8012d81610005da98f80005015625..."} 
[2026-08-05 07:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfadd1d8012d81610005da98f80005015625..."} 
[2026-08-05 07:38:59] local.INFO: Processing buffer {"connection_id":148497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfadd1d8012d81610005da98f80005015625..."} 
[2026-08-05 07:38:59] local.INFO: Packet analysis {"connection_id":148497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:38:59] local.INFO: Extracted packet for processing {"connection_id":148497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763453696,"raw_latitude":98212088,"longitude_deg":76.3453696,"latitude_deg":9.8212088,"altitude":5,"angle":342,"satellites":37,"speed":34,"hex_longitude":"2d816100","hex_latitude":"05da98f8","is_valid_coordinates":true} 
[2026-08-05 07:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189299456001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114887476065075200,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123589132468985856,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785895703000,"timestamp_ms":1785895703000,"timestamp_seconds":1785895703,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfadd1d8"} 
[2026-08-05 07:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:38: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-08-05 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166653517223,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":71,"raw_value":58077557095399459,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3484259160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2171011077,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3665952768,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2914418689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2233991173,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2952867201,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2147867266,"note":"Value kept but may cause issues"} 
[2026-08-05 07:38:59] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,71,85,24,241,157,16,41,159,194,45,140,5,37,10,66,190,137,186,1,240,7,227,207,218,4,113,205,28,174,108,208,239,51,2,152,35],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-08-05 07:38:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360676256710066176,"timestamp_seconds":360676256710066.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189299456001,"66":13059,"71":206,"85":15104,"24":34,"16":114887476065075200,"45":-9123589132468985856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-05 07:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189299456001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:38:59] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-05 07:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114887476065075200,"km_value":114887476065075.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123589132468985856,"description":"Unknown IO ID 45"} 
[2026-08-05 07:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189299456001,"power":13059,"unknown_71":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9123589132468985856}} 
[2026-08-05 07:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":148497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:38:59] local.INFO: GPS data processed {"connection_id":148497,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:38:59] local.INFO: Acknowledgment sent {"connection_id":148497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:39:19] local.INFO: TCP Data received {"connection_id":149502,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:39:19] local.INFO: Processing buffer {"connection_id":149502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:39:19] local.INFO: IMEI packet received {"connection_id":149502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":149502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:39:19] local.INFO: TCP Data received {"connection_id":149502,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:39:19] local.INFO: Processing buffer {"connection_id":149502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:39:19] local.INFO: IMEI packet received {"connection_id":149502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":149502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:39:20] local.INFO: TCP Data received {"connection_id":149502,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfad7030012d960140057daae8000701552d..."} 
[2026-08-05 07:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfad7030012d960140057daae8000701552d..."} 
[2026-08-05 07:39:20] local.INFO: Processing buffer {"connection_id":149502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfad7030012d960140057daae8000701552d..."} 
[2026-08-05 07:39:20] local.INFO: Packet analysis {"connection_id":149502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:39:20] local.INFO: Extracted packet for processing {"connection_id":149502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:39:20] local.INFO: GPS Element Parsed {"raw_longitude":764805440,"raw_latitude":92121832,"longitude_deg":76.480544,"latitude_deg":9.2121832,"altitude":7,"angle":341,"satellites":45,"speed":59,"hex_longitude":"2d960140","hex_latitude":"057daae8","is_valid_coordinates":true} 
[2026-08-05 07:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189292032001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370260716747227136,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7634867982207191040,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785895678000,"timestamp_ms":1785895678000,"timestamp_seconds":1785895678,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfad7030"} 
[2026-08-05 07:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 07:39: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-08-05 07:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:39: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-08-05 07:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189292032001,"66":27876,"236":206,"85":15360,"24":59,"16":370260716747227136,"45":-7634867982207191040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 07:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189292032001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:39:20] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 07:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370260716747227136,"km_value":370260716747227.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7634867982207191040,"description":"Unknown IO ID 45"} 
[2026-08-05 07:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189292032001,"power":27876,"unknown_236":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7634867982207191040}} 
[2026-08-05 07:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":149502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:39:20] local.INFO: GPS data processed {"connection_id":149502,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:39:20] local.INFO: Acknowledgment sent {"connection_id":149502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:39:20] local.INFO: TCP Data received {"connection_id":149502,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfad8b88012d95f440057dd180000701542b..."} 
[2026-08-05 07:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfad8b88012d95f440057dd180000701542b..."} 
[2026-08-05 07:39:20] local.INFO: Processing buffer {"connection_id":149502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfad8b88012d95f440057dd180000701542b..."} 
[2026-08-05 07:39:20] local.INFO: Packet analysis {"connection_id":149502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:39:20] local.INFO: Extracted packet for processing {"connection_id":149502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:39:20] local.INFO: GPS Element Parsed {"raw_longitude":764802112,"raw_latitude":92131712,"longitude_deg":76.4802112,"latitude_deg":9.2131712,"altitude":7,"angle":340,"satellites":43,"speed":59,"hex_longitude":"2d95f440","hex_latitude":"057dd180","is_valid_coordinates":true} 
[2026-08-05 07:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189293568001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370261223553368064,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7637753100716283904,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785895685000,"timestamp_ms":1785895685000,"timestamp_seconds":1785895685,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfad8b88"} 
[2026-08-05 07:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:39: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-08-05 07:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189293568001,"66":27843,"236":206,"85":15360,"24":59,"16":370261223553368064,"45":-7637753100716283904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 07:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189293568001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:39:20] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 07:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370261223553368064,"km_value":370261223553368.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7637753100716283904,"description":"Unknown IO ID 45"} 
[2026-08-05 07:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189293568001,"power":27843,"unknown_236":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7637753100716283904}} 
[2026-08-05 07:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":149502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:39:21] local.INFO: GPS data processed {"connection_id":149502,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:39:21] local.INFO: Acknowledgment sent {"connection_id":149502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:39:44] local.INFO: TCP Data received {"connection_id":150910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:39:44] local.INFO: Processing buffer {"connection_id":150910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:39:44] local.INFO: IMEI packet received {"connection_id":150910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":150910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:39:48] local.INFO: TCP Data received {"connection_id":150910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:39:48] local.INFO: Processing buffer {"connection_id":150910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:39:48] local.INFO: IMEI packet received {"connection_id":150910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":150910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:39:48] local.INFO: TCP Data received {"connection_id":150910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfaed790012d80e70005db9da80003014325..."} 
[2026-08-05 07:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfaed790012d80e70005db9da80003014325..."} 
[2026-08-05 07:39:48] local.INFO: Processing buffer {"connection_id":150910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfaed790012d80e70005db9da80003014325..."} 
[2026-08-05 07:39:48] local.INFO: Packet analysis {"connection_id":150910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfae"} 
[2026-08-05 07:39:48] local.INFO: Extracted packet for processing {"connection_id":150910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfae"} 
[2026-08-05 07:39:48] local.INFO: GPS Element Parsed {"raw_longitude":763422464,"raw_latitude":98278824,"longitude_deg":76.3422464,"latitude_deg":9.8278824,"altitude":3,"angle":323,"satellites":37,"speed":45,"hex_longitude":"2d80e700","hex_latitude":"05db9da8","is_valid_coordinates":true} 
[2026-08-05 07:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189316352001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891088132571136,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9156310598494822400,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785895770000,"timestamp_ms":1785895770000,"timestamp_seconds":1785895770,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfaed790"} 
[2026-08-05 07:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 07:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189316352001,"66":13243,"154":206,"85":15104,"24":45,"16":114891088132571136,"45":-9156310598494822400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-05 07:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189316352001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:39:48] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-05 07:39:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891088132571136,"km_value":114891088132571.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9156310598494822400,"description":"Unknown IO ID 45"} 
[2026-08-05 07:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189316352001,"power":13243,"unknown_154":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9156310598494822400}} 
[2026-08-05 07:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":150910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:39:49] local.INFO: GPS data processed {"connection_id":150910,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:39:49] local.INFO: Acknowledgment sent {"connection_id":150910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:39:52] local.INFO: TCP Data received {"connection_id":149502,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfada2f8012d95e880057df288000701542a..."} 
[2026-08-05 07:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfada2f8012d95e880057df288000701542a..."} 
[2026-08-05 07:39:52] local.INFO: Processing buffer {"connection_id":149502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfada2f8012d95e880057df288000701542a..."} 
[2026-08-05 07:39:52] local.INFO: Packet analysis {"connection_id":149502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:39:52] local.INFO: Extracted packet for processing {"connection_id":149502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:39:52] local.INFO: GPS Element Parsed {"raw_longitude":764799104,"raw_latitude":92140168,"longitude_deg":76.4799104,"latitude_deg":9.2140168,"altitude":7,"angle":340,"satellites":42,"speed":59,"hex_longitude":"2d95e880","hex_latitude":"057df288","is_valid_coordinates":true} 
[2026-08-05 07:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189295360001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370261657345064960,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7641412275410993152,"note":"Value kept but may cause issues"} 
[2026-08-05 07:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785895691000,"timestamp_ms":1785895691000,"timestamp_seconds":1785895691,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfada2f8"} 
[2026-08-05 07:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 07:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189295360001,"66":27800,"65":206,"85":15360,"24":59,"16":370261657345064960,"45":-7641412275410993152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-05 07:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189295360001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:39:52] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-05 07:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370261657345064960,"km_value":370261657345064.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7641412275410993152,"description":"Unknown IO ID 45"} 
[2026-08-05 07:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189295360001,"power":27800,"unknown_65":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7641412275410993152}} 
[2026-08-05 07:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":149502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:39:52] local.INFO: GPS data processed {"connection_id":149502,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:39:52] local.INFO: Acknowledgment sent {"connection_id":149502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:40:13] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:40:13] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:40:13] local.INFO: IMEI packet received {"connection_id":148498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":148498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:40:16] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:40:16] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:40:16] local.INFO: IMEI packet received {"connection_id":148498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":148498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:40:20] local.INFO: TCP Data received {"connection_id":150910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfaef6d0012d80d1c005dbbc000004014926..."} 
[2026-08-05 07:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfaef6d0012d80d1c005dbbc000004014926..."} 
[2026-08-05 07:40:20] local.INFO: Processing buffer {"connection_id":150910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfaef6d0012d80d1c005dbbc000004014926..."} 
[2026-08-05 07:40:20] local.INFO: Packet analysis {"connection_id":150910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfae"} 
[2026-08-05 07:40:20] local.INFO: Extracted packet for processing {"connection_id":150910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfae"} 
[2026-08-05 07:40:20] local.INFO: GPS Element Parsed {"raw_longitude":763417024,"raw_latitude":98286592,"longitude_deg":76.3417024,"latitude_deg":9.8286592,"altitude":4,"angle":329,"satellites":38,"speed":48,"hex_longitude":"2d80d1c0","hex_latitude":"05dbbc00","is_valid_coordinates":true} 
[2026-08-05 07:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189317120001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891543399104512,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9158351292075235328,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785895778000,"timestamp_ms":1785895778000,"timestamp_seconds":1785895778,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfaef6d0"} 
[2026-08-05 07:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:40: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-08-05 07:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 07:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189317120001,"66":12982,"154":206,"85":15104,"24":48,"16":114891543399104512,"45":-9158351292075235328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-05 07:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189317120001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:40:20] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-05 07:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891543399104512,"km_value":114891543399104.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9158351292075235328,"description":"Unknown IO ID 45"} 
[2026-08-05 07:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189317120001,"power":12982,"unknown_154":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9158351292075235328}} 
[2026-08-05 07:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":150910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:40:20] local.INFO: GPS data processed {"connection_id":150910,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:40:20] local.INFO: Acknowledgment sent {"connection_id":150910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:40:21] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:40:21] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:40:21] local.INFO: IMEI packet received {"connection_id":148498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":148498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:40:24] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfadba68012d95dcc0057e13880006015429..."} 
[2026-08-05 07:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfadba68012d95dcc0057e13880006015429..."} 
[2026-08-05 07:40:24] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfadba68012d95dcc0057e13880006015429..."} 
[2026-08-05 07:40:24] local.INFO: Packet analysis {"connection_id":148498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:40:24] local.INFO: Extracted packet for processing {"connection_id":148498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:40:24] local.INFO: GPS Element Parsed {"raw_longitude":764796096,"raw_latitude":92148616,"longitude_deg":76.4796096,"latitude_deg":9.2148616,"altitude":6,"angle":340,"satellites":41,"speed":59,"hex_longitude":"2d95dcc0","hex_latitude":"057e1388","is_valid_coordinates":true} 
[2026-08-05 07:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189296896001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370262091136761856,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7644719606385178624,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40: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-08-05 07:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785895697000,"timestamp_ms":1785895697000,"timestamp_seconds":1785895697,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfadba68"} 
[2026-08-05 07:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 07:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189296896001,"66":27821,"65":206,"85":15360,"24":59,"16":370262091136761856,"45":-7644719606385178624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-05 07:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189296896001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:40:24] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-05 07:40:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370262091136761856,"km_value":370262091136761.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7644719606385178624,"description":"Unknown IO ID 45"} 
[2026-08-05 07:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189296896001,"power":27821,"unknown_65":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7644719606385178624}} 
[2026-08-05 07:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":148498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:40:24] local.INFO: GPS data processed {"connection_id":148498,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:40:24] local.INFO: Acknowledgment sent {"connection_id":148498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:40:44] local.INFO: TCP Data received {"connection_id":149503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:40:44] local.INFO: Processing buffer {"connection_id":149503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:40:44] local.INFO: IMEI packet received {"connection_id":149503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":149503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:40:49] local.INFO: TCP Data received {"connection_id":149503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:40:49] local.INFO: Processing buffer {"connection_id":149503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:40:49] local.INFO: IMEI packet received {"connection_id":149503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":149503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:40:49] local.INFO: TCP Data received {"connection_id":149503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfaf1610012d80c04005dbde180005014f25..."} 
[2026-08-05 07:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfaf1610012d80c04005dbde180005014f25..."} 
[2026-08-05 07:40:49] local.INFO: Processing buffer {"connection_id":149503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfaf1610012d80c04005dbde180005014f25..."} 
[2026-08-05 07:40:49] local.INFO: Packet analysis {"connection_id":149503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfaf"} 
[2026-08-05 07:40:49] local.INFO: Extracted packet for processing {"connection_id":149503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfaf"} 
[2026-08-05 07:40:49] local.INFO: GPS Element Parsed {"raw_longitude":763412544,"raw_latitude":98295320,"longitude_deg":76.3412544,"latitude_deg":9.829532,"altitude":5,"angle":335,"satellites":37,"speed":47,"hex_longitude":"2d80c040","hex_latitude":"05dbde18","is_valid_coordinates":true} 
[2026-08-05 07:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189319168001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114892020140474368,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164332635328348160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785895786000,"timestamp_ms":1785895786000,"timestamp_seconds":1785895786,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfaf1610"} 
[2026-08-05 07:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:40: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-08-05 07:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-05 07:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189319168001,"66":12982,"154":206,"85":15104,"24":47,"16":114892020140474368,"45":-9164332635328348160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-05 07:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189319168001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:40:49] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-05 07:40:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114892020140474368,"km_value":114892020140474.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164332635328348160,"description":"Unknown IO ID 45"} 
[2026-08-05 07:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189319168001,"power":12982,"unknown_154":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9164332635328348160}} 
[2026-08-05 07:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":149503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:40:49] local.INFO: GPS data processed {"connection_id":149503,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:40:49] local.INFO: Acknowledgment sent {"connection_id":149503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:40:55] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfadd1d8012d95d100057e3468000601542a..."} 
[2026-08-05 07:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfadd1d8012d95d100057e3468000601542a..."} 
[2026-08-05 07:40:55] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfadd1d8012d95d100057e3468000601542a..."} 
[2026-08-05 07:40:55] local.INFO: Packet analysis {"connection_id":148498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:40:55] local.INFO: Extracted packet for processing {"connection_id":148498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfad"} 
[2026-08-05 07:40:55] local.INFO: GPS Element Parsed {"raw_longitude":764793088,"raw_latitude":92157032,"longitude_deg":76.4793088,"latitude_deg":9.2157032,"altitude":6,"angle":340,"satellites":42,"speed":59,"hex_longitude":"2d95d100","hex_latitude":"057e3468","is_valid_coordinates":true} 
[2026-08-05 07:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189298432001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370262524928458752,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7648026937359366144,"note":"Value kept but may cause issues"} 
[2026-08-05 07:40: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-08-05 07:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785895703000,"timestamp_ms":1785895703000,"timestamp_seconds":1785895703,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfadd1d8"} 
[2026-08-05 07:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 07:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:40: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-08-05 07:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189298432001,"66":27984,"65":206,"85":15360,"24":59,"16":370262524928458752,"45":-7648026937359366144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-05 07:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189298432001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:40:55] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-05 07:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370262524928458752,"km_value":370262524928458.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7648026937359366144,"description":"Unknown IO ID 45"} 
[2026-08-05 07:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189298432001,"power":27984,"unknown_65":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7648026937359366144}} 
[2026-08-05 07:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":148498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:40:55] local.INFO: GPS data processed {"connection_id":148498,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:40:55] local.INFO: Acknowledgment sent {"connection_id":148498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:41:18] local.INFO: TCP Data received {"connection_id":148278,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:41:18] local.INFO: Processing buffer {"connection_id":148278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:41:18] local.INFO: IMEI packet received {"connection_id":148278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":148278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:41:18] local.INFO: TCP Data received {"connection_id":148278,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:41:18] local.INFO: Processing buffer {"connection_id":148278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:41:18] local.INFO: IMEI packet received {"connection_id":148278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":148278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:41:20] local.INFO: TCP Data received {"connection_id":149503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfaf3550012d80b1c005dc00780006015125..."} 
[2026-08-05 07:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfaf3550012d80b1c005dc00780006015125..."} 
[2026-08-05 07:41:20] local.INFO: Processing buffer {"connection_id":149503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfaf3550012d80b1c005dc00780006015125..."} 
[2026-08-05 07:41:20] local.INFO: Packet analysis {"connection_id":149503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfaf"} 
[2026-08-05 07:41:20] local.INFO: Extracted packet for processing {"connection_id":149503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfaf"} 
[2026-08-05 07:41:20] local.INFO: GPS Element Parsed {"raw_longitude":763408832,"raw_latitude":98304120,"longitude_deg":76.3408832,"latitude_deg":9.830412,"altitude":6,"angle":337,"satellites":37,"speed":48,"hex_longitude":"2d80b1c0","hex_latitude":"05dc0078","is_valid_coordinates":true} 
[2026-08-05 07:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189321216001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114892483996942336,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169258447418550272,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785895794000,"timestamp_ms":1785895794000,"timestamp_seconds":1785895794,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfaf3550"} 
[2026-08-05 07:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-05 07:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189321216001,"66":13363,"154":206,"85":15104,"24":48,"16":114892483996942336,"45":-9169258447418550272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-05 07:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189321216001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:41:20] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-05 07:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114892483996942336,"km_value":114892483996942.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169258447418550272,"description":"Unknown IO ID 45"} 
[2026-08-05 07:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189321216001,"power":13363,"unknown_154":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9169258447418550272}} 
[2026-08-05 07:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":149503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:41:20] local.INFO: GPS data processed {"connection_id":149503,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:41:20] local.INFO: Acknowledgment sent {"connection_id":149503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:41:21] local.INFO: TCP Data received {"connection_id":148278,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:41:21] local.INFO: Processing buffer {"connection_id":148278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:41:21] local.INFO: IMEI packet received {"connection_id":148278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":148278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:41:21] local.INFO: TCP Data received {"connection_id":148278,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfaf9310012d955500057fb3080007015029..."} 
[2026-08-05 07:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfaf9310012d955500057fb3080007015029..."} 
[2026-08-05 07:41:21] local.INFO: Processing buffer {"connection_id":148278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfaf9310012d955500057fb3080007015029..."} 
[2026-08-05 07:41:21] local.INFO: Packet analysis {"connection_id":148278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfaf"} 
[2026-08-05 07:41:21] local.INFO: Extracted packet for processing {"connection_id":148278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfaf"} 
[2026-08-05 07:41:21] local.INFO: GPS Element Parsed {"raw_longitude":764761344,"raw_latitude":92254984,"longitude_deg":76.4761344,"latitude_deg":9.2254984,"altitude":7,"angle":336,"satellites":41,"speed":37,"hex_longitude":"2d955500","hex_latitude":"057fb308","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189326848001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370267515680456704,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7682296515748999168,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785895818000,"timestamp_ms":1785895818000,"timestamp_seconds":1785895818,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfaf9310"} 
[2026-08-05 07:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:41: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-08-05 07: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-05 07:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:41: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-08-05 07:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189326848001,"66":27821,"236":206,"85":15360,"24":37,"16":370267515680456704,"45":-7682296515748999168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 07:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189326848001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:41:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 07:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370267515680456704,"km_value":370267515680456.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7682296515748999168,"description":"Unknown IO ID 45"} 
[2026-08-05 07:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189326848001,"power":27821,"unknown_236":206,"unknown_85":15360,"ignition":37,"odometer":null,"unknown_45":-7682296515748999168}} 
[2026-08-05 07:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":148278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:41:21] local.INFO: GPS data processed {"connection_id":148278,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:41:21] local.INFO: Acknowledgment sent {"connection_id":148278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:41:26] local.INFO: TCP Data received {"connection_id":148278,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfafbe08012d954540057fd4500006014c2b..."} 
[2026-08-05 07:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfafbe08012d954540057fd4500006014c2b..."} 
[2026-08-05 07:41:26] local.INFO: Processing buffer {"connection_id":148278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfafbe08012d954540057fd4500006014c2b..."} 
[2026-08-05 07:41:26] local.INFO: Packet analysis {"connection_id":148278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfaf"} 
[2026-08-05 07:41:26] local.INFO: Extracted packet for processing {"connection_id":148278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfaf"} 
[2026-08-05 07:41:26] local.INFO: GPS Element Parsed {"raw_longitude":764757312,"raw_latitude":92263504,"longitude_deg":76.4757312,"latitude_deg":9.2263504,"altitude":6,"angle":332,"satellites":43,"speed":33,"hex_longitude":"2d954540","hex_latitude":"057fd450","is_valid_coordinates":true} 
[2026-08-05 07:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189329408001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370267975241957376,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7686237165420607488,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785895829000,"timestamp_ms":1785895829000,"timestamp_seconds":1785895829,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfafbe08"} 
[2026-08-05 07:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 07:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189329408001,"66":27865,"236":206,"85":15360,"24":33,"16":370267975241957376,"45":-7686237165420607488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 07:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189329408001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:41:26] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 07:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370267975241957376,"km_value":370267975241957.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7686237165420607488,"description":"Unknown IO ID 45"} 
[2026-08-05 07:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189329408001,"power":27865,"unknown_236":206,"unknown_85":15360,"ignition":33,"odometer":null,"unknown_45":-7686237165420607488}} 
[2026-08-05 07:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":148278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:41:26] local.INFO: GPS data processed {"connection_id":148278,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:41:26] local.INFO: Acknowledgment sent {"connection_id":148278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:41:42] local.INFO: TCP Data received {"connection_id":150911,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:41:42] local.INFO: Processing buffer {"connection_id":150911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:41:42] local.INFO: IMEI packet received {"connection_id":150911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":150911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:41:44] local.INFO: TCP Data received {"connection_id":150911,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:41:44] local.INFO: Processing buffer {"connection_id":150911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:41:44] local.INFO: IMEI packet received {"connection_id":150911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":150911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:41:49] local.INFO: TCP Data received {"connection_id":150911,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:41:49] local.INFO: Processing buffer {"connection_id":150911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:41:49] local.INFO: IMEI packet received {"connection_id":150911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":150911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:41:50] local.INFO: TCP Data received {"connection_id":150911,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb090f8012d801c0005dc9888000a010125..."} 
[2026-08-05 07:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb090f8012d801c0005dc9888000a010125..."} 
[2026-08-05 07:41:50] local.INFO: Processing buffer {"connection_id":150911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb090f8012d801c0005dc9888000a010125..."} 
[2026-08-05 07:41:50] local.INFO: Packet analysis {"connection_id":150911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb0"} 
[2026-08-05 07:41:50] local.INFO: Extracted packet for processing {"connection_id":150911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb0"} 
[2026-08-05 07:41:50] local.INFO: GPS Element Parsed {"raw_longitude":763370496,"raw_latitude":98343048,"longitude_deg":76.3370496,"latitude_deg":9.8343048,"altitude":10,"angle":257,"satellites":37,"speed":43,"hex_longitude":"2d801c00","hex_latitude":"05dc9888","is_valid_coordinates":true} 
[2026-08-05 07:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189343744001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114895700927447040,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205427981913116672,"note":"Value kept but may cause issues"} 
[2026-08-05 07:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785895883000,"timestamp_ms":1785895883000,"timestamp_seconds":1785895883,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb090f8"} 
[2026-08-05 07:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-05 07:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189343744001,"66":13374,"251":206,"85":15104,"24":43,"16":114895700927447040,"45":-9205427981913116672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-05 07:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189343744001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:41:50] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-05 07:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114895700927447040,"km_value":114895700927447.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205427981913116672,"description":"Unknown IO ID 45"} 
[2026-08-05 07:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189343744001,"power":13374,"unknown_251":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9205427981913116672}} 
[2026-08-05 07:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":150911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:41:50] local.INFO: GPS data processed {"connection_id":150911,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:41:50] local.INFO: Acknowledgment sent {"connection_id":150911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:42:15] local.INFO: TCP Data received {"connection_id":148279,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:42:15] local.INFO: Processing buffer {"connection_id":148279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:42:15] local.INFO: IMEI packet received {"connection_id":148279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":148279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:42:21] local.INFO: TCP Data received {"connection_id":148279,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:42:21] local.INFO: Processing buffer {"connection_id":148279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:42:21] local.INFO: IMEI packet received {"connection_id":148279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":148279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:42:22] local.INFO: TCP Data received {"connection_id":148279,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfafe900012d953300057ff5a80006014b2a..."} 
[2026-08-05 07:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfafe900012d953300057ff5a80006014b2a..."} 
[2026-08-05 07:42:22] local.INFO: Processing buffer {"connection_id":148279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfafe900012d953300057ff5a80006014b2a..."} 
[2026-08-05 07:42:22] local.INFO: Packet analysis {"connection_id":148279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfaf"} 
[2026-08-05 07:42:22] local.INFO: Extracted packet for processing {"connection_id":148279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfaf"} 
[2026-08-05 07:42:22] local.INFO: GPS Element Parsed {"raw_longitude":764752640,"raw_latitude":92272040,"longitude_deg":76.475264,"latitude_deg":9.227204,"altitude":6,"angle":331,"satellites":42,"speed":36,"hex_longitude":"2d953300","hex_latitude":"057ff5a8","is_valid_coordinates":true} 
[2026-08-05 07:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189332224001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370268443393392640,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7690670396301619200,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785895840000,"timestamp_ms":1785895840000,"timestamp_seconds":1785895840,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfafe900"} 
[2026-08-05 07:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189332224001,"66":27865,"236":206,"85":15360,"24":36,"16":370268443393392640,"45":-7690670396301619200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 07:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189332224001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:42:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 07:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370268443393392640,"km_value":370268443393392.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7690670396301619200,"description":"Unknown IO ID 45"} 
[2026-08-05 07:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189332224001,"power":27865,"unknown_236":206,"unknown_85":15360,"ignition":36,"odometer":null,"unknown_45":-7690670396301619200}} 
[2026-08-05 07:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":148279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:42:22] local.INFO: GPS data processed {"connection_id":148279,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:42:22] local.INFO: Acknowledgment sent {"connection_id":148279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:42:22] local.INFO: TCP Data received {"connection_id":150911,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb0b420012d7ff88005dc9040000b00ff25..."} 
[2026-08-05 07:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb0b420012d7ff88005dc9040000b00ff25..."} 
[2026-08-05 07:42:22] local.INFO: Processing buffer {"connection_id":150911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb0b420012d7ff88005dc9040000b00ff25..."} 
[2026-08-05 07:42:22] local.INFO: Packet analysis {"connection_id":150911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb0"} 
[2026-08-05 07:42:22] local.INFO: Extracted packet for processing {"connection_id":150911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb0"} 
[2026-08-05 07:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763361408,"raw_latitude":98340928,"longitude_deg":76.3361408,"latitude_deg":9.8340928,"altitude":11,"angle":255,"satellites":37,"speed":41,"hex_longitude":"2d7ff880","hex_latitude":"05dc9040","is_valid_coordinates":true} 
[2026-08-05 07:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189346048001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114896147604045824,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215490712331057152,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42: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-08-05 07:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785895892000,"timestamp_ms":1785895892000,"timestamp_seconds":1785895892,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb0b420"} 
[2026-08-05 07:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-05 07:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189346048001,"66":12515,"251":206,"85":15104,"24":41,"16":114896147604045824,"45":-9215490712331057152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-05 07:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189346048001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:42:22] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-05 07:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114896147604045824,"km_value":114896147604045.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215490712331057152,"description":"Unknown IO ID 45"} 
[2026-08-05 07:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189346048001,"power":12515,"unknown_251":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9215490712331057152}} 
[2026-08-05 07:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":150911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:42:22] local.INFO: GPS data processed {"connection_id":150911,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:42:22] local.INFO: Acknowledgment sent {"connection_id":150911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:42:44] local.INFO: TCP Data received {"connection_id":149504,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:42:44] local.INFO: Processing buffer {"connection_id":149504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:42:44] local.INFO: IMEI packet received {"connection_id":149504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":149504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:42:49] local.INFO: TCP Data received {"connection_id":149504,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:42:49] local.INFO: Processing buffer {"connection_id":149504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:42:49] local.INFO: IMEI packet received {"connection_id":149504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":149504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:42:50] local.INFO: TCP Data received {"connection_id":149504,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb16bb8012d7f758005dcd8800004015825..."} 
[2026-08-05 07:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb16bb8012d7f758005dcd8800004015825..."} 
[2026-08-05 07:42:50] local.INFO: Processing buffer {"connection_id":149504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb16bb8012d7f758005dcd8800004015825..."} 
[2026-08-05 07:42:50] local.INFO: Packet analysis {"connection_id":149504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:42:50] local.INFO: Extracted packet for processing {"connection_id":149504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:42:50] local.INFO: GPS Element Parsed {"raw_longitude":763327872,"raw_latitude":98359424,"longitude_deg":76.3327872,"latitude_deg":9.8359424,"altitude":4,"angle":344,"satellites":37,"speed":43,"hex_longitude":"2d7f7580","hex_latitude":"05dcd880","is_valid_coordinates":true} 
[2026-08-05 07:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189358848001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114898527015927808,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188398796177129472,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785895939000,"timestamp_ms":1785895939000,"timestamp_seconds":1785895939,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb16bb8"} 
[2026-08-05 07:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-05 07:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189358848001,"66":13580,"53":206,"85":15104,"24":43,"16":114898527015927808,"45":9188398796177129472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-05 07:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189358848001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:42:50] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 07:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114898527015927808,"km_value":114898527015927.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188398796177129472,"description":"Unknown IO ID 45"} 
[2026-08-05 07:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189358848001,"power":13580,"unknown_53":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9188398796177129472}} 
[2026-08-05 07:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":149504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:42:50] local.INFO: GPS data processed {"connection_id":149504,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:42:50] local.INFO: Acknowledgment sent {"connection_id":149504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:42:53] local.INFO: TCP Data received {"connection_id":148279,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb01010012d952180058016b80007014e2d..."} 
[2026-08-05 07:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb01010012d952180058016b80007014e2d..."} 
[2026-08-05 07:42:53] local.INFO: Processing buffer {"connection_id":148279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb01010012d952180058016b80007014e2d..."} 
[2026-08-05 07:42:53] local.INFO: Packet analysis {"connection_id":148279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb0"} 
[2026-08-05 07:42:53] local.INFO: Extracted packet for processing {"connection_id":148279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb0"} 
[2026-08-05 07:42:53] local.INFO: GPS Element Parsed {"raw_longitude":764748160,"raw_latitude":92280504,"longitude_deg":76.474816,"latitude_deg":9.2280504,"altitude":7,"angle":334,"satellites":45,"speed":38,"hex_longitude":"2d952180","hex_latitude":"058016b8","is_valid_coordinates":true} 
[2026-08-05 07:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189335040001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370268907249860608,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7695807314624403456,"note":"Value kept but may cause issues"} 
[2026-08-05 07:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785895850000,"timestamp_ms":1785895850000,"timestamp_seconds":1785895850,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb01010"} 
[2026-08-05 07:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189335040001,"66":27832,"237":206,"85":15360,"24":38,"16":370268907249860608,"45":-7695807314624403456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-05 07:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189335040001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:42:53] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-05 07:42:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370268907249860608,"km_value":370268907249860.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7695807314624403456,"description":"Unknown IO ID 45"} 
[2026-08-05 07:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189335040001,"power":27832,"unknown_237":206,"unknown_85":15360,"ignition":38,"odometer":null,"unknown_45":-7695807314624403456}} 
[2026-08-05 07:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":148279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:42:53] local.INFO: GPS data processed {"connection_id":148279,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:42:53] local.INFO: Acknowledgment sent {"connection_id":148279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:43:20] local.INFO: TCP Data received {"connection_id":150912,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:43:20] local.INFO: Processing buffer {"connection_id":150912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:43:20] local.INFO: IMEI packet received {"connection_id":150912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":150912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:43:20] local.INFO: TCP Data received {"connection_id":149504,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb18af8012d7f6bc005dcf8b00005014c25..."} 
[2026-08-05 07:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb18af8012d7f6bc005dcf8b00005014c25..."} 
[2026-08-05 07:43:20] local.INFO: Processing buffer {"connection_id":149504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb18af8012d7f6bc005dcf8b00005014c25..."} 
[2026-08-05 07:43:20] local.INFO: Packet analysis {"connection_id":149504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:43:20] local.INFO: Extracted packet for processing {"connection_id":149504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:43:20] local.INFO: GPS Element Parsed {"raw_longitude":763325376,"raw_latitude":98367664,"longitude_deg":76.3325376,"latitude_deg":9.8367664,"altitude":5,"angle":332,"satellites":37,"speed":40,"hex_longitude":"2d7f6bc0","hex_latitude":"05dcf8b0","is_valid_coordinates":true} 
[2026-08-05 07:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189360384001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114898947922722816,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184387777760362496,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785895947000,"timestamp_ms":1785895947000,"timestamp_seconds":1785895947,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb18af8"} 
[2026-08-05 07:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:43: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":12,"data_length":795,"current_offset":136} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618098,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3484487160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2460372891686928394,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2236088328,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2970994689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937947643,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3758173567,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2147867778,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292224986984875,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699357696,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-6953551380096745463,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:20] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,53,85,24,241,157,16,51,159,84,45,192,195,6,35,10,66,60,64,172,7,251,25,128,1,240,220,227,50,207,4,113,205,31,17,155,40,38,239,52,2,152,5,9,27,127,59],"length":577,"final_offset":707,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-08-05 07:43:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288608767068274688,"timestamp_seconds":288608767068274.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189360384001,"66":13319,"53":206,"85":15104,"24":40,"16":114898947922722816,"45":9184387777760362496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-05 07:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189360384001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:43:20] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 07:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114898947922722816,"km_value":114898947922722.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184387777760362496,"description":"Unknown IO ID 45"} 
[2026-08-05 07:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189360384001,"power":13319,"unknown_53":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9184387777760362496}} 
[2026-08-05 07:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":149504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:43:20] local.INFO: GPS data processed {"connection_id":149504,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:43:20] local.INFO: Acknowledgment sent {"connection_id":149504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:43:21] local.INFO: TCP Data received {"connection_id":150912,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:43:21] local.INFO: Processing buffer {"connection_id":150912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:43:21] local.INFO: IMEI packet received {"connection_id":150912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":150912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:43:24] local.INFO: TCP Data received {"connection_id":150912,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:43:24] local.INFO: Processing buffer {"connection_id":150912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:43:24] local.INFO: IMEI packet received {"connection_id":150912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":150912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:43:24] local.INFO: TCP Data received {"connection_id":150912,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb1a268012d94ba40058133500005015326..."} 
[2026-08-05 07:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb1a268012d94ba40058133500005015326..."} 
[2026-08-05 07:43:24] local.INFO: Processing buffer {"connection_id":150912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb1a268012d94ba40058133500005015326..."} 
[2026-08-05 07:43:24] local.INFO: Packet analysis {"connection_id":150912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:43:24] local.INFO: Extracted packet for processing {"connection_id":150912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:43:24] local.INFO: GPS Element Parsed {"raw_longitude":764721728,"raw_latitude":92353360,"longitude_deg":76.4721728,"latitude_deg":9.235336,"altitude":5,"angle":339,"satellites":38,"speed":41,"hex_longitude":"2d94ba40","hex_latitude":"05813350","is_valid_coordinates":true} 
[2026-08-05 07:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189360896001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370272682526113792,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7725643662137214976,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785895953000,"timestamp_ms":1785895953000,"timestamp_seconds":1785895953,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb1a268"} 
[2026-08-05 07:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 07:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189360896001,"66":27974,"19":206,"85":15360,"24":41,"16":370272682526113792,"45":-7725643662137214976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-05 07:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189360896001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:43:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-05 07:43:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370272682526113792,"km_value":370272682526113.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7725643662137214976,"description":"Unknown IO ID 45"} 
[2026-08-05 07:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189360896001,"power":27974,"unknown_19":206,"unknown_85":15360,"ignition":41,"odometer":null,"unknown_45":-7725643662137214976}} 
[2026-08-05 07:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":150912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:43:24] local.INFO: GPS data processed {"connection_id":150912,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:43:24] local.INFO: Acknowledgment sent {"connection_id":150912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:43:26] local.INFO: TCP Data received {"connection_id":150912,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb1c978012d94acc0058157880004015128..."} 
[2026-08-05 07:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb1c978012d94acc0058157880004015128..."} 
[2026-08-05 07:43:26] local.INFO: Processing buffer {"connection_id":150912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb1c978012d94acc0058157880004015128..."} 
[2026-08-05 07:43:26] local.INFO: Packet analysis {"connection_id":150912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:43:26] local.INFO: Extracted packet for processing {"connection_id":150912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:43:26] local.INFO: GPS Element Parsed {"raw_longitude":764718272,"raw_latitude":92362632,"longitude_deg":76.4718272,"latitude_deg":9.2362632,"altitude":4,"angle":337,"satellites":40,"speed":28,"hex_longitude":"2d94acc0","hex_latitude":"05815788","is_valid_coordinates":true} 
[2026-08-05 07:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189363968001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370273163562450944,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7729795418041397248,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785895963000,"timestamp_ms":1785895963000,"timestamp_seconds":1785895963,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb1c978"} 
[2026-08-05 07:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 07:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189363968001,"66":27930,"19":206,"85":15360,"24":28,"16":370273163562450944,"45":-7729795418041397248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-05 07:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189363968001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:43:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-05 07:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370273163562450944,"km_value":370273163562450.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7729795418041397248,"description":"Unknown IO ID 45"} 
[2026-08-05 07:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189363968001,"power":27930,"unknown_19":206,"unknown_85":15360,"ignition":28,"odometer":null,"unknown_45":-7729795418041397248}} 
[2026-08-05 07:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":150912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:43:26] local.INFO: GPS data processed {"connection_id":150912,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:43:26] local.INFO: Acknowledgment sent {"connection_id":150912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:43:44] local.INFO: TCP Data received {"connection_id":148280,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:43:44] local.INFO: Processing buffer {"connection_id":148280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:43:44] local.INFO: IMEI packet received {"connection_id":148280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":148280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:43:49] local.INFO: TCP Data received {"connection_id":148280,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:43:49] local.INFO: Processing buffer {"connection_id":148280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:43:49] local.INFO: IMEI packet received {"connection_id":148280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":148280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:43:50] local.INFO: TCP Data received {"connection_id":148280,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb1b208012d7f558005dd17d00005014722..."} 
[2026-08-05 07:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb1b208012d7f558005dd17d00005014722..."} 
[2026-08-05 07:43:50] local.INFO: Processing buffer {"connection_id":148280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb1b208012d7f558005dd17d00005014722..."} 
[2026-08-05 07:43:50] local.INFO: Packet analysis {"connection_id":148280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:43:50] local.INFO: Extracted packet for processing {"connection_id":148280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:43:50] local.INFO: GPS Element Parsed {"raw_longitude":763319680,"raw_latitude":98375632,"longitude_deg":76.331968,"latitude_deg":9.8375632,"altitude":5,"angle":327,"satellites":34,"speed":38,"hex_longitude":"2d7f5580","hex_latitude":"05dd17d0","is_valid_coordinates":true} 
[2026-08-05 07:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189362432001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114899416074158080,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181643396739543040,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785895957000,"timestamp_ms":1785895957000,"timestamp_seconds":1785895957,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb1b208"} 
[2026-08-05 07:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3484488160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2971250689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":220,"raw_value":9203105877206312448,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3355520383,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407207,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699517440,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57887066717836603,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.WARNING: Large IO value detected {"io_id":177,"raw_value":1006555811643490309,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:50] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,53,85,24,241,157,16,51,159,107,45,128,216,4,37,10,66,84,192,195,6,35,60,64,1,240,227,207,220,113,205,33,21,154,72,239,52,251,2,152,5,9,29,160,177],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-08-05 07:43:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360653166966472704,"timestamp_seconds":360653166966472.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189362432001,"66":13243,"53":206,"85":15104,"24":38,"16":114899416074158080,"45":9181643396739543040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-05 07:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189362432001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:43:50] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 07:43:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114899416074158080,"km_value":114899416074158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181643396739543040,"description":"Unknown IO ID 45"} 
[2026-08-05 07:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189362432001,"power":13243,"unknown_53":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9181643396739543040}} 
[2026-08-05 07:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":148280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:43:50] local.INFO: GPS data processed {"connection_id":148280,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:43:50] local.INFO: Acknowledgment sent {"connection_id":148280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:43:57] local.INFO: TCP Data received {"connection_id":150912,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb1d530012d94a90005815db00005014228..."} 
[2026-08-05 07:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb1d530012d94a90005815db00005014228..."} 
[2026-08-05 07:43:57] local.INFO: Processing buffer {"connection_id":150912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb1d530012d94a90005815db00005014228..."} 
[2026-08-05 07:43:57] local.INFO: Packet analysis {"connection_id":150912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:43:57] local.INFO: Extracted packet for processing {"connection_id":150912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:43:57] local.INFO: GPS Element Parsed {"raw_longitude":764717312,"raw_latitude":92364208,"longitude_deg":76.4717312,"latitude_deg":9.2364208,"altitude":5,"angle":322,"satellites":40,"speed":19,"hex_longitude":"2d94a900","hex_latitude":"05815db0","is_valid_coordinates":true} 
[2026-08-05 07:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189366528001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370273249461796864,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7733595330224617472,"note":"Value kept but may cause issues"} 
[2026-08-05 07:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785895966000,"timestamp_ms":1785895966000,"timestamp_seconds":1785895966,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb1d530"} 
[2026-08-05 07:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 07:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189366528001,"66":27876,"19":206,"85":15360,"24":19,"16":370273249461796864,"45":-7733595330224617472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-05 07:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189366528001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:43:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-05 07:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370273249461796864,"km_value":370273249461796.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7733595330224617472,"description":"Unknown IO ID 45"} 
[2026-08-05 07:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189366528001,"power":27876,"unknown_19":206,"unknown_85":15360,"ignition":19,"odometer":null,"unknown_45":-7733595330224617472}} 
[2026-08-05 07:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":150912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:43:57] local.INFO: GPS data processed {"connection_id":150912,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:43:57] local.INFO: Acknowledgment sent {"connection_id":150912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:44:16] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:44:16] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:44:16] local.INFO: IMEI packet received {"connection_id":148499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":148499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:44:20] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:44:20] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:44:20] local.INFO: IMEI packet received {"connection_id":148499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":148499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:44:21] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb22350012d949f4005816a30000401492a..."} 
[2026-08-05 07:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb22350012d949f4005816a30000401492a..."} 
[2026-08-05 07:44:21] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb22350012d949f4005816a30000401492a..."} 
[2026-08-05 07:44:21] local.INFO: Packet analysis {"connection_id":148499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb2"} 
[2026-08-05 07:44:21] local.INFO: Extracted packet for processing {"connection_id":148499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb2"} 
[2026-08-05 07:44:21] local.INFO: GPS Element Parsed {"raw_longitude":764714816,"raw_latitude":92367408,"longitude_deg":76.4714816,"latitude_deg":9.2367408,"altitude":4,"angle":329,"satellites":42,"speed":3,"hex_longitude":"2d949f40","hex_latitude":"05816a30","is_valid_coordinates":true} 
[2026-08-05 07:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189367296001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370273451325259776,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7734650861386878976,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785895986000,"timestamp_ms":1785895986000,"timestamp_seconds":1785895986,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb22350"} 
[2026-08-05 07:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:44: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-08-05 07:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189367296001,"66":27908,"19":206,"85":15360,"24":3,"16":370273451325259776,"45":-7734650861386878976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-05 07:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189367296001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:44:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-05 07:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370273451325259776,"km_value":370273451325259.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7734650861386878976,"description":"Unknown IO ID 45"} 
[2026-08-05 07:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189367296001,"power":27908,"unknown_19":206,"unknown_85":15360,"ignition":3,"odometer":null,"unknown_45":-7734650861386878976}} 
[2026-08-05 07:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":148499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:44:21] local.INFO: GPS data processed {"connection_id":148499,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:44:21] local.INFO: Acknowledgment sent {"connection_id":148499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:44:23] local.INFO: TCP Data received {"connection_id":148280,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb1bdc0012d7f50c005dd22480004015723..."} 
[2026-08-05 07:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb1bdc0012d7f50c005dd22480004015723..."} 
[2026-08-05 07:44:23] local.INFO: Processing buffer {"connection_id":148280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb1bdc0012d7f50c005dd22480004015723..."} 
[2026-08-05 07:44:23] local.INFO: Packet analysis {"connection_id":148280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:44:23] local.INFO: Extracted packet for processing {"connection_id":148280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb1"} 
[2026-08-05 07:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763318464,"raw_latitude":98378312,"longitude_deg":76.3318464,"latitude_deg":9.8378312,"altitude":4,"angle":343,"satellites":35,"speed":39,"hex_longitude":"2d7f50c0","hex_latitude":"05dd2248","is_valid_coordinates":true} 
[2026-08-05 07:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189364992001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114899562103046144,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175380578509770752,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785895960000,"timestamp_ms":1785895960000,"timestamp_seconds":1785895960,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb1bdc0"} 
[2026-08-05 07:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:44: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-08-05 07:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 07:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189364992001,"66":13450,"53":206,"85":15104,"24":39,"16":114899562103046144,"45":9175380578509770752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-05 07:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189364992001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:44:23] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 07:44:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114899562103046144,"km_value":114899562103046.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175380578509770752,"description":"Unknown IO ID 45"} 
[2026-08-05 07:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189364992001,"power":13450,"unknown_53":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9175380578509770752}} 
[2026-08-05 07:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":148280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:44:23] local.INFO: GPS data processed {"connection_id":148280,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:44:23] local.INFO: Acknowledgment sent {"connection_id":148280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:44:43] local.INFO: TCP Data received {"connection_id":149505,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:44:43] local.INFO: Processing buffer {"connection_id":149505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:44:43] local.INFO: IMEI packet received {"connection_id":149505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":149505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:44:49] local.INFO: TCP Data received {"connection_id":149505,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:44:49] local.INFO: Processing buffer {"connection_id":149505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:44:49] local.INFO: IMEI packet received {"connection_id":149505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":149505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:44:50] local.INFO: TCP Data received {"connection_id":149505,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb363a0012d7eeb4005de64b0000a015623..."} 
[2026-08-05 07:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb363a0012d7eeb4005de64b0000a015623..."} 
[2026-08-05 07:44:50] local.INFO: Processing buffer {"connection_id":149505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb363a0012d7eeb4005de64b0000a015623..."} 
[2026-08-05 07:44:50] local.INFO: Packet analysis {"connection_id":149505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:44:50] local.INFO: Extracted packet for processing {"connection_id":149505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:44:50] local.INFO: GPS Element Parsed {"raw_longitude":763292480,"raw_latitude":98460848,"longitude_deg":76.329248,"latitude_deg":9.8460848,"altitude":10,"angle":342,"satellites":35,"speed":40,"hex_longitude":"2d7eeb40","hex_latitude":"05de64b0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 07:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189391104001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114903801235767296,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148640455741712384,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785896068000,"timestamp_ms":1785896068000,"timestamp_seconds":1785896068,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb363a0"} 
[2026-08-05 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-08-05 07:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-05 07:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 07:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189391104001,"66":13624,"101":206,"85":15104,"24":40,"16":114903801235767296,"45":9148640455741712384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-08-05 07:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189391104001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:44:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 07:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114903801235767296,"km_value":114903801235767.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148640455741712384,"description":"Unknown IO ID 45"} 
[2026-08-05 07:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189391104001,"power":13624,"unknown_101":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9148640455741712384}} 
[2026-08-05 07:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":149505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:44:50] local.INFO: GPS data processed {"connection_id":149505,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:44:50] local.INFO: Acknowledgment sent {"connection_id":149505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:44:52] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb22738012d949f4005816ab8000301582c..."} 
[2026-08-05 07:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb22738012d949f4005816ab8000301582c..."} 
[2026-08-05 07:44:52] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb22738012d949f4005816ab8000301582c..."} 
[2026-08-05 07:44:52] local.INFO: Packet analysis {"connection_id":148499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb2"} 
[2026-08-05 07:44:52] local.INFO: Extracted packet for processing {"connection_id":148499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb2"} 
[2026-08-05 07:44:52] local.INFO: GPS Element Parsed {"raw_longitude":764714816,"raw_latitude":92367544,"longitude_deg":76.4714816,"latitude_deg":9.2367544,"altitude":3,"angle":344,"satellites":44,"speed":6,"hex_longitude":"2d949f40","hex_latitude":"05816ab8","is_valid_coordinates":true} 
[2026-08-05 07:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189372416001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370273455620227072,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7737395242408988672,"note":"Value kept but may cause issues"} 
[2026-08-05 07:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785895987000,"timestamp_ms":1785895987000,"timestamp_seconds":1785895987,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb22738"} 
[2026-08-05 07:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189372416001,"66":27908,"19":206,"85":15360,"24":6,"16":370273455620227072,"45":-7737395242408988672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-05 07:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189372416001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:44:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-05 07:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370273455620227072,"km_value":370273455620227.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7737395242408988672,"description":"Unknown IO ID 45"} 
[2026-08-05 07:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189372416001,"power":27908,"unknown_19":206,"unknown_85":15360,"ignition":6,"odometer":null,"unknown_45":-7737395242408988672}} 
[2026-08-05 07:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":148499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:44:52] local.INFO: GPS data processed {"connection_id":148499,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:44:52] local.INFO: Acknowledgment sent {"connection_id":148499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:45:15] local.INFO: TCP Data received {"connection_id":150913,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:45:15] local.INFO: Processing buffer {"connection_id":150913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:45:15] local.INFO: IMEI packet received {"connection_id":150913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":150913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:45:21] local.INFO: TCP Data received {"connection_id":150913,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:45:21] local.INFO: Processing buffer {"connection_id":150913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:45:21] local.INFO: IMEI packet received {"connection_id":150913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":150913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:45:21] local.INFO: TCP Data received {"connection_id":149505,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb386c8012d7ede8005de8520000a015123..."} 
[2026-08-05 07:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb386c8012d7ede8005de8520000a015123..."} 
[2026-08-05 07:45:21] local.INFO: Processing buffer {"connection_id":149505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb386c8012d7ede8005de8520000a015123..."} 
[2026-08-05 07:45:21] local.INFO: Packet analysis {"connection_id":149505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:45:21] local.INFO: Extracted packet for processing {"connection_id":149505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:45:21] local.INFO: GPS Element Parsed {"raw_longitude":763289216,"raw_latitude":98469152,"longitude_deg":76.3289216,"latitude_deg":9.8469152,"altitude":10,"angle":337,"satellites":35,"speed":39,"hex_longitude":"2d7ede80","hex_latitude":"05de8520","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189393408001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114904235027464192,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145473862256078848,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785896077000,"timestamp_ms":1785896077000,"timestamp_seconds":1785896077,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb386c8"} 
[2026-08-05 07:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-05 07:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189393408001,"66":13319,"101":206,"85":15104,"24":39,"16":114904235027464192,"45":9145473862256078848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-08-05 07:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189393408001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:45:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 07:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114904235027464192,"km_value":114904235027464.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145473862256078848,"description":"Unknown IO ID 45"} 
[2026-08-05 07:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189393408001,"power":13319,"unknown_101":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9145473862256078848}} 
[2026-08-05 07:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":149505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:45:21] local.INFO: GPS data processed {"connection_id":149505,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:45:21] local.INFO: Acknowledgment sent {"connection_id":149505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:45:21] local.INFO: TCP Data received {"connection_id":150913,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb23ea8012d949c80058171000003014c2c..."} 
[2026-08-05 07:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb23ea8012d949c80058171000003014c2c..."} 
[2026-08-05 07:45:21] local.INFO: Processing buffer {"connection_id":150913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb23ea8012d949c80058171000003014c2c..."} 
[2026-08-05 07:45:21] local.INFO: Packet analysis {"connection_id":150913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb2"} 
[2026-08-05 07:45:21] local.INFO: Extracted packet for processing {"connection_id":150913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb2"} 
[2026-08-05 07:45:21] local.INFO: GPS Element Parsed {"raw_longitude":764714112,"raw_latitude":92369152,"longitude_deg":76.4714112,"latitude_deg":9.2369152,"altitude":3,"angle":332,"satellites":44,"speed":15,"hex_longitude":"2d949c80","hex_latitude":"05817100","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189372672001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370273541519572992,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7737395242408953856,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785895993000,"timestamp_ms":1785895993000,"timestamp_seconds":1785895993,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb23ea8"} 
[2026-08-05 07:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:45: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-08-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:45: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-08-05 07: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-08-05 07:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:45: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-08-05 07:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189372672001,"66":27876,"19":206,"85":15360,"24":15,"16":370273541519572992,"45":-7737395242408953856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-05 07:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189372672001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:45:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-05 07:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370273541519572992,"km_value":370273541519573.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7737395242408953856,"description":"Unknown IO ID 45"} 
[2026-08-05 07:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189372672001,"power":27876,"unknown_19":206,"unknown_85":15360,"ignition":15,"odometer":null,"unknown_45":-7737395242408953856}} 
[2026-08-05 07:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":150913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:45:21] local.INFO: GPS data processed {"connection_id":150913,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:45:21] local.INFO: Acknowledgment sent {"connection_id":150913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:45:48] local.INFO: TCP Data received {"connection_id":149506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:45:48] local.INFO: Processing buffer {"connection_id":149506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:45:48] local.INFO: IMEI packet received {"connection_id":149506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":149506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:45:50] local.INFO: TCP Data received {"connection_id":149506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:45:50] local.INFO: Processing buffer {"connection_id":149506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:45:50] local.INFO: IMEI packet received {"connection_id":149506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":149506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:45:50] local.INFO: TCP Data received {"connection_id":149506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb3add8012d7ed2c005dea9a8000a015b23..."} 
[2026-08-05 07:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb3add8012d7ed2c005dea9a8000a015b23..."} 
[2026-08-05 07:45:50] local.INFO: Processing buffer {"connection_id":149506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb3add8012d7ed2c005dea9a8000a015b23..."} 
[2026-08-05 07:45:50] local.INFO: Packet analysis {"connection_id":149506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:45:50] local.INFO: Extracted packet for processing {"connection_id":149506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:45:50] local.INFO: GPS Element Parsed {"raw_longitude":763286208,"raw_latitude":98478504,"longitude_deg":76.3286208,"latitude_deg":9.8478504,"altitude":10,"angle":347,"satellites":35,"speed":40,"hex_longitude":"2d7ed2c0","hex_latitude":"05dea9a8","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189395712001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114904711768834048,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141885056305143808,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785896087000,"timestamp_ms":1785896087000,"timestamp_seconds":1785896087,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb3add8"} 
[2026-08-05 07:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3221609958,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":56,"raw_value":57719339654993211,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3484575160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13454693,"corrected_to":0} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2999410689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298464974,"corrected_to":0} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376719,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3721705472,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":178,"raw_value":5922234804911177733,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-4427038420798397440,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:50] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,85,24,241,157,16,56,159,99,45,64,100,10,35,66,128,8,36,55,25,1,240,247,227,207,222,4,113,205,121,32,37,239,52,111,2,152,5,43,178,221],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":247,"original":13454693,"validated":0},{"io_id":205,"original":1298464974,"validated":0}]} 
[2026-08-05 07:45:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720946626124251136,"timestamp_seconds":720946626124251.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189395712001,"66":13406,"101":206,"85":15104,"24":40,"16":114904711768834048,"45":9141885056305143808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-08-05 07:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189395712001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:45:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 07:45:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114904711768834048,"km_value":114904711768834.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141885056305143808,"description":"Unknown IO ID 45"} 
[2026-08-05 07:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189395712001,"power":13406,"unknown_101":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9141885056305143808}} 
[2026-08-05 07:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":149506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:45:50] local.INFO: GPS data processed {"connection_id":149506,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:45:50] local.INFO: Acknowledgment sent {"connection_id":149506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:45:52] local.INFO: TCP Data received {"connection_id":150913,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb3d4e8012d94250005829dc0000801552b..."} 
[2026-08-05 07:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb3d4e8012d94250005829dc0000801552b..."} 
[2026-08-05 07:45:52] local.INFO: Processing buffer {"connection_id":150913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb3d4e8012d94250005829dc0000801552b..."} 
[2026-08-05 07:45:52] local.INFO: Packet analysis {"connection_id":150913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:45:52] local.INFO: Extracted packet for processing {"connection_id":150913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:45:52] local.INFO: GPS Element Parsed {"raw_longitude":764683520,"raw_latitude":92446144,"longitude_deg":76.468352,"latitude_deg":9.2446144,"altitude":8,"angle":341,"satellites":43,"speed":55,"hex_longitude":"2d942500","hex_latitude":"05829dc0","is_valid_coordinates":true} 
[2026-08-05 07:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189399040001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370277583083798528,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7768357489829369856,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785896097000,"timestamp_ms":1785896097000,"timestamp_seconds":1785896097,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb3d4e8"} 
[2026-08-05 07:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189399040001,"66":27865,"168":206,"85":15360,"24":55,"16":370277583083798528,"45":-7768357489829369856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-05 07:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189399040001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:45:52] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-05 07:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370277583083798528,"km_value":370277583083798.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7768357489829369856,"description":"Unknown IO ID 45"} 
[2026-08-05 07:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189399040001,"power":27865,"unknown_168":206,"unknown_85":15360,"ignition":55,"odometer":null,"unknown_45":-7768357489829369856}} 
[2026-08-05 07:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":150913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:45:52] local.INFO: GPS data processed {"connection_id":150913,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:45:52] local.INFO: Acknowledgment sent {"connection_id":150913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:45:54] local.INFO: TCP Data received {"connection_id":149506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb3c160012d7ed00005debcd80008000024..."} 
[2026-08-05 07:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb3c160012d7ed00005debcd80008000024..."} 
[2026-08-05 07:45:54] local.INFO: Processing buffer {"connection_id":149506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb3c160012d7ed00005debcd80008000024..."} 
[2026-08-05 07:45:54] local.INFO: Packet analysis {"connection_id":149506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:45:54] local.INFO: Extracted packet for processing {"connection_id":149506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763285504,"raw_latitude":98483416,"longitude_deg":76.3285504,"latitude_deg":9.8483416,"altitude":8,"angle":0,"satellites":36,"speed":38,"hex_longitude":"2d7ed000","hex_latitude":"05debcd8","is_valid_coordinates":true} 
[2026-08-05 07:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189398272001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114904952287002624,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138577725331187712,"note":"Value kept but may cause issues"} 
[2026-08-05 07:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785896092000,"timestamp_ms":1785896092000,"timestamp_seconds":1785896092,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb3c160"} 
[2026-08-05 07:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-05 07:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189398272001,"66":13189,"101":206,"85":15104,"24":38,"16":114904952287002624,"45":9138577725331187712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-08-05 07:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189398272001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:45:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 07:45:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114904952287002624,"km_value":114904952287002.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138577725331187712,"description":"Unknown IO ID 45"} 
[2026-08-05 07:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189398272001,"power":13189,"unknown_101":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9138577725331187712}} 
[2026-08-05 07:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":149506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:45:54] local.INFO: GPS data processed {"connection_id":149506,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:45:54] local.INFO: Acknowledgment sent {"connection_id":149506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:46:15] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:46:15] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:46:15] local.INFO: IMEI packet received {"connection_id":148500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":148500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:46:21] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:46:21] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:46:21] local.INFO: IMEI packet received {"connection_id":148500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":148500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:46:21] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:46:21] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:46:21] local.INFO: IMEI packet received {"connection_id":148500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":148500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:46:24] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb3f040012d9419800582bf68000701542a..."} 
[2026-08-05 07:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb3f040012d9419800582bf68000701542a..."} 
[2026-08-05 07:46:24] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb3f040012d9419800582bf68000701542a..."} 
[2026-08-05 07:46:24] local.INFO: Packet analysis {"connection_id":148500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:46:24] local.INFO: Extracted packet for processing {"connection_id":148500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:46:24] local.INFO: GPS Element Parsed {"raw_longitude":764680576,"raw_latitude":92454760,"longitude_deg":76.4680576,"latitude_deg":9.245476,"altitude":7,"angle":340,"satellites":42,"speed":42,"hex_longitude":"2d941980","hex_latitude":"0582bf68","is_valid_coordinates":true} 
[2026-08-05 07:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189400832001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370278025465430016,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7771805558291709952,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785896104000,"timestamp_ms":1785896104000,"timestamp_seconds":1785896104,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb3f040"} 
[2026-08-05 07:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189400832001,"66":27821,"168":206,"85":15360,"24":42,"16":370278025465430016,"45":-7771805558291709952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-05 07:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189400832001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:46:24] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-05 07:46:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370278025465430016,"km_value":370278025465430.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7771805558291709952,"description":"Unknown IO ID 45"} 
[2026-08-05 07:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189400832001,"power":27821,"unknown_168":206,"unknown_85":15360,"ignition":42,"odometer":null,"unknown_45":-7771805558291709952}} 
[2026-08-05 07:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":148500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:46:24] local.INFO: GPS data processed {"connection_id":148500,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:46:24] local.INFO: Acknowledgment sent {"connection_id":148500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:46:25] local.INFO: TCP Data received {"connection_id":149506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb3e488012d7ecd8005dedfc00007015e25..."} 
[2026-08-05 07:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb3e488012d7ecd8005dedfc00007015e25..."} 
[2026-08-05 07:46:25] local.INFO: Processing buffer {"connection_id":149506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb3e488012d7ecd8005dedfc00007015e25..."} 
[2026-08-05 07:46:25] local.INFO: Packet analysis {"connection_id":149506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:46:25] local.INFO: Extracted packet for processing {"connection_id":149506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb3"} 
[2026-08-05 07:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763284864,"raw_latitude":98492352,"longitude_deg":76.3284864,"latitude_deg":9.8492352,"altitude":7,"angle":350,"satellites":37,"speed":39,"hex_longitude":"2d7ecd80","hex_latitude":"05dedfc0","is_valid_coordinates":true} 
[2026-08-05 07:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189399552001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114905386078699520,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137803669146490880,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785896101000,"timestamp_ms":1785896101000,"timestamp_seconds":1785896101,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb3e488"} 
[2026-08-05 07:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-05 07:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189399552001,"66":13319,"205":206,"85":15104,"24":39,"16":114905386078699520,"45":9137803669146490880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-05 07:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189399552001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114905386078699520,"km_value":114905386078699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137803669146490880,"description":"Unknown IO ID 45"} 
[2026-08-05 07:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189399552001,"power":13319,"cell_id":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9137803669146490880}} 
[2026-08-05 07:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":149506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:46:25] local.INFO: GPS data processed {"connection_id":149506,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:46:25] local.INFO: Acknowledgment sent {"connection_id":149506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:46:27] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb40f80012d940ec00582e0f80007015729..."} 
[2026-08-05 07:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb40f80012d940ec00582e0f80007015729..."} 
[2026-08-05 07:46:27] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb40f80012d940ec00582e0f80007015729..."} 
[2026-08-05 07:46:27] local.INFO: Packet analysis {"connection_id":148500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb4"} 
[2026-08-05 07:46:27] local.INFO: Extracted packet for processing {"connection_id":148500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb4"} 
[2026-08-05 07:46:27] local.INFO: GPS Element Parsed {"raw_longitude":764677824,"raw_latitude":92463352,"longitude_deg":76.4677824,"latitude_deg":9.2463352,"altitude":7,"angle":343,"satellites":41,"speed":47,"hex_longitude":"2d940ec0","hex_latitude":"0582e0f8","is_valid_coordinates":true} 
[2026-08-05 07:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189402624001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370278459257126912,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7775042520521676800,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785896112000,"timestamp_ms":1785896112000,"timestamp_seconds":1785896112,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb40f80"} 
[2026-08-05 07:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 07:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189402624001,"66":27919,"168":206,"85":15360,"24":47,"16":370278459257126912,"45":-7775042520521676800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-05 07:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189402624001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:46:27] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-05 07:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370278459257126912,"km_value":370278459257126.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7775042520521676800,"description":"Unknown IO ID 45"} 
[2026-08-05 07:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189402624001,"power":27919,"unknown_168":206,"unknown_85":15360,"ignition":47,"odometer":null,"unknown_45":-7775042520521676800}} 
[2026-08-05 07:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":148500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:46:27] local.INFO: GPS data processed {"connection_id":148500,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:46:27] local.INFO: Acknowledgment sent {"connection_id":148500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:46:43] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:46:43] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:46:43] local.INFO: IMEI packet received {"connection_id":148501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":148501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:46:44] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:46:44] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:46:44] local.INFO: IMEI packet received {"connection_id":148501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":148501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:46:48] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:46:48] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:46:48] local.INFO: IMEI packet received {"connection_id":148501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":148501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:46:49] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb53860012d7e53c005e013100005015422..."} 
[2026-08-05 07:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb53860012d7e53c005e013100005015422..."} 
[2026-08-05 07:46:49] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb53860012d7e53c005e013100005015422..."} 
[2026-08-05 07:46:49] local.INFO: Packet analysis {"connection_id":148501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:46:49] local.INFO: Extracted packet for processing {"connection_id":148501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:46:49] local.INFO: GPS Element Parsed {"raw_longitude":763253696,"raw_latitude":98571024,"longitude_deg":76.3253696,"latitude_deg":9.8571024,"altitude":5,"angle":340,"satellites":34,"speed":37,"hex_longitude":"2d7e53c0","hex_latitude":"05e01310","is_valid_coordinates":true} 
[2026-08-05 07:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189421056001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114909535017107456,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105715521821517824,"note":"Value kept but may cause issues"} 
[2026-08-05 07:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785896188000,"timestamp_ms":1785896188000,"timestamp_seconds":1785896188,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb53860"} 
[2026-08-05 07:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-05 07:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189421056001,"66":13678,"207":206,"85":15104,"24":37,"16":114909535017107456,"45":9105715521821517824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-05 07:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189421056001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:46:49] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-05 07:46:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114909535017107456,"km_value":114909535017107.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105715521821517824,"description":"Unknown IO ID 45"} 
[2026-08-05 07:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189421056001,"power":13678,"unknown_207":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9105715521821517824}} 
[2026-08-05 07:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":148501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:46:49] local.INFO: GPS data processed {"connection_id":148501,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:46:49] local.INFO: Acknowledgment sent {"connection_id":148501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:47:00] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb42ad8012d940440058302c00007015725..."} 
[2026-08-05 07:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb42ad8012d940440058302c00007015725..."} 
[2026-08-05 07:47:00] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb42ad8012d940440058302c00007015725..."} 
[2026-08-05 07:47:00] local.INFO: Packet analysis {"connection_id":148500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb4"} 
[2026-08-05 07:47:00] local.INFO: Extracted packet for processing {"connection_id":148500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb4"} 
[2026-08-05 07:47:00] local.INFO: GPS Element Parsed {"raw_longitude":764675136,"raw_latitude":92472000,"longitude_deg":76.4675136,"latitude_deg":9.2472,"altitude":7,"angle":343,"satellites":37,"speed":53,"hex_longitude":"2d940440","hex_latitude":"058302c0","is_valid_coordinates":true} 
[2026-08-05 07:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189404672001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370278897343791104,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7778068376519116800,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785896119000,"timestamp_ms":1785896119000,"timestamp_seconds":1785896119,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb42ad8"} 
[2026-08-05 07:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 07:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189404672001,"66":27843,"168":206,"85":15360,"24":53,"16":370278897343791104,"45":-7778068376519116800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-05 07:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189404672001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:47:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-05 07:47:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370278897343791104,"km_value":370278897343791.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7778068376519116800,"description":"Unknown IO ID 45"} 
[2026-08-05 07:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189404672001,"power":27843,"unknown_168":206,"unknown_85":15360,"ignition":53,"odometer":null,"unknown_45":-7778068376519116800}} 
[2026-08-05 07:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":148500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:47:00] local.INFO: GPS data processed {"connection_id":148500,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:47:00] local.INFO: Acknowledgment sent {"connection_id":148500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:47:19] local.INFO: TCP Data received {"connection_id":149507,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:47:19] local.INFO: Processing buffer {"connection_id":149507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:47:19] local.INFO: IMEI packet received {"connection_id":149507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":149507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:47:20] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb55b88012d7e468005e035f00006015024..."} 
[2026-08-05 07:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb55b88012d7e468005e035f00006015024..."} 
[2026-08-05 07:47:20] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb55b88012d7e468005e035f00006015024..."} 
[2026-08-05 07:47:20] local.INFO: Packet analysis {"connection_id":148501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:47:20] local.INFO: Extracted packet for processing {"connection_id":148501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:47:20] local.INFO: GPS Element Parsed {"raw_longitude":763250304,"raw_latitude":98579952,"longitude_deg":76.3250304,"latitude_deg":9.8579952,"altitude":6,"angle":336,"satellites":36,"speed":44,"hex_longitude":"2d7e4680","hex_latitude":"05e035f0","is_valid_coordinates":true} 
[2026-08-05 07:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189424128001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114909998873575424,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102830403312619520,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785896197000,"timestamp_ms":1785896197000,"timestamp_seconds":1785896197,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb55b88"} 
[2026-08-05 07:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-05 07:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189424128001,"66":13689,"207":206,"85":15104,"24":44,"16":114909998873575424,"45":9102830403312619520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-05 07:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189424128001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:47:20] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-05 07:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114909998873575424,"km_value":114909998873575.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102830403312619520,"description":"Unknown IO ID 45"} 
[2026-08-05 07:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189424128001,"power":13689,"unknown_207":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9102830403312619520}} 
[2026-08-05 07:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":148501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:47:20] local.INFO: GPS data processed {"connection_id":148501,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:47:20] local.INFO: Acknowledgment sent {"connection_id":148501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:47:20] local.INFO: TCP Data received {"connection_id":149507,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:47:20] local.INFO: Processing buffer {"connection_id":149507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:47:20] local.INFO: IMEI packet received {"connection_id":149507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":149507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:47:25] local.INFO: TCP Data received {"connection_id":149507,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:47:25] local.INFO: Processing buffer {"connection_id":149507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:47:25] local.INFO: IMEI packet received {"connection_id":149507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":149507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:47:26] local.INFO: TCP Data received {"connection_id":149507,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb53090012d93920005845b580005014e2c..."} 
[2026-08-05 07:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb53090012d93920005845b580005014e2c..."} 
[2026-08-05 07:47:26] local.INFO: Processing buffer {"connection_id":149507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb53090012d93920005845b580005014e2c..."} 
[2026-08-05 07:47:26] local.INFO: Packet analysis {"connection_id":149507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:47:26] local.INFO: Extracted packet for processing {"connection_id":149507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:47:26] local.INFO: GPS Element Parsed {"raw_longitude":764645888,"raw_latitude":92560216,"longitude_deg":76.4645888,"latitude_deg":9.2560216,"altitude":5,"angle":334,"satellites":44,"speed":51,"hex_longitude":"2d939200","hex_latitude":"05845b58","is_valid_coordinates":true} 
[2026-08-05 07:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189423616001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370283402764484608,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7813182379838973952,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785896186000,"timestamp_ms":1785896186000,"timestamp_seconds":1785896186,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb53090"} 
[2026-08-05 07:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 07:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189423616001,"66":28028,"169":206,"85":15360,"24":51,"16":370283402764484608,"45":-7813182379838973952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189423616001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:47:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370283402764484608,"km_value":370283402764484.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7813182379838973952,"description":"Unknown IO ID 45"} 
[2026-08-05 07:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189423616001,"power":28028,"unknown_169":206,"unknown_85":15360,"ignition":51,"odometer":null,"unknown_45":-7813182379838973952}} 
[2026-08-05 07:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":149507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:47:26] local.INFO: GPS data processed {"connection_id":149507,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:47:26] local.INFO: Acknowledgment sent {"connection_id":149507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:47:29] local.INFO: TCP Data received {"connection_id":149507,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb54be8012d9384c005847c10000601542d..."} 
[2026-08-05 07:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb54be8012d9384c005847c10000601542d..."} 
[2026-08-05 07:47:29] local.INFO: Processing buffer {"connection_id":149507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb54be8012d9384c005847c10000601542d..."} 
[2026-08-05 07:47:29] local.INFO: Packet analysis {"connection_id":149507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:47:29] local.INFO: Extracted packet for processing {"connection_id":149507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:47:29] local.INFO: GPS Element Parsed {"raw_longitude":764642496,"raw_latitude":92568592,"longitude_deg":76.4642496,"latitude_deg":9.2568592,"altitude":6,"angle":340,"satellites":45,"speed":50,"hex_longitude":"2d9384c0","hex_latitude":"05847c10","is_valid_coordinates":true} 
[2026-08-05 07:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189423616001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370283840851148800,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7813182379838973952,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785896193000,"timestamp_ms":1785896193000,"timestamp_seconds":1785896193,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb54be8"} 
[2026-08-05 07:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 07:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189423616001,"66":28050,"169":206,"85":15360,"24":50,"16":370283840851148800,"45":-7813182379838973952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189423616001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:47:29] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370283840851148800,"km_value":370283840851148.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7813182379838973952,"description":"Unknown IO ID 45"} 
[2026-08-05 07:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189423616001,"power":28050,"unknown_169":206,"unknown_85":15360,"ignition":50,"odometer":null,"unknown_45":-7813182379838973952}} 
[2026-08-05 07:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":149507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:47:29] local.INFO: GPS data processed {"connection_id":149507,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:47:29] local.INFO: Acknowledgment sent {"connection_id":149507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:47:54] local.INFO: TCP Data received {"connection_id":150914,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:47:54] local.INFO: Processing buffer {"connection_id":150914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:47:54] local.INFO: IMEI packet received {"connection_id":150914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":150914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:47:56] local.INFO: TCP Data received {"connection_id":150914,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:47:56] local.INFO: Processing buffer {"connection_id":150914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:47:56] local.INFO: IMEI packet received {"connection_id":150914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":150914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:47:59] local.INFO: TCP Data received {"connection_id":150914,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:47:59] local.INFO: Processing buffer {"connection_id":150914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:47:59] local.INFO: IMEI packet received {"connection_id":150914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":150914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:47:59] local.INFO: TCP Data received {"connection_id":150914,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb626a8012d7e0fc005e0d0c80008000823..."} 
[2026-08-05 07:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb626a8012d7e0fc005e0d0c80008000823..."} 
[2026-08-05 07:47:59] local.INFO: Processing buffer {"connection_id":150914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb626a8012d7e0fc005e0d0c80008000823..."} 
[2026-08-05 07:47:59] local.INFO: Packet analysis {"connection_id":150914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb6"} 
[2026-08-05 07:47:59] local.INFO: Extracted packet for processing {"connection_id":150914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb6"} 
[2026-08-05 07:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763236288,"raw_latitude":98619592,"longitude_deg":76.3236288,"latitude_deg":9.8619592,"altitude":8,"angle":8,"satellites":35,"speed":23,"hex_longitude":"2d7e0fc0","hex_latitude":"05e0d0c8","is_valid_coordinates":true} 
[2026-08-05 07:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189438976001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114912154947158016,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083619736164077568,"note":"Value kept but may cause issues"} 
[2026-08-05 07:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785896249000,"timestamp_ms":1785896249000,"timestamp_seconds":1785896249,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb626a8"} 
[2026-08-05 07:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:47: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-08-05 07:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-05 07:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":150914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":150914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":150914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189438976001,"66":12472,"104":206,"85":15104,"24":23,"16":114912154947158016,"45":9083619736164077568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-05 07:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189438976001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:47:59] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-05 07:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114912154947158016,"km_value":114912154947158.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083619736164077568,"description":"Unknown IO ID 45"} 
[2026-08-05 07:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189438976001,"power":12472,"unknown_104":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9083619736164077568}} 
[2026-08-05 07:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":150914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:47:59] local.INFO: GPS data processed {"connection_id":150914,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:47:59] local.INFO: Acknowledgment sent {"connection_id":150914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:48:00] local.INFO: TCP Data received {"connection_id":149507,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb56b28012d9378400584a028000601562d..."} 
[2026-08-05 07:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb56b28012d9378400584a028000601562d..."} 
[2026-08-05 07:48:00] local.INFO: Processing buffer {"connection_id":149507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb56b28012d9378400584a028000601562d..."} 
[2026-08-05 07:48:00] local.INFO: Packet analysis {"connection_id":149507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:48:00] local.INFO: Extracted packet for processing {"connection_id":149507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:48:00] local.INFO: GPS Element Parsed {"raw_longitude":764639296,"raw_latitude":92577832,"longitude_deg":76.4639296,"latitude_deg":9.2577832,"altitude":6,"angle":342,"satellites":45,"speed":41,"hex_longitude":"2d937840","hex_latitude":"0584a028","is_valid_coordinates":true} 
[2026-08-05 07:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189425408001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370284313297551360,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7816911923278245888,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785896201000,"timestamp_ms":1785896201000,"timestamp_seconds":1785896201,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb56b28"} 
[2026-08-05 07:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-05 07:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189425408001,"66":27876,"169":206,"85":15360,"24":41,"16":370284313297551360,"45":-7816911923278245888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189425408001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:48:00] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370284313297551360,"km_value":370284313297551.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7816911923278245888,"description":"Unknown IO ID 45"} 
[2026-08-05 07:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189425408001,"power":27876,"unknown_169":206,"unknown_85":15360,"ignition":41,"odometer":null,"unknown_45":-7816911923278245888}} 
[2026-08-05 07:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":149507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:48:00] local.INFO: GPS data processed {"connection_id":149507,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:48:00] local.INFO: Acknowledgment sent {"connection_id":149507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:48:16] local.INFO: TCP Data received {"connection_id":148281,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:48:16] local.INFO: Processing buffer {"connection_id":148281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:48:16] local.INFO: IMEI packet received {"connection_id":148281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":148281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:48:18] local.INFO: TCP Data received {"connection_id":148281,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 07:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148281,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 07:48:18] local.INFO: Processing buffer {"connection_id":148281,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 07:48:18] local.INFO: IMEI packet received {"connection_id":148281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":148281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:48:20] local.INFO: TCP Data received {"connection_id":148281,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb59238012d9370800584b918000701462d..."} 
[2026-08-05 07:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb59238012d9370800584b918000701462d..."} 
[2026-08-05 07:48:20] local.INFO: Processing buffer {"connection_id":148281,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fcf..."} 
[2026-08-05 07:48:20] local.INFO: IMEI packet received {"connection_id":148281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":148281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:48:21] local.INFO: TCP Data received {"connection_id":148281,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb59a08012d936ec00584bad8000701352c..."} 
[2026-08-05 07:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb59a08012d936ec00584bad8000701352c..."} 
[2026-08-05 07:48:21] local.INFO: Processing buffer {"connection_id":148281,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fcfb59238012d9370800584b918000701462d..."} 
[2026-08-05 07:48:21] local.INFO: Packet analysis {"connection_id":148281,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:48:21] local.INFO: Extracted packet for processing {"connection_id":148281,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:48:21] local.INFO: GPS Element Parsed {"raw_longitude":764637312,"raw_latitude":92584216,"longitude_deg":76.4637312,"latitude_deg":9.2584216,"altitude":7,"angle":326,"satellites":45,"speed":12,"hex_longitude":"2d937080","hex_latitude":"0584b918","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189427456001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370284639715065856,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7820430360484763648,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785896211000,"timestamp_ms":1785896211000,"timestamp_seconds":1785896211,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb59238"} 
[2026-08-05 07:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:48: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-08-05 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:48: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-08-05 07:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189427456001,"66":27995,"169":206,"85":15360,"24":12,"16":370284639715065856,"45":-7820430360484763648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189427456001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:48:21] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370284639715065856,"km_value":370284639715065.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7820430360484763648,"description":"Unknown IO ID 45"} 
[2026-08-05 07:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189427456001,"power":27995,"unknown_169":206,"unknown_85":15360,"ignition":12,"odometer":null,"unknown_45":-7820430360484763648}} 
[2026-08-05 07:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":148281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:48:21] local.INFO: GPS data processed {"connection_id":148281,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:48:21] local.INFO: Acknowledgment sent {"connection_id":148281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:48:21] local.INFO: Packet analysis {"connection_id":148281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:48:21] local.INFO: Extracted packet for processing {"connection_id":148281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:48:21] local.INFO: GPS Element Parsed {"raw_longitude":764636864,"raw_latitude":92584664,"longitude_deg":76.4636864,"latitude_deg":9.2584664,"altitude":7,"angle":309,"satellites":44,"speed":12,"hex_longitude":"2d936ec0","hex_latitude":"0584bad8","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189430016001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370284669779836928,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7822611791552636928,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785896213000,"timestamp_ms":1785896213000,"timestamp_seconds":1785896213,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb59a08"} 
[2026-08-05 07:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:48: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-08-05 07: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 07:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:48: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-08-05 07:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189430016001,"66":27876,"169":206,"85":15360,"24":12,"16":370284669779836928,"45":-7822611791552636928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189430016001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:48:21] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370284669779836928,"km_value":370284669779836.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7822611791552636928,"description":"Unknown IO ID 45"} 
[2026-08-05 07:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189430016001,"power":27876,"unknown_169":206,"unknown_85":15360,"ignition":12,"odometer":null,"unknown_45":-7822611791552636928}} 
[2026-08-05 07:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":148281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:48:21] local.INFO: GPS data processed {"connection_id":148281,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:48:21] local.INFO: Acknowledgment sent {"connection_id":148281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:48:22] local.INFO: TCP Data received {"connection_id":148281,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb5bd30012d9364800584c390000701542d..."} 
[2026-08-05 07:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb5bd30012d9364800584c390000701542d..."} 
[2026-08-05 07:48:22] local.INFO: Processing buffer {"connection_id":148281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb5bd30012d9364800584c390000701542d..."} 
[2026-08-05 07:48:22] local.INFO: Packet analysis {"connection_id":148281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:48:22] local.INFO: Extracted packet for processing {"connection_id":148281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb5"} 
[2026-08-05 07:48:22] local.INFO: GPS Element Parsed {"raw_longitude":764634240,"raw_latitude":92586896,"longitude_deg":76.463424,"latitude_deg":9.2586896,"altitude":7,"angle":340,"satellites":45,"speed":11,"hex_longitude":"2d936480","hex_latitude":"0584c390","is_valid_coordinates":true} 
[2026-08-05 07:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189430528001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370284837283561472,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7823104372761765888,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785896222000,"timestamp_ms":1785896222000,"timestamp_seconds":1785896222,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb5bd30"} 
[2026-08-05 07:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189430528001,"66":27865,"169":206,"85":15360,"24":11,"16":370284837283561472,"45":-7823104372761765888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189430528001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:48:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:48:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370284837283561472,"km_value":370284837283561.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7823104372761765888,"description":"Unknown IO ID 45"} 
[2026-08-05 07:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189430528001,"power":27865,"unknown_169":206,"unknown_85":15360,"ignition":11,"odometer":null,"unknown_45":-7823104372761765888}} 
[2026-08-05 07:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":148281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:48:22] local.INFO: GPS data processed {"connection_id":148281,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:48:22] local.INFO: Acknowledgment sent {"connection_id":148281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:48:44] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:48:44] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:48:44] local.INFO: IMEI packet received {"connection_id":150915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":150915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:48:49] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:48:49] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 07:48:49] local.INFO: IMEI packet received {"connection_id":150915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":150915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:48:50] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb70d20012d7e16c005e173680004000123..."} 
[2026-08-05 07:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb70d20012d7e16c005e173680004000123..."} 
[2026-08-05 07:48:50] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fcf..."} 
[2026-08-05 07:48:50] local.INFO: IMEI packet received {"connection_id":150915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":150915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:48:51] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb73048012d7e190005e198680005000222..."} 
[2026-08-05 07:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb73048012d7e190005e198680005000222..."} 
[2026-08-05 07:48:51] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fcfb70d20012d7e16c005e173680004000123..."} 
[2026-08-05 07:48:51] local.INFO: Packet analysis {"connection_id":150915,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:48:51] local.INFO: Extracted packet for processing {"connection_id":150915,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:48:51] local.INFO: GPS Element Parsed {"raw_longitude":763238080,"raw_latitude":98661224,"longitude_deg":76.323808,"latitude_deg":9.8661224,"altitude":4,"angle":1,"satellites":35,"speed":38,"hex_longitude":"2d7e16c0","hex_latitude":"05e17368","is_valid_coordinates":true} 
[2026-08-05 07:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189454080001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114914229416361984,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085871535988160512,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785896308000,"timestamp_ms":1785896308000,"timestamp_seconds":1785896308,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb70d20"} 
[2026-08-05 07:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-05 07:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189454080001,"66":13646,"105":206,"85":15104,"24":38,"16":114914229416361984,"45":9085871535988160512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 07:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189454080001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:48:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 07:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114914229416361984,"km_value":114914229416361.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085871535988160512,"description":"Unknown IO ID 45"} 
[2026-08-05 07:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189454080001,"power":13646,"unknown_105":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9085871535988160512}} 
[2026-08-05 07:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":150915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:48:51] local.INFO: GPS data processed {"connection_id":150915,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:48:51] local.INFO: Acknowledgment sent {"connection_id":150915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:48:51] local.INFO: Packet analysis {"connection_id":150915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:48:51] local.INFO: Extracted packet for processing {"connection_id":150915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:48:51] local.INFO: GPS Element Parsed {"raw_longitude":763238656,"raw_latitude":98670696,"longitude_deg":76.3238656,"latitude_deg":9.8670696,"altitude":5,"angle":2,"satellites":34,"speed":44,"hex_longitude":"2d7e1900","hex_latitude":"05e19868","is_valid_coordinates":true} 
[2026-08-05 07:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189454848001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114914688977862656,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085660429756360704,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785896317000,"timestamp_ms":1785896317000,"timestamp_seconds":1785896317,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb73048"} 
[2026-08-05 07:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-05 07:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189454848001,"66":13493,"105":206,"85":15104,"24":44,"16":114914688977862656,"45":9085660429756360704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 07:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189454848001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:48:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 07:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114914688977862656,"km_value":114914688977862.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085660429756360704,"description":"Unknown IO ID 45"} 
[2026-08-05 07:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189454848001,"power":13493,"unknown_105":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9085660429756360704}} 
[2026-08-05 07:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":150915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:48:51] local.INFO: GPS data processed {"connection_id":150915,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:48:51] local.INFO: Acknowledgment sent {"connection_id":150915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:48:53] local.INFO: TCP Data received {"connection_id":148281,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb68850012d9363400584ece0000801522c..."} 
[2026-08-05 07:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb68850012d9363400584ece0000801522c..."} 
[2026-08-05 07:48:53] local.INFO: Processing buffer {"connection_id":148281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb68850012d9363400584ece0000801522c..."} 
[2026-08-05 07:48:53] local.INFO: Packet analysis {"connection_id":148281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb6"} 
[2026-08-05 07:48:53] local.INFO: Extracted packet for processing {"connection_id":148281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb6"} 
[2026-08-05 07:48:53] local.INFO: GPS Element Parsed {"raw_longitude":764633920,"raw_latitude":92597472,"longitude_deg":76.463392,"latitude_deg":9.2597472,"altitude":8,"angle":338,"satellites":44,"speed":26,"hex_longitude":"2d936340","hex_latitude":"0584ece0","is_valid_coordinates":true} 
[2026-08-05 07:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189445632001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370285412809179136,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7825989491270064128,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785896274000,"timestamp_ms":1785896274000,"timestamp_seconds":1785896274,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb68850"} 
[2026-08-05 07:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-05 07:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189445632001,"66":27908,"169":206,"85":15360,"24":26,"16":370285412809179136,"45":-7825989491270064128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189445632001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:48:53] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:48:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370285412809179136,"km_value":370285412809179.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7825989491270064128,"description":"Unknown IO ID 45"} 
[2026-08-05 07:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189445632001,"power":27908,"unknown_169":206,"unknown_85":15360,"ignition":26,"odometer":null,"unknown_45":-7825989491270064128}} 
[2026-08-05 07:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":148281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:48:53] local.INFO: GPS data processed {"connection_id":148281,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:48:53] local.INFO: Acknowledgment sent {"connection_id":148281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:48:54] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb73fe8012d7e1ac005e1a9800005000d23..."} 
[2026-08-05 07:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb73fe8012d7e1ac005e1a9800005000d23..."} 
[2026-08-05 07:48:54] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb73fe8012d7e1ac005e1a9800005000d23..."} 
[2026-08-05 07:48:54] local.INFO: Packet analysis {"connection_id":150915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:48:54] local.INFO: Extracted packet for processing {"connection_id":150915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763239104,"raw_latitude":98675072,"longitude_deg":76.3239104,"latitude_deg":9.8675072,"altitude":5,"angle":13,"satellites":35,"speed":42,"hex_longitude":"2d7e1ac0","hex_latitude":"05e1a980","is_valid_coordinates":true} 
[2026-08-05 07:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189457152001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114914903726227456,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086293748456384512,"note":"Value kept but may cause issues"} 
[2026-08-05 07:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785896321000,"timestamp_ms":1785896321000,"timestamp_seconds":1785896321,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb73fe8"} 
[2026-08-05 07:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-05 07:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":150915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":150915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":150915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189457152001,"66":13515,"105":206,"85":15104,"24":42,"16":114914903726227456,"45":9086293748456384512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 07:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189457152001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:48:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 07:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114914903726227456,"km_value":114914903726227.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086293748456384512,"description":"Unknown IO ID 45"} 
[2026-08-05 07:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189457152001,"power":13515,"unknown_105":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9086293748456384512}} 
[2026-08-05 07:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":150915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:48:54] local.INFO: GPS data processed {"connection_id":150915,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:48:54] local.INFO: Acknowledgment sent {"connection_id":150915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:49:16] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:49:16] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:49:16] local.INFO: IMEI packet received {"connection_id":148502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":148502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:49:19] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:49:19] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:49:19] local.INFO: IMEI packet received {"connection_id":148502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":148502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:49:20] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb6b348012d9356c005850fc8000801562d..."} 
[2026-08-05 07:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb6b348012d9356c005850fc8000801562d..."} 
[2026-08-05 07:49:20] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb6b348012d9356c005850fc8000801562d..."} 
[2026-08-05 07:49:20] local.INFO: Packet analysis {"connection_id":148502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb6"} 
[2026-08-05 07:49:20] local.INFO: Extracted packet for processing {"connection_id":148502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb6"} 
[2026-08-05 07:49:20] local.INFO: GPS Element Parsed {"raw_longitude":764630720,"raw_latitude":92606408,"longitude_deg":76.463072,"latitude_deg":9.2606408,"altitude":8,"angle":342,"satellites":45,"speed":43,"hex_longitude":"2d9356c0","hex_latitude":"05850fc8","is_valid_coordinates":true} 
[2026-08-05 07:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189446144001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370285872370679808,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7826341334990659584,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785896285000,"timestamp_ms":1785896285000,"timestamp_seconds":1785896285,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb6b348"} 
[2026-08-05 07:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:49: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-08-05 07:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189446144001,"66":27919,"169":206,"85":15360,"24":43,"16":370285872370679808,"45":-7826341334990659584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189446144001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:49:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370285872370679808,"km_value":370285872370679.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7826341334990659584,"description":"Unknown IO ID 45"} 
[2026-08-05 07:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189446144001,"power":27919,"unknown_169":206,"unknown_85":15360,"ignition":43,"odometer":null,"unknown_45":-7826341334990659584}} 
[2026-08-05 07:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":148502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:49:20] local.INFO: GPS data processed {"connection_id":148502,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:49:20] local.INFO: Acknowledgment sent {"connection_id":148502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:49:25] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb747b8012d7e1e4005e1b1580006001923..."} 
[2026-08-05 07:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb747b8012d7e1e4005e1b1580006001923..."} 
[2026-08-05 07:49:25] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb747b8012d7e1e4005e1b1580006001923..."} 
[2026-08-05 07:49:25] local.INFO: Packet analysis {"connection_id":150915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:49:25] local.INFO: Extracted packet for processing {"connection_id":150915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763240000,"raw_latitude":98677080,"longitude_deg":76.324,"latitude_deg":9.867708,"altitude":6,"angle":25,"satellites":35,"speed":43,"hex_longitude":"2d7e1e40","hex_latitude":"05e1b158","is_valid_coordinates":true} 
[2026-08-05 07:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189458176001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114915011100409856,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086786329666748416,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49: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-08-05 07:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785896323000,"timestamp_ms":1785896323000,"timestamp_seconds":1785896323,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb747b8"} 
[2026-08-05 07:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-05 07:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189458176001,"66":13450,"105":206,"85":15104,"24":43,"16":114915011100409856,"45":9086786329666748416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 07:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189458176001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:49:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 07:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114915011100409856,"km_value":114915011100409.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086786329666748416,"description":"Unknown IO ID 45"} 
[2026-08-05 07:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189458176001,"power":13450,"unknown_105":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9086786329666748416}} 
[2026-08-05 07:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":150915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:49:25] local.INFO: GPS data processed {"connection_id":150915,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:49:25] local.INFO: Acknowledgment sent {"connection_id":150915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:49:45] local.INFO: TCP Data received {"connection_id":149508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:45] local.INFO: Processing buffer {"connection_id":149508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:45] local.INFO: IMEI packet received {"connection_id":149508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":149508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:49:48] local.INFO: TCP Data received {"connection_id":149508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:48] local.INFO: Processing buffer {"connection_id":149508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:48] local.INFO: IMEI packet received {"connection_id":149508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":149508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:49:48] local.INFO: TCP Data received {"connection_id":149508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:48] local.INFO: Processing buffer {"connection_id":149508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:48] local.INFO: IMEI packet received {"connection_id":149508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":149508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:49:54] local.INFO: TCP Data received {"connection_id":149508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:54] local.INFO: Processing buffer {"connection_id":149508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:49:54] local.INFO: IMEI packet received {"connection_id":149508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":149508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:49:55] local.INFO: TCP Data received {"connection_id":149508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb75f28012d7e298005e1c6980006000b22..."} 
[2026-08-05 07:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb75f28012d7e298005e1c6980006000b22..."} 
[2026-08-05 07:49:55] local.INFO: Processing buffer {"connection_id":149508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb75f28012d7e298005e1c6980006000b22..."} 
[2026-08-05 07:49:55] local.INFO: Packet analysis {"connection_id":149508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:49:55] local.INFO: Extracted packet for processing {"connection_id":149508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763242880,"raw_latitude":98682520,"longitude_deg":76.324288,"latitude_deg":9.868252,"altitude":6,"angle":11,"satellites":34,"speed":39,"hex_longitude":"2d7e2980","hex_latitude":"05e1c698","is_valid_coordinates":true} 
[2026-08-05 07:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189458688001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114915311748120576,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087771492085749760,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785896329000,"timestamp_ms":1785896329000,"timestamp_seconds":1785896329,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb75f28"} 
[2026-08-05 07:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-05 07:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189458688001,"66":13374,"105":206,"85":15104,"24":39,"16":114915311748120576,"45":9087771492085749760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 07:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189458688001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:49:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 07:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114915311748120576,"km_value":114915311748120.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087771492085749760,"description":"Unknown IO ID 45"} 
[2026-08-05 07:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189458688001,"power":13374,"unknown_105":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9087771492085749760}} 
[2026-08-05 07:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":149508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:49:55] local.INFO: GPS data processed {"connection_id":149508,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:49:55] local.INFO: Acknowledgment sent {"connection_id":149508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:49:56] local.INFO: TCP Data received {"connection_id":149508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb772b0012d7e2a4005e1da700006000022..."} 
[2026-08-05 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb772b0012d7e2a4005e1da700006000022..."} 
[2026-08-05 07:49:56] local.INFO: Processing buffer {"connection_id":149508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb772b0012d7e2a4005e1da700006000022..."} 
[2026-08-05 07:49:56] local.INFO: Packet analysis {"connection_id":149508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:49:56] local.INFO: Extracted packet for processing {"connection_id":149508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763243072,"raw_latitude":98687600,"longitude_deg":76.3243072,"latitude_deg":9.86876,"altitude":6,"angle":0,"satellites":34,"speed":40,"hex_longitude":"2d7e2a40","hex_latitude":"05e1da70","is_valid_coordinates":true} 
[2026-08-05 07:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189460224001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114915556561256448,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090938085575137280,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49: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-08-05 07:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785896334000,"timestamp_ms":1785896334000,"timestamp_seconds":1785896334,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb772b0"} 
[2026-08-05 07:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:49: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-08-05 07:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-05 07:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:49: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-08-05 07:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189460224001,"66":13472,"105":206,"85":15104,"24":40,"16":114915556561256448,"45":9090938085575137280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 07:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189460224001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:49:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 07:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114915556561256448,"km_value":114915556561256.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090938085575137280,"description":"Unknown IO ID 45"} 
[2026-08-05 07:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189460224001,"power":13472,"unknown_105":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9090938085575137280}} 
[2026-08-05 07:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":149508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:49:56] local.INFO: GPS data processed {"connection_id":149508,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:49:56] local.INFO: Acknowledgment sent {"connection_id":149508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:49:56] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb6d288012d934d00058531c8000701582c..."} 
[2026-08-05 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb6d288012d934d00058531c8000701582c..."} 
[2026-08-05 07:49:56] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb6d288012d934d00058531c8000701582c..."} 
[2026-08-05 07:49:56] local.INFO: Packet analysis {"connection_id":148502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb6"} 
[2026-08-05 07:49:56] local.INFO: Extracted packet for processing {"connection_id":148502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb6"} 
[2026-08-05 07:49:56] local.INFO: GPS Element Parsed {"raw_longitude":764628224,"raw_latitude":92615112,"longitude_deg":76.4628224,"latitude_deg":9.2615112,"altitude":7,"angle":344,"satellites":44,"speed":47,"hex_longitude":"2d934d00","hex_latitude":"058531c8","is_valid_coordinates":true} 
[2026-08-05 07:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189448960001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370286310457344000,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7829859772197255168,"note":"Value kept but may cause issues"} 
[2026-08-05 07:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785896293000,"timestamp_ms":1785896293000,"timestamp_seconds":1785896293,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb6d288"} 
[2026-08-05 07:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 07:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189448960001,"66":27919,"169":206,"85":15360,"24":47,"16":370286310457344000,"45":-7829859772197255168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189448960001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:49:56] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-05 07:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370286310457344000,"km_value":370286310457344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7829859772197255168,"description":"Unknown IO ID 45"} 
[2026-08-05 07:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189448960001,"power":27919,"unknown_169":206,"unknown_85":15360,"ignition":47,"odometer":null,"unknown_45":-7829859772197255168}} 
[2026-08-05 07:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":148502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:49:56] local.INFO: GPS data processed {"connection_id":148502,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:49:56] local.INFO: Acknowledgment sent {"connection_id":148502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:50:15] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:50:15] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:50:15] local.INFO: IMEI packet received {"connection_id":150916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":150916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:50:16] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:50:16] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:50:16] local.INFO: IMEI packet received {"connection_id":150916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":150916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:50:22] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:50:22] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:50:22] local.INFO: IMEI packet received {"connection_id":150916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":150916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:50:23] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb7ebc8012d92f4c0058680600009015a2c..."} 
[2026-08-05 07:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb7ebc8012d92f4c0058680600009015a2c..."} 
[2026-08-05 07:50:23] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb7ebc8012d92f4c0058680600009015a2c..."} 
[2026-08-05 07:50:23] local.INFO: Packet analysis {"connection_id":150916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:50:23] local.INFO: Extracted packet for processing {"connection_id":150916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb7"} 
[2026-08-05 07:50:23] local.INFO: GPS Element Parsed {"raw_longitude":764605632,"raw_latitude":92700768,"longitude_deg":76.4605632,"latitude_deg":9.2700768,"altitude":9,"angle":346,"satellites":44,"speed":59,"hex_longitude":"2d92f4c0","hex_latitude":"05868060","is_valid_coordinates":true} 
[2026-08-05 07:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189467904001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370290639784378368,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7855403626311831552,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785896365000,"timestamp_ms":1785896365000,"timestamp_seconds":1785896365,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb7ebc8"} 
[2026-08-05 07:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189467904001,"66":27865,"127":206,"85":14080,"24":59,"16":370290639784378368,"45":-7855403626311831552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-05 07:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189467904001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:50:23] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-05 07:50:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370290639784378368,"km_value":370290639784378.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7855403626311831552,"description":"Unknown IO ID 45"} 
[2026-08-05 07:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189467904001,"power":27865,"unknown_127":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-7855403626311831552}} 
[2026-08-05 07:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":150916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:50:23] local.INFO: GPS data processed {"connection_id":150916,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:50:23] local.INFO: Acknowledgment sent {"connection_id":150916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:50:23] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb80338012d92ed000586a2580009015a2c..."} 
[2026-08-05 07:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb80338012d92ed000586a2580009015a2c..."} 
[2026-08-05 07:50:23] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb80338012d92ed000586a2580009015a2c..."} 
[2026-08-05 07:50:23] local.INFO: Packet analysis {"connection_id":150916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:50:23] local.INFO: Extracted packet for processing {"connection_id":150916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:50:23] local.INFO: GPS Element Parsed {"raw_longitude":764603648,"raw_latitude":92709464,"longitude_deg":76.4603648,"latitude_deg":9.2709464,"altitude":9,"angle":346,"satellites":44,"speed":59,"hex_longitude":"2d92ed00","hex_latitude":"0586a258","is_valid_coordinates":true} 
[2026-08-05 07:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189469440001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370291069281107968,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7857444319890743296,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785896371000,"timestamp_ms":1785896371000,"timestamp_seconds":1785896371,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb80338"} 
[2026-08-05 07:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189469440001,"66":27908,"41":206,"85":14080,"24":59,"16":370291069281107968,"45":-7857444319890743296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-08-05 07:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189469440001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:50:23] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-05 07:50:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370291069281107968,"km_value":370291069281107.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7857444319890743296,"description":"Unknown IO ID 45"} 
[2026-08-05 07:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189469440001,"power":27908,"unknown_41":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-7857444319890743296}} 
[2026-08-05 07:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":150916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:50:23] local.INFO: GPS data processed {"connection_id":150916,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:50:23] local.INFO: Acknowledgment sent {"connection_id":150916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:50:27] local.INFO: TCP Data received {"connection_id":149508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb88808012d7dc2c005e1fb100009010823..."} 
[2026-08-05 07:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb88808012d7dc2c005e1fb100009010823..."} 
[2026-08-05 07:50:27] local.INFO: Processing buffer {"connection_id":149508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb88808012d7dc2c005e1fb100009010823..."} 
[2026-08-05 07:50:27] local.INFO: Packet analysis {"connection_id":149508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:50:27] local.INFO: Extracted packet for processing {"connection_id":149508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763216576,"raw_latitude":98695952,"longitude_deg":76.3216576,"latitude_deg":9.8695952,"altitude":9,"angle":264,"satellites":35,"speed":28,"hex_longitude":"2d7dc2c0","hex_latitude":"05e1fb10","is_valid_coordinates":true} 
[2026-08-05 07:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189478912001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114917519361310720,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064620175256264704,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785896405000,"timestamp_ms":1785896405000,"timestamp_seconds":1785896405,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb88808"} 
[2026-08-05 07:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3484944160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3089522689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":226,"raw_value":1062849533552632064,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2415996286,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407207,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57886250674050363,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.WARNING: Large IO value detected {"io_id":183,"raw_value":-5116087881791487995,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:27] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,61,85,24,241,157,16,68,159,93,45,128,9,8,35,10,66,64,18,6,50,1,240,34,227,207,226,4,113,205,15,30,12,160,239,52,2,152,5,116,183],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-08-05 07:50:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648796668814295040,"timestamp_seconds":648796668814295.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189478912001,"66":13493,"61":206,"85":15104,"24":28,"16":114917519361310720,"45":9064620175256264704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 07:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189478912001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:50:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 07:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114917519361310720,"km_value":114917519361310.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064620175256264704,"description":"Unknown IO ID 45"} 
[2026-08-05 07:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189478912001,"power":13493,"unknown_61":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9064620175256264704}} 
[2026-08-05 07:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":149508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:50:27] local.INFO: GPS data processed {"connection_id":149508,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:50:27] local.INFO: Acknowledgment sent {"connection_id":149508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:50:44] local.INFO: TCP Data received {"connection_id":148282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:50:44] local.INFO: Processing buffer {"connection_id":148282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:50:44] local.INFO: IMEI packet received {"connection_id":148282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":148282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:50:48] local.INFO: TCP Data received {"connection_id":148282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:50:48] local.INFO: Processing buffer {"connection_id":148282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:50:48] local.INFO: IMEI packet received {"connection_id":148282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":148282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:50:48] local.INFO: TCP Data received {"connection_id":148282,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb88fd8012d7dbd4005e1fb300009011424..."} 
[2026-08-05 07:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb88fd8012d7dbd4005e1fb300009011424..."} 
[2026-08-05 07:50:48] local.INFO: Processing buffer {"connection_id":148282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb88fd8012d7dbd4005e1fb300009011424..."} 
[2026-08-05 07:50:48] local.INFO: Packet analysis {"connection_id":148282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:50:48] local.INFO: Extracted packet for processing {"connection_id":148282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:50:48] local.INFO: GPS Element Parsed {"raw_longitude":763215168,"raw_latitude":98695984,"longitude_deg":76.3215168,"latitude_deg":9.8695984,"altitude":9,"angle":276,"satellites":36,"speed":26,"hex_longitude":"2d7dbd40","hex_latitude":"05e1fb30","is_valid_coordinates":true} 
[2026-08-05 07:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189479680001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114917583785820160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062016531721555968,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785896407000,"timestamp_ms":1785896407000,"timestamp_seconds":1785896407,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb88fd8"} 
[2026-08-05 07:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-05 07:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189479680001,"66":13493,"61":206,"85":15104,"24":26,"16":114917583785820160,"45":9062016531721555968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 07:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189479680001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:50:48] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 07:50:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114917583785820160,"km_value":114917583785820.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062016531721555968,"description":"Unknown IO ID 45"} 
[2026-08-05 07:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189479680001,"power":13493,"unknown_61":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9062016531721555968}} 
[2026-08-05 07:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":148282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:50:48] local.INFO: GPS data processed {"connection_id":148282,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:50:48] local.INFO: Acknowledgment sent {"connection_id":148282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:50:55] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb81aa8012d92e5000586c4600009015b2d..."} 
[2026-08-05 07:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb81aa8012d92e5000586c4600009015b2d..."} 
[2026-08-05 07:50:55] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb81aa8012d92e5000586c4600009015b2d..."} 
[2026-08-05 07:50:55] local.INFO: Packet analysis {"connection_id":150916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:50:55] local.INFO: Extracted packet for processing {"connection_id":150916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:50:55] local.INFO: GPS Element Parsed {"raw_longitude":764601600,"raw_latitude":92718176,"longitude_deg":76.46016,"latitude_deg":9.2718176,"altitude":9,"angle":347,"satellites":45,"speed":59,"hex_longitude":"2d92e500","hex_latitude":"0586c460","is_valid_coordinates":true} 
[2026-08-05 07:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189470976001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370291503072804864,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7859625750958024704,"note":"Value kept but may cause issues"} 
[2026-08-05 07:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785896377000,"timestamp_ms":1785896377000,"timestamp_seconds":1785896377,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb81aa8"} 
[2026-08-05 07:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:50: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-08-05 07:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189470976001,"66":27800,"41":206,"85":14080,"24":59,"16":370291503072804864,"45":-7859625750958024704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-08-05 07:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189470976001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:50:55] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-05 07:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370291503072804864,"km_value":370291503072804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7859625750958024704,"description":"Unknown IO ID 45"} 
[2026-08-05 07:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189470976001,"power":27800,"unknown_41":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-7859625750958024704}} 
[2026-08-05 07:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":150916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:50:55] local.INFO: GPS data processed {"connection_id":150916,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:50:55] local.INFO: Acknowledgment sent {"connection_id":150916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:51:15] local.INFO: TCP Data received {"connection_id":148283,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:51:15] local.INFO: Processing buffer {"connection_id":148283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:51:15] local.INFO: IMEI packet received {"connection_id":148283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":148283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:51:19] local.INFO: TCP Data received {"connection_id":148282,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb8c688012d7d994005e20000000c011025..."} 
[2026-08-05 07:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb8c688012d7d994005e20000000c011025..."} 
[2026-08-05 07:51:19] local.INFO: Processing buffer {"connection_id":148282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb8c688012d7d994005e20000000c011025..."} 
[2026-08-05 07:51:19] local.INFO: Packet analysis {"connection_id":148282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:51:19] local.INFO: Extracted packet for processing {"connection_id":148282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:51:19] local.INFO: GPS Element Parsed {"raw_longitude":763205952,"raw_latitude":98697216,"longitude_deg":76.3205952,"latitude_deg":9.8697216,"altitude":12,"angle":272,"satellites":37,"speed":23,"hex_longitude":"2d7d9940","hex_latitude":"05e20000","is_valid_coordinates":true} 
[2026-08-05 07:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189480192001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114918030462418944,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060468419349655552,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785896421000,"timestamp_ms":1785896421000,"timestamp_seconds":1785896421,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb8c688"} 
[2026-08-05 07:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-05 07:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189480192001,"66":13689,"61":206,"85":15104,"24":23,"16":114918030462418944,"45":9060468419349655552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 07:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189480192001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:51:19] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 07:51:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114918030462418944,"km_value":114918030462418.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060468419349655552,"description":"Unknown IO ID 45"} 
[2026-08-05 07:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189480192001,"power":13689,"unknown_61":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9060468419349655552}} 
[2026-08-05 07:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":148282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:51:19] local.INFO: GPS data processed {"connection_id":148282,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:51:19] local.INFO: Acknowledgment sent {"connection_id":148282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:51:20] local.INFO: TCP Data received {"connection_id":148283,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:51:20] local.INFO: Processing buffer {"connection_id":148283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:51:20] local.INFO: IMEI packet received {"connection_id":148283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":148283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:51:20] local.INFO: TCP Data received {"connection_id":148283,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:51:20] local.INFO: Processing buffer {"connection_id":148283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:51:20] local.INFO: IMEI packet received {"connection_id":148283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":148283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:51:21] local.INFO: TCP Data received {"connection_id":148283,"ip":"42.106.6.40","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fcf..."} 
[2026-08-05 07:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148283,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fcf..."} 
[2026-08-05 07:51:21] local.INFO: Processing buffer {"connection_id":148283,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fcf..."} 
[2026-08-05 07:51:21] local.INFO: IMEI packet received {"connection_id":148283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":148283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:51:26] local.INFO: TCP Data received {"connection_id":148283,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb84988012d92d840058708f0000801602d..."} 
[2026-08-05 07:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb84988012d92d840058708f0000801602d..."} 
[2026-08-05 07:51:26] local.INFO: Processing buffer {"connection_id":148283,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fcfb83218012d92dd800586e6980008015d2d..."} 
[2026-08-05 07:51:26] local.INFO: Packet analysis {"connection_id":148283,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:51:26] local.INFO: Extracted packet for processing {"connection_id":148283,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:51:26] local.INFO: GPS Element Parsed {"raw_longitude":764599680,"raw_latitude":92726936,"longitude_deg":76.459968,"latitude_deg":9.2726936,"altitude":8,"angle":349,"satellites":45,"speed":59,"hex_longitude":"2d92dd80","hex_latitude":"0586e698","is_valid_coordinates":true} 
[2026-08-05 07:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189472512001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370291936864501760,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7861877550769479680,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785896383000,"timestamp_ms":1785896383000,"timestamp_seconds":1785896383,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb83218"} 
[2026-08-05 07:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 07:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189472512001,"66":27919,"233":206,"85":14080,"24":59,"16":370291936864501760,"45":-7861877550769479680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,45]} 
[2026-08-05 07:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189472512001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:51:26] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-05 07:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370291936864501760,"km_value":370291936864501.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7861877550769479680,"description":"Unknown IO ID 45"} 
[2026-08-05 07:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189472512001,"power":27919,"unknown_233":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-7861877550769479680}} 
[2026-08-05 07:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":148283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:51:26] local.INFO: GPS data processed {"connection_id":148283,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:51:26] local.INFO: Acknowledgment sent {"connection_id":148283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:51:26] local.INFO: Packet analysis {"connection_id":148283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:51:26] local.INFO: Extracted packet for processing {"connection_id":148283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:51:26] local.INFO: GPS Element Parsed {"raw_longitude":764598336,"raw_latitude":92735728,"longitude_deg":76.4598336,"latitude_deg":9.2735728,"altitude":8,"angle":352,"satellites":45,"speed":59,"hex_longitude":"2d92d840","hex_latitude":"058708f0","is_valid_coordinates":true} 
[2026-08-05 07:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189474048001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370292370656198656,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7863988613092567040,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785896389000,"timestamp_ms":1785896389000,"timestamp_seconds":1785896389,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb84988"} 
[2026-08-05 07:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 07:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189474048001,"66":28017,"233":206,"85":14080,"24":59,"16":370292370656198656,"45":-7863988613092567040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,45]} 
[2026-08-05 07:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189474048001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:51:26] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-05 07:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370292370656198656,"km_value":370292370656198.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7863988613092567040,"description":"Unknown IO ID 45"} 
[2026-08-05 07:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189474048001,"power":28017,"unknown_233":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-7863988613092567040}} 
[2026-08-05 07:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":148283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:51:26] local.INFO: GPS data processed {"connection_id":148283,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:51:26] local.INFO: Acknowledgment sent {"connection_id":148283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:51:44] local.INFO: TCP Data received {"connection_id":150917,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:51:44] local.INFO: Processing buffer {"connection_id":150917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:51:44] local.INFO: IMEI packet received {"connection_id":150917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":150917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:51:49] local.INFO: TCP Data received {"connection_id":150917,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:51:49] local.INFO: Processing buffer {"connection_id":150917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:51:49] local.INFO: IMEI packet received {"connection_id":150917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":150917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:51:49] local.INFO: TCP Data received {"connection_id":150917,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb8f950012d7d748005e20330000e011325..."} 
[2026-08-05 07:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb8f950012d7d748005e20330000e011325..."} 
[2026-08-05 07:51:49] local.INFO: Processing buffer {"connection_id":150917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb8f950012d7d748005e20330000e011325..."} 
[2026-08-05 07:51:49] local.INFO: Packet analysis {"connection_id":150917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:51:49] local.INFO: Extracted packet for processing {"connection_id":150917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:51:49] local.INFO: GPS Element Parsed {"raw_longitude":763196544,"raw_latitude":98698032,"longitude_deg":76.3196544,"latitude_deg":9.8698032,"altitude":14,"angle":275,"satellites":37,"speed":31,"hex_longitude":"2d7d7480","hex_latitude":"05e20330","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189483776001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114918481433985024,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9050335320188387328,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785896434000,"timestamp_ms":1785896434000,"timestamp_seconds":1785896434,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb8f950"} 
[2026-08-05 07:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-05 07:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189483776001,"66":13580,"61":206,"85":15104,"24":31,"16":114918481433985024,"45":9050335320188387328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 07:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189483776001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:51:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 07:51:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114918481433985024,"km_value":114918481433985.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9050335320188387328,"description":"Unknown IO ID 45"} 
[2026-08-05 07:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189483776001,"power":13580,"unknown_61":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9050335320188387328}} 
[2026-08-05 07:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":150917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:51:49] local.INFO: GPS data processed {"connection_id":150917,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:51:49] local.INFO: Acknowledgment sent {"connection_id":150917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:51:57] local.INFO: TCP Data received {"connection_id":148283,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb864e0012d92d2c005872f10000801602d..."} 
[2026-08-05 07:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb864e0012d92d2c005872f10000801602d..."} 
[2026-08-05 07:51:57] local.INFO: Processing buffer {"connection_id":148283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb864e0012d92d2c005872f10000801602d..."} 
[2026-08-05 07:51:57] local.INFO: Packet analysis {"connection_id":148283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:51:57] local.INFO: Extracted packet for processing {"connection_id":148283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb8"} 
[2026-08-05 07:51:57] local.INFO: GPS Element Parsed {"raw_longitude":764596928,"raw_latitude":92745488,"longitude_deg":76.4596928,"latitude_deg":9.2745488,"altitude":8,"angle":352,"satellites":45,"speed":46,"hex_longitude":"2d92d2c0","hex_latitude":"05872f10","is_valid_coordinates":true} 
[2026-08-05 07:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189475584001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370292847397568512,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7865466356718047232,"note":"Value kept but may cause issues"} 
[2026-08-05 07:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785896396000,"timestamp_ms":1785896396000,"timestamp_seconds":1785896396,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb864e0"} 
[2026-08-05 07:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-05 07:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189475584001,"66":27908,"127":206,"85":14080,"24":46,"16":370292847397568512,"45":-7865466356718047232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-05 07:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189475584001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:51:57] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-05 07:51:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370292847397568512,"km_value":370292847397568.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7865466356718047232,"description":"Unknown IO ID 45"} 
[2026-08-05 07:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189475584001,"power":27908,"unknown_127":206,"unknown_85":14080,"ignition":46,"odometer":null,"unknown_45":-7865466356718047232}} 
[2026-08-05 07:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":148283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:51:57] local.INFO: GPS data processed {"connection_id":148283,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:51:57] local.INFO: Acknowledgment sent {"connection_id":148283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:52:20] local.INFO: TCP Data received {"connection_id":150917,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb92830012d7d4f0005e20680000e011225..."} 
[2026-08-05 07:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb92830012d7d4f0005e20680000e011225..."} 
[2026-08-05 07:52:20] local.INFO: Processing buffer {"connection_id":150917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb92830012d7d4f0005e20680000e011225..."} 
[2026-08-05 07:52:20] local.INFO: Packet analysis {"connection_id":150917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb9"} 
[2026-08-05 07:52:20] local.INFO: Extracted packet for processing {"connection_id":150917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb9"} 
[2026-08-05 07:52:20] local.INFO: GPS Element Parsed {"raw_longitude":763186944,"raw_latitude":98698880,"longitude_deg":76.3186944,"latitude_deg":9.869888,"altitude":14,"angle":274,"satellites":37,"speed":32,"hex_longitude":"2d7d4f00","hex_latitude":"05e20680","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189487104001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114918940995485696,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9039991114794479616,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785896446000,"timestamp_ms":1785896446000,"timestamp_seconds":1785896446,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb92830"} 
[2026-08-05 07:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618116,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3484958160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1018658022320242698,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3095154689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4246732809,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442204026685,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2147869193,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941415,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792844800,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":126,"raw_value":306251243203854341,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2450184315456245333,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755481045565681,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:20] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,61,85,24,241,157,16,69,159,198,45,64,12,37,10,66,143,251,9,36,68,136,192,1,240,181,227,207,225,4,113,205,34,93,229,152,35,239,51,2,5,6,26,126,53,59],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-08-05 07:52:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009108841144451072,"timestamp_seconds":1009108841144451.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189487104001,"66":13472,"61":206,"85":15104,"24":32,"16":114918940995485696,"45":9039991114794479616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 07:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189487104001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:52:20] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 07:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114918940995485696,"km_value":114918940995485.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9039991114794479616,"description":"Unknown IO ID 45"} 
[2026-08-05 07:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189487104001,"power":13472,"unknown_61":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9039991114794479616}} 
[2026-08-05 07:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":150917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:52:20] local.INFO: GPS data processed {"connection_id":150917,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:52:20] local.INFO: Acknowledgment sent {"connection_id":150917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:52:21] local.INFO: TCP Data received {"connection_id":150918,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:52:21] local.INFO: Processing buffer {"connection_id":150918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:52:21] local.INFO: IMEI packet received {"connection_id":150918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":150918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:52:24] local.INFO: TCP Data received {"connection_id":150918,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:52:24] local.INFO: Processing buffer {"connection_id":150918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:52:24] local.INFO: IMEI packet received {"connection_id":150918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":150918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:52:25] local.INFO: TCP Data received {"connection_id":150918,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb9b4d0012d927c40058830500006012629..."} 
[2026-08-05 07:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb9b4d0012d927c40058830500006012629..."} 
[2026-08-05 07:52:25] local.INFO: Processing buffer {"connection_id":150918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb9b4d0012d927c40058830500006012629..."} 
[2026-08-05 07:52:25] local.INFO: Packet analysis {"connection_id":150918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb9"} 
[2026-08-05 07:52:25] local.INFO: Extracted packet for processing {"connection_id":150918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb9"} 
[2026-08-05 07:52:25] local.INFO: GPS Element Parsed {"raw_longitude":764574784,"raw_latitude":92811344,"longitude_deg":76.4574784,"latitude_deg":9.2811344,"altitude":6,"angle":294,"satellites":41,"speed":27,"hex_longitude":"2d927c40","hex_latitude":"05883050","is_valid_coordinates":true} 
[2026-08-05 07:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189496064001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370296455170097152,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7883269648976730112,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785896482000,"timestamp_ms":1785896482000,"timestamp_seconds":1785896482,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb9b4d0"} 
[2026-08-05 07:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 07:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189496064001,"66":27615,"183":206,"85":14080,"24":27,"16":370296455170097152,"45":-7883269648976730112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-05 07:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189496064001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:52:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-05 07:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370296455170097152,"km_value":370296455170097.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7883269648976730112,"description":"Unknown IO ID 45"} 
[2026-08-05 07:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189496064001,"power":27615,"unknown_183":206,"unknown_85":14080,"ignition":27,"odometer":null,"unknown_45":-7883269648976730112}} 
[2026-08-05 07:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":150918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:52:25] local.INFO: GPS data processed {"connection_id":150918,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:52:25] local.INFO: Acknowledgment sent {"connection_id":150918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:52:26] local.INFO: TCP Data received {"connection_id":150918,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfb9d7f8012d9264c005883868000801182b..."} 
[2026-08-05 07:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfb9d7f8012d9264c005883868000801182b..."} 
[2026-08-05 07:52:26] local.INFO: Processing buffer {"connection_id":150918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfb9d7f8012d9264c005883868000801182b..."} 
[2026-08-05 07:52:26] local.INFO: Packet analysis {"connection_id":150918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfb9"} 
[2026-08-05 07:52:26] local.INFO: Extracted packet for processing {"connection_id":150918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfb9"} 
[2026-08-05 07:52:26] local.INFO: GPS Element Parsed {"raw_longitude":764568768,"raw_latitude":92813416,"longitude_deg":76.4568768,"latitude_deg":9.2813416,"altitude":8,"angle":280,"satellites":43,"speed":13,"hex_longitude":"2d9264c0","hex_latitude":"05883868","is_valid_coordinates":true} 
[2026-08-05 07:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189499392001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370296760112775168,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7891362054556069888,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785896491000,"timestamp_ms":1785896491000,"timestamp_seconds":1785896491,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfb9d7f8"} 
[2026-08-05 07:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-05 07:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189499392001,"66":27767,"183":206,"85":14080,"24":13,"16":370296760112775168,"45":-7891362054556069888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-05 07:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189499392001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:52:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-05 07:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370296760112775168,"km_value":370296760112775.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7891362054556069888,"description":"Unknown IO ID 45"} 
[2026-08-05 07:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189499392001,"power":27767,"unknown_183":206,"unknown_85":14080,"ignition":13,"odometer":null,"unknown_45":-7891362054556069888}} 
[2026-08-05 07:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":150918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:52:26] local.INFO: GPS data processed {"connection_id":150918,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:52:26] local.INFO: Acknowledgment sent {"connection_id":150918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:52:45] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:52:45] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:52:45] local.INFO: IMEI packet received {"connection_id":148503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":148503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:52:49] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:52:49] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:52:49] local.INFO: IMEI packet received {"connection_id":148503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":148503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:52:53] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbabe70012d7c5fc005e21010000b00e628..."} 
[2026-08-05 07:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbabe70012d7c5fc005e21010000b00e628..."} 
[2026-08-05 07:52:53] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbabe70012d7c5fc005e21010000b00e628..."} 
[2026-08-05 07:52:53] local.INFO: Packet analysis {"connection_id":148503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:52:53] local.INFO: Extracted packet for processing {"connection_id":148503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:52:53] local.INFO: GPS Element Parsed {"raw_longitude":763125696,"raw_latitude":98701328,"longitude_deg":76.3125696,"latitude_deg":9.8701328,"altitude":11,"angle":230,"satellites":40,"speed":19,"hex_longitude":"2d7c5fc0","hex_latitude":"05e21010","is_valid_coordinates":true} 
[2026-08-05 07:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189516544001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114921900227952640,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962515127455780864,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785896550000,"timestamp_ms":1785896550000,"timestamp_seconds":1785896550,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbabe70"} 
[2026-08-05 07:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 07:52: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-08-05 07:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189516544001,"66":13602,"61":206,"85":15104,"24":19,"16":114921900227952640,"45":8962515127455780864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 07:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189516544001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:52:53] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 07:52:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114921900227952640,"km_value":114921900227952.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962515127455780864,"description":"Unknown IO ID 45"} 
[2026-08-05 07:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189516544001,"power":13602,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8962515127455780864}} 
[2026-08-05 07:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":148503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:52:53] local.INFO: GPS data processed {"connection_id":148503,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:52:53] local.INFO: Acknowledgment sent {"connection_id":148503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:52:57] local.INFO: TCP Data received {"connection_id":150918,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfba1678012d92410005883ca0000701102a..."} 
[2026-08-05 07:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfba1678012d92410005883ca0000701102a..."} 
[2026-08-05 07:52:57] local.INFO: Processing buffer {"connection_id":150918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfba1678012d92410005883ca0000701102a..."} 
[2026-08-05 07:52:57] local.INFO: Packet analysis {"connection_id":150918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:52:57] local.INFO: Extracted packet for processing {"connection_id":150918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:52:57] local.INFO: GPS Element Parsed {"raw_longitude":764559616,"raw_latitude":92814496,"longitude_deg":76.4559616,"latitude_deg":9.2814496,"altitude":7,"angle":272,"satellites":42,"speed":30,"hex_longitude":"2d924100","hex_latitude":"05883ca0","is_valid_coordinates":true} 
[2026-08-05 07:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189501696001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370297202494406656,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7897976716508239872,"note":"Value kept but may cause issues"} 
[2026-08-05 07:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785896507000,"timestamp_ms":1785896507000,"timestamp_seconds":1785896507,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfba1678"} 
[2026-08-05 07:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 07:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189501696001,"66":27245,"183":206,"85":14080,"24":30,"16":370297202494406656,"45":-7897976716508239872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-05 07:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189501696001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:52:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-05 07:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370297202494406656,"km_value":370297202494406.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7897976716508239872,"description":"Unknown IO ID 45"} 
[2026-08-05 07:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189501696001,"power":27245,"unknown_183":206,"unknown_85":14080,"ignition":30,"odometer":null,"unknown_45":-7897976716508239872}} 
[2026-08-05 07:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":150918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:52:57] local.INFO: GPS data processed {"connection_id":150918,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:52:57] local.INFO: Acknowledgment sent {"connection_id":150918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:53:14] local.INFO: TCP Data received {"connection_id":148284,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:53:14] local.INFO: Processing buffer {"connection_id":148284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:53:14] local.INFO: IMEI packet received {"connection_id":148284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":148284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:53:15] local.INFO: TCP Data received {"connection_id":148284,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:53:15] local.INFO: Processing buffer {"connection_id":148284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:53:15] local.INFO: IMEI packet received {"connection_id":148284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":148284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:53:21] local.INFO: TCP Data received {"connection_id":148284,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:53:21] local.INFO: Processing buffer {"connection_id":148284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:53:21] local.INFO: IMEI packet received {"connection_id":148284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":148284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:53:21] local.INFO: TCP Data received {"connection_id":148284,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfba2a00012d9235c005883c38000801042b..."} 
[2026-08-05 07:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfba2a00012d9235c005883c38000801042b..."} 
[2026-08-05 07:53:21] local.INFO: Processing buffer {"connection_id":148284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfba2a00012d9235c005883c38000801042b..."} 
[2026-08-05 07:53:21] local.INFO: Packet analysis {"connection_id":148284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:53:21] local.INFO: Extracted packet for processing {"connection_id":148284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:53:21] local.INFO: GPS Element Parsed {"raw_longitude":764556736,"raw_latitude":92814392,"longitude_deg":76.4556736,"latitude_deg":9.2814392,"altitude":8,"angle":260,"satellites":43,"speed":13,"hex_longitude":"2d9235c0","hex_latitude":"05883c38","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189505792001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370297344228327424,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7908039446925369344,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785896512000,"timestamp_ms":1785896512000,"timestamp_seconds":1785896512,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfba2a00"} 
[2026-08-05 07:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:53: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-08-05 07: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 07:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:53: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-08-05 07:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189505792001,"66":27930,"183":206,"85":14080,"24":13,"16":370297344228327424,"45":-7908039446925369344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-05 07:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189505792001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:53:21] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-05 07:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370297344228327424,"km_value":370297344228327.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7908039446925369344,"description":"Unknown IO ID 45"} 
[2026-08-05 07:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189505792001,"power":27930,"unknown_183":206,"unknown_85":14080,"ignition":13,"odometer":null,"unknown_45":-7908039446925369344}} 
[2026-08-05 07:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":148284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:53:21] local.INFO: GPS data processed {"connection_id":148284,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:53:21] local.INFO: Acknowledgment sent {"connection_id":148284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:53:25] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbac640012d7c5d0005e20ce8000b00d027..."} 
[2026-08-05 07:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbac640012d7c5d0005e20ce8000b00d027..."} 
[2026-08-05 07:53:25] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbac640012d7c5d0005e20ce8000b00d027..."} 
[2026-08-05 07:53:25] local.INFO: Packet analysis {"connection_id":148503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:53:25] local.INFO: Extracted packet for processing {"connection_id":148503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763124992,"raw_latitude":98700520,"longitude_deg":76.3124992,"latitude_deg":9.870052,"altitude":11,"angle":208,"satellites":39,"speed":22,"hex_longitude":"2d7c5d00","hex_latitude":"05e20ce8","is_valid_coordinates":true} 
[2026-08-05 07:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189516800001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114921951767560192,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962092914990649344,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785896552000,"timestamp_ms":1785896552000,"timestamp_seconds":1785896552,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbac640"} 
[2026-08-05 07:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-05 07:53: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-08-05 07:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189516800001,"66":13787,"61":206,"85":15104,"24":22,"16":114921951767560192,"45":8962092914990649344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 07:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189516800001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:53:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 07:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114921951767560192,"km_value":114921951767560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962092914990649344,"description":"Unknown IO ID 45"} 
[2026-08-05 07:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189516800001,"power":13787,"unknown_61":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8962092914990649344}} 
[2026-08-05 07:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":148503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:53:26] local.INFO: GPS data processed {"connection_id":148503,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:53:26] local.INFO: Acknowledgment sent {"connection_id":148503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:53:43] local.INFO: TCP Data received {"connection_id":150919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:53:44] local.INFO: Processing buffer {"connection_id":150919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:53:44] local.INFO: IMEI packet received {"connection_id":150919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":150919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:53:49] local.INFO: TCP Data received {"connection_id":150919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:53:49] local.INFO: Processing buffer {"connection_id":150919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:53:49] local.INFO: IMEI packet received {"connection_id":150919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":150919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:53:50] local.INFO: TCP Data received {"connection_id":150919,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbb00d8012d7c4f0005e1f730000b00f526..."} 
[2026-08-05 07:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbb00d8012d7c4f0005e1f730000b00f526..."} 
[2026-08-05 07:53:50] local.INFO: Processing buffer {"connection_id":150919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbb00d8012d7c4f0005e1f730000b00f526..."} 
[2026-08-05 07:53:50] local.INFO: Packet analysis {"connection_id":150919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbb"} 
[2026-08-05 07:53:50] local.INFO: Extracted packet for processing {"connection_id":150919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbb"} 
[2026-08-05 07:53:50] local.INFO: GPS Element Parsed {"raw_longitude":763121408,"raw_latitude":98694960,"longitude_deg":76.3121408,"latitude_deg":9.869496,"altitude":11,"angle":245,"satellites":38,"speed":6,"hex_longitude":"2d7c4f00","hex_latitude":"05e1f730","is_valid_coordinates":true} 
[2026-08-05 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-08-05 07:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189517312001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114922282480041984,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961318858804488192,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785896567000,"timestamp_ms":1785896567000,"timestamp_seconds":1785896567,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbb00d8"} 
[2026-08-05 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-08-05 07:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-05 07:53:50] 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-08-05 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-08-05 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-08-05 07:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189517312001,"66":13624,"169":206,"85":15104,"24":6,"16":114922282480041984,"45":8961318858804488192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189517312001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:53:50] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114922282480041984,"km_value":114922282480041.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961318858804488192,"description":"Unknown IO ID 45"} 
[2026-08-05 07:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189517312001,"power":13624,"unknown_169":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8961318858804488192}} 
[2026-08-05 07:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":150919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:53:50] local.INFO: GPS data processed {"connection_id":150919,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:53:50] local.INFO: Acknowledgment sent {"connection_id":150919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:53:52] local.INFO: TCP Data received {"connection_id":148284,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfba7050012d921d8005883ac8000801132b..."} 
[2026-08-05 07:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfba7050012d921d8005883ac8000801132b..."} 
[2026-08-05 07:53:52] local.INFO: Processing buffer {"connection_id":148284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfba7050012d921d8005883ac8000801132b..."} 
[2026-08-05 07:53:52] local.INFO: Packet analysis {"connection_id":148284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:53:52] local.INFO: Extracted packet for processing {"connection_id":148284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:53:52] local.INFO: GPS Element Parsed {"raw_longitude":764550528,"raw_latitude":92814024,"longitude_deg":76.4550528,"latitude_deg":9.2814024,"altitude":8,"angle":275,"satellites":43,"speed":10,"hex_longitude":"2d921d80","hex_latitude":"05883ac8","is_valid_coordinates":true} 
[2026-08-05 07:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189507072001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370297640581070848,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7911206040413390848,"note":"Value kept but may cause issues"} 
[2026-08-05 07:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785896530000,"timestamp_ms":1785896530000,"timestamp_seconds":1785896530,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfba7050"} 
[2026-08-05 07:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 07:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189507072001,"66":27865,"183":206,"85":14080,"24":10,"16":370297640581070848,"45":-7911206040413390848},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-05 07:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189507072001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:53:52] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-05 07:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370297640581070848,"km_value":370297640581070.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7911206040413390848,"description":"Unknown IO ID 45"} 
[2026-08-05 07:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189507072001,"power":27865,"unknown_183":206,"unknown_85":14080,"ignition":10,"odometer":null,"unknown_45":-7911206040413390848}} 
[2026-08-05 07:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":148284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:53:52] local.INFO: GPS data processed {"connection_id":148284,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:53:52] local.INFO: Acknowledgment sent {"connection_id":148284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:54:15] local.INFO: TCP Data received {"connection_id":150920,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:54:15] local.INFO: Processing buffer {"connection_id":150920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:54:15] local.INFO: IMEI packet received {"connection_id":150920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":150920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:54:16] local.INFO: TCP Data received {"connection_id":150920,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:54:16] local.INFO: Processing buffer {"connection_id":150920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:54:16] local.INFO: IMEI packet received {"connection_id":150920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":150920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:54:21] local.INFO: TCP Data received {"connection_id":150920,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:54:21] local.INFO: Processing buffer {"connection_id":150920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:54:21] local.INFO: IMEI packet received {"connection_id":150920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":150920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:54:21] local.INFO: TCP Data received {"connection_id":150919,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbbf6f0012d7bd5c005e1dd300008010625..."} 
[2026-08-05 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbbf6f0012d7bd5c005e1dd300008010625..."} 
[2026-08-05 07:54:21] local.INFO: Processing buffer {"connection_id":150919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbbf6f0012d7bd5c005e1dd300008010625..."} 
[2026-08-05 07:54:21] local.INFO: Packet analysis {"connection_id":150919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbb"} 
[2026-08-05 07:54:21] local.INFO: Extracted packet for processing {"connection_id":150919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbb"} 
[2026-08-05 07:54:21] local.INFO: GPS Element Parsed {"raw_longitude":763090368,"raw_latitude":98688304,"longitude_deg":76.3090368,"latitude_deg":9.8688304,"altitude":8,"angle":262,"satellites":37,"speed":18,"hex_longitude":"2d7bd5c0","hex_latitude":"05e1dd30","is_valid_coordinates":true} 
[2026-08-05 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-08-05 07:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189534464001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114923927452516352,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929441817688631296,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785896630000,"timestamp_ms":1785896630000,"timestamp_seconds":1785896630,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbbf6f0"} 
[2026-08-05 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-08-05 07:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 07:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 07:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189534464001,"66":13396,"43":206,"85":15104,"24":18,"16":114923927452516352,"45":8929441817688631296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-05 07:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189534464001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:54:21] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-05 07:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114923927452516352,"km_value":114923927452516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929441817688631296,"description":"Unknown IO ID 45"} 
[2026-08-05 07:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189534464001,"power":13396,"unknown_43":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8929441817688631296}} 
[2026-08-05 07:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":150919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:54:21] local.INFO: GPS data processed {"connection_id":150919,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:54:21] local.INFO: Acknowledgment sent {"connection_id":150919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:54:22] local.INFO: TCP Data received {"connection_id":150920,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfba7438012d921cc005883af80008011f2b..."} 
[2026-08-05 07:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfba7438012d921cc005883af80008011f2b..."} 
[2026-08-05 07:54:22] local.INFO: Processing buffer {"connection_id":150920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfba7438012d921cc005883af80008011f2b..."} 
[2026-08-05 07:54:22] local.INFO: Packet analysis {"connection_id":150920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:54:22] local.INFO: Extracted packet for processing {"connection_id":150920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfba"} 
[2026-08-05 07:54:22] local.INFO: GPS Element Parsed {"raw_longitude":764550336,"raw_latitude":92814072,"longitude_deg":76.4550336,"latitude_deg":9.2814072,"altitude":8,"angle":287,"satellites":43,"speed":8,"hex_longitude":"2d921cc0","hex_latitude":"05883af8","is_valid_coordinates":true} 
[2026-08-05 07:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189511680001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370297649171005440,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7918031808598718464,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785896531000,"timestamp_ms":1785896531000,"timestamp_seconds":1785896531,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfba7438"} 
[2026-08-05 07:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189511680001,"66":27865,"183":206,"85":14080,"24":8,"16":370297649171005440,"45":-7918031808598718464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-05 07:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189511680001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:54:22] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-05 07:54:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370297649171005440,"km_value":370297649171005.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7918031808598718464,"description":"Unknown IO ID 45"} 
[2026-08-05 07:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189511680001,"power":27865,"unknown_183":206,"unknown_85":14080,"ignition":8,"odometer":null,"unknown_45":-7918031808598718464}} 
[2026-08-05 07:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":150920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:54:22] local.INFO: GPS data processed {"connection_id":150920,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:54:22] local.INFO: Acknowledgment sent {"connection_id":150920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:54:43] local.INFO: TCP Data received {"connection_id":148285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:54:43] local.INFO: Processing buffer {"connection_id":148285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:54:43] local.INFO: IMEI packet received {"connection_id":148285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":148285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:54:43] local.INFO: TCP Data received {"connection_id":148285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:54:43] local.INFO: Processing buffer {"connection_id":148285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:54:43] local.INFO: IMEI packet received {"connection_id":148285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":148285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:54:49] local.INFO: TCP Data received {"connection_id":148285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:54:49] local.INFO: Processing buffer {"connection_id":148285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:54:49] local.INFO: IMEI packet received {"connection_id":148285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":148285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:54:50] local.INFO: TCP Data received {"connection_id":148285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbbfad8012d7bd48005e1dcc8000800f926..."} 
[2026-08-05 07:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbbfad8012d7bd48005e1dcc8000800f926..."} 
[2026-08-05 07:54:50] local.INFO: Processing buffer {"connection_id":148285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbbfad8012d7bd48005e1dcc8000800f926..."} 
[2026-08-05 07:54:50] local.INFO: Packet analysis {"connection_id":148285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbb"} 
[2026-08-05 07:54:50] local.INFO: Extracted packet for processing {"connection_id":148285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbb"} 
[2026-08-05 07:54:50] local.INFO: GPS Element Parsed {"raw_longitude":763090048,"raw_latitude":98688200,"longitude_deg":76.3090048,"latitude_deg":9.86882,"altitude":8,"angle":249,"satellites":38,"speed":12,"hex_longitude":"2d7bd480","hex_latitude":"05e1dcc8","is_valid_coordinates":true} 
[2026-08-05 07:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189537280001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114923940337418240,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923249368201244672,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785896631000,"timestamp_ms":1785896631000,"timestamp_seconds":1785896631,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbbfad8"} 
[2026-08-05 07:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 07:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189537280001,"66":12928,"43":206,"85":15104,"24":12,"16":114923940337418240,"45":8923249368201244672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-05 07:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189537280001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:54:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-05 07:54:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114923940337418240,"km_value":114923940337418.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923249368201244672,"description":"Unknown IO ID 45"} 
[2026-08-05 07:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189537280001,"power":12928,"unknown_43":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8923249368201244672}} 
[2026-08-05 07:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":148285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:54:50] local.INFO: GPS data processed {"connection_id":148285,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:54:50] local.INFO: Acknowledgment sent {"connection_id":148285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:54:54] local.INFO: TCP Data received {"connection_id":150920,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbc3d40012d90c040058839c8000801332b..."} 
[2026-08-05 07:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbc3d40012d90c040058839c8000801332b..."} 
[2026-08-05 07:54:54] local.INFO: Processing buffer {"connection_id":150920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbc3d40012d90c040058839c8000801332b..."} 
[2026-08-05 07:54:54] local.INFO: Packet analysis {"connection_id":150920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:54:54] local.INFO: Extracted packet for processing {"connection_id":150920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:54:54] local.INFO: GPS Element Parsed {"raw_longitude":764461120,"raw_latitude":92813768,"longitude_deg":76.446112,"latitude_deg":9.2813768,"altitude":8,"angle":307,"satellites":43,"speed":29,"hex_longitude":"2d90c040","hex_latitude":"058839c8","is_valid_coordinates":true} 
[2026-08-05 07:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189541376001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370301987087974400,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8014859200587462656,"note":"Value kept but may cause issues"} 
[2026-08-05 07:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785896648000,"timestamp_ms":1785896648000,"timestamp_seconds":1785896648,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbc3d40"} 
[2026-08-05 07:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":150920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":150920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":150920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189541376001,"66":27821,"195":206,"85":14080,"24":29,"16":370301987087974400,"45":-8014859200587462656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-05 07:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189541376001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:54:54] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-05 07:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370301987087974400,"km_value":370301987087974.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8014859200587462656,"description":"Unknown IO ID 45"} 
[2026-08-05 07:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189541376001,"power":27821,"unknown_195":206,"unknown_85":14080,"ignition":29,"odometer":null,"unknown_45":-8014859200587462656}} 
[2026-08-05 07:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":150920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:54:54] local.INFO: GPS data processed {"connection_id":150920,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:54:54] local.INFO: Acknowledgment sent {"connection_id":150920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:55:15] local.INFO: TCP Data received {"connection_id":149509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:55:15] local.INFO: Processing buffer {"connection_id":149509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:55:15] local.INFO: IMEI packet received {"connection_id":149509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":149509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:55:21] local.INFO: TCP Data received {"connection_id":149509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:55:21] local.INFO: Processing buffer {"connection_id":149509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:55:21] local.INFO: IMEI packet received {"connection_id":149509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":149509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:55:21] local.INFO: TCP Data received {"connection_id":149509,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbc4510012d90bb8005883cc0000801252b..."} 
[2026-08-05 07:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbc4510012d90bb8005883cc0000801252b..."} 
[2026-08-05 07:55:21] local.INFO: Processing buffer {"connection_id":149509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbc4510012d90bb8005883cc0000801252b..."} 
[2026-08-05 07:55:21] local.INFO: Packet analysis {"connection_id":149509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:55:21] local.INFO: Extracted packet for processing {"connection_id":149509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:55:21] local.INFO: GPS Element Parsed {"raw_longitude":764459904,"raw_latitude":92814528,"longitude_deg":76.4459904,"latitude_deg":9.2814528,"altitude":8,"angle":293,"satellites":43,"speed":28,"hex_longitude":"2d90bb80","hex_latitude":"05883cc0","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189541888001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370302055807451136,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8016336944214980608,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785896650000,"timestamp_ms":1785896650000,"timestamp_seconds":1785896650,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbc4510"} 
[2026-08-05 07:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:55: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-08-05 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 07:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:55: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-08-05 07:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189541888001,"66":27865,"195":206,"85":14080,"24":28,"16":370302055807451136,"45":-8016336944214980608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-05 07:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189541888001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:55:21] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-05 07:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370302055807451136,"km_value":370302055807451.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8016336944214980608,"description":"Unknown IO ID 45"} 
[2026-08-05 07:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189541888001,"power":27865,"unknown_195":206,"unknown_85":14080,"ignition":28,"odometer":null,"unknown_45":-8016336944214980608}} 
[2026-08-05 07:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":149509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:55:21] local.INFO: GPS data processed {"connection_id":149509,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:55:21] local.INFO: Acknowledgment sent {"connection_id":149509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:55:22] local.INFO: TCP Data received {"connection_id":148285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbc1e00012d7bd28005e1db98000700ec29..."} 
[2026-08-05 07:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbc1e00012d7bd28005e1db98000700ec29..."} 
[2026-08-05 07:55:22] local.INFO: Processing buffer {"connection_id":148285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbc1e00012d7bd28005e1db98000700ec29..."} 
[2026-08-05 07:55:22] local.INFO: Packet analysis {"connection_id":148285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:55:22] local.INFO: Extracted packet for processing {"connection_id":148285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763089536,"raw_latitude":98687896,"longitude_deg":76.3089536,"latitude_deg":9.8687896,"altitude":7,"angle":236,"satellites":41,"speed":7,"hex_longitude":"2d7bd280","hex_latitude":"05e1db98","is_valid_coordinates":true} 
[2026-08-05 07:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189537536001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114923970402189312,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922897524480329728,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785896640000,"timestamp_ms":1785896640000,"timestamp_seconds":1785896640,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbc1e00"} 
[2026-08-05 07:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-05 07:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189537536001,"66":13439,"43":206,"85":15104,"24":7,"16":114923970402189312,"45":8922897524480329728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-05 07:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189537536001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:55:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-05 07:55:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114923970402189312,"km_value":114923970402189.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922897524480329728,"description":"Unknown IO ID 45"} 
[2026-08-05 07:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189537536001,"power":13439,"unknown_43":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8922897524480329728}} 
[2026-08-05 07:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":148285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:55:22] local.INFO: GPS data processed {"connection_id":148285,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:55:22] local.INFO: Acknowledgment sent {"connection_id":148285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:55:44] local.INFO: TCP Data received {"connection_id":149510,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:55:44] local.INFO: Processing buffer {"connection_id":149510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:55:44] local.INFO: IMEI packet received {"connection_id":149510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":149510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:55:47] local.INFO: TCP Data received {"connection_id":149510,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:55:47] local.INFO: Processing buffer {"connection_id":149510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:55:47] local.INFO: IMEI packet received {"connection_id":149510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":149510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:55:49] local.INFO: TCP Data received {"connection_id":149510,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:55:49] local.INFO: Processing buffer {"connection_id":149510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:55:49] local.INFO: IMEI packet received {"connection_id":149510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":149510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:55:50] local.INFO: TCP Data received {"connection_id":149510,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbc7008012d7bbd4005e1cba8000800e527..."} 
[2026-08-05 07:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbc7008012d7bbd4005e1cba8000800e527..."} 
[2026-08-05 07:55:50] local.INFO: Processing buffer {"connection_id":149510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbc7008012d7bbd4005e1cba8000800e527..."} 
[2026-08-05 07:55:50] local.INFO: Packet analysis {"connection_id":149510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:55:50] local.INFO: Extracted packet for processing {"connection_id":149510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:55:50] local.INFO: GPS Element Parsed {"raw_longitude":763084096,"raw_latitude":98683816,"longitude_deg":76.3084096,"latitude_deg":9.8683816,"altitude":8,"angle":229,"satellites":39,"speed":28,"hex_longitude":"2d7bbd40","hex_latitude":"05e1cba8","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189539840001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922334574526830592,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114924301114671104,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 07:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785896661000,"timestamp_ms":1785896661000,"timestamp_seconds":1785896661,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbc7008"} 
[2026-08-05 07:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 07:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189539840001,"66":13722,"45":8922334574526830592,"85":15104,"24":28,"16":114924301114671104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-05 07:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189539840001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922334574526830592,"description":"Unknown IO ID 45"} 
[2026-08-05 07:55:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114924301114671104,"km_value":114924301114671.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:55:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457189539840001,"power":13722,"unknown_45":8922334574526830592,"unknown_85":15104,"ignition":28,"odometer":null}} 
[2026-08-05 07:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":149510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:55:50] local.INFO: GPS data processed {"connection_id":149510,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:55:50] local.INFO: Acknowledgment sent {"connection_id":149510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:55:53] local.INFO: TCP Data received {"connection_id":149509,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbc4ce0012d90b64005883e40000801182c..."} 
[2026-08-05 07:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbc4ce0012d90b64005883e40000801182c..."} 
[2026-08-05 07:55:53] local.INFO: Processing buffer {"connection_id":149509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbc4ce0012d90b64005883e40000801182c..."} 
[2026-08-05 07:55:53] local.INFO: Packet analysis {"connection_id":149509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:55:53] local.INFO: Extracted packet for processing {"connection_id":149509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:55:53] local.INFO: GPS Element Parsed {"raw_longitude":764458560,"raw_latitude":92814912,"longitude_deg":76.445856,"latitude_deg":9.2814912,"altitude":8,"angle":280,"satellites":44,"speed":26,"hex_longitude":"2d90b640","hex_latitude":"05883e40","is_valid_coordinates":true} 
[2026-08-05 07:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189542400001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370302124526927872,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8017673950354161664,"note":"Value kept but may cause issues"} 
[2026-08-05 07:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785896652000,"timestamp_ms":1785896652000,"timestamp_seconds":1785896652,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbc4ce0"} 
[2026-08-05 07:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 07:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189542400001,"66":27876,"195":206,"85":14080,"24":26,"16":370302124526927872,"45":-8017673950354161664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-05 07:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189542400001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:55:53] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-05 07:55:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370302124526927872,"km_value":370302124526927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8017673950354161664,"description":"Unknown IO ID 45"} 
[2026-08-05 07:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189542400001,"power":27876,"unknown_195":206,"unknown_85":14080,"ignition":26,"odometer":null,"unknown_45":-8017673950354161664}} 
[2026-08-05 07:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":149509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:55:53] local.INFO: GPS data processed {"connection_id":149509,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:55:53] local.INFO: Acknowledgment sent {"connection_id":149509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:56:16] local.INFO: TCP Data received {"connection_id":149511,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:56:16] local.INFO: Processing buffer {"connection_id":149511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:56:16] local.INFO: IMEI packet received {"connection_id":149511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":149511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:56:16] local.INFO: TCP Data received {"connection_id":149511,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:56:16] local.INFO: Processing buffer {"connection_id":149511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:56:16] local.INFO: IMEI packet received {"connection_id":149511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":149511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:56:21] local.INFO: TCP Data received {"connection_id":149511,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:56:21] local.INFO: Processing buffer {"connection_id":149511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:56:21] local.INFO: IMEI packet received {"connection_id":149511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":149511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:56:21] local.INFO: TCP Data received {"connection_id":149510,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbdd380012d7b3c0005e1b350000b015f23..."} 
[2026-08-05 07:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbdd380012d7b3c0005e1b350000b015f23..."} 
[2026-08-05 07:56:21] local.INFO: Processing buffer {"connection_id":149510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbdd380012d7b3c0005e1b350000b015f23..."} 
[2026-08-05 07:56:21] local.INFO: Packet analysis {"connection_id":149510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbd"} 
[2026-08-05 07:56:21] local.INFO: Extracted packet for processing {"connection_id":149510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbd"} 
[2026-08-05 07:56:21] local.INFO: GPS Element Parsed {"raw_longitude":763051008,"raw_latitude":98677584,"longitude_deg":76.3051008,"latitude_deg":9.8677584,"altitude":11,"angle":351,"satellites":35,"speed":13,"hex_longitude":"2d7b3c00","hex_latitude":"05e1b350","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189568256001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114925989036818432,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880113328017514496,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785896752000,"timestamp_ms":1785896752000,"timestamp_seconds":1785896752,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbdd380"} 
[2026-08-05 07:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618123,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3485267160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7472674647528439808,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3176818689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3008364553,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636468701187629,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3221610933,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787005952,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-8863077599633473529,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-4251172312591577515,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:21] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,169,85,24,241,157,16,76,159,195,45,64,176,11,38,10,66,184,128,174,39,168,1,240,127,227,207,225,4,113,205,8,120,40,239,52,2,152,5,7,27,123,53,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-08-05 07:56:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793000925920296960,"timestamp_seconds":793000925920297.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189568256001,"66":13580,"169":206,"85":15104,"24":13,"16":114925989036818432,"45":8880113328017514496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189568256001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:56:21] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114925989036818432,"km_value":114925989036818.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880113328017514496,"description":"Unknown IO ID 45"} 
[2026-08-05 07:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189568256001,"power":13580,"unknown_169":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8880113328017514496}} 
[2026-08-05 07:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":149510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:56:21] local.INFO: GPS data processed {"connection_id":149510,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:56:21] local.INFO: Acknowledgment sent {"connection_id":149510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:56:47] local.INFO: TCP Data received {"connection_id":149511,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbc77d8012d90930005884888000a01222c..."} 
[2026-08-05 07:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbc77d8012d90930005884888000a01222c..."} 
[2026-08-05 07:56:47] local.INFO: Processing buffer {"connection_id":149511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbc77d8012d90930005884888000a01222c..."} 
[2026-08-05 07:56:47] local.INFO: Packet analysis {"connection_id":149511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:56:47] local.INFO: Extracted packet for processing {"connection_id":149511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbc"} 
[2026-08-05 07:56:47] local.INFO: GPS Element Parsed {"raw_longitude":764449536,"raw_latitude":92817544,"longitude_deg":76.4449536,"latitude_deg":9.2817544,"altitude":10,"angle":290,"satellites":44,"speed":39,"hex_longitude":"2d909300","hex_latitude":"05884888","is_valid_coordinates":true} 
[2026-08-05 07:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189542912001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370302575498493952,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8019151693981794304,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785896663000,"timestamp_ms":1785896663000,"timestamp_seconds":1785896663,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbc77d8"} 
[2026-08-05 07:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:56: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-08-05 07:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189542912001,"66":27908,"195":206,"85":14080,"24":39,"16":370302575498493952,"45":-8019151693981794304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-05 07:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189542912001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:56:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-05 07:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370302575498493952,"km_value":370302575498493.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8019151693981794304,"description":"Unknown IO ID 45"} 
[2026-08-05 07:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189542912001,"power":27908,"unknown_195":206,"unknown_85":14080,"ignition":39,"odometer":null,"unknown_45":-8019151693981794304}} 
[2026-08-05 07:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":149511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:56:47] local.INFO: GPS data processed {"connection_id":149511,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:56:47] local.INFO: Acknowledgment sent {"connection_id":149511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:56:49] local.INFO: TCP Data received {"connection_id":148504,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:56:49] local.INFO: Processing buffer {"connection_id":148504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:56:49] local.INFO: IMEI packet received {"connection_id":148504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":148504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:56:54] local.INFO: TCP Data received {"connection_id":148504,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:56:54] local.INFO: Processing buffer {"connection_id":148504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:56:54] local.INFO: IMEI packet received {"connection_id":148504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":148504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:56:55] local.INFO: TCP Data received {"connection_id":148504,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbe0648012d7b380005e1d5f8000b01661b..."} 
[2026-08-05 07:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbe0648012d7b380005e1d5f8000b01661b..."} 
[2026-08-05 07:56:55] local.INFO: Processing buffer {"connection_id":148504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbe0648012d7b380005e1d5f8000b01661b..."} 
[2026-08-05 07:56:55] local.INFO: Packet analysis {"connection_id":148504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:56:55] local.INFO: Extracted packet for processing {"connection_id":148504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:56:55] local.INFO: GPS Element Parsed {"raw_longitude":763049984,"raw_latitude":98686456,"longitude_deg":76.3049984,"latitude_deg":9.8686456,"altitude":11,"angle":358,"satellites":27,"speed":29,"hex_longitude":"2d7b3800","hex_latitude":"05e1d5f8","is_valid_coordinates":true} 
[2026-08-05 07:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189568512001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114926422828515328,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879972590529236992,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785896765000,"timestamp_ms":1785896765000,"timestamp_seconds":1785896765,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbe0648"} 
[2026-08-05 07:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618123,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3485272160,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3181938689,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7472633965598212096,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2928148490,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807928365,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786735616,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-4251172312591577515,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-8863077599633473529,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:55] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,169,85,24,241,157,16,76,159,207,45,128,178,11,36,10,66,195,64,176,38,184,1,240,197,227,225,4,113,205,5,90,100,80,39,239,53,2,152,6,23,123,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-08-05 07:56:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793019613323264000,"timestamp_seconds":793019613323264,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 07:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189568512001,"66":12863,"169":206,"85":15104,"24":29,"16":114926422828515328,"45":8879972590529236992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189568512001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:56:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114926422828515328,"km_value":114926422828515.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879972590529236992,"description":"Unknown IO ID 45"} 
[2026-08-05 07:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189568512001,"power":12863,"unknown_169":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8879972590529236992}} 
[2026-08-05 07:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":148504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:56:55] local.INFO: GPS data processed {"connection_id":148504,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:56:55] local.INFO: Acknowledgment sent {"connection_id":148504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:56:59] local.INFO: TCP Data received {"connection_id":148504,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbe3528012d7b334005e1f910000a015f1b..."} 
[2026-08-05 07:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbe3528012d7b334005e1f910000a015f1b..."} 
[2026-08-05 07:56:59] local.INFO: Processing buffer {"connection_id":148504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbe3528012d7b334005e1f910000a015f1b..."} 
[2026-08-05 07:56:59] local.INFO: Packet analysis {"connection_id":148504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:56:59] local.INFO: Extracted packet for processing {"connection_id":148504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763048768,"raw_latitude":98695440,"longitude_deg":76.3048768,"latitude_deg":9.869544,"altitude":10,"angle":351,"satellites":27,"speed":32,"hex_longitude":"2d7b3340","hex_latitude":"05e1f910","is_valid_coordinates":true} 
[2026-08-05 07:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189571840001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114926865210146816,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878846690624665600,"note":"Value kept but may cause issues"} 
[2026-08-05 07:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785896777000,"timestamp_ms":1785896777000,"timestamp_seconds":1785896777,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbe3528"} 
[2026-08-05 07:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 07:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189571840001,"66":13461,"169":206,"85":15104,"24":32,"16":114926865210146816,"45":8878846690624665600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189571840001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:56:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114926865210146816,"km_value":114926865210146.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878846690624665600,"description":"Unknown IO ID 45"} 
[2026-08-05 07:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189571840001,"power":13461,"unknown_169":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8878846690624665600}} 
[2026-08-05 07:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":148504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:56:59] local.INFO: GPS data processed {"connection_id":148504,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:56:59] local.INFO: Acknowledgment sent {"connection_id":148504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:57:25] local.INFO: TCP Data received {"connection_id":148286,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:57:25] local.INFO: Processing buffer {"connection_id":148286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:57:25] local.INFO: IMEI packet received {"connection_id":148286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":148286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:57:34] local.INFO: TCP Data received {"connection_id":148286,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:57:34] local.INFO: Processing buffer {"connection_id":148286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:57:34] local.INFO: IMEI packet received {"connection_id":148286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":148286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:57:35] local.INFO: TCP Data received {"connection_id":148286,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:57:35] local.INFO: Processing buffer {"connection_id":148286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:57:35] local.INFO: IMEI packet received {"connection_id":148286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":148286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:57:37] local.INFO: TCP Data received {"connection_id":148286,"ip":"42.106.6.40","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fcf..."} 
[2026-08-05 07:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148286,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fcf..."} 
[2026-08-05 07:57:37] local.INFO: Processing buffer {"connection_id":148286,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fcf..."} 
[2026-08-05 07:57:37] local.INFO: IMEI packet received {"connection_id":148286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":148286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:57:44] local.INFO: TCP Data received {"connection_id":150921,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:57:44] local.INFO: Processing buffer {"connection_id":150921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:57:44] local.INFO: IMEI packet received {"connection_id":150921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":150921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:57:44] local.INFO: TCP Data received {"connection_id":150921,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:57:44] local.INFO: Processing buffer {"connection_id":150921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:57:44] local.INFO: IMEI packet received {"connection_id":150921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":150921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:57:49] local.INFO: TCP Data received {"connection_id":150921,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:57:49] local.INFO: Processing buffer {"connection_id":150921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:57:49] local.INFO: IMEI packet received {"connection_id":150921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":150921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:57:50] local.INFO: TCP Data received {"connection_id":150921,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbe7790012d7b2e0005e21b98000201631f..."} 
[2026-08-05 07:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbe7790012d7b2e0005e21b98000201631f..."} 
[2026-08-05 07:57:50] local.INFO: Processing buffer {"connection_id":150921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbe7790012d7b2e0005e21b98000201631f..."} 
[2026-08-05 07:57:50] local.INFO: Packet analysis {"connection_id":150921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:57:50] local.INFO: Extracted packet for processing {"connection_id":150921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:57:50] local.INFO: GPS Element Parsed {"raw_longitude":763047424,"raw_latitude":98704280,"longitude_deg":76.3047424,"latitude_deg":9.870428,"altitude":2,"angle":355,"satellites":31,"speed":14,"hex_longitude":"2d7b2e00","hex_latitude":"05e21b98","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189574912001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114927299001843712,"note":"Value kept but may cause issues"} 
[2026-08-05 07:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877509684487589888,"note":"Value kept but may cause issues"} 
[2026-08-05 07:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785896794000,"timestamp_ms":1785896794000,"timestamp_seconds":1785896794,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbe7790"} 
[2026-08-05 07:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 07:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189574912001,"66":13678,"169":206,"85":15104,"24":14,"16":114927299001843712,"45":8877509684487589888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189574912001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:57:50] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:57:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114927299001843712,"km_value":114927299001843.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877509684487589888,"description":"Unknown IO ID 45"} 
[2026-08-05 07:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189574912001,"power":13678,"unknown_169":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8877509684487589888}} 
[2026-08-05 07:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":150921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:57:50] local.INFO: GPS data processed {"connection_id":150921,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:57:50] local.INFO: Acknowledgment sent {"connection_id":150921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:58:02] local.INFO: TCP Data received {"connection_id":148286,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbe2d58012d8f35800589b010000601412b..."} 
[2026-08-05 07:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbe2d58012d8f35800589b010000601412b..."} 
[2026-08-05 07:58:02] local.INFO: Processing buffer {"connection_id":148286,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fcfbe15e8012d8f4bc0058994b0000601432b..."} 
[2026-08-05 07:58:02] local.INFO: Packet analysis {"connection_id":148286,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:58:02] local.INFO: Extracted packet for processing {"connection_id":148286,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:58:02] local.INFO: GPS Element Parsed {"raw_longitude":764365760,"raw_latitude":92902576,"longitude_deg":76.436576,"latitude_deg":9.2902576,"altitude":6,"angle":323,"satellites":43,"speed":57,"hex_longitude":"2d8f4bc0","hex_latitude":"058994b0","is_valid_coordinates":true} 
[2026-08-05 07:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189571072001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370308549798002688,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8114360604833712128,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785896769000,"timestamp_ms":1785896769000,"timestamp_seconds":1785896769,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbe15e8"} 
[2026-08-05 07:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 07:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189571072001,"66":27767,"209":206,"85":14080,"24":57,"16":370308549798002688,"45":-8114360604833712128},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-05 07:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189571072001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:58:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-05 07:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370308549798002688,"km_value":370308549798002.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8114360604833712128,"description":"Unknown IO ID 45"} 
[2026-08-05 07:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189571072001,"power":27767,"unknown_209":206,"unknown_85":14080,"ignition":57,"odometer":null,"unknown_45":-8114360604833712128}} 
[2026-08-05 07:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":148286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:58:02] local.INFO: GPS data processed {"connection_id":148286,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:58:02] local.INFO: Acknowledgment sent {"connection_id":148286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:58:02] local.INFO: Packet analysis {"connection_id":148286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:58:02] local.INFO: Extracted packet for processing {"connection_id":148286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:58:02] local.INFO: GPS Element Parsed {"raw_longitude":764360064,"raw_latitude":92909584,"longitude_deg":76.4360064,"latitude_deg":9.2909584,"altitude":6,"angle":321,"satellites":43,"speed":61,"hex_longitude":"2d8f3580","hex_latitude":"0589b010","is_valid_coordinates":true} 
[2026-08-05 07:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189572864001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370308983589699584,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8121186373016965120,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785896775000,"timestamp_ms":1785896775000,"timestamp_seconds":1785896775,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbe2d58"} 
[2026-08-05 07:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 07:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189572864001,"66":27832,"209":206,"85":14080,"24":61,"16":370308983589699584,"45":-8121186373016965120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-05 07:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189572864001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:58:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-05 07:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370308983589699584,"km_value":370308983589699.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8121186373016965120,"description":"Unknown IO ID 45"} 
[2026-08-05 07:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189572864001,"power":27832,"unknown_209":206,"unknown_85":14080,"ignition":61,"odometer":null,"unknown_45":-8121186373016965120}} 
[2026-08-05 07:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":148286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:58:03] local.INFO: GPS data processed {"connection_id":148286,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:58:03] local.INFO: Acknowledgment sent {"connection_id":148286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:58:22] local.INFO: TCP Data received {"connection_id":149512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:22] local.INFO: Processing buffer {"connection_id":149512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:22] local.INFO: IMEI packet received {"connection_id":149512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":149512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:58:22] local.INFO: TCP Data received {"connection_id":149512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:22] local.INFO: Processing buffer {"connection_id":149512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:22] local.INFO: IMEI packet received {"connection_id":149512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":149512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:58:25] local.INFO: TCP Data received {"connection_id":149512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:25] local.INFO: Processing buffer {"connection_id":149512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:25] local.INFO: IMEI packet received {"connection_id":149512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":149512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:58:30] local.INFO: TCP Data received {"connection_id":149512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:30] local.INFO: Processing buffer {"connection_id":149512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:58:30] local.INFO: IMEI packet received {"connection_id":149512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":149512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:58:30] local.INFO: TCP Data received {"connection_id":150921,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbec998012d7b29c005e23d980001015e22..."} 
[2026-08-05 07:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbec998012d7b29c005e23d980001015e22..."} 
[2026-08-05 07:58:30] local.INFO: Processing buffer {"connection_id":150921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbec998012d7b29c005e23d980001015e22..."} 
[2026-08-05 07:58:30] local.INFO: Packet analysis {"connection_id":150921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:58:30] local.INFO: Extracted packet for processing {"connection_id":150921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763046336,"raw_latitude":98712984,"longitude_deg":76.3046336,"latitude_deg":9.8712984,"altitude":1,"angle":350,"satellites":34,"speed":20,"hex_longitude":"2d7b29c0","hex_latitude":"05e23d98","is_valid_coordinates":true} 
[2026-08-05 07:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189579264001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114927728498573312,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876031940862121984,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785896815000,"timestamp_ms":1785896815000,"timestamp_seconds":1785896815,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbec998"} 
[2026-08-05 07:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:58: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-08-05 07:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-05 07:58: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-08-05 07:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":150921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":150921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":150921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:58: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-08-05 07:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189579264001,"66":13646,"169":206,"85":15104,"24":20,"16":114927728498573312,"45":8876031940862121984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 07:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189579264001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:58:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 07:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114927728498573312,"km_value":114927728498573.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876031940862121984,"description":"Unknown IO ID 45"} 
[2026-08-05 07:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189579264001,"power":13646,"unknown_169":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8876031940862121984}} 
[2026-08-05 07:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":150921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:58:30] local.INFO: GPS data processed {"connection_id":150921,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:58:30] local.INFO: Acknowledgment sent {"connection_id":150921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:58:31] local.INFO: TCP Data received {"connection_id":149512,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbe44c8012d8f1f000589cbf8000501402b..."} 
[2026-08-05 07:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbe44c8012d8f1f000589cbf8000501402b..."} 
[2026-08-05 07:58:31] local.INFO: Processing buffer {"connection_id":149512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbe44c8012d8f1f000589cbf8000501402b..."} 
[2026-08-05 07:58:31] local.INFO: Packet analysis {"connection_id":149512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:58:31] local.INFO: Extracted packet for processing {"connection_id":149512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbe"} 
[2026-08-05 07:58:31] local.INFO: GPS Element Parsed {"raw_longitude":764354304,"raw_latitude":92916728,"longitude_deg":76.4354304,"latitude_deg":9.2916728,"altitude":5,"angle":320,"satellites":43,"speed":59,"hex_longitude":"2d8f1f00","hex_latitude":"0589cbf8","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189574400001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370309425971331072,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8127449191246983168,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785896781000,"timestamp_ms":1785896781000,"timestamp_seconds":1785896781,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbe44c8"} 
[2026-08-05 07:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07: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-08-05 07: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-05 07:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189574400001,"66":27930,"209":206,"85":14080,"24":59,"16":370309425971331072,"45":-8127449191246983168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-05 07:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189574400001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:58:31] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-05 07:58:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370309425971331072,"km_value":370309425971331.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8127449191246983168,"description":"Unknown IO ID 45"} 
[2026-08-05 07:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189574400001,"power":27930,"unknown_209":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-8127449191246983168}} 
[2026-08-05 07:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":149512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:58:31] local.INFO: GPS data processed {"connection_id":149512,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:58:31] local.INFO: Acknowledgment sent {"connection_id":149512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:58:43] local.INFO: TCP Data received {"connection_id":148287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:58:43] local.INFO: Processing buffer {"connection_id":148287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:58:43] local.INFO: IMEI packet received {"connection_id":148287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":148287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:58:47] local.INFO: TCP Data received {"connection_id":148287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:58:47] local.INFO: Processing buffer {"connection_id":148287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:58:47] local.INFO: IMEI packet received {"connection_id":148287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":148287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:58:48] local.INFO: TCP Data received {"connection_id":148287,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbf0048012d7b23c005e261a8000001621a..."} 
[2026-08-05 07:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbf0048012d7b23c005e261a8000001621a..."} 
[2026-08-05 07:58:48] local.INFO: Processing buffer {"connection_id":148287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbf0048012d7b23c005e261a8000001621a..."} 
[2026-08-05 07:58:48] local.INFO: Packet analysis {"connection_id":148287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 07:58:48] local.INFO: Extracted packet for processing {"connection_id":148287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 07:58:48] local.INFO: GPS Element Parsed {"raw_longitude":763044800,"raw_latitude":98722216,"longitude_deg":76.30448,"latitude_deg":9.8722216,"altitude":0,"angle":354,"satellites":26,"speed":29,"hex_longitude":"2d7b23c0","hex_latitude":"05e261a8","is_valid_coordinates":true} 
[2026-08-05 07:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189584640001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114928179470139392,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874835672213329920,"note":"Value kept but may cause issues"} 
[2026-08-05 07:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785896829000,"timestamp_ms":1785896829000,"timestamp_seconds":1785896829,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbf0048"} 
[2026-08-05 07:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-05 07:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189584640001,"66":13613,"96":206,"85":15104,"24":29,"16":114928179470139392,"45":8874835672213329920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-05 07:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189584640001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:58:48] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-05 07:58:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114928179470139392,"km_value":114928179470139.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874835672213329920,"description":"Unknown IO ID 45"} 
[2026-08-05 07:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189584640001,"power":13613,"unknown_96":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8874835672213329920}} 
[2026-08-05 07:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":148287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:58:48] local.INFO: GPS data processed {"connection_id":148287,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:58:48] local.INFO: Acknowledgment sent {"connection_id":148287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:59:12] local.INFO: TCP Data received {"connection_id":148288,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:59:12] local.INFO: Processing buffer {"connection_id":148288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:59:12] local.INFO: IMEI packet received {"connection_id":148288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 07:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":148288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:59:16] local.INFO: TCP Data received {"connection_id":148288,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:59:16] local.INFO: Processing buffer {"connection_id":148288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:59:16] local.INFO: IMEI packet received {"connection_id":148288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":148288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:59:19] local.INFO: TCP Data received {"connection_id":148287,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbf3ae0012d7b204005e284d8000001601d..."} 
[2026-08-05 07:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbf3ae0012d7b204005e284d8000001601d..."} 
[2026-08-05 07:59:19] local.INFO: Processing buffer {"connection_id":148287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbf3ae0012d7b204005e284d8000001601d..."} 
[2026-08-05 07:59:19] local.INFO: Packet analysis {"connection_id":148287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 07:59:19] local.INFO: Extracted packet for processing {"connection_id":148287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 07:59:19] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98731224,"longitude_deg":76.3043904,"latitude_deg":9.8731224,"altitude":0,"angle":352,"satellites":29,"speed":17,"hex_longitude":"2d7b2040","hex_latitude":"05e284d8","is_valid_coordinates":true} 
[2026-08-05 07: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-08-05 07:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189588224001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114928621851770880,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873146822355429376,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785896844000,"timestamp_ms":1785896844000,"timestamp_seconds":1785896844,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbf3ae0"} 
[2026-08-05 07:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-05 07:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07: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-08-05 07:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189588224001,"66":13689,"96":206,"85":15104,"24":17,"16":114928621851770880,"45":8873146822355429376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-05 07:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189588224001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:59:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-05 07:59:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114928621851770880,"km_value":114928621851770.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873146822355429376,"description":"Unknown IO ID 45"} 
[2026-08-05 07:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189588224001,"power":13689,"unknown_96":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8873146822355429376}} 
[2026-08-05 07:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":148287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:59:19] local.INFO: GPS data processed {"connection_id":148287,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:59:19] local.INFO: Acknowledgment sent {"connection_id":148287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:59:20] local.INFO: TCP Data received {"connection_id":148288,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:59:20] local.INFO: Processing buffer {"connection_id":148288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 07:59:20] local.INFO: IMEI packet received {"connection_id":148288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 07:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":148288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:59:21] local.INFO: TCP Data received {"connection_id":148288,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbfbbc8012d8ec8c0058b1f08000401572e..."} 
[2026-08-05 07:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbfbbc8012d8ec8c0058b1f08000401572e..."} 
[2026-08-05 07:59:21] local.INFO: Processing buffer {"connection_id":148288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbfbbc8012d8ec8c0058b1f08000401572e..."} 
[2026-08-05 07:59:21] local.INFO: Packet analysis {"connection_id":148288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 07:59:21] local.INFO: Extracted packet for processing {"connection_id":148288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 07:59:21] local.INFO: GPS Element Parsed {"raw_longitude":764332224,"raw_latitude":93003528,"longitude_deg":76.4332224,"latitude_deg":9.3003528,"altitude":4,"angle":343,"satellites":46,"speed":51,"hex_longitude":"2d8ec8c0","hex_latitude":"058b1f08","is_valid_coordinates":true} 
[2026-08-05 07:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189598720001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370313845492678656,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8155315213919473664,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785896877000,"timestamp_ms":1785896877000,"timestamp_seconds":1785896877,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbfbbc8"} 
[2026-08-05 07:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 07:59: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-08-05 07:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:59: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-08-05 07:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189598720001,"66":27876,"19":206,"85":14080,"24":51,"16":370313845492678656,"45":-8155315213919473664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-05 07:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189598720001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:59:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-05 07:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370313845492678656,"km_value":370313845492678.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8155315213919473664,"description":"Unknown IO ID 45"} 
[2026-08-05 07:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189598720001,"power":27876,"unknown_19":206,"unknown_85":14080,"ignition":51,"odometer":null,"unknown_45":-8155315213919473664}} 
[2026-08-05 07:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":148288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:59:21] local.INFO: GPS data processed {"connection_id":148288,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:59:21] local.INFO: Acknowledgment sent {"connection_id":148288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:59:44] local.INFO: TCP Data received {"connection_id":150922,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:59:44] local.INFO: Processing buffer {"connection_id":150922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:59:44] local.INFO: IMEI packet received {"connection_id":150922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 07:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":150922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 07:59:49] local.INFO: TCP Data received {"connection_id":150922,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:59:49] local.INFO: Processing buffer {"connection_id":150922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 07:59:49] local.INFO: IMEI packet received {"connection_id":150922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 07:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":150922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 07:59:50] local.INFO: TCP Data received {"connection_id":150922,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbf8130012d7b1bc005e2a9c00001015f1b..."} 
[2026-08-05 07:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbf8130012d7b1bc005e2a9c00001015f1b..."} 
[2026-08-05 07:59:50] local.INFO: Processing buffer {"connection_id":150922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbf8130012d7b1bc005e2a9c00001015f1b..."} 
[2026-08-05 07:59:50] local.INFO: Packet analysis {"connection_id":150922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 07:59:50] local.INFO: Extracted packet for processing {"connection_id":150922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 07:59:50] local.INFO: GPS Element Parsed {"raw_longitude":763042752,"raw_latitude":98740672,"longitude_deg":76.3042752,"latitude_deg":9.8740672,"altitude":1,"angle":351,"satellites":27,"speed":35,"hex_longitude":"2d7b1bc0","hex_latitude":"05e2a9c0","is_valid_coordinates":true} 
[2026-08-05 07:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189592064001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114929081413271552,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659939248128,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785896862000,"timestamp_ms":1785896862000,"timestamp_seconds":1785896862,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbf8130"} 
[2026-08-05 07:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-05 07:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 07:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 07:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 07:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189592064001,"66":13787,"96":206,"85":15104,"24":35,"16":114929081413271552,"45":8872161659939248128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-05 07:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 07:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 07:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189592064001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:59:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-05 07:59:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 07:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114929081413271552,"km_value":114929081413271.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659939248128,"description":"Unknown IO ID 45"} 
[2026-08-05 07:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189592064001,"power":13787,"unknown_96":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8872161659939248128}} 
[2026-08-05 07:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":150922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:59:50] local.INFO: GPS data processed {"connection_id":150922,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:59:50] local.INFO: Acknowledgment sent {"connection_id":150922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 07:59:52] local.INFO: TCP Data received {"connection_id":148288,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbfd720012d8ebec0058b4048000401572e..."} 
[2026-08-05 07:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbfd720012d8ebec0058b4048000401572e..."} 
[2026-08-05 07:59:52] local.INFO: Processing buffer {"connection_id":148288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbfd720012d8ebec0058b4048000401572e..."} 
[2026-08-05 07:59:52] local.INFO: Packet analysis {"connection_id":148288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 07:59:52] local.INFO: Extracted packet for processing {"connection_id":148288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 07:59:52] local.INFO: GPS Element Parsed {"raw_longitude":764329664,"raw_latitude":93012040,"longitude_deg":76.4329664,"latitude_deg":9.301204,"altitude":4,"angle":343,"satellites":46,"speed":45,"hex_longitude":"2d8ebec0","hex_latitude":"058b4048","is_valid_coordinates":true} 
[2026-08-05 07:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 07:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189600512001,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370314274989408256,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8158059594940217344,"note":"Value kept but may cause issues"} 
[2026-08-05 07:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 07:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785896884000,"timestamp_ms":1785896884000,"timestamp_seconds":1785896884,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbfd720"} 
[2026-08-05 07:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 07:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 07:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 07:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 07:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 07:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 07:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 07:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 07:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 07:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 07:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 07:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 07:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189600512001,"66":27843,"19":206,"85":14080,"24":45,"16":370314274989408256,"45":-8158059594940217344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-05 07:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 07:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 07:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189600512001,"description":"Unknown IO ID 0"} 
[2026-08-05 07:59:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-05 07:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 07:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370314274989408256,"km_value":370314274989408.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 07:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8158059594940217344,"description":"Unknown IO ID 45"} 
[2026-08-05 07:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189600512001,"power":27843,"unknown_19":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8158059594940217344}} 
[2026-08-05 07:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":148288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 07:59:52] local.INFO: GPS data processed {"connection_id":148288,"processed":1,"errors":0,"total":1} 
[2026-08-05 07:59:52] local.INFO: Acknowledgment sent {"connection_id":148288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:00:16] local.INFO: TCP Data received {"connection_id":150923,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:00:16] local.INFO: Processing buffer {"connection_id":150923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:00:16] local.INFO: IMEI packet received {"connection_id":150923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":150923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:00:16] local.INFO: TCP Data received {"connection_id":150923,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:00:16] local.INFO: Processing buffer {"connection_id":150923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:00:16] local.INFO: IMEI packet received {"connection_id":150923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":150923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:00:21] local.INFO: TCP Data received {"connection_id":150923,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:00:21] local.INFO: Processing buffer {"connection_id":150923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:00:21] local.INFO: IMEI packet received {"connection_id":150923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":150923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:00:21] local.INFO: TCP Data received {"connection_id":150922,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbfa458012d7b170005e2ce380001015f18..."} 
[2026-08-05 08:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbfa458012d7b170005e2ce380001015f18..."} 
[2026-08-05 08:00:21] local.INFO: Processing buffer {"connection_id":150922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbfa458012d7b170005e2ce380001015f18..."} 
[2026-08-05 08:00:21] local.INFO: Packet analysis {"connection_id":150922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 08:00:21] local.INFO: Extracted packet for processing {"connection_id":150922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 08:00:21] local.INFO: GPS Element Parsed {"raw_longitude":763041536,"raw_latitude":98750008,"longitude_deg":76.3041536,"latitude_deg":9.8750008,"altitude":1,"angle":351,"satellites":24,"speed":47,"hex_longitude":"2d7b1700","hex_latitude":"05e2ce38","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189596672001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114929540974772224,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870895022546468864,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785896871000,"timestamp_ms":1785896871000,"timestamp_seconds":1785896871,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbfa458"} 
[2026-08-05 08:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-05 08:00:21] 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-08-05 08: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-08-05 08:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189596672001,"66":13678,"96":206,"85":15104,"24":47,"16":114929540974772224,"45":8870895022546468864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-05 08:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189596672001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:00:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-05 08:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114929540974772224,"km_value":114929540974772.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870895022546468864,"description":"Unknown IO ID 45"} 
[2026-08-05 08:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189596672001,"power":13678,"unknown_96":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8870895022546468864}} 
[2026-08-05 08:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":150922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:00:21] local.INFO: GPS data processed {"connection_id":150922,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:00:21] local.INFO: Acknowledgment sent {"connection_id":150922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:00:21] local.INFO: TCP Data received {"connection_id":150923,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfbffe30012d8eb540058b6220000501572d..."} 
[2026-08-05 08:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfbffe30012d8eb540058b6220000501572d..."} 
[2026-08-05 08:00:21] local.INFO: Processing buffer {"connection_id":150923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfbffe30012d8eb540058b6220000501572d..."} 
[2026-08-05 08:00:21] local.INFO: Packet analysis {"connection_id":150923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 08:00:21] local.INFO: Extracted packet for processing {"connection_id":150923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfbf"} 
[2026-08-05 08:00:21] local.INFO: GPS Element Parsed {"raw_longitude":764327232,"raw_latitude":93020704,"longitude_deg":76.4327232,"latitude_deg":9.3020704,"altitude":5,"angle":343,"satellites":45,"speed":25,"hex_longitude":"2d8eb540","hex_latitude":"058b6220","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189602304001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370314713076072448,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8160874344705144832,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785896894000,"timestamp_ms":1785896894000,"timestamp_seconds":1785896894,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfbffe30"} 
[2026-08-05 08:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:00: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-08-05 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 08:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:00: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-08-05 08:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189602304001,"66":27930,"19":206,"85":14080,"24":25,"16":370314713076072448,"45":-8160874344705144832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-05 08:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189602304001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:00:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-05 08:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370314713076072448,"km_value":370314713076072.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8160874344705144832,"description":"Unknown IO ID 45"} 
[2026-08-05 08:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189602304001,"power":27930,"unknown_19":206,"unknown_85":14080,"ignition":25,"odometer":null,"unknown_45":-8160874344705144832}} 
[2026-08-05 08:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":150923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:00:21] local.INFO: GPS data processed {"connection_id":150923,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:00:21] local.INFO: Acknowledgment sent {"connection_id":150923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:00:45] local.INFO: TCP Data received {"connection_id":148289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:45] local.INFO: Processing buffer {"connection_id":148289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:45] local.INFO: IMEI packet received {"connection_id":148289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":148289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:00:48] local.INFO: TCP Data received {"connection_id":148289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:48] local.INFO: Processing buffer {"connection_id":148289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:48] local.INFO: IMEI packet received {"connection_id":148289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":148289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:00:49] local.INFO: TCP Data received {"connection_id":148289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:49] local.INFO: Processing buffer {"connection_id":148289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:49] local.INFO: IMEI packet received {"connection_id":148289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":148289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:00:52] local.INFO: TCP Data received {"connection_id":150923,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc1a410012d8e1580058d3a90000501492d..."} 
[2026-08-05 08:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc1a410012d8e1580058d3a90000501492d..."} 
[2026-08-05 08:00:52] local.INFO: Processing buffer {"connection_id":150923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc1a410012d8e1580058d3a90000501492d..."} 
[2026-08-05 08:00:52] local.INFO: Packet analysis {"connection_id":150923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:00:52] local.INFO: Extracted packet for processing {"connection_id":150923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:00:52] local.INFO: GPS Element Parsed {"raw_longitude":764286336,"raw_latitude":93141648,"longitude_deg":76.4286336,"latitude_deg":9.3141648,"altitude":5,"angle":329,"satellites":45,"speed":59,"hex_longitude":"2d8e1580","hex_latitude":"058d3a90","is_valid_coordinates":true} 
[2026-08-05 08:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189630976001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370320953663553536,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8203658541133996032,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785897002000,"timestamp_ms":1785897002000,"timestamp_seconds":1785897002,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc1a410"} 
[2026-08-05 08:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 08:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189630976001,"66":27908,"212":206,"85":14080,"24":59,"16":370320953663553536,"45":-8203658541133996032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,85,24,16,45]} 
[2026-08-05 08:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189630976001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:00:52] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-05 08:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370320953663553536,"km_value":370320953663553.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8203658541133996032,"description":"Unknown IO ID 45"} 
[2026-08-05 08:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189630976001,"power":27908,"unknown_212":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-8203658541133996032}} 
[2026-08-05 08:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":150923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:00:52] local.INFO: GPS data processed {"connection_id":150923,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:00:52] local.INFO: Acknowledgment sent {"connection_id":150923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:00:54] local.INFO: TCP Data received {"connection_id":148289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:54] local.INFO: Processing buffer {"connection_id":148289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:00:54] local.INFO: IMEI packet received {"connection_id":148289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":148289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:00:55] local.INFO: TCP Data received {"connection_id":148289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc1cb20012d7ad1c005e3fd600006015923..."} 
[2026-08-05 08:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc1cb20012d7ad1c005e3fd600006015923..."} 
[2026-08-05 08:00:55] local.INFO: Processing buffer {"connection_id":148289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc1cb20012d7ad1c005e3fd600006015923..."} 
[2026-08-05 08:00:55] local.INFO: Packet analysis {"connection_id":148289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:00:55] local.INFO: Extracted packet for processing {"connection_id":148289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763023808,"raw_latitude":98827616,"longitude_deg":76.3023808,"latitude_deg":9.8827616,"altitude":6,"angle":345,"satellites":35,"speed":26,"hex_longitude":"2d7ad1c0","hex_latitude":"05e3fd60","is_valid_coordinates":true} 
[2026-08-05 08:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189632256001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114933419330240512,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852388042847662080,"note":"Value kept but may cause issues"} 
[2026-08-05 08:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785897012000,"timestamp_ms":1785897012000,"timestamp_seconds":1785897012,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc1cb20"} 
[2026-08-05 08:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 08:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189632256001,"66":13798,"97":206,"85":15104,"24":26,"16":114933419330240512,"45":8852388042847662080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189632256001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:00:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114933419330240512,"km_value":114933419330240.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852388042847662080,"description":"Unknown IO ID 45"} 
[2026-08-05 08:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189632256001,"power":13798,"unknown_97":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8852388042847662080}} 
[2026-08-05 08:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":148289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:00:55] local.INFO: GPS data processed {"connection_id":148289,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:00:55] local.INFO: Acknowledgment sent {"connection_id":148289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:01:16] local.INFO: TCP Data received {"connection_id":150924,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:01:16] local.INFO: Processing buffer {"connection_id":150924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:01:16] local.INFO: IMEI packet received {"connection_id":150924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":150924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:01:19] local.INFO: TCP Data received {"connection_id":150924,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:01:19] local.INFO: Processing buffer {"connection_id":150924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:01:19] local.INFO: IMEI packet received {"connection_id":150924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":150924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:01:20] local.INFO: TCP Data received {"connection_id":150924,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:01:20] local.INFO: Processing buffer {"connection_id":150924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:01:20] local.INFO: IMEI packet received {"connection_id":150924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":150924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:01:21] local.INFO: TCP Data received {"connection_id":150924,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc1bb80012d8e0400058d58f00005014a2d..."} 
[2026-08-05 08:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc1bb80012d8e0400058d58f00005014a2d..."} 
[2026-08-05 08:01:21] local.INFO: Processing buffer {"connection_id":150924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc1bb80012d8e0400058d58f00005014a2d..."} 
[2026-08-05 08:01:21] local.INFO: Packet analysis {"connection_id":150924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:01:21] local.INFO: Extracted packet for processing {"connection_id":150924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:01:21] local.INFO: GPS Element Parsed {"raw_longitude":764281856,"raw_latitude":93149424,"longitude_deg":76.4281856,"latitude_deg":9.3149424,"altitude":5,"angle":330,"satellites":45,"speed":59,"hex_longitude":"2d8e0400","hex_latitude":"058d58f0","is_valid_coordinates":true} 
[2026-08-05 08:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189632512001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370321387455250432,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8208513984480243712,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785897008000,"timestamp_ms":1785897008000,"timestamp_seconds":1785897008,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc1bb80"} 
[2026-08-05 08:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:01: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-08-05 08: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":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:01: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-08-05 08:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:01: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-08-05 08:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189632512001,"66":27908,"211":206,"85":14080,"24":59,"16":370321387455250432,"45":-8208513984480243712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-08-05 08:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189632512001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:01:21] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-05 08:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370321387455250432,"km_value":370321387455250.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8208513984480243712,"description":"Unknown IO ID 45"} 
[2026-08-05 08:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189632512001,"power":27908,"unknown_211":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-8208513984480243712}} 
[2026-08-05 08:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":150924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:01:21] local.INFO: GPS data processed {"connection_id":150924,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:01:21] local.INFO: Acknowledgment sent {"connection_id":150924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:01:22] local.INFO: TCP Data received {"connection_id":150924,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc1d2f0012d8df300058d77600005014c2e..."} 
[2026-08-05 08:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc1d2f0012d8df300058d77600005014c2e..."} 
[2026-08-05 08:01:22] local.INFO: Processing buffer {"connection_id":150924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc1d2f0012d8df300058d77600005014c2e..."} 
[2026-08-05 08:01:22] local.INFO: Packet analysis {"connection_id":150924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:01:22] local.INFO: Extracted packet for processing {"connection_id":150924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:01:22] local.INFO: GPS Element Parsed {"raw_longitude":764277504,"raw_latitude":93157216,"longitude_deg":76.4277504,"latitude_deg":9.3157216,"altitude":5,"angle":332,"satellites":46,"speed":58,"hex_longitude":"2d8df300","hex_latitude":"058d7760","is_valid_coordinates":true} 
[2026-08-05 08:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189634048001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370321816951980032,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8213439796570689536,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785897014000,"timestamp_ms":1785897014000,"timestamp_seconds":1785897014,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc1d2f0"} 
[2026-08-05 08:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189634048001,"66":27887,"211":206,"85":14080,"24":58,"16":370321816951980032,"45":-8213439796570689536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-08-05 08:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189634048001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:01:22] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-05 08:01:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370321816951980032,"km_value":370321816951980.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8213439796570689536,"description":"Unknown IO ID 45"} 
[2026-08-05 08:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189634048001,"power":27887,"unknown_211":206,"unknown_85":14080,"ignition":58,"odometer":null,"unknown_45":-8213439796570689536}} 
[2026-08-05 08:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":150924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:01:22] local.INFO: GPS data processed {"connection_id":150924,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:01:22] local.INFO: Acknowledgment sent {"connection_id":150924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:01:26] local.INFO: TCP Data received {"connection_id":148289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc1e678012d7acb4005e411b80005014725..."} 
[2026-08-05 08:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc1e678012d7acb4005e411b80005014725..."} 
[2026-08-05 08:01:26] local.INFO: Processing buffer {"connection_id":148289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc1e678012d7acb4005e411b80005014725..."} 
[2026-08-05 08:01:26] local.INFO: Packet analysis {"connection_id":148289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:01:26] local.INFO: Extracted packet for processing {"connection_id":148289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763022144,"raw_latitude":98832824,"longitude_deg":76.3022144,"latitude_deg":9.8832824,"altitude":5,"angle":327,"satellites":37,"speed":33,"hex_longitude":"2d7acb40","hex_latitude":"05e411b8","is_valid_coordinates":true} 
[2026-08-05 08:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189635072001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114933685618212864,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850065874292137984,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785897019000,"timestamp_ms":1785897019000,"timestamp_seconds":1785897019,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc1e678"} 
[2026-08-05 08:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:01: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-08-05 08:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-05 08:01: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-08-05 08:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189635072001,"66":13798,"97":206,"85":15104,"24":33,"16":114933685618212864,"45":8850065874292137984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189635072001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:01:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114933685618212864,"km_value":114933685618212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850065874292137984,"description":"Unknown IO ID 45"} 
[2026-08-05 08:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189635072001,"power":13798,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8850065874292137984}} 
[2026-08-05 08:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":148289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:01:26] local.INFO: GPS data processed {"connection_id":148289,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:01:26] local.INFO: Acknowledgment sent {"connection_id":148289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:01:52] local.INFO: TCP Data received {"connection_id":150924,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc1ea60012d8de240058d95f80004014b2d..."} 
[2026-08-05 08:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc1ea60012d8de240058d95f80004014b2d..."} 
[2026-08-05 08:01:52] local.INFO: Processing buffer {"connection_id":150924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc1ea60012d8de240058d95f80004014b2d..."} 
[2026-08-05 08:01:52] local.INFO: Packet analysis {"connection_id":150924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:01:52] local.INFO: Extracted packet for processing {"connection_id":150924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc1"} 
[2026-08-05 08:01:52] local.INFO: GPS Element Parsed {"raw_longitude":764273216,"raw_latitude":93165048,"longitude_deg":76.4273216,"latitude_deg":9.3165048,"altitude":4,"angle":331,"satellites":45,"speed":59,"hex_longitude":"2d8de240","hex_latitude":"058d95f8","is_valid_coordinates":true} 
[2026-08-05 08:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189635584001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370322250743676928,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8218224871172775936,"note":"Value kept but may cause issues"} 
[2026-08-05 08:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785897020000,"timestamp_ms":1785897020000,"timestamp_seconds":1785897020,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc1ea60"} 
[2026-08-05 08:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 08:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189635584001,"66":27930,"211":206,"85":14080,"24":59,"16":370322250743676928,"45":-8218224871172775936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-08-05 08:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189635584001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:01:52] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-05 08:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370322250743676928,"km_value":370322250743676.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8218224871172775936,"description":"Unknown IO ID 45"} 
[2026-08-05 08:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189635584001,"power":27930,"unknown_211":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-8218224871172775936}} 
[2026-08-05 08:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":150924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:01:52] local.INFO: GPS data processed {"connection_id":150924,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:01:52] local.INFO: Acknowledgment sent {"connection_id":150924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:01:59] local.INFO: TCP Data received {"connection_id":148505,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:01:59] local.INFO: Processing buffer {"connection_id":148505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:01:59] local.INFO: IMEI packet received {"connection_id":148505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":148505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:02:15] local.INFO: TCP Data received {"connection_id":148506,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:02:15] local.INFO: Processing buffer {"connection_id":148506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:02:15] local.INFO: IMEI packet received {"connection_id":148506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":148506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:02:16] local.INFO: TCP Data received {"connection_id":148506,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:02:16] local.INFO: Processing buffer {"connection_id":148506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:02:16] local.INFO: IMEI packet received {"connection_id":148506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":148506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:02:21] local.INFO: TCP Data received {"connection_id":148506,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:02:21] local.INFO: Processing buffer {"connection_id":148506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:02:21] local.INFO: IMEI packet received {"connection_id":148506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":148506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:02:21] local.INFO: TCP Data received {"connection_id":148506,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc2d8a8012d8cae80058dbd00000800fa2b..."} 
[2026-08-05 08:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc2d8a8012d8cae80058dbd00000800fa2b..."} 
[2026-08-05 08:02:21] local.INFO: Processing buffer {"connection_id":148506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc2d8a8012d8cae80058dbd00000800fa2b..."} 
[2026-08-05 08:02:21] local.INFO: Packet analysis {"connection_id":148506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc2"} 
[2026-08-05 08:02:21] local.INFO: Extracted packet for processing {"connection_id":148506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc2"} 
[2026-08-05 08:02:21] local.INFO: GPS Element Parsed {"raw_longitude":764194432,"raw_latitude":93175040,"longitude_deg":76.4194432,"latitude_deg":9.317504,"altitude":8,"angle":250,"satellites":43,"speed":59,"hex_longitude":"2d8cae80","hex_latitude":"058dbd00","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189650944001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370326601545547776,"note":"Value kept but may cause issues"} 
[2026-08-05 08:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8298867451994882048,"note":"Value kept but may cause issues"} 
[2026-08-05 08:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785897081000,"timestamp_ms":1785897081000,"timestamp_seconds":1785897081,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc2d8a8"} 
[2026-08-05 08:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:02: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-08-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:02: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-08-05 08:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189650944001,"66":27908,"213":206,"85":14080,"24":59,"16":370326601545547776,"45":-8298867451994882048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-05 08:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189650944001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:02:21] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-05 08:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370326601545547776,"km_value":370326601545547.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8298867451994882048,"description":"Unknown IO ID 45"} 
[2026-08-05 08:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189650944001,"power":27908,"unknown_213":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-8298867451994882048}} 
[2026-08-05 08:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":148506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:02:21] local.INFO: GPS data processed {"connection_id":148506,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:02:21] local.INFO: Acknowledgment sent {"connection_id":148506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:02:52] local.INFO: TCP Data received {"connection_id":148506,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc2f400012d8c8a00058daeb0000800f82d..."} 
[2026-08-05 08:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc2f400012d8c8a00058daeb0000800f82d..."} 
[2026-08-05 08:02:52] local.INFO: Processing buffer {"connection_id":148506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc2f400012d8c8a00058daeb0000800f82d..."} 
[2026-08-05 08:02:52] local.INFO: Packet analysis {"connection_id":148506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc2"} 
[2026-08-05 08:02:52] local.INFO: Extracted packet for processing {"connection_id":148506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc2"} 
[2026-08-05 08:02:52] local.INFO: GPS Element Parsed {"raw_longitude":764185088,"raw_latitude":93171376,"longitude_deg":76.4185088,"latitude_deg":9.3171376,"altitude":8,"angle":248,"satellites":45,"speed":49,"hex_longitude":"2d8c8a00","hex_latitude":"058daeb0","is_valid_coordinates":true} 
[2026-08-05 08:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189652736001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370327082581884928,"note":"Value kept but may cause issues"} 
[2026-08-05 08:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8309563501110820864,"note":"Value kept but may cause issues"} 
[2026-08-05 08:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785897088000,"timestamp_ms":1785897088000,"timestamp_seconds":1785897088,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc2f400"} 
[2026-08-05 08:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189652736001,"66":27930,"14":206,"85":14080,"24":49,"16":370327082581884928,"45":-8309563501110820864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-05 08:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189652736001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:02:52] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-05 08:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370327082581884928,"km_value":370327082581884.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8309563501110820864,"description":"Unknown IO ID 45"} 
[2026-08-05 08:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189652736001,"power":27930,"unknown_14":206,"unknown_85":14080,"ignition":49,"odometer":null,"unknown_45":-8309563501110820864}} 
[2026-08-05 08:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":148506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:02:52] local.INFO: GPS data processed {"connection_id":148506,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:02:52] local.INFO: Acknowledgment sent {"connection_id":148506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:03:15] local.INFO: TCP Data received {"connection_id":149513,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:03:15] local.INFO: Processing buffer {"connection_id":149513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:03:15] local.INFO: IMEI packet received {"connection_id":149513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":149513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:03:19] local.INFO: TCP Data received {"connection_id":149513,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:03:19] local.INFO: Processing buffer {"connection_id":149513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:03:19] local.INFO: IMEI packet received {"connection_id":149513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":149513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:03:20] local.INFO: TCP Data received {"connection_id":149513,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:03:20] local.INFO: Processing buffer {"connection_id":149513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:03:20] local.INFO: IMEI packet received {"connection_id":149513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":149513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:03:21] local.INFO: TCP Data received {"connection_id":149513,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc31728012d8c6740058da220000801002c..."} 
[2026-08-05 08:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc31728012d8c6740058da220000801002c..."} 
[2026-08-05 08:03:21] local.INFO: Processing buffer {"connection_id":149513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc31728012d8c6740058da220000801002c..."} 
[2026-08-05 08:03:21] local.INFO: Packet analysis {"connection_id":149513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc3"} 
[2026-08-05 08:03:21] local.INFO: Extracted packet for processing {"connection_id":149513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc3"} 
[2026-08-05 08:03:21] local.INFO: GPS Element Parsed {"raw_longitude":764176192,"raw_latitude":93168160,"longitude_deg":76.4176192,"latitude_deg":9.316816,"altitude":8,"angle":256,"satellites":44,"speed":41,"hex_longitude":"2d8c6740","hex_latitude":"058da220","is_valid_coordinates":true} 
[2026-08-05 08:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189654528001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370327537848418304,"note":"Value kept but may cause issues"} 
[2026-08-05 08:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8319837337761697792,"note":"Value kept but may cause issues"} 
[2026-08-05 08:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785897097000,"timestamp_ms":1785897097000,"timestamp_seconds":1785897097,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc31728"} 
[2026-08-05 08:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:03: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-08-05 08:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 08:03: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-08-05 08:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:03: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-08-05 08:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189654528001,"66":27800,"14":206,"85":14080,"24":41,"16":370327537848418304,"45":-8319837337761697792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-05 08:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189654528001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:03:21] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-05 08:03:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370327537848418304,"km_value":370327537848418.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8319837337761697792,"description":"Unknown IO ID 45"} 
[2026-08-05 08:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189654528001,"power":27800,"unknown_14":206,"unknown_85":14080,"ignition":41,"odometer":null,"unknown_45":-8319837337761697792}} 
[2026-08-05 08:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":149513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:03:21] local.INFO: GPS data processed {"connection_id":149513,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:03:21] local.INFO: Acknowledgment sent {"connection_id":149513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:03:52] local.INFO: TCP Data received {"connection_id":149513,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc33a50012d8c4200058d96c8000700f92b..."} 
[2026-08-05 08:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc33a50012d8c4200058d96c8000700f92b..."} 
[2026-08-05 08:03:52] local.INFO: Processing buffer {"connection_id":149513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc33a50012d8c4200058d96c8000700f92b..."} 
[2026-08-05 08:03:52] local.INFO: Packet analysis {"connection_id":149513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc3"} 
[2026-08-05 08:03:52] local.INFO: Extracted packet for processing {"connection_id":149513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc3"} 
[2026-08-05 08:03:52] local.INFO: GPS Element Parsed {"raw_longitude":764166656,"raw_latitude":93165256,"longitude_deg":76.4166656,"latitude_deg":9.3165256,"altitude":7,"angle":249,"satellites":43,"speed":46,"hex_longitude":"2d8c4200","hex_latitude":"058d96c8","is_valid_coordinates":true} 
[2026-08-05 08:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189656832001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370328014589788160,"note":"Value kept but may cause issues"} 
[2026-08-05 08:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8329618593203216384,"note":"Value kept but may cause issues"} 
[2026-08-05 08:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785897106000,"timestamp_ms":1785897106000,"timestamp_seconds":1785897106,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc33a50"} 
[2026-08-05 08:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 08:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189656832001,"66":27919,"14":206,"85":14080,"24":46,"16":370328014589788160,"45":-8329618593203216384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-05 08:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189656832001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:03:52] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-05 08:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370328014589788160,"km_value":370328014589788.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8329618593203216384,"description":"Unknown IO ID 45"} 
[2026-08-05 08:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189656832001,"power":27919,"unknown_14":206,"unknown_85":14080,"ignition":46,"odometer":null,"unknown_45":-8329618593203216384}} 
[2026-08-05 08:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":149513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:03:52] local.INFO: GPS data processed {"connection_id":149513,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:03:52] local.INFO: Acknowledgment sent {"connection_id":149513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:04:21] local.INFO: TCP Data received {"connection_id":150926,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:04:21] local.INFO: Processing buffer {"connection_id":150926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:04:21] local.INFO: IMEI packet received {"connection_id":150926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":150926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:04:24] local.INFO: TCP Data received {"connection_id":150926,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:04:24] local.INFO: Processing buffer {"connection_id":150926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:04:24] local.INFO: IMEI packet received {"connection_id":150926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":150926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:04:25] local.INFO: TCP Data received {"connection_id":150926,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc499e0012d8aab40058d9c80000601122d..."} 
[2026-08-05 08:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc499e0012d8aab40058d9c80000601122d..."} 
[2026-08-05 08:04:25] local.INFO: Processing buffer {"connection_id":150926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc499e0012d8aab40058d9c80000601122d..."} 
[2026-08-05 08:04:25] local.INFO: Packet analysis {"connection_id":150926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc4"} 
[2026-08-05 08:04:25] local.INFO: Extracted packet for processing {"connection_id":150926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc4"} 
[2026-08-05 08:04:25] local.INFO: GPS Element Parsed {"raw_longitude":764062528,"raw_latitude":93166720,"longitude_deg":76.4062528,"latitude_deg":9.316672,"altitude":6,"angle":274,"satellites":45,"speed":40,"hex_longitude":"2d8aab40","hex_latitude":"058d9c80","is_valid_coordinates":true} 
[2026-08-05 08:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189680128001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370333035406557184,"note":"Value kept but may cause issues"} 
[2026-08-05 08:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8444319646213435392,"note":"Value kept but may cause issues"} 
[2026-08-05 08:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785897196000,"timestamp_ms":1785897196000,"timestamp_seconds":1785897196,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc499e0"} 
[2026-08-05 08:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 08:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189680128001,"66":27865,"15":206,"85":14080,"24":40,"16":370333035406557184,"45":-8444319646213435392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-05 08:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189680128001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:04:25] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-05 08:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370333035406557184,"km_value":370333035406557.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8444319646213435392,"description":"Unknown IO ID 45"} 
[2026-08-05 08:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189680128001,"power":27865,"unknown_15":206,"unknown_85":14080,"ignition":40,"odometer":null,"unknown_45":-8444319646213435392}} 
[2026-08-05 08:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":150926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:04:25] local.INFO: GPS data processed {"connection_id":150926,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:04:25] local.INFO: Acknowledgment sent {"connection_id":150926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:04:26] local.INFO: TCP Data received {"connection_id":150926,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc4bd08012d8a86c0058d9e500006010d2c..."} 
[2026-08-05 08:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc4bd08012d8a86c0058d9e500006010d2c..."} 
[2026-08-05 08:04:26] local.INFO: Processing buffer {"connection_id":150926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc4bd08012d8a86c0058d9e500006010d2c..."} 
[2026-08-05 08:04:26] local.INFO: Packet analysis {"connection_id":150926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc4"} 
[2026-08-05 08:04:26] local.INFO: Extracted packet for processing {"connection_id":150926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc4"} 
[2026-08-05 08:04:26] local.INFO: GPS Element Parsed {"raw_longitude":764053184,"raw_latitude":93167184,"longitude_deg":76.4053184,"latitude_deg":9.3167184,"altitude":6,"angle":269,"satellites":44,"speed":45,"hex_longitude":"2d8a86c0","hex_latitude":"058d9e50","is_valid_coordinates":true} 
[2026-08-05 08:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189682176001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370333482083155968,"note":"Value kept but may cause issues"} 
[2026-08-05 08:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8454593482863116288,"note":"Value kept but may cause issues"} 
[2026-08-05 08:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785897205000,"timestamp_ms":1785897205000,"timestamp_seconds":1785897205,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc4bd08"} 
[2026-08-05 08:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189682176001,"66":27484,"15":206,"85":14080,"24":45,"16":370333482083155968,"45":-8454593482863116288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-05 08:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189682176001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:04:26] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-05 08:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370333482083155968,"km_value":370333482083155.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8454593482863116288,"description":"Unknown IO ID 45"} 
[2026-08-05 08:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189682176001,"power":27484,"unknown_15":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8454593482863116288}} 
[2026-08-05 08:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":150926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:04:26] local.INFO: GPS data processed {"connection_id":150926,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:04:26] local.INFO: Acknowledgment sent {"connection_id":150926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:04:56] local.INFO: TCP Data received {"connection_id":150926,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc4dc48012d8a6380058d9d080007010b2c..."} 
[2026-08-05 08:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc4dc48012d8a6380058d9d080007010b2c..."} 
[2026-08-05 08:04:56] local.INFO: Processing buffer {"connection_id":150926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc4dc48012d8a6380058d9d080007010b2c..."} 
[2026-08-05 08:04:56] local.INFO: Packet analysis {"connection_id":150926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc4"} 
[2026-08-05 08:04:56] local.INFO: Extracted packet for processing {"connection_id":150926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc4"} 
[2026-08-05 08:04:56] local.INFO: GPS Element Parsed {"raw_longitude":764044160,"raw_latitude":93166856,"longitude_deg":76.404416,"latitude_deg":9.3166856,"altitude":7,"angle":267,"satellites":44,"speed":34,"hex_longitude":"2d8a6380","hex_latitude":"058d9d08","is_valid_coordinates":true} 
[2026-08-05 08:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189684480001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370333911579885568,"note":"Value kept but may cause issues"} 
[2026-08-05 08:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8464867319512936448,"note":"Value kept but may cause issues"} 
[2026-08-05 08:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785897213000,"timestamp_ms":1785897213000,"timestamp_seconds":1785897213,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc4dc48"} 
[2026-08-05 08:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 08:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":150926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":150926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":150926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189684480001,"66":27919,"15":206,"85":14080,"24":34,"16":370333911579885568,"45":-8464867319512936448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-05 08:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189684480001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:04:56] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-05 08:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370333911579885568,"km_value":370333911579885.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8464867319512936448,"description":"Unknown IO ID 45"} 
[2026-08-05 08:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189684480001,"power":27919,"unknown_15":206,"unknown_85":14080,"ignition":34,"odometer":null,"unknown_45":-8464867319512936448}} 
[2026-08-05 08:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":150926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:04:56] local.INFO: GPS data processed {"connection_id":150926,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:04:56] local.INFO: Acknowledgment sent {"connection_id":150926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:05:16] local.INFO: TCP Data received {"connection_id":149514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:05:16] local.INFO: Processing buffer {"connection_id":149514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:05:16] local.INFO: IMEI packet received {"connection_id":149514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":149514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:05:16] local.INFO: TCP Data received {"connection_id":149514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:05:16] local.INFO: Processing buffer {"connection_id":149514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:05:16] local.INFO: IMEI packet received {"connection_id":149514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":149514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:05:17] local.INFO: TCP Data received {"connection_id":149514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:05:17] local.INFO: Processing buffer {"connection_id":149514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:05:17] local.INFO: IMEI packet received {"connection_id":149514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":149514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:05:18] local.INFO: TCP Data received {"connection_id":149514,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc50740012d8a3f80058d9b080007010c2c..."} 
[2026-08-05 08:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc50740012d8a3f80058d9b080007010c2c..."} 
[2026-08-05 08:05:18] local.INFO: Processing buffer {"connection_id":149514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc50740012d8a3f80058d9b080007010c2c..."} 
[2026-08-05 08:05:18] local.INFO: Packet analysis {"connection_id":149514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc5"} 
[2026-08-05 08:05:18] local.INFO: Extracted packet for processing {"connection_id":149514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc5"} 
[2026-08-05 08:05:18] local.INFO: GPS Element Parsed {"raw_longitude":764034944,"raw_latitude":93166344,"longitude_deg":76.4034944,"latitude_deg":9.3166344,"altitude":7,"angle":268,"satellites":44,"speed":39,"hex_longitude":"2d8a3f80","hex_latitude":"058d9b08","is_valid_coordinates":true} 
[2026-08-05 08:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189686528001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370334353961517056,"note":"Value kept but may cause issues"} 
[2026-08-05 08:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8474789312442071040,"note":"Value kept but may cause issues"} 
[2026-08-05 08:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785897224000,"timestamp_ms":1785897224000,"timestamp_seconds":1785897224,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc50740"} 
[2026-08-05 08:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 08:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189686528001,"66":27767,"15":206,"85":14080,"24":39,"16":370334353961517056,"45":-8474789312442071040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-05 08:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189686528001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:05:18] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-05 08:05:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370334353961517056,"km_value":370334353961517.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8474789312442071040,"description":"Unknown IO ID 45"} 
[2026-08-05 08:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189686528001,"power":27767,"unknown_15":206,"unknown_85":14080,"ignition":39,"odometer":null,"unknown_45":-8474789312442071040}} 
[2026-08-05 08:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":149514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:05:18] local.INFO: GPS data processed {"connection_id":149514,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:05:18] local.INFO: Acknowledgment sent {"connection_id":149514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:05:50] local.INFO: TCP Data received {"connection_id":149514,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc52a68012d8a1c00058d98e8000701092c..."} 
[2026-08-05 08:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc52a68012d8a1c00058d98e8000701092c..."} 
[2026-08-05 08:05:50] local.INFO: Processing buffer {"connection_id":149514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc52a68012d8a1c00058d98e8000701092c..."} 
[2026-08-05 08:05:50] local.INFO: Packet analysis {"connection_id":149514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc5"} 
[2026-08-05 08:05:50] local.INFO: Extracted packet for processing {"connection_id":149514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc5"} 
[2026-08-05 08:05:50] local.INFO: GPS Element Parsed {"raw_longitude":764025856,"raw_latitude":93165800,"longitude_deg":76.4025856,"latitude_deg":9.31658,"altitude":7,"angle":265,"satellites":44,"speed":35,"hex_longitude":"2d8a1c00","hex_latitude":"058d98e8","is_valid_coordinates":true} 
[2026-08-05 08:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189689344001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370334792048181248,"note":"Value kept but may cause issues"} 
[2026-08-05 08:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8484922411603785728,"note":"Value kept but may cause issues"} 
[2026-08-05 08:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785897233000,"timestamp_ms":1785897233000,"timestamp_seconds":1785897233,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc52a68"} 
[2026-08-05 08:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 08:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:05: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-08-05 08:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189689344001,"66":27821,"15":206,"85":14080,"24":35,"16":370334792048181248,"45":-8484922411603785728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-05 08:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189689344001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:05:50] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-05 08:05:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370334792048181248,"km_value":370334792048181.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8484922411603785728,"description":"Unknown IO ID 45"} 
[2026-08-05 08:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189689344001,"power":27821,"unknown_15":206,"unknown_85":14080,"ignition":35,"odometer":null,"unknown_45":-8484922411603785728}} 
[2026-08-05 08:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":149514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:05:50] local.INFO: GPS data processed {"connection_id":149514,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:05:50] local.INFO: Acknowledgment sent {"connection_id":149514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:06:15] local.INFO: TCP Data received {"connection_id":150928,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:06:15] local.INFO: Processing buffer {"connection_id":150928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:06:15] local.INFO: IMEI packet received {"connection_id":150928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":150928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:06:16] local.INFO: TCP Data received {"connection_id":150928,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:06:16] local.INFO: Processing buffer {"connection_id":150928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:06:16] local.INFO: IMEI packet received {"connection_id":150928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":150928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:06:21] local.INFO: TCP Data received {"connection_id":150928,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:06:21] local.INFO: Processing buffer {"connection_id":150928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:06:21] local.INFO: IMEI packet received {"connection_id":150928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":150928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:06:21] local.INFO: TCP Data received {"connection_id":150928,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc63fc0012d897dc0058d87b8000601062c..."} 
[2026-08-05 08:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc63fc0012d897dc0058d87b8000601062c..."} 
[2026-08-05 08:06:21] local.INFO: Processing buffer {"connection_id":150928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc63fc0012d897dc0058d87b8000601062c..."} 
[2026-08-05 08:06:21] local.INFO: Packet analysis {"connection_id":150928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc6"} 
[2026-08-05 08:06:21] local.INFO: Extracted packet for processing {"connection_id":150928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc6"} 
[2026-08-05 08:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763985344,"raw_latitude":93161400,"longitude_deg":76.3985344,"latitude_deg":9.31614,"altitude":6,"angle":262,"satellites":44,"speed":41,"hex_longitude":"2d897dc0","hex_latitude":"058d87b8","is_valid_coordinates":true} 
[2026-08-05 08:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189705984001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370336784913006592,"note":"Value kept but may cause issues"} 
[2026-08-05 08:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8528691770483283968,"note":"Value kept but may cause issues"} 
[2026-08-05 08:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785897304000,"timestamp_ms":1785897304000,"timestamp_seconds":1785897304,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc63fc0"} 
[2026-08-05 08:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:06: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-08-05 08:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189705984001,"66":27974,"15":206,"85":14080,"24":41,"16":370336784913006592,"45":-8528691770483283968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-05 08:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189705984001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:06:21] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-05 08:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370336784913006592,"km_value":370336784913006.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8528691770483283968,"description":"Unknown IO ID 45"} 
[2026-08-05 08:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189705984001,"power":27974,"unknown_15":206,"unknown_85":14080,"ignition":41,"odometer":null,"unknown_45":-8528691770483283968}} 
[2026-08-05 08:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":150928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:06:22] local.INFO: GPS data processed {"connection_id":150928,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:06:22] local.INFO: Acknowledgment sent {"connection_id":150928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:06:53] local.INFO: TCP Data received {"connection_id":150928,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc65f00012d895a40058d8370000701072c..."} 
[2026-08-05 08:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc65f00012d895a40058d8370000701072c..."} 
[2026-08-05 08:06:53] local.INFO: Processing buffer {"connection_id":150928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc65f00012d895a40058d8370000701072c..."} 
[2026-08-05 08:06:53] local.INFO: Packet analysis {"connection_id":150928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc6"} 
[2026-08-05 08:06:53] local.INFO: Extracted packet for processing {"connection_id":150928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc6"} 
[2026-08-05 08:06:53] local.INFO: GPS Element Parsed {"raw_longitude":763976256,"raw_latitude":93160304,"longitude_deg":76.3976256,"latitude_deg":9.3160304,"altitude":7,"angle":263,"satellites":44,"speed":48,"hex_longitude":"2d895a40","hex_latitude":"058d8370","is_valid_coordinates":true} 
[2026-08-05 08:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189709824001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370337218704703488,"note":"Value kept but may cause issues"} 
[2026-08-05 08:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8539458188342740992,"note":"Value kept but may cause issues"} 
[2026-08-05 08:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785897312000,"timestamp_ms":1785897312000,"timestamp_seconds":1785897312,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc65f00"} 
[2026-08-05 08:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 08:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189709824001,"66":27908,"15":206,"85":14080,"24":48,"16":370337218704703488,"45":-8539458188342740992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-05 08:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189709824001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:06:53] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-05 08:06:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-05 08:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370337218704703488,"km_value":370337218704703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8539458188342740992,"description":"Unknown IO ID 45"} 
[2026-08-05 08:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189709824001,"power":27908,"unknown_15":206,"unknown_85":14080,"ignition":48,"odometer":null,"unknown_45":-8539458188342740992}} 
[2026-08-05 08:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":150928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:06:53] local.INFO: GPS data processed {"connection_id":150928,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:06:53] local.INFO: Acknowledgment sent {"connection_id":150928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:07:14] local.INFO: TCP Data received {"connection_id":148292,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:07:14] local.INFO: Processing buffer {"connection_id":148292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:07:14] local.INFO: IMEI packet received {"connection_id":148292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":148292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:07:15] local.INFO: TCP Data received {"connection_id":148292,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc7e988012d7a600005e46990001900d928..."} 
[2026-08-05 08:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc7e988012d7a600005e46990001900d928..."} 
[2026-08-05 08:07:15] local.INFO: Processing buffer {"connection_id":148292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc7e988012d7a600005e46990001900d928..."} 
[2026-08-05 08:07:15] local.INFO: Packet analysis {"connection_id":148292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:07:15] local.INFO: Extracted packet for processing {"connection_id":148292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:07:15] local.INFO: GPS Element Parsed {"raw_longitude":762994688,"raw_latitude":98855312,"longitude_deg":76.2994688,"latitude_deg":9.8855312,"altitude":25,"angle":217,"satellites":40,"speed":7,"hex_longitude":"2d7a6000","hex_latitude":"05e46990","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189737472001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114938276938252288,"note":"Value kept but may cause issues"} 
[2026-08-05 08:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818118464442611712,"note":"Value kept but may cause issues"} 
[2026-08-05 08:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785897413000,"timestamp_ms":1785897413000,"timestamp_seconds":1785897413,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc7e988"} 
[2026-08-05 08:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 08:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189737472001,"66":13243,"95":206,"87":13824,"24":7,"16":114938276938252288,"45":8818118464442611712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-05 08:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189737472001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:07:15] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-05 08:07:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 08:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114938276938252288,"km_value":114938276938252.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818118464442611712,"description":"Unknown IO ID 45"} 
[2026-08-05 08:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189737472001,"power":13243,"unknown_95":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8818118464442611712}} 
[2026-08-05 08:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":148292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:07:15] local.INFO: GPS data processed {"connection_id":148292,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:07:15] local.INFO: Acknowledgment sent {"connection_id":148292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:07:21] local.INFO: TCP Data received {"connection_id":148293,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:07:21] local.INFO: Processing buffer {"connection_id":148293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:07:21] local.INFO: IMEI packet received {"connection_id":148293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":148293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:07:24] local.INFO: TCP Data received {"connection_id":148293,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:07:24] local.INFO: Processing buffer {"connection_id":148293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:07:24] local.INFO: IMEI packet received {"connection_id":148293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":148293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:07:24] local.INFO: TCP Data received {"connection_id":148293,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc783f8012d87dc80058d8bc0000801352c..."} 
[2026-08-05 08:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc783f8012d87dc80058d8bc0000801352c..."} 
[2026-08-05 08:07:24] local.INFO: Processing buffer {"connection_id":148293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc783f8012d87dc80058d8bc0000801352c..."} 
[2026-08-05 08:07:24] local.INFO: Packet analysis {"connection_id":148293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:07:24] local.INFO: Extracted packet for processing {"connection_id":148293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:07:24] local.INFO: GPS Element Parsed {"raw_longitude":763878528,"raw_latitude":93162432,"longitude_deg":76.3878528,"latitude_deg":9.3162432,"altitude":8,"angle":309,"satellites":44,"speed":46,"hex_longitude":"2d87dc80","hex_latitude":"058d8bc0","is_valid_coordinates":true} 
[2026-08-05 08:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189729280001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370342037658009600,"note":"Value kept but may cause issues"} 
[2026-08-05 08:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8649092691772665856,"note":"Value kept but may cause issues"} 
[2026-08-05 08:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785897387000,"timestamp_ms":1785897387000,"timestamp_seconds":1785897387,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc783f8"} 
[2026-08-05 08:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 08:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189729280001,"66":27919,"135":206,"85":14592,"24":46,"16":370342037658009600,"45":-8649092691772665856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-08-05 08:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189729280001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:07:24] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-05 08:07:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370342037658009600,"km_value":370342037658009.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8649092691772665856,"description":"Unknown IO ID 45"} 
[2026-08-05 08:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189729280001,"power":27919,"unknown_135":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-8649092691772665856}} 
[2026-08-05 08:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":148293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:07:24] local.INFO: GPS data processed {"connection_id":148293,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:07:24] local.INFO: Acknowledgment sent {"connection_id":148293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:07:49] local.INFO: TCP Data received {"connection_id":149515,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:07:49] local.INFO: Processing buffer {"connection_id":149515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:07:49] local.INFO: IMEI packet received {"connection_id":149515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":149515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:07:50] local.INFO: TCP Data received {"connection_id":149515,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 08:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149515,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 08:07:50] local.INFO: Processing buffer {"connection_id":149515,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 08:07:50] local.INFO: IMEI packet received {"connection_id":149515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":149515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:07:53] local.INFO: TCP Data received {"connection_id":149515,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc7ed70012d7a5f0005e46910001900ea29..."} 
[2026-08-05 08:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc7ed70012d7a5f0005e46910001900ea29..."} 
[2026-08-05 08:07:53] local.INFO: Processing buffer {"connection_id":149515,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fcf..."} 
[2026-08-05 08:07:53] local.INFO: IMEI packet received {"connection_id":149515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":149515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:07:55] local.INFO: TCP Data received {"connection_id":148293,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc7a338012d87c100058da168000801332e..."} 
[2026-08-05 08:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc7a338012d87c100058da168000801332e..."} 
[2026-08-05 08:07:55] local.INFO: Processing buffer {"connection_id":148293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc7a338012d87c100058da168000801332e..."} 
[2026-08-05 08:07:55] local.INFO: Packet analysis {"connection_id":148293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:07:55] local.INFO: Extracted packet for processing {"connection_id":148293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:07:55] local.INFO: GPS Element Parsed {"raw_longitude":763871488,"raw_latitude":93167976,"longitude_deg":76.3871488,"latitude_deg":9.3167976,"altitude":8,"angle":307,"satellites":46,"speed":39,"hex_longitude":"2d87c100","hex_latitude":"058da168","is_valid_coordinates":true} 
[2026-08-05 08:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189731072001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370342467154739200,"note":"Value kept but may cause issues"} 
[2026-08-05 08:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8656903622374998016,"note":"Value kept but may cause issues"} 
[2026-08-05 08:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785897395000,"timestamp_ms":1785897395000,"timestamp_seconds":1785897395,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc7a338"} 
[2026-08-05 08:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 08:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:07: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-08-05 08:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189731072001,"66":27887,"135":206,"85":14592,"24":39,"16":370342467154739200,"45":-8656903622374998016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-08-05 08:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189731072001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:07:55] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-05 08:07:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370342467154739200,"km_value":370342467154739.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8656903622374998016,"description":"Unknown IO ID 45"} 
[2026-08-05 08:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189731072001,"power":27887,"unknown_135":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8656903622374998016}} 
[2026-08-05 08:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":148293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:07:55] local.INFO: GPS data processed {"connection_id":148293,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:07:55] local.INFO: Acknowledgment sent {"connection_id":148293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:08:15] local.INFO: TCP Data received {"connection_id":150929,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:08:15] local.INFO: Processing buffer {"connection_id":150929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:08:15] local.INFO: IMEI packet received {"connection_id":150929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":150929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:08:17] local.INFO: TCP Data received {"connection_id":149515,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc7f158012d7a5e4005e46888001900f629..."} 
[2026-08-05 08:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc7f158012d7a5e4005e46888001900f629..."} 
[2026-08-05 08:08:17] local.INFO: Processing buffer {"connection_id":149515,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fcfc7ed70012d7a5f0005e46910001900ea29..."} 
[2026-08-05 08:08:17] local.INFO: Packet analysis {"connection_id":149515,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:08:17] local.INFO: Extracted packet for processing {"connection_id":149515,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:08:17] local.INFO: GPS Element Parsed {"raw_longitude":762994432,"raw_latitude":98855184,"longitude_deg":76.2994432,"latitude_deg":9.8855184,"altitude":25,"angle":234,"satellites":41,"speed":10,"hex_longitude":"2d7a5f00","hex_latitude":"05e46910","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189737728001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114938289823154176,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818048095698391040,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785897414000,"timestamp_ms":1785897414000,"timestamp_seconds":1785897414,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc7ed70"} 
[2026-08-05 08:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 08:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189737728001,"66":13243,"95":206,"87":13824,"24":10,"16":114938289823154176,"45":8818048095698391040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-05 08:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189737728001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:08:17] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-05 08:08:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 08:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114938289823154176,"km_value":114938289823154.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818048095698391040,"description":"Unknown IO ID 45"} 
[2026-08-05 08:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189737728001,"power":13243,"unknown_95":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8818048095698391040}} 
[2026-08-05 08:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":149515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:08:17] local.INFO: GPS data processed {"connection_id":149515,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:08:17] local.INFO: Acknowledgment sent {"connection_id":149515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:08:17] local.INFO: Packet analysis {"connection_id":149515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:08:17] local.INFO: Extracted packet for processing {"connection_id":149515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:08:17] local.INFO: GPS Element Parsed {"raw_longitude":762994240,"raw_latitude":98855048,"longitude_deg":76.299424,"latitude_deg":9.8855048,"altitude":25,"angle":246,"satellites":41,"speed":13,"hex_longitude":"2d7a5e40","hex_latitude":"05e46888","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189737984001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114938302708056064,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817766620721647616,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785897415000,"timestamp_ms":1785897415000,"timestamp_seconds":1785897415,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc7f158"} 
[2026-08-05 08:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 08:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189737984001,"66":13656,"95":206,"87":13824,"24":13,"16":114938302708056064,"45":8817766620721647616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-05 08:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189737984001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:08:17] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-05 08:08:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 08:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114938302708056064,"km_value":114938302708056.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817766620721647616,"description":"Unknown IO ID 45"} 
[2026-08-05 08:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189737984001,"power":13656,"unknown_95":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8817766620721647616}} 
[2026-08-05 08:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":149515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:08:17] local.INFO: GPS data processed {"connection_id":149515,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:08:17] local.INFO: Acknowledgment sent {"connection_id":149515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:08:18] local.INFO: TCP Data received {"connection_id":149515,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc82808012d7a444005e45ff00015010229..."} 
[2026-08-05 08:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc82808012d7a444005e45ff00015010229..."} 
[2026-08-05 08:08:18] local.INFO: Processing buffer {"connection_id":149515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc82808012d7a444005e45ff00015010229..."} 
[2026-08-05 08:08:18] local.INFO: Packet analysis {"connection_id":149515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc8"} 
[2026-08-05 08:08:18] local.INFO: Extracted packet for processing {"connection_id":149515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc8"} 
[2026-08-05 08:08:18] local.INFO: GPS Element Parsed {"raw_longitude":762987584,"raw_latitude":98852848,"longitude_deg":76.2987584,"latitude_deg":9.8852848,"altitude":21,"angle":258,"satellites":41,"speed":15,"hex_longitude":"2d7a4440","hex_latitude":"05e45ff0","is_valid_coordinates":true} 
[2026-08-05 08:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189738240001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114938637715505152,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817555514489079808,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785897429000,"timestamp_ms":1785897429000,"timestamp_seconds":1785897429,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc82808"} 
[2026-08-05 08:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 08:08: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-08-05 08:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189738240001,"66":13602,"95":206,"87":13824,"24":15,"16":114938637715505152,"45":8817555514489079808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-05 08:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189738240001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:08:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-05 08:08:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 08:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114938637715505152,"km_value":114938637715505.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817555514489079808,"description":"Unknown IO ID 45"} 
[2026-08-05 08:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189738240001,"power":13602,"unknown_95":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8817555514489079808}} 
[2026-08-05 08:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":149515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:08:18] local.INFO: GPS data processed {"connection_id":149515,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:08:18] local.INFO: Acknowledgment sent {"connection_id":149515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:08:21] local.INFO: TCP Data received {"connection_id":150929,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:08:21] local.INFO: Processing buffer {"connection_id":150929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:08:21] local.INFO: IMEI packet received {"connection_id":150929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":150929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:08:22] local.INFO: TCP Data received {"connection_id":150929,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc7ca48012d87a3c0058db8c8000701352e..."} 
[2026-08-05 08:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc7ca48012d87a3c0058db8c8000701352e..."} 
[2026-08-05 08:08:22] local.INFO: Processing buffer {"connection_id":150929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc7ca48012d87a3c0058db8c8000701352e..."} 
[2026-08-05 08:08:22] local.INFO: Packet analysis {"connection_id":150929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:08:22] local.INFO: Extracted packet for processing {"connection_id":150929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:08:22] local.INFO: GPS Element Parsed {"raw_longitude":763864000,"raw_latitude":93173960,"longitude_deg":76.3864,"latitude_deg":9.317396,"altitude":7,"angle":309,"satellites":46,"speed":40,"hex_longitude":"2d87a3c0","hex_latitude":"058db8c8","is_valid_coordinates":true} 
[2026-08-05 08:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189733120001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370342931011207168,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8664644184233121792,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785897405000,"timestamp_ms":1785897405000,"timestamp_seconds":1785897405,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc7ca48"} 
[2026-08-05 08:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 08:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189733120001,"66":27821,"87":206,"85":14592,"24":40,"16":370342931011207168,"45":-8664644184233121792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-05 08:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189733120001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:08:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-05 08:08:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370342931011207168,"km_value":370342931011207.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8664644184233121792,"description":"Unknown IO ID 45"} 
[2026-08-05 08:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189733120001,"power":27821,"unknown_87":206,"unknown_85":14592,"ignition":40,"odometer":null,"unknown_45":-8664644184233121792}} 
[2026-08-05 08:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":150929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:08:22] local.INFO: GPS data processed {"connection_id":150929,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:08:22] local.INFO: Acknowledgment sent {"connection_id":150929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:08:42] local.INFO: TCP Data received {"connection_id":150930,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:08:42] local.INFO: Processing buffer {"connection_id":150930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:08:42] local.INFO: IMEI packet received {"connection_id":150930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":150930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:08:47] local.INFO: TCP Data received {"connection_id":150930,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:08:47] local.INFO: Processing buffer {"connection_id":150930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:08:47] local.INFO: IMEI packet received {"connection_id":150930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":150930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:08:47] local.INFO: TCP Data received {"connection_id":150930,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:08:47] local.INFO: Processing buffer {"connection_id":150930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:08:47] local.INFO: IMEI packet received {"connection_id":150930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":150930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:08:48] local.INFO: TCP Data received {"connection_id":150930,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc87240012d7a2f8005e45a70000e011329..."} 
[2026-08-05 08:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc87240012d7a2f8005e45a70000e011329..."} 
[2026-08-05 08:08:48] local.INFO: Processing buffer {"connection_id":150930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc87240012d7a2f8005e45a70000e011329..."} 
[2026-08-05 08:08:48] local.INFO: Packet analysis {"connection_id":150930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc8"} 
[2026-08-05 08:08:48] local.INFO: Extracted packet for processing {"connection_id":150930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc8"} 
[2026-08-05 08:08:48] local.INFO: GPS Element Parsed {"raw_longitude":762982272,"raw_latitude":98851440,"longitude_deg":76.2982272,"latitude_deg":9.885144,"altitude":14,"angle":275,"satellites":41,"speed":10,"hex_longitude":"2d7a2f80","hex_latitude":"05e45a70","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189741824001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114938904003477504,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810237165094039552,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785897448000,"timestamp_ms":1785897448000,"timestamp_seconds":1785897448,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc87240"} 
[2026-08-05 08:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-05 08:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189741824001,"66":13678,"102":206,"87":12288,"24":10,"16":114938904003477504,"45":8810237165094039552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-05 08:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189741824001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:08:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 08:08:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 08:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114938904003477504,"km_value":114938904003477.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810237165094039552,"description":"Unknown IO ID 45"} 
[2026-08-05 08:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189741824001,"power":13678,"unknown_102":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8810237165094039552}} 
[2026-08-05 08:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":150930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:08:48] local.INFO: GPS data processed {"connection_id":150930,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:08:48] local.INFO: Acknowledgment sent {"connection_id":150930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:08:49] local.INFO: TCP Data received {"connection_id":150930,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc87628012d7a2e8005e45ad0000f011e29..."} 
[2026-08-05 08:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc87628012d7a2e8005e45ad0000f011e29..."} 
[2026-08-05 08:08:49] local.INFO: Processing buffer {"connection_id":150930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc87628012d7a2e8005e45ad0000f011e29..."} 
[2026-08-05 08:08:49] local.INFO: Packet analysis {"connection_id":150930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc8"} 
[2026-08-05 08:08:49] local.INFO: Extracted packet for processing {"connection_id":150930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc8"} 
[2026-08-05 08:08:49] local.INFO: GPS Element Parsed {"raw_longitude":762982016,"raw_latitude":98851536,"longitude_deg":76.2982016,"latitude_deg":9.8851536,"altitude":15,"angle":286,"satellites":41,"speed":10,"hex_longitude":"2d7a2e80","hex_latitude":"05e45ad0","is_valid_coordinates":true} 
[2026-08-05 08:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189746688001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114938916888379392,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804396559326932992,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785897449000,"timestamp_ms":1785897449000,"timestamp_seconds":1785897449,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc87628"} 
[2026-08-05 08:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-05 08:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189746688001,"66":13559,"102":206,"87":12288,"24":10,"16":114938916888379392,"45":8804396559326932992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-05 08:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189746688001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:08:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 08:08:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 08:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114938916888379392,"km_value":114938916888379.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804396559326932992,"description":"Unknown IO ID 45"} 
[2026-08-05 08:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189746688001,"power":13559,"unknown_102":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8804396559326932992}} 
[2026-08-05 08:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":150930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:08:49] local.INFO: GPS data processed {"connection_id":150930,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:08:49] local.INFO: Acknowledgment sent {"connection_id":150930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:08:53] local.INFO: TCP Data received {"connection_id":150929,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc7ed70012d8787c0058dcee0000801332c..."} 
[2026-08-05 08:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc7ed70012d8787c0058dcee0000801332c..."} 
[2026-08-05 08:08:53] local.INFO: Processing buffer {"connection_id":150929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc7ed70012d8787c0058dcee0000801332c..."} 
[2026-08-05 08:08:53] local.INFO: Packet analysis {"connection_id":150929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:08:53] local.INFO: Extracted packet for processing {"connection_id":150929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc7"} 
[2026-08-05 08:08:53] local.INFO: GPS Element Parsed {"raw_longitude":763856832,"raw_latitude":93179616,"longitude_deg":76.3856832,"latitude_deg":9.3179616,"altitude":8,"angle":307,"satellites":44,"speed":36,"hex_longitude":"2d8787c0","hex_latitude":"058dcee0","is_valid_coordinates":true} 
[2026-08-05 08:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189735680001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370343369097871360,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8672877327300376576,"note":"Value kept but may cause issues"} 
[2026-08-05 08:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785897414000,"timestamp_ms":1785897414000,"timestamp_seconds":1785897414,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc7ed70"} 
[2026-08-05 08:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 08:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189735680001,"66":27930,"87":206,"85":14592,"24":36,"16":370343369097871360,"45":-8672877327300376576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-05 08:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189735680001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:08:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-05 08:08:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370343369097871360,"km_value":370343369097871.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8672877327300376576,"description":"Unknown IO ID 45"} 
[2026-08-05 08:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189735680001,"power":27930,"unknown_87":206,"unknown_85":14592,"ignition":36,"odometer":null,"unknown_45":-8672877327300376576}} 
[2026-08-05 08:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":150929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:08:53] local.INFO: GPS data processed {"connection_id":150929,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:08:53] local.INFO: Acknowledgment sent {"connection_id":150929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:09:15] local.INFO: TCP Data received {"connection_id":148294,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:09:15] local.INFO: Processing buffer {"connection_id":148294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:09:15] local.INFO: IMEI packet received {"connection_id":148294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":148294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:09:18] local.INFO: TCP Data received {"connection_id":148294,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:09:18] local.INFO: Processing buffer {"connection_id":148294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:09:18] local.INFO: IMEI packet received {"connection_id":148294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":148294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:09:21] local.INFO: TCP Data received {"connection_id":148294,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:09:21] local.INFO: Processing buffer {"connection_id":148294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:09:21] local.INFO: IMEI packet received {"connection_id":148294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":148294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:09:21] local.INFO: TCP Data received {"connection_id":150930,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc9f110012d7a010005e466700007010b29..."} 
[2026-08-05 08:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc9f110012d7a010005e466700007010b29..."} 
[2026-08-05 08:09:21] local.INFO: Processing buffer {"connection_id":150930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc9f110012d7a010005e466700007010b29..."} 
[2026-08-05 08:09:21] local.INFO: Packet analysis {"connection_id":150930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:09:21] local.INFO: Extracted packet for processing {"connection_id":150930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:09:21] local.INFO: GPS Element Parsed {"raw_longitude":762970368,"raw_latitude":98854512,"longitude_deg":76.2970368,"latitude_deg":9.8854512,"altitude":7,"angle":267,"satellites":41,"speed":9,"hex_longitude":"2d7a0100","hex_latitude":"05e46670","is_valid_coordinates":true} 
[2026-08-05 08:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189771264001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939569723408384,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791870922864076800,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785897546000,"timestamp_ms":1785897546000,"timestamp_seconds":1785897546,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc9f110"} 
[2026-08-05 08:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 08:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189771264001,"66":13276,"97":206,"85":15104,"24":9,"16":114939569723408384,"45":8791870922864076800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189771264001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:09:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939569723408384,"km_value":114939569723408.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791870922864076800,"description":"Unknown IO ID 45"} 
[2026-08-05 08:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189771264001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8791870922864076800}} 
[2026-08-05 08:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":150930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:09:21] local.INFO: GPS data processed {"connection_id":150930,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:09:21] local.INFO: Acknowledgment sent {"connection_id":150930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:09:22] local.INFO: TCP Data received {"connection_id":148294,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc91650012d869d40058e5510000501332d..."} 
[2026-08-05 08:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc91650012d869d40058e5510000501332d..."} 
[2026-08-05 08:09:22] local.INFO: Processing buffer {"connection_id":148294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc91650012d869d40058e5510000501332d..."} 
[2026-08-05 08:09:22] local.INFO: Packet analysis {"connection_id":148294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:09:22] local.INFO: Extracted packet for processing {"connection_id":148294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763796800,"raw_latitude":93213968,"longitude_deg":76.37968,"latitude_deg":9.3213968,"altitude":5,"angle":307,"satellites":45,"speed":46,"hex_longitude":"2d869d40","hex_latitude":"058e5510","is_valid_coordinates":true} 
[2026-08-05 08:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189755136001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370346727762296832,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8737475834446563328,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785897490000,"timestamp_ms":1785897490000,"timestamp_seconds":1785897490,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc91650"} 
[2026-08-05 08:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189755136001,"66":27919,"89":206,"85":14592,"24":46,"16":370346727762296832,"45":-8737475834446563328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-05 08:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189755136001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:09:22] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-05 08:09:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370346727762296832,"km_value":370346727762296.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8737475834446563328,"description":"Unknown IO ID 45"} 
[2026-08-05 08:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189755136001,"power":27919,"unknown_89":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-8737475834446563328}} 
[2026-08-05 08:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":148294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:09:22] local.INFO: GPS data processed {"connection_id":148294,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:09:22] local.INFO: Acknowledgment sent {"connection_id":148294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:09:44] local.INFO: TCP Data received {"connection_id":150931,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:09:44] local.INFO: Processing buffer {"connection_id":150931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:09:44] local.INFO: IMEI packet received {"connection_id":150931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":150931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:09:46] local.INFO: TCP Data received {"connection_id":150931,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:09:46] local.INFO: Processing buffer {"connection_id":150931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:09:46] local.INFO: IMEI packet received {"connection_id":150931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":150931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:09:48] local.INFO: TCP Data received {"connection_id":150931,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:09:48] local.INFO: Processing buffer {"connection_id":150931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:09:48] local.INFO: IMEI packet received {"connection_id":150931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":150931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:09:50] local.INFO: TCP Data received {"connection_id":150931,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc9f4f8012d7a004005e46660000700fd29..."} 
[2026-08-05 08:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc9f4f8012d7a004005e46660000700fd29..."} 
[2026-08-05 08:09:50] local.INFO: Processing buffer {"connection_id":150931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc9f4f8012d7a004005e46660000700fd29..."} 
[2026-08-05 08:09:50] local.INFO: Packet analysis {"connection_id":150931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:09:50] local.INFO: Extracted packet for processing {"connection_id":150931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:09:50] local.INFO: GPS Element Parsed {"raw_longitude":762970176,"raw_latitude":98854496,"longitude_deg":76.2970176,"latitude_deg":9.8854496,"altitude":7,"angle":253,"satellites":41,"speed":5,"hex_longitude":"2d7a0040","hex_latitude":"05e46660","is_valid_coordinates":true} 
[2026-08-05 08:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189771776001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939574018375680,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791307972910673920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785897547000,"timestamp_ms":1785897547000,"timestamp_seconds":1785897547,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc9f4f8"} 
[2026-08-05 08:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:09: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-08-05 08:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-05 08:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189771776001,"66":13363,"97":206,"85":15104,"24":5,"16":114939574018375680,"45":8791307972910673920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189771776001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:09:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:09:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939574018375680,"km_value":114939574018375.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791307972910673920,"description":"Unknown IO ID 45"} 
[2026-08-05 08:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189771776001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8791307972910673920}} 
[2026-08-05 08:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":150931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:09:50] local.INFO: GPS data processed {"connection_id":150931,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:09:50] local.INFO: Acknowledgment sent {"connection_id":150931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:09:51] local.INFO: TCP Data received {"connection_id":150931,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfca1050012d79fe8005e464a8000600ad2a..."} 
[2026-08-05 08:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfca1050012d79fe8005e464a8000600ad2a..."} 
[2026-08-05 08:09:51] local.INFO: Processing buffer {"connection_id":150931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfca1050012d79fe8005e464a8000600ad2a..."} 
[2026-08-05 08:09:51] local.INFO: Packet analysis {"connection_id":150931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:09:51] local.INFO: Extracted packet for processing {"connection_id":150931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:09:51] local.INFO: GPS Element Parsed {"raw_longitude":762969728,"raw_latitude":98854056,"longitude_deg":76.2969728,"latitude_deg":9.8854056,"altitude":6,"angle":173,"satellites":42,"speed":5,"hex_longitude":"2d79fe80","hex_latitude":"05e464a8","is_valid_coordinates":true} 
[2026-08-05 08:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189772032001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939612673081344,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791096866678136832,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785897554000,"timestamp_ms":1785897554000,"timestamp_seconds":1785897554,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfca1050"} 
[2026-08-05 08:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:09: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-08-05 08:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-05 08:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189772032001,"66":13374,"97":206,"85":15104,"24":5,"16":114939612673081344,"45":8791096866678136832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189772032001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:09:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:09:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939612673081344,"km_value":114939612673081.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791096866678136832,"description":"Unknown IO ID 45"} 
[2026-08-05 08:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189772032001,"power":13374,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8791096866678136832}} 
[2026-08-05 08:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":150931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:09:51] local.INFO: GPS data processed {"connection_id":150931,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:09:51] local.INFO: Acknowledgment sent {"connection_id":150931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:09:52] local.INFO: TCP Data received {"connection_id":148294,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc93590012d868080058e6f680006013e2d..."} 
[2026-08-05 08:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc93590012d868080058e6f680006013e2d..."} 
[2026-08-05 08:09:52] local.INFO: Processing buffer {"connection_id":148294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc93590012d868080058e6f680006013e2d..."} 
[2026-08-05 08:09:52] local.INFO: Packet analysis {"connection_id":148294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:09:52] local.INFO: Extracted packet for processing {"connection_id":148294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:09:52] local.INFO: GPS Element Parsed {"raw_longitude":763789440,"raw_latitude":93220712,"longitude_deg":76.378944,"latitude_deg":9.3220712,"altitude":6,"angle":318,"satellites":45,"speed":52,"hex_longitude":"2d868080","hex_latitude":"058e6f68","is_valid_coordinates":true} 
[2026-08-05 08:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189757440001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370347204503666688,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8746764508676681728,"note":"Value kept but may cause issues"} 
[2026-08-05 08:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785897498000,"timestamp_ms":1785897498000,"timestamp_seconds":1785897498,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc93590"} 
[2026-08-05 08:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 08:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189757440001,"66":27865,"89":206,"85":14592,"24":52,"16":370347204503666688,"45":-8746764508676681728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-05 08:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189757440001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:09:52] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-05 08:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370347204503666688,"km_value":370347204503666.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8746764508676681728,"description":"Unknown IO ID 45"} 
[2026-08-05 08:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189757440001,"power":27865,"unknown_89":206,"unknown_85":14592,"ignition":52,"odometer":null,"unknown_45":-8746764508676681728}} 
[2026-08-05 08:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":148294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:09:52] local.INFO: GPS data processed {"connection_id":148294,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:09:52] local.INFO: Acknowledgment sent {"connection_id":148294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:10:21] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:10:21] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:10:21] local.INFO: IMEI packet received {"connection_id":148509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":148509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:10:23] local.INFO: TCP Data received {"connection_id":150931,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfca6258012d79fe0005e46640000800ad2a..."} 
[2026-08-05 08:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfca6258012d79fe0005e46640000800ad2a..."} 
[2026-08-05 08:10:23] local.INFO: Processing buffer {"connection_id":150931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfca6258012d79fe0005e46640000800ad2a..."} 
[2026-08-05 08:10:23] local.INFO: Packet analysis {"connection_id":150931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:10:23] local.INFO: Extracted packet for processing {"connection_id":150931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:10:23] local.INFO: GPS Element Parsed {"raw_longitude":762969600,"raw_latitude":98854464,"longitude_deg":76.29696,"latitude_deg":9.8854464,"altitude":8,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d79fe00","hex_latitude":"05e46640","is_valid_coordinates":true} 
[2026-08-05 08:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189773824001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939647032819712,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790604285468780544,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785897575000,"timestamp_ms":1785897575000,"timestamp_seconds":1785897575,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfca6258"} 
[2026-08-05 08:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-05 08:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189773824001,"66":13526,"97":206,"85":15104,"24":0,"16":114939647032819712,"45":8790604285468780544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189773824001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:10:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:10:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939647032819712,"km_value":114939647032819.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790604285468780544,"description":"Unknown IO ID 45"} 
[2026-08-05 08:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189773824001,"power":13526,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8790604285468780544}} 
[2026-08-05 08:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":150931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:10:23] local.INFO: GPS data processed {"connection_id":150931,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:10:23] local.INFO: Acknowledgment sent {"connection_id":150931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:10:26] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:10:26] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:10:26] local.INFO: IMEI packet received {"connection_id":148509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":148509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:10:27] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc950e8012d866980058e8d80000601482c..."} 
[2026-08-05 08:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc950e8012d866980058e8d80000601482c..."} 
[2026-08-05 08:10:27] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc950e8012d866980058e8d80000601482c..."} 
[2026-08-05 08:10:27] local.INFO: Packet analysis {"connection_id":148509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:10:27] local.INFO: Extracted packet for processing {"connection_id":148509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763783552,"raw_latitude":93228416,"longitude_deg":76.3783552,"latitude_deg":9.3228416,"altitude":6,"angle":328,"satellites":44,"speed":56,"hex_longitude":"2d866980","hex_latitude":"058e8d80","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189759488001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370347676950069248,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8754856914255386624,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785897505000,"timestamp_ms":1785897505000,"timestamp_seconds":1785897505,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc950e8"} 
[2026-08-05 08:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189759488001,"66":27865,"89":206,"85":14592,"24":56,"16":370347676950069248,"45":-8754856914255386624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-05 08:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189759488001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:10:27] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-05 08:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370347676950069248,"km_value":370347676950069.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8754856914255386624,"description":"Unknown IO ID 45"} 
[2026-08-05 08:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189759488001,"power":27865,"unknown_89":206,"unknown_85":14592,"ignition":56,"odometer":null,"unknown_45":-8754856914255386624}} 
[2026-08-05 08:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":148509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:10:27] local.INFO: GPS data processed {"connection_id":148509,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:10:27] local.INFO: Acknowledgment sent {"connection_id":148509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:10:28] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfc96c40012d865580058eaf080006014a2b..."} 
[2026-08-05 08:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfc96c40012d865580058eaf080006014a2b..."} 
[2026-08-05 08:10:28] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfc96c40012d865580058eaf080006014a2b..."} 
[2026-08-05 08:10:28] local.INFO: Packet analysis {"connection_id":148509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:10:28] local.INFO: Extracted packet for processing {"connection_id":148509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfc9"} 
[2026-08-05 08:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763778432,"raw_latitude":93237000,"longitude_deg":76.3778432,"latitude_deg":9.3237,"altitude":6,"angle":330,"satellites":43,"speed":54,"hex_longitude":"2d865580","hex_latitude":"058eaf08","is_valid_coordinates":true} 
[2026-08-05 08:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189761280001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370348157986406400,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8761330838717759488,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785897512000,"timestamp_ms":1785897512000,"timestamp_seconds":1785897512,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfc96c40"} 
[2026-08-05 08:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189761280001,"66":27876,"89":206,"85":14592,"24":54,"16":370348157986406400,"45":-8761330838717759488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-05 08:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189761280001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:10:28] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-05 08:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370348157986406400,"km_value":370348157986406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8761330838717759488,"description":"Unknown IO ID 45"} 
[2026-08-05 08:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189761280001,"power":27876,"unknown_89":206,"unknown_85":14592,"ignition":54,"odometer":null,"unknown_45":-8761330838717759488}} 
[2026-08-05 08:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":148509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:10:28] local.INFO: GPS data processed {"connection_id":148509,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:10:28] local.INFO: Acknowledgment sent {"connection_id":148509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:10:43] local.INFO: TCP Data received {"connection_id":149516,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:10:43] local.INFO: Processing buffer {"connection_id":149516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:10:43] local.INFO: IMEI packet received {"connection_id":149516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":149516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:10:49] local.INFO: TCP Data received {"connection_id":149516,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:10:49] local.INFO: Processing buffer {"connection_id":149516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:10:49] local.INFO: IMEI packet received {"connection_id":149516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":149516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:10:59] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcadb70012d85b94005901b200006014b2e..."} 
[2026-08-05 08:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcadb70012d85b94005901b200006014b2e..."} 
[2026-08-05 08:10:59] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcadb70012d85b94005901b200006014b2e..."} 
[2026-08-05 08:10:59] local.INFO: Packet analysis {"connection_id":148509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:10:59] local.INFO: Extracted packet for processing {"connection_id":148509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763738432,"raw_latitude":93330208,"longitude_deg":76.3738432,"latitude_deg":9.3330208,"altitude":6,"angle":331,"satellites":46,"speed":45,"hex_longitude":"2d85b940","hex_latitude":"05901b20","is_valid_coordinates":true} 
[2026-08-05 08:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189784576001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370353084313894912,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8805944622502719488,"note":"Value kept but may cause issues"} 
[2026-08-05 08:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785897606000,"timestamp_ms":1785897606000,"timestamp_seconds":1785897606,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcadb70"} 
[2026-08-05 08:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189784576001,"66":27821,"173":206,"85":14592,"24":45,"16":370353084313894912,"45":-8805944622502719488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-05 08:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189784576001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:10:59] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-05 08:10:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370353084313894912,"km_value":370353084313894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8805944622502719488,"description":"Unknown IO ID 45"} 
[2026-08-05 08:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189784576001,"power":27821,"unknown_173":206,"unknown_85":14592,"ignition":45,"odometer":null,"unknown_45":-8805944622502719488}} 
[2026-08-05 08:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":148509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:10:59] local.INFO: GPS data processed {"connection_id":148509,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:10:59] local.INFO: Acknowledgment sent {"connection_id":148509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:11:00] local.INFO: TCP Data received {"connection_id":149516,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfca8580012d7a000005e466c0000b004629..."} 
[2026-08-05 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfca8580012d7a000005e466c0000b004629..."} 
[2026-08-05 08:11:00] local.INFO: Processing buffer {"connection_id":149516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfca8580012d7a000005e466c0000b004629..."} 
[2026-08-05 08:11:00] local.INFO: Packet analysis {"connection_id":149516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:11:00] local.INFO: Extracted packet for processing {"connection_id":149516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":762970112,"raw_latitude":98854592,"longitude_deg":76.2970112,"latitude_deg":9.8854592,"altitude":11,"angle":70,"satellites":41,"speed":6,"hex_longitude":"2d7a0000","hex_latitude":"05e466c0","is_valid_coordinates":true} 
[2026-08-05 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189779200001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939677097590784,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790463547980529664,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785897584000,"timestamp_ms":1785897584000,"timestamp_seconds":1785897584,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfca8580"} 
[2026-08-05 08:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-05 08:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189779200001,"66":13537,"97":206,"85":15104,"24":6,"16":114939677097590784,"45":8790463547980529664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189779200001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:11:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939677097590784,"km_value":114939677097590.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790463547980529664,"description":"Unknown IO ID 45"} 
[2026-08-05 08:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189779200001,"power":13537,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8790463547980529664}} 
[2026-08-05 08:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":149516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:11:00] local.INFO: GPS data processed {"connection_id":149516,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:11:00] local.INFO: Acknowledgment sent {"connection_id":149516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:11:18] local.INFO: TCP Data received {"connection_id":149517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:11:18] local.INFO: Processing buffer {"connection_id":149517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:11:18] local.INFO: IMEI packet received {"connection_id":149517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":149517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:11:19] local.INFO: TCP Data received {"connection_id":149517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:11:19] local.INFO: Processing buffer {"connection_id":149517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:11:19] local.INFO: IMEI packet received {"connection_id":149517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":149517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:11:19] local.INFO: TCP Data received {"connection_id":149517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcafab0012d85a84005903e78000601502e..."} 
[2026-08-05 08:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcafab0012d85a84005903e78000601502e..."} 
[2026-08-05 08:11:19] local.INFO: Processing buffer {"connection_id":149517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcafab0012d85a84005903e78000601502e..."} 
[2026-08-05 08:11:19] local.INFO: Packet analysis {"connection_id":149517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:11:19] local.INFO: Extracted packet for processing {"connection_id":149517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:11:19] local.INFO: GPS Element Parsed {"raw_longitude":763734080,"raw_latitude":93339256,"longitude_deg":76.373408,"latitude_deg":9.3339256,"altitude":6,"angle":336,"satellites":46,"speed":53,"hex_longitude":"2d85a840","hex_latitude":"05903e78","is_valid_coordinates":true} 
[2026-08-05 08:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189787136001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370353569645199360,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8810940803336953856,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785897614000,"timestamp_ms":1785897614000,"timestamp_seconds":1785897614,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcafab0"} 
[2026-08-05 08:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 08:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189787136001,"66":27865,"173":206,"85":14592,"24":53,"16":370353569645199360,"45":-8810940803336953856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-05 08:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189787136001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:11:19] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-05 08:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370353569645199360,"km_value":370353569645199.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8810940803336953856,"description":"Unknown IO ID 45"} 
[2026-08-05 08:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189787136001,"power":27865,"unknown_173":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8810940803336953856}} 
[2026-08-05 08:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":149517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:11:19] local.INFO: GPS data processed {"connection_id":149517,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:11:19] local.INFO: Acknowledgment sent {"connection_id":149517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:11:21] local.INFO: TCP Data received {"connection_id":149517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcb1608012d859980059062d0000601532b..."} 
[2026-08-05 08:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcb1608012d859980059062d0000601532b..."} 
[2026-08-05 08:11:21] local.INFO: Processing buffer {"connection_id":149517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcb1608012d859980059062d0000601532b..."} 
[2026-08-05 08:11:21] local.INFO: Packet analysis {"connection_id":149517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:11:21] local.INFO: Extracted packet for processing {"connection_id":149517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:11:21] local.INFO: GPS Element Parsed {"raw_longitude":763730304,"raw_latitude":93348560,"longitude_deg":76.3730304,"latitude_deg":9.334856,"altitude":6,"angle":339,"satellites":43,"speed":60,"hex_longitude":"2d859980","hex_latitude":"059062d0","is_valid_coordinates":true} 
[2026-08-05 08:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189789184001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370354054976503808,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8815725877938718720,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785897621000,"timestamp_ms":1785897621000,"timestamp_seconds":1785897621,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcb1608"} 
[2026-08-05 08:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08: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-08-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:11: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-08-05 08:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189789184001,"66":27767,"173":206,"85":14592,"24":60,"16":370354054976503808,"45":-8815725877938718720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-05 08:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189789184001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:11:21] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-05 08:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370354054976503808,"km_value":370354054976503.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8815725877938718720,"description":"Unknown IO ID 45"} 
[2026-08-05 08:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189789184001,"power":27767,"unknown_173":206,"unknown_85":14592,"ignition":60,"odometer":null,"unknown_45":-8815725877938718720}} 
[2026-08-05 08:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":149517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:11:21] local.INFO: GPS data processed {"connection_id":149517,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:11:21] local.INFO: Acknowledgment sent {"connection_id":149517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:11:43] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:11:43] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:11:43] local.INFO: IMEI packet received {"connection_id":148510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":148510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:11:49] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:11:49] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:11:49] local.INFO: IMEI packet received {"connection_id":148510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":148510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:11:50] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfca9520012d7a034005e46788000c005129..."} 
[2026-08-05 08:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfca9520012d7a034005e46788000c005129..."} 
[2026-08-05 08:11:50] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfca9520012d7a034005e46788000c005129..."} 
[2026-08-05 08:11:50] local.INFO: Packet analysis {"connection_id":148510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:11:50] local.INFO: Extracted packet for processing {"connection_id":148510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:11:50] local.INFO: GPS Element Parsed {"raw_longitude":762970944,"raw_latitude":98854792,"longitude_deg":76.2970944,"latitude_deg":9.8854792,"altitude":12,"angle":81,"satellites":41,"speed":8,"hex_longitude":"2d7a0340","hex_latitude":"05e46788","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189781504001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939715752296448,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791026497933983744,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785897588000,"timestamp_ms":1785897588000,"timestamp_seconds":1785897588,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfca9520"} 
[2026-08-05 08:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:11: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-08-05 08: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-05 08:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189781504001,"66":13363,"97":206,"85":15104,"24":8,"16":114939715752296448,"45":8791026497933983744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189781504001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:11:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:11:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939715752296448,"km_value":114939715752296.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791026497933983744,"description":"Unknown IO ID 45"} 
[2026-08-05 08:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189781504001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8791026497933983744}} 
[2026-08-05 08:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":148510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:11:50] local.INFO: GPS data processed {"connection_id":148510,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:11:50] local.INFO: Acknowledgment sent {"connection_id":148510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:11:51] local.INFO: TCP Data received {"connection_id":149517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcb2d78012d858dc005908450000601542b..."} 
[2026-08-05 08:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcb2d78012d858dc005908450000601542b..."} 
[2026-08-05 08:11:51] local.INFO: Processing buffer {"connection_id":149517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcb2d78012d858dc005908450000601542b..."} 
[2026-08-05 08:11:51] local.INFO: Packet analysis {"connection_id":149517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:11:51] local.INFO: Extracted packet for processing {"connection_id":149517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:11:51] local.INFO: GPS Element Parsed {"raw_longitude":763727296,"raw_latitude":93357136,"longitude_deg":76.3727296,"latitude_deg":9.3357136,"altitude":6,"angle":340,"satellites":43,"speed":59,"hex_longitude":"2d858dc0","hex_latitude":"05908450","is_valid_coordinates":true} 
[2026-08-05 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-08-05 08:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189790976001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370354493063168000,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8819877633842819072,"note":"Value kept but may cause issues"} 
[2026-08-05 08:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785897627000,"timestamp_ms":1785897627000,"timestamp_seconds":1785897627,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcb2d78"} 
[2026-08-05 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-08-05 08:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 08:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 08:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189790976001,"66":27843,"173":206,"85":14592,"24":59,"16":370354493063168000,"45":-8819877633842819072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-05 08:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189790976001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:11:51] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-05 08:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370354493063168000,"km_value":370354493063168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8819877633842819072,"description":"Unknown IO ID 45"} 
[2026-08-05 08:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189790976001,"power":27843,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8819877633842819072}} 
[2026-08-05 08:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":149517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:11:51] local.INFO: GPS data processed {"connection_id":149517,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:11:51] local.INFO: Acknowledgment sent {"connection_id":149517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:12:17] local.INFO: TCP Data received {"connection_id":150932,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:12:17] local.INFO: Processing buffer {"connection_id":150932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:12:17] local.INFO: IMEI packet received {"connection_id":150932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":150932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:12:18] local.INFO: TCP Data received {"connection_id":150932,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:12:18] local.INFO: Processing buffer {"connection_id":150932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:12:18] local.INFO: IMEI packet received {"connection_id":150932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":150932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:12:21] local.INFO: TCP Data received {"connection_id":150932,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:12:21] local.INFO: Processing buffer {"connection_id":150932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:12:21] local.INFO: IMEI packet received {"connection_id":150932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":150932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:12:21] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcab078012d7a08c005e46830000b00422a..."} 
[2026-08-05 08:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcab078012d7a08c005e46830000b00422a..."} 
[2026-08-05 08:12:21] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcab078012d7a08c005e46830000b00422a..."} 
[2026-08-05 08:12:21] local.INFO: Packet analysis {"connection_id":148510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:12:21] local.INFO: Extracted packet for processing {"connection_id":148510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfca"} 
[2026-08-05 08:12:21] local.INFO: GPS Element Parsed {"raw_longitude":762972352,"raw_latitude":98854960,"longitude_deg":76.2972352,"latitude_deg":9.885496,"altitude":11,"angle":66,"satellites":42,"speed":6,"hex_longitude":"2d7a08c0","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-08-05 08:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189782528001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939784471773184,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791941291608344576,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785897595000,"timestamp_ms":1785897595000,"timestamp_seconds":1785897595,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcab078"} 
[2026-08-05 08:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-05 08:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189782528001,"66":13678,"97":206,"85":15104,"24":6,"16":114939784471773184,"45":8791941291608344576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189782528001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:12:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939784471773184,"km_value":114939784471773.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791941291608344576,"description":"Unknown IO ID 45"} 
[2026-08-05 08:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189782528001,"power":13678,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8791941291608344576}} 
[2026-08-05 08:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":148510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:12:21] local.INFO: GPS data processed {"connection_id":148510,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:12:21] local.INFO: Acknowledgment sent {"connection_id":148510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:12:25] local.INFO: TCP Data received {"connection_id":150932,"ip":"42.106.6.40","data_length":1348,"data_hex":"000000000000030f8e0a0000019fcfcb44e8012d8582000590a558000501542c..."} 
[2026-08-05 08:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150932,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fcfcb44e8012d8582000590a558000501542c..."} 
[2026-08-05 08:12:25] local.INFO: Processing buffer {"connection_id":150932,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fcfcb44e8012d8582000590a558000501542c..."} 
[2026-08-05 08:12:25] local.INFO: Packet analysis {"connection_id":150932,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:12:25] local.INFO: Extracted packet for processing {"connection_id":150932,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763724288,"raw_latitude":93365592,"longitude_deg":76.3724288,"latitude_deg":9.3365592,"altitude":5,"angle":340,"satellites":44,"speed":59,"hex_longitude":"2d858200","hex_latitude":"0590a558","is_valid_coordinates":true} 
[2026-08-05 08:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189792512001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370354926854864896,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8823184964816973824,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785897633000,"timestamp_ms":1785897633000,"timestamp_seconds":1785897633,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcb44e8"} 
[2026-08-05 08:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 08:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189792512001,"66":27843,"173":206,"85":14592,"24":59,"16":370354926854864896,"45":-8823184964816973824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-05 08:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189792512001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:12:25] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-05 08:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370354926854864896,"km_value":370354926854864.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8823184964816973824,"description":"Unknown IO ID 45"} 
[2026-08-05 08:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189792512001,"power":27843,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8823184964816973824}} 
[2026-08-05 08:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":150932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:12:25] local.INFO: GPS data processed {"connection_id":150932,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:12:25] local.INFO: Acknowledgment sent {"connection_id":150932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:12:25] local.INFO: Packet analysis {"connection_id":150932,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:12:25] local.INFO: Incomplete packet, waiting for more data {"connection_id":150932,"needed":795,"available":553} 
[2026-08-05 08:12:26] local.INFO: TCP Data received {"connection_id":150932,"ip":"42.106.6.40","data_length":1037,"data_hex":"0000000000019fcfca9908012d85d0c0058fe490000501592e00150000000a00..."} 
[2026-08-05 08:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150932,"packet_length":1037,"packet_hex":"0000000000019fcfca9908012d85d0c0058fe490000501592e00150000000a00..."} 
[2026-08-05 08:12:26] local.INFO: Processing buffer {"connection_id":150932,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fcfcb6040012d8574000590cbc0000601542c..."} 
[2026-08-05 08:12:26] local.INFO: Packet analysis {"connection_id":150932,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:12:26] local.INFO: Extracted packet for processing {"connection_id":150932,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763720704,"raw_latitude":93375424,"longitude_deg":76.3720704,"latitude_deg":9.3375424,"altitude":6,"angle":340,"satellites":44,"speed":59,"hex_longitude":"2d857400","hex_latitude":"0590cbc0","is_valid_coordinates":true} 
[2026-08-05 08:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189794048001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370355433661005824,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8826492295791159296,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785897640000,"timestamp_ms":1785897640000,"timestamp_seconds":1785897640,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcb6040"} 
[2026-08-05 08:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 08:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189794048001,"66":27843,"173":206,"85":14592,"24":59,"16":370355433661005824,"45":-8826492295791159296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-05 08:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189794048001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:12:26] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-05 08:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370355433661005824,"km_value":370355433661005.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8826492295791159296,"description":"Unknown IO ID 45"} 
[2026-08-05 08:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189794048001,"power":27843,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8826492295791159296}} 
[2026-08-05 08:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":150932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:12:26] local.INFO: GPS data processed {"connection_id":150932,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:12:26] local.INFO: Acknowledgment sent {"connection_id":150932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:12:26] local.INFO: Packet analysis {"connection_id":150932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:12:26] local.INFO: Extracted packet for processing {"connection_id":150932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763716800,"raw_latitude":93385144,"longitude_deg":76.37168,"latitude_deg":9.3385144,"altitude":7,"angle":335,"satellites":46,"speed":59,"hex_longitude":"2d8564c0","hex_latitude":"0590f1b8","is_valid_coordinates":true} 
[2026-08-05 08:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189795840001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370355940467146752,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8830432945462591488,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785897647000,"timestamp_ms":1785897647000,"timestamp_seconds":1785897647,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcb7b98"} 
[2026-08-05 08:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 08:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189795840001,"66":27876,"173":206,"85":14592,"24":59,"16":370355940467146752,"45":-8830432945462591488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-05 08:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189795840001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:12:26] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-05 08:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370355940467146752,"km_value":370355940467146.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8830432945462591488,"description":"Unknown IO ID 45"} 
[2026-08-05 08:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189795840001,"power":27876,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8830432945462591488}} 
[2026-08-05 08:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":150932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:12:26] local.INFO: GPS data processed {"connection_id":150932,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:12:26] local.INFO: Acknowledgment sent {"connection_id":150932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:12:44] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:12:44] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:12:44] local.INFO: IMEI packet received {"connection_id":148511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":148511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:12:44] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:12:44] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:12:44] local.INFO: IMEI packet received {"connection_id":148511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":148511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:12:49] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:12:49] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:12:49] local.INFO: IMEI packet received {"connection_id":148511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":148511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:12:50] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcb0280012d7a0e0005e469c8000900422a..."} 
[2026-08-05 08:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcb0280012d7a0e0005e469c8000900422a..."} 
[2026-08-05 08:12:50] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcb0280012d7a0e0005e469c8000900422a..."} 
[2026-08-05 08:12:50] local.INFO: Packet analysis {"connection_id":148511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:12:50] local.INFO: Extracted packet for processing {"connection_id":148511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:12:50] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855368,"longitude_deg":76.2973696,"latitude_deg":9.8855368,"altitude":9,"angle":66,"satellites":42,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189784320001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793489403980296192,"note":"Value kept but may cause issues"} 
[2026-08-05 08:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785897616000,"timestamp_ms":1785897616000,"timestamp_seconds":1785897616,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcb0280"} 
[2026-08-05 08:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:12: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-08-05 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-05 08:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189784320001,"66":13526,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8793489403980296192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189784320001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:12:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793489403980296192,"description":"Unknown IO ID 45"} 
[2026-08-05 08:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189784320001,"power":13526,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8793489403980296192}} 
[2026-08-05 08:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":148511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:12:50] local.INFO: GPS data processed {"connection_id":148511,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:12:50] local.INFO: Acknowledgment sent {"connection_id":148511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:13:02] local.INFO: TCP Data received {"connection_id":150932,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfccb030012d84b38005929a08000701502f..."} 
[2026-08-05 08:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfccb030012d84b38005929a08000701502f..."} 
[2026-08-05 08:13:02] local.INFO: Processing buffer {"connection_id":150932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfccb030012d84b38005929a08000701502f..."} 
[2026-08-05 08:13:02] local.INFO: Packet analysis {"connection_id":150932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:13:02] local.INFO: Extracted packet for processing {"connection_id":150932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763671424,"raw_latitude":93493768,"longitude_deg":76.3671424,"latitude_deg":9.3493768,"altitude":7,"angle":336,"satellites":47,"speed":59,"hex_longitude":"2d84b380","hex_latitude":"05929a08","is_valid_coordinates":true} 
[2026-08-05 08:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189816320001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370361639888748544,"note":"Value kept but may cause issues"} 
[2026-08-05 08:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8880816966265612288,"note":"Value kept but may cause issues"} 
[2026-08-05 08:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785897726000,"timestamp_ms":1785897726000,"timestamp_seconds":1785897726,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfccb030"} 
[2026-08-05 08:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 08:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":150932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":150932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":150932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189816320001,"66":27887,"148":206,"85":14592,"24":59,"16":370361639888748544,"45":-8880816966265612288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-05 08:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189816320001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:13:02] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 08:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370361639888748544,"km_value":370361639888748.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8880816966265612288,"description":"Unknown IO ID 45"} 
[2026-08-05 08:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189816320001,"power":27887,"unknown_148":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8880816966265612288}} 
[2026-08-05 08:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":150932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:13:02] local.INFO: GPS data processed {"connection_id":150932,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:13:02] local.INFO: Acknowledgment sent {"connection_id":150932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:13:16] local.INFO: TCP Data received {"connection_id":149518,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:13:16] local.INFO: Processing buffer {"connection_id":149518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:13:16] local.INFO: IMEI packet received {"connection_id":149518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":149518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:13:16] local.INFO: TCP Data received {"connection_id":149518,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:13:16] local.INFO: Processing buffer {"connection_id":149518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:13:16] local.INFO: IMEI packet received {"connection_id":149518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":149518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:13:21] local.INFO: TCP Data received {"connection_id":149518,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:13:21] local.INFO: Processing buffer {"connection_id":149518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:13:21] local.INFO: IMEI packet received {"connection_id":149518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":149518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:13:21] local.INFO: TCP Data received {"connection_id":149518,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcccb88012d84a3000592bd900006014e2e..."} 
[2026-08-05 08:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcccb88012d84a3000592bd900006014e2e..."} 
[2026-08-05 08:13:21] local.INFO: Processing buffer {"connection_id":149518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcccb88012d84a3000592bd900006014e2e..."} 
[2026-08-05 08:13:21] local.INFO: Packet analysis {"connection_id":149518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:13:21] local.INFO: Extracted packet for processing {"connection_id":149518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:13:21] local.INFO: GPS Element Parsed {"raw_longitude":763667200,"raw_latitude":93502864,"longitude_deg":76.36672,"latitude_deg":9.3502864,"altitude":6,"angle":334,"satellites":46,"speed":52,"hex_longitude":"2d84a300","hex_latitude":"0592bd90","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189817856001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370362125220052992,"note":"Value kept but may cause issues"} 
[2026-08-05 08:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8884616878449096704,"note":"Value kept but may cause issues"} 
[2026-08-05 08:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785897733000,"timestamp_ms":1785897733000,"timestamp_seconds":1785897733,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcccb88"} 
[2026-08-05 08:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:13: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-08-05 08: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 08:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:13: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-08-05 08:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189817856001,"66":27908,"148":206,"85":14592,"24":52,"16":370362125220052992,"45":-8884616878449096704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-05 08:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189817856001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:13:21] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 08:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370362125220052992,"km_value":370362125220053.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8884616878449096704,"description":"Unknown IO ID 45"} 
[2026-08-05 08:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189817856001,"power":27908,"unknown_148":206,"unknown_85":14592,"ignition":52,"odometer":null,"unknown_45":-8884616878449096704}} 
[2026-08-05 08:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":149518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:13:21] local.INFO: GPS data processed {"connection_id":149518,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:13:21] local.INFO: Acknowledgment sent {"connection_id":149518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:13:59] local.INFO: TCP Data received {"connection_id":149518,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfccdf10012d8497c00592d100000501402f..."} 
[2026-08-05 08:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfccdf10012d8497c00592d100000501402f..."} 
[2026-08-05 08:13:59] local.INFO: Processing buffer {"connection_id":149518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfccdf10012d8497c00592d100000501402f..."} 
[2026-08-05 08:13:59] local.INFO: Packet analysis {"connection_id":149518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:13:59] local.INFO: Extracted packet for processing {"connection_id":149518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763664320,"raw_latitude":93507840,"longitude_deg":76.366432,"latitude_deg":9.350784,"altitude":5,"angle":320,"satellites":47,"speed":39,"hex_longitude":"2d8497c0","hex_latitude":"0592d100","is_valid_coordinates":true} 
[2026-08-05 08:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189819648001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370362404392927232,"note":"Value kept but may cause issues"} 
[2026-08-05 08:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8889261215562493952,"note":"Value kept but may cause issues"} 
[2026-08-05 08:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785897738000,"timestamp_ms":1785897738000,"timestamp_seconds":1785897738,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfccdf10"} 
[2026-08-05 08:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189819648001,"66":27908,"148":206,"85":14592,"24":39,"16":370362404392927232,"45":-8889261215562493952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-05 08:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189819648001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:13:59] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 08:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370362404392927232,"km_value":370362404392927.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8889261215562493952,"description":"Unknown IO ID 45"} 
[2026-08-05 08:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189819648001,"power":27908,"unknown_148":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8889261215562493952}} 
[2026-08-05 08:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":149518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:13:59] local.INFO: GPS data processed {"connection_id":149518,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:13:59] local.INFO: Acknowledgment sent {"connection_id":149518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:14:15] local.INFO: TCP Data received {"connection_id":150933,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:14:15] local.INFO: Processing buffer {"connection_id":150933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:14:15] local.INFO: IMEI packet received {"connection_id":150933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":150933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:14:21] local.INFO: TCP Data received {"connection_id":150933,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:14:21] local.INFO: Processing buffer {"connection_id":150933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:14:21] local.INFO: IMEI packet received {"connection_id":150933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":150933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:14:22] local.INFO: TCP Data received {"connection_id":150933,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcceac8012d8491c00592d9d80005014e2e..."} 
[2026-08-05 08:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcceac8012d8491c00592d9d80005014e2e..."} 
[2026-08-05 08:14:22] local.INFO: Processing buffer {"connection_id":150933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcceac8012d8491c00592d9d80005014e2e..."} 
[2026-08-05 08:14:22] local.INFO: Packet analysis {"connection_id":150933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:14:22] local.INFO: Extracted packet for processing {"connection_id":150933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:14:22] local.INFO: GPS Element Parsed {"raw_longitude":763662784,"raw_latitude":93510104,"longitude_deg":76.3662784,"latitude_deg":9.3510104,"altitude":5,"angle":334,"satellites":46,"speed":35,"hex_longitude":"2d8491c0","hex_latitude":"0592d9d8","is_valid_coordinates":true} 
[2026-08-05 08:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189820928001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370362537536913408,"note":"Value kept but may cause issues"} 
[2026-08-05 08:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8892427809049214976,"note":"Value kept but may cause issues"} 
[2026-08-05 08:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785897741000,"timestamp_ms":1785897741000,"timestamp_seconds":1785897741,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcceac8"} 
[2026-08-05 08:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189820928001,"66":27865,"148":206,"85":14592,"24":35,"16":370362537536913408,"45":-8892427809049214976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-05 08:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189820928001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:14:22] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-05 08:14:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370362537536913408,"km_value":370362537536913.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8892427809049214976,"description":"Unknown IO ID 45"} 
[2026-08-05 08:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189820928001,"power":27865,"unknown_148":206,"unknown_85":14592,"ignition":35,"odometer":null,"unknown_45":-8892427809049214976}} 
[2026-08-05 08:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":150933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:14:22] local.INFO: GPS data processed {"connection_id":150933,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:14:22] local.INFO: Acknowledgment sent {"connection_id":150933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:14:53] local.INFO: TCP Data received {"connection_id":150933,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfce6d80012d83fe000594c048000601522d..."} 
[2026-08-05 08:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfce6d80012d83fe000594c048000601522d..."} 
[2026-08-05 08:14:53] local.INFO: Processing buffer {"connection_id":150933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfce6d80012d83fe000594c048000601522d..."} 
[2026-08-05 08:14:53] local.INFO: Packet analysis {"connection_id":150933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfce"} 
[2026-08-05 08:14:53] local.INFO: Extracted packet for processing {"connection_id":150933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfce"} 
[2026-08-05 08:14:53] local.INFO: GPS Element Parsed {"raw_longitude":763624960,"raw_latitude":93634632,"longitude_deg":76.362496,"latitude_deg":9.3634632,"altitude":6,"angle":338,"satellites":45,"speed":59,"hex_longitude":"2d83fe00","hex_latitude":"0594c048","is_valid_coordinates":true} 
[2026-08-05 08:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189845504001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370368872613675008,"note":"Value kept but may cause issues"} 
[2026-08-05 08:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8932186149479284736,"note":"Value kept but may cause issues"} 
[2026-08-05 08:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785897840000,"timestamp_ms":1785897840000,"timestamp_seconds":1785897840,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfce6d80"} 
[2026-08-05 08:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189845504001,"66":27908,"142":206,"85":14592,"24":59,"16":370368872613675008,"45":-8932186149479284736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-08-05 08:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189845504001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:14:53] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-05 08:14:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370368872613675008,"km_value":370368872613675.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8932186149479284736,"description":"Unknown IO ID 45"} 
[2026-08-05 08:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189845504001,"power":27908,"unknown_142":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8932186149479284736}} 
[2026-08-05 08:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":150933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:14:53] local.INFO: GPS data processed {"connection_id":150933,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:14:53] local.INFO: Acknowledgment sent {"connection_id":150933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:15:15] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:15:15] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:15:15] local.INFO: IMEI packet received {"connection_id":148512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":148512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:15:16] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:15:16] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:15:16] local.INFO: IMEI packet received {"connection_id":148512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":148512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:15:21] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:15:21] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:15:21] local.INFO: IMEI packet received {"connection_id":148512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":148512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:15:21] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfce84f0012d83f0800594e070000601512d..."} 
[2026-08-05 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfce84f0012d83f0800594e070000601512d..."} 
[2026-08-05 08:15:21] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfce84f0012d83f0800594e070000601512d..."} 
[2026-08-05 08:15:21] local.INFO: Packet analysis {"connection_id":148512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfce"} 
[2026-08-05 08:15:21] local.INFO: Extracted packet for processing {"connection_id":148512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfce"} 
[2026-08-05 08:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763621504,"raw_latitude":93642864,"longitude_deg":76.3621504,"latitude_deg":9.3642864,"altitude":6,"angle":337,"satellites":45,"speed":59,"hex_longitude":"2d83f080","hex_latitude":"0594e070","is_valid_coordinates":true} 
[2026-08-05 08:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189847040001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370369306405371904,"note":"Value kept but may cause issues"} 
[2026-08-05 08:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8935704586686019584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785897846000,"timestamp_ms":1785897846000,"timestamp_seconds":1785897846,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfce84f0"} 
[2026-08-05 08:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:15: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-08-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:15: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-08-05 08:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:15: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-08-05 08:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189847040001,"66":27865,"142":206,"85":14592,"24":59,"16":370369306405371904,"45":-8935704586686019584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-08-05 08:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189847040001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:15:21] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-05 08:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370369306405371904,"km_value":370369306405371.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8935704586686019584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189847040001,"power":27865,"unknown_142":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8935704586686019584}} 
[2026-08-05 08:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":148512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:15:21] local.INFO: GPS data processed {"connection_id":148512,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:15:21] local.INFO: Acknowledgment sent {"connection_id":148512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:15:53] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfce9c60012d83e50005950178000601562d..."} 
[2026-08-05 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfce9c60012d83e50005950178000601562d..."} 
[2026-08-05 08:15:53] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfce9c60012d83e50005950178000601562d..."} 
[2026-08-05 08:15:53] local.INFO: Packet analysis {"connection_id":148512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfce"} 
[2026-08-05 08:15:53] local.INFO: Extracted packet for processing {"connection_id":148512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfce"} 
[2026-08-05 08:15:53] local.INFO: GPS Element Parsed {"raw_longitude":763618560,"raw_latitude":93651320,"longitude_deg":76.361856,"latitude_deg":9.365132,"altitude":6,"angle":342,"satellites":45,"speed":59,"hex_longitude":"2d83e500","hex_latitude":"05950178","is_valid_coordinates":true} 
[2026-08-05 08:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189848576001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370369740197068800,"note":"Value kept but may cause issues"} 
[2026-08-05 08:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939504498869506048,"note":"Value kept but may cause issues"} 
[2026-08-05 08:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785897852000,"timestamp_ms":1785897852000,"timestamp_seconds":1785897852,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfce9c60"} 
[2026-08-05 08:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189848576001,"66":27767,"142":206,"85":14592,"24":59,"16":370369740197068800,"45":-8939504498869506048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-08-05 08:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189848576001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:15:53] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-05 08:15:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370369740197068800,"km_value":370369740197068.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939504498869506048,"description":"Unknown IO ID 45"} 
[2026-08-05 08:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189848576001,"power":27767,"unknown_142":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8939504498869506048}} 
[2026-08-05 08:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":148512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:15:53] local.INFO: GPS data processed {"connection_id":148512,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:15:53] local.INFO: Acknowledgment sent {"connection_id":148512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:16:21] local.INFO: TCP Data received {"connection_id":148295,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:16:21] local.INFO: Processing buffer {"connection_id":148295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:16:21] local.INFO: IMEI packet received {"connection_id":148295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":148295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:16:21] local.INFO: TCP Data received {"connection_id":148295,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:16:21] local.INFO: Processing buffer {"connection_id":148295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:16:21] local.INFO: IMEI packet received {"connection_id":148295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":148295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:16:22] local.INFO: TCP Data received {"connection_id":148295,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcfa9e8012d836a4005967d60000601552e..."} 
[2026-08-05 08:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcfa9e8012d836a4005967d60000601552e..."} 
[2026-08-05 08:16:22] local.INFO: Processing buffer {"connection_id":148295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcfa9e8012d836a4005967d60000601552e..."} 
[2026-08-05 08:16:22] local.INFO: Packet analysis {"connection_id":148295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcf"} 
[2026-08-05 08:16:22] local.INFO: Extracted packet for processing {"connection_id":148295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcf"} 
[2026-08-05 08:16:22] local.INFO: GPS Element Parsed {"raw_longitude":763587136,"raw_latitude":93748576,"longitude_deg":76.3587136,"latitude_deg":9.3748576,"altitude":6,"angle":341,"satellites":46,"speed":59,"hex_longitude":"2d836a40","hex_latitude":"05967d60","is_valid_coordinates":true} 
[2026-08-05 08:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189866240001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370374696589328384,"note":"Value kept but may cause issues"} 
[2026-08-05 08:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8974548133445122048,"note":"Value kept but may cause issues"} 
[2026-08-05 08:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785897921000,"timestamp_ms":1785897921000,"timestamp_seconds":1785897921,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcfa9e8"} 
[2026-08-05 08:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189866240001,"66":27821,"18":206,"85":14592,"24":59,"16":370374696589328384,"45":-8974548133445122048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-05 08:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189866240001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:16:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-05 08:16:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370374696589328384,"km_value":370374696589328.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8974548133445122048,"description":"Unknown IO ID 45"} 
[2026-08-05 08:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189866240001,"power":27821,"unknown_18":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8974548133445122048}} 
[2026-08-05 08:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":148295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:16:22] local.INFO: GPS data processed {"connection_id":148295,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:16:22] local.INFO: Acknowledgment sent {"connection_id":148295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:16:26] local.INFO: TCP Data received {"connection_id":148295,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcfc540012d835d0005969f70000701502d..."} 
[2026-08-05 08:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcfc540012d835d0005969f70000701502d..."} 
[2026-08-05 08:16:26] local.INFO: Processing buffer {"connection_id":148295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcfc540012d835d0005969f70000701502d..."} 
[2026-08-05 08:16:26] local.INFO: Packet analysis {"connection_id":148295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcf"} 
[2026-08-05 08:16:26] local.INFO: Extracted packet for processing {"connection_id":148295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcf"} 
[2026-08-05 08:16:26] local.INFO: GPS Element Parsed {"raw_longitude":763583744,"raw_latitude":93757296,"longitude_deg":76.3583744,"latitude_deg":9.3757296,"altitude":7,"angle":336,"satellites":45,"speed":47,"hex_longitude":"2d835d00","hex_latitude":"05969f70","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189867776001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370375147560894464,"note":"Value kept but may cause issues"} 
[2026-08-05 08:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8977292514465849344,"note":"Value kept but may cause issues"} 
[2026-08-05 08:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785897928000,"timestamp_ms":1785897928000,"timestamp_seconds":1785897928,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcfc540"} 
[2026-08-05 08:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 08:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189867776001,"66":27919,"18":206,"85":14592,"24":47,"16":370375147560894464,"45":-8977292514465849344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-05 08:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189867776001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:16:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-05 08:16:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370375147560894464,"km_value":370375147560894.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8977292514465849344,"description":"Unknown IO ID 45"} 
[2026-08-05 08:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189867776001,"power":27919,"unknown_18":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8977292514465849344}} 
[2026-08-05 08:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":148295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:16:26] local.INFO: GPS data processed {"connection_id":148295,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:16:26] local.INFO: Acknowledgment sent {"connection_id":148295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:16:57] local.INFO: TCP Data received {"connection_id":148295,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcfe480012d834c400596c3800007014e2d..."} 
[2026-08-05 08:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcfe480012d834c400596c3800007014e2d..."} 
[2026-08-05 08:16:57] local.INFO: Processing buffer {"connection_id":148295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcfe480012d834c400596c3800007014e2d..."} 
[2026-08-05 08:16:57] local.INFO: Packet analysis {"connection_id":148295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcf"} 
[2026-08-05 08:16:57] local.INFO: Extracted packet for processing {"connection_id":148295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcf"} 
[2026-08-05 08:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763579456,"raw_latitude":93766528,"longitude_deg":76.3579456,"latitude_deg":9.3766528,"altitude":7,"angle":334,"satellites":45,"speed":53,"hex_longitude":"2d834c40","hex_latitude":"0596c380","is_valid_coordinates":true} 
[2026-08-05 08:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189869568001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370375637187166208,"note":"Value kept but may cause issues"} 
[2026-08-05 08:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8981022057905033216,"note":"Value kept but may cause issues"} 
[2026-08-05 08:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785897936000,"timestamp_ms":1785897936000,"timestamp_seconds":1785897936,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcfe480"} 
[2026-08-05 08:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 08:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189869568001,"66":27800,"18":206,"85":14592,"24":53,"16":370375637187166208,"45":-8981022057905033216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-05 08:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189869568001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:16:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-05 08:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370375637187166208,"km_value":370375637187166.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8981022057905033216,"description":"Unknown IO ID 45"} 
[2026-08-05 08:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189869568001,"power":27800,"unknown_18":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8981022057905033216}} 
[2026-08-05 08:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":148295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:16:57] local.INFO: GPS data processed {"connection_id":148295,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:16:57] local.INFO: Acknowledgment sent {"connection_id":148295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:17:16] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:17:16] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:17:16] local.INFO: IMEI packet received {"connection_id":148513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":148513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:17:29] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:17:29] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:17:29] local.INFO: IMEI packet received {"connection_id":148513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":148513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:17:30] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcfffd8012d833c800596e4c00007014f2e..."} 
[2026-08-05 08:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcfffd8012d833c800596e4c00007014f2e..."} 
[2026-08-05 08:17:30] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcfffd8012d833c800596e4c00007014f2e..."} 
[2026-08-05 08:17:30] local.INFO: Packet analysis {"connection_id":148513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcf"} 
[2026-08-05 08:17:30] local.INFO: Extracted packet for processing {"connection_id":148513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcf"} 
[2026-08-05 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763575424,"raw_latitude":93775040,"longitude_deg":76.3575424,"latitude_deg":9.377504,"altitude":7,"angle":335,"satellites":46,"speed":51,"hex_longitude":"2d833c80","hex_latitude":"0596e4c0","is_valid_coordinates":true} 
[2026-08-05 08:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189871616001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370376096748666880,"note":"Value kept but may cause issues"} 
[2026-08-05 08:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8985736763762573312,"note":"Value kept but may cause issues"} 
[2026-08-05 08:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785897943000,"timestamp_ms":1785897943000,"timestamp_seconds":1785897943,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcfffd8"} 
[2026-08-05 08:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 08:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189871616001,"66":27865,"18":206,"85":14592,"24":51,"16":370376096748666880,"45":-8985736763762573312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-05 08:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189871616001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:17:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-05 08:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370376096748666880,"km_value":370376096748666.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8985736763762573312,"description":"Unknown IO ID 45"} 
[2026-08-05 08:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189871616001,"power":27865,"unknown_18":206,"unknown_85":14592,"ignition":51,"odometer":null,"unknown_45":-8985736763762573312}} 
[2026-08-05 08:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":148513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:17:30] local.INFO: GPS data processed {"connection_id":148513,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:17:30] local.INFO: Acknowledgment sent {"connection_id":148513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:17:39] local.INFO: TCP Data received {"connection_id":150934,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:17:39] local.INFO: Processing buffer {"connection_id":150934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:17:39] local.INFO: IMEI packet received {"connection_id":150934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":150934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:17:44] local.INFO: TCP Data received {"connection_id":150934,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:17:44] local.INFO: Processing buffer {"connection_id":150934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:17:44] local.INFO: IMEI packet received {"connection_id":150934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":150934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:17:45] local.INFO: TCP Data received {"connection_id":150934,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcba690012d7a0e0005e469c8000900422c..."} 
[2026-08-05 08:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcba690012d7a0e0005e469c8000900422c..."} 
[2026-08-05 08:17:45] local.INFO: Processing buffer {"connection_id":150934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcba690012d7a0e0005e469c8000900422c..."} 
[2026-08-05 08:17:45] local.INFO: Packet analysis {"connection_id":150934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:17:45] local.INFO: Extracted packet for processing {"connection_id":150934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:17:45] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855368,"longitude_deg":76.2973696,"latitude_deg":9.8855368,"altitude":9,"angle":66,"satellites":44,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 08:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189795072001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608131584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785897658000,"timestamp_ms":1785897658000,"timestamp_seconds":1785897658,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcba690"} 
[2026-08-05 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-08-05 08:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-05 08:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 08:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189795072001,"66":13559,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608131584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189795072001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:17:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:17:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608131584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189795072001,"power":13559,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608131584}} 
[2026-08-05 08:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":150934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:17:45] local.INFO: GPS data processed {"connection_id":150934,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:17:45] local.INFO: Acknowledgment sent {"connection_id":150934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:18:15] local.INFO: TCP Data received {"connection_id":148296,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:18:15] local.INFO: Processing buffer {"connection_id":148296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:18:15] local.INFO: IMEI packet received {"connection_id":148296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":148296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:18:16] local.INFO: TCP Data received {"connection_id":150934,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcbf898012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcbf898012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:18:16] local.INFO: Processing buffer {"connection_id":150934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcbf898012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:18:16] local.INFO: Packet analysis {"connection_id":150934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:18:16] local.INFO: Extracted packet for processing {"connection_id":150934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcb"} 
[2026-08-05 08:18:16] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855368,"longitude_deg":76.2973696,"latitude_deg":9.8855368,"altitude":9,"angle":66,"satellites":43,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-05 08:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189800448001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608131584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785897679000,"timestamp_ms":1785897679000,"timestamp_seconds":1785897679,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcbf898"} 
[2026-08-05 08:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:18: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-08-05 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 08:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189800448001,"66":13493,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608131584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189800448001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:18:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608131584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189800448001,"power":13493,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608131584}} 
[2026-08-05 08:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":150934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:18:16] local.INFO: GPS data processed {"connection_id":150934,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:18:16] local.INFO: Acknowledgment sent {"connection_id":150934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:18:21] local.INFO: TCP Data received {"connection_id":148296,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:18:21] local.INFO: Processing buffer {"connection_id":148296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:18:21] local.INFO: IMEI packet received {"connection_id":148296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":148296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:18:22] local.INFO: TCP Data received {"connection_id":148296,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd01b30012d832d40059704c00007014f2c..."} 
[2026-08-05 08:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd01b30012d832d40059704c00007014f2c..."} 
[2026-08-05 08:18:22] local.INFO: Processing buffer {"connection_id":148296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd01b30012d832d40059704c00007014f2c..."} 
[2026-08-05 08:18:22] local.INFO: Packet analysis {"connection_id":148296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd0"} 
[2026-08-05 08:18:22] local.INFO: Extracted packet for processing {"connection_id":148296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd0"} 
[2026-08-05 08:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763571520,"raw_latitude":93783232,"longitude_deg":76.357152,"latitude_deg":9.3783232,"altitude":7,"angle":335,"satellites":44,"speed":41,"hex_longitude":"2d832d40","hex_latitude":"059704c0","is_valid_coordinates":true} 
[2026-08-05 08:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189873408001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370376534835331072,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8990169994643587072,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785897950000,"timestamp_ms":1785897950000,"timestamp_seconds":1785897950,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd01b30"} 
[2026-08-05 08:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189873408001,"66":27908,"18":206,"85":14592,"24":41,"16":370376534835331072,"45":-8990169994643587072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-05 08:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189873408001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:18:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-05 08:18:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370376534835331072,"km_value":370376534835331.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8990169994643587072,"description":"Unknown IO ID 45"} 
[2026-08-05 08:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189873408001,"power":27908,"unknown_18":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8990169994643587072}} 
[2026-08-05 08:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":148296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:18:22] local.INFO: GPS data processed {"connection_id":148296,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:18:22] local.INFO: Acknowledgment sent {"connection_id":148296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:18:44] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:18:44] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:18:44] local.INFO: IMEI packet received {"connection_id":148514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":148514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:18:49] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:18:49] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:18:49] local.INFO: IMEI packet received {"connection_id":148514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":148514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:18:50] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcc4aa0012d7a0e0005e469c80009004229..."} 
[2026-08-05 08:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcc4aa0012d7a0e0005e469c80009004229..."} 
[2026-08-05 08:18:50] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcc4aa0012d7a0e0005e469c80009004229..."} 
[2026-08-05 08:18:50] local.INFO: Packet analysis {"connection_id":148514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:18:50] local.INFO: Extracted packet for processing {"connection_id":148514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:18:50] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855368,"longitude_deg":76.2973696,"latitude_deg":9.8855368,"altitude":9,"angle":66,"satellites":41,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189805824001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608131584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785897700000,"timestamp_ms":1785897700000,"timestamp_seconds":1785897700,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcc4aa0"} 
[2026-08-05 08:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-05 08:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189805824001,"66":13678,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608131584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189805824001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:18:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:18:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608131584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189805824001,"power":13678,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608131584}} 
[2026-08-05 08:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":148514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:18:50] local.INFO: GPS data processed {"connection_id":148514,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:18:50] local.INFO: Acknowledgment sent {"connection_id":148514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:18:53] local.INFO: TCP Data received {"connection_id":148296,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd1f3d8012d829c0005985b08000801612e..."} 
[2026-08-05 08:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd1f3d8012d829c0005985b08000801612e..."} 
[2026-08-05 08:18:53] local.INFO: Processing buffer {"connection_id":148296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd1f3d8012d829c0005985b08000801612e..."} 
[2026-08-05 08:18:53] local.INFO: Packet analysis {"connection_id":148296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd1"} 
[2026-08-05 08:18:53] local.INFO: Extracted packet for processing {"connection_id":148296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd1"} 
[2026-08-05 08:18:53] local.INFO: GPS Element Parsed {"raw_longitude":763534336,"raw_latitude":93870856,"longitude_deg":76.3534336,"latitude_deg":9.3870856,"altitude":8,"angle":353,"satellites":46,"speed":37,"hex_longitude":"2d829c00","hex_latitude":"05985b08","is_valid_coordinates":true} 
[2026-08-05 08:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189904384001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370381160515108864,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033939353498945536,"note":"Value kept but may cause issues"} 
[2026-08-05 08:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785898071000,"timestamp_ms":1785898071000,"timestamp_seconds":1785898071,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd1f3d8"} 
[2026-08-05 08:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 08:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189904384001,"66":27919,"17":206,"85":14592,"24":37,"16":370381160515108864,"45":-9033939353498945536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-05 08:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189904384001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:18:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370381160515108864,"km_value":370381160515108.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033939353498945536,"description":"Unknown IO ID 45"} 
[2026-08-05 08:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189904384001,"power":27919,"axis_x":206,"unknown_85":14592,"ignition":37,"odometer":null,"unknown_45":-9033939353498945536}} 
[2026-08-05 08:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":148296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:18:53] local.INFO: GPS data processed {"connection_id":148296,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:18:53] local.INFO: Acknowledgment sent {"connection_id":148296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:19:15] local.INFO: TCP Data received {"connection_id":148515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:19:15] local.INFO: Processing buffer {"connection_id":148515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:19:15] local.INFO: IMEI packet received {"connection_id":148515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":148515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:19:20] local.INFO: TCP Data received {"connection_id":148515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:19:20] local.INFO: Processing buffer {"connection_id":148515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:19:20] local.INFO: IMEI packet received {"connection_id":148515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":148515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:19:20] local.INFO: TCP Data received {"connection_id":148515,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd21700012d82994005987ed0000801632d..."} 
[2026-08-05 08:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd21700012d82994005987ed0000801632d..."} 
[2026-08-05 08:19:20] local.INFO: Processing buffer {"connection_id":148515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd21700012d82994005987ed0000801632d..."} 
[2026-08-05 08:19:20] local.INFO: Packet analysis {"connection_id":148515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd2"} 
[2026-08-05 08:19:20] local.INFO: Extracted packet for processing {"connection_id":148515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd2"} 
[2026-08-05 08:19:20] local.INFO: GPS Element Parsed {"raw_longitude":763533632,"raw_latitude":93880016,"longitude_deg":76.3533632,"latitude_deg":9.3880016,"altitude":8,"angle":355,"satellites":45,"speed":39,"hex_longitude":"2d829940","hex_latitude":"05987ed0","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189906176001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370381602896740352,"note":"Value kept but may cause issues"} 
[2026-08-05 08:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035346728381118464,"note":"Value kept but may cause issues"} 
[2026-08-05 08:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785898080000,"timestamp_ms":1785898080000,"timestamp_seconds":1785898080,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd21700"} 
[2026-08-05 08:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 08:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:19: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-08-05 08:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189906176001,"66":27767,"17":206,"85":14592,"24":39,"16":370381602896740352,"45":-9035346728381118464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-05 08:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189906176001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370381602896740352,"km_value":370381602896740.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035346728381118464,"description":"Unknown IO ID 45"} 
[2026-08-05 08:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189906176001,"power":27767,"axis_x":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-9035346728381118464}} 
[2026-08-05 08:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":148515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:19:20] local.INFO: GPS data processed {"connection_id":148515,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:19:20] local.INFO: Acknowledgment sent {"connection_id":148515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:19:51] local.INFO: TCP Data received {"connection_id":148515,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd23a28012d8295c00598a188000b015e2d..."} 
[2026-08-05 08:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd23a28012d8295c00598a188000b015e2d..."} 
[2026-08-05 08:19:51] local.INFO: Processing buffer {"connection_id":148515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd23a28012d8295c00598a188000b015e2d..."} 
[2026-08-05 08:19:51] local.INFO: Packet analysis {"connection_id":148515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd2"} 
[2026-08-05 08:19:51] local.INFO: Extracted packet for processing {"connection_id":148515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd2"} 
[2026-08-05 08:19:51] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":93888904,"longitude_deg":76.3532736,"latitude_deg":9.3888904,"altitude":11,"angle":350,"satellites":45,"speed":41,"hex_longitude":"2d8295c0","hex_latitude":"0598a188","is_valid_coordinates":true} 
[2026-08-05 08:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189908480001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370382036688437248,"note":"Value kept but may cause issues"} 
[2026-08-05 08:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036120784564727808,"note":"Value kept but may cause issues"} 
[2026-08-05 08:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785898089000,"timestamp_ms":1785898089000,"timestamp_seconds":1785898089,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd23a28"} 
[2026-08-05 08:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 08:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189908480001,"66":27908,"17":206,"85":14592,"24":41,"16":370382036688437248,"45":-9036120784564727808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-05 08:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189908480001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:19:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370382036688437248,"km_value":370382036688437.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036120784564727808,"description":"Unknown IO ID 45"} 
[2026-08-05 08:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189908480001,"power":27908,"axis_x":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-9036120784564727808}} 
[2026-08-05 08:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":148515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:19:51] local.INFO: GPS data processed {"connection_id":148515,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:19:51] local.INFO: Acknowledgment sent {"connection_id":148515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:20:15] local.INFO: TCP Data received {"connection_id":148297,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:20:15] local.INFO: Processing buffer {"connection_id":148297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:20:15] local.INFO: IMEI packet received {"connection_id":148297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":148297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:20:21] local.INFO: TCP Data received {"connection_id":148297,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:20:21] local.INFO: Processing buffer {"connection_id":148297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:20:21] local.INFO: IMEI packet received {"connection_id":148297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":148297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:20:21] local.INFO: TCP Data received {"connection_id":148297,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd25d50012d828b800598c750000d015928..."} 
[2026-08-05 08:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd25d50012d828b800598c750000d015928..."} 
[2026-08-05 08:20:21] local.INFO: Processing buffer {"connection_id":148297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd25d50012d828b800598c750000d015928..."} 
[2026-08-05 08:20:21] local.INFO: Packet analysis {"connection_id":148297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd2"} 
[2026-08-05 08:20:21] local.INFO: Extracted packet for processing {"connection_id":148297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd2"} 
[2026-08-05 08:20:21] local.INFO: GPS Element Parsed {"raw_longitude":763530112,"raw_latitude":93898576,"longitude_deg":76.3530112,"latitude_deg":9.3898576,"altitude":13,"angle":345,"satellites":40,"speed":46,"hex_longitude":"2d828b80","hex_latitude":"0598c750","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189910784001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370382522019741696,"note":"Value kept but may cause issues"} 
[2026-08-05 08:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946980939776,"note":"Value kept but may cause issues"} 
[2026-08-05 08:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785898098000,"timestamp_ms":1785898098000,"timestamp_seconds":1785898098,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd25d50"} 
[2026-08-05 08:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:20: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-08-05 08: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-08-05 08:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:20: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-08-05 08:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189910784001,"66":27865,"19":206,"85":14592,"24":46,"16":370382522019741696,"45":-9037105946980939776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-05 08:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189910784001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:20:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-05 08:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370382522019741696,"km_value":370382522019741.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946980939776,"description":"Unknown IO ID 45"} 
[2026-08-05 08:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189910784001,"power":27865,"unknown_19":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-9037105946980939776}} 
[2026-08-05 08:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":148297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:20:21] local.INFO: GPS data processed {"connection_id":148297,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:20:21] local.INFO: Acknowledgment sent {"connection_id":148297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:20:58] local.INFO: TCP Data received {"connection_id":148297,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd3a958012d8279c0059a2108000801582b..."} 
[2026-08-05 08:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd3a958012d8279c0059a2108000801582b..."} 
[2026-08-05 08:20:58] local.INFO: Processing buffer {"connection_id":148297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd3a958012d8279c0059a2108000801582b..."} 
[2026-08-05 08:20:58] local.INFO: Packet analysis {"connection_id":148297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd3"} 
[2026-08-05 08:20:58] local.INFO: Extracted packet for processing {"connection_id":148297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd3"} 
[2026-08-05 08:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763525568,"raw_latitude":93987080,"longitude_deg":76.3525568,"latitude_deg":9.398708,"altitude":8,"angle":344,"satellites":43,"speed":46,"hex_longitude":"2d8279c0","hex_latitude":"059a2108","is_valid_coordinates":true} 
[2026-08-05 08:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189932800001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370386928656187392,"note":"Value kept but may cause issues"} 
[2026-08-05 08:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041820652818055168,"note":"Value kept but may cause issues"} 
[2026-08-05 08:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785898183000,"timestamp_ms":1785898183000,"timestamp_seconds":1785898183,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd3a958"} 
[2026-08-05 08:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 08:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189932800001,"66":27865,"177":206,"85":14592,"24":46,"16":370386928656187392,"45":-9041820652818055168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-05 08:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189932800001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:20:58] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-05 08:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370386928656187392,"km_value":370386928656187.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041820652818055168,"description":"Unknown IO ID 45"} 
[2026-08-05 08:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189932800001,"power":27865,"unknown_177":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-9041820652818055168}} 
[2026-08-05 08:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":148297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:20:58] local.INFO: GPS data processed {"connection_id":148297,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:20:58] local.INFO: Acknowledgment sent {"connection_id":148297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:21:15] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:21:15] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:21:15] local.INFO: IMEI packet received {"connection_id":148516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":148516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:21:20] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:21:20] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:21:20] local.INFO: IMEI packet received {"connection_id":148516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":148516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:21:20] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:21:20] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:21:20] local.INFO: IMEI packet received {"connection_id":148516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":148516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:21:21] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd3cc80012d826dc0059a4c28000801592a..."} 
[2026-08-05 08:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd3cc80012d826dc0059a4c28000801592a..."} 
[2026-08-05 08:21:21] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd3cc80012d826dc0059a4c28000801592a..."} 
[2026-08-05 08:21:21] local.INFO: Packet analysis {"connection_id":148516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd3"} 
[2026-08-05 08:21:21] local.INFO: Extracted packet for processing {"connection_id":148516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd3"} 
[2026-08-05 08:21:21] local.INFO: GPS Element Parsed {"raw_longitude":763522496,"raw_latitude":93998120,"longitude_deg":76.3522496,"latitude_deg":9.399812,"altitude":8,"angle":345,"satellites":42,"speed":54,"hex_longitude":"2d826dc0","hex_latitude":"059a4c28","is_valid_coordinates":true} 
[2026-08-05 08:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189934848001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370387482706968576,"note":"Value kept but may cause issues"} 
[2026-08-05 08:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044987246303705088,"note":"Value kept but may cause issues"} 
[2026-08-05 08:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785898192000,"timestamp_ms":1785898192000,"timestamp_seconds":1785898192,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd3cc80"} 
[2026-08-05 08:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:21: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-08-05 08:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189934848001,"66":27843,"177":206,"85":14592,"24":54,"16":370387482706968576,"45":-9044987246303705088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-05 08:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189934848001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:21:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-05 08:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370387482706968576,"km_value":370387482706968.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044987246303705088,"description":"Unknown IO ID 45"} 
[2026-08-05 08:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189934848001,"power":27843,"unknown_177":206,"unknown_85":14592,"ignition":54,"odometer":null,"unknown_45":-9044987246303705088}} 
[2026-08-05 08:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":148516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:21:21] local.INFO: GPS data processed {"connection_id":148516,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:21:21] local.INFO: Acknowledgment sent {"connection_id":148516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:21:26] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd3ebc0012d826500059a7040000901602b..."} 
[2026-08-05 08:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd3ebc0012d826500059a7040000901602b..."} 
[2026-08-05 08:21:26] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd3ebc0012d826500059a7040000901602b..."} 
[2026-08-05 08:21:26] local.INFO: Packet analysis {"connection_id":148516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd3"} 
[2026-08-05 08:21:26] local.INFO: Extracted packet for processing {"connection_id":148516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd3"} 
[2026-08-05 08:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763520256,"raw_latitude":94007360,"longitude_deg":76.3520256,"latitude_deg":9.400736,"altitude":9,"angle":352,"satellites":43,"speed":29,"hex_longitude":"2d826500","hex_latitude":"059a7040","is_valid_coordinates":true} 
[2026-08-05 08:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189937152001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370387942268469248,"note":"Value kept but may cause issues"} 
[2026-08-05 08:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9048364946021406720,"note":"Value kept but may cause issues"} 
[2026-08-05 08:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785898200000,"timestamp_ms":1785898200000,"timestamp_seconds":1785898200,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd3ebc0"} 
[2026-08-05 08:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 08:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189937152001,"66":27876,"177":206,"85":14592,"24":29,"16":370387942268469248,"45":-9048364946021406720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-05 08:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189937152001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:21:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-05 08:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370387942268469248,"km_value":370387942268469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9048364946021406720,"description":"Unknown IO ID 45"} 
[2026-08-05 08:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189937152001,"power":27876,"unknown_177":206,"unknown_85":14592,"ignition":29,"odometer":null,"unknown_45":-9048364946021406720}} 
[2026-08-05 08:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":148516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:21:26] local.INFO: GPS data processed {"connection_id":148516,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:21:26] local.INFO: Acknowledgment sent {"connection_id":148516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:21:57] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd43210012d825e40059a9460000a015b2d..."} 
[2026-08-05 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd43210012d825e40059a9460000a015b2d..."} 
[2026-08-05 08:21:57] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd43210012d825e40059a9460000a015b2d..."} 
[2026-08-05 08:21:57] local.INFO: Packet analysis {"connection_id":148516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd4"} 
[2026-08-05 08:21:57] local.INFO: Extracted packet for processing {"connection_id":148516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd4"} 
[2026-08-05 08:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763518528,"raw_latitude":94016608,"longitude_deg":76.3518528,"latitude_deg":9.4016608,"altitude":10,"angle":347,"satellites":45,"speed":37,"hex_longitude":"2d825e40","hex_latitude":"059a9460","is_valid_coordinates":true} 
[2026-08-05 08:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189939200001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370388401829969920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9050827852065259520,"note":"Value kept but may cause issues"} 
[2026-08-05 08:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785898218000,"timestamp_ms":1785898218000,"timestamp_seconds":1785898218,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd43210"} 
[2026-08-05 08:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189939200001,"66":27767,"177":206,"85":14592,"24":37,"16":370388401829969920,"45":-9050827852065259520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-05 08:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189939200001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:21:57] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-05 08:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370388401829969920,"km_value":370388401829969.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9050827852065259520,"description":"Unknown IO ID 45"} 
[2026-08-05 08:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189939200001,"power":27767,"unknown_177":206,"unknown_85":14592,"ignition":37,"odometer":null,"unknown_45":-9050827852065259520}} 
[2026-08-05 08:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":148516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:21:57] local.INFO: GPS data processed {"connection_id":148516,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:21:57] local.INFO: Acknowledgment sent {"connection_id":148516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:22:21] local.INFO: TCP Data received {"connection_id":148298,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:22:21] local.INFO: Processing buffer {"connection_id":148298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:22:21] local.INFO: IMEI packet received {"connection_id":148298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":148298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:22:22] local.INFO: TCP Data received {"connection_id":148298,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:22:22] local.INFO: Processing buffer {"connection_id":148298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:22:22] local.INFO: IMEI packet received {"connection_id":148298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":148298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:22:23] local.INFO: TCP Data received {"connection_id":148298,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd45538012d825580059ab9d80009015b2c..."} 
[2026-08-05 08:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd45538012d825580059ab9d80009015b2c..."} 
[2026-08-05 08:22:23] local.INFO: Processing buffer {"connection_id":148298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd45538012d825580059ab9d80009015b2c..."} 
[2026-08-05 08:22:23] local.INFO: Packet analysis {"connection_id":148298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd4"} 
[2026-08-05 08:22:23] local.INFO: Extracted packet for processing {"connection_id":148298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd4"} 
[2026-08-05 08:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763516288,"raw_latitude":94026200,"longitude_deg":76.3516288,"latitude_deg":9.40262,"altitude":9,"angle":347,"satellites":44,"speed":48,"hex_longitude":"2d825580","hex_latitude":"059ab9d8","is_valid_coordinates":true} 
[2026-08-05 08:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189943808001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370388878571339776,"note":"Value kept but may cause issues"} 
[2026-08-05 08:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9052727808155688960,"note":"Value kept but may cause issues"} 
[2026-08-05 08:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785898227000,"timestamp_ms":1785898227000,"timestamp_seconds":1785898227,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd45538"} 
[2026-08-05 08:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 08:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189943808001,"66":27952,"177":206,"85":14592,"24":48,"16":370388878571339776,"45":-9052727808155688960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-05 08:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189943808001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:22:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-05 08:22:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370388878571339776,"km_value":370388878571339.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9052727808155688960,"description":"Unknown IO ID 45"} 
[2026-08-05 08:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189943808001,"power":27952,"unknown_177":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-9052727808155688960}} 
[2026-08-05 08:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":148298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:22:23] local.INFO: GPS data processed {"connection_id":148298,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:22:23] local.INFO: Acknowledgment sent {"connection_id":148298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:22:26] local.INFO: TCP Data received {"connection_id":148298,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd47090012d824dc0059adce00009015c2a..."} 
[2026-08-05 08:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd47090012d824dc0059adce00009015c2a..."} 
[2026-08-05 08:22:26] local.INFO: Processing buffer {"connection_id":148298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd47090012d824dc0059adce00009015c2a..."} 
[2026-08-05 08:22:26] local.INFO: Packet analysis {"connection_id":148298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd4"} 
[2026-08-05 08:22:26] local.INFO: Extracted packet for processing {"connection_id":148298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd4"} 
[2026-08-05 08:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763514304,"raw_latitude":94035168,"longitude_deg":76.3514304,"latitude_deg":9.4035168,"altitude":9,"angle":348,"satellites":42,"speed":55,"hex_longitude":"2d824dc0","hex_latitude":"059adce0","is_valid_coordinates":true} 
[2026-08-05 08:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189946112001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370389320952971264,"note":"Value kept but may cause issues"} 
[2026-08-05 08:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055190714199451648,"note":"Value kept but may cause issues"} 
[2026-08-05 08:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785898234000,"timestamp_ms":1785898234000,"timestamp_seconds":1785898234,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd47090"} 
[2026-08-05 08:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-05 08:22:26] 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-08-05 08:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189946112001,"66":27463,"178":206,"85":14592,"24":55,"16":370389320952971264,"45":-9055190714199451648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-05 08:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189946112001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:22:26] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-05 08:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370389320952971264,"km_value":370389320952971.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055190714199451648,"description":"Unknown IO ID 45"} 
[2026-08-05 08:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189946112001,"power":27463,"unknown_178":206,"unknown_85":14592,"ignition":55,"odometer":null,"unknown_45":-9055190714199451648}} 
[2026-08-05 08:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":148298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:22:26] local.INFO: GPS data processed {"connection_id":148298,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:22:26] local.INFO: Acknowledgment sent {"connection_id":148298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:22:57] local.INFO: TCP Data received {"connection_id":148298,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd48be8012d824580059b03e0000a015c2e..."} 
[2026-08-05 08:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd48be8012d824580059b03e0000a015c2e..."} 
[2026-08-05 08:22:57] local.INFO: Processing buffer {"connection_id":148298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd48be8012d824580059b03e0000a015c2e..."} 
[2026-08-05 08:22:57] local.INFO: Packet analysis {"connection_id":148298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd4"} 
[2026-08-05 08:22:57] local.INFO: Extracted packet for processing {"connection_id":148298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd4"} 
[2026-08-05 08:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763512192,"raw_latitude":94045152,"longitude_deg":76.3512192,"latitude_deg":9.4045152,"altitude":10,"angle":348,"satellites":46,"speed":59,"hex_longitude":"2d824580","hex_latitude":"059b03e0","is_valid_coordinates":true} 
[2026-08-05 08:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189947904001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370389819169177600,"note":"Value kept but may cause issues"} 
[2026-08-05 08:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9057372145266663424,"note":"Value kept but may cause issues"} 
[2026-08-05 08:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785898241000,"timestamp_ms":1785898241000,"timestamp_seconds":1785898241,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd48be8"} 
[2026-08-05 08:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-05 08:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189947904001,"66":27821,"179":206,"85":14592,"24":59,"16":370389819169177600,"45":-9057372145266663424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-05 08:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189947904001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:22:57] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-05 08:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-05 08:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370389819169177600,"km_value":370389819169177.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9057372145266663424,"description":"Unknown IO ID 45"} 
[2026-08-05 08:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189947904001,"power":27821,"unknown_179":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-9057372145266663424}} 
[2026-08-05 08:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":148298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:22:57] local.INFO: GPS data processed {"connection_id":148298,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:22:57] local.INFO: Acknowledgment sent {"connection_id":148298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:23:16] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:23:16] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:23:16] local.INFO: IMEI packet received {"connection_id":148517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":148517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:23:16] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:23:16] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:23:16] local.INFO: IMEI packet received {"connection_id":148517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":148517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:23:17] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:23:17] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:23:17] local.INFO: IMEI packet received {"connection_id":148517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":148517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:23:18] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd629f8012d81fd00059c64e0000701482f..."} 
[2026-08-05 08:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd629f8012d81fd00059c64e0000701482f..."} 
[2026-08-05 08:23:18] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd629f8012d81fd00059c64e0000701482f..."} 
[2026-08-05 08:23:18] local.INFO: Packet analysis {"connection_id":148517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd6"} 
[2026-08-05 08:23:18] local.INFO: Extracted packet for processing {"connection_id":148517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd6"} 
[2026-08-05 08:23:18] local.INFO: GPS Element Parsed {"raw_longitude":763493632,"raw_latitude":94135520,"longitude_deg":76.3493632,"latitude_deg":9.413552,"altitude":7,"angle":328,"satellites":47,"speed":6,"hex_longitude":"2d81fd00","hex_latitude":"059c64e0","is_valid_coordinates":true} 
[2026-08-05 08:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189972480001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370394315999936512,"note":"Value kept but may cause issues"} 
[2026-08-05 08:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078834612216090624,"note":"Value kept but may cause issues"} 
[2026-08-05 08:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785898347000,"timestamp_ms":1785898347000,"timestamp_seconds":1785898347,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd629f8"} 
[2026-08-05 08:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 08:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189972480001,"66":27908,"192":206,"85":14336,"24":6,"16":370394315999936512,"45":-9078834612216090624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-05 08:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189972480001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:23:18] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-05 08:23:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370394315999936512,"km_value":370394315999936.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078834612216090624,"description":"Unknown IO ID 45"} 
[2026-08-05 08:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189972480001,"power":27908,"unknown_192":206,"unknown_85":14336,"ignition":6,"odometer":null,"unknown_45":-9078834612216090624}} 
[2026-08-05 08:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":148517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:23:18] local.INFO: GPS data processed {"connection_id":148517,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:23:18] local.INFO: Acknowledgment sent {"connection_id":148517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:23:50] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd64168012d81fb40059c6720000701382f..."} 
[2026-08-05 08:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd64168012d81fb40059c6720000701382f..."} 
[2026-08-05 08:23:50] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd64168012d81fb40059c6720000701382f..."} 
[2026-08-05 08:23:50] local.INFO: Packet analysis {"connection_id":148517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd6"} 
[2026-08-05 08:23:50] local.INFO: Extracted packet for processing {"connection_id":148517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd6"} 
[2026-08-05 08:23:50] local.INFO: GPS Element Parsed {"raw_longitude":763493184,"raw_latitude":94136096,"longitude_deg":76.3493184,"latitude_deg":9.4136096,"altitude":7,"angle":312,"satellites":47,"speed":10,"hex_longitude":"2d81fb40","hex_latitude":"059c6720","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189976832001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370394350359674880,"note":"Value kept but may cause issues"} 
[2026-08-05 08:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080101249610358784,"note":"Value kept but may cause issues"} 
[2026-08-05 08:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785898353000,"timestamp_ms":1785898353000,"timestamp_seconds":1785898353,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd64168"} 
[2026-08-05 08:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:23: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-08-05 08:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189976832001,"66":27800,"192":206,"85":14336,"24":10,"16":370394350359674880,"45":-9080101249610358784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-05 08:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189976832001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:23:50] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-05 08:23:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370394350359674880,"km_value":370394350359674.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080101249610358784,"description":"Unknown IO ID 45"} 
[2026-08-05 08:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189976832001,"power":27800,"unknown_192":206,"unknown_85":14336,"ignition":10,"odometer":null,"unknown_45":-9080101249610358784}} 
[2026-08-05 08:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":148517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:23:50] local.INFO: GPS data processed {"connection_id":148517,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:23:50] local.INFO: Acknowledgment sent {"connection_id":148517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:24:16] local.INFO: TCP Data received {"connection_id":150935,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:24:16] local.INFO: Processing buffer {"connection_id":150935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:24:16] local.INFO: IMEI packet received {"connection_id":150935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":150935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:24:17] local.INFO: TCP Data received {"connection_id":150935,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:24:17] local.INFO: Processing buffer {"connection_id":150935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:24:17] local.INFO: IMEI packet received {"connection_id":150935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":150935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:24:21] local.INFO: TCP Data received {"connection_id":150935,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:24:21] local.INFO: Processing buffer {"connection_id":150935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:24:21] local.INFO: IMEI packet received {"connection_id":150935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":150935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:24:21] local.INFO: TCP Data received {"connection_id":150935,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd65108012d81f880059c6a200007014e2d..."} 
[2026-08-05 08:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd65108012d81f880059c6a200007014e2d..."} 
[2026-08-05 08:24:21] local.INFO: Processing buffer {"connection_id":150935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd65108012d81f880059c6a200007014e2d..."} 
[2026-08-05 08:24:21] local.INFO: Packet analysis {"connection_id":150935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd6"} 
[2026-08-05 08:24:21] local.INFO: Extracted packet for processing {"connection_id":150935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd6"} 
[2026-08-05 08:24:21] local.INFO: GPS Element Parsed {"raw_longitude":763492480,"raw_latitude":94136864,"longitude_deg":76.349248,"latitude_deg":9.4136864,"altitude":7,"angle":334,"satellites":45,"speed":11,"hex_longitude":"2d81f880","hex_latitude":"059c6a20","is_valid_coordinates":true} 
[2026-08-05 08:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189978368001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370394401899282432,"note":"Value kept but may cause issues"} 
[2026-08-05 08:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080593830819454976,"note":"Value kept but may cause issues"} 
[2026-08-05 08:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785898357000,"timestamp_ms":1785898357000,"timestamp_seconds":1785898357,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd65108"} 
[2026-08-05 08:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 08:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:24: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-08-05 08:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189978368001,"66":27832,"192":206,"85":14336,"24":11,"16":370394401899282432,"45":-9080593830819454976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-05 08:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189978368001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:24:21] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-05 08:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370394401899282432,"km_value":370394401899282.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080593830819454976,"description":"Unknown IO ID 45"} 
[2026-08-05 08:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189978368001,"power":27832,"unknown_192":206,"unknown_85":14336,"ignition":11,"odometer":null,"unknown_45":-9080593830819454976}} 
[2026-08-05 08:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":150935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:24:21] local.INFO: GPS data processed {"connection_id":150935,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:24:21] local.INFO: Acknowledgment sent {"connection_id":150935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:24:26] local.INFO: TCP Data received {"connection_id":150935,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd658d8012d81f7c0059c6cd00007015c2e..."} 
[2026-08-05 08:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd658d8012d81f7c0059c6cd00007015c2e..."} 
[2026-08-05 08:24:26] local.INFO: Processing buffer {"connection_id":150935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd658d8012d81f7c0059c6cd00007015c2e..."} 
[2026-08-05 08:24:26] local.INFO: Packet analysis {"connection_id":150935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd6"} 
[2026-08-05 08:24:26] local.INFO: Extracted packet for processing {"connection_id":150935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd6"} 
[2026-08-05 08:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763492288,"raw_latitude":94137552,"longitude_deg":76.3492288,"latitude_deg":9.4137552,"altitude":7,"angle":348,"satellites":46,"speed":16,"hex_longitude":"2d81f7c0","hex_latitude":"059c6cd0","is_valid_coordinates":true} 
[2026-08-05 08:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189979392001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370394436259020800,"note":"Value kept but may cause issues"} 
[2026-08-05 08:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9081367887005212672,"note":"Value kept but may cause issues"} 
[2026-08-05 08:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785898359000,"timestamp_ms":1785898359000,"timestamp_seconds":1785898359,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd658d8"} 
[2026-08-05 08:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-05 08:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189979392001,"66":27876,"192":206,"85":14336,"24":16,"16":370394436259020800,"45":-9081367887005212672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-05 08:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189979392001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:24:26] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-05 08:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370394436259020800,"km_value":370394436259020.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9081367887005212672,"description":"Unknown IO ID 45"} 
[2026-08-05 08:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189979392001,"power":27876,"unknown_192":206,"unknown_85":14336,"ignition":16,"odometer":null,"unknown_45":-9081367887005212672}} 
[2026-08-05 08:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":150935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:24:26] local.INFO: GPS data processed {"connection_id":150935,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:24:26] local.INFO: Acknowledgment sent {"connection_id":150935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:24:57] local.INFO: TCP Data received {"connection_id":150935,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd6a6f8012d81ee40059c8f100008015a2d..."} 
[2026-08-05 08:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd6a6f8012d81ee40059c8f100008015a2d..."} 
[2026-08-05 08:24:57] local.INFO: Processing buffer {"connection_id":150935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd6a6f8012d81ee40059c8f100008015a2d..."} 
[2026-08-05 08:24:57] local.INFO: Packet analysis {"connection_id":150935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd6"} 
[2026-08-05 08:24:57] local.INFO: Extracted packet for processing {"connection_id":150935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd6"} 
[2026-08-05 08:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763489856,"raw_latitude":94146320,"longitude_deg":76.3489856,"latitude_deg":9.414632,"altitude":8,"angle":346,"satellites":45,"speed":23,"hex_longitude":"2d81ee40","hex_latitude":"059c8f10","is_valid_coordinates":true} 
[2026-08-05 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-08-05 08:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189979904001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370394878640652288,"note":"Value kept but may cause issues"} 
[2026-08-05 08:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9081578993237569536,"note":"Value kept but may cause issues"} 
[2026-08-05 08:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785898379000,"timestamp_ms":1785898379000,"timestamp_seconds":1785898379,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd6a6f8"} 
[2026-08-05 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-08-05 08:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 08:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189979904001,"66":27919,"192":206,"85":14336,"24":23,"16":370394878640652288,"45":-9081578993237569536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-05 08:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189979904001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:24:57] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-05 08:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370394878640652288,"km_value":370394878640652.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9081578993237569536,"description":"Unknown IO ID 45"} 
[2026-08-05 08:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189979904001,"power":27919,"unknown_192":206,"unknown_85":14336,"ignition":23,"odometer":null,"unknown_45":-9081578993237569536}} 
[2026-08-05 08:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":150935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:24:57] local.INFO: GPS data processed {"connection_id":150935,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:24:57] local.INFO: Acknowledgment sent {"connection_id":150935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:25:15] local.INFO: TCP Data received {"connection_id":148299,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:15] local.INFO: Processing buffer {"connection_id":148299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:15] local.INFO: IMEI packet received {"connection_id":148299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":148299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:25:15] local.INFO: TCP Data received {"connection_id":148299,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:15] local.INFO: Processing buffer {"connection_id":148299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:15] local.INFO: IMEI packet received {"connection_id":148299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":148299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:25:18] local.INFO: TCP Data received {"connection_id":148299,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:18] local.INFO: Processing buffer {"connection_id":148299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:18] local.INFO: IMEI packet received {"connection_id":148299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":148299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:25:20] local.INFO: TCP Data received {"connection_id":148299,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:20] local.INFO: Processing buffer {"connection_id":148299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:25:20] local.INFO: IMEI packet received {"connection_id":148299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":148299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:29:49] local.INFO: TCP Data received {"connection_id":149519,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:29:49] local.INFO: Processing buffer {"connection_id":149519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:29:49] local.INFO: IMEI packet received {"connection_id":149519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":149519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:29:54] local.INFO: TCP Data received {"connection_id":149519,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:29:54] local.INFO: Processing buffer {"connection_id":149519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:29:54] local.INFO: IMEI packet received {"connection_id":149519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":149519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:29:55] local.INFO: TCP Data received {"connection_id":149519,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcceeb0012d7a0e0005e469c80009004228..."} 
[2026-08-05 08:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcceeb0012d7a0e0005e469c80009004228..."} 
[2026-08-05 08:29:55] local.INFO: Processing buffer {"connection_id":149519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcceeb0012d7a0e0005e469c80009004228..."} 
[2026-08-05 08:29:55] local.INFO: Packet analysis {"connection_id":149519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:29:55] local.INFO: Extracted packet for processing {"connection_id":149519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcc"} 
[2026-08-05 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855368,"longitude_deg":76.2973696,"latitude_deg":9.8855368,"altitude":9,"angle":66,"satellites":40,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-05 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189816576001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608131584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785897742000,"timestamp_ms":1785897742000,"timestamp_seconds":1785897742,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcceeb0"} 
[2026-08-05 08:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618137,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3486167160,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7468903322645168128,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477473,"corrected_to":0} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3411314689,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039055457,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":589890,"corrected_to":0} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163410410032725,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832033280,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":122,"raw_value":234193659170914316,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-05 08:29:55] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,89,159,74,45,105,9,41,10,66,248,43,166,1,240,247,227,207,228,4,113,205,2,14,200,42,239,52,152,5,11,6,122,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":247,"original":13477473,"validated":0},{"io_id":205,"original":2791375054,"validated":0},{"io_id":200,"original":589890,"validated":0}]} 
[2026-08-05 08:29:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648591085907476480,"timestamp_seconds":648591085907476.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 08:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:29:55] 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-08-05 08:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189816576001,"66":13656,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608131584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189816576001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:29:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608131584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189816576001,"power":13656,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608131584}} 
[2026-08-05 08:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":149519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:29:55] local.INFO: GPS data processed {"connection_id":149519,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:29:55] local.INFO: Acknowledgment sent {"connection_id":149519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:30:21] local.INFO: TCP Data received {"connection_id":149520,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:30:21] local.INFO: Processing buffer {"connection_id":149520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:30:21] local.INFO: IMEI packet received {"connection_id":149520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":149520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:30:22] local.INFO: TCP Data received {"connection_id":149520,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfdbc390012d80eec005a169480008015d2b..."} 
[2026-08-05 08:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfdbc390012d80eec005a169480008015d2b..."} 
[2026-08-05 08:30:22] local.INFO: Processing buffer {"connection_id":149520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfdbc390012d80eec005a169480008015d2b..."} 
[2026-08-05 08:30:22] local.INFO: Packet analysis {"connection_id":149520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfdb"} 
[2026-08-05 08:30:22] local.INFO: Extracted packet for processing {"connection_id":149520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfdb"} 
[2026-08-05 08:30:22] local.INFO: GPS Element Parsed {"raw_longitude":763424448,"raw_latitude":94464328,"longitude_deg":76.3424448,"latitude_deg":9.4464328,"altitude":8,"angle":349,"satellites":43,"speed":18,"hex_longitude":"2d80eec0","hex_latitude":"05a16948","is_valid_coordinates":true} 
[2026-08-05 08:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190067968001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370410675530366976,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154129168403400704,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785898714000,"timestamp_ms":1785898714000,"timestamp_seconds":1785898714,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfdbc390"} 
[2026-08-05 08:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 08:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190067968001,"66":27908,"82":206,"85":14336,"24":18,"16":370410675530366976,"45":-9154129168403400704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-05 08:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190067968001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:30:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-05 08:30:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370410675530366976,"km_value":370410675530367.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154129168403400704,"description":"Unknown IO ID 45"} 
[2026-08-05 08:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190067968001,"power":27908,"unknown_82":206,"unknown_85":14336,"ignition":18,"odometer":null,"unknown_45":-9154129168403400704}} 
[2026-08-05 08:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":149520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:30:22] local.INFO: GPS data processed {"connection_id":149520,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:30:22] local.INFO: Acknowledgment sent {"connection_id":149520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:30:26] local.INFO: TCP Data received {"connection_id":149519,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcd40b8012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcd40b8012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:30:26] local.INFO: Processing buffer {"connection_id":149519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcd40b8012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:30:26] local.INFO: Packet analysis {"connection_id":149519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcd"} 
[2026-08-05 08:30:26] local.INFO: Extracted packet for processing {"connection_id":149519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcd"} 
[2026-08-05 08:30:26] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855368,"longitude_deg":76.2973696,"latitude_deg":9.8855368,"altitude":9,"angle":66,"satellites":43,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-05 08:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189821952001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608131584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785897763000,"timestamp_ms":1785897763000,"timestamp_seconds":1785897763,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcd40b8"} 
[2026-08-05 08:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 08:30: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-08-05 08:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:30:26] 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-08-05 08:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189821952001,"66":13515,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608131584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189821952001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:30:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608131584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189821952001,"power":13515,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608131584}} 
[2026-08-05 08:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":149519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:30:26] local.INFO: GPS data processed {"connection_id":149519,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:30:26] local.INFO: Acknowledgment sent {"connection_id":149519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:30:39] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:30:39] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:30:39] local.INFO: IMEI packet received {"connection_id":148520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":148520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:30:44] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:30:44] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:30:44] local.INFO: IMEI packet received {"connection_id":148520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":148520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:30:44] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcd5440012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcd5440012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:30:44] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcd5440012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:30:44] local.INFO: Packet analysis {"connection_id":148520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcd"} 
[2026-08-05 08:30:44] local.INFO: Extracted packet for processing {"connection_id":148520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcd"} 
[2026-08-05 08:30:44] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855368,"longitude_deg":76.2973696,"latitude_deg":9.8855368,"altitude":9,"angle":66,"satellites":43,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-05 08:30: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-08-05 08:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189827328001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608131584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785897768000,"timestamp_ms":1785897768000,"timestamp_seconds":1785897768,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcd5440"} 
[2026-08-05 08:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-05 08:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189827328001,"66":13624,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608131584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189827328001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608131584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189827328001,"power":13624,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608131584}} 
[2026-08-05 08:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":148520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:30:45] local.INFO: GPS data processed {"connection_id":148520,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:30:45] local.INFO: Acknowledgment sent {"connection_id":148520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:30:53] local.INFO: TCP Data received {"connection_id":149520,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfdc1598012d80e9c005a184e80008015c30..."} 
[2026-08-05 08:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfdc1598012d80e9c005a184e80008015c30..."} 
[2026-08-05 08:30:53] local.INFO: Processing buffer {"connection_id":149520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfdc1598012d80e9c005a184e80008015c30..."} 
[2026-08-05 08:30:53] local.INFO: Packet analysis {"connection_id":149520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfdc"} 
[2026-08-05 08:30:53] local.INFO: Extracted packet for processing {"connection_id":149520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfdc"} 
[2026-08-05 08:30:53] local.INFO: GPS Element Parsed {"raw_longitude":763423168,"raw_latitude":94471400,"longitude_deg":76.3423168,"latitude_deg":9.44714,"altitude":8,"angle":348,"satellites":48,"speed":24,"hex_longitude":"2d80e9c0","hex_latitude":"05a184e8","is_valid_coordinates":true} 
[2026-08-05 08:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190070784001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370411027717685248,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9156169861982238720,"note":"Value kept but may cause issues"} 
[2026-08-05 08:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785898735000,"timestamp_ms":1785898735000,"timestamp_seconds":1785898735,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfdc1598"} 
[2026-08-05 08:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190070784001,"66":27843,"82":206,"85":14336,"24":24,"16":370411027717685248,"45":-9156169861982238720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-05 08:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190070784001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:30:53] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-05 08:30:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370411027717685248,"km_value":370411027717685.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9156169861982238720,"description":"Unknown IO ID 45"} 
[2026-08-05 08:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190070784001,"power":27843,"unknown_82":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":-9156169861982238720}} 
[2026-08-05 08:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":149520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:30:53] local.INFO: GPS data processed {"connection_id":149520,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:30:53] local.INFO: Acknowledgment sent {"connection_id":149520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:31:15] local.INFO: TCP Data received {"connection_id":149521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:15] local.INFO: Processing buffer {"connection_id":149521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:15] local.INFO: IMEI packet received {"connection_id":149521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":149521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:31:15] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcd5440012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcd5440012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:31:15] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcd5440012d7a0e0005e469c8000900422b..."} 
[2026-08-05 08:31:15] local.INFO: Packet analysis {"connection_id":148520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcd"} 
[2026-08-05 08:31:15] local.INFO: Extracted packet for processing {"connection_id":148520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcd"} 
[2026-08-05 08:31:15] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855368,"longitude_deg":76.2973696,"latitude_deg":9.8855368,"altitude":9,"angle":66,"satellites":43,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-05 08:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189828608001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608131584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785897768000,"timestamp_ms":1785897768000,"timestamp_seconds":1785897768,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcd5440"} 
[2026-08-05 08:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08: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-08-05 08:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-05 08:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189828608001,"66":13624,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608131584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189828608001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608131584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189828608001,"power":13624,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608131584}} 
[2026-08-05 08:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":148520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:31:15] local.INFO: GPS data processed {"connection_id":148520,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:31:15] local.INFO: Acknowledgment sent {"connection_id":148520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:31:19] local.INFO: TCP Data received {"connection_id":149521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:19] local.INFO: Processing buffer {"connection_id":149521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:19] local.INFO: IMEI packet received {"connection_id":149521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":149521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:31:19] local.INFO: TCP Data received {"connection_id":149521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:19] local.INFO: Processing buffer {"connection_id":149521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:19] local.INFO: IMEI packet received {"connection_id":149521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":149521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:31:20] local.INFO: TCP Data received {"connection_id":149521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:20] local.INFO: Processing buffer {"connection_id":149521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:31:20] local.INFO: IMEI packet received {"connection_id":149521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":149521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:31:21] local.INFO: TCP Data received {"connection_id":149521,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfdc4860012d80e2c005a1a7580008015d2f..."} 
[2026-08-05 08:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfdc4860012d80e2c005a1a7580008015d2f..."} 
[2026-08-05 08:31:21] local.INFO: Processing buffer {"connection_id":149521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfdc4860012d80e2c005a1a7580008015d2f..."} 
[2026-08-05 08:31:21] local.INFO: Packet analysis {"connection_id":149521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfdc"} 
[2026-08-05 08:31:21] local.INFO: Extracted packet for processing {"connection_id":149521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfdc"} 
[2026-08-05 08:31:21] local.INFO: GPS Element Parsed {"raw_longitude":763421376,"raw_latitude":94480216,"longitude_deg":76.3421376,"latitude_deg":9.4480216,"altitude":8,"angle":349,"satellites":47,"speed":30,"hex_longitude":"2d80e2c0","hex_latitude":"05a1a758","is_valid_coordinates":true} 
[2026-08-05 08:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190076160001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370411465804349440,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9157577236863981568,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785898748000,"timestamp_ms":1785898748000,"timestamp_seconds":1785898748,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfdc4860"} 
[2026-08-05 08:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 08:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:31: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-08-05 08:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190076160001,"66":27919,"82":206,"85":14336,"24":30,"16":370411465804349440,"45":-9157577236863981568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-05 08:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190076160001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:31:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-05 08:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370411465804349440,"km_value":370411465804349.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9157577236863981568,"description":"Unknown IO ID 45"} 
[2026-08-05 08:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190076160001,"power":27919,"unknown_82":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":-9157577236863981568}} 
[2026-08-05 08:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":149521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:31:21] local.INFO: GPS data processed {"connection_id":149521,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:31:21] local.INFO: Acknowledgment sent {"connection_id":149521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:31:43] local.INFO: TCP Data received {"connection_id":150938,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:31:43] local.INFO: Processing buffer {"connection_id":150938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:31:43] local.INFO: IMEI packet received {"connection_id":150938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":150938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:31:48] local.INFO: TCP Data received {"connection_id":150938,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:31:48] local.INFO: Processing buffer {"connection_id":150938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:31:48] local.INFO: IMEI packet received {"connection_id":150938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":150938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:31:49] local.INFO: TCP Data received {"connection_id":150938,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcd6bb0012d7a0e0005e469c8000900422a..."} 
[2026-08-05 08:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcd6bb0012d7a0e0005e469c8000900422a..."} 
[2026-08-05 08:31:49] local.INFO: Processing buffer {"connection_id":150938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcd6bb0012d7a0e0005e469c8000900422a..."} 
[2026-08-05 08:31:49] local.INFO: Packet analysis {"connection_id":150938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcd"} 
[2026-08-05 08:31:49] local.INFO: Extracted packet for processing {"connection_id":150938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcd"} 
[2026-08-05 08:31:49] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855368,"longitude_deg":76.2973696,"latitude_deg":9.8855368,"altitude":9,"angle":66,"satellites":42,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-05 08:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189828608001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608131584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785897774000,"timestamp_ms":1785897774000,"timestamp_seconds":1785897774,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcd6bb0"} 
[2026-08-05 08:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08: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-08-05 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-05 08:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189828608001,"66":13624,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608131584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189828608001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:31:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:31:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608131584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189828608001,"power":13624,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608131584}} 
[2026-08-05 08:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":150938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:31:49] local.INFO: GPS data processed {"connection_id":150938,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:31:49] local.INFO: Acknowledgment sent {"connection_id":150938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:31:54] local.INFO: TCP Data received {"connection_id":149521,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfdc7358012d80dc0005a1c9980008015c30..."} 
[2026-08-05 08:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfdc7358012d80dc0005a1c9980008015c30..."} 
[2026-08-05 08:31:54] local.INFO: Processing buffer {"connection_id":149521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfdc7358012d80dc0005a1c9980008015c30..."} 
[2026-08-05 08:31:54] local.INFO: Packet analysis {"connection_id":149521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfdc"} 
[2026-08-05 08:31:54] local.INFO: Extracted packet for processing {"connection_id":149521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfdc"} 
[2026-08-05 08:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763419648,"raw_latitude":94488984,"longitude_deg":76.3419648,"latitude_deg":9.4488984,"altitude":8,"angle":348,"satellites":48,"speed":32,"hex_longitude":"2d80dc00","hex_latitude":"05a1c998","is_valid_coordinates":true} 
[2026-08-05 08:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190079488001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370411899596046336,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159547561698699264,"note":"Value kept but may cause issues"} 
[2026-08-05 08:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785898759000,"timestamp_ms":1785898759000,"timestamp_seconds":1785898759,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfdc7358"} 
[2026-08-05 08:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 08:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190079488001,"66":27995,"82":206,"85":14336,"24":32,"16":370411899596046336,"45":-9159547561698699264},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-05 08:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190079488001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:31:54] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-05 08:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370411899596046336,"km_value":370411899596046.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159547561698699264,"description":"Unknown IO ID 45"} 
[2026-08-05 08:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190079488001,"power":27995,"unknown_82":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9159547561698699264}} 
[2026-08-05 08:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":149521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:31:54] local.INFO: GPS data processed {"connection_id":149521,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:31:54] local.INFO: Acknowledgment sent {"connection_id":149521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:32:20] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:32:20] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:32:20] local.INFO: IMEI packet received {"connection_id":148521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":148521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:32:20] local.INFO: TCP Data received {"connection_id":150938,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfcd6bb0012d7a0e0005e469c8000900422a..."} 
[2026-08-05 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfcd6bb0012d7a0e0005e469c8000900422a..."} 
[2026-08-05 08:32:20] local.INFO: Processing buffer {"connection_id":150938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfcd6bb0012d7a0e0005e469c8000900422a..."} 
[2026-08-05 08:32:20] local.INFO: Packet analysis {"connection_id":150938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfcd"} 
[2026-08-05 08:32:20] local.INFO: Extracted packet for processing {"connection_id":150938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfcd"} 
[2026-08-05 08:32:20] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855368,"longitude_deg":76.2973696,"latitude_deg":9.8855368,"altitude":9,"angle":66,"satellites":42,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-05 08:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189830144001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608131584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785897774000,"timestamp_ms":1785897774000,"timestamp_seconds":1785897774,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfcd6bb0"} 
[2026-08-05 08:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08: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-08-05 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-05 08:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189830144001,"66":13624,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608131584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189830144001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608131584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189830144001,"power":13624,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608131584}} 
[2026-08-05 08:32:20] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:32:20] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:32:20] local.INFO: IMEI packet received {"connection_id":148521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":148521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":150938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:32:20] local.INFO: GPS data processed {"connection_id":150938,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:32:20] local.INFO: Acknowledgment sent {"connection_id":150938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:32:26] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:32:26] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:32:26] local.INFO: IMEI packet received {"connection_id":148521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":148521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:32:27] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfde24f0012d80a40005a310200008015f2c..."} 
[2026-08-05 08:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfde24f0012d80a40005a310200008015f2c..."} 
[2026-08-05 08:32:27] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfde24f0012d80a40005a310200008015f2c..."} 
[2026-08-05 08:32:27] local.INFO: Packet analysis {"connection_id":148521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfde"} 
[2026-08-05 08:32:27] local.INFO: Extracted packet for processing {"connection_id":148521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfde"} 
[2026-08-05 08:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763405312,"raw_latitude":94572576,"longitude_deg":76.3405312,"latitude_deg":9.4572576,"altitude":8,"angle":351,"satellites":44,"speed":54,"hex_longitude":"2d80a400","hex_latitude":"05a31020","is_valid_coordinates":true} 
[2026-08-05 08:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190108672001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370416022764650496,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175239791629228032,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785898870000,"timestamp_ms":1785898870000,"timestamp_seconds":1785898870,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfde24f0"} 
[2026-08-05 08:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190108672001,"66":27745,"17":206,"85":14336,"24":54,"16":370416022764650496,"45":-9175239791629228032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-05 08:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190108672001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370416022764650496,"km_value":370416022764650.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175239791629228032,"description":"Unknown IO ID 45"} 
[2026-08-05 08:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190108672001,"power":27745,"axis_x":206,"unknown_85":14336,"ignition":54,"odometer":null,"unknown_45":-9175239791629228032}} 
[2026-08-05 08:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":148521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:32:27] local.INFO: GPS data processed {"connection_id":148521,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:32:27] local.INFO: Acknowledgment sent {"connection_id":148521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:32:43] local.INFO: TCP Data received {"connection_id":149522,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:32:44] local.INFO: Processing buffer {"connection_id":149522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:32:44] local.INFO: IMEI packet received {"connection_id":149522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":149522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:32:49] local.INFO: TCP Data received {"connection_id":149522,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:32:49] local.INFO: Processing buffer {"connection_id":149522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:32:49] local.INFO: IMEI packet received {"connection_id":149522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":149522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:32:50] local.INFO: TCP Data received {"connection_id":149522,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd5ef60012d7a0e0005e469d8000900422c..."} 
[2026-08-05 08:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd5ef60012d7a0e0005e469d8000900422c..."} 
[2026-08-05 08:32:50] local.INFO: Processing buffer {"connection_id":149522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd5ef60012d7a0e0005e469d8000900422c..."} 
[2026-08-05 08:32:50] local.INFO: Packet analysis {"connection_id":149522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd5"} 
[2026-08-05 08:32:50] local.INFO: Extracted packet for processing {"connection_id":149522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd5"} 
[2026-08-05 08:32:50] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855384,"longitude_deg":76.2973696,"latitude_deg":9.8855384,"altitude":9,"angle":66,"satellites":44,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189830144001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608131584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785898332000,"timestamp_ms":1785898332000,"timestamp_seconds":1785898332,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd5ef60"} 
[2026-08-05 08:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:32: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-08-05 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-05 08:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189830144001,"66":2231,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608131584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189830144001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:32:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:32:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608131584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189830144001,"power":2231,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608131584}} 
[2026-08-05 08:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":149522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:32:50] local.INFO: GPS data processed {"connection_id":149522,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:32:50] local.INFO: Acknowledgment sent {"connection_id":149522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:32:58] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfde4048012d809e8005a336e80008015f2a..."} 
[2026-08-05 08:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfde4048012d809e8005a336e80008015f2a..."} 
[2026-08-05 08:32:58] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfde4048012d809e8005a336e80008015f2a..."} 
[2026-08-05 08:32:58] local.INFO: Packet analysis {"connection_id":148521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfde"} 
[2026-08-05 08:32:58] local.INFO: Extracted packet for processing {"connection_id":148521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfde"} 
[2026-08-05 08:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763403904,"raw_latitude":94582504,"longitude_deg":76.3403904,"latitude_deg":9.4582504,"altitude":8,"angle":351,"satellites":42,"speed":59,"hex_longitude":"2d809e80","hex_latitude":"05a336e8","is_valid_coordinates":true} 
[2026-08-05 08:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190110720001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370416508095954944,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177210116463648768,"note":"Value kept but may cause issues"} 
[2026-08-05 08:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785898877000,"timestamp_ms":1785898877000,"timestamp_seconds":1785898877,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfde4048"} 
[2026-08-05 08:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 08:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190110720001,"66":27865,"52":206,"85":14336,"24":59,"16":370416508095954944,"45":-9177210116463648768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-08-05 08:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190110720001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:32:58] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-05 08:32:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370416508095954944,"km_value":370416508095954.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177210116463648768,"description":"Unknown IO ID 45"} 
[2026-08-05 08:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190110720001,"power":27865,"unknown_52":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":-9177210116463648768}} 
[2026-08-05 08:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":148521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:32:58] local.INFO: GPS data processed {"connection_id":148521,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:32:58] local.INFO: Acknowledgment sent {"connection_id":148521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:33:12] local.INFO: TCP Data received {"connection_id":148300,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:33:12] local.INFO: Processing buffer {"connection_id":148300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:33:12] local.INFO: IMEI packet received {"connection_id":148300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":148300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:33:16] local.INFO: TCP Data received {"connection_id":148300,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:33:16] local.INFO: Processing buffer {"connection_id":148300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:33:16] local.INFO: IMEI packet received {"connection_id":148300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":148300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:33:17] local.INFO: TCP Data received {"connection_id":148300,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:33:17] local.INFO: Processing buffer {"connection_id":148300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:33:17] local.INFO: IMEI packet received {"connection_id":148300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":148300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:33:18] local.INFO: TCP Data received {"connection_id":148300,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfde57b8012d80990005a35a200008015f2b..."} 
[2026-08-05 08:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfde57b8012d80990005a35a200008015f2b..."} 
[2026-08-05 08:33:18] local.INFO: Processing buffer {"connection_id":148300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfde57b8012d80990005a35a200008015f2b..."} 
[2026-08-05 08:33:18] local.INFO: Packet analysis {"connection_id":148300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfde"} 
[2026-08-05 08:33:18] local.INFO: Extracted packet for processing {"connection_id":148300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfde"} 
[2026-08-05 08:33:18] local.INFO: GPS Element Parsed {"raw_longitude":763402496,"raw_latitude":94591520,"longitude_deg":76.3402496,"latitude_deg":9.459152,"altitude":8,"angle":351,"satellites":43,"speed":59,"hex_longitude":"2d809900","hex_latitude":"05a35a20","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190112512001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370416950477586432,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9178758228833015808,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785898883000,"timestamp_ms":1785898883000,"timestamp_seconds":1785898883,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfde57b8"} 
[2026-08-05 08:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190112512001,"66":27919,"52":206,"85":14336,"24":59,"16":370416950477586432,"45":-9178758228833015808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-08-05 08:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190112512001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:33:18] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-05 08:33:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370416950477586432,"km_value":370416950477586.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9178758228833015808,"description":"Unknown IO ID 45"} 
[2026-08-05 08:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190112512001,"power":27919,"unknown_52":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":-9178758228833015808}} 
[2026-08-05 08:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":148300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:33:18] local.INFO: GPS data processed {"connection_id":148300,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:33:18] local.INFO: Acknowledgment sent {"connection_id":148300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:33:21] local.INFO: TCP Data received {"connection_id":149522,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfd5ef60012d7a0e0005e469d8000900422c..."} 
[2026-08-05 08:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfd5ef60012d7a0e0005e469d8000900422c..."} 
[2026-08-05 08:33:21] local.INFO: Processing buffer {"connection_id":149522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfd5ef60012d7a0e0005e469d8000900422c..."} 
[2026-08-05 08:33:21] local.INFO: Packet analysis {"connection_id":149522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfd5"} 
[2026-08-05 08:33:21] local.INFO: Extracted packet for processing {"connection_id":149522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfd5"} 
[2026-08-05 08:33:21] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855384,"longitude_deg":76.2973696,"latitude_deg":9.8855384,"altitude":9,"angle":66,"satellites":44,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-05 08:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189830144001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608131584,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785898332000,"timestamp_ms":1785898332000,"timestamp_seconds":1785898332,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfd5ef60"} 
[2026-08-05 08:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 08:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-05 08:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189830144001,"66":2231,"97":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608131584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 08:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189830144001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:33:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 08:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608131584,"description":"Unknown IO ID 45"} 
[2026-08-05 08:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189830144001,"power":2231,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608131584}} 
[2026-08-05 08:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":149522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:33:21] local.INFO: GPS data processed {"connection_id":149522,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:33:21] local.INFO: Acknowledgment sent {"connection_id":149522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:33:44] local.INFO: TCP Data received {"connection_id":150939,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:33:44] local.INFO: Processing buffer {"connection_id":150939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:33:44] local.INFO: IMEI packet received {"connection_id":150939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":150939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:33:49] local.INFO: TCP Data received {"connection_id":150939,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:33:49] local.INFO: Processing buffer {"connection_id":150939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:33:49] local.INFO: IMEI packet received {"connection_id":150939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":150939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:33:49] local.INFO: TCP Data received {"connection_id":148300,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfdf9fd8012d80474005a4bd880008014b29..."} 
[2026-08-05 08:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfdf9fd8012d80474005a4bd880008014b29..."} 
[2026-08-05 08:33:49] local.INFO: Processing buffer {"connection_id":148300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfdf9fd8012d80474005a4bd880008014b29..."} 
[2026-08-05 08:33:49] local.INFO: Packet analysis {"connection_id":148300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfdf"} 
[2026-08-05 08:33:49] local.INFO: Extracted packet for processing {"connection_id":148300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfdf"} 
[2026-08-05 08:33:49] local.INFO: GPS Element Parsed {"raw_longitude":763381568,"raw_latitude":94682504,"longitude_deg":76.3381568,"latitude_deg":9.4682504,"altitude":8,"angle":331,"satellites":41,"speed":46,"hex_longitude":"2d804740","hex_latitude":"05a4bd88","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190133504001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370421511732854784,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198039264714092544,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785898967000,"timestamp_ms":1785898967000,"timestamp_seconds":1785898967,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfdf9fd8"} 
[2026-08-05 08:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190133504001,"66":27832,"53":206,"85":14336,"24":46,"16":370421511732854784,"45":-9198039264714092544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-05 08:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190133504001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:33:49] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 08:33:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370421511732854784,"km_value":370421511732854.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198039264714092544,"description":"Unknown IO ID 45"} 
[2026-08-05 08:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190133504001,"power":27832,"unknown_53":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":-9198039264714092544}} 
[2026-08-05 08:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":148300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:33:49] local.INFO: GPS data processed {"connection_id":148300,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:33:49] local.INFO: Acknowledgment sent {"connection_id":148300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:33:50] local.INFO: TCP Data received {"connection_id":150939,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:33:50] local.INFO: Processing buffer {"connection_id":150939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:33:50] local.INFO: Packet analysis {"connection_id":150939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe0"} 
[2026-08-05 08:33:50] local.INFO: Extracted packet for processing {"connection_id":150939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe0"} 
[2026-08-05 08:33:50] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855384,"longitude_deg":76.2973696,"latitude_deg":9.8855384,"altitude":9,"angle":66,"satellites":40,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189972992001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608135680,"note":"Value kept but may cause issues"} 
[2026-08-05 08:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785899017000,"timestamp_ms":1785899017000,"timestamp_seconds":1785899017,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe06328"} 
[2026-08-05 08:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 08: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-05 08:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189972992001,"66":2231,"47":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608135680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-05 08:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189972992001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:33:50] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-05 08:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608135680,"description":"Unknown IO ID 45"} 
[2026-08-05 08:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189972992001,"power":2231,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608135680}} 
[2026-08-05 08:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":150939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:33:50] local.INFO: GPS data processed {"connection_id":150939,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:33:50] local.INFO: Acknowledgment sent {"connection_id":150939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:34:15] local.INFO: TCP Data received {"connection_id":148301,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:34:15] local.INFO: Processing buffer {"connection_id":148301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:34:15] local.INFO: IMEI packet received {"connection_id":148301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":148301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:34:16] local.INFO: TCP Data received {"connection_id":148301,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:34:16] local.INFO: Processing buffer {"connection_id":148301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:34:16] local.INFO: IMEI packet received {"connection_id":148301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":148301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:34:20] local.INFO: TCP Data received {"connection_id":148301,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:34:20] local.INFO: Processing buffer {"connection_id":148301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:34:20] local.INFO: IMEI packet received {"connection_id":148301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":148301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:34:21] local.INFO: TCP Data received {"connection_id":150939,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:34:21] local.INFO: Processing buffer {"connection_id":150939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:34:21] local.INFO: Packet analysis {"connection_id":150939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe0"} 
[2026-08-05 08:34:21] local.INFO: Extracted packet for processing {"connection_id":150939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe0"} 
[2026-08-05 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855384,"longitude_deg":76.2973696,"latitude_deg":9.8855384,"altitude":9,"angle":66,"satellites":40,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-05 08:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189972992001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608135680,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785899017000,"timestamp_ms":1785899017000,"timestamp_seconds":1785899017,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe06328"} 
[2026-08-05 08:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 08:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-05 08:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189972992001,"66":2231,"47":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608135680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-05 08:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189972992001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:34:21] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-05 08:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608135680,"description":"Unknown IO ID 45"} 
[2026-08-05 08:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189972992001,"power":2231,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608135680}} 
[2026-08-05 08:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":150939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:34:21] local.INFO: GPS data processed {"connection_id":150939,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:34:21] local.INFO: Acknowledgment sent {"connection_id":150939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:34:21] local.INFO: TCP Data received {"connection_id":148301,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfdfbf18012d80358005a4dd48000801482a..."} 
[2026-08-05 08:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfdfbf18012d80358005a4dd48000801482a..."} 
[2026-08-05 08:34:21] local.INFO: Processing buffer {"connection_id":148301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfdfbf18012d80358005a4dd48000801482a..."} 
[2026-08-05 08:34:21] local.INFO: Packet analysis {"connection_id":148301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfdf"} 
[2026-08-05 08:34:21] local.INFO: Extracted packet for processing {"connection_id":148301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfdf"} 
[2026-08-05 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763377024,"raw_latitude":94690632,"longitude_deg":76.3377024,"latitude_deg":9.4690632,"altitude":8,"angle":328,"satellites":42,"speed":42,"hex_longitude":"2d803580","hex_latitude":"05a4dd48","is_valid_coordinates":true} 
[2026-08-05 08:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190135552001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370421962704420864,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203316920525420544,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785898975000,"timestamp_ms":1785898975000,"timestamp_seconds":1785898975,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfdfbf18"} 
[2026-08-05 08:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-05 08:34: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-08-05 08:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:34: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-08-05 08:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190135552001,"66":27821,"53":206,"85":14336,"24":42,"16":370421962704420864,"45":-9203316920525420544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-05 08:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190135552001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:34:21] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 08:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370421962704420864,"km_value":370421962704420.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203316920525420544,"description":"Unknown IO ID 45"} 
[2026-08-05 08:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190135552001,"power":27821,"unknown_53":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9203316920525420544}} 
[2026-08-05 08:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":148301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:34:21] local.INFO: GPS data processed {"connection_id":148301,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:34:21] local.INFO: Acknowledgment sent {"connection_id":148301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:34:43] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:34:43] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:34:43] local.INFO: IMEI packet received {"connection_id":148522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 08:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":148522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:34:49] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:34:49] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 08:34:49] local.INFO: IMEI packet received {"connection_id":148522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 08:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":148522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:34:50] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:34:50] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:34:50] local.INFO: Packet analysis {"connection_id":148522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe0"} 
[2026-08-05 08:34:50] local.INFO: Extracted packet for processing {"connection_id":148522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe0"} 
[2026-08-05 08:34:50] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855384,"longitude_deg":76.2973696,"latitude_deg":9.8855384,"altitude":9,"angle":66,"satellites":40,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 08:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189972992001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608135680,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785899017000,"timestamp_ms":1785899017000,"timestamp_seconds":1785899017,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe06328"} 
[2026-08-05 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-08-05 08:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-05 08:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 08:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189972992001,"66":2231,"47":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608135680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-05 08:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189972992001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:34:50] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-05 08:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608135680,"description":"Unknown IO ID 45"} 
[2026-08-05 08:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189972992001,"power":2231,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608135680}} 
[2026-08-05 08:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":148522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:34:50] local.INFO: GPS data processed {"connection_id":148522,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:34:50] local.INFO: Acknowledgment sent {"connection_id":148522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:34:52] local.INFO: TCP Data received {"connection_id":148301,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfdfe240012d801fc005a4fa780008013f2d..."} 
[2026-08-05 08:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfdfe240012d801fc005a4fa780008013f2d..."} 
[2026-08-05 08:34:52] local.INFO: Processing buffer {"connection_id":148301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfdfe240012d801fc005a4fa780008013f2d..."} 
[2026-08-05 08:34:52] local.INFO: Packet analysis {"connection_id":148301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfdf"} 
[2026-08-05 08:34:52] local.INFO: Extracted packet for processing {"connection_id":148301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfdf"} 
[2026-08-05 08:34:52] local.INFO: GPS Element Parsed {"raw_longitude":763371456,"raw_latitude":94698104,"longitude_deg":76.3371456,"latitude_deg":9.4698104,"altitude":8,"angle":319,"satellites":45,"speed":41,"hex_longitude":"2d801fc0","hex_latitude":"05a4fa78","is_valid_coordinates":true} 
[2026-08-05 08:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190137600001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370422413675986944,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208313101359953920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785898984000,"timestamp_ms":1785898984000,"timestamp_seconds":1785898984,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfdfe240"} 
[2026-08-05 08:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 08:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190137600001,"66":27821,"53":206,"85":14336,"24":41,"16":370422413675986944,"45":-9208313101359953920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-05 08:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190137600001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:34:52] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 08:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370422413675986944,"km_value":370422413675986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208313101359953920,"description":"Unknown IO ID 45"} 
[2026-08-05 08:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190137600001,"power":27821,"unknown_53":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":-9208313101359953920}} 
[2026-08-05 08:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":148301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:34:52] local.INFO: GPS data processed {"connection_id":148301,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:34:52] local.INFO: Acknowledgment sent {"connection_id":148301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:35:15] local.INFO: TCP Data received {"connection_id":149523,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:35:15] local.INFO: Processing buffer {"connection_id":149523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:35:15] local.INFO: IMEI packet received {"connection_id":149523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":149523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:35:20] local.INFO: TCP Data received {"connection_id":149523,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:35:20] local.INFO: Processing buffer {"connection_id":149523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:35:20] local.INFO: IMEI packet received {"connection_id":149523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":149523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:35:20] local.INFO: TCP Data received {"connection_id":149523,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:35:20] local.INFO: Processing buffer {"connection_id":149523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:35:20] local.INFO: IMEI packet received {"connection_id":149523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":149523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:35:21] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:35:21] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe06328012d7a0e0005e469d80009004228..."} 
[2026-08-05 08:35:21] local.INFO: Packet analysis {"connection_id":148522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe0"} 
[2026-08-05 08:35:21] local.INFO: Extracted packet for processing {"connection_id":148522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe0"} 
[2026-08-05 08:35:21] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":98855384,"longitude_deg":76.2973696,"latitude_deg":9.8855384,"altitude":9,"angle":66,"satellites":40,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-05 08:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457189972992001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939853191249920,"note":"Value kept but may cause issues"} 
[2026-08-05 08:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147608135680,"note":"Value kept but may cause issues"} 
[2026-08-05 08:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785899017000,"timestamp_ms":1785899017000,"timestamp_seconds":1785899017,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe06328"} 
[2026-08-05 08:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 08:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-05 08:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 08:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 08:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 08:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457189972992001,"66":2231,"47":206,"85":15104,"24":0,"16":114939853191249920,"45":8794967147608135680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-05 08:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 08:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 08:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457189972992001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:35:21] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-05 08:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 08:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939853191249920,"km_value":114939853191249.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147608135680,"description":"Unknown IO ID 45"} 
[2026-08-05 08:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457189972992001,"power":2231,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8794967147608135680}} 
[2026-08-05 08:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":148522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:35:21] local.INFO: GPS data processed {"connection_id":148522,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:35:21] local.INFO: Acknowledgment sent {"connection_id":148522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:35:21] local.INFO: TCP Data received {"connection_id":149523,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe12a60012d7ecfc005a5bae8000b012928..."} 
[2026-08-05 08:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe12a60012d7ecfc005a5bae8000b012928..."} 
[2026-08-05 08:35:21] local.INFO: Processing buffer {"connection_id":149523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe12a60012d7ecfc005a5bae8000b012928..."} 
[2026-08-05 08:35:21] local.INFO: Packet analysis {"connection_id":149523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe1"} 
[2026-08-05 08:35:21] local.INFO: Extracted packet for processing {"connection_id":149523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe1"} 
[2026-08-05 08:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763285440,"raw_latitude":94747368,"longitude_deg":76.328544,"latitude_deg":9.4747368,"altitude":11,"angle":297,"satellites":40,"speed":59,"hex_longitude":"2d7ecfc0","hex_latitude":"05a5bae8","is_valid_coordinates":true} 
[2026-08-05 08:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190159872001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370427206859489280,"note":"Value kept but may cause issues"} 
[2026-08-05 08:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146810867443771392,"note":"Value kept but may cause issues"} 
[2026-08-05 08:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785899068000,"timestamp_ms":1785899068000,"timestamp_seconds":1785899068,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe12a60"} 
[2026-08-05 08:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:35: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-08-05 08:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190159872001,"66":27865,"32":206,"85":14336,"24":59,"16":370427206859489280,"45":9146810867443771392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-05 08:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190159872001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:35:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-05 08:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370427206859489280,"km_value":370427206859489.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146810867443771392,"description":"Unknown IO ID 45"} 
[2026-08-05 08:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190159872001,"power":27865,"unknown_32":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9146810867443771392}} 
[2026-08-05 08:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":149523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:35:21] local.INFO: GPS data processed {"connection_id":149523,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:35:21] local.INFO: Acknowledgment sent {"connection_id":149523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:35:26] local.INFO: TCP Data received {"connection_id":149523,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe141d0012d7eb0c005a5cba8000b012b29..."} 
[2026-08-05 08:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe141d0012d7eb0c005a5cba8000b012b29..."} 
[2026-08-05 08:35:26] local.INFO: Processing buffer {"connection_id":149523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe141d0012d7eb0c005a5cba8000b012b29..."} 
[2026-08-05 08:35:26] local.INFO: Packet analysis {"connection_id":149523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe1"} 
[2026-08-05 08:35:26] local.INFO: Extracted packet for processing {"connection_id":149523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe1"} 
[2026-08-05 08:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":94751656,"longitude_deg":76.3277504,"latitude_deg":9.4751656,"altitude":11,"angle":299,"satellites":41,"speed":59,"hex_longitude":"2d7eb0c0","hex_latitude":"05a5cba8","is_valid_coordinates":true} 
[2026-08-05 08:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190161408001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370427640651186176,"note":"Value kept but may cause issues"} 
[2026-08-05 08:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137733299445884928,"note":"Value kept but may cause issues"} 
[2026-08-05 08:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785899074000,"timestamp_ms":1785899074000,"timestamp_seconds":1785899074,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe141d0"} 
[2026-08-05 08:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190161408001,"66":27876,"32":206,"85":14336,"24":59,"16":370427640651186176,"45":9137733299445884928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-05 08:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190161408001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:35:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-05 08:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370427640651186176,"km_value":370427640651186.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137733299445884928,"description":"Unknown IO ID 45"} 
[2026-08-05 08:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190161408001,"power":27876,"unknown_32":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9137733299445884928}} 
[2026-08-05 08:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":149523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:35:26] local.INFO: GPS data processed {"connection_id":149523,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:35:26] local.INFO: Acknowledgment sent {"connection_id":149523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:36:00] local.INFO: TCP Data received {"connection_id":149523,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe15d28012d7e8d8005a5e068000a012d2c..."} 
[2026-08-05 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe15d28012d7e8d8005a5e068000a012d2c..."} 
[2026-08-05 08:36:00] local.INFO: Processing buffer {"connection_id":149523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe15d28012d7e8d8005a5e068000a012d2c..."} 
[2026-08-05 08:36:00] local.INFO: Packet analysis {"connection_id":149523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe1"} 
[2026-08-05 08:36:00] local.INFO: Extracted packet for processing {"connection_id":149523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe1"} 
[2026-08-05 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763268480,"raw_latitude":94756968,"longitude_deg":76.326848,"latitude_deg":9.4756968,"altitude":10,"angle":301,"satellites":44,"speed":58,"hex_longitude":"2d7e8d80","hex_latitude":"05a5e068","is_valid_coordinates":true} 
[2026-08-05 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190162944001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370428143162359808,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575168952320,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785899081000,"timestamp_ms":1785899081000,"timestamp_seconds":1785899081,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe15d28"} 
[2026-08-05 08:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190162944001,"66":27843,"32":206,"85":14336,"24":58,"16":370428143162359808,"45":9129007575168952320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-05 08:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190162944001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:36:00] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-05 08:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370428143162359808,"km_value":370428143162359.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575168952320,"description":"Unknown IO ID 45"} 
[2026-08-05 08:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190162944001,"power":27843,"unknown_32":206,"unknown_85":14336,"ignition":58,"odometer":null,"unknown_45":9129007575168952320}} 
[2026-08-05 08:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":149523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:36:01] local.INFO: GPS data processed {"connection_id":149523,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:36:01] local.INFO: Acknowledgment sent {"connection_id":149523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:36:16] local.INFO: TCP Data received {"connection_id":150940,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:36:16] local.INFO: Processing buffer {"connection_id":150940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:36:16] local.INFO: IMEI packet received {"connection_id":150940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":150940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:36:20] local.INFO: TCP Data received {"connection_id":150940,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:36:20] local.INFO: Processing buffer {"connection_id":150940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:36:20] local.INFO: IMEI packet received {"connection_id":150940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":150940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:36:22] local.INFO: TCP Data received {"connection_id":150940,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:36:22] local.INFO: Processing buffer {"connection_id":150940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:36:22] local.INFO: IMEI packet received {"connection_id":150940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":150940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:36:23] local.INFO: TCP Data received {"connection_id":150940,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe17880012d7e6b4005a5f568000c012f2b..."} 
[2026-08-05 08:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe17880012d7e6b4005a5f568000c012f2b..."} 
[2026-08-05 08:36:23] local.INFO: Processing buffer {"connection_id":150940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe17880012d7e6b4005a5f568000c012f2b..."} 
[2026-08-05 08:36:23] local.INFO: Packet analysis {"connection_id":150940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe1"} 
[2026-08-05 08:36:23] local.INFO: Extracted packet for processing {"connection_id":150940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe1"} 
[2026-08-05 08:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763259712,"raw_latitude":94762344,"longitude_deg":76.3259712,"latitude_deg":9.4762344,"altitude":12,"angle":303,"satellites":43,"speed":57,"hex_longitude":"2d7e6b40","hex_latitude":"05a5f568","is_valid_coordinates":true} 
[2026-08-05 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-08-05 08:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190164736001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370428637083598848,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9119085582241261568,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785899088000,"timestamp_ms":1785899088000,"timestamp_seconds":1785899088,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe17880"} 
[2026-08-05 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-08-05 08:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 08:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 08:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190164736001,"66":27865,"165":206,"85":14336,"24":57,"16":370428637083598848,"45":9119085582241261568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-05 08:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190164736001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:36:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-05 08:36:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370428637083598848,"km_value":370428637083598.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9119085582241261568,"description":"Unknown IO ID 45"} 
[2026-08-05 08:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190164736001,"power":27865,"unknown_165":206,"unknown_85":14336,"ignition":57,"odometer":null,"unknown_45":9119085582241261568}} 
[2026-08-05 08:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":150940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:36:23] local.INFO: GPS data processed {"connection_id":150940,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:36:23] local.INFO: Acknowledgment sent {"connection_id":150940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:36:26] local.INFO: TCP Data received {"connection_id":150940,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe193d8012d7e4b8005a60898000f012d2c..."} 
[2026-08-05 08:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe193d8012d7e4b8005a60898000f012d2c..."} 
[2026-08-05 08:36:26] local.INFO: Processing buffer {"connection_id":150940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe193d8012d7e4b8005a60898000f012d2c..."} 
[2026-08-05 08:36:26] local.INFO: Packet analysis {"connection_id":150940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe1"} 
[2026-08-05 08:36:26] local.INFO: Extracted packet for processing {"connection_id":150940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe1"} 
[2026-08-05 08:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763251584,"raw_latitude":94767256,"longitude_deg":76.3251584,"latitude_deg":9.4767256,"altitude":15,"angle":301,"satellites":44,"speed":52,"hex_longitude":"2d7e4b80","hex_latitude":"05a60898","is_valid_coordinates":true} 
[2026-08-05 08:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190166528001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370429092350132224,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9109445064290297856,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785899095000,"timestamp_ms":1785899095000,"timestamp_seconds":1785899095,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe193d8"} 
[2026-08-05 08:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190166528001,"66":27865,"165":206,"85":14336,"24":52,"16":370429092350132224,"45":9109445064290297856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-05 08:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190166528001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:36:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-05 08:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370429092350132224,"km_value":370429092350132.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9109445064290297856,"description":"Unknown IO ID 45"} 
[2026-08-05 08:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190166528001,"power":27865,"unknown_165":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":9109445064290297856}} 
[2026-08-05 08:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":150940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:36:26] local.INFO: GPS data processed {"connection_id":150940,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:36:26] local.INFO: Acknowledgment sent {"connection_id":150940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:36:58] local.INFO: TCP Data received {"connection_id":150940,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe29990012d7d954005a746e8000f015a2c..."} 
[2026-08-05 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe29990012d7d954005a746e8000f015a2c..."} 
[2026-08-05 08:36:58] local.INFO: Processing buffer {"connection_id":150940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe29990012d7d954005a746e8000f015a2c..."} 
[2026-08-05 08:36:58] local.INFO: Packet analysis {"connection_id":150940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe2"} 
[2026-08-05 08:36:58] local.INFO: Extracted packet for processing {"connection_id":150940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe2"} 
[2026-08-05 08:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763204928,"raw_latitude":94848744,"longitude_deg":76.3204928,"latitude_deg":9.4848744,"altitude":15,"angle":346,"satellites":44,"speed":59,"hex_longitude":"2d7d9540","hex_latitude":"05a746e8","is_valid_coordinates":true} 
[2026-08-05 08:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190183936001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370433855468863488,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9051672325340340224,"note":"Value kept but may cause issues"} 
[2026-08-05 08:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785899162000,"timestamp_ms":1785899162000,"timestamp_seconds":1785899162,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe29990"} 
[2026-08-05 08:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190183936001,"66":27876,"166":206,"85":14336,"24":59,"16":370433855468863488,"45":9051672325340340224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-05 08:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190183936001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:36:58] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-05 08:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370433855468863488,"km_value":370433855468863.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9051672325340340224,"description":"Unknown IO ID 45"} 
[2026-08-05 08:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190183936001,"power":27876,"unknown_166":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9051672325340340224}} 
[2026-08-05 08:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":150940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:36:58] local.INFO: GPS data processed {"connection_id":150940,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:36:58] local.INFO: Acknowledgment sent {"connection_id":150940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:37:15] local.INFO: TCP Data received {"connection_id":148302,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:37:16] local.INFO: Processing buffer {"connection_id":148302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:37:16] local.INFO: IMEI packet received {"connection_id":148302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":148302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:37:16] local.INFO: TCP Data received {"connection_id":148302,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:37:16] local.INFO: Processing buffer {"connection_id":148302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:37:16] local.INFO: IMEI packet received {"connection_id":148302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":148302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:37:17] local.INFO: TCP Data received {"connection_id":148302,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe2b100012d7d8d4005a768d8000f015b2c..."} 
[2026-08-05 08:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe2b100012d7d8d4005a768d8000f015b2c..."} 
[2026-08-05 08:37:17] local.INFO: Processing buffer {"connection_id":148302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe2b100012d7d8d4005a768d8000f015b2c..."} 
[2026-08-05 08:37:17] local.INFO: Packet analysis {"connection_id":148302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe2"} 
[2026-08-05 08:37:17] local.INFO: Extracted packet for processing {"connection_id":148302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe2"} 
[2026-08-05 08:37:17] local.INFO: GPS Element Parsed {"raw_longitude":763202880,"raw_latitude":94857432,"longitude_deg":76.320288,"latitude_deg":9.4857432,"altitude":15,"angle":347,"satellites":44,"speed":59,"hex_longitude":"2d7d8d40","hex_latitude":"05a768d8","is_valid_coordinates":true} 
[2026-08-05 08:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190185472001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370434289260560384,"note":"Value kept but may cause issues"} 
[2026-08-05 08:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049209419296335872,"note":"Value kept but may cause issues"} 
[2026-08-05 08:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785899168000,"timestamp_ms":1785899168000,"timestamp_seconds":1785899168,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe2b100"} 
[2026-08-05 08:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:37: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-08-05 08:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190185472001,"66":27821,"63":206,"85":14336,"24":59,"16":370434289260560384,"45":9049209419296335872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 08:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190185472001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:37:17] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 08:37:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370434289260560384,"km_value":370434289260560.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049209419296335872,"description":"Unknown IO ID 45"} 
[2026-08-05 08:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190185472001,"power":27821,"unknown_63":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9049209419296335872}} 
[2026-08-05 08:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":148302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:37:17] local.INFO: GPS data processed {"connection_id":148302,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:37:17] local.INFO: Acknowledgment sent {"connection_id":148302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:37:48] local.INFO: TCP Data received {"connection_id":148302,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe2c870012d7d85c005a78af0000f015b2c..."} 
[2026-08-05 08:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe2c870012d7d85c005a78af0000f015b2c..."} 
[2026-08-05 08:37:48] local.INFO: Processing buffer {"connection_id":148302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe2c870012d7d85c005a78af0000f015b2c..."} 
[2026-08-05 08:37:48] local.INFO: Packet analysis {"connection_id":148302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe2"} 
[2026-08-05 08:37:48] local.INFO: Extracted packet for processing {"connection_id":148302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe2"} 
[2026-08-05 08:37:48] local.INFO: GPS Element Parsed {"raw_longitude":763200960,"raw_latitude":94866160,"longitude_deg":76.320096,"latitude_deg":9.486616,"altitude":15,"angle":347,"satellites":44,"speed":59,"hex_longitude":"2d7d85c0","hex_latitude":"05a78af0","is_valid_coordinates":true} 
[2026-08-05 08:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190187008001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370434723052257280,"note":"Value kept but may cause issues"} 
[2026-08-05 08:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9046957619484874752,"note":"Value kept but may cause issues"} 
[2026-08-05 08:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785899174000,"timestamp_ms":1785899174000,"timestamp_seconds":1785899174,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe2c870"} 
[2026-08-05 08:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 08:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190187008001,"66":27865,"63":206,"85":14336,"24":59,"16":370434723052257280,"45":9046957619484874752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-05 08:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190187008001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:37:48] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-05 08:37:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370434723052257280,"km_value":370434723052257.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9046957619484874752,"description":"Unknown IO ID 45"} 
[2026-08-05 08:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190187008001,"power":27865,"unknown_63":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9046957619484874752}} 
[2026-08-05 08:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":148302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:37:48] local.INFO: GPS data processed {"connection_id":148302,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:37:48] local.INFO: Acknowledgment sent {"connection_id":148302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:38:15] local.INFO: TCP Data received {"connection_id":149524,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:38:15] local.INFO: Processing buffer {"connection_id":149524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:38:15] local.INFO: IMEI packet received {"connection_id":149524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":149524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:38:16] local.INFO: TCP Data received {"connection_id":149524,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:38:16] local.INFO: Processing buffer {"connection_id":149524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:38:16] local.INFO: IMEI packet received {"connection_id":149524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":149524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:38:21] local.INFO: TCP Data received {"connection_id":149524,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:38:21] local.INFO: Processing buffer {"connection_id":149524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:38:21] local.INFO: IMEI packet received {"connection_id":149524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":149524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:38:40] local.INFO: TCP Data received {"connection_id":149524,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe3ce28012d7d338005a90420000f015c2d..."} 
[2026-08-05 08:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe3ce28012d7d338005a90420000f015c2d..."} 
[2026-08-05 08:38:40] local.INFO: Processing buffer {"connection_id":149524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe3ce28012d7d338005a90420000f015c2d..."} 
[2026-08-05 08:38:40] local.INFO: Packet analysis {"connection_id":149524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe3"} 
[2026-08-05 08:38:40] local.INFO: Extracted packet for processing {"connection_id":149524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe3"} 
[2026-08-05 08:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":94962720,"longitude_deg":76.3179904,"latitude_deg":9.496272,"altitude":15,"angle":348,"satellites":45,"speed":53,"hex_longitude":"2d7d3380","hex_latitude":"05a90420","is_valid_coordinates":true} 
[2026-08-05 08:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190203904001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370439511940792320,"note":"Value kept but may cause issues"} 
[2026-08-05 08:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806302674987008,"note":"Value kept but may cause issues"} 
[2026-08-05 08:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785899241000,"timestamp_ms":1785899241000,"timestamp_seconds":1785899241,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe3ce28"} 
[2026-08-05 08:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 08:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190203904001,"66":27908,"18":206,"85":14336,"24":53,"16":370439511940792320,"45":9023806302674987008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-05 08:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190203904001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:38:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-05 08:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370439511940792320,"km_value":370439511940792.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806302674987008,"description":"Unknown IO ID 45"} 
[2026-08-05 08:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190203904001,"power":27908,"unknown_18":206,"unknown_85":14336,"ignition":53,"odometer":null,"unknown_45":9023806302674987008}} 
[2026-08-05 08:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":149524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:38:40] local.INFO: GPS data processed {"connection_id":149524,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:38:40] local.INFO: Acknowledgment sent {"connection_id":149524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:38:45] local.INFO: TCP Data received {"connection_id":149524,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe3e980012d7d2d4005a928a0000f01622c..."} 
[2026-08-05 08:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe3e980012d7d2d4005a928a0000f01622c..."} 
[2026-08-05 08:38:45] local.INFO: Processing buffer {"connection_id":149524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe3e980012d7d2d4005a928a0000f01622c..."} 
[2026-08-05 08:38:45] local.INFO: Packet analysis {"connection_id":149524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe3"} 
[2026-08-05 08:38:45] local.INFO: Extracted packet for processing {"connection_id":149524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe3"} 
[2026-08-05 08:38:45] local.INFO: GPS Element Parsed {"raw_longitude":763178304,"raw_latitude":94972064,"longitude_deg":76.3178304,"latitude_deg":9.4972064,"altitude":15,"angle":354,"satellites":44,"speed":55,"hex_longitude":"2d7d2d40","hex_latitude":"05a928a0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 08:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190205696001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370439971502292992,"note":"Value kept but may cause issues"} 
[2026-08-05 08:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695240352047104,"note":"Value kept but may cause issues"} 
[2026-08-05 08:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785899248000,"timestamp_ms":1785899248000,"timestamp_seconds":1785899248,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe3e980"} 
[2026-08-05 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-08-05 08:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 08:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:38: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-08-05 08:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190205696001,"66":27832,"18":206,"85":14336,"24":55,"16":370439971502292992,"45":9021695240352047104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-05 08:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190205696001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:38:45] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-05 08:38:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370439971502292992,"km_value":370439971502293.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695240352047104,"description":"Unknown IO ID 45"} 
[2026-08-05 08:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190205696001,"power":27832,"unknown_18":206,"unknown_85":14336,"ignition":55,"odometer":null,"unknown_45":9021695240352047104}} 
[2026-08-05 08:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":149524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:38:45] local.INFO: GPS data processed {"connection_id":149524,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:38:45] local.INFO: Acknowledgment sent {"connection_id":149524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:39:30] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:39:30] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:39:30] local.INFO: IMEI packet received {"connection_id":148523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":148523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:39:34] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:39:34] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:39:34] local.INFO: IMEI packet received {"connection_id":148523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":148523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:39:40] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.40","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fcf..."} 
[2026-08-05 08:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fcf..."} 
[2026-08-05 08:39:40] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fcf..."} 
[2026-08-05 08:39:40] local.INFO: IMEI packet received {"connection_id":148523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":148523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:39:41] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe51a30012d7df44005aa92a00009001e2c..."} 
[2026-08-05 08:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe51a30012d7df44005aa92a00009001e2c..."} 
[2026-08-05 08:39:41] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fcfe502c0012d7de0c005aa7470000a00212b..."} 
[2026-08-05 08:39:41] local.INFO: Packet analysis {"connection_id":148523,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:39:41] local.INFO: Extracted packet for processing {"connection_id":148523,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763224256,"raw_latitude":95057008,"longitude_deg":76.3224256,"latitude_deg":9.5057008,"altitude":10,"angle":33,"satellites":43,"speed":59,"hex_longitude":"2d7de0c0","hex_latitude":"05aa7470","is_valid_coordinates":true} 
[2026-08-05 08:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190224128001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370444708851220480,"note":"Value kept but may cause issues"} 
[2026-08-05 08:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064338699345709056,"note":"Value kept but may cause issues"} 
[2026-08-05 08:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785899320000,"timestamp_ms":1785899320000,"timestamp_seconds":1785899320,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe502c0"} 
[2026-08-05 08:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 08:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190224128001,"66":27908,"127":206,"85":14336,"24":59,"16":370444708851220480,"45":9064338699345709056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-05 08:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190224128001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:39:41] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-05 08:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370444708851220480,"km_value":370444708851220.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064338699345709056,"description":"Unknown IO ID 45"} 
[2026-08-05 08:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190224128001,"power":27908,"unknown_127":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9064338699345709056}} 
[2026-08-05 08:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":148523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:39:41] local.INFO: GPS data processed {"connection_id":148523,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:39:41] local.INFO: Acknowledgment sent {"connection_id":148523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:39:41] local.INFO: Packet analysis {"connection_id":148523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:39:41] local.INFO: Extracted packet for processing {"connection_id":148523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763229248,"raw_latitude":95064736,"longitude_deg":76.3229248,"latitude_deg":9.5064736,"altitude":9,"angle":30,"satellites":44,"speed":60,"hex_longitude":"2d7df440","hex_latitude":"05aa92a0","is_valid_coordinates":true} 
[2026-08-05 08:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190225920001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370445151232851968,"note":"Value kept but may cause issues"} 
[2026-08-05 08:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070460780091305984,"note":"Value kept but may cause issues"} 
[2026-08-05 08:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785899326000,"timestamp_ms":1785899326000,"timestamp_seconds":1785899326,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe51a30"} 
[2026-08-05 08:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 08:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190225920001,"66":27767,"127":206,"85":14336,"24":60,"16":370445151232851968,"45":9070460780091305984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-05 08:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190225920001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:39:41] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-05 08:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370445151232851968,"km_value":370445151232851.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070460780091305984,"description":"Unknown IO ID 45"} 
[2026-08-05 08:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190225920001,"power":27767,"unknown_127":206,"unknown_85":14336,"ignition":60,"odometer":null,"unknown_45":9070460780091305984}} 
[2026-08-05 08:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":148523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:39:41] local.INFO: GPS data processed {"connection_id":148523,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:39:41] local.INFO: Acknowledgment sent {"connection_id":148523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:39:46] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe531a0012d7e068005aab0a80008001f2c..."} 
[2026-08-05 08:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe531a0012d7e068005aab0a80008001f2c..."} 
[2026-08-05 08:39:46] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe531a0012d7e068005aab0a80008001f2c..."} 
[2026-08-05 08:39:46] local.INFO: Packet analysis {"connection_id":148523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:39:46] local.INFO: Extracted packet for processing {"connection_id":148523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:39:46] local.INFO: GPS Element Parsed {"raw_longitude":763233920,"raw_latitude":95072424,"longitude_deg":76.323392,"latitude_deg":9.5072424,"altitude":8,"angle":31,"satellites":44,"speed":59,"hex_longitude":"2d7e0680","hex_latitude":"05aab0a8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 08:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190227456001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370445589319516160,"note":"Value kept but may cause issues"} 
[2026-08-05 08:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9075949542139142144,"note":"Value kept but may cause issues"} 
[2026-08-05 08:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785899332000,"timestamp_ms":1785899332000,"timestamp_seconds":1785899332,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe531a0"} 
[2026-08-05 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-08-05 08:39: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-08-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 08:39: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-08-05 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-08-05 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-08-05 08:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:39: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-08-05 08:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190227456001,"66":27745,"125":206,"85":14336,"24":59,"16":370445589319516160,"45":9075949542139142144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-08-05 08:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190227456001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:39:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-05 08:39:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370445589319516160,"km_value":370445589319516.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9075949542139142144,"description":"Unknown IO ID 45"} 
[2026-08-05 08:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190227456001,"power":27745,"unknown_125":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9075949542139142144}} 
[2026-08-05 08:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":148523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:39:46] local.INFO: GPS data processed {"connection_id":148523,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:39:46] local.INFO: Acknowledgment sent {"connection_id":148523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:40:16] local.INFO: TCP Data received {"connection_id":148524,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:40:16] local.INFO: Processing buffer {"connection_id":148524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:40:16] local.INFO: IMEI packet received {"connection_id":148524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":148524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:40:18] local.INFO: TCP Data received {"connection_id":148524,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:40:18] local.INFO: Processing buffer {"connection_id":148524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:40:18] local.INFO: IMEI packet received {"connection_id":148524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":148524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:40:19] local.INFO: TCP Data received {"connection_id":148524,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe54cf8012d7e1a4005aacfe00008001f29..."} 
[2026-08-05 08:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe54cf8012d7e1a4005aacfe00008001f29..."} 
[2026-08-05 08:40:19] local.INFO: Processing buffer {"connection_id":148524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe54cf8012d7e1a4005aacfe00008001f29..."} 
[2026-08-05 08:40:19] local.INFO: Packet analysis {"connection_id":148524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:40:19] local.INFO: Extracted packet for processing {"connection_id":148524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763238976,"raw_latitude":95080416,"longitude_deg":76.3238976,"latitude_deg":9.5080416,"altitude":8,"angle":31,"satellites":41,"speed":43,"hex_longitude":"2d7e1a40","hex_latitude":"05aacfe0","is_valid_coordinates":true} 
[2026-08-05 08:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190228992001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370446044586049536,"note":"Value kept but may cause issues"} 
[2026-08-05 08:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9081086460466079744,"note":"Value kept but may cause issues"} 
[2026-08-05 08:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785899339000,"timestamp_ms":1785899339000,"timestamp_seconds":1785899339,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe54cf8"} 
[2026-08-05 08:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 08:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190228992001,"66":27865,"125":206,"85":14336,"24":43,"16":370446044586049536,"45":9081086460466079744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-08-05 08:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190228992001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:40:19] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-05 08:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370446044586049536,"km_value":370446044586049.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9081086460466079744,"description":"Unknown IO ID 45"} 
[2026-08-05 08:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190228992001,"power":27865,"unknown_125":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":9081086460466079744}} 
[2026-08-05 08:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":148524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:40:19] local.INFO: GPS data processed {"connection_id":148524,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:40:19] local.INFO: Acknowledgment sent {"connection_id":148524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:40:51] local.INFO: TCP Data received {"connection_id":148524,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe56080012d7e240005aae060000800142a..."} 
[2026-08-05 08:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe56080012d7e240005aae060000800142a..."} 
[2026-08-05 08:40:51] local.INFO: Processing buffer {"connection_id":148524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe56080012d7e240005aae060000800142a..."} 
[2026-08-05 08:40:51] local.INFO: Packet analysis {"connection_id":148524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:40:51] local.INFO: Extracted packet for processing {"connection_id":148524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:40:51] local.INFO: GPS Element Parsed {"raw_longitude":763241472,"raw_latitude":95084640,"longitude_deg":76.3241472,"latitude_deg":9.508464,"altitude":8,"angle":20,"satellites":42,"speed":38,"hex_longitude":"2d7e2400","hex_latitude":"05aae060","is_valid_coordinates":true} 
[2026-08-05 08:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190230784001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370446280809250816,"note":"Value kept but may cause issues"} 
[2026-08-05 08:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086645591258161152,"note":"Value kept but may cause issues"} 
[2026-08-05 08:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785899344000,"timestamp_ms":1785899344000,"timestamp_seconds":1785899344,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe56080"} 
[2026-08-05 08:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190230784001,"66":27821,"125":206,"85":14336,"24":38,"16":370446280809250816,"45":9086645591258161152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-08-05 08:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190230784001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:40:51] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-05 08:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370446280809250816,"km_value":370446280809250.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086645591258161152,"description":"Unknown IO ID 45"} 
[2026-08-05 08:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190230784001,"power":27821,"unknown_125":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":9086645591258161152}} 
[2026-08-05 08:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":148524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:40:51] local.INFO: GPS data processed {"connection_id":148524,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:40:51] local.INFO: Acknowledgment sent {"connection_id":148524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:41:15] local.INFO: TCP Data received {"connection_id":150941,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:41:15] local.INFO: Processing buffer {"connection_id":150941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:41:15] local.INFO: IMEI packet received {"connection_id":150941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":150941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:41:21] local.INFO: TCP Data received {"connection_id":150941,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:41:21] local.INFO: Processing buffer {"connection_id":150941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:41:21] local.INFO: IMEI packet received {"connection_id":150941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":150941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:41:22] local.INFO: TCP Data received {"connection_id":150941,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe57408012d7e2b8005aaf1700008001f29..."} 
[2026-08-05 08:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe57408012d7e2b8005aaf1700008001f29..."} 
[2026-08-05 08:41:22] local.INFO: Processing buffer {"connection_id":150941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe57408012d7e2b8005aaf1700008001f29..."} 
[2026-08-05 08:41:22] local.INFO: Packet analysis {"connection_id":150941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:41:22] local.INFO: Extracted packet for processing {"connection_id":150941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe5"} 
[2026-08-05 08:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763243392,"raw_latitude":95089008,"longitude_deg":76.3243392,"latitude_deg":9.5089008,"altitude":8,"angle":31,"satellites":41,"speed":40,"hex_longitude":"2d7e2b80","hex_latitude":"05aaf170","is_valid_coordinates":true} 
[2026-08-05 08:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190232064001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370446512737484800,"note":"Value kept but may cause issues"} 
[2026-08-05 08:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089389972282171392,"note":"Value kept but may cause issues"} 
[2026-08-05 08:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785899349000,"timestamp_ms":1785899349000,"timestamp_seconds":1785899349,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe57408"} 
[2026-08-05 08:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 08:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190232064001,"66":27876,"125":206,"85":14336,"24":40,"16":370446512737484800,"45":9089389972282171392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-08-05 08:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190232064001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:41:22] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-05 08:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370446512737484800,"km_value":370446512737484.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089389972282171392,"description":"Unknown IO ID 45"} 
[2026-08-05 08:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190232064001,"power":27876,"unknown_125":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":9089389972282171392}} 
[2026-08-05 08:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":150941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:41:22] local.INFO: GPS data processed {"connection_id":150941,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:41:22] local.INFO: Acknowledgment sent {"connection_id":150941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:41:54] local.INFO: TCP Data received {"connection_id":150941,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe6f2d8012d7eab8005ac1c78000600002c..."} 
[2026-08-05 08:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe6f2d8012d7eab8005ac1c78000600002c..."} 
[2026-08-05 08:41:54] local.INFO: Processing buffer {"connection_id":150941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe6f2d8012d7eab8005ac1c78000600002c..."} 
[2026-08-05 08:41:54] local.INFO: Packet analysis {"connection_id":150941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe6"} 
[2026-08-05 08:41:54] local.INFO: Extracted packet for processing {"connection_id":150941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe6"} 
[2026-08-05 08:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763276160,"raw_latitude":95165560,"longitude_deg":76.327616,"latitude_deg":9.516556,"altitude":6,"angle":0,"satellites":44,"speed":32,"hex_longitude":"2d7eab80","hex_latitude":"05ac1c78","is_valid_coordinates":true} 
[2026-08-05 08:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190255360001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370450665970860032,"note":"Value kept but may cause issues"} 
[2026-08-05 08:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127177987923820544,"note":"Value kept but may cause issues"} 
[2026-08-05 08:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785899447000,"timestamp_ms":1785899447000,"timestamp_seconds":1785899447,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe6f2d8"} 
[2026-08-05 08:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 08:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":150941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":150941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":150941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190255360001,"66":27865,"41":206,"85":14336,"24":32,"16":370450665970860032,"45":9127177987923820544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-08-05 08:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190255360001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:41:54] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-05 08:41:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370450665970860032,"km_value":370450665970860.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127177987923820544,"description":"Unknown IO ID 45"} 
[2026-08-05 08:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190255360001,"power":27865,"unknown_41":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":9127177987923820544}} 
[2026-08-05 08:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":150941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:41:54] local.INFO: GPS data processed {"connection_id":150941,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:41:54] local.INFO: Acknowledgment sent {"connection_id":150941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:42:15] local.INFO: TCP Data received {"connection_id":150942,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:42:15] local.INFO: Processing buffer {"connection_id":150942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:42:15] local.INFO: IMEI packet received {"connection_id":150942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":150942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:42:19] local.INFO: TCP Data received {"connection_id":150942,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:42:19] local.INFO: Processing buffer {"connection_id":150942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:42:19] local.INFO: IMEI packet received {"connection_id":150942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":150942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:42:20] local.INFO: TCP Data received {"connection_id":150942,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:42:20] local.INFO: Processing buffer {"connection_id":150942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:42:20] local.INFO: IMEI packet received {"connection_id":150942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":150942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:42:21] local.INFO: TCP Data received {"connection_id":150942,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe721b8012d7eabc005ac3f90000700002b..."} 
[2026-08-05 08:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe721b8012d7eabc005ac3f90000700002b..."} 
[2026-08-05 08:42:21] local.INFO: Processing buffer {"connection_id":150942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe721b8012d7eabc005ac3f90000700002b..."} 
[2026-08-05 08:42:21] local.INFO: Packet analysis {"connection_id":150942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe7"} 
[2026-08-05 08:42:21] local.INFO: Extracted packet for processing {"connection_id":150942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe7"} 
[2026-08-05 08:42:21] local.INFO: GPS Element Parsed {"raw_longitude":763276224,"raw_latitude":95174544,"longitude_deg":76.3276224,"latitude_deg":9.5174544,"altitude":7,"angle":0,"satellites":43,"speed":25,"hex_longitude":"2d7eabc0","hex_latitude":"05ac3f90","is_valid_coordinates":true} 
[2026-08-05 08:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190258432001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370451104057524224,"note":"Value kept but may cause issues"} 
[2026-08-05 08:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127529831647180800,"note":"Value kept but may cause issues"} 
[2026-08-05 08:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785899459000,"timestamp_ms":1785899459000,"timestamp_seconds":1785899459,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe721b8"} 
[2026-08-05 08:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:42: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-08-05 08:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190258432001,"66":27865,"41":206,"85":14336,"24":25,"16":370451104057524224,"45":9127529831647180800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-08-05 08:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190258432001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:42:21] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-05 08:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370451104057524224,"km_value":370451104057524.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127529831647180800,"description":"Unknown IO ID 45"} 
[2026-08-05 08:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190258432001,"power":27865,"unknown_41":206,"unknown_85":14336,"ignition":25,"odometer":null,"unknown_45":9127529831647180800}} 
[2026-08-05 08:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":150942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:42:21] local.INFO: GPS data processed {"connection_id":150942,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:42:21] local.INFO: Acknowledgment sent {"connection_id":150942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:42:52] local.INFO: TCP Data received {"connection_id":150942,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe75480012d7eac4005ac5b180007000c2a..."} 
[2026-08-05 08:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe75480012d7eac4005ac5b180007000c2a..."} 
[2026-08-05 08:42:52] local.INFO: Processing buffer {"connection_id":150942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe75480012d7eac4005ac5b180007000c2a..."} 
[2026-08-05 08:42:52] local.INFO: Packet analysis {"connection_id":150942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe7"} 
[2026-08-05 08:42:52] local.INFO: Extracted packet for processing {"connection_id":150942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe7"} 
[2026-08-05 08:42:52] local.INFO: GPS Element Parsed {"raw_longitude":763276352,"raw_latitude":95181592,"longitude_deg":76.3276352,"latitude_deg":9.5181592,"altitude":7,"angle":12,"satellites":42,"speed":13,"hex_longitude":"2d7eac40","hex_latitude":"05ac5b18","is_valid_coordinates":true} 
[2026-08-05 08:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190261504001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370451443359940608,"note":"Value kept but may cause issues"} 
[2026-08-05 08:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127600200393658368,"note":"Value kept but may cause issues"} 
[2026-08-05 08:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785899472000,"timestamp_ms":1785899472000,"timestamp_seconds":1785899472,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe75480"} 
[2026-08-05 08:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190261504001,"66":27876,"170":206,"85":14336,"24":13,"16":370451443359940608,"45":9127600200393658368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-05 08:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190261504001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:42:52] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-05 08:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370451443359940608,"km_value":370451443359940.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127600200393658368,"description":"Unknown IO ID 45"} 
[2026-08-05 08:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190261504001,"power":27876,"unknown_170":206,"unknown_85":14336,"ignition":13,"odometer":null,"unknown_45":9127600200393658368}} 
[2026-08-05 08:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":150942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:42:52] local.INFO: GPS data processed {"connection_id":150942,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:42:52] local.INFO: Acknowledgment sent {"connection_id":150942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:43:20] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:43:20] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:43:20] local.INFO: IMEI packet received {"connection_id":148525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":148525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:43:20] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:43:20] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:43:20] local.INFO: IMEI packet received {"connection_id":148525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":148525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:43:25] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:43:25] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:43:25] local.INFO: IMEI packet received {"connection_id":148525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":148525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:43:26] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe773c0012d7eaf0005ac6978000801642b..."} 
[2026-08-05 08:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe773c0012d7eaf0005ac6978000801642b..."} 
[2026-08-05 08:43:26] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe773c0012d7eaf0005ac6978000801642b..."} 
[2026-08-05 08:43:26] local.INFO: Packet analysis {"connection_id":148525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe7"} 
[2026-08-05 08:43:26] local.INFO: Extracted packet for processing {"connection_id":148525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe7"} 
[2026-08-05 08:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763277056,"raw_latitude":95185272,"longitude_deg":76.3277056,"latitude_deg":9.5185272,"altitude":8,"angle":356,"satellites":43,"speed":22,"hex_longitude":"2d7eaf00","hex_latitude":"05ac6978","is_valid_coordinates":true} 
[2026-08-05 08:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190264832001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370451628043534336,"note":"Value kept but may cause issues"} 
[2026-08-05 08:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127740937883817984,"note":"Value kept but may cause issues"} 
[2026-08-05 08:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785899480000,"timestamp_ms":1785899480000,"timestamp_seconds":1785899480,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe773c0"} 
[2026-08-05 08:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190264832001,"66":27865,"170":206,"85":14336,"24":22,"16":370451628043534336,"45":9127740937883817984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-05 08:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190264832001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:43:26] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-05 08:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370451628043534336,"km_value":370451628043534.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127740937883817984,"description":"Unknown IO ID 45"} 
[2026-08-05 08:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190264832001,"power":27865,"unknown_170":206,"unknown_85":14336,"ignition":22,"odometer":null,"unknown_45":9127740937883817984}} 
[2026-08-05 08:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":148525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:43:26] local.INFO: GPS data processed {"connection_id":148525,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:43:26] local.INFO: Acknowledgment sent {"connection_id":148525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:43:27] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe79eb8012d7eae8005ac8d10000901652c..."} 
[2026-08-05 08:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe79eb8012d7eae8005ac8d10000901652c..."} 
[2026-08-05 08:43:27] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe79eb8012d7eae8005ac8d10000901652c..."} 
[2026-08-05 08:43:27] local.INFO: Packet analysis {"connection_id":148525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe7"} 
[2026-08-05 08:43:27] local.INFO: Extracted packet for processing {"connection_id":148525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe7"} 
[2026-08-05 08:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95194384,"longitude_deg":76.3276928,"latitude_deg":9.5194384,"altitude":9,"angle":357,"satellites":44,"speed":42,"hex_longitude":"2d7eae80","hex_latitude":"05ac8d10","is_valid_coordinates":true} 
[2026-08-05 08:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190266880001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370452070425165824,"note":"Value kept but may cause issues"} 
[2026-08-05 08:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128514994070714368,"note":"Value kept but may cause issues"} 
[2026-08-05 08:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785899491000,"timestamp_ms":1785899491000,"timestamp_seconds":1785899491,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe79eb8"} 
[2026-08-05 08:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 08:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190266880001,"66":28050,"170":206,"85":14336,"24":42,"16":370452070425165824,"45":9128514994070714368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-05 08:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190266880001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:43:27] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-05 08:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-05 08:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370452070425165824,"km_value":370452070425165.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128514994070714368,"description":"Unknown IO ID 45"} 
[2026-08-05 08:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190266880001,"power":28050,"unknown_170":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":9128514994070714368}} 
[2026-08-05 08:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":148525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:43:27] local.INFO: GPS data processed {"connection_id":148525,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:43:27] local.INFO: Acknowledgment sent {"connection_id":148525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:43:58] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe911d0012d7ea0c005ae93b8000801632b..."} 
[2026-08-05 08:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe911d0012d7ea0c005ae93b8000801632b..."} 
[2026-08-05 08:43:58] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe911d0012d7ea0c005ae93b8000801632b..."} 
[2026-08-05 08:43:58] local.INFO: Packet analysis {"connection_id":148525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe9"} 
[2026-08-05 08:43:58] local.INFO: Extracted packet for processing {"connection_id":148525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe9"} 
[2026-08-05 08:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763273408,"raw_latitude":95327160,"longitude_deg":76.3273408,"latitude_deg":9.532716,"altitude":8,"angle":355,"satellites":43,"speed":58,"hex_longitude":"2d7ea0c0","hex_latitude":"05ae93b8","is_valid_coordinates":true} 
[2026-08-05 08:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190292480001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370458512876109824,"note":"Value kept but may cause issues"} 
[2026-08-05 08:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125066925640048640,"note":"Value kept but may cause issues"} 
[2026-08-05 08:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785899586000,"timestamp_ms":1785899586000,"timestamp_seconds":1785899586,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe911d0"} 
[2026-08-05 08:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 08:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190292480001,"66":27930,"29":206,"85":12544,"24":58,"16":370458512876109824,"45":9125066925640048640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-05 08:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190292480001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:43:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-05 08:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370458512876109824,"km_value":370458512876109.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125066925640048640,"description":"Unknown IO ID 45"} 
[2026-08-05 08:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190292480001,"power":27930,"unknown_29":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9125066925640048640}} 
[2026-08-05 08:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":148525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:43:58] local.INFO: GPS data processed {"connection_id":148525,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:43:58] local.INFO: Acknowledgment sent {"connection_id":148525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:44:15] local.INFO: TCP Data received {"connection_id":148303,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:44:15] local.INFO: Processing buffer {"connection_id":148303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:44:15] local.INFO: IMEI packet received {"connection_id":148303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":148303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:44:15] local.INFO: TCP Data received {"connection_id":148303,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:44:15] local.INFO: Processing buffer {"connection_id":148303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:44:15] local.INFO: IMEI packet received {"connection_id":148303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":148303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:44:21] local.INFO: TCP Data received {"connection_id":148303,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:44:21] local.INFO: Processing buffer {"connection_id":148303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:44:21] local.INFO: IMEI packet received {"connection_id":148303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":148303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:44:22] local.INFO: TCP Data received {"connection_id":148303,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe93110012d7e9d0005aeb8300008015c2a..."} 
[2026-08-05 08:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe93110012d7e9d0005aeb8300008015c2a..."} 
[2026-08-05 08:44:22] local.INFO: Processing buffer {"connection_id":148303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe93110012d7e9d0005aeb8300008015c2a..."} 
[2026-08-05 08:44:22] local.INFO: Packet analysis {"connection_id":148303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe9"} 
[2026-08-05 08:44:22] local.INFO: Extracted packet for processing {"connection_id":148303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe9"} 
[2026-08-05 08:44:22] local.INFO: GPS Element Parsed {"raw_longitude":763272448,"raw_latitude":95336496,"longitude_deg":76.3272448,"latitude_deg":9.5336496,"altitude":8,"angle":348,"satellites":42,"speed":34,"hex_longitude":"2d7e9d00","hex_latitude":"05aeb830","is_valid_coordinates":true} 
[2026-08-05 08:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190294016001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370458968142643200,"note":"Value kept but may cause issues"} 
[2026-08-05 08:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124503975688910848,"note":"Value kept but may cause issues"} 
[2026-08-05 08:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785899594000,"timestamp_ms":1785899594000,"timestamp_seconds":1785899594,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe93110"} 
[2026-08-05 08:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 08:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190294016001,"66":27876,"29":206,"85":12544,"24":34,"16":370458968142643200,"45":9124503975688910848},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-05 08:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190294016001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:44:22] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-05 08:44:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370458968142643200,"km_value":370458968142643.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124503975688910848,"description":"Unknown IO ID 45"} 
[2026-08-05 08:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190294016001,"power":27876,"unknown_29":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9124503975688910848}} 
[2026-08-05 08:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":148303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:44:22] local.INFO: GPS data processed {"connection_id":148303,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:44:22] local.INFO: Acknowledgment sent {"connection_id":148303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:44:53] local.INFO: TCP Data received {"connection_id":148303,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe940b0012d7e9b0005aec4d8000900022b..."} 
[2026-08-05 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe940b0012d7e9b0005aec4d8000900022b..."} 
[2026-08-05 08:44:53] local.INFO: Processing buffer {"connection_id":148303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe940b0012d7e9b0005aec4d8000900022b..."} 
[2026-08-05 08:44:53] local.INFO: Packet analysis {"connection_id":148303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe9"} 
[2026-08-05 08:44:53] local.INFO: Extracted packet for processing {"connection_id":148303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe9"} 
[2026-08-05 08:44:53] local.INFO: GPS Element Parsed {"raw_longitude":763271936,"raw_latitude":95339736,"longitude_deg":76.3271936,"latitude_deg":9.5339736,"altitude":9,"angle":2,"satellites":43,"speed":31,"hex_longitude":"2d7e9b00","hex_latitude":"05aec4d8","is_valid_coordinates":true} 
[2026-08-05 08:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370459127056433152,"note":"Value kept but may cause issues"} 
[2026-08-05 08:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123448444528635904,"note":"Value kept but may cause issues"} 
[2026-08-05 08:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785899598000,"timestamp_ms":1785899598000,"timestamp_seconds":1785899598,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe940b0"} 
[2026-08-05 08:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190296064001,"66":27876,"29":206,"85":12544,"24":31,"16":370459127056433152,"45":9123448444528635904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-05 08:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:44:53] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-05 08:44:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370459127056433152,"km_value":370459127056433.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123448444528635904,"description":"Unknown IO ID 45"} 
[2026-08-05 08:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190296064001,"power":27876,"unknown_29":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9123448444528635904}} 
[2026-08-05 08:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":148303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:44:53] local.INFO: GPS data processed {"connection_id":148303,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:44:53] local.INFO: Acknowledgment sent {"connection_id":148303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:45:15] local.INFO: TCP Data received {"connection_id":148304,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:45:15] local.INFO: Processing buffer {"connection_id":148304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:45:15] local.INFO: IMEI packet received {"connection_id":148304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":148304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:45:15] local.INFO: TCP Data received {"connection_id":148304,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:45:15] local.INFO: Processing buffer {"connection_id":148304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:45:15] local.INFO: IMEI packet received {"connection_id":148304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":148304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:45:20] local.INFO: TCP Data received {"connection_id":148304,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:45:20] local.INFO: Processing buffer {"connection_id":148304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:45:20] local.INFO: IMEI packet received {"connection_id":148304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":148304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:45:22] local.INFO: TCP Data received {"connection_id":148304,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe967c0012d7e998005aee9f0000901672b..."} 
[2026-08-05 08:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe967c0012d7e998005aee9f0000901672b..."} 
[2026-08-05 08:45:22] local.INFO: Processing buffer {"connection_id":148304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe967c0012d7e998005aee9f0000901672b..."} 
[2026-08-05 08:45:22] local.INFO: Packet analysis {"connection_id":148304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe9"} 
[2026-08-05 08:45:22] local.INFO: Extracted packet for processing {"connection_id":148304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe9"} 
[2026-08-05 08:45:22] local.INFO: GPS Element Parsed {"raw_longitude":763271552,"raw_latitude":95349232,"longitude_deg":76.3271552,"latitude_deg":9.5349232,"altitude":9,"angle":359,"satellites":43,"speed":44,"hex_longitude":"2d7e9980","hex_latitude":"05aee9f0","is_valid_coordinates":true} 
[2026-08-05 08:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190297088001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370459586617933824,"note":"Value kept but may cause issues"} 
[2026-08-05 08:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122885494576044032,"note":"Value kept but may cause issues"} 
[2026-08-05 08:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785899608000,"timestamp_ms":1785899608000,"timestamp_seconds":1785899608,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe967c0"} 
[2026-08-05 08:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190297088001,"66":27615,"28":206,"85":12544,"24":44,"16":370459586617933824,"45":9122885494576044032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 08:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190297088001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:45:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 08:45:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370459586617933824,"km_value":370459586617933.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122885494576044032,"description":"Unknown IO ID 45"} 
[2026-08-05 08:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190297088001,"power":27615,"unknown_28":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9122885494576044032}} 
[2026-08-05 08:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":148304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:45:22] local.INFO: GPS data processed {"connection_id":148304,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:45:22] local.INFO: Acknowledgment sent {"connection_id":148304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:45:55] local.INFO: TCP Data received {"connection_id":148304,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfe98700012d7e98c005af0d28000901662b..."} 
[2026-08-05 08:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfe98700012d7e98c005af0d28000901662b..."} 
[2026-08-05 08:45:55] local.INFO: Processing buffer {"connection_id":148304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfe98700012d7e98c005af0d28000901662b..."} 
[2026-08-05 08:45:55] local.INFO: Packet analysis {"connection_id":148304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfe9"} 
[2026-08-05 08:45:55] local.INFO: Extracted packet for processing {"connection_id":148304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfe9"} 
[2026-08-05 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763271360,"raw_latitude":95358248,"longitude_deg":76.327136,"latitude_deg":9.5358248,"altitude":9,"angle":358,"satellites":43,"speed":44,"hex_longitude":"2d7e98c0","hex_latitude":"05af0d28","is_valid_coordinates":true} 
[2026-08-05 08:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190299648001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370460024704598016,"note":"Value kept but may cause issues"} 
[2026-08-05 08:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122463282113409024,"note":"Value kept but may cause issues"} 
[2026-08-05 08:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785899616000,"timestamp_ms":1785899616000,"timestamp_seconds":1785899616,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfe98700"} 
[2026-08-05 08:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-05 08:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:45: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-08-05 08:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190299648001,"66":28050,"27":206,"85":12544,"24":44,"16":370460024704598016,"45":9122463282113409024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 08:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190299648001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:45:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 08:45:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370460024704598016,"km_value":370460024704598.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122463282113409024,"description":"Unknown IO ID 45"} 
[2026-08-05 08:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190299648001,"power":28050,"unknown_27":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9122463282113409024}} 
[2026-08-05 08:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":148304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:45:55] local.INFO: GPS data processed {"connection_id":148304,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:45:55] local.INFO: Acknowledgment sent {"connection_id":148304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:46:15] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:46:15] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:46:15] local.INFO: IMEI packet received {"connection_id":148526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":148526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:46:20] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:46:20] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:46:20] local.INFO: IMEI packet received {"connection_id":148526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":148526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:46:21] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfeb0da0012d7f200005af72a80009008026..."} 
[2026-08-05 08:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfeb0da0012d7f200005af72a80009008026..."} 
[2026-08-05 08:46:21] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfeb0da0012d7f200005af72a80009008026..."} 
[2026-08-05 08:46:21] local.INFO: Packet analysis {"connection_id":148526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfeb"} 
[2026-08-05 08:46:21] local.INFO: Extracted packet for processing {"connection_id":148526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfeb"} 
[2026-08-05 08:46:21] local.INFO: GPS Element Parsed {"raw_longitude":763305984,"raw_latitude":95384232,"longitude_deg":76.3305984,"latitude_deg":9.5384232,"altitude":9,"angle":128,"satellites":38,"speed":33,"hex_longitude":"2d7f2000","hex_latitude":"05af72a8","is_valid_coordinates":true} 
[2026-08-05 08:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190326784001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370463078426345472,"note":"Value kept but may cause issues"} 
[2026-08-05 08:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158703185374093312,"note":"Value kept but may cause issues"} 
[2026-08-05 08:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785899716000,"timestamp_ms":1785899716000,"timestamp_seconds":1785899716,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfeb0da0"} 
[2026-08-05 08:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-05 08:46: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-08-05 08:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:46: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-08-05 08:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190326784001,"66":27843,"27":206,"85":12544,"24":33,"16":370463078426345472,"45":9158703185374093312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 08:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190326784001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:46:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 08:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370463078426345472,"km_value":370463078426345.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158703185374093312,"description":"Unknown IO ID 45"} 
[2026-08-05 08:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190326784001,"power":27843,"unknown_27":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9158703185374093312}} 
[2026-08-05 08:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":148526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:46:21] local.INFO: GPS data processed {"connection_id":148526,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:46:21] local.INFO: Acknowledgment sent {"connection_id":148526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:46:53] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfebdca8012d7f39c005afb770000c002425..."} 
[2026-08-05 08:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfebdca8012d7f39c005afb770000c002425..."} 
[2026-08-05 08:46:53] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfebdca8012d7f39c005afb770000c002425..."} 
[2026-08-05 08:46:53] local.INFO: Packet analysis {"connection_id":148526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfeb"} 
[2026-08-05 08:46:53] local.INFO: Extracted packet for processing {"connection_id":148526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfeb"} 
[2026-08-05 08:46:53] local.INFO: GPS Element Parsed {"raw_longitude":763312576,"raw_latitude":95401840,"longitude_deg":76.3312576,"latitude_deg":9.540184,"altitude":12,"angle":36,"satellites":37,"speed":13,"hex_longitude":"2d7f39c0","hex_latitude":"05afb770","is_valid_coordinates":true} 
[2026-08-05 08:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190340608001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370464749168623616,"note":"Value kept but may cause issues"} 
[2026-08-05 08:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167428909656324096,"note":"Value kept but may cause issues"} 
[2026-08-05 08:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785899769000,"timestamp_ms":1785899769000,"timestamp_seconds":1785899769,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfebdca8"} 
[2026-08-05 08:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190340608001,"66":27876,"250":206,"85":12544,"24":13,"16":370464749168623616,"45":9167428909656324096},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190340608001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:46:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:46:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370464749168623616,"km_value":370464749168623.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167428909656324096,"description":"Unknown IO ID 45"} 
[2026-08-05 08:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190340608001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9167428909656324096}} 
[2026-08-05 08:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":148526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:46:53] local.INFO: GPS data processed {"connection_id":148526,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:46:53] local.INFO: Acknowledgment sent {"connection_id":148526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:47:15] local.INFO: TCP Data received {"connection_id":148527,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:47:15] local.INFO: Processing buffer {"connection_id":148527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:47:15] local.INFO: IMEI packet received {"connection_id":148527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":148527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:47:20] local.INFO: TCP Data received {"connection_id":148527,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:47:20] local.INFO: Processing buffer {"connection_id":148527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:47:20] local.INFO: IMEI packet received {"connection_id":148527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":148527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:47:21] local.INFO: TCP Data received {"connection_id":148527,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfebe090012d7f3b0005afb830000c003b26..."} 
[2026-08-05 08:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfebe090012d7f3b0005afb830000c003b26..."} 
[2026-08-05 08:47:21] local.INFO: Processing buffer {"connection_id":148527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfebe090012d7f3b0005afb830000c003b26..."} 
[2026-08-05 08:47:21] local.INFO: Packet analysis {"connection_id":148527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfeb"} 
[2026-08-05 08:47:21] local.INFO: Extracted packet for processing {"connection_id":148527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfeb"} 
[2026-08-05 08:47:21] local.INFO: GPS Element Parsed {"raw_longitude":763312896,"raw_latitude":95402032,"longitude_deg":76.3312896,"latitude_deg":9.5402032,"altitude":12,"angle":59,"satellites":38,"speed":12,"hex_longitude":"2d7f3b00","hex_latitude":"05afb830","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190340864001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370464766348492800,"note":"Value kept but may cause issues"} 
[2026-08-05 08:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167569647144759296,"note":"Value kept but may cause issues"} 
[2026-08-05 08:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785899770000,"timestamp_ms":1785899770000,"timestamp_seconds":1785899770,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfebe090"} 
[2026-08-05 08:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:47: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-08-05 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 08:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:47: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-08-05 08:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190340864001,"66":27821,"250":206,"85":12544,"24":12,"16":370464766348492800,"45":9167569647144759296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190340864001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:47:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370464766348492800,"km_value":370464766348492.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167569647144759296,"description":"Unknown IO ID 45"} 
[2026-08-05 08:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190340864001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9167569647144759296}} 
[2026-08-05 08:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":148527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:47:21] local.INFO: GPS data processed {"connection_id":148527,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:47:21] local.INFO: Acknowledgment sent {"connection_id":148527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:47:53] local.INFO: TCP Data received {"connection_id":148527,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfebe478012d7f3c8005afb870000d005527..."} 
[2026-08-05 08:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfebe478012d7f3c8005afb870000d005527..."} 
[2026-08-05 08:47:53] local.INFO: Processing buffer {"connection_id":148527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfebe478012d7f3c8005afb870000d005527..."} 
[2026-08-05 08:47:53] local.INFO: Packet analysis {"connection_id":148527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfeb"} 
[2026-08-05 08:47:53] local.INFO: Extracted packet for processing {"connection_id":148527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfeb"} 
[2026-08-05 08:47:53] local.INFO: GPS Element Parsed {"raw_longitude":763313280,"raw_latitude":95402096,"longitude_deg":76.331328,"latitude_deg":9.5402096,"altitude":13,"angle":85,"satellites":39,"speed":13,"hex_longitude":"2d7f3c80","hex_latitude":"05afb870","is_valid_coordinates":true} 
[2026-08-05 08:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190341120001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370464783528361984,"note":"Value kept but may cause issues"} 
[2026-08-05 08:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167921490865696768,"note":"Value kept but may cause issues"} 
[2026-08-05 08:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785899771000,"timestamp_ms":1785899771000,"timestamp_seconds":1785899771,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfebe478"} 
[2026-08-05 08:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 08:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190341120001,"66":27821,"250":206,"85":12544,"24":13,"16":370464783528361984,"45":9167921490865696768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190341120001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:47:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:47:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370464783528361984,"km_value":370464783528362.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167921490865696768,"description":"Unknown IO ID 45"} 
[2026-08-05 08:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190341120001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9167921490865696768}} 
[2026-08-05 08:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":148527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:47:53] local.INFO: GPS data processed {"connection_id":148527,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:47:53] local.INFO: Acknowledgment sent {"connection_id":148527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:48:20] local.INFO: TCP Data received {"connection_id":150943,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:48:20] local.INFO: Processing buffer {"connection_id":150943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:48:20] local.INFO: IMEI packet received {"connection_id":150943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":150943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:48:21] local.INFO: TCP Data received {"connection_id":150943,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:48:21] local.INFO: Processing buffer {"connection_id":150943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:48:21] local.INFO: IMEI packet received {"connection_id":150943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":150943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:48:25] local.INFO: TCP Data received {"connection_id":150943,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:48:25] local.INFO: Processing buffer {"connection_id":150943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:48:25] local.INFO: IMEI packet received {"connection_id":150943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":150943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:48:27] local.INFO: TCP Data received {"connection_id":150943,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfec2ac8012d7f4b8005afb858000f006426..."} 
[2026-08-05 08:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfec2ac8012d7f4b8005afb858000f006426..."} 
[2026-08-05 08:48:27] local.INFO: Processing buffer {"connection_id":150943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfec2ac8012d7f4b8005afb858000f006426..."} 
[2026-08-05 08:48:27] local.INFO: Packet analysis {"connection_id":150943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfec"} 
[2026-08-05 08:48:27] local.INFO: Extracted packet for processing {"connection_id":150943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfec"} 
[2026-08-05 08:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763317120,"raw_latitude":95402072,"longitude_deg":76.331712,"latitude_deg":9.5402072,"altitude":15,"angle":100,"satellites":38,"speed":11,"hex_longitude":"2d7f4b80","hex_latitude":"05afb858","is_valid_coordinates":true} 
[2026-08-05 08:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190341376001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370464968211955712,"note":"Value kept but may cause issues"} 
[2026-08-05 08:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168343703330779136,"note":"Value kept but may cause issues"} 
[2026-08-05 08:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785899789000,"timestamp_ms":1785899789000,"timestamp_seconds":1785899789,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfec2ac8"} 
[2026-08-05 08:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 08:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190341376001,"66":27789,"250":206,"85":12544,"24":11,"16":370464968211955712,"45":9168343703330779136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190341376001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:48:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370464968211955712,"km_value":370464968211955.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168343703330779136,"description":"Unknown IO ID 45"} 
[2026-08-05 08:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190341376001,"power":27789,"unknown_250":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9168343703330779136}} 
[2026-08-05 08:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":150943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:48:27] local.INFO: GPS data processed {"connection_id":150943,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:48:27] local.INFO: Acknowledgment sent {"connection_id":150943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:48:31] local.INFO: TCP Data received {"connection_id":150943,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfec3a68012d7f534005afb828000e005727..."} 
[2026-08-05 08:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfec3a68012d7f534005afb828000e005727..."} 
[2026-08-05 08:48:31] local.INFO: Processing buffer {"connection_id":150943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfec3a68012d7f534005afb828000e005727..."} 
[2026-08-05 08:48:31] local.INFO: Packet analysis {"connection_id":150943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfec"} 
[2026-08-05 08:48:31] local.INFO: Extracted packet for processing {"connection_id":150943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfec"} 
[2026-08-05 08:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763319104,"raw_latitude":95402024,"longitude_deg":76.3319104,"latitude_deg":9.5402024,"altitude":14,"angle":87,"satellites":39,"speed":22,"hex_longitude":"2d7f5340","hex_latitude":"05afb828","is_valid_coordinates":true} 
[2026-08-05 08:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190345984001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370465062701236224,"note":"Value kept but may cause issues"} 
[2026-08-05 08:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172565827981432832,"note":"Value kept but may cause issues"} 
[2026-08-05 08:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785899793000,"timestamp_ms":1785899793000,"timestamp_seconds":1785899793,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfec3a68"} 
[2026-08-05 08:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-05 08:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":150943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":150943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":150943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190345984001,"66":27767,"250":206,"85":12544,"24":22,"16":370465062701236224,"45":9172565827981432832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190345984001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:48:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:48:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370465062701236224,"km_value":370465062701236.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172565827981432832,"description":"Unknown IO ID 45"} 
[2026-08-05 08:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190345984001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":22,"odometer":null,"unknown_45":9172565827981432832}} 
[2026-08-05 08:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":150943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:48:31] local.INFO: GPS data processed {"connection_id":150943,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:48:31] local.INFO: Acknowledgment sent {"connection_id":150943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:49:16] local.INFO: TCP Data received {"connection_id":150944,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:49:16] local.INFO: Processing buffer {"connection_id":150944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:49:16] local.INFO: IMEI packet received {"connection_id":150944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":150944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:49:16] local.INFO: TCP Data received {"connection_id":150944,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 08:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150944,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 08:49:16] local.INFO: Processing buffer {"connection_id":150944,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 08:49:16] local.INFO: IMEI packet received {"connection_id":150944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":150944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:49:17] local.INFO: TCP Data received {"connection_id":150944,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:49:17] local.INFO: Processing buffer {"connection_id":150944,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 08:49:17] local.INFO: IMEI packet received {"connection_id":150944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":150944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:54:22] local.INFO: TCP Data received {"connection_id":149526,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:54:22] local.INFO: Processing buffer {"connection_id":149526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:54:22] local.INFO: IMEI packet received {"connection_id":149526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":149526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:54:22] local.INFO: TCP Data received {"connection_id":149526,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff035f0012d7fa94005afe1c80008010e26..."} 
[2026-08-05 08:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff035f0012d7fa94005afe1c80008010e26..."} 
[2026-08-05 08:54:22] local.INFO: Processing buffer {"connection_id":149526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff035f0012d7fa94005afe1c80008010e26..."} 
[2026-08-05 08:54:22] local.INFO: Packet analysis {"connection_id":149526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff0"} 
[2026-08-05 08:54:22] local.INFO: Extracted packet for processing {"connection_id":149526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff0"} 
[2026-08-05 08:54:22] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95412680,"longitude_deg":76.334112,"latitude_deg":9.541268,"altitude":8,"angle":270,"satellites":38,"speed":4,"hex_longitude":"2d7fa940","hex_latitude":"05afe1c8","is_valid_coordinates":true} 
[2026-08-05 08:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190413312001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 08:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027581440,"note":"Value kept but may cause issues"} 
[2026-08-05 08:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785900054000,"timestamp_ms":1785900054000,"timestamp_seconds":1785900054,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff035f0"} 
[2026-08-05 08:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 08:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 08:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08: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-08-05 08:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190413312001,"66":27539,"250":206,"85":12544,"24":4,"16":370466574529724416,"45":9199235582027581440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190413312001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:54:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:54:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027581440,"description":"Unknown IO ID 45"} 
[2026-08-05 08:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190413312001,"power":27539,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9199235582027581440}} 
[2026-08-05 08:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":149526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:54:22] local.INFO: GPS data processed {"connection_id":149526,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:54:22] local.INFO: Acknowledgment sent {"connection_id":149526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:54:54] local.INFO: TCP Data received {"connection_id":149526,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff039d8012d7fa8c005afe198000800f627..."} 
[2026-08-05 08:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff039d8012d7fa8c005afe198000800f627..."} 
[2026-08-05 08:54:54] local.INFO: Processing buffer {"connection_id":149526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff039d8012d7fa8c005afe198000800f627..."} 
[2026-08-05 08:54:54] local.INFO: Packet analysis {"connection_id":149526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff0"} 
[2026-08-05 08:54:54] local.INFO: Extracted packet for processing {"connection_id":149526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff0"} 
[2026-08-05 08:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95412632,"longitude_deg":76.3340992,"latitude_deg":9.5412632,"altitude":8,"angle":246,"satellites":39,"speed":6,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe198","is_valid_coordinates":true} 
[2026-08-05 08:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190413824001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 08:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050772480,"note":"Value kept but may cause issues"} 
[2026-08-05 08:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785900055000,"timestamp_ms":1785900055000,"timestamp_seconds":1785900055,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff039d8"} 
[2026-08-05 08:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 08:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 08:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:54: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-08-05 08:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190413824001,"66":27539,"250":206,"85":12544,"24":6,"16":370466574529724416,"45":9198954107050772480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190413824001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:54:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050772480,"description":"Unknown IO ID 45"} 
[2026-08-05 08:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190413824001,"power":27539,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9198954107050772480}} 
[2026-08-05 08:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":149526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:54:54] local.INFO: GPS data processed {"connection_id":149526,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:54:54] local.INFO: Acknowledgment sent {"connection_id":149526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:55:15] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:55:15] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:55:15] local.INFO: IMEI packet received {"connection_id":148529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":148529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:55:20] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:55:20] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:55:20] local.INFO: IMEI packet received {"connection_id":148529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":148529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:55:21] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff03dc0012d7fa88005afe130000900e827..."} 
[2026-08-05 08:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff03dc0012d7fa88005afe130000900e827..."} 
[2026-08-05 08:55:21] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff03dc0012d7fa88005afe130000900e827..."} 
[2026-08-05 08:55:21] local.INFO: Packet analysis {"connection_id":148529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff0"} 
[2026-08-05 08:55:21] local.INFO: Extracted packet for processing {"connection_id":148529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff0"} 
[2026-08-05 08:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412528,"longitude_deg":76.3340928,"latitude_deg":9.5412528,"altitude":9,"angle":232,"satellites":39,"speed":4,"hex_longitude":"2d7fa880","hex_latitude":"05afe130","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190414080001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 08:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562404864,"note":"Value kept but may cause issues"} 
[2026-08-05 08:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785900056000,"timestamp_ms":1785900056000,"timestamp_seconds":1785900056,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff03dc0"} 
[2026-08-05 08:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:55: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-08-05 08: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 08:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190414080001,"66":27180,"250":206,"85":12544,"24":4,"16":370466574529724416,"45":9198813369562404864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190414080001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:55:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562404864,"description":"Unknown IO ID 45"} 
[2026-08-05 08:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190414080001,"power":27180,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9198813369562404864}} 
[2026-08-05 08:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":148529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:55:21] local.INFO: GPS data processed {"connection_id":148529,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:55:21] local.INFO: Acknowledgment sent {"connection_id":148529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:55:52] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff041a8012d7fa7c005afe0b0000900d727..."} 
[2026-08-05 08:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff041a8012d7fa7c005afe0b0000900d727..."} 
[2026-08-05 08:55:52] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff041a8012d7fa7c005afe0b0000900d727..."} 
[2026-08-05 08:55:52] local.INFO: Packet analysis {"connection_id":148529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff0"} 
[2026-08-05 08:55:52] local.INFO: Extracted packet for processing {"connection_id":148529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff0"} 
[2026-08-05 08:55:52] local.INFO: GPS Element Parsed {"raw_longitude":763340736,"raw_latitude":95412400,"longitude_deg":76.3340736,"latitude_deg":9.54124,"altitude":9,"angle":215,"satellites":39,"speed":3,"hex_longitude":"2d7fa7c0","hex_latitude":"05afe0b0","is_valid_coordinates":true} 
[2026-08-05 08:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190414336001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 08:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818200576,"note":"Value kept but may cause issues"} 
[2026-08-05 08:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785900057000,"timestamp_ms":1785900057000,"timestamp_seconds":1785900057,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff041a8"} 
[2026-08-05 08:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 08:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-05 08:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190414336001,"66":27180,"250":206,"85":12544,"24":3,"16":370466574529724416,"45":9198743000818200576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190414336001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:55:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818200576,"description":"Unknown IO ID 45"} 
[2026-08-05 08:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190414336001,"power":27180,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9198743000818200576}} 
[2026-08-05 08:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":148529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:55:52] local.INFO: GPS data processed {"connection_id":148529,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:55:52] local.INFO: Acknowledgment sent {"connection_id":148529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:56:15] local.INFO: TCP Data received {"connection_id":150947,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:56:15] local.INFO: Processing buffer {"connection_id":150947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:56:15] local.INFO: IMEI packet received {"connection_id":150947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":150947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:56:20] local.INFO: TCP Data received {"connection_id":150947,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:56:20] local.INFO: Processing buffer {"connection_id":150947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:56:20] local.INFO: IMEI packet received {"connection_id":150947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":150947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:56:21] local.INFO: TCP Data received {"connection_id":150947,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff04590012d7fa78005afe058000900b626..."} 
[2026-08-05 08:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff04590012d7fa78005afe058000900b626..."} 
[2026-08-05 08:56:21] local.INFO: Processing buffer {"connection_id":150947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff04590012d7fa78005afe058000900b626..."} 
[2026-08-05 08:56:21] local.INFO: Packet analysis {"connection_id":150947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff0"} 
[2026-08-05 08:56:21] local.INFO: Extracted packet for processing {"connection_id":150947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff0"} 
[2026-08-05 08:56:21] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95412312,"longitude_deg":76.3340672,"latitude_deg":9.5412312,"altitude":9,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afe058","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190414592001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 08:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198531894585634816,"note":"Value kept but may cause issues"} 
[2026-08-05 08:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785900058000,"timestamp_ms":1785900058000,"timestamp_seconds":1785900058,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff04590"} 
[2026-08-05 08:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:56: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-08-05 08: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-05 08:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190414592001,"66":27050,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9198531894585634816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190414592001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:56:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198531894585634816,"description":"Unknown IO ID 45"} 
[2026-08-05 08:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190414592001,"power":27050,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198531894585634816}} 
[2026-08-05 08:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":150947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:56:21] local.INFO: GPS data processed {"connection_id":150947,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:56:21] local.INFO: Acknowledgment sent {"connection_id":150947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:56:52] local.INFO: TCP Data received {"connection_id":150947,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff2d5d0012d7fa88005afe198000f00b622..."} 
[2026-08-05 08:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff2d5d0012d7fa88005afe198000f00b622..."} 
[2026-08-05 08:56:52] local.INFO: Processing buffer {"connection_id":150947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff2d5d0012d7fa88005afe198000f00b622..."} 
[2026-08-05 08:56:52] local.INFO: Packet analysis {"connection_id":150947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff2"} 
[2026-08-05 08:56:52] local.INFO: Extracted packet for processing {"connection_id":150947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff2"} 
[2026-08-05 08:56:52] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412632,"longitude_deg":76.3340928,"latitude_deg":9.5412632,"altitude":15,"angle":182,"satellites":34,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe198","is_valid_coordinates":true} 
[2026-08-05 08:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190414848001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 08:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841434624,"note":"Value kept but may cause issues"} 
[2026-08-05 08:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785900226000,"timestamp_ms":1785900226000,"timestamp_seconds":1785900226,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff2d5d0"} 
[2026-08-05 08:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 08:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-05 08:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190414848001,"66":26539,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9198461525841434624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190414848001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:56:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841434624,"description":"Unknown IO ID 45"} 
[2026-08-05 08:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190414848001,"power":26539,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841434624}} 
[2026-08-05 08:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":150947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:56:52] local.INFO: GPS data processed {"connection_id":150947,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:56:52] local.INFO: Acknowledgment sent {"connection_id":150947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:57:16] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:57:16] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:57:16] local.INFO: IMEI packet received {"connection_id":148530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":148530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:57:20] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:57:20] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:57:20] local.INFO: IMEI packet received {"connection_id":148530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":148530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:57:21] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff2dda0012d7fa88005afe278000f010221..."} 
[2026-08-05 08:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff2dda0012d7fa88005afe278000f010221..."} 
[2026-08-05 08:57:21] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff2dda0012d7fa88005afe278000f010221..."} 
[2026-08-05 08:57:21] local.INFO: Packet analysis {"connection_id":148530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff2"} 
[2026-08-05 08:57:21] local.INFO: Extracted packet for processing {"connection_id":148530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff2"} 
[2026-08-05 08:57:21] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412856,"longitude_deg":76.3340928,"latitude_deg":9.5412856,"altitude":15,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe278","is_valid_coordinates":true} 
[2026-08-05 08: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-08-05 08:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190457856001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 08:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818227200,"note":"Value kept but may cause issues"} 
[2026-08-05 08:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785900228000,"timestamp_ms":1785900228000,"timestamp_seconds":1785900228,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff2dda0"} 
[2026-08-05 08:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-05 08:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08: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-08-05 08:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190457856001,"66":23756,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818227200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190457856001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:57:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818227200,"description":"Unknown IO ID 45"} 
[2026-08-05 08:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190457856001,"power":23756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818227200}} 
[2026-08-05 08:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":148530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:57:21] local.INFO: GPS data processed {"connection_id":148530,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:57:21] local.INFO: Acknowledgment sent {"connection_id":148530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:57:52] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff32fa8012d7fa88005afe278000f010221..."} 
[2026-08-05 08:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff32fa8012d7fa88005afe278000f010221..."} 
[2026-08-05 08:57:52] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff32fa8012d7fa88005afe278000f010221..."} 
[2026-08-05 08:57:52] local.INFO: Packet analysis {"connection_id":148530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff3"} 
[2026-08-05 08:57:52] local.INFO: Extracted packet for processing {"connection_id":148530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff3"} 
[2026-08-05 08:57:52] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412856,"longitude_deg":76.3340928,"latitude_deg":9.5412856,"altitude":15,"angle":258,"satellites":33,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe278","is_valid_coordinates":true} 
[2026-08-05 08:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190458368001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 08:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 08:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785900249000,"timestamp_ms":1785900249000,"timestamp_seconds":1785900249,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff32fa8"} 
[2026-08-05 08:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":92,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-05 08:57:52] 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-08-05 08:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190458368001,"66":27245,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190458368001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:57:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 08:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190458368001,"power":27245,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 08:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":148530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:57:52] local.INFO: GPS data processed {"connection_id":148530,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:57:52] local.INFO: Acknowledgment sent {"connection_id":148530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:58:15] local.INFO: TCP Data received {"connection_id":149527,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:58:15] local.INFO: Processing buffer {"connection_id":149527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:58:15] local.INFO: IMEI packet received {"connection_id":149527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":149527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:58:20] local.INFO: TCP Data received {"connection_id":149527,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:58:20] local.INFO: Processing buffer {"connection_id":149527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:58:20] local.INFO: IMEI packet received {"connection_id":149527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":149527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:58:22] local.INFO: TCP Data received {"connection_id":149527,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 08:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 08:58:22] local.INFO: Processing buffer {"connection_id":149527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 08:58:22] local.INFO: Packet analysis {"connection_id":149527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff3"} 
[2026-08-05 08:58:22] local.INFO: Extracted packet for processing {"connection_id":149527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff3"} 
[2026-08-05 08:58:22] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412856,"longitude_deg":76.3340928,"latitude_deg":9.5412856,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe278","is_valid_coordinates":true} 
[2026-08-05 08:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190463744001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 08:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 08:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785900264000,"timestamp_ms":1785900264000,"timestamp_seconds":1785900264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff36a40"} 
[2026-08-05 08:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 08:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190463744001,"66":27745,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190463744001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:58:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:58:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 08:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190463744001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 08:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":149527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:58:22] local.INFO: GPS data processed {"connection_id":149527,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:58:22] local.INFO: Acknowledgment sent {"connection_id":149527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:58:55] local.INFO: TCP Data received {"connection_id":149527,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 08:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 08:58:55] local.INFO: Processing buffer {"connection_id":149527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 08:58:55] local.INFO: Packet analysis {"connection_id":149527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff3"} 
[2026-08-05 08:58:55] local.INFO: Extracted packet for processing {"connection_id":149527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff3"} 
[2026-08-05 08:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412856,"longitude_deg":76.3340928,"latitude_deg":9.5412856,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe278","is_valid_coordinates":true} 
[2026-08-05 08:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 08:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190463744001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 08:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 08:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785900264000,"timestamp_ms":1785900264000,"timestamp_seconds":1785900264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff36a40"} 
[2026-08-05 08:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 08:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 08:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 08:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190463744001,"66":27745,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190463744001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:58:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 08:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190463744001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 08:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":149527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:58:55] local.INFO: GPS data processed {"connection_id":149527,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:58:55] local.INFO: Acknowledgment sent {"connection_id":149527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 08:59:15] local.INFO: TCP Data received {"connection_id":148305,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:59:15] local.INFO: Processing buffer {"connection_id":148305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:59:15] local.INFO: IMEI packet received {"connection_id":148305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 08:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":148305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 08:59:20] local.INFO: TCP Data received {"connection_id":148305,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:59:20] local.INFO: Processing buffer {"connection_id":148305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 08:59:20] local.INFO: IMEI packet received {"connection_id":148305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 08:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":148305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 08:59:21] local.INFO: TCP Data received {"connection_id":148305,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 08:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 08:59:21] local.INFO: Processing buffer {"connection_id":148305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 08:59:21] local.INFO: Packet analysis {"connection_id":148305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff3"} 
[2026-08-05 08:59:21] local.INFO: Extracted packet for processing {"connection_id":148305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff3"} 
[2026-08-05 08:59:21] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412856,"longitude_deg":76.3340928,"latitude_deg":9.5412856,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe278","is_valid_coordinates":true} 
[2026-08-05 08:59: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-08-05 08:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190463744001,"note":"Value kept but may cause issues"} 
[2026-08-05 08:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 08:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 08:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 08:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785900264000,"timestamp_ms":1785900264000,"timestamp_seconds":1785900264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff36a40"} 
[2026-08-05 08:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 08:59: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-08-05 08:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 08:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 08:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 08:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 08:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 08:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 08:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 08:59: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-08-05 08:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 08:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 08:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190463744001,"66":27745,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 08:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 08:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 08:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190463744001,"description":"Unknown IO ID 0"} 
[2026-08-05 08:59:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 08:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 08:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 08:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 08:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190463744001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 08:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":148305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 08:59:21] local.INFO: GPS data processed {"connection_id":148305,"processed":1,"errors":0,"total":1} 
[2026-08-05 08:59:21] local.INFO: Acknowledgment sent {"connection_id":148305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:00:06] local.INFO: TCP Data received {"connection_id":148305,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 09:00:06] local.INFO: Processing buffer {"connection_id":148305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff36a40012d7fa88005afe278000f010223..."} 
[2026-08-05 09:00:06] local.INFO: Packet analysis {"connection_id":148305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff3"} 
[2026-08-05 09:00:06] local.INFO: Extracted packet for processing {"connection_id":148305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff3"} 
[2026-08-05 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95412856,"longitude_deg":76.3340928,"latitude_deg":9.5412856,"altitude":15,"angle":258,"satellites":35,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afe278","is_valid_coordinates":true} 
[2026-08-05 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190463744001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 09:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785900264000,"timestamp_ms":1785900264000,"timestamp_seconds":1785900264,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff36a40"} 
[2026-08-05 09:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 09:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190463744001,"66":27745,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190463744001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:00:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 09:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190463744001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 09:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":148305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:00:06] local.INFO: GPS data processed {"connection_id":148305,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:00:06] local.INFO: Acknowledgment sent {"connection_id":148305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:00:25] local.INFO: TCP Data received {"connection_id":148306,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:00:25] local.INFO: Processing buffer {"connection_id":148306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:00:25] local.INFO: IMEI packet received {"connection_id":148306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":148306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:00:30] local.INFO: TCP Data received {"connection_id":148306,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:00:30] local.INFO: Processing buffer {"connection_id":148306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:00:30] local.INFO: IMEI packet received {"connection_id":148306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":148306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:00:33] local.INFO: TCP Data received {"connection_id":148306,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:00:33] local.INFO: Processing buffer {"connection_id":148306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:00:33] local.INFO: Packet analysis {"connection_id":148306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:00:33] local.INFO: Extracted packet for processing {"connection_id":148306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190467584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 09:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785900568000,"timestamp_ms":1785900568000,"timestamp_seconds":1785900568,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff80dc0"} 
[2026-08-05 09:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 09:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190467584001,"66":26452,"33":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-05 09:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190467584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:00:33] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-05 09:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 09:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190467584001,"power":26452,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 09:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":148306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:00:33] local.INFO: GPS data processed {"connection_id":148306,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:00:33] local.INFO: Acknowledgment sent {"connection_id":148306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:00:36] local.INFO: TCP Data received {"connection_id":148306,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:00:36] local.INFO: Processing buffer {"connection_id":148306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:00:36] local.INFO: Packet analysis {"connection_id":148306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:00:36] local.INFO: Extracted packet for processing {"connection_id":148306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190467584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 09:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785900568000,"timestamp_ms":1785900568000,"timestamp_seconds":1785900568,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff80dc0"} 
[2026-08-05 09:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 09:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190467584001,"66":26452,"33":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-05 09:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190467584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:00:36] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-05 09:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 09:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190467584001,"power":26452,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 09:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":148306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:00:36] local.INFO: GPS data processed {"connection_id":148306,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:00:36] local.INFO: Acknowledgment sent {"connection_id":148306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:01:15] local.INFO: TCP Data received {"connection_id":150948,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:01:15] local.INFO: Processing buffer {"connection_id":150948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:01:15] local.INFO: IMEI packet received {"connection_id":150948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":150948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:01:20] local.INFO: TCP Data received {"connection_id":150948,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:01:20] local.INFO: Processing buffer {"connection_id":150948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:01:20] local.INFO: IMEI packet received {"connection_id":150948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":150948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:01:21] local.INFO: TCP Data received {"connection_id":150948,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:01:21] local.INFO: Processing buffer {"connection_id":150948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:01:21] local.INFO: Packet analysis {"connection_id":150948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:01:21] local.INFO: Extracted packet for processing {"connection_id":150948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190467584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 09:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785900568000,"timestamp_ms":1785900568000,"timestamp_seconds":1785900568,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff80dc0"} 
[2026-08-05 09:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:01: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-08-05 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 09:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190467584001,"66":26452,"33":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-05 09:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190467584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:01:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-05 09:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 09:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190467584001,"power":26452,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 09:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":150948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:01:21] local.INFO: GPS data processed {"connection_id":150948,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:01:21] local.INFO: Acknowledgment sent {"connection_id":150948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:01:52] local.INFO: TCP Data received {"connection_id":150948,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:01:52] local.INFO: Processing buffer {"connection_id":150948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:01:52] local.INFO: Packet analysis {"connection_id":150948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:01:52] local.INFO: Extracted packet for processing {"connection_id":150948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:01:52] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190467584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 09:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785900568000,"timestamp_ms":1785900568000,"timestamp_seconds":1785900568,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff80dc0"} 
[2026-08-05 09:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 09:01: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-08-05 09:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190467584001,"66":26452,"33":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-05 09:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190467584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:01:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-05 09:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 09:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190467584001,"power":26452,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 09:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":150948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:01:52] local.INFO: GPS data processed {"connection_id":150948,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:01:52] local.INFO: Acknowledgment sent {"connection_id":150948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:02:15] local.INFO: TCP Data received {"connection_id":149528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:02:15] local.INFO: Processing buffer {"connection_id":149528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:02:15] local.INFO: IMEI packet received {"connection_id":149528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":149528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:02:20] local.INFO: TCP Data received {"connection_id":149528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:02:20] local.INFO: Processing buffer {"connection_id":149528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:02:20] local.INFO: IMEI packet received {"connection_id":149528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":149528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:02:21] local.INFO: TCP Data received {"connection_id":149528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:02:21] local.INFO: Processing buffer {"connection_id":149528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:02:21] local.INFO: Packet analysis {"connection_id":149528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:02:21] local.INFO: Extracted packet for processing {"connection_id":149528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:02:21] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 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-08-05 09:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190467584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 09:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785900568000,"timestamp_ms":1785900568000,"timestamp_seconds":1785900568,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff80dc0"} 
[2026-08-05 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-08-05 09:02: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-08-05 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 09:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 09:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:02: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-08-05 09:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190467584001,"66":26452,"33":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-05 09:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190467584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:02:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-05 09:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 09:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190467584001,"power":26452,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 09:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":149528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:02:21] local.INFO: GPS data processed {"connection_id":149528,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:02:21] local.INFO: Acknowledgment sent {"connection_id":149528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:02:52] local.INFO: TCP Data received {"connection_id":149528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:02:52] local.INFO: Processing buffer {"connection_id":149528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:02:52] local.INFO: Packet analysis {"connection_id":149528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:02:52] local.INFO: Extracted packet for processing {"connection_id":149528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:02:52] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190467584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 09:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785900568000,"timestamp_ms":1785900568000,"timestamp_seconds":1785900568,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff80dc0"} 
[2026-08-05 09:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 09:02: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-08-05 09:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190467584001,"66":26452,"33":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-05 09:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190467584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:02:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-05 09:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 09:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190467584001,"power":26452,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 09:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":149528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:02:52] local.INFO: GPS data processed {"connection_id":149528,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:02:52] local.INFO: Acknowledgment sent {"connection_id":149528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:03:15] local.INFO: TCP Data received {"connection_id":150949,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:03:15] local.INFO: Processing buffer {"connection_id":150949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:03:15] local.INFO: IMEI packet received {"connection_id":150949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":150949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:03:20] local.INFO: TCP Data received {"connection_id":150949,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:03:20] local.INFO: Processing buffer {"connection_id":150949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:03:20] local.INFO: IMEI packet received {"connection_id":150949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":150949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:03:21] local.INFO: TCP Data received {"connection_id":150949,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:03:21] local.INFO: Processing buffer {"connection_id":150949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:03:21] local.INFO: Packet analysis {"connection_id":150949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:03:21] local.INFO: Extracted packet for processing {"connection_id":150949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:03:21] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190467584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 09:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785900568000,"timestamp_ms":1785900568000,"timestamp_seconds":1785900568,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff80dc0"} 
[2026-08-05 09:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:03: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-08-05 09:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 09:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190467584001,"66":26452,"33":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-05 09:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190467584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:03:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-05 09:03:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 09:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190467584001,"power":26452,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 09:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":150949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:03:21] local.INFO: GPS data processed {"connection_id":150949,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:03:21] local.INFO: Acknowledgment sent {"connection_id":150949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:03:53] local.INFO: TCP Data received {"connection_id":150949,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:03:53] local.INFO: Processing buffer {"connection_id":150949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:03:53] local.INFO: Packet analysis {"connection_id":150949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:03:53] local.INFO: Extracted packet for processing {"connection_id":150949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:03:53] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190467584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 09:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785900568000,"timestamp_ms":1785900568000,"timestamp_seconds":1785900568,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff80dc0"} 
[2026-08-05 09:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 09:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190467584001,"66":26452,"33":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-05 09:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190467584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:03:53] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-05 09:03:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 09:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190467584001,"power":26452,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 09:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":150949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:03:53] local.INFO: GPS data processed {"connection_id":150949,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:03:53] local.INFO: Acknowledgment sent {"connection_id":150949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:04:20] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:04:20] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:04:20] local.INFO: IMEI packet received {"connection_id":148531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":148531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:04:25] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:04:25] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:04:25] local.INFO: IMEI packet received {"connection_id":148531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":148531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:04:26] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:04:26] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:04:26] local.INFO: Packet analysis {"connection_id":148531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:04:26] local.INFO: Extracted packet for processing {"connection_id":148531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190467584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 09:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785900568000,"timestamp_ms":1785900568000,"timestamp_seconds":1785900568,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff80dc0"} 
[2026-08-05 09:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 09:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190467584001,"66":26452,"33":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-05 09:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190467584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:04:26] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-05 09:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 09:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190467584001,"power":26452,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 09:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":148531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:04:26] local.INFO: GPS data processed {"connection_id":148531,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:04:26] local.INFO: Acknowledgment sent {"connection_id":148531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:04:31] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:04:31] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcff80dc0012d7f9e8005afda88000a010227..."} 
[2026-08-05 09:04:31] local.INFO: Packet analysis {"connection_id":148531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:04:31] local.INFO: Extracted packet for processing {"connection_id":148531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcff8"} 
[2026-08-05 09:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190467584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818284544,"note":"Value kept but may cause issues"} 
[2026-08-05 09:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785900568000,"timestamp_ms":1785900568000,"timestamp_seconds":1785900568,"priority":1,"record_length":96,"hex_timestamp":"0000019fcff80dc0"} 
[2026-08-05 09:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 09:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190467584001,"66":26452,"33":206,"85":12544,"24":0,"16":370466574529724416,"45":9198743000818284544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-05 09:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190467584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818284544,"description":"Unknown IO ID 45"} 
[2026-08-05 09:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190467584001,"power":26452,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818284544}} 
[2026-08-05 09:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":148531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:04:31] local.INFO: GPS data processed {"connection_id":148531,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:04:31] local.INFO: Acknowledgment sent {"connection_id":148531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:05:15] local.INFO: TCP Data received {"connection_id":148307,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:05:15] local.INFO: Processing buffer {"connection_id":148307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:05:15] local.INFO: IMEI packet received {"connection_id":148307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":148307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:05:20] local.INFO: TCP Data received {"connection_id":148307,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:05:20] local.INFO: Processing buffer {"connection_id":148307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:05:20] local.INFO: IMEI packet received {"connection_id":148307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":148307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:05:21] local.INFO: TCP Data received {"connection_id":148307,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:05:21] local.INFO: Processing buffer {"connection_id":148307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:05:21] local.INFO: Packet analysis {"connection_id":148307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:05:21] local.INFO: Extracted packet for processing {"connection_id":148307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:05:21] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190545408001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251050657792,"note":"Value kept but may cause issues"} 
[2026-08-05 09:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785900869000,"timestamp_ms":1785900869000,"timestamp_seconds":1785900869,"priority":1,"record_length":96,"hex_timestamp":"0000019fcffca588"} 
[2026-08-05 09:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:05: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-08-05 09: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 09:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09: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-08-05 09:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190545408001,"66":26256,"28":206,"85":12544,"24":0,"16":370466574529724416,"45":9195928251050657792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 09:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190545408001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:05:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 09:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251050657792,"description":"Unknown IO ID 45"} 
[2026-08-05 09:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190545408001,"power":26256,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195928251050657792}} 
[2026-08-05 09:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":148307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:05:21] local.INFO: GPS data processed {"connection_id":148307,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:05:21] local.INFO: Acknowledgment sent {"connection_id":148307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:05:26] local.INFO: TCP Data received {"connection_id":148307,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:05:26] local.INFO: Processing buffer {"connection_id":148307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:05:26] local.INFO: Packet analysis {"connection_id":148307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:05:26] local.INFO: Extracted packet for processing {"connection_id":148307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190545408001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251050657792,"note":"Value kept but may cause issues"} 
[2026-08-05 09:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785900869000,"timestamp_ms":1785900869000,"timestamp_seconds":1785900869,"priority":1,"record_length":96,"hex_timestamp":"0000019fcffca588"} 
[2026-08-05 09:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 09:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190545408001,"66":26256,"28":206,"85":12544,"24":0,"16":370466574529724416,"45":9195928251050657792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 09:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190545408001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:05:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 09:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251050657792,"description":"Unknown IO ID 45"} 
[2026-08-05 09:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190545408001,"power":26256,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195928251050657792}} 
[2026-08-05 09:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":148307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:05:26] local.INFO: GPS data processed {"connection_id":148307,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:05:26] local.INFO: Acknowledgment sent {"connection_id":148307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:05:57] local.INFO: TCP Data received {"connection_id":148307,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:05:57] local.INFO: Processing buffer {"connection_id":148307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:05:57] local.INFO: Packet analysis {"connection_id":148307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:05:57] local.INFO: Extracted packet for processing {"connection_id":148307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190545408001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251050657792,"note":"Value kept but may cause issues"} 
[2026-08-05 09:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785900869000,"timestamp_ms":1785900869000,"timestamp_seconds":1785900869,"priority":1,"record_length":96,"hex_timestamp":"0000019fcffca588"} 
[2026-08-05 09:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 09:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190545408001,"66":26256,"28":206,"85":12544,"24":0,"16":370466574529724416,"45":9195928251050657792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 09:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190545408001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:05:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 09:05:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251050657792,"description":"Unknown IO ID 45"} 
[2026-08-05 09:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190545408001,"power":26256,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195928251050657792}} 
[2026-08-05 09:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":148307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:05:57] local.INFO: GPS data processed {"connection_id":148307,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:05:57] local.INFO: Acknowledgment sent {"connection_id":148307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:06:15] local.INFO: TCP Data received {"connection_id":150950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:06:15] local.INFO: Processing buffer {"connection_id":150950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:06:15] local.INFO: IMEI packet received {"connection_id":150950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":150950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:06:20] local.INFO: TCP Data received {"connection_id":150950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:06:20] local.INFO: Processing buffer {"connection_id":150950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:06:20] local.INFO: IMEI packet received {"connection_id":150950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":150950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:06:21] local.INFO: TCP Data received {"connection_id":150950,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:06:21] local.INFO: Processing buffer {"connection_id":150950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:06:21] local.INFO: Packet analysis {"connection_id":150950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:06:21] local.INFO: Extracted packet for processing {"connection_id":150950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190545408001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251050657792,"note":"Value kept but may cause issues"} 
[2026-08-05 09:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785900869000,"timestamp_ms":1785900869000,"timestamp_seconds":1785900869,"priority":1,"record_length":96,"hex_timestamp":"0000019fcffca588"} 
[2026-08-05 09:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:06: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-08-05 09:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 09:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190545408001,"66":26256,"28":206,"85":12544,"24":0,"16":370466574529724416,"45":9195928251050657792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 09:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190545408001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251050657792,"description":"Unknown IO ID 45"} 
[2026-08-05 09:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190545408001,"power":26256,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195928251050657792}} 
[2026-08-05 09:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":150950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:06:21] local.INFO: GPS data processed {"connection_id":150950,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:06:21] local.INFO: Acknowledgment sent {"connection_id":150950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:06:52] local.INFO: TCP Data received {"connection_id":150950,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:06:52] local.INFO: Processing buffer {"connection_id":150950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:06:52] local.INFO: Packet analysis {"connection_id":150950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:06:52] local.INFO: Extracted packet for processing {"connection_id":150950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190545408001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251050657792,"note":"Value kept but may cause issues"} 
[2026-08-05 09:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785900869000,"timestamp_ms":1785900869000,"timestamp_seconds":1785900869,"priority":1,"record_length":96,"hex_timestamp":"0000019fcffca588"} 
[2026-08-05 09:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 09:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190545408001,"66":26256,"28":206,"85":12544,"24":0,"16":370466574529724416,"45":9195928251050657792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 09:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190545408001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:06:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 09:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251050657792,"description":"Unknown IO ID 45"} 
[2026-08-05 09:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190545408001,"power":26256,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195928251050657792}} 
[2026-08-05 09:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":150950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:06:52] local.INFO: GPS data processed {"connection_id":150950,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:06:52] local.INFO: Acknowledgment sent {"connection_id":150950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:07:15] local.INFO: TCP Data received {"connection_id":149529,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:07:15] local.INFO: Processing buffer {"connection_id":149529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:07:15] local.INFO: IMEI packet received {"connection_id":149529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":149529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:07:20] local.INFO: TCP Data received {"connection_id":149529,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:07:20] local.INFO: Processing buffer {"connection_id":149529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:07:20] local.INFO: IMEI packet received {"connection_id":149529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":149529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:07:21] local.INFO: TCP Data received {"connection_id":149529,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:07:21] local.INFO: Processing buffer {"connection_id":149529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:07:21] local.INFO: Packet analysis {"connection_id":149529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:07:21] local.INFO: Extracted packet for processing {"connection_id":149529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:07:21] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190545408001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251050657792,"note":"Value kept but may cause issues"} 
[2026-08-05 09:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785900869000,"timestamp_ms":1785900869000,"timestamp_seconds":1785900869,"priority":1,"record_length":96,"hex_timestamp":"0000019fcffca588"} 
[2026-08-05 09:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:07: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-08-05 09:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 09:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09: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-08-05 09:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190545408001,"66":26256,"28":206,"85":12544,"24":0,"16":370466574529724416,"45":9195928251050657792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 09:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190545408001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:07:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 09:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251050657792,"description":"Unknown IO ID 45"} 
[2026-08-05 09:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190545408001,"power":26256,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195928251050657792}} 
[2026-08-05 09:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":149529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:07:21] local.INFO: GPS data processed {"connection_id":149529,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:07:21] local.INFO: Acknowledgment sent {"connection_id":149529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:07:52] local.INFO: TCP Data received {"connection_id":149529,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:07:52] local.INFO: Processing buffer {"connection_id":149529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:07:52] local.INFO: Packet analysis {"connection_id":149529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:07:52] local.INFO: Extracted packet for processing {"connection_id":149529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:07:52] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190545408001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251050657792,"note":"Value kept but may cause issues"} 
[2026-08-05 09:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785900869000,"timestamp_ms":1785900869000,"timestamp_seconds":1785900869,"priority":1,"record_length":96,"hex_timestamp":"0000019fcffca588"} 
[2026-08-05 09:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 09:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190545408001,"66":26256,"28":206,"85":12544,"24":0,"16":370466574529724416,"45":9195928251050657792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 09:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190545408001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:07:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 09:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251050657792,"description":"Unknown IO ID 45"} 
[2026-08-05 09:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190545408001,"power":26256,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195928251050657792}} 
[2026-08-05 09:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":149529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:07:52] local.INFO: GPS data processed {"connection_id":149529,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:07:52] local.INFO: Acknowledgment sent {"connection_id":149529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:08:15] local.INFO: TCP Data received {"connection_id":150951,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:08:15] local.INFO: Processing buffer {"connection_id":150951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:08:15] local.INFO: IMEI packet received {"connection_id":150951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":150951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:08:20] local.INFO: TCP Data received {"connection_id":150951,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:08:20] local.INFO: Processing buffer {"connection_id":150951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:08:20] local.INFO: IMEI packet received {"connection_id":150951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":150951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:08:21] local.INFO: TCP Data received {"connection_id":150951,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:08:21] local.INFO: Processing buffer {"connection_id":150951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcffca588012d7f9e8005afda88000a010228..."} 
[2026-08-05 09:08:21] local.INFO: Packet analysis {"connection_id":150951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:08:21] local.INFO: Extracted packet for processing {"connection_id":150951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcffc"} 
[2026-08-05 09:08:21] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190545408001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251050657792,"note":"Value kept but may cause issues"} 
[2026-08-05 09:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785900869000,"timestamp_ms":1785900869000,"timestamp_seconds":1785900869,"priority":1,"record_length":96,"hex_timestamp":"0000019fcffca588"} 
[2026-08-05 09:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 09:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09: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-08-05 09:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:08: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-08-05 09:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190545408001,"66":26256,"28":206,"85":12544,"24":0,"16":370466574529724416,"45":9195928251050657792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 09:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190545408001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:08:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 09:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251050657792,"description":"Unknown IO ID 45"} 
[2026-08-05 09:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190545408001,"power":26256,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195928251050657792}} 
[2026-08-05 09:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":150951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:08:21] local.INFO: GPS data processed {"connection_id":150951,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:08:21] local.INFO: Acknowledgment sent {"connection_id":150951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:08:52] local.INFO: TCP Data received {"connection_id":150951,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfff9f40012d7f9e8005afda88000a01022a..."} 
[2026-08-05 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfff9f40012d7f9e8005afda88000a01022a..."} 
[2026-08-05 09:08:52] local.INFO: Processing buffer {"connection_id":150951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfff9f40012d7f9e8005afda88000a01022a..."} 
[2026-08-05 09:08:52] local.INFO: Packet analysis {"connection_id":150951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfff"} 
[2026-08-05 09:08:52] local.INFO: Extracted packet for processing {"connection_id":150951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfff"} 
[2026-08-05 09:08:52] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":95410824,"longitude_deg":76.3338368,"latitude_deg":9.5410824,"altitude":10,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05afda88","is_valid_coordinates":true} 
[2026-08-05 09:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190622464001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251050657792,"note":"Value kept but may cause issues"} 
[2026-08-05 09:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785901064000,"timestamp_ms":1785901064000,"timestamp_seconds":1785901064,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfff9f40"} 
[2026-08-05 09:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-05 09:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190622464001,"66":26115,"28":206,"85":12544,"24":0,"16":370466574529724416,"45":9195928251050657792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 09:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190622464001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:08:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 09:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251050657792,"description":"Unknown IO ID 45"} 
[2026-08-05 09:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190622464001,"power":26115,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195928251050657792}} 
[2026-08-05 09:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":150951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:08:52] local.INFO: GPS data processed {"connection_id":150951,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:08:52] local.INFO: Acknowledgment sent {"connection_id":150951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:09:15] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:09:15] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:09:15] local.INFO: IMEI packet received {"connection_id":148532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":148532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:09:20] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:09:20] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:09:20] local.INFO: IMEI packet received {"connection_id":148532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":148532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:09:21] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fcfffaee0012d7f980005afd8d8000a011b29..."} 
[2026-08-05 09:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fcfffaee0012d7f980005afd8d8000a011b29..."} 
[2026-08-05 09:09:21] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fcfffaee0012d7f980005afd8d8000a011b29..."} 
[2026-08-05 09:09:21] local.INFO: Packet analysis {"connection_id":148532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fcfff"} 
[2026-08-05 09:09:21] local.INFO: Extracted packet for processing {"connection_id":148532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fcfff"} 
[2026-08-05 09:09:21] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410392,"longitude_deg":76.3336704,"latitude_deg":9.5410392,"altitude":10,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 09:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190672384001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251050657792,"note":"Value kept but may cause issues"} 
[2026-08-05 09:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785901068000,"timestamp_ms":1785901068000,"timestamp_seconds":1785901068,"priority":1,"record_length":96,"hex_timestamp":"0000019fcfffaee0"} 
[2026-08-05 09:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 09:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:09: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-08-05 09:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190672384001,"66":22179,"28":206,"85":12544,"24":0,"16":370466574529724416,"45":9195928251050657792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 09:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190672384001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:09:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 09:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251050657792,"description":"Unknown IO ID 45"} 
[2026-08-05 09:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190672384001,"power":22179,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195928251050657792}} 
[2026-08-05 09:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":148532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:09:21] local.INFO: GPS data processed {"connection_id":148532,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:09:21] local.INFO: Acknowledgment sent {"connection_id":148532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:09:53] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00000e8012d7f980005afd8d8000a011b2a..."} 
[2026-08-05 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00000e8012d7f980005afd8d8000a011b2a..."} 
[2026-08-05 09:09:53] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00000e8012d7f980005afd8d8000a011b2a..."} 
[2026-08-05 09:09:53] local.INFO: Packet analysis {"connection_id":148532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd000"} 
[2026-08-05 09:09:53] local.INFO: Extracted packet for processing {"connection_id":148532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd000"} 
[2026-08-05 09:09:53] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410392,"longitude_deg":76.3336704,"latitude_deg":9.5410392,"altitude":10,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 09:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190673408001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701927936,"note":"Value kept but may cause issues"} 
[2026-08-05 09:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785901089000,"timestamp_ms":1785901089000,"timestamp_seconds":1785901089,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00000e8"} 
[2026-08-05 09:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":86,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-05 09:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2095,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190673408001,"66":27995,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9194098663701927936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190673408001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:09:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701927936,"description":"Unknown IO ID 45"} 
[2026-08-05 09:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190673408001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701927936}} 
[2026-08-05 09:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":148532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:09:53] local.INFO: GPS data processed {"connection_id":148532,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:09:53] local.INFO: Acknowledgment sent {"connection_id":148532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:10:15] local.INFO: TCP Data received {"connection_id":149530,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:10:15] local.INFO: Processing buffer {"connection_id":149530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:10:15] local.INFO: IMEI packet received {"connection_id":149530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":149530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:10:20] local.INFO: TCP Data received {"connection_id":149530,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:10:20] local.INFO: Processing buffer {"connection_id":149530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:10:20] local.INFO: IMEI packet received {"connection_id":149530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":149530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:10:21] local.INFO: TCP Data received {"connection_id":149530,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00052f0012d7f980005afd8d8000a011b29..."} 
[2026-08-05 09:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00052f0012d7f980005afd8d8000a011b29..."} 
[2026-08-05 09:10:21] local.INFO: Processing buffer {"connection_id":149530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00052f0012d7f980005afd8d8000a011b29..."} 
[2026-08-05 09:10:21] local.INFO: Packet analysis {"connection_id":149530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd000"} 
[2026-08-05 09:10:21] local.INFO: Extracted packet for processing {"connection_id":149530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd000"} 
[2026-08-05 09:10:21] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410392,"longitude_deg":76.3336704,"latitude_deg":9.5410392,"altitude":10,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 09:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190678784001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701927936,"note":"Value kept but may cause issues"} 
[2026-08-05 09:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785901110000,"timestamp_ms":1785901110000,"timestamp_seconds":1785901110,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00052f0"} 
[2026-08-05 09:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:10: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-08-05 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 09:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:10: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-08-05 09:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190678784001,"66":27821,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9194098663701927936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190678784001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:10:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701927936,"description":"Unknown IO ID 45"} 
[2026-08-05 09:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190678784001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701927936}} 
[2026-08-05 09:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":149530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:10:21] local.INFO: GPS data processed {"connection_id":149530,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:10:21] local.INFO: Acknowledgment sent {"connection_id":149530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:10:53] local.INFO: TCP Data received {"connection_id":149530,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00056d8012d7f980005afd8d8000a011b28..."} 
[2026-08-05 09:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00056d8012d7f980005afd8d8000a011b28..."} 
[2026-08-05 09:10:53] local.INFO: Processing buffer {"connection_id":149530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00056d8012d7f980005afd8d8000a011b28..."} 
[2026-08-05 09:10:53] local.INFO: Packet analysis {"connection_id":149530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd000"} 
[2026-08-05 09:10:53] local.INFO: Extracted packet for processing {"connection_id":149530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd000"} 
[2026-08-05 09:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410392,"longitude_deg":76.3336704,"latitude_deg":9.5410392,"altitude":10,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 09:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190684160001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701927936,"note":"Value kept but may cause issues"} 
[2026-08-05 09:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785901111000,"timestamp_ms":1785901111000,"timestamp_seconds":1785901111,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00056d8"} 
[2026-08-05 09:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 09:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190684160001,"66":27821,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9194098663701927936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190684160001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:10:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701927936,"description":"Unknown IO ID 45"} 
[2026-08-05 09:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190684160001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701927936}} 
[2026-08-05 09:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":149530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:10:53] local.INFO: GPS data processed {"connection_id":149530,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:10:53] local.INFO: Acknowledgment sent {"connection_id":149530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:11:15] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:11:15] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:11:15] local.INFO: IMEI packet received {"connection_id":148533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":148533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:11:20] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:11:20] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:11:20] local.INFO: IMEI packet received {"connection_id":148533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":148533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:11:22] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00056d8012d7f980005afd8d8000a011b28..."} 
[2026-08-05 09:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00056d8012d7f980005afd8d8000a011b28..."} 
[2026-08-05 09:11:22] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00056d8012d7f980005afd8d8000a011b28..."} 
[2026-08-05 09:11:22] local.INFO: Packet analysis {"connection_id":148533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd000"} 
[2026-08-05 09:11:22] local.INFO: Extracted packet for processing {"connection_id":148533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd000"} 
[2026-08-05 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410392,"longitude_deg":76.3336704,"latitude_deg":9.5410392,"altitude":10,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 09:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190684160001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701927936,"note":"Value kept but may cause issues"} 
[2026-08-05 09:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785901111000,"timestamp_ms":1785901111000,"timestamp_seconds":1785901111,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00056d8"} 
[2026-08-05 09:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 09:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190684160001,"66":27821,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9194098663701927936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190684160001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701927936,"description":"Unknown IO ID 45"} 
[2026-08-05 09:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190684160001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701927936}} 
[2026-08-05 09:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":148533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:11:22] local.INFO: GPS data processed {"connection_id":148533,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:11:22] local.INFO: Acknowledgment sent {"connection_id":148533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:11:53] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00056d8012d7f980005afd8d8000a011b28..."} 
[2026-08-05 09:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00056d8012d7f980005afd8d8000a011b28..."} 
[2026-08-05 09:11:53] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00056d8012d7f980005afd8d8000a011b28..."} 
[2026-08-05 09:11:53] local.INFO: Packet analysis {"connection_id":148533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd000"} 
[2026-08-05 09:11:53] local.INFO: Extracted packet for processing {"connection_id":148533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd000"} 
[2026-08-05 09:11:53] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410392,"longitude_deg":76.3336704,"latitude_deg":9.5410392,"altitude":10,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 09:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190684160001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701927936,"note":"Value kept but may cause issues"} 
[2026-08-05 09:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785901111000,"timestamp_ms":1785901111000,"timestamp_seconds":1785901111,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00056d8"} 
[2026-08-05 09:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 09:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190684160001,"66":27821,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9194098663701927936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190684160001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:11:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:11:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701927936,"description":"Unknown IO ID 45"} 
[2026-08-05 09:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190684160001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701927936}} 
[2026-08-05 09:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":148533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:11:53] local.INFO: GPS data processed {"connection_id":148533,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:11:53] local.INFO: Acknowledgment sent {"connection_id":148533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:12:20] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:12:20] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:12:20] local.INFO: IMEI packet received {"connection_id":148534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":148534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:12:25] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:12:25] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:12:25] local.INFO: IMEI packet received {"connection_id":148534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":148534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:12:25] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0035090012d7f9b4005afd5800006011b2a..."} 
[2026-08-05 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0035090012d7f9b4005afd5800006011b2a..."} 
[2026-08-05 09:12:25] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0035090012d7f9b4005afd5800006011b2a..."} 
[2026-08-05 09:12:25] local.INFO: Packet analysis {"connection_id":148534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd003"} 
[2026-08-05 09:12:25] local.INFO: Extracted packet for processing {"connection_id":148534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd003"} 
[2026-08-05 09:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409536,"longitude_deg":76.3337536,"latitude_deg":9.5409536,"altitude":6,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd580","is_valid_coordinates":true} 
[2026-08-05 09:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190684416001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701927936,"note":"Value kept but may cause issues"} 
[2026-08-05 09:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785901306000,"timestamp_ms":1785901306000,"timestamp_seconds":1785901306,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0035090"} 
[2026-08-05 09:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 09:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190684416001,"66":26223,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9194098663701927936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190684416001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:12:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701927936,"description":"Unknown IO ID 45"} 
[2026-08-05 09:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190684416001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701927936}} 
[2026-08-05 09:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":148534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:12:25] local.INFO: GPS data processed {"connection_id":148534,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:12:25] local.INFO: Acknowledgment sent {"connection_id":148534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:12:26] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0035090012d7f9b4005afd5800006011b2a..."} 
[2026-08-05 09:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0035090012d7f9b4005afd5800006011b2a..."} 
[2026-08-05 09:12:26] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0035090012d7f9b4005afd5800006011b2a..."} 
[2026-08-05 09:12:26] local.INFO: Packet analysis {"connection_id":148534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd003"} 
[2026-08-05 09:12:26] local.INFO: Extracted packet for processing {"connection_id":148534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd003"} 
[2026-08-05 09:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95409536,"longitude_deg":76.3337536,"latitude_deg":9.5409536,"altitude":6,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afd580","is_valid_coordinates":true} 
[2026-08-05 09:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190684416001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701927936,"note":"Value kept but may cause issues"} 
[2026-08-05 09:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785901306000,"timestamp_ms":1785901306000,"timestamp_seconds":1785901306,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0035090"} 
[2026-08-05 09:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 09:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190684416001,"66":26223,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9194098663701927936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190684416001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701927936,"description":"Unknown IO ID 45"} 
[2026-08-05 09:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190684416001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701927936}} 
[2026-08-05 09:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":148534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:12:26] local.INFO: GPS data processed {"connection_id":148534,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:12:26] local.INFO: Acknowledgment sent {"connection_id":148534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:12:57] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0035860012d7f9c4005afd1b0000600a12a..."} 
[2026-08-05 09:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0035860012d7f9c4005afd1b0000600a12a..."} 
[2026-08-05 09:12:57] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0035860012d7f9c4005afd1b0000600a12a..."} 
[2026-08-05 09:12:57] local.INFO: Packet analysis {"connection_id":148534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd003"} 
[2026-08-05 09:12:57] local.INFO: Extracted packet for processing {"connection_id":148534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd003"} 
[2026-08-05 09:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408560,"longitude_deg":76.3337792,"latitude_deg":9.540856,"altitude":6,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd1b0","is_valid_coordinates":true} 
[2026-08-05 09:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190734336001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466574529724416,"note":"Value kept but may cause issues"} 
[2026-08-05 09:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376018432,"note":"Value kept but may cause issues"} 
[2026-08-05 09:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785901308000,"timestamp_ms":1785901308000,"timestamp_seconds":1785901308,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0035860"} 
[2026-08-05 09:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-05 09:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190734336001,"66":25908,"250":206,"85":12544,"24":0,"16":370466574529724416,"45":9195013457376018432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190734336001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:12:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466574529724416,"km_value":370466574529724.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376018432,"description":"Unknown IO ID 45"} 
[2026-08-05 09:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190734336001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376018432}} 
[2026-08-05 09:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":148534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:12:57] local.INFO: GPS data processed {"connection_id":148534,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:12:57] local.INFO: Acknowledgment sent {"connection_id":148534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:13:14] local.INFO: TCP Data received {"connection_id":150952,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:14] local.INFO: Processing buffer {"connection_id":150952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:14] local.INFO: IMEI packet received {"connection_id":150952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":150952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:13:15] local.INFO: TCP Data received {"connection_id":150952,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:15] local.INFO: Processing buffer {"connection_id":150952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:15] local.INFO: IMEI packet received {"connection_id":150952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":150952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:13:16] local.INFO: TCP Data received {"connection_id":150952,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:16] local.INFO: Processing buffer {"connection_id":150952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:16] local.INFO: IMEI packet received {"connection_id":150952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":150952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:13:17] local.INFO: TCP Data received {"connection_id":150952,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:17] local.INFO: Processing buffer {"connection_id":150952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:13:17] local.INFO: IMEI packet received {"connection_id":150952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":150952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:18:20] local.INFO: TCP Data received {"connection_id":149533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:18:20] local.INFO: Processing buffer {"connection_id":149533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:18:20] local.INFO: IMEI packet received {"connection_id":149533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":149533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:18:22] local.INFO: TCP Data received {"connection_id":149533,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0048140012d7fad0005afdea80009016529..."} 
[2026-08-05 09:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0048140012d7fad0005afdea80009016529..."} 
[2026-08-05 09:18:22] local.INFO: Processing buffer {"connection_id":149533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0048140012d7fad0005afdea80009016529..."} 
[2026-08-05 09:18:22] local.INFO: Packet analysis {"connection_id":149533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:18:22] local.INFO: Extracted packet for processing {"connection_id":149533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95411880,"longitude_deg":76.334208,"latitude_deg":9.541188,"altitude":9,"angle":357,"satellites":41,"speed":8,"hex_longitude":"2d7fad00","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-08-05 09:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190754048001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466935306977280,"note":"Value kept but may cause issues"} 
[2026-08-05 09:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868900724826112,"note":"Value kept but may cause issues"} 
[2026-08-05 09:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785901384000,"timestamp_ms":1785901384000,"timestamp_seconds":1785901384,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0048140"} 
[2026-08-05 09:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 09:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190754048001,"66":27974,"250":206,"85":12544,"24":8,"16":370466935306977280,"45":9199868900724826112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190754048001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:18:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:18:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466935306977280,"km_value":370466935306977.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868900724826112,"description":"Unknown IO ID 45"} 
[2026-08-05 09:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190754048001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9199868900724826112}} 
[2026-08-05 09:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":149533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:18:22] local.INFO: GPS data processed {"connection_id":149533,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:18:22] local.INFO: Acknowledgment sent {"connection_id":149533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:18:53] local.INFO: TCP Data received {"connection_id":149533,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0048528012d7fac8005afdf800009014829..."} 
[2026-08-05 09:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0048528012d7fac8005afdf800009014829..."} 
[2026-08-05 09:18:53] local.INFO: Processing buffer {"connection_id":149533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0048528012d7fac8005afdf800009014829..."} 
[2026-08-05 09:18:53] local.INFO: Packet analysis {"connection_id":149533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:18:53] local.INFO: Extracted packet for processing {"connection_id":149533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:18:53] local.INFO: GPS Element Parsed {"raw_longitude":763341952,"raw_latitude":95412096,"longitude_deg":76.3341952,"latitude_deg":9.5412096,"altitude":9,"angle":328,"satellites":41,"speed":7,"hex_longitude":"2d7fac80","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-08-05 09:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466948191879168,"note":"Value kept but may cause issues"} 
[2026-08-05 09:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213232640,"note":"Value kept but may cause issues"} 
[2026-08-05 09:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785901385000,"timestamp_ms":1785901385000,"timestamp_seconds":1785901385,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0048528"} 
[2026-08-05 09:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 09:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190754304001,"66":27974,"250":206,"85":12544,"24":7,"16":370466948191879168,"45":9200009638213232640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:18:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:18:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466948191879168,"km_value":370466948191879.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213232640,"description":"Unknown IO ID 45"} 
[2026-08-05 09:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190754304001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9200009638213232640}} 
[2026-08-05 09:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":149533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:18:53] local.INFO: GPS data processed {"connection_id":149533,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:18:53] local.INFO: Acknowledgment sent {"connection_id":149533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:19:15] local.INFO: TCP Data received {"connection_id":150954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:19:15] local.INFO: Processing buffer {"connection_id":150954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:19:15] local.INFO: IMEI packet received {"connection_id":150954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":150954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:19:20] local.INFO: TCP Data received {"connection_id":150954,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:19:20] local.INFO: Processing buffer {"connection_id":150954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:19:20] local.INFO: IMEI packet received {"connection_id":150954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":150954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:19:21] local.INFO: TCP Data received {"connection_id":150954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0048910012d7fac4005afe0300009013928..."} 
[2026-08-05 09:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0048910012d7fac4005afe0300009013928..."} 
[2026-08-05 09:19:21] local.INFO: Processing buffer {"connection_id":150954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0048910012d7fac4005afe0300009013928..."} 
[2026-08-05 09:19:21] local.INFO: Packet analysis {"connection_id":150954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:19:21] local.INFO: Extracted packet for processing {"connection_id":150954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:19:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412272,"longitude_deg":76.3341888,"latitude_deg":9.5412272,"altitude":9,"angle":313,"satellites":40,"speed":6,"hex_longitude":"2d7fac40","hex_latitude":"05afe030","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190754560001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466956781813760,"note":"Value kept but may cause issues"} 
[2026-08-05 09:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868900724932608,"note":"Value kept but may cause issues"} 
[2026-08-05 09:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785901386000,"timestamp_ms":1785901386000,"timestamp_seconds":1785901386,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0048910"} 
[2026-08-05 09:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:19: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-08-05 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 09:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09: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-08-05 09:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190754560001,"66":28028,"250":206,"85":12544,"24":6,"16":370466956781813760,"45":9199868900724932608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190754560001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:19:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466956781813760,"km_value":370466956781813.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868900724932608,"description":"Unknown IO ID 45"} 
[2026-08-05 09:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190754560001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9199868900724932608}} 
[2026-08-05 09:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":150954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:19:21] local.INFO: GPS data processed {"connection_id":150954,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:19:21] local.INFO: Acknowledgment sent {"connection_id":150954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:19:53] local.INFO: TCP Data received {"connection_id":150954,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0048cf8012d7fab8005afe0900009011629..."} 
[2026-08-05 09:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0048cf8012d7fab8005afe0900009011629..."} 
[2026-08-05 09:19:53] local.INFO: Processing buffer {"connection_id":150954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0048cf8012d7fab8005afe0900009011629..."} 
[2026-08-05 09:19:53] local.INFO: Packet analysis {"connection_id":150954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:19:53] local.INFO: Extracted packet for processing {"connection_id":150954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:19:53] local.INFO: GPS Element Parsed {"raw_longitude":763341696,"raw_latitude":95412368,"longitude_deg":76.3341696,"latitude_deg":9.5412368,"altitude":9,"angle":278,"satellites":41,"speed":6,"hex_longitude":"2d7fab80","hex_latitude":"05afe090","is_valid_coordinates":true} 
[2026-08-05 09:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190754816001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370466969666715648,"note":"Value kept but may cause issues"} 
[2026-08-05 09:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980800000,"note":"Value kept but may cause issues"} 
[2026-08-05 09:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785901387000,"timestamp_ms":1785901387000,"timestamp_seconds":1785901387,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0048cf8"} 
[2026-08-05 09:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 09:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190754816001,"66":28028,"250":206,"85":12544,"24":6,"16":370466969666715648,"45":9199798531980800000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190754816001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:19:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:19:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370466969666715648,"km_value":370466969666715.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980800000,"description":"Unknown IO ID 45"} 
[2026-08-05 09:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190754816001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9199798531980800000}} 
[2026-08-05 09:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":150954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:19:53] local.INFO: GPS data processed {"connection_id":150954,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:19:53] local.INFO: Acknowledgment sent {"connection_id":150954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:20:15] local.INFO: TCP Data received {"connection_id":148309,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:20:15] local.INFO: Processing buffer {"connection_id":148309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:20:15] local.INFO: IMEI packet received {"connection_id":148309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":148309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:20:20] local.INFO: TCP Data received {"connection_id":148309,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:20:20] local.INFO: Processing buffer {"connection_id":148309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:20:20] local.INFO: IMEI packet received {"connection_id":148309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":148309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:20:21] local.INFO: TCP Data received {"connection_id":148309,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd004df00012d7fa8c005afdf600009011c2a..."} 
[2026-08-05 09:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd004df00012d7fa8c005afdf600009011c2a..."} 
[2026-08-05 09:20:21] local.INFO: Processing buffer {"connection_id":148309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd004df00012d7fa8c005afdf600009011c2a..."} 
[2026-08-05 09:20:21] local.INFO: Packet analysis {"connection_id":148309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:20:21] local.INFO: Extracted packet for processing {"connection_id":148309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:20:21] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95412064,"longitude_deg":76.3340992,"latitude_deg":9.5412064,"altitude":9,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fa8c0","hex_latitude":"05afdf60","is_valid_coordinates":true} 
[2026-08-05 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-08-05 09:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190755072001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467042681159680,"note":"Value kept but may cause issues"} 
[2026-08-05 09:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199587425748291584,"note":"Value kept but may cause issues"} 
[2026-08-05 09:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785901408000,"timestamp_ms":1785901408000,"timestamp_seconds":1785901408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd004df00"} 
[2026-08-05 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-08-05 09:20: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-08-05 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 09:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 09:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:20: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-08-05 09:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190755072001,"66":27821,"250":206,"85":12544,"24":0,"16":370467042681159680,"45":9199587425748291584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190755072001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:20:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467042681159680,"km_value":370467042681159.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199587425748291584,"description":"Unknown IO ID 45"} 
[2026-08-05 09:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190755072001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199587425748291584}} 
[2026-08-05 09:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":148309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:20:21] local.INFO: GPS data processed {"connection_id":148309,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:20:21] local.INFO: Acknowledgment sent {"connection_id":148309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:20:52] local.INFO: TCP Data received {"connection_id":148309,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd004e6d0012d7fa94005afdf08000a011c2a..."} 
[2026-08-05 09:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd004e6d0012d7fa94005afdf08000a011c2a..."} 
[2026-08-05 09:20:52] local.INFO: Processing buffer {"connection_id":148309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd004e6d0012d7fa94005afdf08000a011c2a..."} 
[2026-08-05 09:20:52] local.INFO: Packet analysis {"connection_id":148309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:20:52] local.INFO: Extracted packet for processing {"connection_id":148309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd004"} 
[2026-08-05 09:20:52] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95411976,"longitude_deg":76.334112,"latitude_deg":9.5411976,"altitude":10,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afdf08","is_valid_coordinates":true} 
[2026-08-05 09:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190760448001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562259456,"note":"Value kept but may cause issues"} 
[2026-08-05 09:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785901410000,"timestamp_ms":1785901410000,"timestamp_seconds":1785901410,"priority":1,"record_length":96,"hex_timestamp":"0000019fd004e6d0"} 
[2026-08-05 09:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 09:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190760448001,"66":27843,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9198813369562259456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190760448001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:20:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562259456,"description":"Unknown IO ID 45"} 
[2026-08-05 09:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190760448001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562259456}} 
[2026-08-05 09:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":148309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:20:52] local.INFO: GPS data processed {"connection_id":148309,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:20:52] local.INFO: Acknowledgment sent {"connection_id":148309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:21:20] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:21:20] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:21:20] local.INFO: IMEI packet received {"connection_id":148535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":148535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:21:25] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:21:25] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:21:25] local.INFO: IMEI packet received {"connection_id":148535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":148535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:21:27] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:21:27] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:21:27] local.INFO: Packet analysis {"connection_id":148535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:21:27] local.INFO: Extracted packet for processing {"connection_id":148535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":11,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190760960001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050592256,"note":"Value kept but may cause issues"} 
[2026-08-05 09:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785901713000,"timestamp_ms":1785901713000,"timestamp_seconds":1785901713,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0098668"} 
[2026-08-05 09:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:21: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":195,"data_length":795,"current_offset":136} 
[2026-08-05 09:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190760960001,"66":26408,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9198954107050592256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190760960001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:21:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050592256,"description":"Unknown IO ID 45"} 
[2026-08-05 09:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190760960001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050592256}} 
[2026-08-05 09:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":148535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:21:27] local.INFO: GPS data processed {"connection_id":148535,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:21:27] local.INFO: Acknowledgment sent {"connection_id":148535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:21:31] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:21:31] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:21:31] local.INFO: Packet analysis {"connection_id":148535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:21:31] local.INFO: Extracted packet for processing {"connection_id":148535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":11,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190760960001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050592256,"note":"Value kept but may cause issues"} 
[2026-08-05 09:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785901713000,"timestamp_ms":1785901713000,"timestamp_seconds":1785901713,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0098668"} 
[2026-08-05 09:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 09:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190760960001,"66":26408,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9198954107050592256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190760960001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:21:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050592256,"description":"Unknown IO ID 45"} 
[2026-08-05 09:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190760960001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050592256}} 
[2026-08-05 09:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":148535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:21:31] local.INFO: GPS data processed {"connection_id":148535,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:21:31] local.INFO: Acknowledgment sent {"connection_id":148535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:22:15] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:22:15] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:22:15] local.INFO: IMEI packet received {"connection_id":148536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":148536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:22:20] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:22:20] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:22:20] local.INFO: IMEI packet received {"connection_id":148536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":148536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:22:21] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:22:21] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:22:21] local.INFO: Packet analysis {"connection_id":148536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:22:21] local.INFO: Extracted packet for processing {"connection_id":148536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:22:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":11,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190760960001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050592256,"note":"Value kept but may cause issues"} 
[2026-08-05 09:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785901713000,"timestamp_ms":1785901713000,"timestamp_seconds":1785901713,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0098668"} 
[2026-08-05 09:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 09:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:22: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-08-05 09:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190760960001,"66":26408,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9198954107050592256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190760960001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:22:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050592256,"description":"Unknown IO ID 45"} 
[2026-08-05 09:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190760960001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050592256}} 
[2026-08-05 09:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":148536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:22:21] local.INFO: GPS data processed {"connection_id":148536,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:22:21] local.INFO: Acknowledgment sent {"connection_id":148536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:22:52] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:22:52] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:22:52] local.INFO: Packet analysis {"connection_id":148536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:22:52] local.INFO: Extracted packet for processing {"connection_id":148536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:22:52] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":11,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190760960001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050592256,"note":"Value kept but may cause issues"} 
[2026-08-05 09:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785901713000,"timestamp_ms":1785901713000,"timestamp_seconds":1785901713,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0098668"} 
[2026-08-05 09:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 09:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190760960001,"66":26408,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9198954107050592256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190760960001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:22:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050592256,"description":"Unknown IO ID 45"} 
[2026-08-05 09:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190760960001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050592256}} 
[2026-08-05 09:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":148536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:22:52] local.INFO: GPS data processed {"connection_id":148536,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:22:52] local.INFO: Acknowledgment sent {"connection_id":148536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:23:15] local.INFO: TCP Data received {"connection_id":148310,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:23:15] local.INFO: Processing buffer {"connection_id":148310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:23:15] local.INFO: IMEI packet received {"connection_id":148310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":148310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:23:20] local.INFO: TCP Data received {"connection_id":148310,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:23:20] local.INFO: Processing buffer {"connection_id":148310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:23:20] local.INFO: IMEI packet received {"connection_id":148310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":148310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:23:21] local.INFO: TCP Data received {"connection_id":148310,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:23:21] local.INFO: Processing buffer {"connection_id":148310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:23:21] local.INFO: Packet analysis {"connection_id":148310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:23:21] local.INFO: Extracted packet for processing {"connection_id":148310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":11,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190760960001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050592256,"note":"Value kept but may cause issues"} 
[2026-08-05 09:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785901713000,"timestamp_ms":1785901713000,"timestamp_seconds":1785901713,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0098668"} 
[2026-08-05 09:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 09:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190760960001,"66":26408,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9198954107050592256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190760960001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:23:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050592256,"description":"Unknown IO ID 45"} 
[2026-08-05 09:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190760960001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050592256}} 
[2026-08-05 09:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":148310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:23:21] local.INFO: GPS data processed {"connection_id":148310,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:23:21] local.INFO: Acknowledgment sent {"connection_id":148310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:23:56] local.INFO: TCP Data received {"connection_id":148310,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:23:56] local.INFO: Processing buffer {"connection_id":148310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0098668012d7fac4005afe320000b011c27..."} 
[2026-08-05 09:23:56] local.INFO: Packet analysis {"connection_id":148310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:23:56] local.INFO: Extracted packet for processing {"connection_id":148310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd009"} 
[2026-08-05 09:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":11,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190760960001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050592256,"note":"Value kept but may cause issues"} 
[2026-08-05 09:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785901713000,"timestamp_ms":1785901713000,"timestamp_seconds":1785901713,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0098668"} 
[2026-08-05 09:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 09:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09: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-08-05 09:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190760960001,"66":26408,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9198954107050592256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190760960001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:23:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050592256,"description":"Unknown IO ID 45"} 
[2026-08-05 09:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190760960001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107050592256}} 
[2026-08-05 09:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":148310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:23:56] local.INFO: GPS data processed {"connection_id":148310,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:23:56] local.INFO: Acknowledgment sent {"connection_id":148310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:24:15] local.INFO: TCP Data received {"connection_id":150955,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:24:15] local.INFO: Processing buffer {"connection_id":150955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:24:15] local.INFO: IMEI packet received {"connection_id":150955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":150955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:24:20] local.INFO: TCP Data received {"connection_id":150955,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:24:20] local.INFO: Processing buffer {"connection_id":150955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:24:20] local.INFO: IMEI packet received {"connection_id":150955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":150955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:24:22] local.INFO: TCP Data received {"connection_id":150955,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:24:22] local.INFO: Processing buffer {"connection_id":150955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:24:22] local.INFO: Packet analysis {"connection_id":150955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:24:22] local.INFO: Extracted packet for processing {"connection_id":150955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:24:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190838528001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785902014000,"timestamp_ms":1785902014000,"timestamp_seconds":1785902014,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00e1e30"} 
[2026-08-05 09:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 09:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190838528001,"66":26180,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190838528001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:24:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:24:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190838528001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":150955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:24:22] local.INFO: GPS data processed {"connection_id":150955,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:24:22] local.INFO: Acknowledgment sent {"connection_id":150955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:24:53] local.INFO: TCP Data received {"connection_id":150955,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:24:53] local.INFO: Processing buffer {"connection_id":150955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:24:53] local.INFO: Packet analysis {"connection_id":150955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:24:53] local.INFO: Extracted packet for processing {"connection_id":150955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:24:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190838528001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785902014000,"timestamp_ms":1785902014000,"timestamp_seconds":1785902014,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00e1e30"} 
[2026-08-05 09:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 09:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190838528001,"66":26180,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190838528001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:24:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:24:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190838528001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":150955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:24:53] local.INFO: GPS data processed {"connection_id":150955,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:24:53] local.INFO: Acknowledgment sent {"connection_id":150955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:25:20] local.INFO: TCP Data received {"connection_id":150956,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:25:20] local.INFO: Processing buffer {"connection_id":150956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:25:20] local.INFO: IMEI packet received {"connection_id":150956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":150956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:25:25] local.INFO: TCP Data received {"connection_id":150956,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:25:25] local.INFO: Processing buffer {"connection_id":150956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:25:25] local.INFO: IMEI packet received {"connection_id":150956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":150956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:25:27] local.INFO: TCP Data received {"connection_id":150956,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:25:27] local.INFO: Processing buffer {"connection_id":150956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:25:27] local.INFO: Packet analysis {"connection_id":150956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:25:27] local.INFO: Extracted packet for processing {"connection_id":150956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190838528001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785902014000,"timestamp_ms":1785902014000,"timestamp_seconds":1785902014,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00e1e30"} 
[2026-08-05 09:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 09:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190838528001,"66":26180,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190838528001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:25:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190838528001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":150956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:25:27] local.INFO: GPS data processed {"connection_id":150956,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:25:27] local.INFO: Acknowledgment sent {"connection_id":150956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:25:31] local.INFO: TCP Data received {"connection_id":150956,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:25:31] local.INFO: Processing buffer {"connection_id":150956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:25:31] local.INFO: Packet analysis {"connection_id":150956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:25:31] local.INFO: Extracted packet for processing {"connection_id":150956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190838528001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785902014000,"timestamp_ms":1785902014000,"timestamp_seconds":1785902014,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00e1e30"} 
[2026-08-05 09:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 09:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":150956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":150956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":150956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190838528001,"66":26180,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190838528001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:25:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190838528001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":150956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:25:31] local.INFO: GPS data processed {"connection_id":150956,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:25:31] local.INFO: Acknowledgment sent {"connection_id":150956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:26:16] local.INFO: TCP Data received {"connection_id":148311,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:26:16] local.INFO: Processing buffer {"connection_id":148311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:26:16] local.INFO: IMEI packet received {"connection_id":148311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":148311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:26:20] local.INFO: TCP Data received {"connection_id":148311,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:26:20] local.INFO: Processing buffer {"connection_id":148311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:26:20] local.INFO: IMEI packet received {"connection_id":148311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":148311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:26:21] local.INFO: TCP Data received {"connection_id":148311,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:26:21] local.INFO: Processing buffer {"connection_id":148311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:26:21] local.INFO: Packet analysis {"connection_id":148311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:26:21] local.INFO: Extracted packet for processing {"connection_id":148311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:26:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190838528001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785902014000,"timestamp_ms":1785902014000,"timestamp_seconds":1785902014,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00e1e30"} 
[2026-08-05 09:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:26: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-08-05 09: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 09:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09: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-08-05 09:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190838528001,"66":26180,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190838528001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:26:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190838528001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":148311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:26:21] local.INFO: GPS data processed {"connection_id":148311,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:26:21] local.INFO: Acknowledgment sent {"connection_id":148311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:26:53] local.INFO: TCP Data received {"connection_id":148311,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:26:53] local.INFO: Processing buffer {"connection_id":148311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:26:53] local.INFO: Packet analysis {"connection_id":148311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:26:53] local.INFO: Extracted packet for processing {"connection_id":148311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:26:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190838528001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785902014000,"timestamp_ms":1785902014000,"timestamp_seconds":1785902014,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00e1e30"} 
[2026-08-05 09:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 09:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190838528001,"66":26180,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190838528001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:26:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190838528001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":148311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:26:53] local.INFO: GPS data processed {"connection_id":148311,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:26:53] local.INFO: Acknowledgment sent {"connection_id":148311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:27:16] local.INFO: TCP Data received {"connection_id":148312,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:27:16] local.INFO: Processing buffer {"connection_id":148312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:27:16] local.INFO: IMEI packet received {"connection_id":148312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":148312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:27:20] local.INFO: TCP Data received {"connection_id":148312,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:27:20] local.INFO: Processing buffer {"connection_id":148312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:27:20] local.INFO: IMEI packet received {"connection_id":148312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":148312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:27:21] local.INFO: TCP Data received {"connection_id":148312,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:27:21] local.INFO: Processing buffer {"connection_id":148312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:27:21] local.INFO: Packet analysis {"connection_id":148312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:27:21] local.INFO: Extracted packet for processing {"connection_id":148312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:27:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190838528001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785902014000,"timestamp_ms":1785902014000,"timestamp_seconds":1785902014,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00e1e30"} 
[2026-08-05 09:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:27: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-08-05 09:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 09:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190838528001,"66":26180,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190838528001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:27:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190838528001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":148312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:27:21] local.INFO: GPS data processed {"connection_id":148312,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:27:21] local.INFO: Acknowledgment sent {"connection_id":148312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:27:53] local.INFO: TCP Data received {"connection_id":148312,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:27:53] local.INFO: Processing buffer {"connection_id":148312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:27:53] local.INFO: Packet analysis {"connection_id":148312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:27:53] local.INFO: Extracted packet for processing {"connection_id":148312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:27:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190838528001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785902014000,"timestamp_ms":1785902014000,"timestamp_seconds":1785902014,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00e1e30"} 
[2026-08-05 09:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 09:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190838528001,"66":26180,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190838528001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:27:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:27:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190838528001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":148312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:27:53] local.INFO: GPS data processed {"connection_id":148312,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:27:53] local.INFO: Acknowledgment sent {"connection_id":148312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:28:16] local.INFO: TCP Data received {"connection_id":149534,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:28:16] local.INFO: Processing buffer {"connection_id":149534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:28:16] local.INFO: IMEI packet received {"connection_id":149534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":149534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:28:20] local.INFO: TCP Data received {"connection_id":149534,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:28:20] local.INFO: Processing buffer {"connection_id":149534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:28:20] local.INFO: IMEI packet received {"connection_id":149534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":149534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:28:21] local.INFO: TCP Data received {"connection_id":149534,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:28:21] local.INFO: Processing buffer {"connection_id":149534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:28:21] local.INFO: Packet analysis {"connection_id":149534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:28:21] local.INFO: Extracted packet for processing {"connection_id":149534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190838528001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785902014000,"timestamp_ms":1785902014000,"timestamp_seconds":1785902014,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00e1e30"} 
[2026-08-05 09:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:28: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-08-05 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 09:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190838528001,"66":26180,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190838528001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:28:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190838528001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":149534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:28:21] local.INFO: GPS data processed {"connection_id":149534,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:28:21] local.INFO: Acknowledgment sent {"connection_id":149534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:28:56] local.INFO: TCP Data received {"connection_id":149534,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:28:56] local.INFO: Processing buffer {"connection_id":149534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd00e1e30012d7fac4005afe3200009011c28..."} 
[2026-08-05 09:28:56] local.INFO: Packet analysis {"connection_id":149534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:28:56] local.INFO: Extracted packet for processing {"connection_id":149534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd00e"} 
[2026-08-05 09:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190838528001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785902014000,"timestamp_ms":1785902014000,"timestamp_seconds":1785902014,"priority":1,"record_length":96,"hex_timestamp":"0000019fd00e1e30"} 
[2026-08-05 09:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 09:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190838528001,"66":26180,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190838528001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:28:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190838528001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":149534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:28:56] local.INFO: GPS data processed {"connection_id":149534,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:28:56] local.INFO: Acknowledgment sent {"connection_id":149534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:29:15] local.INFO: TCP Data received {"connection_id":150957,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:29:15] local.INFO: Processing buffer {"connection_id":150957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:29:15] local.INFO: IMEI packet received {"connection_id":150957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":150957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:29:20] local.INFO: TCP Data received {"connection_id":150957,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:29:20] local.INFO: Processing buffer {"connection_id":150957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:29:20] local.INFO: IMEI packet received {"connection_id":150957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":150957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:29:22] local.INFO: TCP Data received {"connection_id":150957,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:29:22] local.INFO: Processing buffer {"connection_id":150957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:29:22] local.INFO: Packet analysis {"connection_id":150957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:29:22] local.INFO: Extracted packet for processing {"connection_id":150957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:29:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190915584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785902315000,"timestamp_ms":1785902315000,"timestamp_seconds":1785902315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd012b5f8"} 
[2026-08-05 09:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 09:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190915584001,"66":26115,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190915584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:29:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:29:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190915584001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":150957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:29:22] local.INFO: GPS data processed {"connection_id":150957,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:29:22] local.INFO: Acknowledgment sent {"connection_id":150957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:29:53] local.INFO: TCP Data received {"connection_id":150957,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:29:53] local.INFO: Processing buffer {"connection_id":150957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:29:53] local.INFO: Packet analysis {"connection_id":150957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:29:53] local.INFO: Extracted packet for processing {"connection_id":150957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:29:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190915584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785902315000,"timestamp_ms":1785902315000,"timestamp_seconds":1785902315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd012b5f8"} 
[2026-08-05 09:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 09:29:53] 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-08-05 09:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190915584001,"66":26115,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190915584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:29:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:29:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190915584001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":150957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:29:53] local.INFO: GPS data processed {"connection_id":150957,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:29:53] local.INFO: Acknowledgment sent {"connection_id":150957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:30:16] local.INFO: TCP Data received {"connection_id":148313,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:30:16] local.INFO: Processing buffer {"connection_id":148313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:30:16] local.INFO: IMEI packet received {"connection_id":148313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":148313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:30:23] local.INFO: TCP Data received {"connection_id":148313,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:30:23] local.INFO: Processing buffer {"connection_id":148313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:30:23] local.INFO: IMEI packet received {"connection_id":148313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":148313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:30:24] local.INFO: TCP Data received {"connection_id":148313,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:30:24] local.INFO: Processing buffer {"connection_id":148313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:30:24] local.INFO: Packet analysis {"connection_id":148313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:30:24] local.INFO: Extracted packet for processing {"connection_id":148313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190915584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785902315000,"timestamp_ms":1785902315000,"timestamp_seconds":1785902315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd012b5f8"} 
[2026-08-05 09:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 09:30:24] 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-08-05 09:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190915584001,"66":26115,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190915584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:30:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:30:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190915584001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":148313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:30:24] local.INFO: GPS data processed {"connection_id":148313,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:30:24] local.INFO: Acknowledgment sent {"connection_id":148313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:30:56] local.INFO: TCP Data received {"connection_id":148313,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:30:56] local.INFO: Processing buffer {"connection_id":148313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:30:56] local.INFO: Packet analysis {"connection_id":148313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:30:56] local.INFO: Extracted packet for processing {"connection_id":148313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190915584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785902315000,"timestamp_ms":1785902315000,"timestamp_seconds":1785902315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd012b5f8"} 
[2026-08-05 09:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 09:30:56] 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-08-05 09:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190915584001,"66":26115,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190915584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:30:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190915584001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":148313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:30:56] local.INFO: GPS data processed {"connection_id":148313,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:30:56] local.INFO: Acknowledgment sent {"connection_id":148313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:31:17] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:31:17] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:31:17] local.INFO: IMEI packet received {"connection_id":148537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":148537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:31:20] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:31:20] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:31:20] local.INFO: IMEI packet received {"connection_id":148537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":148537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:31:21] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:31:21] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:31:21] local.INFO: Packet analysis {"connection_id":148537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:31:21] local.INFO: Extracted packet for processing {"connection_id":148537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:31:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190915584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785902315000,"timestamp_ms":1785902315000,"timestamp_seconds":1785902315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd012b5f8"} 
[2026-08-05 09:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 09:31:21] 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-08-05 09:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190915584001,"66":26115,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190915584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:31:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190915584001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":148537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:31:21] local.INFO: GPS data processed {"connection_id":148537,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:31:21] local.INFO: Acknowledgment sent {"connection_id":148537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:31:52] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:31:52] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:31:52] local.INFO: Packet analysis {"connection_id":148537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:31:52] local.INFO: Extracted packet for processing {"connection_id":148537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:31:52] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190915584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785902315000,"timestamp_ms":1785902315000,"timestamp_seconds":1785902315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd012b5f8"} 
[2026-08-05 09:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 09:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190915584001,"66":26115,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190915584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:31:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:31:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190915584001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":148537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:31:52] local.INFO: GPS data processed {"connection_id":148537,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:31:52] local.INFO: Acknowledgment sent {"connection_id":148537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:32:15] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:32:15] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:32:15] local.INFO: IMEI packet received {"connection_id":148538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":148538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:32:20] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:32:20] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:32:20] local.INFO: IMEI packet received {"connection_id":148538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":148538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:32:22] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:32:22] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:32:22] local.INFO: Packet analysis {"connection_id":148538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:32:22] local.INFO: Extracted packet for processing {"connection_id":148538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:32:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 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-08-05 09:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190915584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785902315000,"timestamp_ms":1785902315000,"timestamp_seconds":1785902315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd012b5f8"} 
[2026-08-05 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-08-05 09:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 09:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 09:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190915584001,"66":26115,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190915584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:32:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:32:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190915584001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":148538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:32:22] local.INFO: GPS data processed {"connection_id":148538,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:32:22] local.INFO: Acknowledgment sent {"connection_id":148538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:32:53] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:32:53] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:32:53] local.INFO: Packet analysis {"connection_id":148538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:32:53] local.INFO: Extracted packet for processing {"connection_id":148538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:32:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190915584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785902315000,"timestamp_ms":1785902315000,"timestamp_seconds":1785902315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd012b5f8"} 
[2026-08-05 09:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 09:32:53] 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-08-05 09:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190915584001,"66":26115,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190915584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:32:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:32:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190915584001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":148538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:32:53] local.INFO: GPS data processed {"connection_id":148538,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:32:53] local.INFO: Acknowledgment sent {"connection_id":148538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:33:15] local.INFO: TCP Data received {"connection_id":149535,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:33:15] local.INFO: Processing buffer {"connection_id":149535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:33:15] local.INFO: IMEI packet received {"connection_id":149535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":149535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:33:20] local.INFO: TCP Data received {"connection_id":149535,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:33:20] local.INFO: Processing buffer {"connection_id":149535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:33:20] local.INFO: IMEI packet received {"connection_id":149535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":149535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:33:21] local.INFO: TCP Data received {"connection_id":149535,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:33:21] local.INFO: Processing buffer {"connection_id":149535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:33:21] local.INFO: Packet analysis {"connection_id":149535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:33:21] local.INFO: Extracted packet for processing {"connection_id":149535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:33:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190915584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785902315000,"timestamp_ms":1785902315000,"timestamp_seconds":1785902315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd012b5f8"} 
[2026-08-05 09:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 09:33:21] 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-08-05 09:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:33: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-08-05 09:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190915584001,"66":26115,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190915584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:33:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190915584001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":149535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:33:21] local.INFO: GPS data processed {"connection_id":149535,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:33:21] local.INFO: Acknowledgment sent {"connection_id":149535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:33:53] local.INFO: TCP Data received {"connection_id":149535,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:33:53] local.INFO: Processing buffer {"connection_id":149535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd012b5f8012d7fac4005afe3200009011c21..."} 
[2026-08-05 09:33:53] local.INFO: Packet analysis {"connection_id":149535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:33:53] local.INFO: Extracted packet for processing {"connection_id":149535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd012"} 
[2026-08-05 09:33:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":9,"angle":284,"satellites":33,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190915584001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785902315000,"timestamp_ms":1785902315000,"timestamp_seconds":1785902315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd012b5f8"} 
[2026-08-05 09:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 09:33:53] 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-08-05 09:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190915584001,"66":26115,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190915584001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:33:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:33:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190915584001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":149535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:33:53] local.INFO: GPS data processed {"connection_id":149535,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:33:53] local.INFO: Acknowledgment sent {"connection_id":149535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:34:21] local.INFO: TCP Data received {"connection_id":149536,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:34:21] local.INFO: Processing buffer {"connection_id":149536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:34:21] local.INFO: IMEI packet received {"connection_id":149536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":149536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:34:25] local.INFO: TCP Data received {"connection_id":149536,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:34:25] local.INFO: Processing buffer {"connection_id":149536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:34:25] local.INFO: IMEI packet received {"connection_id":149536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":149536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:34:26] local.INFO: TCP Data received {"connection_id":149536,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:34:26] local.INFO: Processing buffer {"connection_id":149536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:34:26] local.INFO: Packet analysis {"connection_id":149536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:34:26] local.INFO: Extracted packet for processing {"connection_id":149536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190992640001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785902616000,"timestamp_ms":1785902616000,"timestamp_seconds":1785902616,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0174dc0"} 
[2026-08-05 09:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 09:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190992640001,"66":26006,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190992640001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:34:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190992640001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":149536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:34:26] local.INFO: GPS data processed {"connection_id":149536,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:34:26] local.INFO: Acknowledgment sent {"connection_id":149536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:34:31] local.INFO: TCP Data received {"connection_id":149536,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:34:31] local.INFO: Processing buffer {"connection_id":149536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:34:31] local.INFO: Packet analysis {"connection_id":149536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:34:31] local.INFO: Extracted packet for processing {"connection_id":149536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190992640001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785902616000,"timestamp_ms":1785902616000,"timestamp_seconds":1785902616,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0174dc0"} 
[2026-08-05 09:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 09:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190992640001,"66":26006,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190992640001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:34:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:34:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190992640001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":149536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:34:31] local.INFO: GPS data processed {"connection_id":149536,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:34:31] local.INFO: Acknowledgment sent {"connection_id":149536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:35:15] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:35:15] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:35:15] local.INFO: IMEI packet received {"connection_id":148539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":148539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:35:20] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:35:20] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:35:20] local.INFO: IMEI packet received {"connection_id":148539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":148539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:35:21] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:35:21] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:35:21] local.INFO: Packet analysis {"connection_id":148539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:35:21] local.INFO: Extracted packet for processing {"connection_id":148539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190992640001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785902616000,"timestamp_ms":1785902616000,"timestamp_seconds":1785902616,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0174dc0"} 
[2026-08-05 09:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 09:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190992640001,"66":26006,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190992640001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:35:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190992640001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":148539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:35:21] local.INFO: GPS data processed {"connection_id":148539,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:35:21] local.INFO: Acknowledgment sent {"connection_id":148539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:35:53] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:35:53] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:35:53] local.INFO: Packet analysis {"connection_id":148539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:35:53] local.INFO: Extracted packet for processing {"connection_id":148539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:35:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190992640001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785902616000,"timestamp_ms":1785902616000,"timestamp_seconds":1785902616,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0174dc0"} 
[2026-08-05 09:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 09:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190992640001,"66":26006,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190992640001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:35:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:35:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190992640001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":148539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:35:53] local.INFO: GPS data processed {"connection_id":148539,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:35:53] local.INFO: Acknowledgment sent {"connection_id":148539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:36:15] local.INFO: TCP Data received {"connection_id":149537,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:36:15] local.INFO: Processing buffer {"connection_id":149537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:36:15] local.INFO: IMEI packet received {"connection_id":149537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":149537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:36:20] local.INFO: TCP Data received {"connection_id":149537,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:36:20] local.INFO: Processing buffer {"connection_id":149537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:36:20] local.INFO: IMEI packet received {"connection_id":149537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":149537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:36:21] local.INFO: TCP Data received {"connection_id":149537,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:36:21] local.INFO: Processing buffer {"connection_id":149537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:36:21] local.INFO: Packet analysis {"connection_id":149537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:36:21] local.INFO: Extracted packet for processing {"connection_id":149537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:36:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 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-08-05 09:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190992640001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785902616000,"timestamp_ms":1785902616000,"timestamp_seconds":1785902616,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0174dc0"} 
[2026-08-05 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-08-05 09:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 09:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 09:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190992640001,"66":26006,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190992640001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:36:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190992640001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":149537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:36:21] local.INFO: GPS data processed {"connection_id":149537,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:36:21] local.INFO: Acknowledgment sent {"connection_id":149537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:36:52] local.INFO: TCP Data received {"connection_id":149537,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:36:52] local.INFO: Processing buffer {"connection_id":149537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:36:52] local.INFO: Packet analysis {"connection_id":149537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:36:52] local.INFO: Extracted packet for processing {"connection_id":149537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:36:52] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190992640001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785902616000,"timestamp_ms":1785902616000,"timestamp_seconds":1785902616,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0174dc0"} 
[2026-08-05 09:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 09:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190992640001,"66":26006,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190992640001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:36:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:36:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190992640001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":149537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:36:52] local.INFO: GPS data processed {"connection_id":149537,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:36:52] local.INFO: Acknowledgment sent {"connection_id":149537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:37:15] local.INFO: TCP Data received {"connection_id":150958,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:37:15] local.INFO: Processing buffer {"connection_id":150958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:37:15] local.INFO: IMEI packet received {"connection_id":150958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":150958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:37:20] local.INFO: TCP Data received {"connection_id":150958,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:37:20] local.INFO: Processing buffer {"connection_id":150958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:37:20] local.INFO: IMEI packet received {"connection_id":150958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":150958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:37:24] local.INFO: TCP Data received {"connection_id":150958,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:37:24] local.INFO: Processing buffer {"connection_id":150958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:37:24] local.INFO: Packet analysis {"connection_id":150958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:37:24] local.INFO: Extracted packet for processing {"connection_id":150958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:37:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190992640001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785902616000,"timestamp_ms":1785902616000,"timestamp_seconds":1785902616,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0174dc0"} 
[2026-08-05 09:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 09:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190992640001,"66":26006,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190992640001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:37:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:37:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190992640001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":150958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:37:24] local.INFO: GPS data processed {"connection_id":150958,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:37:24] local.INFO: Acknowledgment sent {"connection_id":150958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:37:55] local.INFO: TCP Data received {"connection_id":150958,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:37:55] local.INFO: Processing buffer {"connection_id":150958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:37:55] local.INFO: Packet analysis {"connection_id":150958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:37:55] local.INFO: Extracted packet for processing {"connection_id":150958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190992640001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785902616000,"timestamp_ms":1785902616000,"timestamp_seconds":1785902616,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0174dc0"} 
[2026-08-05 09:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 09:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190992640001,"66":26006,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190992640001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:37:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190992640001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":150958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:37:55] local.INFO: GPS data processed {"connection_id":150958,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:37:55] local.INFO: Acknowledgment sent {"connection_id":150958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:38:20] local.INFO: TCP Data received {"connection_id":148314,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:38:20] local.INFO: Processing buffer {"connection_id":148314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:38:20] local.INFO: IMEI packet received {"connection_id":148314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":148314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:38:25] local.INFO: TCP Data received {"connection_id":148314,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:38:25] local.INFO: Processing buffer {"connection_id":148314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:38:25] local.INFO: IMEI packet received {"connection_id":148314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":148314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:38:26] local.INFO: TCP Data received {"connection_id":148314,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:38:26] local.INFO: Processing buffer {"connection_id":148314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:38:26] local.INFO: Packet analysis {"connection_id":148314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:38:26] local.INFO: Extracted packet for processing {"connection_id":148314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190992640001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785902616000,"timestamp_ms":1785902616000,"timestamp_seconds":1785902616,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0174dc0"} 
[2026-08-05 09:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 09:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190992640001,"66":26006,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190992640001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:38:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190992640001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":148314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:38:26] local.INFO: GPS data processed {"connection_id":148314,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:38:26] local.INFO: Acknowledgment sent {"connection_id":148314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:38:32] local.INFO: TCP Data received {"connection_id":148314,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:38:32] local.INFO: Processing buffer {"connection_id":148314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0174dc0012d7fac4005afe3200000011c28..."} 
[2026-08-05 09:38:32] local.INFO: Packet analysis {"connection_id":148314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:38:32] local.INFO: Extracted packet for processing {"connection_id":148314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd017"} 
[2026-08-05 09:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457190992640001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785902616000,"timestamp_ms":1785902616000,"timestamp_seconds":1785902616,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0174dc0"} 
[2026-08-05 09:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 09:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457190992640001,"66":26006,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457190992640001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:38:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457190992640001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":148314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:38:32] local.INFO: GPS data processed {"connection_id":148314,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:38:32] local.INFO: Acknowledgment sent {"connection_id":148314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:39:15] local.INFO: TCP Data received {"connection_id":149538,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:39:15] local.INFO: Processing buffer {"connection_id":149538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:39:15] local.INFO: IMEI packet received {"connection_id":149538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":149538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:39:16] local.INFO: TCP Data received {"connection_id":149538,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:39:16] local.INFO: Processing buffer {"connection_id":149538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:39:16] local.INFO: IMEI packet received {"connection_id":149538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":149538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:39:20] local.INFO: TCP Data received {"connection_id":149538,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:39:20] local.INFO: Processing buffer {"connection_id":149538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:39:20] local.INFO: IMEI packet received {"connection_id":149538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":149538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:39:21] local.INFO: TCP Data received {"connection_id":149538,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:39:21] local.INFO: Processing buffer {"connection_id":149538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:39:21] local.INFO: Packet analysis {"connection_id":149538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:39:21] local.INFO: Extracted packet for processing {"connection_id":149538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 09:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:39: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-08-05 09:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:39:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":149538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:39:21] local.INFO: GPS data processed {"connection_id":149538,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:39:21] local.INFO: Acknowledgment sent {"connection_id":149538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:39:26] local.INFO: TCP Data received {"connection_id":149538,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:39:26] local.INFO: Processing buffer {"connection_id":149538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:39:26] local.INFO: Packet analysis {"connection_id":149538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:39:26] local.INFO: Extracted packet for processing {"connection_id":149538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 09:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:39:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":149538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:39:26] local.INFO: GPS data processed {"connection_id":149538,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:39:26] local.INFO: Acknowledgment sent {"connection_id":149538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:39:58] local.INFO: TCP Data received {"connection_id":149538,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:39:58] local.INFO: Processing buffer {"connection_id":149538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:39:58] local.INFO: Packet analysis {"connection_id":149538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:39:58] local.INFO: Extracted packet for processing {"connection_id":149538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 09:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:39:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":149538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:39:58] local.INFO: GPS data processed {"connection_id":149538,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:39:58] local.INFO: Acknowledgment sent {"connection_id":149538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:40:15] local.INFO: TCP Data received {"connection_id":148315,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:40:15] local.INFO: Processing buffer {"connection_id":148315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:40:15] local.INFO: IMEI packet received {"connection_id":148315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":148315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:40:21] local.INFO: TCP Data received {"connection_id":148315,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:40:21] local.INFO: Processing buffer {"connection_id":148315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:40:21] local.INFO: IMEI packet received {"connection_id":148315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":148315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:40:24] local.INFO: TCP Data received {"connection_id":148315,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:40:24] local.INFO: Processing buffer {"connection_id":148315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:40:24] local.INFO: Packet analysis {"connection_id":148315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:40:24] local.INFO: Extracted packet for processing {"connection_id":148315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 09:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:40:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:40:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":148315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:40:24] local.INFO: GPS data processed {"connection_id":148315,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:40:24] local.INFO: Acknowledgment sent {"connection_id":148315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:40:55] local.INFO: TCP Data received {"connection_id":148315,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:40:55] local.INFO: Processing buffer {"connection_id":148315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:40:55] local.INFO: Packet analysis {"connection_id":148315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:40:55] local.INFO: Extracted packet for processing {"connection_id":148315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 09:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:40: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-08-05 09:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:40:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":148315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:40:55] local.INFO: GPS data processed {"connection_id":148315,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:40:55] local.INFO: Acknowledgment sent {"connection_id":148315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:41:15] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:41:15] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:41:15] local.INFO: IMEI packet received {"connection_id":148540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":148540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:41:20] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:41:20] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:41:20] local.INFO: IMEI packet received {"connection_id":148540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":148540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:41:21] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:41:21] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:41:21] local.INFO: Packet analysis {"connection_id":148540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:41:21] local.INFO: Extracted packet for processing {"connection_id":148540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:41:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 09:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:41: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-08-05 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09: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-08-05 09:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:41:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":148540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:41:21] local.INFO: GPS data processed {"connection_id":148540,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:41:21] local.INFO: Acknowledgment sent {"connection_id":148540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:41:52] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:41:52] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:41:52] local.INFO: Packet analysis {"connection_id":148540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:41:52] local.INFO: Extracted packet for processing {"connection_id":148540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:41:52] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 09:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:41:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:41:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":148540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:41:52] local.INFO: GPS data processed {"connection_id":148540,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:41:52] local.INFO: Acknowledgment sent {"connection_id":148540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:42:00] local.INFO: TCP Data received {"connection_id":149539,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:42:00] local.INFO: Processing buffer {"connection_id":149539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:42:00] local.INFO: IMEI packet received {"connection_id":149539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 09:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":149539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:42:01] local.INFO: TCP Data received {"connection_id":149539,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:42:01] local.INFO: Processing buffer {"connection_id":149539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:42:01] local.INFO: IMEI packet received {"connection_id":149539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 09:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":149539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:42:05] local.INFO: TCP Data received {"connection_id":149539,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:42:05] local.INFO: Processing buffer {"connection_id":149539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:42:05] local.INFO: IMEI packet received {"connection_id":149539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 09:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":149539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:42:06] local.INFO: TCP Data received {"connection_id":149539,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-05 09:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149539,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-05 09:42:06] local.INFO: Processing buffer {"connection_id":149539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-05 09:42:06] local.INFO: Packet analysis {"connection_id":149539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-05 09:42:06] local.INFO: Extracted packet for processing {"connection_id":149539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-05 09:42:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-05 09:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10519126527180800,"note":"Value kept but may cause issues"} 
[2026-08-05 09:42:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 09:42:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 09:42:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-05 09:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149539,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149539,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-05 09:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149539,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-05 09:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-05 09:42:06] local.WARNING: DEBUG: No valid data to process  
[2026-08-05 09:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":149539,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-05 09:42:06] local.ERROR: GPS data processing failed {"connection_id":149539,"error":"No valid data to process"} 
[2026-08-05 09:42:06] local.INFO: Acknowledgment sent {"connection_id":149539,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-05 09:42:20] local.INFO: TCP Data received {"connection_id":149540,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:42:20] local.INFO: Processing buffer {"connection_id":149540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:42:20] local.INFO: IMEI packet received {"connection_id":149540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":149540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:42:25] local.INFO: TCP Data received {"connection_id":149540,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:42:25] local.INFO: Processing buffer {"connection_id":149540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:42:25] local.INFO: IMEI packet received {"connection_id":149540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":149540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:42:35] local.INFO: TCP Data received {"connection_id":149540,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:42:35] local.INFO: Processing buffer {"connection_id":149540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:42:35] local.INFO: Packet analysis {"connection_id":149540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:42:35] local.INFO: Extracted packet for processing {"connection_id":149540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 09:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:42:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":149540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:42:35] local.INFO: GPS data processed {"connection_id":149540,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:42:35] local.INFO: Acknowledgment sent {"connection_id":149540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:42:40] local.INFO: TCP Data received {"connection_id":149540,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:42:40] local.INFO: Processing buffer {"connection_id":149540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:42:40] local.INFO: Packet analysis {"connection_id":149540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:42:40] local.INFO: Extracted packet for processing {"connection_id":149540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 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-08-05 09:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 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-08-05 09:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 09:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:42:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":149540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:42:40] local.INFO: GPS data processed {"connection_id":149540,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:42:40] local.INFO: Acknowledgment sent {"connection_id":149540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:43:15] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:43:15] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:43:15] local.INFO: IMEI packet received {"connection_id":148541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":148541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:43:20] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:43:20] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:43:20] local.INFO: IMEI packet received {"connection_id":148541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":148541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:43:23] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:43:23] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:43:23] local.INFO: Packet analysis {"connection_id":148541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:43:23] local.INFO: Extracted packet for processing {"connection_id":148541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 09:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:43:23] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:43:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":148541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:43:23] local.INFO: GPS data processed {"connection_id":148541,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:43:23] local.INFO: Acknowledgment sent {"connection_id":148541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:43:27] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:43:27] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:43:27] local.INFO: Packet analysis {"connection_id":148541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:43:27] local.INFO: Extracted packet for processing {"connection_id":148541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 09:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:43:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":148541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:43:27] local.INFO: GPS data processed {"connection_id":148541,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:43:27] local.INFO: Acknowledgment sent {"connection_id":148541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:43:58] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:43:58] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd01be588012d7fac4005afe3200002011c28..."} 
[2026-08-05 09:43:58] local.INFO: Packet analysis {"connection_id":148541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:43:58] local.INFO: Extracted packet for processing {"connection_id":148541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd01b"} 
[2026-08-05 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":2,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191069696001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785902917000,"timestamp_ms":1785902917000,"timestamp_seconds":1785902917,"priority":1,"record_length":96,"hex_timestamp":"0000019fd01be588"} 
[2026-08-05 09:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 09:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191069696001,"66":25973,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191069696001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:43:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191069696001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":148541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:43:58] local.INFO: GPS data processed {"connection_id":148541,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:43:58] local.INFO: Acknowledgment sent {"connection_id":148541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:44:15] local.INFO: TCP Data received {"connection_id":150959,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:44:15] local.INFO: Processing buffer {"connection_id":150959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:44:15] local.INFO: IMEI packet received {"connection_id":150959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":150959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:44:16] local.INFO: TCP Data received {"connection_id":150959,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:44:16] local.INFO: Processing buffer {"connection_id":150959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:44:16] local.INFO: IMEI packet received {"connection_id":150959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":150959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:44:20] local.INFO: TCP Data received {"connection_id":150959,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:44:20] local.INFO: Processing buffer {"connection_id":150959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:44:20] local.INFO: IMEI packet received {"connection_id":150959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":150959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:44:22] local.INFO: TCP Data received {"connection_id":150959,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:44:22] local.INFO: Processing buffer {"connection_id":150959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:44:22] local.INFO: Packet analysis {"connection_id":150959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:44:22] local.INFO: Extracted packet for processing {"connection_id":150959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:44:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191146752001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785903218000,"timestamp_ms":1785903218000,"timestamp_seconds":1785903218,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0207d50"} 
[2026-08-05 09:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 09:44:22] 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-08-05 09:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191146752001,"66":25908,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191146752001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:44:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:44:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191146752001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":150959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:44:22] local.INFO: GPS data processed {"connection_id":150959,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:44:22] local.INFO: Acknowledgment sent {"connection_id":150959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:44:53] local.INFO: TCP Data received {"connection_id":150959,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:44:53] local.INFO: Processing buffer {"connection_id":150959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:44:53] local.INFO: Packet analysis {"connection_id":150959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:44:53] local.INFO: Extracted packet for processing {"connection_id":150959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:44:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191146752001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785903218000,"timestamp_ms":1785903218000,"timestamp_seconds":1785903218,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0207d50"} 
[2026-08-05 09:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 09:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191146752001,"66":25908,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191146752001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:44:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:44:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191146752001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":150959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:44:53] local.INFO: GPS data processed {"connection_id":150959,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:44:53] local.INFO: Acknowledgment sent {"connection_id":150959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:45:15] local.INFO: TCP Data received {"connection_id":148316,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:45:15] local.INFO: Processing buffer {"connection_id":148316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:45:15] local.INFO: IMEI packet received {"connection_id":148316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":148316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:45:20] local.INFO: TCP Data received {"connection_id":148316,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:45:20] local.INFO: Processing buffer {"connection_id":148316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:45:20] local.INFO: IMEI packet received {"connection_id":148316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":148316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:45:21] local.INFO: TCP Data received {"connection_id":148316,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:45:21] local.INFO: Processing buffer {"connection_id":148316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:45:21] local.INFO: Packet analysis {"connection_id":148316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:45:21] local.INFO: Extracted packet for processing {"connection_id":148316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:45:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191146752001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785903218000,"timestamp_ms":1785903218000,"timestamp_seconds":1785903218,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0207d50"} 
[2026-08-05 09:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:45: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-08-05 09: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 09:45:21] 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-08-05 09: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-08-05 09:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191146752001,"66":25908,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191146752001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:45:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191146752001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":148316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:45:21] local.INFO: GPS data processed {"connection_id":148316,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:45:21] local.INFO: Acknowledgment sent {"connection_id":148316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:45:52] local.INFO: TCP Data received {"connection_id":148316,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:45:52] local.INFO: Processing buffer {"connection_id":148316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:45:52] local.INFO: Packet analysis {"connection_id":148316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:45:52] local.INFO: Extracted packet for processing {"connection_id":148316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:45:52] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191146752001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785903218000,"timestamp_ms":1785903218000,"timestamp_seconds":1785903218,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0207d50"} 
[2026-08-05 09:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 09:45:52] 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-08-05 09:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191146752001,"66":25908,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191146752001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:45:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191146752001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":148316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:45:52] local.INFO: GPS data processed {"connection_id":148316,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:45:52] local.INFO: Acknowledgment sent {"connection_id":148316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:46:15] local.INFO: TCP Data received {"connection_id":149541,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:46:15] local.INFO: Processing buffer {"connection_id":149541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:46:15] local.INFO: IMEI packet received {"connection_id":149541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":149541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:46:20] local.INFO: TCP Data received {"connection_id":149541,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:46:20] local.INFO: Processing buffer {"connection_id":149541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:46:20] local.INFO: IMEI packet received {"connection_id":149541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":149541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:46:22] local.INFO: TCP Data received {"connection_id":149541,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:46:22] local.INFO: Processing buffer {"connection_id":149541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:46:22] local.INFO: Packet analysis {"connection_id":149541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:46:22] local.INFO: Extracted packet for processing {"connection_id":149541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:46:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191146752001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785903218000,"timestamp_ms":1785903218000,"timestamp_seconds":1785903218,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0207d50"} 
[2026-08-05 09:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 09:46:22] 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-08-05 09:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191146752001,"66":25908,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191146752001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:46:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:46:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191146752001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":149541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:46:22] local.INFO: GPS data processed {"connection_id":149541,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:46:22] local.INFO: Acknowledgment sent {"connection_id":149541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:46:53] local.INFO: TCP Data received {"connection_id":149541,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:46:53] local.INFO: Processing buffer {"connection_id":149541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:46:53] local.INFO: Packet analysis {"connection_id":149541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:46:53] local.INFO: Extracted packet for processing {"connection_id":149541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:46:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191146752001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785903218000,"timestamp_ms":1785903218000,"timestamp_seconds":1785903218,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0207d50"} 
[2026-08-05 09:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 09:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191146752001,"66":25908,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191146752001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:46:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:46:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191146752001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":149541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:46:53] local.INFO: GPS data processed {"connection_id":149541,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:46:53] local.INFO: Acknowledgment sent {"connection_id":149541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:47:05] local.INFO: TCP Data received {"connection_id":148317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:47:05] local.INFO: Processing buffer {"connection_id":148317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:47:05] local.INFO: IMEI packet received {"connection_id":148317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 09:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":148317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:47:06] local.INFO: TCP Data received {"connection_id":148317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:47:06] local.INFO: Processing buffer {"connection_id":148317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:47:06] local.INFO: IMEI packet received {"connection_id":148317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 09:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":148317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:47:10] local.INFO: TCP Data received {"connection_id":148317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:47:10] local.INFO: Processing buffer {"connection_id":148317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 09:47:10] local.INFO: IMEI packet received {"connection_id":148317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 09:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":148317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:47:11] local.INFO: TCP Data received {"connection_id":148317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-08-05 09:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-08-05 09:47:11] local.INFO: Processing buffer {"connection_id":148317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-08-05 09:47:11] local.INFO: Packet analysis {"connection_id":148317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-05 09:47:11] local.INFO: Extracted packet for processing {"connection_id":148317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-05 09:47:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-05 09:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10519126527180800,"note":"Value kept but may cause issues"} 
[2026-08-05 09:47:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 09:47:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90000,"timestamp_seconds":90,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 09:47:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-05 09:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148317,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148317,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-05 09:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148317,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-05 09:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-05 09:47:11] local.WARNING: DEBUG: No valid data to process  
[2026-08-05 09:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":148317,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-05 09:47:11] local.ERROR: GPS data processing failed {"connection_id":148317,"error":"No valid data to process"} 
[2026-08-05 09:47:11] local.INFO: Acknowledgment sent {"connection_id":148317,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-05 09:47:20] local.INFO: TCP Data received {"connection_id":148318,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:47:20] local.INFO: Processing buffer {"connection_id":148318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:47:20] local.INFO: IMEI packet received {"connection_id":148318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":148318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:47:25] local.INFO: TCP Data received {"connection_id":148318,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:47:25] local.INFO: Processing buffer {"connection_id":148318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:47:25] local.INFO: IMEI packet received {"connection_id":148318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":148318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:47:26] local.INFO: TCP Data received {"connection_id":148318,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:47:26] local.INFO: Processing buffer {"connection_id":148318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:47:26] local.INFO: Packet analysis {"connection_id":148318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:47:26] local.INFO: Extracted packet for processing {"connection_id":148318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191146752001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785903218000,"timestamp_ms":1785903218000,"timestamp_seconds":1785903218,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0207d50"} 
[2026-08-05 09:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 09:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191146752001,"66":25908,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191146752001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:47:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191146752001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":148318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:47:26] local.INFO: GPS data processed {"connection_id":148318,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:47:26] local.INFO: Acknowledgment sent {"connection_id":148318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:47:31] local.INFO: TCP Data received {"connection_id":148318,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:47:31] local.INFO: Processing buffer {"connection_id":148318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:47:31] local.INFO: Packet analysis {"connection_id":148318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:47:31] local.INFO: Extracted packet for processing {"connection_id":148318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191146752001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785903218000,"timestamp_ms":1785903218000,"timestamp_seconds":1785903218,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0207d50"} 
[2026-08-05 09:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 09:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191146752001,"66":25908,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191146752001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:47:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:47:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191146752001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":148318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:47:31] local.INFO: GPS data processed {"connection_id":148318,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:47:31] local.INFO: Acknowledgment sent {"connection_id":148318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:47:42] local.INFO: TCP Data received {"connection_id":148317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0240790012d1b77c0071f6f380038003f07..."} 
[2026-08-05 09:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0240790012d1b77c0071f6f380038003f07..."} 
[2026-08-05 09:47:42] local.INFO: Processing buffer {"connection_id":148317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0240790012d1b77c0071f6f380038003f07..."} 
[2026-08-05 09:47:42] local.INFO: Packet analysis {"connection_id":148317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd024"} 
[2026-08-05 09:47:42] local.INFO: Extracted packet for processing {"connection_id":148317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd024"} 
[2026-08-05 09:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756774848,"raw_latitude":119500600,"longitude_deg":75.6774848,"latitude_deg":11.95006,"altitude":56,"angle":63,"satellites":7,"speed":10,"hex_longitude":"2d1b77c0","hex_latitude":"071f6f38","is_valid_coordinates":true} 
[2026-08-05 09:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191282688001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10519474419531776,"note":"Value kept but may cause issues"} 
[2026-08-05 09:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978839485612226560,"note":"Value kept but may cause issues"} 
[2026-08-05 09:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785903450000,"timestamp_ms":1785903450000,"timestamp_seconds":1785903450,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0240790"} 
[2026-08-05 09:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 09:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 09:47: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-08-05 09:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 09:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 09:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 09:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 09:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191282688001,"66":14461,"101":206,"83":41984,"24":10,"16":10519474419531776,"45":1978839485612226560},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 09:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 09:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 09:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191282688001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:47:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 09:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 09:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10519474419531776,"km_value":10519474419531.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978839485612226560,"description":"Unknown IO ID 45"} 
[2026-08-05 09:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191282688001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1978839485612226560}} 
[2026-08-05 09:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":148317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:47:42] local.INFO: GPS data processed {"connection_id":148317,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:47:42] local.INFO: Acknowledgment sent {"connection_id":148317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:48:12] local.INFO: TCP Data received {"connection_id":148317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0240f60012d1b7980071f70280037002c07..."} 
[2026-08-05 09:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0240f60012d1b7980071f70280037002c07..."} 
[2026-08-05 09:48:12] local.INFO: Processing buffer {"connection_id":148317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0240f60012d1b7980071f70280037002c07..."} 
[2026-08-05 09:48:12] local.INFO: Packet analysis {"connection_id":148317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd024"} 
[2026-08-05 09:48:12] local.INFO: Extracted packet for processing {"connection_id":148317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd024"} 
[2026-08-05 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756775296,"raw_latitude":119500840,"longitude_deg":75.6775296,"latitude_deg":11.950084,"altitude":55,"angle":44,"satellites":7,"speed":12,"hex_longitude":"2d1b7980","hex_latitude":"071f7028","is_valid_coordinates":true} 
[2026-08-05 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191283200001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10519500189335552,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979261698077308928,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785903452000,"timestamp_ms":1785903452000,"timestamp_seconds":1785903452,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0240f60"} 
[2026-08-05 09:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-05 09:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 09:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 09:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 09:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 09:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191283200001,"66":14559,"101":206,"83":41984,"24":12,"16":10519500189335552,"45":1979261698077308928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 09:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 09:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 09:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191283200001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:48:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 09:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 09:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10519500189335552,"km_value":10519500189335.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979261698077308928,"description":"Unknown IO ID 45"} 
[2026-08-05 09:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191283200001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1979261698077308928}} 
[2026-08-05 09:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":148317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:48:12] local.INFO: GPS data processed {"connection_id":148317,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:48:12] local.INFO: Acknowledgment sent {"connection_id":148317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:48:15] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:48:15] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:48:15] local.INFO: IMEI packet received {"connection_id":148542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":148542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:48:20] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:48:20] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:48:20] local.INFO: IMEI packet received {"connection_id":148542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":148542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:48:21] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:48:21] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:48:21] local.INFO: Packet analysis {"connection_id":148542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:48:21] local.INFO: Extracted packet for processing {"connection_id":148542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:48:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191146752001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785903218000,"timestamp_ms":1785903218000,"timestamp_seconds":1785903218,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0207d50"} 
[2026-08-05 09:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:48: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-08-05 09: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 09:48:21] 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-08-05 09: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-08-05 09:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191146752001,"66":25908,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191146752001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:48:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191146752001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":148542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:48:21] local.INFO: GPS data processed {"connection_id":148542,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:48:21] local.INFO: Acknowledgment sent {"connection_id":148542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:48:43] local.INFO: TCP Data received {"connection_id":148317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0242ab8012d1b8000071f74d00032003c07..."} 
[2026-08-05 09:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0242ab8012d1b8000071f74d00032003c07..."} 
[2026-08-05 09:48:43] local.INFO: Processing buffer {"connection_id":148317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0242ab8012d1b8000071f74d00032003c07..."} 
[2026-08-05 09:48:43] local.INFO: Packet analysis {"connection_id":148317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd024"} 
[2026-08-05 09:48:43] local.INFO: Extracted packet for processing {"connection_id":148317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd024"} 
[2026-08-05 09:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756776960,"raw_latitude":119502032,"longitude_deg":75.677696,"latitude_deg":11.9502032,"altitude":50,"angle":60,"satellites":7,"speed":14,"hex_longitude":"2d1b8000","hex_latitude":"071f74d0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 09:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191283712001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10519598973583360,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979754279286614016,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785903459000,"timestamp_ms":1785903459000,"timestamp_seconds":1785903459,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0242ab8"} 
[2026-08-05 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-08-05 09:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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-08-05 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-08-05 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-08-05 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-08-05 09:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 09:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 09:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 09:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 09:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191283712001,"66":14070,"101":206,"83":41984,"24":14,"16":10519598973583360,"45":1979754279286614016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 09:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 09:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 09:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191283712001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:48:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 09:48:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 09:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10519598973583360,"km_value":10519598973583.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979754279286614016,"description":"Unknown IO ID 45"} 
[2026-08-05 09:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191283712001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1979754279286614016}} 
[2026-08-05 09:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":148317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:48:43] local.INFO: GPS data processed {"connection_id":148317,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:48:43] local.INFO: Acknowledgment sent {"connection_id":148317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:48:53] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:48:53] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0207d50012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:48:53] local.INFO: Packet analysis {"connection_id":148542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:48:53] local.INFO: Extracted packet for processing {"connection_id":148542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd020"} 
[2026-08-05 09:48:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191146752001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785903218000,"timestamp_ms":1785903218000,"timestamp_seconds":1785903218,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0207d50"} 
[2026-08-05 09:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 09:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191146752001,"66":25908,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191146752001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:48:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:48:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191146752001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":148542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:48:53] local.INFO: GPS data processed {"connection_id":148542,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:48:53] local.INFO: Acknowledgment sent {"connection_id":148542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:49:15] local.INFO: TCP Data received {"connection_id":148319,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:49:15] local.INFO: Processing buffer {"connection_id":148319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:49:15] local.INFO: IMEI packet received {"connection_id":148319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":148319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:49:17] local.INFO: TCP Data received {"connection_id":148319,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:49:17] local.INFO: Processing buffer {"connection_id":148319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:49:17] local.INFO: IMEI packet received {"connection_id":148319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":148319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:49:18] local.INFO: TCP Data received {"connection_id":148319,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:49:18] local.INFO: Processing buffer {"connection_id":148319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:49:18] local.INFO: Packet analysis {"connection_id":148319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:49:18] local.INFO: Extracted packet for processing {"connection_id":148319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191223808001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785903519000,"timestamp_ms":1785903519000,"timestamp_seconds":1785903519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0251518"} 
[2026-08-05 09:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:49: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-08-05 09: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 09:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09: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-08-05 09:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191223808001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191223808001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:49:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191223808001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":148319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:49:18] local.INFO: GPS data processed {"connection_id":148319,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:49:18] local.INFO: Acknowledgment sent {"connection_id":148319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:49:50] local.INFO: TCP Data received {"connection_id":148319,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:49:50] local.INFO: Processing buffer {"connection_id":148319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:49:50] local.INFO: Packet analysis {"connection_id":148319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:49:50] local.INFO: Extracted packet for processing {"connection_id":148319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:49:50] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 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-08-05 09:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191223808001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785903519000,"timestamp_ms":1785903519000,"timestamp_seconds":1785903519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0251518"} 
[2026-08-05 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-08-05 09:49: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-08-05 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 09:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 09:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191223808001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191223808001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:49:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191223808001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":148319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:49:50] local.INFO: GPS data processed {"connection_id":148319,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:49:50] local.INFO: Acknowledgment sent {"connection_id":148319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:50:15] local.INFO: TCP Data received {"connection_id":148320,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:50:15] local.INFO: Processing buffer {"connection_id":148320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:50:15] local.INFO: IMEI packet received {"connection_id":148320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":148320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:50:20] local.INFO: TCP Data received {"connection_id":148320,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:50:20] local.INFO: Processing buffer {"connection_id":148320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:50:20] local.INFO: IMEI packet received {"connection_id":148320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":148320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:50:24] local.INFO: TCP Data received {"connection_id":148320,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:50:24] local.INFO: Processing buffer {"connection_id":148320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:50:24] local.INFO: Packet analysis {"connection_id":148320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:50:24] local.INFO: Extracted packet for processing {"connection_id":148320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191223808001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785903519000,"timestamp_ms":1785903519000,"timestamp_seconds":1785903519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0251518"} 
[2026-08-05 09:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 09:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191223808001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191223808001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:50:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:50:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191223808001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":148320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:50:24] local.INFO: GPS data processed {"connection_id":148320,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:50:24] local.INFO: Acknowledgment sent {"connection_id":148320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:50:55] local.INFO: TCP Data received {"connection_id":148320,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:50:55] local.INFO: Processing buffer {"connection_id":148320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:50:55] local.INFO: Packet analysis {"connection_id":148320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:50:55] local.INFO: Extracted packet for processing {"connection_id":148320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191223808001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785903519000,"timestamp_ms":1785903519000,"timestamp_seconds":1785903519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0251518"} 
[2026-08-05 09:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 09:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191223808001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191223808001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:50:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191223808001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":148320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:50:55] local.INFO: GPS data processed {"connection_id":148320,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:50:55] local.INFO: Acknowledgment sent {"connection_id":148320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:51:20] local.INFO: TCP Data received {"connection_id":149542,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:51:20] local.INFO: Processing buffer {"connection_id":149542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:51:20] local.INFO: IMEI packet received {"connection_id":149542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":149542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:51:25] local.INFO: TCP Data received {"connection_id":149542,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:51:25] local.INFO: Processing buffer {"connection_id":149542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:51:25] local.INFO: IMEI packet received {"connection_id":149542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":149542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:51:26] local.INFO: TCP Data received {"connection_id":149542,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:51:26] local.INFO: Processing buffer {"connection_id":149542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:51:26] local.INFO: Packet analysis {"connection_id":149542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:51:26] local.INFO: Extracted packet for processing {"connection_id":149542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191223808001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785903519000,"timestamp_ms":1785903519000,"timestamp_seconds":1785903519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0251518"} 
[2026-08-05 09:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 09:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191223808001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191223808001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:51:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191223808001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":149542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:51:26] local.INFO: GPS data processed {"connection_id":149542,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:51:26] local.INFO: Acknowledgment sent {"connection_id":149542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:51:31] local.INFO: TCP Data received {"connection_id":149542,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:51:31] local.INFO: Processing buffer {"connection_id":149542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:51:31] local.INFO: Packet analysis {"connection_id":149542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:51:31] local.INFO: Extracted packet for processing {"connection_id":149542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191223808001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785903519000,"timestamp_ms":1785903519000,"timestamp_seconds":1785903519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0251518"} 
[2026-08-05 09:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 09:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191223808001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191223808001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:51:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191223808001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":149542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:51:31] local.INFO: GPS data processed {"connection_id":149542,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:51:31] local.INFO: Acknowledgment sent {"connection_id":149542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:52:15] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:52:15] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:52:15] local.INFO: IMEI packet received {"connection_id":148543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":148543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:52:20] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:52:20] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:52:20] local.INFO: IMEI packet received {"connection_id":148543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":148543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:52:21] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:52:21] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:52:21] local.INFO: Packet analysis {"connection_id":148543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:52:21] local.INFO: Extracted packet for processing {"connection_id":148543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191223808001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785903519000,"timestamp_ms":1785903519000,"timestamp_seconds":1785903519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0251518"} 
[2026-08-05 09:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:52: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-08-05 09: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 09:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09: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-08-05 09:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191223808001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191223808001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:52:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191223808001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":148543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:52:21] local.INFO: GPS data processed {"connection_id":148543,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:52:21] local.INFO: Acknowledgment sent {"connection_id":148543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:52:52] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:52:52] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:52:52] local.INFO: Packet analysis {"connection_id":148543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:52:52] local.INFO: Extracted packet for processing {"connection_id":148543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191223808001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785903519000,"timestamp_ms":1785903519000,"timestamp_seconds":1785903519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0251518"} 
[2026-08-05 09:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 09:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191223808001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191223808001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:52:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191223808001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":148543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:52:52] local.INFO: GPS data processed {"connection_id":148543,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:52:52] local.INFO: Acknowledgment sent {"connection_id":148543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:53:15] local.INFO: TCP Data received {"connection_id":148321,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:53:15] local.INFO: Processing buffer {"connection_id":148321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:53:15] local.INFO: IMEI packet received {"connection_id":148321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":148321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:53:20] local.INFO: TCP Data received {"connection_id":148321,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:53:20] local.INFO: Processing buffer {"connection_id":148321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:53:20] local.INFO: IMEI packet received {"connection_id":148321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":148321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:53:21] local.INFO: TCP Data received {"connection_id":148321,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:53:21] local.INFO: Processing buffer {"connection_id":148321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:53:21] local.INFO: Packet analysis {"connection_id":148321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:53:21] local.INFO: Extracted packet for processing {"connection_id":148321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:53:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191223808001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785903519000,"timestamp_ms":1785903519000,"timestamp_seconds":1785903519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0251518"} 
[2026-08-05 09:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:53: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-08-05 09: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 09:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09: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-08-05 09:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191223808001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191223808001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:53:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191223808001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":148321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:53:21] local.INFO: GPS data processed {"connection_id":148321,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:53:21] local.INFO: Acknowledgment sent {"connection_id":148321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:53:53] local.INFO: TCP Data received {"connection_id":148321,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:53:53] local.INFO: Processing buffer {"connection_id":148321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0251518012d7fac4005afe3200000011c2a..."} 
[2026-08-05 09:53:53] local.INFO: Packet analysis {"connection_id":148321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:53:53] local.INFO: Extracted packet for processing {"connection_id":148321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd025"} 
[2026-08-05 09:53:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191223808001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785903519000,"timestamp_ms":1785903519000,"timestamp_seconds":1785903519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0251518"} 
[2026-08-05 09:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 09:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191223808001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191223808001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:53:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:53:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191223808001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":148321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:53:53] local.INFO: GPS data processed {"connection_id":148321,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:53:53] local.INFO: Acknowledgment sent {"connection_id":148321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:54:15] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:54:15] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:54:15] local.INFO: IMEI packet received {"connection_id":148544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":148544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:54:18] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:54:18] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:54:18] local.INFO: IMEI packet received {"connection_id":148544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":148544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:54:19] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:54:19] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:54:19] local.INFO: Packet analysis {"connection_id":148544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:54:19] local.INFO: Extracted packet for processing {"connection_id":148544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:54:19] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191300864001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785903820000,"timestamp_ms":1785903820000,"timestamp_seconds":1785903820,"priority":1,"record_length":96,"hex_timestamp":"0000019fd029ace0"} 
[2026-08-05 09:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191300864001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191300864001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:54:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:54:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191300864001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":148544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:54:19] local.INFO: GPS data processed {"connection_id":148544,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:54:19] local.INFO: Acknowledgment sent {"connection_id":148544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:54:51] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:54:51] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:54:51] local.INFO: Packet analysis {"connection_id":148544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:54:51] local.INFO: Extracted packet for processing {"connection_id":148544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:54:51] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191300864001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785903820000,"timestamp_ms":1785903820000,"timestamp_seconds":1785903820,"priority":1,"record_length":96,"hex_timestamp":"0000019fd029ace0"} 
[2026-08-05 09:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191300864001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191300864001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:54:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191300864001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":148544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:54:51] local.INFO: GPS data processed {"connection_id":148544,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:54:51] local.INFO: Acknowledgment sent {"connection_id":148544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:55:15] local.INFO: TCP Data received {"connection_id":150960,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:55:15] local.INFO: Processing buffer {"connection_id":150960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:55:15] local.INFO: IMEI packet received {"connection_id":150960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":150960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:55:20] local.INFO: TCP Data received {"connection_id":150960,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:55:20] local.INFO: Processing buffer {"connection_id":150960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:55:20] local.INFO: IMEI packet received {"connection_id":150960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":150960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:55:22] local.INFO: TCP Data received {"connection_id":150960,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:55:22] local.INFO: Processing buffer {"connection_id":150960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:55:22] local.INFO: Packet analysis {"connection_id":150960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:55:22] local.INFO: Extracted packet for processing {"connection_id":150960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191300864001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785903820000,"timestamp_ms":1785903820000,"timestamp_seconds":1785903820,"priority":1,"record_length":96,"hex_timestamp":"0000019fd029ace0"} 
[2026-08-05 09:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191300864001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191300864001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:55:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:55:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191300864001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":150960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:55:22] local.INFO: GPS data processed {"connection_id":150960,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:55:22] local.INFO: Acknowledgment sent {"connection_id":150960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:55:53] local.INFO: TCP Data received {"connection_id":150960,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:55:53] local.INFO: Processing buffer {"connection_id":150960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:55:53] local.INFO: Packet analysis {"connection_id":150960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:55:53] local.INFO: Extracted packet for processing {"connection_id":150960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:55:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191300864001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785903820000,"timestamp_ms":1785903820000,"timestamp_seconds":1785903820,"priority":1,"record_length":96,"hex_timestamp":"0000019fd029ace0"} 
[2026-08-05 09:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191300864001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191300864001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:55:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:55:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191300864001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":150960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:55:53] local.INFO: GPS data processed {"connection_id":150960,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:55:53] local.INFO: Acknowledgment sent {"connection_id":150960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:56:21] local.INFO: TCP Data received {"connection_id":149543,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:56:21] local.INFO: Processing buffer {"connection_id":149543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:56:21] local.INFO: IMEI packet received {"connection_id":149543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":149543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:56:25] local.INFO: TCP Data received {"connection_id":149543,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:56:25] local.INFO: Processing buffer {"connection_id":149543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:56:25] local.INFO: IMEI packet received {"connection_id":149543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":149543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:56:27] local.INFO: TCP Data received {"connection_id":149543,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:56:27] local.INFO: Processing buffer {"connection_id":149543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:56:27] local.INFO: Packet analysis {"connection_id":149543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:56:27] local.INFO: Extracted packet for processing {"connection_id":149543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191300864001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785903820000,"timestamp_ms":1785903820000,"timestamp_seconds":1785903820,"priority":1,"record_length":96,"hex_timestamp":"0000019fd029ace0"} 
[2026-08-05 09:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191300864001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191300864001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:56:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191300864001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":149543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:56:27] local.INFO: GPS data processed {"connection_id":149543,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:56:27] local.INFO: Acknowledgment sent {"connection_id":149543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:56:31] local.INFO: TCP Data received {"connection_id":149543,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:56:31] local.INFO: Processing buffer {"connection_id":149543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:56:31] local.INFO: Packet analysis {"connection_id":149543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:56:31] local.INFO: Extracted packet for processing {"connection_id":149543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191300864001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785903820000,"timestamp_ms":1785903820000,"timestamp_seconds":1785903820,"priority":1,"record_length":96,"hex_timestamp":"0000019fd029ace0"} 
[2026-08-05 09:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191300864001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191300864001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:56:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:56:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191300864001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":149543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:56:31] local.INFO: GPS data processed {"connection_id":149543,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:56:31] local.INFO: Acknowledgment sent {"connection_id":149543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:57:15] local.INFO: TCP Data received {"connection_id":149544,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:57:15] local.INFO: Processing buffer {"connection_id":149544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:57:15] local.INFO: IMEI packet received {"connection_id":149544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":149544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:57:20] local.INFO: TCP Data received {"connection_id":149544,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:57:20] local.INFO: Processing buffer {"connection_id":149544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:57:20] local.INFO: IMEI packet received {"connection_id":149544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":149544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:57:21] local.INFO: TCP Data received {"connection_id":149544,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:57:21] local.INFO: Processing buffer {"connection_id":149544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:57:21] local.INFO: Packet analysis {"connection_id":149544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:57:21] local.INFO: Extracted packet for processing {"connection_id":149544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:57:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09: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-08-05 09:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191300864001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785903820000,"timestamp_ms":1785903820000,"timestamp_seconds":1785903820,"priority":1,"record_length":96,"hex_timestamp":"0000019fd029ace0"} 
[2026-08-05 09:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:57: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-08-05 09: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-08-05 09:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191300864001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191300864001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:57:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191300864001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":149544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:57:21] local.INFO: GPS data processed {"connection_id":149544,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:57:21] local.INFO: Acknowledgment sent {"connection_id":149544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:57:53] local.INFO: TCP Data received {"connection_id":149544,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:57:53] local.INFO: Processing buffer {"connection_id":149544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:57:53] local.INFO: Packet analysis {"connection_id":149544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:57:53] local.INFO: Extracted packet for processing {"connection_id":149544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:57:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191300864001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785903820000,"timestamp_ms":1785903820000,"timestamp_seconds":1785903820,"priority":1,"record_length":96,"hex_timestamp":"0000019fd029ace0"} 
[2026-08-05 09:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191300864001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191300864001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:57:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:57:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191300864001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":149544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:57:53] local.INFO: GPS data processed {"connection_id":149544,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:57:53] local.INFO: Acknowledgment sent {"connection_id":149544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:58:15] local.INFO: TCP Data received {"connection_id":148322,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:58:15] local.INFO: Processing buffer {"connection_id":148322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:58:15] local.INFO: IMEI packet received {"connection_id":148322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":148322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:58:20] local.INFO: TCP Data received {"connection_id":148322,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:58:20] local.INFO: Processing buffer {"connection_id":148322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:58:20] local.INFO: IMEI packet received {"connection_id":148322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":148322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:58:21] local.INFO: TCP Data received {"connection_id":148322,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:58:21] local.INFO: Processing buffer {"connection_id":148322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:58:21] local.INFO: Packet analysis {"connection_id":148322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:58:21] local.INFO: Extracted packet for processing {"connection_id":148322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191300864001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785903820000,"timestamp_ms":1785903820000,"timestamp_seconds":1785903820,"priority":1,"record_length":96,"hex_timestamp":"0000019fd029ace0"} 
[2026-08-05 09:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:58: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-08-05 09:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191300864001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191300864001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:58:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191300864001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":148322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:58:21] local.INFO: GPS data processed {"connection_id":148322,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:58:21] local.INFO: Acknowledgment sent {"connection_id":148322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:58:53] local.INFO: TCP Data received {"connection_id":148322,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:58:53] local.INFO: Processing buffer {"connection_id":148322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd029ace0012d7fac4005afe3200000011c27..."} 
[2026-08-05 09:58:53] local.INFO: Packet analysis {"connection_id":148322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:58:53] local.INFO: Extracted packet for processing {"connection_id":148322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd029"} 
[2026-08-05 09:58:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191300864001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785903820000,"timestamp_ms":1785903820000,"timestamp_seconds":1785903820,"priority":1,"record_length":96,"hex_timestamp":"0000019fd029ace0"} 
[2026-08-05 09:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191300864001,"66":25778,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191300864001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:58:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:58:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191300864001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":148322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:58:53] local.INFO: GPS data processed {"connection_id":148322,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:58:53] local.INFO: Acknowledgment sent {"connection_id":148322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:59:15] local.INFO: TCP Data received {"connection_id":149545,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:59:15] local.INFO: Processing buffer {"connection_id":149545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:59:15] local.INFO: IMEI packet received {"connection_id":149545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 09:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":149545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 09:59:19] local.INFO: TCP Data received {"connection_id":149545,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:59:19] local.INFO: Processing buffer {"connection_id":149545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 09:59:19] local.INFO: IMEI packet received {"connection_id":149545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 09:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":149545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 09:59:20] local.INFO: TCP Data received {"connection_id":149545,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 09:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 09:59:20] local.INFO: Processing buffer {"connection_id":149545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 09:59:20] local.INFO: Packet analysis {"connection_id":149545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 09:59:20] local.INFO: Extracted packet for processing {"connection_id":149545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 09:59:20] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191377920001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785904121000,"timestamp_ms":1785904121000,"timestamp_seconds":1785904121,"priority":1,"record_length":96,"hex_timestamp":"0000019fd02e44a8"} 
[2026-08-05 09:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09:59: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":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191377920001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191377920001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:59:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:59:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191377920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":149545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:59:20] local.INFO: GPS data processed {"connection_id":149545,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:59:20] local.INFO: Acknowledgment sent {"connection_id":149545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 09:59:51] local.INFO: TCP Data received {"connection_id":149545,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 09:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 09:59:51] local.INFO: Processing buffer {"connection_id":149545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 09:59:51] local.INFO: Packet analysis {"connection_id":149545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 09:59:51] local.INFO: Extracted packet for processing {"connection_id":149545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 09:59:51] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 09:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 09:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191377920001,"note":"Value kept but may cause issues"} 
[2026-08-05 09:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 09:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 09:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 09:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785904121000,"timestamp_ms":1785904121000,"timestamp_seconds":1785904121,"priority":1,"record_length":96,"hex_timestamp":"0000019fd02e44a8"} 
[2026-08-05 09:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 09:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 09:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 09:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 09:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 09:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 09:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 09:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 09:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 09:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 09:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 09:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191377920001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 09:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 09:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 09:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191377920001,"description":"Unknown IO ID 0"} 
[2026-08-05 09:59:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 09:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 09:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 09:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 09:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191377920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 09:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":149545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 09:59:51] local.INFO: GPS data processed {"connection_id":149545,"processed":1,"errors":0,"total":1} 
[2026-08-05 09:59:51] local.INFO: Acknowledgment sent {"connection_id":149545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:00:20] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:00:20] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:00:20] local.INFO: IMEI packet received {"connection_id":148545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":148545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:00:25] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:00:25] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:00:25] local.INFO: IMEI packet received {"connection_id":148545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":148545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:00:26] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:00:26] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:00:26] local.INFO: Packet analysis {"connection_id":148545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:00:26] local.INFO: Extracted packet for processing {"connection_id":148545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191377920001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785904121000,"timestamp_ms":1785904121000,"timestamp_seconds":1785904121,"priority":1,"record_length":96,"hex_timestamp":"0000019fd02e44a8"} 
[2026-08-05 10:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 10:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191377920001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191377920001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:00:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191377920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":148545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:00:26] local.INFO: GPS data processed {"connection_id":148545,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:00:26] local.INFO: Acknowledgment sent {"connection_id":148545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:00:30] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:00:30] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:00:30] local.INFO: Packet analysis {"connection_id":148545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:00:30] local.INFO: Extracted packet for processing {"connection_id":148545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191377920001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785904121000,"timestamp_ms":1785904121000,"timestamp_seconds":1785904121,"priority":1,"record_length":96,"hex_timestamp":"0000019fd02e44a8"} 
[2026-08-05 10:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 10:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191377920001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191377920001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:00:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191377920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":148545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:00:30] local.INFO: GPS data processed {"connection_id":148545,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:00:30] local.INFO: Acknowledgment sent {"connection_id":148545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:01:15] local.INFO: TCP Data received {"connection_id":150961,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:01:15] local.INFO: Processing buffer {"connection_id":150961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:01:15] local.INFO: IMEI packet received {"connection_id":150961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":150961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:01:20] local.INFO: TCP Data received {"connection_id":150961,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:01:20] local.INFO: Processing buffer {"connection_id":150961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:01:20] local.INFO: IMEI packet received {"connection_id":150961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":150961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:01:21] local.INFO: TCP Data received {"connection_id":150961,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:01:21] local.INFO: Processing buffer {"connection_id":150961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:01:21] local.INFO: Packet analysis {"connection_id":150961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:01:21] local.INFO: Extracted packet for processing {"connection_id":150961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191377920001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785904121000,"timestamp_ms":1785904121000,"timestamp_seconds":1785904121,"priority":1,"record_length":96,"hex_timestamp":"0000019fd02e44a8"} 
[2026-08-05 10:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:01: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-08-05 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 10:01: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-08-05 10:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191377920001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191377920001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:01:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191377920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":150961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:01:21] local.INFO: GPS data processed {"connection_id":150961,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:01:21] local.INFO: Acknowledgment sent {"connection_id":150961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:01:52] local.INFO: TCP Data received {"connection_id":150961,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:01:52] local.INFO: Processing buffer {"connection_id":150961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:01:52] local.INFO: Packet analysis {"connection_id":150961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:01:52] local.INFO: Extracted packet for processing {"connection_id":150961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:01:52] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191377920001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785904121000,"timestamp_ms":1785904121000,"timestamp_seconds":1785904121,"priority":1,"record_length":96,"hex_timestamp":"0000019fd02e44a8"} 
[2026-08-05 10:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 10:01: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-08-05 10:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191377920001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191377920001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:01:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191377920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":150961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:01:52] local.INFO: GPS data processed {"connection_id":150961,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:01:52] local.INFO: Acknowledgment sent {"connection_id":150961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:02:15] local.INFO: TCP Data received {"connection_id":148323,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:02:15] local.INFO: Processing buffer {"connection_id":148323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:02:15] local.INFO: IMEI packet received {"connection_id":148323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":148323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:02:20] local.INFO: TCP Data received {"connection_id":148323,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:02:20] local.INFO: Processing buffer {"connection_id":148323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:02:20] local.INFO: IMEI packet received {"connection_id":148323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":148323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:02:21] local.INFO: TCP Data received {"connection_id":148323,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:02:21] local.INFO: Processing buffer {"connection_id":148323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:02:21] local.INFO: Packet analysis {"connection_id":148323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:02:21] local.INFO: Extracted packet for processing {"connection_id":148323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:02:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191377920001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785904121000,"timestamp_ms":1785904121000,"timestamp_seconds":1785904121,"priority":1,"record_length":96,"hex_timestamp":"0000019fd02e44a8"} 
[2026-08-05 10:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:02: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-08-05 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 10:02: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-08-05 10: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-08-05 10:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191377920001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191377920001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:02:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191377920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":148323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:02:21] local.INFO: GPS data processed {"connection_id":148323,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:02:21] local.INFO: Acknowledgment sent {"connection_id":148323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:02:52] local.INFO: TCP Data received {"connection_id":148323,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:02:52] local.INFO: Processing buffer {"connection_id":148323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:02:52] local.INFO: Packet analysis {"connection_id":148323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:02:52] local.INFO: Extracted packet for processing {"connection_id":148323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:02:52] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191377920001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785904121000,"timestamp_ms":1785904121000,"timestamp_seconds":1785904121,"priority":1,"record_length":96,"hex_timestamp":"0000019fd02e44a8"} 
[2026-08-05 10:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 10:02: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-08-05 10:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191377920001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191377920001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:02:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191377920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":148323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:02:52] local.INFO: GPS data processed {"connection_id":148323,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:02:52] local.INFO: Acknowledgment sent {"connection_id":148323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:03:15] local.INFO: TCP Data received {"connection_id":149546,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:03:15] local.INFO: Processing buffer {"connection_id":149546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:03:15] local.INFO: IMEI packet received {"connection_id":149546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":149546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:03:20] local.INFO: TCP Data received {"connection_id":149546,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:03:20] local.INFO: Processing buffer {"connection_id":149546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:03:20] local.INFO: IMEI packet received {"connection_id":149546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":149546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:03:22] local.INFO: TCP Data received {"connection_id":149546,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:03:22] local.INFO: Processing buffer {"connection_id":149546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:03:22] local.INFO: Packet analysis {"connection_id":149546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:03:22] local.INFO: Extracted packet for processing {"connection_id":149546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191377920001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785904121000,"timestamp_ms":1785904121000,"timestamp_seconds":1785904121,"priority":1,"record_length":96,"hex_timestamp":"0000019fd02e44a8"} 
[2026-08-05 10:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 10:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191377920001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191377920001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:03:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:03:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191377920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":149546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:03:22] local.INFO: GPS data processed {"connection_id":149546,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:03:22] local.INFO: Acknowledgment sent {"connection_id":149546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:03:53] local.INFO: TCP Data received {"connection_id":149546,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:03:53] local.INFO: Processing buffer {"connection_id":149546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd02e44a8012d7fac4005afe3200000011c22..."} 
[2026-08-05 10:03:53] local.INFO: Packet analysis {"connection_id":149546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:03:53] local.INFO: Extracted packet for processing {"connection_id":149546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd02e"} 
[2026-08-05 10:03:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191377920001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785904121000,"timestamp_ms":1785904121000,"timestamp_seconds":1785904121,"priority":1,"record_length":96,"hex_timestamp":"0000019fd02e44a8"} 
[2026-08-05 10:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 10:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191377920001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191377920001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:03:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:03:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191377920001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":149546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:03:53] local.INFO: GPS data processed {"connection_id":149546,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:03:53] local.INFO: Acknowledgment sent {"connection_id":149546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:04:17] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:04:17] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:04:17] local.INFO: IMEI packet received {"connection_id":148546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":148546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:04:20] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:04:20] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:04:20] local.INFO: IMEI packet received {"connection_id":148546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":148546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:04:21] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:04:21] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:04:21] local.INFO: Packet analysis {"connection_id":148546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:04:21] local.INFO: Extracted packet for processing {"connection_id":148546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:04:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191454976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785904422000,"timestamp_ms":1785904422000,"timestamp_seconds":1785904422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd032dc70"} 
[2026-08-05 10:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:04: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-08-05 10:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:04: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-08-05 10:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191454976001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191454976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:04:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191454976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":148546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:04:21] local.INFO: GPS data processed {"connection_id":148546,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:04:21] local.INFO: Acknowledgment sent {"connection_id":148546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:04:56] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:04:56] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:04:56] local.INFO: Packet analysis {"connection_id":148546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:04:56] local.INFO: Extracted packet for processing {"connection_id":148546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191454976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785904422000,"timestamp_ms":1785904422000,"timestamp_seconds":1785904422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd032dc70"} 
[2026-08-05 10:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191454976001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191454976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:04:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191454976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":148546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:04:56] local.INFO: GPS data processed {"connection_id":148546,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:04:56] local.INFO: Acknowledgment sent {"connection_id":148546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:05:15] local.INFO: TCP Data received {"connection_id":150962,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:05:15] local.INFO: Processing buffer {"connection_id":150962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:05:15] local.INFO: IMEI packet received {"connection_id":150962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":150962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:05:20] local.INFO: TCP Data received {"connection_id":150962,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:05:20] local.INFO: Processing buffer {"connection_id":150962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:05:20] local.INFO: IMEI packet received {"connection_id":150962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":150962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:05:21] local.INFO: TCP Data received {"connection_id":150962,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:05:21] local.INFO: Processing buffer {"connection_id":150962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:05:21] local.INFO: Packet analysis {"connection_id":150962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:05:21] local.INFO: Extracted packet for processing {"connection_id":150962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:05:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191454976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785904422000,"timestamp_ms":1785904422000,"timestamp_seconds":1785904422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd032dc70"} 
[2026-08-05 10:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:05: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-08-05 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:05: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-08-05 10: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-08-05 10:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191454976001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191454976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:05:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191454976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":150962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:05:21] local.INFO: GPS data processed {"connection_id":150962,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:05:21] local.INFO: Acknowledgment sent {"connection_id":150962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:05:53] local.INFO: TCP Data received {"connection_id":150962,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:05:53] local.INFO: Processing buffer {"connection_id":150962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:05:53] local.INFO: Packet analysis {"connection_id":150962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:05:53] local.INFO: Extracted packet for processing {"connection_id":150962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:05:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191454976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785904422000,"timestamp_ms":1785904422000,"timestamp_seconds":1785904422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd032dc70"} 
[2026-08-05 10:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191454976001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191454976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:05:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:05:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191454976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":150962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:05:53] local.INFO: GPS data processed {"connection_id":150962,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:05:53] local.INFO: Acknowledgment sent {"connection_id":150962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:06:15] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:06:15] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:06:15] local.INFO: IMEI packet received {"connection_id":148547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":148547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:06:20] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:06:20] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:06:20] local.INFO: IMEI packet received {"connection_id":148547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":148547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:06:21] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:06:21] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:06:21] local.INFO: Packet analysis {"connection_id":148547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:06:21] local.INFO: Extracted packet for processing {"connection_id":148547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191454976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785904422000,"timestamp_ms":1785904422000,"timestamp_seconds":1785904422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd032dc70"} 
[2026-08-05 10:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:06: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-08-05 10:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:06: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-08-05 10:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191454976001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191454976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:06:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191454976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":148547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:06:21] local.INFO: GPS data processed {"connection_id":148547,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:06:21] local.INFO: Acknowledgment sent {"connection_id":148547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:06:53] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:06:53] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:06:53] local.INFO: Packet analysis {"connection_id":148547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:06:53] local.INFO: Extracted packet for processing {"connection_id":148547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:06:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191454976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785904422000,"timestamp_ms":1785904422000,"timestamp_seconds":1785904422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd032dc70"} 
[2026-08-05 10:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191454976001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191454976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:06:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:06:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191454976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":148547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:06:53] local.INFO: GPS data processed {"connection_id":148547,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:06:53] local.INFO: Acknowledgment sent {"connection_id":148547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:07:10] local.INFO: TCP Data received {"connection_id":149547,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:07:10] local.INFO: Processing buffer {"connection_id":149547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:07:10] local.INFO: IMEI packet received {"connection_id":149547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":149547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:07:15] local.INFO: TCP Data received {"connection_id":149548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:07:15] local.INFO: Processing buffer {"connection_id":149548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:07:15] local.INFO: IMEI packet received {"connection_id":149548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":149548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:07:15] local.INFO: TCP Data received {"connection_id":149547,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:07:15] local.INFO: Processing buffer {"connection_id":149547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:07:15] local.INFO: IMEI packet received {"connection_id":149547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":149547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:07:17] local.INFO: TCP Data received {"connection_id":149547,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd034ebc8012d18d7800720fed00037014815..."} 
[2026-08-05 10:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd034ebc8012d18d7800720fed00037014815..."} 
[2026-08-05 10:07:17] local.INFO: Processing buffer {"connection_id":149547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd034ebc8012d18d7800720fed00037014815..."} 
[2026-08-05 10:07:17] local.INFO: Packet analysis {"connection_id":149547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd034"} 
[2026-08-05 10:07:17] local.INFO: Extracted packet for processing {"connection_id":149547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd034"} 
[2026-08-05 10:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119602896,"longitude_deg":75.6602752,"latitude_deg":11.9602896,"altitude":55,"angle":328,"satellites":21,"speed":33,"hex_longitude":"2d18d780","hex_latitude":"0720fed0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191565824001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10535739460681728,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791940101102071808,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785904557000,"timestamp_ms":1785904557000,"timestamp_seconds":1785904557,"priority":1,"record_length":96,"hex_timestamp":"0000019fd034ebc8"} 
[2026-08-05 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-08-05 10:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-05 10:07: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-08-05 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-08-05 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-08-05 10:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191565824001,"66":14494,"121":206,"28":31744,"24":33,"16":10535739460681728,"45":1791940101102071808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-05 10:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191565824001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:07:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-05 10:07:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-05 10:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10535739460681728,"km_value":10535739460681.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791940101102071808,"description":"Unknown IO ID 45"} 
[2026-08-05 10:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191565824001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1791940101102071808}} 
[2026-08-05 10:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":149547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:07:17] local.INFO: GPS data processed {"connection_id":149547,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:07:17] local.INFO: Acknowledgment sent {"connection_id":149547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:07:20] local.INFO: TCP Data received {"connection_id":149548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:07:20] local.INFO: Processing buffer {"connection_id":149548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:07:20] local.INFO: IMEI packet received {"connection_id":149548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":149548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:07:21] local.INFO: TCP Data received {"connection_id":149547,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd034f398012d18d4c0072104f80037015315..."} 
[2026-08-05 10:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd034f398012d18d4c0072104f80037015315..."} 
[2026-08-05 10:07:21] local.INFO: Processing buffer {"connection_id":149547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd034f398012d18d4c0072104f80037015315..."} 
[2026-08-05 10:07:21] local.INFO: Packet analysis {"connection_id":149547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd034"} 
[2026-08-05 10:07:21] local.INFO: Extracted packet for processing {"connection_id":149547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd034"} 
[2026-08-05 10:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119604472,"longitude_deg":75.6602048,"latitude_deg":11.9604472,"altitude":55,"angle":339,"satellites":21,"speed":33,"hex_longitude":"2d18d4c0","hex_latitude":"072104f8","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191566592001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10535825360027648,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009758208,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785904559000,"timestamp_ms":1785904559000,"timestamp_seconds":1785904559,"priority":1,"record_length":96,"hex_timestamp":"0000019fd034f398"} 
[2026-08-05 10:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-05 10:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191566592001,"66":14494,"121":206,"28":31744,"24":33,"16":10535825360027648,"45":1790040145009758208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-05 10:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191566592001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:07:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-05 10:07:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-05 10:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10535825360027648,"km_value":10535825360027.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009758208,"description":"Unknown IO ID 45"} 
[2026-08-05 10:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191566592001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1790040145009758208}} 
[2026-08-05 10:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":149547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:07:21] local.INFO: GPS data processed {"connection_id":149547,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:07:21] local.INFO: Acknowledgment sent {"connection_id":149547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:07:21] local.INFO: TCP Data received {"connection_id":149548,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:07:21] local.INFO: Processing buffer {"connection_id":149548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:07:21] local.INFO: Packet analysis {"connection_id":149548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:07:21] local.INFO: Extracted packet for processing {"connection_id":149548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:07:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191454976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785904422000,"timestamp_ms":1785904422000,"timestamp_seconds":1785904422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd032dc70"} 
[2026-08-05 10:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:07: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-08-05 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:07: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-08-05 10: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-08-05 10:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191454976001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191454976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:07:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191454976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":149548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:07:21] local.INFO: GPS data processed {"connection_id":149548,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:07:21] local.INFO: Acknowledgment sent {"connection_id":149548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:07:52] local.INFO: TCP Data received {"connection_id":149547,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03662c8012d18a740072171280049011514..."} 
[2026-08-05 10:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03662c8012d18a740072171280049011514..."} 
[2026-08-05 10:07:52] local.INFO: Processing buffer {"connection_id":149547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03662c8012d18a740072171280049011514..."} 
[2026-08-05 10:07:52] local.INFO: Packet analysis {"connection_id":149547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd036"} 
[2026-08-05 10:07:52] local.INFO: Extracted packet for processing {"connection_id":149547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd036"} 
[2026-08-05 10:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756590400,"raw_latitude":119632168,"longitude_deg":75.65904,"latitude_deg":11.9632168,"altitude":73,"angle":277,"satellites":20,"speed":6,"hex_longitude":"2d18a740","hex_latitude":"07217128","is_valid_coordinates":true} 
[2026-08-05 10:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191590400001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10537384433156096,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740452367597568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785904653000,"timestamp_ms":1785904653000,"timestamp_seconds":1785904653,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03662c8"} 
[2026-08-05 10:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-05 10:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191590400001,"66":14591,"106":206,"83":41984,"24":6,"16":10537384433156096,"45":1776740452367597568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 10:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191590400001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:07:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 10:07:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10537384433156096,"km_value":10537384433156.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740452367597568,"description":"Unknown IO ID 45"} 
[2026-08-05 10:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191590400001,"power":14591,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1776740452367597568}} 
[2026-08-05 10:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":149547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:07:52] local.INFO: GPS data processed {"connection_id":149547,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:07:52] local.INFO: Acknowledgment sent {"connection_id":149547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:07:52] local.INFO: TCP Data received {"connection_id":149548,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:07:52] local.INFO: Processing buffer {"connection_id":149548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:07:52] local.INFO: Packet analysis {"connection_id":149548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:07:52] local.INFO: Extracted packet for processing {"connection_id":149548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:07:52] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191454976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785904422000,"timestamp_ms":1785904422000,"timestamp_seconds":1785904422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd032dc70"} 
[2026-08-05 10:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191454976001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191454976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:07:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191454976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":149548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:07:52] local.INFO: GPS data processed {"connection_id":149548,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:07:52] local.INFO: Acknowledgment sent {"connection_id":149548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:08:15] local.INFO: TCP Data received {"connection_id":149549,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:08:15] local.INFO: Processing buffer {"connection_id":149549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:08:15] local.INFO: IMEI packet received {"connection_id":149549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":149549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:08:20] local.INFO: TCP Data received {"connection_id":149549,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:08:20] local.INFO: Processing buffer {"connection_id":149549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:08:20] local.INFO: IMEI packet received {"connection_id":149549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":149549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:08:21] local.INFO: TCP Data received {"connection_id":149549,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:08:21] local.INFO: Processing buffer {"connection_id":149549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:08:21] local.INFO: Packet analysis {"connection_id":149549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:08:21] local.INFO: Extracted packet for processing {"connection_id":149549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:08:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191454976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785904422000,"timestamp_ms":1785904422000,"timestamp_seconds":1785904422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd032dc70"} 
[2026-08-05 10:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:08: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-08-05 10: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-08-05 10:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191454976001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191454976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:08:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191454976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":149549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:08:21] local.INFO: GPS data processed {"connection_id":149549,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:08:21] local.INFO: Acknowledgment sent {"connection_id":149549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:08:23] local.INFO: TCP Data received {"connection_id":149547,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03689d8012d189640072177d00041012214..."} 
[2026-08-05 10:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03689d8012d189640072177d00041012214..."} 
[2026-08-05 10:08:23] local.INFO: Processing buffer {"connection_id":149547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03689d8012d189640072177d00041012214..."} 
[2026-08-05 10:08:23] local.INFO: Packet analysis {"connection_id":149547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd036"} 
[2026-08-05 10:08:23] local.INFO: Extracted packet for processing {"connection_id":149547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd036"} 
[2026-08-05 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119633872,"longitude_deg":75.6586048,"latitude_deg":11.9633872,"altitude":65,"angle":290,"satellites":20,"speed":29,"hex_longitude":"2d189640","hex_latitude":"072177d0","is_valid_coordinates":true} 
[2026-08-05 10:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191591168001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10537607771455488,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776458977390962688,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785904663000,"timestamp_ms":1785904663000,"timestamp_seconds":1785904663,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03689d8"} 
[2026-08-05 10:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 10:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2773,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191591168001,"66":14483,"106":206,"83":41984,"24":29,"16":10537607771455488,"45":1776458977390962688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 10:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191591168001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:08:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 10:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10537607771455488,"km_value":10537607771455.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776458977390962688,"description":"Unknown IO ID 45"} 
[2026-08-05 10:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191591168001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1776458977390962688}} 
[2026-08-05 10:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":149547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:08:23] local.INFO: GPS data processed {"connection_id":149547,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:08:23] local.INFO: Acknowledgment sent {"connection_id":149547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:08:53] local.INFO: TCP Data received {"connection_id":149549,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:08:53] local.INFO: Processing buffer {"connection_id":149549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd032dc70012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:08:53] local.INFO: Packet analysis {"connection_id":149549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:08:53] local.INFO: Extracted packet for processing {"connection_id":149549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd032"} 
[2026-08-05 10:08:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191454976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785904422000,"timestamp_ms":1785904422000,"timestamp_seconds":1785904422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd032dc70"} 
[2026-08-05 10:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191454976001,"66":25756,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191454976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:08:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:08:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191454976001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":149549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:08:53] local.INFO: GPS data processed {"connection_id":149549,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:08:53] local.INFO: Acknowledgment sent {"connection_id":149549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:08:54] local.INFO: TCP Data received {"connection_id":149547,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd036a148012d18834007217f40003c011715..."} 
[2026-08-05 10:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd036a148012d18834007217f40003c011715..."} 
[2026-08-05 10:08:54] local.INFO: Processing buffer {"connection_id":149547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd036a148012d18834007217f40003c011715..."} 
[2026-08-05 10:08:54] local.INFO: Packet analysis {"connection_id":149547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd036"} 
[2026-08-05 10:08:54] local.INFO: Extracted packet for processing {"connection_id":149547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd036"} 
[2026-08-05 10:08:54] local.INFO: GPS Element Parsed {"raw_longitude":756581184,"raw_latitude":119635776,"longitude_deg":75.6581184,"latitude_deg":11.9635776,"altitude":60,"angle":279,"satellites":21,"speed":38,"hex_longitude":"2d188340","hex_latitude":"07217f40","is_valid_coordinates":true} 
[2026-08-05 10:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191593728001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10537856879558656,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902787317760,"note":"Value kept but may cause issues"} 
[2026-08-05 10:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785904669000,"timestamp_ms":1785904669000,"timestamp_seconds":1785904669,"priority":1,"record_length":96,"hex_timestamp":"0000019fd036a148"} 
[2026-08-05 10:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 10:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191593728001,"66":14483,"106":206,"83":41984,"24":38,"16":10537856879558656,"45":1771673902787317760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 10:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191593728001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:08:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 10:08:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10537856879558656,"km_value":10537856879558.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902787317760,"description":"Unknown IO ID 45"} 
[2026-08-05 10:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191593728001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1771673902787317760}} 
[2026-08-05 10:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":149547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:08:54] local.INFO: GPS data processed {"connection_id":149547,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:08:54] local.INFO: Acknowledgment sent {"connection_id":149547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:09:20] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:09:20] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:09:20] local.INFO: IMEI packet received {"connection_id":148548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":148548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:09:21] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:09:21] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:09:21] local.INFO: IMEI packet received {"connection_id":148548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":148548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:09:22] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:09:22] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:09:22] local.INFO: Packet analysis {"connection_id":148548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:09:22] local.INFO: Extracted packet for processing {"connection_id":148548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:09:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:09:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":148548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:09:22] local.INFO: GPS data processed {"connection_id":148548,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:09:22] local.INFO: Acknowledgment sent {"connection_id":148548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:09:25] local.INFO: TCP Data received {"connection_id":149547,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03808a8012d180f00072192f8003d00fd16..."} 
[2026-08-05 10:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03808a8012d180f00072192f8003d00fd16..."} 
[2026-08-05 10:09:25] local.INFO: Processing buffer {"connection_id":149547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03808a8012d180f00072192f8003d00fd16..."} 
[2026-08-05 10:09:25] local.INFO: Packet analysis {"connection_id":149547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd038"} 
[2026-08-05 10:09:25] local.INFO: Extracted packet for processing {"connection_id":149547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd038"} 
[2026-08-05 10:09:25] local.INFO: GPS Element Parsed {"raw_longitude":756551424,"raw_latitude":119640824,"longitude_deg":75.6551424,"latitude_deg":11.9640824,"altitude":61,"angle":253,"satellites":22,"speed":3,"hex_longitude":"2d180f00","hex_latitude":"072192f8","is_valid_coordinates":true} 
[2026-08-05 10:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191618560001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10539536211771392,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733815518421522432,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785904761000,"timestamp_ms":1785904761000,"timestamp_seconds":1785904761,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03808a8"} 
[2026-08-05 10:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-05 10:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191618560001,"66":14233,"105":206,"83":41984,"24":3,"16":10539536211771392,"45":1733815518421522432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191618560001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:09:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10539536211771392,"km_value":10539536211771.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733815518421522432,"description":"Unknown IO ID 45"} 
[2026-08-05 10:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191618560001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1733815518421522432}} 
[2026-08-05 10:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":149547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:09:25] local.INFO: GPS data processed {"connection_id":149547,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:09:25] local.INFO: Acknowledgment sent {"connection_id":149547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:09:26] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:09:26] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:09:26] local.INFO: Packet analysis {"connection_id":148548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:09:26] local.INFO: Extracted packet for processing {"connection_id":148548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:09:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":148548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:09:26] local.INFO: GPS data processed {"connection_id":148548,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:09:26] local.INFO: Acknowledgment sent {"connection_id":148548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:09:55] local.INFO: TCP Data received {"connection_id":149547,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0380c90012d180ec0072192e8003d010b16..."} 
[2026-08-05 10:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0380c90012d180ec0072192e8003d010b16..."} 
[2026-08-05 10:09:55] local.INFO: Processing buffer {"connection_id":149547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0380c90012d180ec0072192e8003d010b16..."} 
[2026-08-05 10:09:55] local.INFO: Packet analysis {"connection_id":149547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd038"} 
[2026-08-05 10:09:55] local.INFO: Extracted packet for processing {"connection_id":149547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd038"} 
[2026-08-05 10:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756551360,"raw_latitude":119640808,"longitude_deg":75.655136,"latitude_deg":11.9640808,"altitude":61,"angle":267,"satellites":22,"speed":4,"hex_longitude":"2d180ec0","hex_latitude":"072192e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191618816001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10539540506738688,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733604412188981248,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785904762000,"timestamp_ms":1785904762000,"timestamp_seconds":1785904762,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0380c90"} 
[2026-08-05 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-08-05 10:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-05 10:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 10:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191618816001,"66":14189,"105":206,"83":41984,"24":4,"16":10539540506738688,"45":1733604412188981248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191618816001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:09:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10539540506738688,"km_value":10539540506738.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733604412188981248,"description":"Unknown IO ID 45"} 
[2026-08-05 10:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191618816001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1733604412188981248}} 
[2026-08-05 10:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":149547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:09:56] local.INFO: GPS data processed {"connection_id":149547,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:09:56] local.INFO: Acknowledgment sent {"connection_id":149547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:09:57] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:09:57] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:09:57] local.INFO: Packet analysis {"connection_id":148548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:09:57] local.INFO: Extracted packet for processing {"connection_id":148548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:09:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":148548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:09:57] local.INFO: GPS data processed {"connection_id":148548,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:09:57] local.INFO: Acknowledgment sent {"connection_id":148548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:10:15] local.INFO: TCP Data received {"connection_id":148324,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:10:15] local.INFO: Processing buffer {"connection_id":148324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:10:15] local.INFO: IMEI packet received {"connection_id":148324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":148324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:10:20] local.INFO: TCP Data received {"connection_id":148324,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:10:20] local.INFO: Processing buffer {"connection_id":148324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:10:20] local.INFO: IMEI packet received {"connection_id":148324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":148324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:10:21] local.INFO: TCP Data received {"connection_id":148324,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:10:21] local.INFO: Processing buffer {"connection_id":148324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:10:21] local.INFO: Packet analysis {"connection_id":148324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:10:21] local.INFO: Extracted packet for processing {"connection_id":148324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:10:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:10: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-08-05 10: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-08-05 10: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-08-05 10:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:10:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":148324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:10:21] local.INFO: GPS data processed {"connection_id":148324,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:10:21] local.INFO: Acknowledgment sent {"connection_id":148324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:10:40] local.INFO: TCP Data received {"connection_id":148549,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:10:40] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:10:40] local.INFO: IMEI packet received {"connection_id":148549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":148549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:10:45] local.INFO: TCP Data received {"connection_id":148549,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:10:45] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:10:45] local.INFO: IMEI packet received {"connection_id":148549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":148549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:10:46] local.INFO: TCP Data received {"connection_id":148549,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd038f308012d1823000721b4800045002118..."} 
[2026-08-05 10:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd038f308012d1823000721b4800045002118..."} 
[2026-08-05 10:10:46] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd038f308012d1823000721b4800045002118..."} 
[2026-08-05 10:10:46] local.INFO: Packet analysis {"connection_id":148549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd038"} 
[2026-08-05 10:10:46] local.INFO: Extracted packet for processing {"connection_id":148549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd038"} 
[2026-08-05 10:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649408,"longitude_deg":75.6556544,"latitude_deg":11.9649408,"altitude":69,"angle":33,"satellites":24,"speed":10,"hex_longitude":"2d182300","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-08-05 10:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191628800001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10540055902814208,"note":"Value kept but may cause issues"} 
[2026-08-05 10:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735433999538495488,"note":"Value kept but may cause issues"} 
[2026-08-05 10:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785904821000,"timestamp_ms":1785904821000,"timestamp_seconds":1785904821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd038f308"} 
[2026-08-05 10:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":125,"data_length":795,"current_offset":136} 
[2026-08-05 10:10: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-08-05 10:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191628800001,"66":14080,"107":206,"83":41984,"24":10,"16":10540055902814208,"45":1735433999538495488},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191628800001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:10:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10540055902814208,"km_value":10540055902814.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735433999538495488,"description":"Unknown IO ID 45"} 
[2026-08-05 10:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191628800001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1735433999538495488}} 
[2026-08-05 10:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":148549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:10:46] local.INFO: GPS data processed {"connection_id":148549,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:10:46] local.INFO: Acknowledgment sent {"connection_id":148549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:10:53] local.INFO: TCP Data received {"connection_id":148324,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:10:53] local.INFO: Processing buffer {"connection_id":148324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:10:53] local.INFO: Packet analysis {"connection_id":148324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:10:53] local.INFO: Extracted packet for processing {"connection_id":148324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:10:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":148324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:10:53] local.INFO: GPS data processed {"connection_id":148324,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:10:53] local.INFO: Acknowledgment sent {"connection_id":148324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:11:17] local.INFO: TCP Data received {"connection_id":148549,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd038f6f0012d1823800721b5700045001318..."} 
[2026-08-05 10:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd038f6f0012d1823800721b5700045001318..."} 
[2026-08-05 10:11:17] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd038f6f0012d1823800721b5700045001318..."} 
[2026-08-05 10:11:17] local.INFO: Packet analysis {"connection_id":148549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd038"} 
[2026-08-05 10:11:17] local.INFO: Extracted packet for processing {"connection_id":148549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd038"} 
[2026-08-05 10:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649648,"longitude_deg":75.6556672,"latitude_deg":11.9649648,"altitude":69,"angle":19,"satellites":24,"speed":10,"hex_longitude":"2d182380","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191634176001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10540068787716096,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725391872,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785904822000,"timestamp_ms":1785904822000,"timestamp_seconds":1785904822,"priority":1,"record_length":96,"hex_timestamp":"0000019fd038f6f0"} 
[2026-08-05 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-08-05 10:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 10:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3493361160,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2526019645,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-05 10:11:17] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2147950998,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288386922,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:17] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,114,159,161,45,128,160,62,10,66,113,133,64,152,61,125,192,1,240,212,227,208,33,4,205,3,118,13,112,239,55,2,37,7],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-05 10:11:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972010375580614656,"timestamp_seconds":4972010375580615.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 10:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191634176001,"66":14080,"107":206,"83":41984,"24":10,"16":10540068787716096,"45":1739233911725391872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191634176001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:11:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10540068787716096,"km_value":10540068787716.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725391872,"description":"Unknown IO ID 45"} 
[2026-08-05 10:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191634176001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1739233911725391872}} 
[2026-08-05 10:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":148549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:11:17] local.INFO: GPS data processed {"connection_id":148549,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:11:17] local.INFO: Acknowledgment sent {"connection_id":148549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:11:27] local.INFO: TCP Data received {"connection_id":150963,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:11:27] local.INFO: Processing buffer {"connection_id":150963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:11:27] local.INFO: IMEI packet received {"connection_id":150963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":150963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:11:28] local.INFO: TCP Data received {"connection_id":150963,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:11:28] local.INFO: Processing buffer {"connection_id":150963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:11:28] local.INFO: IMEI packet received {"connection_id":150963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":150963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:11:29] local.INFO: TCP Data received {"connection_id":150963,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:11:29] local.INFO: Processing buffer {"connection_id":150963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:11:29] local.INFO: Packet analysis {"connection_id":150963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:11:29] local.INFO: Extracted packet for processing {"connection_id":150963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":150963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":150963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":150963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:11:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":150963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:11:29] local.INFO: GPS data processed {"connection_id":150963,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:11:29] local.INFO: Acknowledgment sent {"connection_id":150963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:11:30] local.INFO: TCP Data received {"connection_id":150963,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:11:30] local.INFO: Processing buffer {"connection_id":150963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:11:30] local.INFO: Packet analysis {"connection_id":150963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:11:30] local.INFO: Extracted packet for processing {"connection_id":150963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":150963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":150963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":150963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:11:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":150963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:11:30] local.INFO: GPS data processed {"connection_id":150963,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:11:30] local.INFO: Acknowledgment sent {"connection_id":150963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:11:40] local.INFO: TCP Data received {"connection_id":148325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:11:40] local.INFO: Processing buffer {"connection_id":148325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:11:40] local.INFO: IMEI packet received {"connection_id":148325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":148325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:11:45] local.INFO: TCP Data received {"connection_id":148325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:11:45] local.INFO: Processing buffer {"connection_id":148325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:11:45] local.INFO: IMEI packet received {"connection_id":148325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":148325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:11:46] local.INFO: TCP Data received {"connection_id":148325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd038fad8012d1823800721b6580045016118..."} 
[2026-08-05 10:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd038fad8012d1823800721b6580045016118..."} 
[2026-08-05 10:11:46] local.INFO: Processing buffer {"connection_id":148325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd038fad8012d1823800721b6580045016118..."} 
[2026-08-05 10:11:46] local.INFO: Packet analysis {"connection_id":148325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd038"} 
[2026-08-05 10:11:46] local.INFO: Extracted packet for processing {"connection_id":148325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd038"} 
[2026-08-05 10:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649880,"longitude_deg":75.6556672,"latitude_deg":11.964988,"altitude":69,"angle":353,"satellites":24,"speed":9,"hex_longitude":"2d182380","hex_latitude":"0721b658","is_valid_coordinates":true} 
[2026-08-05 10:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191634432001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10540081672617984,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213808640,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785904823000,"timestamp_ms":1785904823000,"timestamp_seconds":1785904823,"priority":1,"record_length":96,"hex_timestamp":"0000019fd038fad8"} 
[2026-08-05 10:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 10:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3493361160,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2532835389,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-05 10:11:46] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288386922,"note":"Value kept but may cause issues"} 
[2026-08-05 10:11:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,114,159,243,45,180,69,10,66,161,128,160,62,113,133,64,1,240,92,227,208,33,4,205,6,121,14,144,239,55,2,37,7,61],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-05 10:11:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4971994982417825792,"timestamp_seconds":4971994982417826.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 10:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191634432001,"66":14374,"107":206,"83":41984,"24":9,"16":10540081672617984,"45":1739374649213808640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191634432001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:11:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10540081672617984,"km_value":10540081672617.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213808640,"description":"Unknown IO ID 45"} 
[2026-08-05 10:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191634432001,"power":14374,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1739374649213808640}} 
[2026-08-05 10:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":148325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:11:46] local.INFO: GPS data processed {"connection_id":148325,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:11:46] local.INFO: Acknowledgment sent {"connection_id":148325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:12:15] local.INFO: TCP Data received {"connection_id":149550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:12:15] local.INFO: Processing buffer {"connection_id":149550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:12:15] local.INFO: IMEI packet received {"connection_id":149550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":149550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:12:17] local.INFO: TCP Data received {"connection_id":148325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03902a8012d1823000721b7600045014c18..."} 
[2026-08-05 10:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03902a8012d1823000721b7600045014c18..."} 
[2026-08-05 10:12:17] local.INFO: Processing buffer {"connection_id":148325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03902a8012d1823000721b7600045014c18..."} 
[2026-08-05 10:12:17] local.INFO: Packet analysis {"connection_id":148325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd039"} 
[2026-08-05 10:12:17] local.INFO: Extracted packet for processing {"connection_id":148325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd039"} 
[2026-08-05 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650144,"longitude_deg":75.6556544,"latitude_deg":11.9650144,"altitude":69,"angle":332,"satellites":24,"speed":3,"hex_longitude":"2d182300","hex_latitude":"0721b760","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191634688001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10540094557519872,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213868032,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785904825000,"timestamp_ms":1785904825000,"timestamp_seconds":1785904825,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03902a8"} 
[2026-08-05 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-08-05 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 10:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 10:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191634688001,"66":14374,"107":206,"83":41984,"24":3,"16":10540094557519872,"45":1739374649213868032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191634688001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:12:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10540094557519872,"km_value":10540094557519.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213868032,"description":"Unknown IO ID 45"} 
[2026-08-05 10:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191634688001,"power":14374,"unknown_107":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739374649213868032}} 
[2026-08-05 10:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":148325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:12:17] local.INFO: GPS data processed {"connection_id":148325,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:12:17] local.INFO: Acknowledgment sent {"connection_id":148325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:12:20] local.INFO: TCP Data received {"connection_id":149550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:12:20] local.INFO: Processing buffer {"connection_id":149550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:12:20] local.INFO: IMEI packet received {"connection_id":149550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":149550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:12:22] local.INFO: TCP Data received {"connection_id":149550,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:12:22] local.INFO: Processing buffer {"connection_id":149550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:12:22] local.INFO: Packet analysis {"connection_id":149550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:12:22] local.INFO: Extracted packet for processing {"connection_id":149550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:12:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:12:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":149550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:12:22] local.INFO: GPS data processed {"connection_id":149550,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:12:22] local.INFO: Acknowledgment sent {"connection_id":149550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:12:40] local.INFO: TCP Data received {"connection_id":149551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:12:40] local.INFO: Processing buffer {"connection_id":149551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:12:40] local.INFO: IMEI packet received {"connection_id":149551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":149551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:12:45] local.INFO: TCP Data received {"connection_id":149551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:12:45] local.INFO: Processing buffer {"connection_id":149551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:12:45] local.INFO: IMEI packet received {"connection_id":149551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":149551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:12:46] local.INFO: TCP Data received {"connection_id":149551,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03950c8012d1823800721b6d00046014c18..."} 
[2026-08-05 10:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03950c8012d1823800721b6d00046014c18..."} 
[2026-08-05 10:12:46] local.INFO: Processing buffer {"connection_id":149551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03950c8012d1823800721b6d00046014c18..."} 
[2026-08-05 10:12:46] local.INFO: Packet analysis {"connection_id":149551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd039"} 
[2026-08-05 10:12:46] local.INFO: Extracted packet for processing {"connection_id":149551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd039"} 
[2026-08-05 10:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650000,"longitude_deg":75.6556672,"latitude_deg":11.965,"altitude":70,"angle":332,"satellites":24,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b6d0","is_valid_coordinates":true} 
[2026-08-05 10:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191635200001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10540141802160128,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725580288,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785904845000,"timestamp_ms":1785904845000,"timestamp_seconds":1785904845,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03950c8"} 
[2026-08-05 10:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 10:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191635200001,"66":14515,"105":206,"83":41984,"24":0,"16":10540141802160128,"45":1739233911725580288},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191635200001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:12:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10540141802160128,"km_value":10540141802160.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725580288,"description":"Unknown IO ID 45"} 
[2026-08-05 10:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191635200001,"power":14515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725580288}} 
[2026-08-05 10:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":149551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:12:46] local.INFO: GPS data processed {"connection_id":149551,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:12:46] local.INFO: Acknowledgment sent {"connection_id":149551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:12:59] local.INFO: TCP Data received {"connection_id":149550,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:12:59] local.INFO: Processing buffer {"connection_id":149550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:12:59] local.INFO: Packet analysis {"connection_id":149550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:12:59] local.INFO: Extracted packet for processing {"connection_id":149550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:12:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":149550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:12:59] local.INFO: GPS data processed {"connection_id":149550,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:12:59] local.INFO: Acknowledgment sent {"connection_id":149550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:13:17] local.INFO: TCP Data received {"connection_id":149551,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03aeaf0012d1824400721b8000047014c1c..."} 
[2026-08-05 10:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03aeaf0012d1824400721b8000047014c1c..."} 
[2026-08-05 10:13:17] local.INFO: Processing buffer {"connection_id":149551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03aeaf0012d1824400721b8000047014c1c..."} 
[2026-08-05 10:13:17] local.INFO: Packet analysis {"connection_id":149551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03a"} 
[2026-08-05 10:13:17] local.INFO: Extracted packet for processing {"connection_id":149551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03a"} 
[2026-08-05 10:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650304,"longitude_deg":75.6556864,"latitude_deg":11.9650304,"altitude":71,"angle":332,"satellites":28,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b800","is_valid_coordinates":true} 
[2026-08-05 10:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191661824001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10540158982029312,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446509568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785904950000,"timestamp_ms":1785904950000,"timestamp_seconds":1785904950,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03aeaf0"} 
[2026-08-05 10:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 10:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191661824001,"66":12504,"105":206,"83":41984,"24":0,"16":10540158982029312,"45":1739585755446509568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191661824001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:13:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10540158982029312,"km_value":10540158982029.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446509568,"description":"Unknown IO ID 45"} 
[2026-08-05 10:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191661824001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446509568}} 
[2026-08-05 10:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":149551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:13:17] local.INFO: GPS data processed {"connection_id":149551,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:13:17] local.INFO: Acknowledgment sent {"connection_id":149551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:13:20] local.INFO: TCP Data received {"connection_id":149552,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:13:20] local.INFO: Processing buffer {"connection_id":149552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:13:20] local.INFO: IMEI packet received {"connection_id":149552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":149552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:13:25] local.INFO: TCP Data received {"connection_id":149552,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:13:25] local.INFO: Processing buffer {"connection_id":149552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:13:25] local.INFO: IMEI packet received {"connection_id":149552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":149552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:13:26] local.INFO: TCP Data received {"connection_id":149552,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:13:26] local.INFO: Processing buffer {"connection_id":149552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:13:26] local.INFO: Packet analysis {"connection_id":149552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:13:26] local.INFO: Extracted packet for processing {"connection_id":149552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:13:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":149552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:13:26] local.INFO: GPS data processed {"connection_id":149552,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:13:26] local.INFO: Acknowledgment sent {"connection_id":149552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:13:45] local.INFO: TCP Data received {"connection_id":150964,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:13:45] local.INFO: Processing buffer {"connection_id":150964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:13:45] local.INFO: IMEI packet received {"connection_id":150964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":150964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:13:50] local.INFO: TCP Data received {"connection_id":150964,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:13:50] local.INFO: Processing buffer {"connection_id":150964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:13:50] local.INFO: IMEI packet received {"connection_id":150964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":150964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:13:51] local.INFO: TCP Data received {"connection_id":150964,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03b3cf8012d1824400721b8000047014c1c..."} 
[2026-08-05 10:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03b3cf8012d1824400721b8000047014c1c..."} 
[2026-08-05 10:13:51] local.INFO: Processing buffer {"connection_id":150964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03b3cf8012d1824400721b8000047014c1c..."} 
[2026-08-05 10:13:51] local.INFO: Packet analysis {"connection_id":150964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03b"} 
[2026-08-05 10:13:51] local.INFO: Extracted packet for processing {"connection_id":150964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03b"} 
[2026-08-05 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650304,"longitude_deg":75.6556864,"latitude_deg":11.9650304,"altitude":71,"angle":332,"satellites":28,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b800","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191667200001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10540158982029312,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446509568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785904971000,"timestamp_ms":1785904971000,"timestamp_seconds":1785904971,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03b3cf8"} 
[2026-08-05 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-08-05 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 10:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 10:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191667200001,"66":12526,"105":206,"83":41984,"24":0,"16":10540158982029312,"45":1739585755446509568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191667200001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:13:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10540158982029312,"km_value":10540158982029.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446509568,"description":"Unknown IO ID 45"} 
[2026-08-05 10:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191667200001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446509568}} 
[2026-08-05 10:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":150964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:13:51] local.INFO: GPS data processed {"connection_id":150964,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:13:51] local.INFO: Acknowledgment sent {"connection_id":150964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:13:55] local.INFO: TCP Data received {"connection_id":150964,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03b8f00012d1824400721b8000047014c1c..."} 
[2026-08-05 10:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03b8f00012d1824400721b8000047014c1c..."} 
[2026-08-05 10:13:55] local.INFO: Processing buffer {"connection_id":150964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03b8f00012d1824400721b8000047014c1c..."} 
[2026-08-05 10:13:55] local.INFO: Packet analysis {"connection_id":150964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03b"} 
[2026-08-05 10:13:55] local.INFO: Extracted packet for processing {"connection_id":150964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03b"} 
[2026-08-05 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650304,"longitude_deg":75.6556864,"latitude_deg":11.9650304,"altitude":71,"angle":332,"satellites":28,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b800","is_valid_coordinates":true} 
[2026-08-05 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191672576001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10540158982029312,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446509568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785904992000,"timestamp_ms":1785904992000,"timestamp_seconds":1785904992,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03b8f00"} 
[2026-08-05 10:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 10:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191672576001,"66":12526,"105":206,"83":41984,"24":0,"16":10540158982029312,"45":1739585755446509568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191672576001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:13:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:13:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10540158982029312,"km_value":10540158982029.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446509568,"description":"Unknown IO ID 45"} 
[2026-08-05 10:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191672576001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446509568}} 
[2026-08-05 10:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":150964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:13:55] local.INFO: GPS data processed {"connection_id":150964,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:13:55] local.INFO: Acknowledgment sent {"connection_id":150964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:13:57] local.INFO: TCP Data received {"connection_id":149552,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:13:57] local.INFO: Processing buffer {"connection_id":149552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:13:57] local.INFO: Packet analysis {"connection_id":149552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:13:57] local.INFO: Extracted packet for processing {"connection_id":149552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:13:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":149552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:13:57] local.INFO: GPS data processed {"connection_id":149552,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:13:57] local.INFO: Acknowledgment sent {"connection_id":149552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:14:15] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:14:15] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:14:15] local.INFO: IMEI packet received {"connection_id":148550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":148550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:14:20] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:14:20] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:14:20] local.INFO: IMEI packet received {"connection_id":148550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":148550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:14:22] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:14:22] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0377438012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:14:22] local.INFO: Packet analysis {"connection_id":148550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:14:22] local.INFO: Extracted packet for processing {"connection_id":148550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd037"} 
[2026-08-05 10:14:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191532032001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785904723000,"timestamp_ms":1785904723000,"timestamp_seconds":1785904723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0377438"} 
[2026-08-05 10:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 10:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191532032001,"66":25745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191532032001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:14:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:14:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191532032001,"power":25745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":148550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:14:22] local.INFO: GPS data processed {"connection_id":148550,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:14:22] local.INFO: Acknowledgment sent {"connection_id":148550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:14:40] local.INFO: TCP Data received {"connection_id":149553,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:14:40] local.INFO: Processing buffer {"connection_id":149553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:14:40] local.INFO: IMEI packet received {"connection_id":149553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":149553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:14:45] local.INFO: TCP Data received {"connection_id":149553,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:14:45] local.INFO: Processing buffer {"connection_id":149553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:14:45] local.INFO: IMEI packet received {"connection_id":149553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":149553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:14:46] local.INFO: TCP Data received {"connection_id":149553,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03be108012d1824400721b8000047014c1e..."} 
[2026-08-05 10:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03be108012d1824400721b8000047014c1e..."} 
[2026-08-05 10:14:46] local.INFO: Processing buffer {"connection_id":149553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03be108012d1824400721b8000047014c1e..."} 
[2026-08-05 10:14:46] local.INFO: Packet analysis {"connection_id":149553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03b"} 
[2026-08-05 10:14:46] local.INFO: Extracted packet for processing {"connection_id":149553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03b"} 
[2026-08-05 10:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650304,"longitude_deg":75.6556864,"latitude_deg":11.9650304,"altitude":71,"angle":332,"satellites":30,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b800","is_valid_coordinates":true} 
[2026-08-05 10:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191677952001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10540158982029312,"note":"Value kept but may cause issues"} 
[2026-08-05 10:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446509568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785905013000,"timestamp_ms":1785905013000,"timestamp_seconds":1785905013,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03be108"} 
[2026-08-05 10:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 10:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191677952001,"66":12504,"105":206,"83":41984,"24":0,"16":10540158982029312,"45":1739585755446509568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191677952001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:14:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10540158982029312,"km_value":10540158982029.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446509568,"description":"Unknown IO ID 45"} 
[2026-08-05 10:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191677952001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446509568}} 
[2026-08-05 10:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":149553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:14:46] local.INFO: GPS data processed {"connection_id":149553,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:14:46] local.INFO: Acknowledgment sent {"connection_id":149553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:14:53] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:14:53] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:14:53] local.INFO: Packet analysis {"connection_id":148550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:14:53] local.INFO: Extracted packet for processing {"connection_id":148550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:14:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191609088001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785905024000,"timestamp_ms":1785905024000,"timestamp_seconds":1785905024,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03c0c00"} 
[2026-08-05 10:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 10:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191609088001,"66":25712,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191609088001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:14:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:14:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191609088001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":148550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:14:53] local.INFO: GPS data processed {"connection_id":148550,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:14:53] local.INFO: Acknowledgment sent {"connection_id":148550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:15:15] local.INFO: TCP Data received {"connection_id":150965,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:15:15] local.INFO: Processing buffer {"connection_id":150965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:15:15] local.INFO: IMEI packet received {"connection_id":150965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":150965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:15:17] local.INFO: TCP Data received {"connection_id":149553,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03d3cb0012d17f60007218558004401361f..."} 
[2026-08-05 10:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03d3cb0012d17f60007218558004401361f..."} 
[2026-08-05 10:15:17] local.INFO: Processing buffer {"connection_id":149553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03d3cb0012d17f60007218558004401361f..."} 
[2026-08-05 10:15:17] local.INFO: Packet analysis {"connection_id":149553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03d"} 
[2026-08-05 10:15:17] local.INFO: Extracted packet for processing {"connection_id":149553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03d"} 
[2026-08-05 10:15:17] local.INFO: GPS Element Parsed {"raw_longitude":756545024,"raw_latitude":119637336,"longitude_deg":75.6545024,"latitude_deg":11.9637336,"altitude":68,"angle":310,"satellites":31,"speed":11,"hex_longitude":"2d17f600","hex_latitude":"07218558","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191705344001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10541090989932544,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727060118979461120,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785905102000,"timestamp_ms":1785905102000,"timestamp_seconds":1785905102,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03d3cb0"} 
[2026-08-05 10:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 10:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191705344001,"66":14135,"107":206,"83":41984,"24":11,"16":10541090989932544,"45":1727060118979461120},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191705344001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:15:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:15:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10541090989932544,"km_value":10541090989932.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727060118979461120,"description":"Unknown IO ID 45"} 
[2026-08-05 10:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191705344001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1727060118979461120}} 
[2026-08-05 10:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":149553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:15:17] local.INFO: GPS data processed {"connection_id":149553,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:15:17] local.INFO: Acknowledgment sent {"connection_id":149553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:15:20] local.INFO: TCP Data received {"connection_id":150965,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:15:20] local.INFO: Processing buffer {"connection_id":150965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:15:20] local.INFO: IMEI packet received {"connection_id":150965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":150965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:15:21] local.INFO: TCP Data received {"connection_id":150965,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:15:21] local.INFO: Processing buffer {"connection_id":150965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:15:21] local.INFO: Packet analysis {"connection_id":150965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:15:21] local.INFO: Extracted packet for processing {"connection_id":150965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191609088001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785905024000,"timestamp_ms":1785905024000,"timestamp_seconds":1785905024,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03c0c00"} 
[2026-08-05 10:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:15: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-08-05 10: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 10:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191609088001,"66":25712,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191609088001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:15:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191609088001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":150965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:15:21] local.INFO: GPS data processed {"connection_id":150965,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:15:21] local.INFO: Acknowledgment sent {"connection_id":150965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:15:44] local.INFO: TCP Data received {"connection_id":149554,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:15:44] local.INFO: Processing buffer {"connection_id":149554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:15:44] local.INFO: IMEI packet received {"connection_id":149554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":149554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:15:44] local.INFO: TCP Data received {"connection_id":149554,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:15:44] local.INFO: Processing buffer {"connection_id":149554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:15:44] local.INFO: IMEI packet received {"connection_id":149554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":149554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:15:45] local.INFO: TCP Data received {"connection_id":149554,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03d4480012d17f400072186a8004401281f..."} 
[2026-08-05 10:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03d4480012d17f400072186a8004401281f..."} 
[2026-08-05 10:15:45] local.INFO: Processing buffer {"connection_id":149554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03d4480012d17f400072186a8004401281f..."} 
[2026-08-05 10:15:45] local.INFO: Packet analysis {"connection_id":149554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03d"} 
[2026-08-05 10:15:45] local.INFO: Extracted packet for processing {"connection_id":149554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03d"} 
[2026-08-05 10:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756544512,"raw_latitude":119637672,"longitude_deg":75.6544512,"latitude_deg":11.9637672,"altitude":68,"angle":296,"satellites":31,"speed":13,"hex_longitude":"2d17f400","hex_latitude":"072186a8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191706112001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10541121054703616,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726567537770321920,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15: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-08-05 10:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785905104000,"timestamp_ms":1785905104000,"timestamp_seconds":1785905104,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03d4480"} 
[2026-08-05 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-08-05 10:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-05 10:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 10:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191706112001,"66":14113,"107":206,"83":41984,"24":13,"16":10541121054703616,"45":1726567537770321920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191706112001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:15:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10541121054703616,"km_value":10541121054703.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726567537770321920,"description":"Unknown IO ID 45"} 
[2026-08-05 10:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191706112001,"power":14113,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1726567537770321920}} 
[2026-08-05 10:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":149554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:15:45] local.INFO: GPS data processed {"connection_id":149554,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:15:45] local.INFO: Acknowledgment sent {"connection_id":149554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:15:49] local.INFO: TCP Data received {"connection_id":149554,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03d5fd8012d17eb40072189980045011c1f..."} 
[2026-08-05 10:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03d5fd8012d17eb40072189980045011c1f..."} 
[2026-08-05 10:15:49] local.INFO: Processing buffer {"connection_id":149554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03d5fd8012d17eb40072189980045011c1f..."} 
[2026-08-05 10:15:49] local.INFO: Packet analysis {"connection_id":149554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03d"} 
[2026-08-05 10:15:49] local.INFO: Extracted packet for processing {"connection_id":149554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03d"} 
[2026-08-05 10:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756542272,"raw_latitude":119638424,"longitude_deg":75.6542272,"latitude_deg":11.9638424,"altitude":69,"angle":284,"satellites":31,"speed":10,"hex_longitude":"2d17eb40","hex_latitude":"07218998","is_valid_coordinates":true} 
[2026-08-05 10:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191706624001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10541232723853312,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726004587816986624,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785905111000,"timestamp_ms":1785905111000,"timestamp_seconds":1785905111,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03d5fd8"} 
[2026-08-05 10:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-05 10:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191706624001,"66":14211,"107":206,"83":41984,"24":10,"16":10541232723853312,"45":1726004587816986624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191706624001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:15:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10541232723853312,"km_value":10541232723853.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726004587816986624,"description":"Unknown IO ID 45"} 
[2026-08-05 10:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191706624001,"power":14211,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1726004587816986624}} 
[2026-08-05 10:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":149554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:15:49] local.INFO: GPS data processed {"connection_id":149554,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:15:49] local.INFO: Acknowledgment sent {"connection_id":149554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:15:53] local.INFO: TCP Data received {"connection_id":150965,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:15:53] local.INFO: Processing buffer {"connection_id":150965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:15:53] local.INFO: Packet analysis {"connection_id":150965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:15:53] local.INFO: Extracted packet for processing {"connection_id":150965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:15:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191609088001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785905024000,"timestamp_ms":1785905024000,"timestamp_seconds":1785905024,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03c0c00"} 
[2026-08-05 10:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 10:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191609088001,"66":25712,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191609088001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:15:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:15:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191609088001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":150965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:15:53] local.INFO: GPS data processed {"connection_id":150965,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:15:53] local.INFO: Acknowledgment sent {"connection_id":150965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:16:15] local.INFO: TCP Data received {"connection_id":148326,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:16:15] local.INFO: Processing buffer {"connection_id":148326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:16:15] local.INFO: IMEI packet received {"connection_id":148326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":148326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:16:20] local.INFO: TCP Data received {"connection_id":148326,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:16:20] local.INFO: Processing buffer {"connection_id":148326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:16:20] local.INFO: IMEI packet received {"connection_id":148326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":148326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:16:21] local.INFO: TCP Data received {"connection_id":149554,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03e2ee0012d17acc00721a160004501511f..."} 
[2026-08-05 10:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03e2ee0012d17acc00721a160004501511f..."} 
[2026-08-05 10:16:21] local.INFO: Processing buffer {"connection_id":149554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03e2ee0012d17acc00721a160004501511f..."} 
[2026-08-05 10:16:21] local.INFO: Packet analysis {"connection_id":149554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03e"} 
[2026-08-05 10:16:21] local.INFO: Extracted packet for processing {"connection_id":149554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03e"} 
[2026-08-05 10:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756526272,"raw_latitude":119644512,"longitude_deg":75.6526272,"latitude_deg":11.9644512,"altitude":69,"angle":337,"satellites":31,"speed":10,"hex_longitude":"2d17acc0","hex_latitude":"0721a160","is_valid_coordinates":true} 
[2026-08-05 10:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191721728001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10542100307247104,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706090233216399360,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785905164000,"timestamp_ms":1785905164000,"timestamp_seconds":1785905164,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03e2ee0"} 
[2026-08-05 10:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 10:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191721728001,"66":14428,"107":206,"83":41984,"24":10,"16":10542100307247104,"45":1706090233216399360},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191721728001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:16:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:16:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10542100307247104,"km_value":10542100307247.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706090233216399360,"description":"Unknown IO ID 45"} 
[2026-08-05 10:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191721728001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1706090233216399360}} 
[2026-08-05 10:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":149554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:16:21] local.INFO: GPS data processed {"connection_id":149554,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:16:21] local.INFO: Acknowledgment sent {"connection_id":149554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:16:22] local.INFO: TCP Data received {"connection_id":148326,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:16:22] local.INFO: Processing buffer {"connection_id":148326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:16:22] local.INFO: Packet analysis {"connection_id":148326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:16:22] local.INFO: Extracted packet for processing {"connection_id":148326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:16:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191609088001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785905024000,"timestamp_ms":1785905024000,"timestamp_seconds":1785905024,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03c0c00"} 
[2026-08-05 10:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 10:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191609088001,"66":25712,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191609088001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:16:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:16:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191609088001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":148326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:16:22] local.INFO: GPS data processed {"connection_id":148326,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:16:22] local.INFO: Acknowledgment sent {"connection_id":148326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:16:43] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:16:43] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:16:43] local.INFO: IMEI packet received {"connection_id":148551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":148551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:16:43] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:16:43] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:16:43] local.INFO: IMEI packet received {"connection_id":148551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":148551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:16:45] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:16:45] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:16:45] local.INFO: IMEI packet received {"connection_id":148551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":148551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:16:46] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03e32c8012d17acc00721a278004501641f..."} 
[2026-08-05 10:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03e32c8012d17acc00721a278004501641f..."} 
[2026-08-05 10:16:46] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03e32c8012d17acc00721a278004501641f..."} 
[2026-08-05 10:16:46] local.INFO: Packet analysis {"connection_id":148551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03e"} 
[2026-08-05 10:16:46] local.INFO: Extracted packet for processing {"connection_id":148551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03e"} 
[2026-08-05 10:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756526272,"raw_latitude":119644792,"longitude_deg":75.6526272,"latitude_deg":11.9644792,"altitude":69,"angle":356,"satellites":31,"speed":12,"hex_longitude":"2d17acc0","hex_latitude":"0721a278","is_valid_coordinates":true} 
[2026-08-05 10:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191721984001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10542113192148992,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705949495728103424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785905165000,"timestamp_ms":1785905165000,"timestamp_seconds":1785905165,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03e32c8"} 
[2026-08-05 10:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 10: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-08-05 10: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-08-05 10:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191721984001,"66":14428,"107":206,"83":41984,"24":12,"16":10542113192148992,"45":1705949495728103424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191721984001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:16:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10542113192148992,"km_value":10542113192148.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705949495728103424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191721984001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1705949495728103424}} 
[2026-08-05 10:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":148551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:16:46] local.INFO: GPS data processed {"connection_id":148551,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:16:46] local.INFO: Acknowledgment sent {"connection_id":148551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:16:50] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03e36b0012d17acc00721a3c8004500081f..."} 
[2026-08-05 10:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03e36b0012d17acc00721a3c8004500081f..."} 
[2026-08-05 10:16:50] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03e36b0012d17acc00721a3c8004500081f..."} 
[2026-08-05 10:16:50] local.INFO: Packet analysis {"connection_id":148551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03e"} 
[2026-08-05 10:16:50] local.INFO: Extracted packet for processing {"connection_id":148551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03e"} 
[2026-08-05 10:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756526272,"raw_latitude":119645128,"longitude_deg":75.6526272,"latitude_deg":11.9645128,"altitude":69,"angle":8,"satellites":31,"speed":13,"hex_longitude":"2d17acc0","hex_latitude":"0721a3c8","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191722240001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10542130372018176,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705949495728175104,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785905166000,"timestamp_ms":1785905166000,"timestamp_seconds":1785905166,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03e36b0"} 
[2026-08-05 10:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 10:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191722240001,"66":14428,"107":206,"83":41984,"24":13,"16":10542130372018176,"45":1705949495728175104},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191722240001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:16:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10542130372018176,"km_value":10542130372018.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705949495728175104,"description":"Unknown IO ID 45"} 
[2026-08-05 10:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191722240001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1705949495728175104}} 
[2026-08-05 10:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":148551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:16:51] local.INFO: GPS data processed {"connection_id":148551,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:16:51] local.INFO: Acknowledgment sent {"connection_id":148551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:16:53] local.INFO: TCP Data received {"connection_id":148326,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:16:53] local.INFO: Processing buffer {"connection_id":148326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:16:53] local.INFO: Packet analysis {"connection_id":148326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:16:53] local.INFO: Extracted packet for processing {"connection_id":148326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:16:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191609088001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785905024000,"timestamp_ms":1785905024000,"timestamp_seconds":1785905024,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03c0c00"} 
[2026-08-05 10:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 10:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191609088001,"66":25712,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191609088001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:16:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:16:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191609088001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":148326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:16:53] local.INFO: GPS data processed {"connection_id":148326,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:16:53] local.INFO: Acknowledgment sent {"connection_id":148326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:17:15] local.INFO: TCP Data received {"connection_id":148327,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:17:15] local.INFO: Processing buffer {"connection_id":148327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:17:15] local.INFO: IMEI packet received {"connection_id":148327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":148327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:17:20] local.INFO: TCP Data received {"connection_id":148327,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:17:20] local.INFO: Processing buffer {"connection_id":148327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:17:20] local.INFO: IMEI packet received {"connection_id":148327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":148327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:17:22] local.INFO: TCP Data received {"connection_id":148327,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:17:22] local.INFO: Processing buffer {"connection_id":148327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:17:22] local.INFO: Packet analysis {"connection_id":148327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:17:22] local.INFO: Extracted packet for processing {"connection_id":148327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:17:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191609088001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785905024000,"timestamp_ms":1785905024000,"timestamp_seconds":1785905024,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03c0c00"} 
[2026-08-05 10:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 10:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191609088001,"66":25712,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191609088001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:17:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:17:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191609088001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":148327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:17:22] local.INFO: GPS data processed {"connection_id":148327,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:17:22] local.INFO: Acknowledgment sent {"connection_id":148327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:17:22] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03e5dc0012d17ad400721b7600046015f1f..."} 
[2026-08-05 10:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03e5dc0012d17ad400721b7600046015f1f..."} 
[2026-08-05 10:17:22] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03e5dc0012d17ad400721b7600046015f1f..."} 
[2026-08-05 10:17:22] local.INFO: Packet analysis {"connection_id":148551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03e"} 
[2026-08-05 10:17:22] local.INFO: Extracted packet for processing {"connection_id":148551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03e"} 
[2026-08-05 10:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756526400,"raw_latitude":119650144,"longitude_deg":75.65264,"latitude_deg":11.9650144,"altitude":70,"angle":351,"satellites":31,"speed":19,"hex_longitude":"2d17ad40","hex_latitude":"0721b760","is_valid_coordinates":true} 
[2026-08-05 10:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191722496001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10542375185154048,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705949495728261120,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785905176000,"timestamp_ms":1785905176000,"timestamp_seconds":1785905176,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03e5dc0"} 
[2026-08-05 10:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 10:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191722496001,"66":14070,"107":206,"83":41984,"24":19,"16":10542375185154048,"45":1705949495728261120},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191722496001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:17:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10542375185154048,"km_value":10542375185154.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705949495728261120,"description":"Unknown IO ID 45"} 
[2026-08-05 10:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191722496001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1705949495728261120}} 
[2026-08-05 10:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":148551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:17:22] local.INFO: GPS data processed {"connection_id":148551,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:17:22] local.INFO: Acknowledgment sent {"connection_id":148551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:17:40] local.INFO: TCP Data received {"connection_id":150966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:17:40] local.INFO: Processing buffer {"connection_id":150966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:17:40] local.INFO: IMEI packet received {"connection_id":150966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":150966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:17:45] local.INFO: TCP Data received {"connection_id":150966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:17:45] local.INFO: Processing buffer {"connection_id":150966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:17:45] local.INFO: IMEI packet received {"connection_id":150966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":150966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:17:46] local.INFO: TCP Data received {"connection_id":150966,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03f6b48012d17ac000721a1f80043007d1f..."} 
[2026-08-05 10:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03f6b48012d17ac000721a1f80043007d1f..."} 
[2026-08-05 10:17:46] local.INFO: Processing buffer {"connection_id":150966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03f6b48012d17ac000721a1f80043007d1f..."} 
[2026-08-05 10:17:46] local.INFO: Packet analysis {"connection_id":150966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03f"} 
[2026-08-05 10:17:46] local.INFO: Extracted packet for processing {"connection_id":150966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03f"} 
[2026-08-05 10:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756526080,"raw_latitude":119644664,"longitude_deg":75.652608,"latitude_deg":11.9644664,"altitude":67,"angle":125,"satellites":31,"speed":7,"hex_longitude":"2d17ac00","hex_latitude":"0721a1f8","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191742464001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10542993660444672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705597652007290880,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785905245000,"timestamp_ms":1785905245000,"timestamp_seconds":1785905245,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03f6b48"} 
[2026-08-05 10:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 10:17: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-08-05 10: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-08-05 10:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191742464001,"66":14428,"107":206,"83":41984,"24":7,"16":10542993660444672,"45":1705597652007290880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191742464001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:17:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10542993660444672,"km_value":10542993660444.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705597652007290880,"description":"Unknown IO ID 45"} 
[2026-08-05 10:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191742464001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1705597652007290880}} 
[2026-08-05 10:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":150966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:17:46] local.INFO: GPS data processed {"connection_id":150966,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:17:46] local.INFO: Acknowledgment sent {"connection_id":150966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:17:53] local.INFO: TCP Data received {"connection_id":148327,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:17:53] local.INFO: Processing buffer {"connection_id":148327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:17:53] local.INFO: Packet analysis {"connection_id":148327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:17:53] local.INFO: Extracted packet for processing {"connection_id":148327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:17:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191609088001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785905024000,"timestamp_ms":1785905024000,"timestamp_seconds":1785905024,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03c0c00"} 
[2026-08-05 10:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 10:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191609088001,"66":25712,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191609088001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:17:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:17:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191609088001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":148327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:17:53] local.INFO: GPS data processed {"connection_id":148327,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:17:53] local.INFO: Acknowledgment sent {"connection_id":148327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:18:17] local.INFO: TCP Data received {"connection_id":150966,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03f6f30012d17ad000721a1980043006f1f..."} 
[2026-08-05 10:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03f6f30012d17ad000721a1980043006f1f..."} 
[2026-08-05 10:18:17] local.INFO: Processing buffer {"connection_id":150966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03f6f30012d17ad000721a1980043006f1f..."} 
[2026-08-05 10:18:17] local.INFO: Packet analysis {"connection_id":150966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03f"} 
[2026-08-05 10:18:17] local.INFO: Extracted packet for processing {"connection_id":150966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03f"} 
[2026-08-05 10:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756526336,"raw_latitude":119644568,"longitude_deg":75.6526336,"latitude_deg":11.9644568,"altitude":67,"angle":111,"satellites":31,"speed":8,"hex_longitude":"2d17ad00","hex_latitude":"0721a198","is_valid_coordinates":true} 
[2026-08-05 10:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191742720001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10543006545346560,"note":"Value kept but may cause issues"} 
[2026-08-05 10:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705738389495609344,"note":"Value kept but may cause issues"} 
[2026-08-05 10:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785905246000,"timestamp_ms":1785905246000,"timestamp_seconds":1785905246,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03f6f30"} 
[2026-08-05 10:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 10:18: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-08-05 10:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191742720001,"66":14428,"107":206,"83":41984,"24":8,"16":10543006545346560,"45":1705738389495609344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191742720001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:18:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10543006545346560,"km_value":10543006545346.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705738389495609344,"description":"Unknown IO ID 45"} 
[2026-08-05 10:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191742720001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1705738389495609344}} 
[2026-08-05 10:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":150966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:18:17] local.INFO: GPS data processed {"connection_id":150966,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:18:17] local.INFO: Acknowledgment sent {"connection_id":150966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:18:20] local.INFO: TCP Data received {"connection_id":148328,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:18:20] local.INFO: Processing buffer {"connection_id":148328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:18:20] local.INFO: IMEI packet received {"connection_id":148328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":148328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:18:25] local.INFO: TCP Data received {"connection_id":148328,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:18:25] local.INFO: Processing buffer {"connection_id":148328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:18:25] local.INFO: IMEI packet received {"connection_id":148328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":148328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:18:26] local.INFO: TCP Data received {"connection_id":148328,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:18:26] local.INFO: Processing buffer {"connection_id":148328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:18:26] local.INFO: Packet analysis {"connection_id":148328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:18:26] local.INFO: Extracted packet for processing {"connection_id":148328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191609088001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785905024000,"timestamp_ms":1785905024000,"timestamp_seconds":1785905024,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03c0c00"} 
[2026-08-05 10:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 10:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191609088001,"66":25712,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191609088001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:18:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191609088001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":148328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:18:26] local.INFO: GPS data processed {"connection_id":148328,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:18:26] local.INFO: Acknowledgment sent {"connection_id":148328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:18:39] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:39] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:39] local.INFO: IMEI packet received {"connection_id":148552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":148552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:18:40] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:40] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:40] local.INFO: IMEI packet received {"connection_id":148552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":148552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:18:40] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:40] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:40] local.INFO: IMEI packet received {"connection_id":148552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":148552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:18:41] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:41] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:18:41] local.INFO: IMEI packet received {"connection_id":148552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":148552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:18:58] local.INFO: TCP Data received {"connection_id":148328,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:18:58] local.INFO: Processing buffer {"connection_id":148328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:18:58] local.INFO: Packet analysis {"connection_id":148328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:18:58] local.INFO: Extracted packet for processing {"connection_id":148328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191609088001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785905024000,"timestamp_ms":1785905024000,"timestamp_seconds":1785905024,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03c0c00"} 
[2026-08-05 10:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 10:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191609088001,"66":25712,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191609088001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:18:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191609088001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":148328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:18:58] local.INFO: GPS data processed {"connection_id":148328,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:18:58] local.INFO: Acknowledgment sent {"connection_id":148328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:19:15] local.INFO: TCP Data received {"connection_id":150967,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:19:15] local.INFO: Processing buffer {"connection_id":150967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:19:15] local.INFO: IMEI packet received {"connection_id":150967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":150967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:19:20] local.INFO: TCP Data received {"connection_id":150967,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:19:20] local.INFO: Processing buffer {"connection_id":150967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:19:20] local.INFO: IMEI packet received {"connection_id":150967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":150967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:19:22] local.INFO: TCP Data received {"connection_id":150967,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:19:22] local.INFO: Processing buffer {"connection_id":150967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd03c0c00012d7fac4005afe3200000011c27..."} 
[2026-08-05 10:19:22] local.INFO: Packet analysis {"connection_id":150967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:19:22] local.INFO: Extracted packet for processing {"connection_id":150967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd03c"} 
[2026-08-05 10:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191609088001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785905024000,"timestamp_ms":1785905024000,"timestamp_seconds":1785905024,"priority":1,"record_length":96,"hex_timestamp":"0000019fd03c0c00"} 
[2026-08-05 10:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 10:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191609088001,"66":25712,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191609088001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:19:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:19:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191609088001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":150967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:19:22] local.INFO: GPS data processed {"connection_id":150967,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:19:22] local.INFO: Acknowledgment sent {"connection_id":150967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:19:53] local.INFO: TCP Data received {"connection_id":150967,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:19:53] local.INFO: Processing buffer {"connection_id":150967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:19:53] local.INFO: Packet analysis {"connection_id":150967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd040"} 
[2026-08-05 10:19:53] local.INFO: Extracted packet for processing {"connection_id":150967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd040"} 
[2026-08-05 10:19:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191686144001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785905325000,"timestamp_ms":1785905325000,"timestamp_seconds":1785905325,"priority":1,"record_length":96,"hex_timestamp":"0000019fd040a3c8"} 
[2026-08-05 10:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-05 10:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191686144001,"66":25647,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191686144001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:19:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:19:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191686144001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":150967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:19:53] local.INFO: GPS data processed {"connection_id":150967,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:19:53] local.INFO: Acknowledgment sent {"connection_id":150967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:20:15] local.INFO: TCP Data received {"connection_id":150968,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:20:15] local.INFO: Processing buffer {"connection_id":150968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:20:15] local.INFO: IMEI packet received {"connection_id":150968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":150968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:20:20] local.INFO: TCP Data received {"connection_id":150968,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:20:20] local.INFO: Processing buffer {"connection_id":150968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:20:20] local.INFO: IMEI packet received {"connection_id":150968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":150968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:20:21] local.INFO: TCP Data received {"connection_id":150968,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:20:21] local.INFO: Processing buffer {"connection_id":150968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:20:21] local.INFO: Packet analysis {"connection_id":150968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd040"} 
[2026-08-05 10:20:21] local.INFO: Extracted packet for processing {"connection_id":150968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd040"} 
[2026-08-05 10:20:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191686144001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785905325000,"timestamp_ms":1785905325000,"timestamp_seconds":1785905325,"priority":1,"record_length":96,"hex_timestamp":"0000019fd040a3c8"} 
[2026-08-05 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-08-05 10:20: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-08-05 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":112,"data_length":795,"current_offset":136} 
[2026-08-05 10:20: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-08-05 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-08-05 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-08-05 10:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191686144001,"66":25647,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191686144001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:20:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191686144001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":150968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:20:21] local.INFO: GPS data processed {"connection_id":150968,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:20:21] local.INFO: Acknowledgment sent {"connection_id":150968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:20:53] local.INFO: TCP Data received {"connection_id":150968,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:20:53] local.INFO: Processing buffer {"connection_id":150968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:20:53] local.INFO: Packet analysis {"connection_id":150968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd040"} 
[2026-08-05 10:20:53] local.INFO: Extracted packet for processing {"connection_id":150968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd040"} 
[2026-08-05 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191686144001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785905325000,"timestamp_ms":1785905325000,"timestamp_seconds":1785905325,"priority":1,"record_length":96,"hex_timestamp":"0000019fd040a3c8"} 
[2026-08-05 10:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-05 10:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191686144001,"66":25647,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191686144001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:20:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:20:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191686144001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":150968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:20:53] local.INFO: GPS data processed {"connection_id":150968,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:20:53] local.INFO: Acknowledgment sent {"connection_id":150968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:21:20] local.INFO: TCP Data received {"connection_id":150969,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:21:20] local.INFO: Processing buffer {"connection_id":150969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:21:20] local.INFO: IMEI packet received {"connection_id":150969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":150969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:21:25] local.INFO: TCP Data received {"connection_id":150969,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:21:25] local.INFO: Processing buffer {"connection_id":150969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:21:25] local.INFO: IMEI packet received {"connection_id":150969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":150969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:21:27] local.INFO: TCP Data received {"connection_id":150969,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:21:27] local.INFO: Processing buffer {"connection_id":150969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:21:27] local.INFO: Packet analysis {"connection_id":150969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd040"} 
[2026-08-05 10:21:27] local.INFO: Extracted packet for processing {"connection_id":150969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd040"} 
[2026-08-05 10:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191686144001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785905325000,"timestamp_ms":1785905325000,"timestamp_seconds":1785905325,"priority":1,"record_length":96,"hex_timestamp":"0000019fd040a3c8"} 
[2026-08-05 10:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-05 10:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191686144001,"66":25647,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191686144001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:21:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191686144001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":150969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:21:27] local.INFO: GPS data processed {"connection_id":150969,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:21:27] local.INFO: Acknowledgment sent {"connection_id":150969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:21:30] local.INFO: TCP Data received {"connection_id":150969,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:21:30] local.INFO: Processing buffer {"connection_id":150969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd040a3c8012d7fac4005afe3200000011c29..."} 
[2026-08-05 10:21:30] local.INFO: Packet analysis {"connection_id":150969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd040"} 
[2026-08-05 10:21:30] local.INFO: Extracted packet for processing {"connection_id":150969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd040"} 
[2026-08-05 10:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191686144001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785905325000,"timestamp_ms":1785905325000,"timestamp_seconds":1785905325,"priority":1,"record_length":96,"hex_timestamp":"0000019fd040a3c8"} 
[2026-08-05 10:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-05 10:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":150969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":150969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":150969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191686144001,"66":25647,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191686144001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:21:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191686144001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":150969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:21:30] local.INFO: GPS data processed {"connection_id":150969,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:21:30] local.INFO: Acknowledgment sent {"connection_id":150969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:22:17] local.INFO: TCP Data received {"connection_id":148554,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:22:17] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:22:17] local.INFO: IMEI packet received {"connection_id":148554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":148554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:22:19] local.INFO: TCP Data received {"connection_id":148554,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:22:19] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:22:19] local.INFO: IMEI packet received {"connection_id":148554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":148554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:22:20] local.INFO: TCP Data received {"connection_id":148554,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:22:20] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:22:20] local.INFO: IMEI packet received {"connection_id":148554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":148554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:22:21] local.INFO: TCP Data received {"connection_id":148554,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04343a8012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04343a8012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:22:21] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04343a8012d7fac4005afe3200000011c28..."} 
[2026-08-05 10:22:21] local.INFO: Packet analysis {"connection_id":148554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd043"} 
[2026-08-05 10:22:21] local.INFO: Extracted packet for processing {"connection_id":148554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd043"} 
[2026-08-05 10:22:21] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413024,"longitude_deg":76.3341888,"latitude_deg":9.5413024,"altitude":0,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe320","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191763200001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785905497000,"timestamp_ms":1785905497000,"timestamp_seconds":1785905497,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04343a8"} 
[2026-08-05 10:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:22: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-08-05 10: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":47,"data_length":795,"current_offset":136} 
[2026-08-05 10:22: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-08-05 10: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-08-05 10:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191763200001,"66":25680,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191763200001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:22:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191763200001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":148554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:22:21] local.INFO: GPS data processed {"connection_id":148554,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:22:21] local.INFO: Acknowledgment sent {"connection_id":148554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:22:22] local.INFO: TCP Data received {"connection_id":148554,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0435b18012d7fac8005afe2b00000001729..."} 
[2026-08-05 10:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0435b18012d7fac8005afe2b00000001729..."} 
[2026-08-05 10:22:22] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0435b18012d7fac8005afe2b00000001729..."} 
[2026-08-05 10:22:22] local.INFO: Packet analysis {"connection_id":148554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd043"} 
[2026-08-05 10:22:22] local.INFO: Extracted packet for processing {"connection_id":148554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd043"} 
[2026-08-05 10:22:22] local.INFO: GPS Element Parsed {"raw_longitude":763341952,"raw_latitude":95412912,"longitude_deg":76.3341952,"latitude_deg":9.5412912,"altitude":0,"angle":23,"satellites":41,"speed":0,"hex_longitude":"2d7fac80","hex_latitude":"05afe2b0","is_valid_coordinates":true} 
[2026-08-05 10:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191807232001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980992512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785905503000,"timestamp_ms":1785905503000,"timestamp_seconds":1785905503,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0435b18"} 
[2026-08-05 10:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 10:22: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-08-05 10:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191807232001,"66":25495,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199798531980992512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191807232001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:22:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:22:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980992512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191807232001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980992512}} 
[2026-08-05 10:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":148554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:22:22] local.INFO: GPS data processed {"connection_id":148554,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:22:22] local.INFO: Acknowledgment sent {"connection_id":148554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:22:54] local.INFO: TCP Data received {"connection_id":148554,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd043ad20012d7fac8005afe2b00000001729..."} 
[2026-08-05 10:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd043ad20012d7fac8005afe2b00000001729..."} 
[2026-08-05 10:22:54] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd043ad20012d7fac8005afe2b00000001729..."} 
[2026-08-05 10:22:54] local.INFO: Packet analysis {"connection_id":148554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd043"} 
[2026-08-05 10:22:54] local.INFO: Extracted packet for processing {"connection_id":148554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd043"} 
[2026-08-05 10:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763341952,"raw_latitude":95412912,"longitude_deg":76.3341952,"latitude_deg":9.5412912,"altitude":0,"angle":23,"satellites":41,"speed":0,"hex_longitude":"2d7fac80","hex_latitude":"05afe2b0","is_valid_coordinates":true} 
[2026-08-05 10:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191808768001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868900725141504,"note":"Value kept but may cause issues"} 
[2026-08-05 10:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785905524000,"timestamp_ms":1785905524000,"timestamp_seconds":1785905524,"priority":1,"record_length":96,"hex_timestamp":"0000019fd043ad20"} 
[2026-08-05 10:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 10:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191808768001,"66":27745,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199868900725141504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191808768001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:22:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868900725141504,"description":"Unknown IO ID 45"} 
[2026-08-05 10:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191808768001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199868900725141504}} 
[2026-08-05 10:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":148554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:22:54] local.INFO: GPS data processed {"connection_id":148554,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:22:54] local.INFO: Acknowledgment sent {"connection_id":148554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:23:15] local.INFO: TCP Data received {"connection_id":148330,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:23:15] local.INFO: Processing buffer {"connection_id":148330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:23:15] local.INFO: IMEI packet received {"connection_id":148330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":148330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:23:18] local.INFO: TCP Data received {"connection_id":148330,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:23:18] local.INFO: Processing buffer {"connection_id":148330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:23:18] local.INFO: IMEI packet received {"connection_id":148330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":148330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:23:19] local.INFO: TCP Data received {"connection_id":148330,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd043ff28012d7fac8005afe2b0000000172a..."} 
[2026-08-05 10:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd043ff28012d7fac8005afe2b0000000172a..."} 
[2026-08-05 10:23:19] local.INFO: Processing buffer {"connection_id":148330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd043ff28012d7fac8005afe2b0000000172a..."} 
[2026-08-05 10:23:19] local.INFO: Packet analysis {"connection_id":148330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd043"} 
[2026-08-05 10:23:19] local.INFO: Extracted packet for processing {"connection_id":148330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd043"} 
[2026-08-05 10:23:19] local.INFO: GPS Element Parsed {"raw_longitude":763341952,"raw_latitude":95412912,"longitude_deg":76.3341952,"latitude_deg":9.5412912,"altitude":0,"angle":23,"satellites":42,"speed":0,"hex_longitude":"2d7fac80","hex_latitude":"05afe2b0","is_valid_coordinates":true} 
[2026-08-05 10:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191814144001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467051271094272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868900725141504,"note":"Value kept but may cause issues"} 
[2026-08-05 10:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785905545000,"timestamp_ms":1785905545000,"timestamp_seconds":1785905545,"priority":1,"record_length":96,"hex_timestamp":"0000019fd043ff28"} 
[2026-08-05 10:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 10:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:23: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-08-05 10:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191814144001,"66":27800,"250":206,"85":12544,"24":0,"16":370467051271094272,"45":9199868900725141504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191814144001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:23:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:23:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467051271094272,"km_value":370467051271094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868900725141504,"description":"Unknown IO ID 45"} 
[2026-08-05 10:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191814144001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199868900725141504}} 
[2026-08-05 10:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":148330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:23:19] local.INFO: GPS data processed {"connection_id":148330,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:23:19] local.INFO: Acknowledgment sent {"connection_id":148330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:23:45] local.INFO: TCP Data received {"connection_id":149556,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:23:45] local.INFO: Processing buffer {"connection_id":149556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:23:45] local.INFO: IMEI packet received {"connection_id":149556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":149556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:23:46] local.INFO: TCP Data received {"connection_id":149556,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04464b8012d17578007224ac0006701481f..."} 
[2026-08-05 10:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04464b8012d17578007224ac0006701481f..."} 
[2026-08-05 10:23:46] local.INFO: Processing buffer {"connection_id":149556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04464b8012d17578007224ac0006701481f..."} 
[2026-08-05 10:23:46] local.INFO: Packet analysis {"connection_id":149556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:23:46] local.INFO: Extracted packet for processing {"connection_id":149556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756504448,"raw_latitude":119687872,"longitude_deg":75.6504448,"latitude_deg":11.9687872,"altitude":103,"angle":328,"satellites":31,"speed":10,"hex_longitude":"2d175780","hex_latitude":"07224ac0","is_valid_coordinates":true} 
[2026-08-05 10:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191825920001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10549135463677952,"note":"Value kept but may cause issues"} 
[2026-08-05 10:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1682094491462922240,"note":"Value kept but may cause issues"} 
[2026-08-05 10:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785905571000,"timestamp_ms":1785905571000,"timestamp_seconds":1785905571,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04464b8"} 
[2026-08-05 10:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 10:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191825920001,"66":13993,"105":206,"83":41984,"24":10,"16":10549135463677952,"45":1682094491462922240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191825920001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:23:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10549135463677952,"km_value":10549135463677.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1682094491462922240,"description":"Unknown IO ID 45"} 
[2026-08-05 10:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191825920001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1682094491462922240}} 
[2026-08-05 10:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":149556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:23:46] local.INFO: GPS data processed {"connection_id":149556,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:23:46] local.INFO: Acknowledgment sent {"connection_id":149556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:23:50] local.INFO: TCP Data received {"connection_id":148330,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04439c0012d7fad4005afdfd8000200b128..."} 
[2026-08-05 10:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04439c0012d7fad4005afdfd8000200b128..."} 
[2026-08-05 10:23:50] local.INFO: Processing buffer {"connection_id":148330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04439c0012d7fad4005afdfd8000200b128..."} 
[2026-08-05 10:23:50] local.INFO: Packet analysis {"connection_id":148330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:23:50] local.INFO: Extracted packet for processing {"connection_id":148330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:23:50] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95412184,"longitude_deg":76.3342144,"latitude_deg":9.5412184,"altitude":2,"angle":177,"satellites":40,"speed":2,"hex_longitude":"2d7fad40","hex_latitude":"05afdfd8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191819520001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467089925799936,"note":"Value kept but may cause issues"} 
[2026-08-05 10:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868900725141504,"note":"Value kept but may cause issues"} 
[2026-08-05 10:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785905560000,"timestamp_ms":1785905560000,"timestamp_seconds":1785905560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04439c0"} 
[2026-08-05 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-08-05 10:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 10:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 10:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191819520001,"66":27908,"250":206,"85":12544,"24":2,"16":370467089925799936,"45":9199868900725141504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191819520001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:23:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:23:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467089925799936,"km_value":370467089925799.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868900725141504,"description":"Unknown IO ID 45"} 
[2026-08-05 10:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191819520001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9199868900725141504}} 
[2026-08-05 10:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":148330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:23:50] local.INFO: GPS data processed {"connection_id":148330,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:23:50] local.INFO: Acknowledgment sent {"connection_id":148330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:24:15] local.INFO: TCP Data received {"connection_id":148331,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:24:15] local.INFO: Processing buffer {"connection_id":148331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:24:15] local.INFO: IMEI packet received {"connection_id":148331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":148331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:24:17] local.INFO: TCP Data received {"connection_id":149556,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04468a0012d17574007224bc00067015b1f..."} 
[2026-08-05 10:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04468a0012d17574007224bc00067015b1f..."} 
[2026-08-05 10:24:17] local.INFO: Processing buffer {"connection_id":149556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04468a0012d17574007224bc00067015b1f..."} 
[2026-08-05 10:24:17] local.INFO: Packet analysis {"connection_id":149556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:24:17] local.INFO: Extracted packet for processing {"connection_id":149556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756504384,"raw_latitude":119688128,"longitude_deg":75.6504384,"latitude_deg":11.9688128,"altitude":103,"angle":347,"satellites":31,"speed":11,"hex_longitude":"2d175740","hex_latitude":"07224bc0","is_valid_coordinates":true} 
[2026-08-05 10:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191826176001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10549148348579840,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1681953753974620160,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785905572000,"timestamp_ms":1785905572000,"timestamp_seconds":1785905572,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04468a0"} 
[2026-08-05 10:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 10:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191826176001,"66":13993,"105":206,"83":41984,"24":11,"16":10549148348579840,"45":1681953753974620160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191826176001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:24:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10549148348579840,"km_value":10549148348579.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1681953753974620160,"description":"Unknown IO ID 45"} 
[2026-08-05 10:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191826176001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1681953753974620160}} 
[2026-08-05 10:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":149556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:24:17] local.INFO: GPS data processed {"connection_id":149556,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:24:17] local.INFO: Acknowledgment sent {"connection_id":149556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:24:20] local.INFO: TCP Data received {"connection_id":148331,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:24:20] local.INFO: Processing buffer {"connection_id":148331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:24:20] local.INFO: IMEI packet received {"connection_id":148331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":148331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:24:21] local.INFO: TCP Data received {"connection_id":148331,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0444d48012d7fad4005afddc8000100bc2a..."} 
[2026-08-05 10:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0444d48012d7fad4005afddc8000100bc2a..."} 
[2026-08-05 10:24:21] local.INFO: Processing buffer {"connection_id":148331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0444d48012d7fad4005afddc8000100bc2a..."} 
[2026-08-05 10:24:21] local.INFO: Packet analysis {"connection_id":148331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:24:21] local.INFO: Extracted packet for processing {"connection_id":148331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:24:21] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95411656,"longitude_deg":76.3342144,"latitude_deg":9.5411656,"altitude":1,"angle":188,"satellites":42,"speed":4,"hex_longitude":"2d7fad40","hex_latitude":"05afddc8","is_valid_coordinates":true} 
[2026-08-05 10:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191823360001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467115695603712,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957488128,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785905565000,"timestamp_ms":1785905565000,"timestamp_seconds":1785905565,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0444d48"} 
[2026-08-05 10:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:24: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-08-05 10:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 10:24: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-08-05 10:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191823360001,"66":28006,"250":206,"85":12544,"24":4,"16":370467115695603712,"45":9200080006957488128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191823360001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:24:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467115695603712,"km_value":370467115695603.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957488128,"description":"Unknown IO ID 45"} 
[2026-08-05 10:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191823360001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9200080006957488128}} 
[2026-08-05 10:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":148331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:24:21] local.INFO: GPS data processed {"connection_id":148331,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:24:21] local.INFO: Acknowledgment sent {"connection_id":148331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:24:42] local.INFO: TCP Data received {"connection_id":149557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:42] local.INFO: Processing buffer {"connection_id":149557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:42] local.INFO: IMEI packet received {"connection_id":149557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":149557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:24:43] local.INFO: TCP Data received {"connection_id":149557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:43] local.INFO: Processing buffer {"connection_id":149557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:43] local.INFO: IMEI packet received {"connection_id":149557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":149557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:24:45] local.INFO: TCP Data received {"connection_id":149557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:45] local.INFO: Processing buffer {"connection_id":149557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:45] local.INFO: IMEI packet received {"connection_id":149557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":149557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:24:49] local.INFO: TCP Data received {"connection_id":149557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:49] local.INFO: Processing buffer {"connection_id":149557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:24:49] local.INFO: IMEI packet received {"connection_id":149557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":149557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:24:49] local.INFO: TCP Data received {"connection_id":149557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd045a120012d17590007224ac8006c00571f..."} 
[2026-08-05 10:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd045a120012d17590007224ac8006c00571f..."} 
[2026-08-05 10:24:49] local.INFO: Processing buffer {"connection_id":149557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd045a120012d17590007224ac8006c00571f..."} 
[2026-08-05 10:24:49] local.INFO: Packet analysis {"connection_id":149557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd045"} 
[2026-08-05 10:24:49] local.INFO: Extracted packet for processing {"connection_id":149557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd045"} 
[2026-08-05 10:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756504832,"raw_latitude":119687880,"longitude_deg":75.6504832,"latitude_deg":11.968788,"altitude":108,"angle":87,"satellites":31,"speed":6,"hex_longitude":"2d175900","hex_latitude":"07224ac8","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191846400001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10550183435698176,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1681953753974630400,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785905652000,"timestamp_ms":1785905652000,"timestamp_seconds":1785905652,"priority":1,"record_length":96,"hex_timestamp":"0000019fd045a120"} 
[2026-08-05 10:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 10:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191846400001,"66":14396,"105":206,"83":41984,"24":6,"16":10550183435698176,"45":1681953753974630400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191846400001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:24:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10550183435698176,"km_value":10550183435698.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1681953753974630400,"description":"Unknown IO ID 45"} 
[2026-08-05 10:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191846400001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1681953753974630400}} 
[2026-08-05 10:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":149557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:24:50] local.INFO: GPS data processed {"connection_id":149557,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:24:50] local.INFO: Acknowledgment sent {"connection_id":149557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:24:50] local.INFO: TCP Data received {"connection_id":149557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd045a8f0012d175a8007224b18006b00451f..."} 
[2026-08-05 10:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd045a8f0012d175a8007224b18006b00451f..."} 
[2026-08-05 10:24:50] local.INFO: Processing buffer {"connection_id":149557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd045a8f0012d175a8007224b18006b00451f..."} 
[2026-08-05 10:24:50] local.INFO: Packet analysis {"connection_id":149557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd045"} 
[2026-08-05 10:24:50] local.INFO: Extracted packet for processing {"connection_id":149557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd045"} 
[2026-08-05 10:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756505216,"raw_latitude":119687960,"longitude_deg":75.6505216,"latitude_deg":11.968796,"altitude":107,"angle":69,"satellites":31,"speed":6,"hex_longitude":"2d175a80","hex_latitude":"07224b18","is_valid_coordinates":true} 
[2026-08-05 10:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191846912001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10550204910534656,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1682375966439688192,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785905654000,"timestamp_ms":1785905654000,"timestamp_seconds":1785905654,"priority":1,"record_length":96,"hex_timestamp":"0000019fd045a8f0"} 
[2026-08-05 10:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 10:24: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-08-05 10:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191846912001,"66":14026,"105":206,"83":41984,"24":6,"16":10550204910534656,"45":1682375966439688192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191846912001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:24:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10550204910534656,"km_value":10550204910534.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1682375966439688192,"description":"Unknown IO ID 45"} 
[2026-08-05 10:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191846912001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1682375966439688192}} 
[2026-08-05 10:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":149557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:24:50] local.INFO: GPS data processed {"connection_id":149557,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:24:50] local.INFO: Acknowledgment sent {"connection_id":149557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:24:53] local.INFO: TCP Data received {"connection_id":148331,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04468a0012d7fabc005afdac0000100ba2a..."} 
[2026-08-05 10:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04468a0012d7fabc005afdac0000100ba2a..."} 
[2026-08-05 10:24:53] local.INFO: Processing buffer {"connection_id":148331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04468a0012d7fabc005afdac0000100ba2a..."} 
[2026-08-05 10:24:53] local.INFO: Packet analysis {"connection_id":148331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:24:53] local.INFO: Extracted packet for processing {"connection_id":148331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:24:53] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95410880,"longitude_deg":76.334176,"latitude_deg":9.541088,"altitude":1,"angle":186,"satellites":42,"speed":4,"hex_longitude":"2d7fabc0","hex_latitude":"05afdac0","is_valid_coordinates":true} 
[2026-08-05 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191824640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957352960,"note":"Value kept but may cause issues"} 
[2026-08-05 10:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785905572000,"timestamp_ms":1785905572000,"timestamp_seconds":1785905572,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04468a0"} 
[2026-08-05 10:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 10:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191824640001,"66":27843,"250":206,"85":12544,"24":4,"16":370467158645276672,"45":9200080006957352960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191824640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:24:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:24:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957352960,"description":"Unknown IO ID 45"} 
[2026-08-05 10:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191824640001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9200080006957352960}} 
[2026-08-05 10:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":148331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:24:53] local.INFO: GPS data processed {"connection_id":148331,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:24:53] local.INFO: Acknowledgment sent {"connection_id":148331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:25:20] local.INFO: TCP Data received {"connection_id":148332,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:25:20] local.INFO: Processing buffer {"connection_id":148332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:25:20] local.INFO: IMEI packet received {"connection_id":148332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":148332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:25:22] local.INFO: TCP Data received {"connection_id":149557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd045b0c0012d175c4007224b68006a005320..."} 
[2026-08-05 10:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd045b0c0012d175c4007224b68006a005320..."} 
[2026-08-05 10:25:22] local.INFO: Processing buffer {"connection_id":149557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd045b0c0012d175c4007224b68006a005320..."} 
[2026-08-05 10:25:22] local.INFO: Packet analysis {"connection_id":149557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd045"} 
[2026-08-05 10:25:22] local.INFO: Extracted packet for processing {"connection_id":149557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd045"} 
[2026-08-05 10:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756505664,"raw_latitude":119688040,"longitude_deg":75.6505664,"latitude_deg":11.968804,"altitude":106,"angle":83,"satellites":32,"speed":10,"hex_longitude":"2d175c40","hex_latitude":"07224b68","is_valid_coordinates":true} 
[2026-08-05 10:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191847424001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10550226385371136,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1682798178904774656,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785905656000,"timestamp_ms":1785905656000,"timestamp_seconds":1785905656,"priority":1,"record_length":96,"hex_timestamp":"0000019fd045b0c0"} 
[2026-08-05 10:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-05 10:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191847424001,"66":14004,"105":206,"83":41984,"24":10,"16":10550226385371136,"45":1682798178904774656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191847424001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:25:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:25:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10550226385371136,"km_value":10550226385371.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1682798178904774656,"description":"Unknown IO ID 45"} 
[2026-08-05 10:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191847424001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1682798178904774656}} 
[2026-08-05 10:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":149557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:25:22] local.INFO: GPS data processed {"connection_id":149557,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:25:22] local.INFO: Acknowledgment sent {"connection_id":149557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:25:25] local.INFO: TCP Data received {"connection_id":148332,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:25:25] local.INFO: Processing buffer {"connection_id":148332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:25:25] local.INFO: IMEI packet received {"connection_id":148332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":148332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:25:26] local.INFO: TCP Data received {"connection_id":148332,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0447458012d7faac005afd9b0000200d62c..."} 
[2026-08-05 10:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0447458012d7faac005afd9b0000200d62c..."} 
[2026-08-05 10:25:26] local.INFO: Processing buffer {"connection_id":148332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0447458012d7faac005afd9b0000200d62c..."} 
[2026-08-05 10:25:26] local.INFO: Packet analysis {"connection_id":148332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:25:26] local.INFO: Extracted packet for processing {"connection_id":148332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95410608,"longitude_deg":76.3341504,"latitude_deg":9.5410608,"altitude":2,"angle":214,"satellites":44,"speed":3,"hex_longitude":"2d7faac0","hex_latitude":"05afd9b0","is_valid_coordinates":true} 
[2026-08-05 10:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191826432001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492088320,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785905575000,"timestamp_ms":1785905575000,"timestamp_seconds":1785905575,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0447458"} 
[2026-08-05 10:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 10:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191826432001,"66":27071,"250":206,"85":12544,"24":3,"16":370467158645276672,"45":9199657794492088320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191826432001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:25:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492088320,"description":"Unknown IO ID 45"} 
[2026-08-05 10:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191826432001,"power":27071,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9199657794492088320}} 
[2026-08-05 10:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":148332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:25:26] local.INFO: GPS data processed {"connection_id":148332,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:25:26] local.INFO: Acknowledgment sent {"connection_id":148332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:25:30] local.INFO: TCP Data received {"connection_id":148332,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:25:30] local.INFO: Processing buffer {"connection_id":148332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:25:30] local.INFO: Packet analysis {"connection_id":148332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:25:30] local.INFO: Extracted packet for processing {"connection_id":148332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:25:30] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95410344,"longitude_deg":76.3341376,"latitude_deg":9.5410344,"altitude":2,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd8a8","is_valid_coordinates":true} 
[2026-08-05 10:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827200001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515308032,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785905578000,"timestamp_ms":1785905578000,"timestamp_seconds":1785905578,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0448010"} 
[2026-08-05 10:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-05 10:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827200001,"66":26636,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199376319515308032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827200001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:25:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515308032,"description":"Unknown IO ID 45"} 
[2026-08-05 10:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827200001,"power":26636,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515308032}} 
[2026-08-05 10:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":148332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:25:31] local.INFO: GPS data processed {"connection_id":148332,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:25:31] local.INFO: Acknowledgment sent {"connection_id":148332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:25:37] local.INFO: TCP Data received {"connection_id":148556,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:37] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:37] local.INFO: IMEI packet received {"connection_id":148556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":148556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:25:42] local.INFO: TCP Data received {"connection_id":148556,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:42] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:42] local.INFO: IMEI packet received {"connection_id":148556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":148556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:25:42] local.INFO: TCP Data received {"connection_id":148556,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:42] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:42] local.INFO: IMEI packet received {"connection_id":148556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":148556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:25:49] local.INFO: TCP Data received {"connection_id":148556,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:49] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:25:49] local.INFO: IMEI packet received {"connection_id":148556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":148556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:25:49] local.INFO: TCP Data received {"connection_id":148556,"ip":"42.106.6.24","data_length":1348,"data_hex":"000000000000030f8e0a0000019fd04654d0012d17830007223180005f00581f..."} 
[2026-08-05 10:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fd04654d0012d17830007223180005f00581f..."} 
[2026-08-05 10:25:49] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fd04654d0012d17830007223180005f00581f..."} 
[2026-08-05 10:25:49] local.INFO: Packet analysis {"connection_id":148556,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fd046"} 
[2026-08-05 10:25:49] local.INFO: Extracted packet for processing {"connection_id":148556,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fd046"} 
[2026-08-05 10:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756515584,"raw_latitude":119681408,"longitude_deg":75.6515584,"latitude_deg":11.9681408,"altitude":95,"angle":88,"satellites":31,"speed":17,"hex_longitude":"2d178300","hex_latitude":"07223180","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191857408001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10550840565694464,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1692157221878829056,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785905698000,"timestamp_ms":1785905698000,"timestamp_seconds":1785905698,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04654d0"} 
[2026-08-05 10:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 10:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191857408001,"66":14004,"105":206,"83":41984,"24":17,"16":10550840565694464,"45":1692157221878829056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191857408001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:25:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10550840565694464,"km_value":10550840565694.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1692157221878829056,"description":"Unknown IO ID 45"} 
[2026-08-05 10:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191857408001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1692157221878829056}} 
[2026-08-05 10:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":148556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:25:50] local.INFO: GPS data processed {"connection_id":148556,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:25:50] local.INFO: Acknowledgment sent {"connection_id":148556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:25:50] local.INFO: Packet analysis {"connection_id":148556,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fd046"} 
[2026-08-05 10:25:50] local.INFO: Incomplete packet, waiting for more data {"connection_id":148556,"needed":795,"available":553} 
[2026-08-05 10:25:51] local.INFO: TCP Data received {"connection_id":148556,"ip":"42.106.6.24","data_length":1037,"data_hex":"0000000000019fd045f328012d176640072240c8006500881f000c0000000a00..."} 
[2026-08-05 10:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":1037,"packet_hex":"0000000000019fd045f328012d176640072240c8006500881f000c0000000a00..."} 
[2026-08-05 10:25:51] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd0466c40012d178c4007223148005d00681f..."} 
[2026-08-05 10:25:51] local.INFO: Packet analysis {"connection_id":148556,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd046"} 
[2026-08-05 10:25:51] local.INFO: Extracted packet for processing {"connection_id":148556,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd046"} 
[2026-08-05 10:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756517952,"raw_latitude":119681352,"longitude_deg":75.6517952,"latitude_deg":11.9681352,"altitude":93,"angle":104,"satellites":31,"speed":16,"hex_longitude":"2d178c40","hex_latitude":"07223148","is_valid_coordinates":true} 
[2026-08-05 10:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191858688001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10550952234844160,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1694197915459878912,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785905704000,"timestamp_ms":1785905704000,"timestamp_seconds":1785905704,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0466c40"} 
[2026-08-05 10:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:25: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-08-05 10:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-05 10:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191858688001,"66":14483,"105":206,"83":41984,"24":16,"16":10550952234844160,"45":1694197915459878912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191858688001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10550952234844160,"km_value":10550952234844.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1694197915459878912,"description":"Unknown IO ID 45"} 
[2026-08-05 10:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191858688001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1694197915459878912}} 
[2026-08-05 10:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":148556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:25:51] local.INFO: GPS data processed {"connection_id":148556,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:25:51] local.INFO: Acknowledgment sent {"connection_id":148556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:25:51] local.INFO: Packet analysis {"connection_id":148556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd046"} 
[2026-08-05 10:25:51] local.INFO: Extracted packet for processing {"connection_id":148556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd046"} 
[2026-08-05 10:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756519168,"raw_latitude":119680760,"longitude_deg":75.6519168,"latitude_deg":11.968076,"altitude":91,"angle":117,"satellites":31,"speed":18,"hex_longitude":"2d179100","hex_latitude":"07222ef8","is_valid_coordinates":true} 
[2026-08-05 10:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191860224001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10551016659353600,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1696801558994438144,"note":"Value kept but may cause issues"} 
[2026-08-05 10:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785905707000,"timestamp_ms":1785905707000,"timestamp_seconds":1785905707,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04677f8"} 
[2026-08-05 10:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 10:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191860224001,"66":14080,"105":206,"83":41984,"24":18,"16":10551016659353600,"45":1696801558994438144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191860224001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10551016659353600,"km_value":10551016659353.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1696801558994438144,"description":"Unknown IO ID 45"} 
[2026-08-05 10:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191860224001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1696801558994438144}} 
[2026-08-05 10:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":148556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:25:51] local.INFO: GPS data processed {"connection_id":148556,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:25:51] local.INFO: Acknowledgment sent {"connection_id":148556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:26:15] local.INFO: TCP Data received {"connection_id":150970,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:26:15] local.INFO: Processing buffer {"connection_id":150970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:26:15] local.INFO: IMEI packet received {"connection_id":150970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":150970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:26:20] local.INFO: TCP Data received {"connection_id":150970,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:26:20] local.INFO: Processing buffer {"connection_id":150970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:26:20] local.INFO: IMEI packet received {"connection_id":150970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":150970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:26:21] local.INFO: TCP Data received {"connection_id":150970,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:26:21] local.INFO: Processing buffer {"connection_id":150970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:26:21] local.INFO: Packet analysis {"connection_id":150970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:26:21] local.INFO: Extracted packet for processing {"connection_id":150970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:26:21] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95410344,"longitude_deg":76.3341376,"latitude_deg":9.5410344,"altitude":2,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd8a8","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827200001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515308032,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785905578000,"timestamp_ms":1785905578000,"timestamp_seconds":1785905578,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0448010"} 
[2026-08-05 10:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-05 10:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827200001,"66":26636,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199376319515308032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827200001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:26:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515308032,"description":"Unknown IO ID 45"} 
[2026-08-05 10:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827200001,"power":26636,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515308032}} 
[2026-08-05 10:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":150970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:26:21] local.INFO: GPS data processed {"connection_id":150970,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:26:21] local.INFO: Acknowledgment sent {"connection_id":150970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:26:22] local.INFO: TCP Data received {"connection_id":148556,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0468798012d17960007222b20005a00821f..."} 
[2026-08-05 10:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0468798012d17960007222b20005a00821f..."} 
[2026-08-05 10:26:22] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0468798012d17960007222b20005a00821f..."} 
[2026-08-05 10:26:22] local.INFO: Packet analysis {"connection_id":148556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd046"} 
[2026-08-05 10:26:22] local.INFO: Extracted packet for processing {"connection_id":148556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd046"} 
[2026-08-05 10:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756520448,"raw_latitude":119679776,"longitude_deg":75.6520448,"latitude_deg":11.9679776,"altitude":90,"angle":130,"satellites":31,"speed":13,"hex_longitude":"2d179600","hex_latitude":"07222b20","is_valid_coordinates":true} 
[2026-08-05 10:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191860992001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10551093968764928,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1698138565133662208,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785905711000,"timestamp_ms":1785905711000,"timestamp_seconds":1785905711,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0468798"} 
[2026-08-05 10:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 10:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:22] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3494260160,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:22] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:22] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13462121,"corrected_to":0} 
[2026-08-05 10:26:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 10:26:22] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2415996183,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2147951155,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:22] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197867882,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:22] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,124,159,108,45,64,49,93,31,10,66,84,95,123,65,192,1,240,246,227,208,34,4,113,205,53,120,88,32,239,55,2,37,7,101,12],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":246,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 10:26:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6557369833457057792,"timestamp_seconds":6557369833457058.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 10:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191860992001,"66":14004,"105":206,"83":41984,"24":13,"16":10551093968764928,"45":1698138565133662208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191860992001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:26:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10551093968764928,"km_value":10551093968764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1698138565133662208,"description":"Unknown IO ID 45"} 
[2026-08-05 10:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191860992001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1698138565133662208}} 
[2026-08-05 10:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":148556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:26:22] local.INFO: GPS data processed {"connection_id":148556,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:26:22] local.INFO: Acknowledgment sent {"connection_id":148556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:26:40] local.INFO: TCP Data received {"connection_id":148333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:26:40] local.INFO: Processing buffer {"connection_id":148333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:26:40] local.INFO: IMEI packet received {"connection_id":148333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":148333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:26:46] local.INFO: TCP Data received {"connection_id":148333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:26:46] local.INFO: Processing buffer {"connection_id":148333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:26:46] local.INFO: IMEI packet received {"connection_id":148333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":148333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:26:47] local.INFO: TCP Data received {"connection_id":148333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0471050012d17a94007220a98005000bc1e..."} 
[2026-08-05 10:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0471050012d17a94007220a98005000bc1e..."} 
[2026-08-05 10:26:47] local.INFO: Processing buffer {"connection_id":148333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0471050012d17a94007220a98005000bc1e..."} 
[2026-08-05 10:26:47] local.INFO: Packet analysis {"connection_id":148333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd047"} 
[2026-08-05 10:26:47] local.INFO: Extracted packet for processing {"connection_id":148333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd047"} 
[2026-08-05 10:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756525376,"raw_latitude":119671448,"longitude_deg":75.6525376,"latitude_deg":11.9671448,"altitude":80,"angle":188,"satellites":30,"speed":12,"hex_longitude":"2d17a940","hex_latitude":"07220a98","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191868672001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10551643724578816,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705527283270703104,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785905746000,"timestamp_ms":1785905746000,"timestamp_seconds":1785905746,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0471050"} 
[2026-08-05 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-08-05 10:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 10:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 10:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191868672001,"66":14407,"105":206,"83":41984,"24":12,"16":10551643724578816,"45":1705527283270703104},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191868672001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:26:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:26:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10551643724578816,"km_value":10551643724578.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705527283270703104,"description":"Unknown IO ID 45"} 
[2026-08-05 10:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191868672001,"power":14407,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1705527283270703104}} 
[2026-08-05 10:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":148333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:26:47] local.INFO: GPS data processed {"connection_id":148333,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:26:47] local.INFO: Acknowledgment sent {"connection_id":148333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:26:52] local.INFO: TCP Data received {"connection_id":150970,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:26:52] local.INFO: Processing buffer {"connection_id":150970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:26:52] local.INFO: Packet analysis {"connection_id":150970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:26:52] local.INFO: Extracted packet for processing {"connection_id":150970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:26:52] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95410344,"longitude_deg":76.3341376,"latitude_deg":9.5410344,"altitude":2,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd8a8","is_valid_coordinates":true} 
[2026-08-05 10:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827200001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515308032,"note":"Value kept but may cause issues"} 
[2026-08-05 10:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785905578000,"timestamp_ms":1785905578000,"timestamp_seconds":1785905578,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0448010"} 
[2026-08-05 10:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-05 10:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827200001,"66":26636,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199376319515308032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827200001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:26:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515308032,"description":"Unknown IO ID 45"} 
[2026-08-05 10:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827200001,"power":26636,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515308032}} 
[2026-08-05 10:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":150970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:26:52] local.INFO: GPS data processed {"connection_id":150970,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:26:52] local.INFO: Acknowledgment sent {"connection_id":150970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:27:15] local.INFO: TCP Data received {"connection_id":148334,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:27:15] local.INFO: Processing buffer {"connection_id":148334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:27:15] local.INFO: IMEI packet received {"connection_id":148334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":148334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:27:19] local.INFO: TCP Data received {"connection_id":148333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0473378012d17a6c00721fb98004b00c820..."} 
[2026-08-05 10:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0473378012d17a6c00721fb98004b00c820..."} 
[2026-08-05 10:27:19] local.INFO: Processing buffer {"connection_id":148333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0473378012d17a6c00721fb98004b00c820..."} 
[2026-08-05 10:27:19] local.INFO: Packet analysis {"connection_id":148333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd047"} 
[2026-08-05 10:27:19] local.INFO: Extracted packet for processing {"connection_id":148333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd047"} 
[2026-08-05 10:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756524736,"raw_latitude":119667608,"longitude_deg":75.6524736,"latitude_deg":11.9667608,"altitude":75,"angle":200,"satellites":32,"speed":18,"hex_longitude":"2d17a6c0","hex_latitude":"0721fb98","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191870976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10551832703139840,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704964333316511744,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785905755000,"timestamp_ms":1785905755000,"timestamp_seconds":1785905755,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0473378"} 
[2026-08-05 10:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":71,"data_length":795,"current_offset":136} 
[2026-08-05 10:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191870976001,"66":13580,"105":206,"83":41984,"24":18,"16":10551832703139840,"45":1704964333316511744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191870976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:27:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10551832703139840,"km_value":10551832703139.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704964333316511744,"description":"Unknown IO ID 45"} 
[2026-08-05 10:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191870976001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1704964333316511744}} 
[2026-08-05 10:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":148333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:27:19] local.INFO: GPS data processed {"connection_id":148333,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:27:19] local.INFO: Acknowledgment sent {"connection_id":148333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:27:20] local.INFO: TCP Data received {"connection_id":148334,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:27:20] local.INFO: Processing buffer {"connection_id":148334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:27:20] local.INFO: IMEI packet received {"connection_id":148334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":148334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:27:21] local.INFO: TCP Data received {"connection_id":148334,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:27:21] local.INFO: Processing buffer {"connection_id":148334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:27:21] local.INFO: Packet analysis {"connection_id":148334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:27:21] local.INFO: Extracted packet for processing {"connection_id":148334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:27:21] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95410344,"longitude_deg":76.3341376,"latitude_deg":9.5410344,"altitude":2,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd8a8","is_valid_coordinates":true} 
[2026-08-05 10:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827200001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515308032,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785905578000,"timestamp_ms":1785905578000,"timestamp_seconds":1785905578,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0448010"} 
[2026-08-05 10:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-05 10:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827200001,"66":26636,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199376319515308032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827200001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:27:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515308032,"description":"Unknown IO ID 45"} 
[2026-08-05 10:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827200001,"power":26636,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515308032}} 
[2026-08-05 10:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":148334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:27:21] local.INFO: GPS data processed {"connection_id":148334,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:27:21] local.INFO: Acknowledgment sent {"connection_id":148334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:27:40] local.INFO: TCP Data received {"connection_id":150971,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:27:40] local.INFO: Processing buffer {"connection_id":150971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:27:40] local.INFO: IMEI packet received {"connection_id":150971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":150971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:27:41] local.INFO: TCP Data received {"connection_id":150971,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:27:41] local.INFO: Processing buffer {"connection_id":150971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:27:41] local.INFO: IMEI packet received {"connection_id":150971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":150971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:27:45] local.INFO: TCP Data received {"connection_id":150971,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:27:45] local.INFO: Processing buffer {"connection_id":150971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:27:45] local.INFO: IMEI packet received {"connection_id":150971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":150971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:27:46] local.INFO: TCP Data received {"connection_id":150971,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0482990012d17b1400721a120004400611f..."} 
[2026-08-05 10:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0482990012d17b1400721a120004400611f..."} 
[2026-08-05 10:27:46] local.INFO: Processing buffer {"connection_id":150971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0482990012d17b1400721a120004400611f..."} 
[2026-08-05 10:27:46] local.INFO: Packet analysis {"connection_id":150971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd048"} 
[2026-08-05 10:27:46] local.INFO: Extracted packet for processing {"connection_id":150971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd048"} 
[2026-08-05 10:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756527424,"raw_latitude":119644448,"longitude_deg":75.6527424,"latitude_deg":11.9644448,"altitude":68,"angle":97,"satellites":31,"speed":17,"hex_longitude":"2d17b140","hex_latitude":"0721a120","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191888640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10553018114113536,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706019864472336384,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785905818000,"timestamp_ms":1785905818000,"timestamp_seconds":1785905818,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0482990"} 
[2026-08-05 10:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":92,"data_length":795,"current_offset":136} 
[2026-08-05 10:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191888640001,"66":14461,"107":206,"83":41984,"24":17,"16":10553018114113536,"45":1706019864472336384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191888640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:27:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10553018114113536,"km_value":10553018114113.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706019864472336384,"description":"Unknown IO ID 45"} 
[2026-08-05 10:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191888640001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1706019864472336384}} 
[2026-08-05 10:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":150971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:27:46] local.INFO: GPS data processed {"connection_id":150971,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:27:46] local.INFO: Acknowledgment sent {"connection_id":150971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:27:52] local.INFO: TCP Data received {"connection_id":148334,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:27:52] local.INFO: Processing buffer {"connection_id":148334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:27:52] local.INFO: Packet analysis {"connection_id":148334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:27:52] local.INFO: Extracted packet for processing {"connection_id":148334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:27:52] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95410344,"longitude_deg":76.3341376,"latitude_deg":9.5410344,"altitude":2,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd8a8","is_valid_coordinates":true} 
[2026-08-05 10:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827200001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515308032,"note":"Value kept but may cause issues"} 
[2026-08-05 10:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785905578000,"timestamp_ms":1785905578000,"timestamp_seconds":1785905578,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0448010"} 
[2026-08-05 10:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-05 10:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827200001,"66":26636,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199376319515308032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827200001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:27:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515308032,"description":"Unknown IO ID 45"} 
[2026-08-05 10:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827200001,"power":26636,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515308032}} 
[2026-08-05 10:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":148334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:27:52] local.INFO: GPS data processed {"connection_id":148334,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:27:52] local.INFO: Acknowledgment sent {"connection_id":148334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:28:15] local.INFO: TCP Data received {"connection_id":149558,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:28:15] local.INFO: Processing buffer {"connection_id":149558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:28:15] local.INFO: IMEI packet received {"connection_id":149558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":149558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:28:16] local.INFO: TCP Data received {"connection_id":150971,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04844e8012d17be0007219d500046006d1f..."} 
[2026-08-05 10:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04844e8012d17be0007219d500046006d1f..."} 
[2026-08-05 10:28:16] local.INFO: Processing buffer {"connection_id":150971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04844e8012d17be0007219d500046006d1f..."} 
[2026-08-05 10:28:16] local.INFO: Packet analysis {"connection_id":150971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd048"} 
[2026-08-05 10:28:16] local.INFO: Extracted packet for processing {"connection_id":150971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd048"} 
[2026-08-05 10:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756530688,"raw_latitude":119643472,"longitude_deg":75.6530688,"latitude_deg":11.9643472,"altitude":70,"angle":109,"satellites":31,"speed":19,"hex_longitude":"2d17be00","hex_latitude":"07219d50","is_valid_coordinates":true} 
[2026-08-05 10:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191889408001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10553181322870784,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707216133123284992,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785905825000,"timestamp_ms":1785905825000,"timestamp_seconds":1785905825,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04844e8"} 
[2026-08-05 10:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-05 10:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191889408001,"66":14070,"107":206,"83":41984,"24":19,"16":10553181322870784,"45":1707216133123284992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191889408001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:28:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10553181322870784,"km_value":10553181322870.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707216133123284992,"description":"Unknown IO ID 45"} 
[2026-08-05 10:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191889408001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1707216133123284992}} 
[2026-08-05 10:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":150971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:28:16] local.INFO: GPS data processed {"connection_id":150971,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:28:16] local.INFO: Acknowledgment sent {"connection_id":150971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:28:20] local.INFO: TCP Data received {"connection_id":149558,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:28:20] local.INFO: Processing buffer {"connection_id":149558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:28:20] local.INFO: IMEI packet received {"connection_id":149558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":149558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:28:21] local.INFO: TCP Data received {"connection_id":149558,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:28:21] local.INFO: Processing buffer {"connection_id":149558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0448010012d7faa4005afd8a8000200ee2d..."} 
[2026-08-05 10:28:21] local.INFO: Packet analysis {"connection_id":149558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:28:21] local.INFO: Extracted packet for processing {"connection_id":149558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd044"} 
[2026-08-05 10:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95410344,"longitude_deg":76.3341376,"latitude_deg":9.5410344,"altitude":2,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd8a8","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827200001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515308032,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785905578000,"timestamp_ms":1785905578000,"timestamp_seconds":1785905578,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0448010"} 
[2026-08-05 10:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-05 10:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827200001,"66":26636,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199376319515308032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827200001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:28:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515308032,"description":"Unknown IO ID 45"} 
[2026-08-05 10:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827200001,"power":26636,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515308032}} 
[2026-08-05 10:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":149558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:28:21] local.INFO: GPS data processed {"connection_id":149558,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:28:21] local.INFO: Acknowledgment sent {"connection_id":149558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:28:40] local.INFO: TCP Data received {"connection_id":148335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:40] local.INFO: Processing buffer {"connection_id":148335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:40] local.INFO: IMEI packet received {"connection_id":148335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":148335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:28:41] local.INFO: TCP Data received {"connection_id":148335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:41] local.INFO: Processing buffer {"connection_id":148335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:41] local.INFO: IMEI packet received {"connection_id":148335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":148335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:28:41] local.INFO: TCP Data received {"connection_id":148335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:41] local.INFO: Processing buffer {"connection_id":148335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:41] local.INFO: IMEI packet received {"connection_id":148335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":148335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:28:43] local.INFO: TCP Data received {"connection_id":148335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:43] local.INFO: Processing buffer {"connection_id":148335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:28:43] local.INFO: IMEI packet received {"connection_id":148335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":148335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:28:44] local.INFO: TCP Data received {"connection_id":148335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd048f4b0012d17e84007218af8004600601f..."} 
[2026-08-05 10:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd048f4b0012d17e84007218af8004600601f..."} 
[2026-08-05 10:28:44] local.INFO: Processing buffer {"connection_id":148335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd048f4b0012d17e84007218af8004600601f..."} 
[2026-08-05 10:28:44] local.INFO: Packet analysis {"connection_id":148335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd048"} 
[2026-08-05 10:28:44] local.INFO: Extracted packet for processing {"connection_id":148335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd048"} 
[2026-08-05 10:28:44] local.INFO: GPS Element Parsed {"raw_longitude":756541504,"raw_latitude":119638776,"longitude_deg":75.6541504,"latitude_deg":11.9638776,"altitude":70,"angle":96,"satellites":31,"speed":11,"hex_longitude":"2d17e840","hex_latitude":"07218af8","is_valid_coordinates":true} 
[2026-08-05 10:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191900928001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10553799798161408,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720797300748244992,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785905870000,"timestamp_ms":1785905870000,"timestamp_seconds":1785905870,"priority":1,"record_length":96,"hex_timestamp":"0000019fd048f4b0"} 
[2026-08-05 10:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 10:28: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-08-05 10:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191900928001,"66":13928,"107":206,"83":41984,"24":11,"16":10553799798161408,"45":1720797300748244992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191900928001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:28:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:28:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10553799798161408,"km_value":10553799798161.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720797300748244992,"description":"Unknown IO ID 45"} 
[2026-08-05 10:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191900928001,"power":13928,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1720797300748244992}} 
[2026-08-05 10:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":148335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:28:44] local.INFO: GPS data processed {"connection_id":148335,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:28:44] local.INFO: Acknowledgment sent {"connection_id":148335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:28:52] local.INFO: TCP Data received {"connection_id":149558,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:28:52] local.INFO: Processing buffer {"connection_id":149558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:28:52] local.INFO: Packet analysis {"connection_id":149558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:28:52] local.INFO: Extracted packet for processing {"connection_id":149558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:28:52] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827968001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026885120,"note":"Value kept but may cause issues"} 
[2026-08-05 10:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785905879000,"timestamp_ms":1785905879000,"timestamp_seconds":1785905879,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04917d8"} 
[2026-08-05 10:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 10:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827968001,"66":26169,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199235582026885120},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827968001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:28:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026885120,"description":"Unknown IO ID 45"} 
[2026-08-05 10:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026885120}} 
[2026-08-05 10:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":149558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:28:53] local.INFO: GPS data processed {"connection_id":149558,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:28:53] local.INFO: Acknowledgment sent {"connection_id":149558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:29:14] local.INFO: TCP Data received {"connection_id":148335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0490838012d17edc007218998004600721f..."} 
[2026-08-05 10:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0490838012d17edc007218998004600721f..."} 
[2026-08-05 10:29:14] local.INFO: Processing buffer {"connection_id":148335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0490838012d17edc007218998004600721f..."} 
[2026-08-05 10:29:14] local.INFO: Packet analysis {"connection_id":148335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:29:14] local.INFO: Extracted packet for processing {"connection_id":148335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756542912,"raw_latitude":119638424,"longitude_deg":75.6542912,"latitude_deg":11.9638424,"altitude":70,"angle":114,"satellites":31,"speed":11,"hex_longitude":"2d17edc0","hex_latitude":"07218998","is_valid_coordinates":true} 
[2026-08-05 10:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191902720001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10553864222670848,"note":"Value kept but may cause issues"} 
[2026-08-05 10:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722697256840919040,"note":"Value kept but may cause issues"} 
[2026-08-05 10:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785905875000,"timestamp_ms":1785905875000,"timestamp_seconds":1785905875,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0490838"} 
[2026-08-05 10:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 10:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191902720001,"66":13787,"107":206,"83":41984,"24":11,"16":10553864222670848,"45":1722697256840919040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191902720001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:29:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10553864222670848,"km_value":10553864222670.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722697256840919040,"description":"Unknown IO ID 45"} 
[2026-08-05 10:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191902720001,"power":13787,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1722697256840919040}} 
[2026-08-05 10:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":148335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:29:14] local.INFO: GPS data processed {"connection_id":148335,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:29:14] local.INFO: Acknowledgment sent {"connection_id":148335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:29:15] local.INFO: TCP Data received {"connection_id":150972,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:29:15] local.INFO: Processing buffer {"connection_id":150972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:29:15] local.INFO: IMEI packet received {"connection_id":150972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":150972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:29:20] local.INFO: TCP Data received {"connection_id":150972,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:29:20] local.INFO: Processing buffer {"connection_id":150972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:29:20] local.INFO: IMEI packet received {"connection_id":150972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":150972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:29:39] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:39] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:39] local.INFO: IMEI packet received {"connection_id":148557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":148557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:29:40] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:40] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:40] local.INFO: IMEI packet received {"connection_id":148557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":148557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:29:40] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:40] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:40] local.INFO: IMEI packet received {"connection_id":148557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":148557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:29:43] local.INFO: TCP Data received {"connection_id":150972,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:29:43] local.INFO: Processing buffer {"connection_id":150972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:29:43] local.INFO: Packet analysis {"connection_id":150972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:29:43] local.INFO: Extracted packet for processing {"connection_id":150972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:29:43] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827968001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026885120,"note":"Value kept but may cause issues"} 
[2026-08-05 10:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785905879000,"timestamp_ms":1785905879000,"timestamp_seconds":1785905879,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04917d8"} 
[2026-08-05 10:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 10:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827968001,"66":26169,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199235582026885120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827968001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:29:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026885120,"description":"Unknown IO ID 45"} 
[2026-08-05 10:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026885120}} 
[2026-08-05 10:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":150972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:29:43] local.INFO: GPS data processed {"connection_id":150972,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:29:43] local.INFO: Acknowledgment sent {"connection_id":150972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:29:45] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:45] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:29:45] local.INFO: IMEI packet received {"connection_id":148557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":148557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:29:46] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd049cb88012d180b0007218c180046008a1f..."} 
[2026-08-05 10:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd049cb88012d180b0007218c180046008a1f..."} 
[2026-08-05 10:29:46] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd049cb88012d180b0007218c180046008a1f..."} 
[2026-08-05 10:29:46] local.INFO: Packet analysis {"connection_id":148557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:29:46] local.INFO: Extracted packet for processing {"connection_id":148557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756550400,"raw_latitude":119639064,"longitude_deg":75.65504,"latitude_deg":11.9639064,"altitude":70,"angle":138,"satellites":31,"speed":0,"hex_longitude":"2d180b00","hex_latitude":"07218c18","is_valid_coordinates":true} 
[2026-08-05 10:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191911680001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10554289424433152,"note":"Value kept but may cause issues"} 
[2026-08-05 10:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732337774793355264,"note":"Value kept but may cause issues"} 
[2026-08-05 10:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785905925000,"timestamp_ms":1785905925000,"timestamp_seconds":1785905925,"priority":1,"record_length":96,"hex_timestamp":"0000019fd049cb88"} 
[2026-08-05 10:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-05 10:29: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-08-05 10:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191911680001,"66":13928,"107":206,"83":41984,"24":0,"16":10554289424433152,"45":1732337774793355264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191911680001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:29:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10554289424433152,"km_value":10554289424433.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732337774793355264,"description":"Unknown IO ID 45"} 
[2026-08-05 10:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191911680001,"power":13928,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1732337774793355264}} 
[2026-08-05 10:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":148557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:29:46] local.INFO: GPS data processed {"connection_id":148557,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:29:46] local.INFO: Acknowledgment sent {"connection_id":148557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:30:15] local.INFO: TCP Data received {"connection_id":148336,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:30:15] local.INFO: Processing buffer {"connection_id":148336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:30:15] local.INFO: IMEI packet received {"connection_id":148336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":148336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:30:17] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd049fe50012d180a4007218b60004800a220..."} 
[2026-08-05 10:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd049fe50012d180a4007218b60004800a220..."} 
[2026-08-05 10:30:17] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd049fe50012d180a4007218b60004800a220..."} 
[2026-08-05 10:30:17] local.INFO: Packet analysis {"connection_id":148557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:30:17] local.INFO: Extracted packet for processing {"connection_id":148557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756550208,"raw_latitude":119638880,"longitude_deg":75.6550208,"latitude_deg":11.963888,"altitude":72,"angle":162,"satellites":32,"speed":5,"hex_longitude":"2d180a40","hex_latitude":"07218b60","is_valid_coordinates":true} 
[2026-08-05 10:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191916800001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10554310899269632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732478512281688064,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785905938000,"timestamp_ms":1785905938000,"timestamp_seconds":1785905938,"priority":1,"record_length":96,"hex_timestamp":"0000019fd049fe50"} 
[2026-08-05 10:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 10:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191916800001,"66":14004,"107":206,"83":41984,"24":5,"16":10554310899269632,"45":1732478512281688064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191916800001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:30:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10554310899269632,"km_value":10554310899269.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732478512281688064,"description":"Unknown IO ID 45"} 
[2026-08-05 10:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191916800001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1732478512281688064}} 
[2026-08-05 10:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":148557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:30:17] local.INFO: GPS data processed {"connection_id":148557,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:30:17] local.INFO: Acknowledgment sent {"connection_id":148557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:30:20] local.INFO: TCP Data received {"connection_id":148336,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:30:20] local.INFO: Processing buffer {"connection_id":148336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:30:20] local.INFO: IMEI packet received {"connection_id":148336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":148336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:30:21] local.INFO: TCP Data received {"connection_id":148336,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:30:21] local.INFO: Processing buffer {"connection_id":148336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:30:21] local.INFO: Packet analysis {"connection_id":148336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:30:21] local.INFO: Extracted packet for processing {"connection_id":148336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827968001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026885120,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785905879000,"timestamp_ms":1785905879000,"timestamp_seconds":1785905879,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04917d8"} 
[2026-08-05 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-08-05 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 10:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 10:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:30: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-08-05 10:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827968001,"66":26169,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199235582026885120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827968001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:30:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026885120,"description":"Unknown IO ID 45"} 
[2026-08-05 10:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026885120}} 
[2026-08-05 10:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":148336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:30:21] local.INFO: GPS data processed {"connection_id":148336,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:30:21] local.INFO: Acknowledgment sent {"connection_id":148336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:30:40] local.INFO: TCP Data received {"connection_id":150973,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:30:40] local.INFO: Processing buffer {"connection_id":150973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:30:40] local.INFO: IMEI packet received {"connection_id":150973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":150973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:30:45] local.INFO: TCP Data received {"connection_id":150973,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:30:45] local.INFO: Processing buffer {"connection_id":150973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:30:45] local.INFO: IMEI packet received {"connection_id":150973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":150973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:30:46] local.INFO: TCP Data received {"connection_id":150973,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04ab200012d180dc007218528004b00fc21..."} 
[2026-08-05 10:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04ab200012d180dc007218528004b00fc21..."} 
[2026-08-05 10:30:46] local.INFO: Processing buffer {"connection_id":150973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04ab200012d180dc007218528004b00fc21..."} 
[2026-08-05 10:30:46] local.INFO: Packet analysis {"connection_id":150973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04a"} 
[2026-08-05 10:30:46] local.INFO: Extracted packet for processing {"connection_id":150973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04a"} 
[2026-08-05 10:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756551104,"raw_latitude":119637288,"longitude_deg":75.6551104,"latitude_deg":11.9637288,"altitude":75,"angle":252,"satellites":33,"speed":0,"hex_longitude":"2d180dc0","hex_latitude":"07218528","is_valid_coordinates":true} 
[2026-08-05 10:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191930880001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10554615841947648,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733252568467240960,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785905984000,"timestamp_ms":1785905984000,"timestamp_seconds":1785905984,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04ab200"} 
[2026-08-05 10:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 10:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191930880001,"66":14352,"107":206,"83":41984,"24":0,"16":10554615841947648,"45":1733252568467240960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191930880001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:30:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10554615841947648,"km_value":10554615841947.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733252568467240960,"description":"Unknown IO ID 45"} 
[2026-08-05 10:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191930880001,"power":14352,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1733252568467240960}} 
[2026-08-05 10:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":150973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:30:46] local.INFO: GPS data processed {"connection_id":150973,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:30:46] local.INFO: Acknowledgment sent {"connection_id":150973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:30:52] local.INFO: TCP Data received {"connection_id":148336,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:30:52] local.INFO: Processing buffer {"connection_id":148336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:30:52] local.INFO: Packet analysis {"connection_id":148336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:30:52] local.INFO: Extracted packet for processing {"connection_id":148336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:30:52] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827968001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026885120,"note":"Value kept but may cause issues"} 
[2026-08-05 10:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785905879000,"timestamp_ms":1785905879000,"timestamp_seconds":1785905879,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04917d8"} 
[2026-08-05 10:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 10:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827968001,"66":26169,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199235582026885120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827968001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:30:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026885120,"description":"Unknown IO ID 45"} 
[2026-08-05 10:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026885120}} 
[2026-08-05 10:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":148336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:30:52] local.INFO: GPS data processed {"connection_id":148336,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:30:52] local.INFO: Acknowledgment sent {"connection_id":148336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:31:17] local.INFO: TCP Data received {"connection_id":150973,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04b4e40012d182ac0072157880045009c21..."} 
[2026-08-05 10:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04b4e40012d182ac0072157880045009c21..."} 
[2026-08-05 10:31:17] local.INFO: Processing buffer {"connection_id":150973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04b4e40012d182ac0072157880045009c21..."} 
[2026-08-05 10:31:17] local.INFO: Packet analysis {"connection_id":150973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04b"} 
[2026-08-05 10:31:17] local.INFO: Extracted packet for processing {"connection_id":150973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04b"} 
[2026-08-05 10:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119625608,"longitude_deg":75.6558528,"latitude_deg":11.9625608,"altitude":69,"angle":156,"satellites":33,"speed":16,"hex_longitude":"2d182ac0","hex_latitude":"07215788","is_valid_coordinates":true} 
[2026-08-05 10:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191941888001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10555419000832000,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605300553728,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785906024000,"timestamp_ms":1785906024000,"timestamp_seconds":1785906024,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04b4e40"} 
[2026-08-05 10:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 10:31: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-08-05 10:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191941888001,"66":14428,"107":206,"83":41984,"24":16,"16":10555419000832000,"45":1741274605300553728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191941888001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:31:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10555419000832000,"km_value":10555419000832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605300553728,"description":"Unknown IO ID 45"} 
[2026-08-05 10:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191941888001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1741274605300553728}} 
[2026-08-05 10:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":150973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:31:17] local.INFO: GPS data processed {"connection_id":150973,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:31:17] local.INFO: Acknowledgment sent {"connection_id":150973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:31:20] local.INFO: TCP Data received {"connection_id":150974,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:31:20] local.INFO: Processing buffer {"connection_id":150974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:31:20] local.INFO: IMEI packet received {"connection_id":150974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":150974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:31:25] local.INFO: TCP Data received {"connection_id":150974,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:31:25] local.INFO: Processing buffer {"connection_id":150974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:31:25] local.INFO: IMEI packet received {"connection_id":150974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":150974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:31:26] local.INFO: TCP Data received {"connection_id":150974,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:31:26] local.INFO: Processing buffer {"connection_id":150974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:31:26] local.INFO: Packet analysis {"connection_id":150974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:31:26] local.INFO: Extracted packet for processing {"connection_id":150974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827968001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026885120,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785905879000,"timestamp_ms":1785905879000,"timestamp_seconds":1785905879,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04917d8"} 
[2026-08-05 10:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 10:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827968001,"66":26169,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199235582026885120},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827968001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:31:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026885120,"description":"Unknown IO ID 45"} 
[2026-08-05 10:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026885120}} 
[2026-08-05 10:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":150974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:31:26] local.INFO: GPS data processed {"connection_id":150974,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:31:26] local.INFO: Acknowledgment sent {"connection_id":150974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:31:40] local.INFO: TCP Data received {"connection_id":148558,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:31:40] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:31:40] local.INFO: IMEI packet received {"connection_id":148558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":148558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:31:45] local.INFO: TCP Data received {"connection_id":148558,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:31:45] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:31:45] local.INFO: IMEI packet received {"connection_id":148558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":148558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:31:46] local.INFO: TCP Data received {"connection_id":148558,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04b5228012d182ac007215548004500ab20..."} 
[2026-08-05 10:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04b5228012d182ac007215548004500ab20..."} 
[2026-08-05 10:31:46] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04b5228012d182ac007215548004500ab20..."} 
[2026-08-05 10:31:46] local.INFO: Packet analysis {"connection_id":148558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04b"} 
[2026-08-05 10:31:46] local.INFO: Extracted packet for processing {"connection_id":148558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04b"} 
[2026-08-05 10:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119625032,"longitude_deg":75.6558528,"latitude_deg":11.9625032,"altitude":69,"angle":171,"satellites":32,"speed":19,"hex_longitude":"2d182ac0","hex_latitude":"07215548","is_valid_coordinates":true} 
[2026-08-05 10:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191942144001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10555444770635776,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342788806656,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785906025000,"timestamp_ms":1785906025000,"timestamp_seconds":1785906025,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04b5228"} 
[2026-08-05 10:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 10:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191942144001,"66":14428,"107":206,"83":41984,"24":19,"16":10555444770635776,"45":1741415342788806656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191942144001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:31:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10555444770635776,"km_value":10555444770635.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342788806656,"description":"Unknown IO ID 45"} 
[2026-08-05 10:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191942144001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1741415342788806656}} 
[2026-08-05 10:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":148558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:31:46] local.INFO: GPS data processed {"connection_id":148558,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:31:46] local.INFO: Acknowledgment sent {"connection_id":148558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:31:57] local.INFO: TCP Data received {"connection_id":150974,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:31:57] local.INFO: Processing buffer {"connection_id":150974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:31:57] local.INFO: Packet analysis {"connection_id":150974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:31:57] local.INFO: Extracted packet for processing {"connection_id":150974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827968001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026885120,"note":"Value kept but may cause issues"} 
[2026-08-05 10:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785905879000,"timestamp_ms":1785905879000,"timestamp_seconds":1785905879,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04917d8"} 
[2026-08-05 10:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 10:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827968001,"66":26169,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199235582026885120},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827968001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:31:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026885120,"description":"Unknown IO ID 45"} 
[2026-08-05 10:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026885120}} 
[2026-08-05 10:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":150974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:31:57] local.INFO: GPS data processed {"connection_id":150974,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:31:57] local.INFO: Acknowledgment sent {"connection_id":150974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:32:15] local.INFO: TCP Data received {"connection_id":148559,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:32:15] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:32:15] local.INFO: IMEI packet received {"connection_id":148559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":148559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:32:18] local.INFO: TCP Data received {"connection_id":148558,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04c5fb0012d1879800720ce70003800781f..."} 
[2026-08-05 10:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04c5fb0012d1879800720ce70003800781f..."} 
[2026-08-05 10:32:18] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04c5fb0012d1879800720ce70003800781f..."} 
[2026-08-05 10:32:18] local.INFO: Packet analysis {"connection_id":148558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04c"} 
[2026-08-05 10:32:18] local.INFO: Extracted packet for processing {"connection_id":148558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04c"} 
[2026-08-05 10:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756578688,"raw_latitude":119590512,"longitude_deg":75.6578688,"latitude_deg":11.9590512,"altitude":56,"angle":120,"satellites":31,"speed":18,"hex_longitude":"2d187980","hex_latitude":"0720ce70","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191958784001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10557759758008320,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761048222405478400,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785906094000,"timestamp_ms":1785906094000,"timestamp_seconds":1785906094,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04c5fb0"} 
[2026-08-05 10:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 10:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191958784001,"66":12461,"103":206,"83":41984,"24":18,"16":10557759758008320,"45":1761048222405478400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191958784001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:32:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10557759758008320,"km_value":10557759758008.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761048222405478400,"description":"Unknown IO ID 45"} 
[2026-08-05 10:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191958784001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1761048222405478400}} 
[2026-08-05 10:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":148558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:32:18] local.INFO: GPS data processed {"connection_id":148558,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:32:18] local.INFO: Acknowledgment sent {"connection_id":148558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:32:20] local.INFO: TCP Data received {"connection_id":148559,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:32:20] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:32:20] local.INFO: IMEI packet received {"connection_id":148559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":148559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:32:21] local.INFO: TCP Data received {"connection_id":148559,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:32:21] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:32:21] local.INFO: Packet analysis {"connection_id":148559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:32:21] local.INFO: Extracted packet for processing {"connection_id":148559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:32:21] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827968001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026885120,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785905879000,"timestamp_ms":1785905879000,"timestamp_seconds":1785905879,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04917d8"} 
[2026-08-05 10:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 10:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:32: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-08-05 10:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827968001,"66":26169,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199235582026885120},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827968001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:32:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026885120,"description":"Unknown IO ID 45"} 
[2026-08-05 10:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026885120}} 
[2026-08-05 10:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":148559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:32:21] local.INFO: GPS data processed {"connection_id":148559,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:32:21] local.INFO: Acknowledgment sent {"connection_id":148559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:32:40] local.INFO: TCP Data received {"connection_id":149559,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:32:40] local.INFO: Processing buffer {"connection_id":149559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:32:40] local.INFO: IMEI packet received {"connection_id":149559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":149559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:32:41] local.INFO: TCP Data received {"connection_id":149559,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:32:41] local.INFO: Processing buffer {"connection_id":149559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:32:41] local.INFO: IMEI packet received {"connection_id":149559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":149559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:32:45] local.INFO: TCP Data received {"connection_id":149559,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:32:45] local.INFO: Processing buffer {"connection_id":149559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:32:45] local.INFO: IMEI packet received {"connection_id":149559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":149559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:32:46] local.INFO: TCP Data received {"connection_id":149559,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04c6780012d187c400720cc200038008c1f..."} 
[2026-08-05 10:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04c6780012d187c400720cc200038008c1f..."} 
[2026-08-05 10:32:46] local.INFO: Processing buffer {"connection_id":149559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04c6780012d187c400720cc200038008c1f..."} 
[2026-08-05 10:32:46] local.INFO: Packet analysis {"connection_id":149559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04c"} 
[2026-08-05 10:32:46] local.INFO: Extracted packet for processing {"connection_id":149559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04c"} 
[2026-08-05 10:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119589920,"longitude_deg":75.6579392,"latitude_deg":11.958992,"altitude":56,"angle":140,"satellites":31,"speed":19,"hex_longitude":"2d187c40","hex_latitude":"0720cc20","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191960064001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10557802707681280,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763581497195786240,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785906096000,"timestamp_ms":1785906096000,"timestamp_seconds":1785906096,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04c6780"} 
[2026-08-05 10:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 10:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191960064001,"66":12819,"103":206,"83":41984,"24":19,"16":10557802707681280,"45":1763581497195786240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191960064001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:32:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10557802707681280,"km_value":10557802707681.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763581497195786240,"description":"Unknown IO ID 45"} 
[2026-08-05 10:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191960064001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1763581497195786240}} 
[2026-08-05 10:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":149559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:32:46] local.INFO: GPS data processed {"connection_id":149559,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:32:46] local.INFO: Acknowledgment sent {"connection_id":149559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:32:53] local.INFO: TCP Data received {"connection_id":148559,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:32:53] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:32:53] local.INFO: Packet analysis {"connection_id":148559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:32:53] local.INFO: Extracted packet for processing {"connection_id":148559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:32:53] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827968001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026885120,"note":"Value kept but may cause issues"} 
[2026-08-05 10:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785905879000,"timestamp_ms":1785905879000,"timestamp_seconds":1785905879,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04917d8"} 
[2026-08-05 10:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 10:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827968001,"66":26169,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199235582026885120},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827968001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:32:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:32:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026885120,"description":"Unknown IO ID 45"} 
[2026-08-05 10:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026885120}} 
[2026-08-05 10:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":148559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:32:53] local.INFO: GPS data processed {"connection_id":148559,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:32:53] local.INFO: Acknowledgment sent {"connection_id":148559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:33:15] local.INFO: TCP Data received {"connection_id":149560,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:33:15] local.INFO: Processing buffer {"connection_id":149560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:33:15] local.INFO: IMEI packet received {"connection_id":149560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":149560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:33:18] local.INFO: TCP Data received {"connection_id":149559,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04d4df8012d18b9c0072092000025006a20..."} 
[2026-08-05 10:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04d4df8012d18b9c0072092000025006a20..."} 
[2026-08-05 10:33:18] local.INFO: Processing buffer {"connection_id":149559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04d4df8012d18b9c0072092000025006a20..."} 
[2026-08-05 10:33:18] local.INFO: Packet analysis {"connection_id":149559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:33:18] local.INFO: Extracted packet for processing {"connection_id":149559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756595136,"raw_latitude":119575040,"longitude_deg":75.6595136,"latitude_deg":11.957504,"altitude":37,"angle":106,"satellites":32,"speed":12,"hex_longitude":"2d18b9c0","hex_latitude":"07209200","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191975168001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10559314536169472,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781032945747912704,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785906155000,"timestamp_ms":1785906155000,"timestamp_seconds":1785906155,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04d4df8"} 
[2026-08-05 10:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-05 10:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191975168001,"66":14298,"103":206,"83":41984,"24":12,"16":10559314536169472,"45":1781032945747912704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191975168001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:33:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10559314536169472,"km_value":10559314536169.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781032945747912704,"description":"Unknown IO ID 45"} 
[2026-08-05 10:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191975168001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1781032945747912704}} 
[2026-08-05 10:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":149559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:33:18] local.INFO: GPS data processed {"connection_id":149559,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:33:18] local.INFO: Acknowledgment sent {"connection_id":149559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:33:20] local.INFO: TCP Data received {"connection_id":149560,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:33:20] local.INFO: Processing buffer {"connection_id":149560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:33:20] local.INFO: IMEI packet received {"connection_id":149560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":149560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:33:21] local.INFO: TCP Data received {"connection_id":149560,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:33:21] local.INFO: Processing buffer {"connection_id":149560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04917d8012d7fa4c005afd0d8000b00ee2c..."} 
[2026-08-05 10:33:21] local.INFO: Packet analysis {"connection_id":149560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:33:21] local.INFO: Extracted packet for processing {"connection_id":149560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd049"} 
[2026-08-05 10:33:21] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191827968001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026885120,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785905879000,"timestamp_ms":1785905879000,"timestamp_seconds":1785905879,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04917d8"} 
[2026-08-05 10:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 10:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:33: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-08-05 10:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191827968001,"66":26169,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9199235582026885120},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191827968001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:33:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026885120,"description":"Unknown IO ID 45"} 
[2026-08-05 10:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191827968001,"power":26169,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026885120}} 
[2026-08-05 10:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":149560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:33:21] local.INFO: GPS data processed {"connection_id":149560,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:33:21] local.INFO: Acknowledgment sent {"connection_id":149560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:33:40] local.INFO: TCP Data received {"connection_id":150975,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:33:40] local.INFO: Processing buffer {"connection_id":150975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:33:40] local.INFO: IMEI packet received {"connection_id":150975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":150975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:33:44] local.INFO: TCP Data received {"connection_id":150975,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:33:44] local.INFO: Processing buffer {"connection_id":150975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:33:44] local.INFO: IMEI packet received {"connection_id":150975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":150975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:33:45] local.INFO: TCP Data received {"connection_id":150975,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:33:45] local.INFO: Processing buffer {"connection_id":150975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:33:45] local.INFO: IMEI packet received {"connection_id":150975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":150975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:33:46] local.INFO: TCP Data received {"connection_id":150975,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04d51e0012d18bac0072091280024007c20..."} 
[2026-08-05 10:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04d51e0012d18bac0072091280024007c20..."} 
[2026-08-05 10:33:46] local.INFO: Processing buffer {"connection_id":150975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04d51e0012d18bac0072091280024007c20..."} 
[2026-08-05 10:33:46] local.INFO: Packet analysis {"connection_id":150975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:33:46] local.INFO: Extracted packet for processing {"connection_id":150975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756595392,"raw_latitude":119574824,"longitude_deg":75.6595392,"latitude_deg":11.9574824,"altitude":36,"angle":124,"satellites":32,"speed":12,"hex_longitude":"2d18bac0","hex_latitude":"07209128","is_valid_coordinates":true} 
[2026-08-05 10:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191975680001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10559331716038656,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781666264445485056,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785906156000,"timestamp_ms":1785906156000,"timestamp_seconds":1785906156,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04d51e0"} 
[2026-08-05 10:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:33: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-08-05 10:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-05 10:33: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-08-05 10:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191975680001,"66":14298,"103":206,"83":41984,"24":12,"16":10559331716038656,"45":1781666264445485056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191975680001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:33:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10559331716038656,"km_value":10559331716038.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781666264445485056,"description":"Unknown IO ID 45"} 
[2026-08-05 10:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191975680001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1781666264445485056}} 
[2026-08-05 10:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":150975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:33:46] local.INFO: GPS data processed {"connection_id":150975,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:33:46] local.INFO: Acknowledgment sent {"connection_id":150975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:33:50] local.INFO: TCP Data received {"connection_id":150975,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04d55c8012d18bb0007208ff80023008e1f..."} 
[2026-08-05 10:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04d55c8012d18bb0007208ff80023008e1f..."} 
[2026-08-05 10:33:50] local.INFO: Processing buffer {"connection_id":150975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04d55c8012d18bb0007208ff80023008e1f..."} 
[2026-08-05 10:33:50] local.INFO: Packet analysis {"connection_id":150975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:33:50] local.INFO: Extracted packet for processing {"connection_id":150975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756595456,"raw_latitude":119574520,"longitude_deg":75.6595456,"latitude_deg":11.957452,"altitude":35,"angle":142,"satellites":31,"speed":12,"hex_longitude":"2d18bb00","hex_latitude":"07208ff8","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191975936001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10559344600940544,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781947739422140416,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785906157000,"timestamp_ms":1785906157000,"timestamp_seconds":1785906157,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04d55c8"} 
[2026-08-05 10:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-05 10:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191975936001,"66":14341,"103":206,"83":41984,"24":12,"16":10559344600940544,"45":1781947739422140416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191975936001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:33:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10559344600940544,"km_value":10559344600940.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781947739422140416,"description":"Unknown IO ID 45"} 
[2026-08-05 10:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191975936001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1781947739422140416}} 
[2026-08-05 10:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":150975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:33:50] local.INFO: GPS data processed {"connection_id":150975,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:33:50] local.INFO: Acknowledgment sent {"connection_id":150975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:33:52] local.INFO: TCP Data received {"connection_id":149560,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:33:52] local.INFO: Processing buffer {"connection_id":149560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:33:52] local.INFO: Packet analysis {"connection_id":149560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:33:52] local.INFO: Extracted packet for processing {"connection_id":149560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:33:52] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191905024001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654464512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785906180000,"timestamp_ms":1785906180000,"timestamp_seconds":1785906180,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04dafa0"} 
[2026-08-05 10:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-05 10:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191905024001,"66":26006,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197687469654464512},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191905024001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:33:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654464512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191905024001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654464512}} 
[2026-08-05 10:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":149560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:33:52] local.INFO: GPS data processed {"connection_id":149560,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:33:52] local.INFO: Acknowledgment sent {"connection_id":149560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:34:20] local.INFO: TCP Data received {"connection_id":148560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:34:20] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:34:20] local.INFO: IMEI packet received {"connection_id":148560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":148560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:34:22] local.INFO: TCP Data received {"connection_id":150975,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04e24d0012d18dd0007205570002300af20..."} 
[2026-08-05 10:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04e24d0012d18dd0007205570002300af20..."} 
[2026-08-05 10:34:22] local.INFO: Processing buffer {"connection_id":150975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04e24d0012d18dd0007205570002300af20..."} 
[2026-08-05 10:34:22] local.INFO: Packet analysis {"connection_id":150975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04e"} 
[2026-08-05 10:34:22] local.INFO: Extracted packet for processing {"connection_id":150975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04e"} 
[2026-08-05 10:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756604160,"raw_latitude":119559536,"longitude_deg":75.660416,"latitude_deg":11.9559536,"altitude":35,"angle":175,"satellites":32,"speed":16,"hex_longitude":"2d18dd00","hex_latitude":"07205570","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191989248001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10560233659170816,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888626567168,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785906210000,"timestamp_ms":1785906210000,"timestamp_seconds":1785906210,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04e24d0"} 
[2026-08-05 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-08-05 10:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 10:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 10:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191989248001,"66":13624,"103":206,"83":41984,"24":16,"16":10560233659170816,"45":1791517888626567168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191989248001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:34:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10560233659170816,"km_value":10560233659170.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888626567168,"description":"Unknown IO ID 45"} 
[2026-08-05 10:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191989248001,"power":13624,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1791517888626567168}} 
[2026-08-05 10:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":150975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:34:22] local.INFO: GPS data processed {"connection_id":150975,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:34:22] local.INFO: Acknowledgment sent {"connection_id":150975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:34:25] local.INFO: TCP Data received {"connection_id":148560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:34:25] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:34:25] local.INFO: IMEI packet received {"connection_id":148560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":148560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:34:26] local.INFO: TCP Data received {"connection_id":148560,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:34:26] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:34:26] local.INFO: Packet analysis {"connection_id":148560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:34:26] local.INFO: Extracted packet for processing {"connection_id":148560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191905024001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654464512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785906180000,"timestamp_ms":1785906180000,"timestamp_seconds":1785906180,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04dafa0"} 
[2026-08-05 10:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-05 10:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191905024001,"66":26006,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197687469654464512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191905024001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:34:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654464512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191905024001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654464512}} 
[2026-08-05 10:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":148560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:34:26] local.INFO: GPS data processed {"connection_id":148560,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:34:26] local.INFO: Acknowledgment sent {"connection_id":148560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:34:40] local.INFO: TCP Data received {"connection_id":148337,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:40] local.INFO: Processing buffer {"connection_id":148337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:40] local.INFO: IMEI packet received {"connection_id":148337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":148337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:34:41] local.INFO: TCP Data received {"connection_id":148337,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:41] local.INFO: Processing buffer {"connection_id":148337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:41] local.INFO: IMEI packet received {"connection_id":148337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":148337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:34:43] local.INFO: TCP Data received {"connection_id":148337,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:43] local.INFO: Processing buffer {"connection_id":148337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:43] local.INFO: IMEI packet received {"connection_id":148337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":148337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:34:45] local.INFO: TCP Data received {"connection_id":148337,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:45] local.INFO: Processing buffer {"connection_id":148337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:34:45] local.INFO: IMEI packet received {"connection_id":148337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":148337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:34:46] local.INFO: TCP Data received {"connection_id":148337,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04e2ca0012d18dcc0072051e0002200ba20..."} 
[2026-08-05 10:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04e2ca0012d18dcc0072051e0002200ba20..."} 
[2026-08-05 10:34:46] local.INFO: Processing buffer {"connection_id":148337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04e2ca0012d18dcc0072051e0002200ba20..."} 
[2026-08-05 10:34:46] local.INFO: Packet analysis {"connection_id":148337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04e"} 
[2026-08-05 10:34:46] local.INFO: Extracted packet for processing {"connection_id":148337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04e"} 
[2026-08-05 10:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119558624,"longitude_deg":75.6604096,"latitude_deg":11.9558624,"altitude":34,"angle":186,"satellites":32,"speed":20,"hex_longitude":"2d18dcc0","hex_latitude":"072051e0","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191989760001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10560276608843776,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791588257370566656,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785906212000,"timestamp_ms":1785906212000,"timestamp_seconds":1785906212,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04e2ca0"} 
[2026-08-05 10:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:34: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-08-05 10: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-05 10:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191989760001,"66":14428,"103":206,"83":41984,"24":20,"16":10560276608843776,"45":1791588257370566656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191989760001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:34:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10560276608843776,"km_value":10560276608843.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791588257370566656,"description":"Unknown IO ID 45"} 
[2026-08-05 10:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191989760001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1791588257370566656}} 
[2026-08-05 10:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":148337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:34:46] local.INFO: GPS data processed {"connection_id":148337,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:34:46] local.INFO: Acknowledgment sent {"connection_id":148337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:34:57] local.INFO: TCP Data received {"connection_id":148560,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:34:57] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:34:57] local.INFO: Packet analysis {"connection_id":148560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:34:57] local.INFO: Extracted packet for processing {"connection_id":148560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191905024001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654464512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785906180000,"timestamp_ms":1785906180000,"timestamp_seconds":1785906180,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04dafa0"} 
[2026-08-05 10:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-05 10:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191905024001,"66":26006,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197687469654464512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191905024001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:34:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654464512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191905024001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654464512}} 
[2026-08-05 10:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":148560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:34:57] local.INFO: GPS data processed {"connection_id":148560,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:34:57] local.INFO: Acknowledgment sent {"connection_id":148560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:35:15] local.INFO: TCP Data received {"connection_id":149561,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:35:15] local.INFO: Processing buffer {"connection_id":149561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:35:15] local.INFO: IMEI packet received {"connection_id":149561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":149561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:35:18] local.INFO: TCP Data received {"connection_id":148337,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04e3c40012d18dd0007204958002100ae20..."} 
[2026-08-05 10:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04e3c40012d18dd0007204958002100ae20..."} 
[2026-08-05 10:35:18] local.INFO: Processing buffer {"connection_id":148337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04e3c40012d18dd0007204958002100ae20..."} 
[2026-08-05 10:35:18] local.INFO: Packet analysis {"connection_id":148337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04e"} 
[2026-08-05 10:35:18] local.INFO: Extracted packet for processing {"connection_id":148337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04e"} 
[2026-08-05 10:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756604160,"raw_latitude":119556440,"longitude_deg":75.660416,"latitude_deg":11.955644,"altitude":33,"angle":174,"satellites":32,"speed":23,"hex_longitude":"2d18dd00","hex_latitude":"07204958","is_valid_coordinates":true} 
[2026-08-05 10:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191990272001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10560383983026176,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888626155520,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785906216000,"timestamp_ms":1785906216000,"timestamp_seconds":1785906216,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04e3c40"} 
[2026-08-05 10:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 10:35: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-08-05 10:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191990272001,"66":14070,"102":206,"83":41984,"24":23,"16":10560383983026176,"45":1791517888626155520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191990272001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:35:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10560383983026176,"km_value":10560383983026.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888626155520,"description":"Unknown IO ID 45"} 
[2026-08-05 10:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191990272001,"power":14070,"unknown_102":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1791517888626155520}} 
[2026-08-05 10:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":148337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:35:18] local.INFO: GPS data processed {"connection_id":148337,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:35:18] local.INFO: Acknowledgment sent {"connection_id":148337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:35:20] local.INFO: TCP Data received {"connection_id":149561,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:35:20] local.INFO: Processing buffer {"connection_id":149561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:35:20] local.INFO: IMEI packet received {"connection_id":149561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":149561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:35:21] local.INFO: TCP Data received {"connection_id":149561,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:35:21] local.INFO: Processing buffer {"connection_id":149561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:35:21] local.INFO: Packet analysis {"connection_id":149561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:35:21] local.INFO: Extracted packet for processing {"connection_id":149561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191905024001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654464512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785906180000,"timestamp_ms":1785906180000,"timestamp_seconds":1785906180,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04dafa0"} 
[2026-08-05 10:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:35: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-08-05 10:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-05 10:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191905024001,"66":26006,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197687469654464512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191905024001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:35:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654464512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191905024001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654464512}} 
[2026-08-05 10:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":149561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:35:21] local.INFO: GPS data processed {"connection_id":149561,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:35:21] local.INFO: Acknowledgment sent {"connection_id":149561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:35:42] local.INFO: TCP Data received {"connection_id":148338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:42] local.INFO: Processing buffer {"connection_id":148338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:42] local.INFO: IMEI packet received {"connection_id":148338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":148338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:35:44] local.INFO: TCP Data received {"connection_id":148338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:44] local.INFO: Processing buffer {"connection_id":148338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:44] local.INFO: IMEI packet received {"connection_id":148338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":148338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:35:45] local.INFO: TCP Data received {"connection_id":148338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:45] local.INFO: Processing buffer {"connection_id":148338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:45] local.INFO: IMEI packet received {"connection_id":148338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":148338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:35:48] local.INFO: TCP Data received {"connection_id":148338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:48] local.INFO: Processing buffer {"connection_id":148338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:35:48] local.INFO: IMEI packet received {"connection_id":148338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":148338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:35:49] local.INFO: TCP Data received {"connection_id":148338,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04f3a28012d18d4c0071fe408002b00b222..."} 
[2026-08-05 10:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04f3a28012d18d4c0071fe408002b00b222..."} 
[2026-08-05 10:35:49] local.INFO: Processing buffer {"connection_id":148338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04f3a28012d18d4c0071fe408002b00b222..."} 
[2026-08-05 10:35:49] local.INFO: Packet analysis {"connection_id":148338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04f"} 
[2026-08-05 10:35:49] local.INFO: Extracted packet for processing {"connection_id":148338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04f"} 
[2026-08-05 10:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119530504,"longitude_deg":75.6602048,"latitude_deg":11.9530504,"altitude":43,"angle":178,"satellites":34,"speed":12,"hex_longitude":"2d18d4c0","hex_latitude":"071fe408","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192006144001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10561706832953344,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557643223040,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785906281000,"timestamp_ms":1785906281000,"timestamp_seconds":1785906281,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04f3a28"} 
[2026-08-05 10:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 10:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192006144001,"66":14396,"102":206,"83":41984,"24":12,"16":10561706832953344,"45":1788210557643223040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192006144001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:35:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10561706832953344,"km_value":10561706832953.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557643223040,"description":"Unknown IO ID 45"} 
[2026-08-05 10:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192006144001,"power":14396,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1788210557643223040}} 
[2026-08-05 10:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":148338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:35:49] local.INFO: GPS data processed {"connection_id":148338,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:35:49] local.INFO: Acknowledgment sent {"connection_id":148338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:35:52] local.INFO: TCP Data received {"connection_id":149561,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:35:52] local.INFO: Processing buffer {"connection_id":149561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04dafa0012d7fa4c005afd0d8000b00ee2b..."} 
[2026-08-05 10:35:52] local.INFO: Packet analysis {"connection_id":149561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:35:52] local.INFO: Extracted packet for processing {"connection_id":149561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04d"} 
[2026-08-05 10:35:52] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191905024001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654464512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785906180000,"timestamp_ms":1785906180000,"timestamp_seconds":1785906180,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04dafa0"} 
[2026-08-05 10:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-05 10:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191905024001,"66":26006,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197687469654464512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191905024001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:35:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654464512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191905024001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654464512}} 
[2026-08-05 10:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":149561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:35:52] local.INFO: GPS data processed {"connection_id":149561,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:35:52] local.INFO: Acknowledgment sent {"connection_id":149561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:36:19] local.INFO: TCP Data received {"connection_id":148338,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd04f4db0012d18d540071fde70002d008621..."} 
[2026-08-05 10:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd04f4db0012d18d540071fde70002d008621..."} 
[2026-08-05 10:36:19] local.INFO: Processing buffer {"connection_id":148338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd04f4db0012d18d540071fde70002d008621..."} 
[2026-08-05 10:36:19] local.INFO: Packet analysis {"connection_id":148338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd04f"} 
[2026-08-05 10:36:19] local.INFO: Extracted packet for processing {"connection_id":148338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd04f"} 
[2026-08-05 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756602176,"raw_latitude":119529072,"longitude_deg":75.6602176,"latitude_deg":11.9529072,"altitude":45,"angle":134,"satellites":33,"speed":6,"hex_longitude":"2d18d540","hex_latitude":"071fde70","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192007936001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10561779847397376,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088805271552,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785906286000,"timestamp_ms":1785906286000,"timestamp_seconds":1785906286,"priority":1,"record_length":96,"hex_timestamp":"0000019fd04f4db0"} 
[2026-08-05 10:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":60,"data_length":795,"current_offset":136} 
[2026-08-05 10:36: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-08-05 10: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-08-05 10:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192007936001,"66":14483,"102":206,"83":41984,"24":6,"16":10561779847397376,"45":1789266088805271552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192007936001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:36:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10561779847397376,"km_value":10561779847397.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088805271552,"description":"Unknown IO ID 45"} 
[2026-08-05 10:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192007936001,"power":14483,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1789266088805271552}} 
[2026-08-05 10:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":148338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:36:19] local.INFO: GPS data processed {"connection_id":148338,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:36:19] local.INFO: Acknowledgment sent {"connection_id":148338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:36:37] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:37] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:37] local.INFO: IMEI packet received {"connection_id":148561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":148561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:36:39] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:39] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:39] local.INFO: IMEI packet received {"connection_id":148561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":148561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:36:40] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:40] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:40] local.INFO: IMEI packet received {"connection_id":148561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":148561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:36:41] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:41] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:36:41] local.INFO: IMEI packet received {"connection_id":148561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":148561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:36:42] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0506ad8012d18e3c0071fe168002d00a621..."} 
[2026-08-05 10:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0506ad8012d18e3c0071fe168002d00a621..."} 
[2026-08-05 10:36:42] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0506ad8012d18e3c0071fe168002d00a621..."} 
[2026-08-05 10:36:42] local.INFO: Packet analysis {"connection_id":148561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:36:42] local.INFO: Extracted packet for processing {"connection_id":148561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756605888,"raw_latitude":119529832,"longitude_deg":75.6605888,"latitude_deg":11.9529832,"altitude":45,"angle":166,"satellites":33,"speed":1,"hex_longitude":"2d18e3c0","hex_latitude":"071fe168","is_valid_coordinates":true} 
[2026-08-05 10:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192027136001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10561994595762176,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793417844711620608,"note":"Value kept but may cause issues"} 
[2026-08-05 10: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-08-05 10:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785906359000,"timestamp_ms":1785906359000,"timestamp_seconds":1785906359,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0506ad8"} 
[2026-08-05 10:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 10:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219712,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3494876160,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3782737964,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 10:36:42] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:42] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3221692383,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2949167,"corrected_to":0} 
[2026-08-05 10:36:42] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2247360512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:42] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,134,159,13,45,226,33,10,66,187,1,240,224,227,208,31,4,113,205,8,155,217,200,239,56,2,37,7],"length":479,"final_offset":609,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":2949167,"validated":0}]} 
[2026-08-05 10:36:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242702924115083264,"timestamp_seconds":3242702924115083.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 10:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192027136001,"66":13396,"102":206,"83":41984,"24":1,"16":10561994595762176,"45":1793417844711620608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192027136001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:36:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10561994595762176,"km_value":10561994595762.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793417844711620608,"description":"Unknown IO ID 45"} 
[2026-08-05 10:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192027136001,"power":13396,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1793417844711620608}} 
[2026-08-05 10:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":148561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:36:42] local.INFO: GPS data processed {"connection_id":148561,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:36:42] local.INFO: Acknowledgment sent {"connection_id":148561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:36:45] local.INFO: TCP Data received {"connection_id":148562,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:36:45] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:36:45] local.INFO: IMEI packet received {"connection_id":148562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":148562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:36:50] local.INFO: TCP Data received {"connection_id":148562,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:36:50] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:36:50] local.INFO: IMEI packet received {"connection_id":148562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":148562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:36:51] local.INFO: TCP Data received {"connection_id":148562,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0505750012d7fa4c005afd0d8000b00ee2d..."} 
[2026-08-05 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0505750012d7fa4c005afd0d8000b00ee2d..."} 
[2026-08-05 10:36:51] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0505750012d7fa4c005afd0d8000b00ee2d..."} 
[2026-08-05 10:36:51] local.INFO: Packet analysis {"connection_id":148562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:36:51] local.INFO: Extracted packet for processing {"connection_id":148562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95408344,"longitude_deg":76.3339968,"latitude_deg":9.5408344,"altitude":11,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-08-05 10:36: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-08-05 10:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457191982080001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654464512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785906354000,"timestamp_ms":1785906354000,"timestamp_seconds":1785906354,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0505750"} 
[2026-08-05 10:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 10:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457191982080001,"66":25952,"27":206,"85":12544,"24":0,"16":370467158645276672,"45":9197687469654464512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457191982080001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:36:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:36:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654464512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457191982080001,"power":25952,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654464512}} 
[2026-08-05 10:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":148562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:36:51] local.INFO: GPS data processed {"connection_id":148562,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:36:51] local.INFO: Acknowledgment sent {"connection_id":148562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:37:13] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05072a8012d18e380071fe128002d00b521..."} 
[2026-08-05 10:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05072a8012d18e380071fe128002d00b521..."} 
[2026-08-05 10:37:13] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05072a8012d18e380071fe128002d00b521..."} 
[2026-08-05 10:37:13] local.INFO: Packet analysis {"connection_id":148561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:37:13] local.INFO: Extracted packet for processing {"connection_id":148561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756605824,"raw_latitude":119529768,"longitude_deg":75.6605824,"latitude_deg":11.9529768,"altitude":45,"angle":181,"satellites":33,"speed":1,"hex_longitude":"2d18e380","hex_latitude":"071fe128","is_valid_coordinates":true} 
[2026-08-05 10:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192027904001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10561998890729472,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793488213455759360,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785906361000,"timestamp_ms":1785906361000,"timestamp_seconds":1785906361,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05072a8"} 
[2026-08-05 10:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 10:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192027904001,"66":14080,"102":206,"83":41984,"24":1,"16":10561998890729472,"45":1793488213455759360},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192027904001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:37:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10561998890729472,"km_value":10561998890729.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793488213455759360,"description":"Unknown IO ID 45"} 
[2026-08-05 10:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192027904001,"power":14080,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1793488213455759360}} 
[2026-08-05 10:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":148561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:37:13] local.INFO: GPS data processed {"connection_id":148561,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:37:13] local.INFO: Acknowledgment sent {"connection_id":148561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:37:15] local.INFO: TCP Data received {"connection_id":150976,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:37:15] local.INFO: Processing buffer {"connection_id":150976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:37:15] local.INFO: IMEI packet received {"connection_id":150976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":150976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:37:18] local.INFO: TCP Data received {"connection_id":150976,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:37:18] local.INFO: Processing buffer {"connection_id":150976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:37:18] local.INFO: IMEI packet received {"connection_id":150976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":150976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:37:20] local.INFO: TCP Data received {"connection_id":150976,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:37:20] local.INFO: Processing buffer {"connection_id":150976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:37:20] local.INFO: IMEI packet received {"connection_id":150976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":150976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:37:23] local.INFO: TCP Data received {"connection_id":150976,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05066f0012d7fa44005afcd28000b00cb2d..."} 
[2026-08-05 10:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05066f0012d7fa44005afcd28000b00cb2d..."} 
[2026-08-05 10:37:23] local.INFO: Processing buffer {"connection_id":150976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05066f0012d7fa44005afcd28000b00cb2d..."} 
[2026-08-05 10:37:23] local.INFO: Packet analysis {"connection_id":150976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:37:23] local.INFO: Extracted packet for processing {"connection_id":150976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95407400,"longitude_deg":76.333984,"latitude_deg":9.54074,"altitude":11,"angle":203,"satellites":45,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afcd28","is_valid_coordinates":true} 
[2026-08-05 10:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192026624001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654464512,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785906358000,"timestamp_ms":1785906358000,"timestamp_seconds":1785906358,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05066f0"} 
[2026-08-05 10:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 10:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192026624001,"66":27539,"27":206,"85":12544,"24":0,"16":370467158645276672,"45":9197687469654464512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192026624001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:37:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:37:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654464512,"description":"Unknown IO ID 45"} 
[2026-08-05 10:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192026624001,"power":27539,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654464512}} 
[2026-08-05 10:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":150976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:37:23] local.INFO: GPS data processed {"connection_id":150976,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:37:23] local.INFO: Acknowledgment sent {"connection_id":150976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:37:40] local.INFO: TCP Data received {"connection_id":148563,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:37:40] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:37:40] local.INFO: IMEI packet received {"connection_id":148563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":148563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:37:44] local.INFO: TCP Data received {"connection_id":148563,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:37:44] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:37:44] local.INFO: IMEI packet received {"connection_id":148563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":148563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:37:44] local.INFO: TCP Data received {"connection_id":148563,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0507a78012d18e3c0071fe120002d00a621..."} 
[2026-08-05 10:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0507a78012d18e3c0071fe120002d00a621..."} 
[2026-08-05 10:37:44] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0507a78012d18e3c0071fe120002d00a621..."} 
[2026-08-05 10:37:44] local.INFO: Packet analysis {"connection_id":148563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:37:44] local.INFO: Extracted packet for processing {"connection_id":148563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756605888,"raw_latitude":119529760,"longitude_deg":75.6605888,"latitude_deg":11.952976,"altitude":45,"angle":166,"satellites":33,"speed":1,"hex_longitude":"2d18e3c0","hex_latitude":"071fe120","is_valid_coordinates":true} 
[2026-08-05 10:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192028416001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10562003185696768,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793417844711565312,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785906363000,"timestamp_ms":1785906363000,"timestamp_seconds":1785906363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0507a78"} 
[2026-08-05 10:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 10:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219712,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3494882160,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3792175149,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 10:37:44] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148984,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:44] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2248474624,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:44] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,134,159,106,45,192,225,33,10,66,95,128,226,13,1,240,55,227,208,31,4,113,205,187,223,32,239,54,2,37,7,44,8],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 10:37:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242790885045370880,"timestamp_seconds":3242790885045371.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 10:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192028416001,"66":14048,"102":206,"83":41984,"24":1,"16":10562003185696768,"45":1793417844711565312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192028416001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:37:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:37:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10562003185696768,"km_value":10562003185696.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793417844711565312,"description":"Unknown IO ID 45"} 
[2026-08-05 10:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192028416001,"power":14048,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1793417844711565312}} 
[2026-08-05 10:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":148563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:37:45] local.INFO: GPS data processed {"connection_id":148563,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:37:45] local.INFO: Acknowledgment sent {"connection_id":148563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:37:54] local.INFO: TCP Data received {"connection_id":150976,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd050b8f8012d7fa44005afcd28000b00cb2a..."} 
[2026-08-05 10:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd050b8f8012d7fa44005afcd28000b00cb2a..."} 
[2026-08-05 10:37:54] local.INFO: Processing buffer {"connection_id":150976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd050b8f8012d7fa44005afcd28000b00cb2a..."} 
[2026-08-05 10:37:54] local.INFO: Packet analysis {"connection_id":150976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:37:54] local.INFO: Extracted packet for processing {"connection_id":150976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95407400,"longitude_deg":76.333984,"latitude_deg":9.54074,"altitude":11,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afcd28","is_valid_coordinates":true} 
[2026-08-05 10:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192027648001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165867520,"note":"Value kept but may cause issues"} 
[2026-08-05 10:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785906379000,"timestamp_ms":1785906379000,"timestamp_seconds":1785906379,"priority":1,"record_length":96,"hex_timestamp":"0000019fd050b8f8"} 
[2026-08-05 10:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 10:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":150976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":150976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":150976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192027648001,"66":27865,"27":206,"85":12544,"24":0,"16":370467158645276672,"45":9197546732165867520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192027648001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:37:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:37:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165867520,"description":"Unknown IO ID 45"} 
[2026-08-05 10:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192027648001,"power":27865,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732165867520}} 
[2026-08-05 10:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":150976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:37:54] local.INFO: GPS data processed {"connection_id":150976,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:37:54] local.INFO: Acknowledgment sent {"connection_id":150976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:38:16] local.INFO: TCP Data received {"connection_id":148563,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd050cc80012d18e440071fe168002d00a221..."} 
[2026-08-05 10:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd050cc80012d18e440071fe168002d00a221..."} 
[2026-08-05 10:38:16] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd050cc80012d18e440071fe168002d00a221..."} 
[2026-08-05 10:38:16] local.INFO: Packet analysis {"connection_id":148563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:38:16] local.INFO: Extracted packet for processing {"connection_id":148563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd050"} 
[2026-08-05 10:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756606016,"raw_latitude":119529832,"longitude_deg":75.6606016,"latitude_deg":11.9529832,"altitude":45,"angle":162,"satellites":33,"speed":0,"hex_longitude":"2d18e440","hex_latitude":"071fe168","is_valid_coordinates":true} 
[2026-08-05 10:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192028928001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10562011775631360,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793488213455740928,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785906384000,"timestamp_ms":1785906384000,"timestamp_seconds":1785906384,"priority":1,"record_length":96,"hex_timestamp":"0000019fd050cc80"} 
[2026-08-05 10:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 10:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192028928001,"66":14102,"102":206,"83":41984,"24":0,"16":10562011775631360,"45":1793488213455740928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192028928001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:38:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:38:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10562011775631360,"km_value":10562011775631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793488213455740928,"description":"Unknown IO ID 45"} 
[2026-08-05 10:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192028928001,"power":14102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1793488213455740928}} 
[2026-08-05 10:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":148563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:38:16] local.INFO: GPS data processed {"connection_id":148563,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:38:16] local.INFO: Acknowledgment sent {"connection_id":148563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:38:21] local.INFO: TCP Data received {"connection_id":148339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:38:21] local.INFO: Processing buffer {"connection_id":148339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:38:21] local.INFO: IMEI packet received {"connection_id":148339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":148339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:38:25] local.INFO: TCP Data received {"connection_id":148339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:38:25] local.INFO: Processing buffer {"connection_id":148339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:38:25] local.INFO: IMEI packet received {"connection_id":148339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":148339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:38:26] local.INFO: TCP Data received {"connection_id":148339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0510b00012d7fa44005afcd28000b00cb2e..."} 
[2026-08-05 10:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0510b00012d7fa44005afcd28000b00cb2e..."} 
[2026-08-05 10:38:26] local.INFO: Processing buffer {"connection_id":148339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0510b00012d7fa44005afcd28000b00cb2e..."} 
[2026-08-05 10:38:26] local.INFO: Packet analysis {"connection_id":148339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:38:26] local.INFO: Extracted packet for processing {"connection_id":148339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95407400,"longitude_deg":76.333984,"latitude_deg":9.54074,"altitude":11,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afcd28","is_valid_coordinates":true} 
[2026-08-05 10:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192033024001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165867520,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785906400000,"timestamp_ms":1785906400000,"timestamp_seconds":1785906400,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0510b00"} 
[2026-08-05 10:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 10:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192033024001,"66":27800,"27":206,"85":12544,"24":0,"16":370467158645276672,"45":9197546732165867520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192033024001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:38:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165867520,"description":"Unknown IO ID 45"} 
[2026-08-05 10:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192033024001,"power":27800,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732165867520}} 
[2026-08-05 10:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":148339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:38:26] local.INFO: GPS data processed {"connection_id":148339,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:38:26] local.INFO: Acknowledgment sent {"connection_id":148339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:38:31] local.INFO: TCP Data received {"connection_id":148339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0514d68012d7fa44005afcd28000b00cb2b..."} 
[2026-08-05 10:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0514d68012d7fa44005afcd28000b00cb2b..."} 
[2026-08-05 10:38:31] local.INFO: Processing buffer {"connection_id":148339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0514d68012d7fa44005afcd28000b00cb2b..."} 
[2026-08-05 10:38:31] local.INFO: Packet analysis {"connection_id":148339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:38:31] local.INFO: Extracted packet for processing {"connection_id":148339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95407400,"longitude_deg":76.333984,"latitude_deg":9.54074,"altitude":11,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d7fa440","hex_latitude":"05afcd28","is_valid_coordinates":true} 
[2026-08-05 10:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192038400001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165867520,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785906417000,"timestamp_ms":1785906417000,"timestamp_seconds":1785906417,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0514d68"} 
[2026-08-05 10:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 10:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192038400001,"66":27930,"27":206,"85":12544,"24":0,"16":370467158645276672,"45":9197546732165867520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192038400001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:38:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:38:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165867520,"description":"Unknown IO ID 45"} 
[2026-08-05 10:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192038400001,"power":27930,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732165867520}} 
[2026-08-05 10:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":148339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:38:31] local.INFO: GPS data processed {"connection_id":148339,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:38:31] local.INFO: Acknowledgment sent {"connection_id":148339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:38:40] local.INFO: TCP Data received {"connection_id":148340,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:38:40] local.INFO: Processing buffer {"connection_id":148340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:38:40] local.INFO: IMEI packet received {"connection_id":148340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":148340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:38:42] local.INFO: TCP Data received {"connection_id":148340,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:38:42] local.INFO: Processing buffer {"connection_id":148340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:38:42] local.INFO: IMEI packet received {"connection_id":148340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":148340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:38:45] local.INFO: TCP Data received {"connection_id":148340,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:38:45] local.INFO: Processing buffer {"connection_id":148340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:38:45] local.INFO: IMEI packet received {"connection_id":148340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":148340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:38:46] local.INFO: TCP Data received {"connection_id":148340,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0511e88012d18e440071fe168002d00a220..."} 
[2026-08-05 10:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0511e88012d18e440071fe168002d00a220..."} 
[2026-08-05 10:38:46] local.INFO: Processing buffer {"connection_id":148340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0511e88012d18e440071fe168002d00a220..."} 
[2026-08-05 10:38:46] local.INFO: Packet analysis {"connection_id":148340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:38:46] local.INFO: Extracted packet for processing {"connection_id":148340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756606016,"raw_latitude":119529832,"longitude_deg":75.6606016,"latitude_deg":11.9529832,"altitude":45,"angle":162,"satellites":32,"speed":0,"hex_longitude":"2d18e440","hex_latitude":"071fe168","is_valid_coordinates":true} 
[2026-08-05 10:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192034304001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10562011775631360,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793628950944114688,"note":"Value kept but may cause issues"} 
[2026-08-05 10:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785906405000,"timestamp_ms":1785906405000,"timestamp_seconds":1785906405,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0511e88"} 
[2026-08-05 10:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:38: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-08-05 10:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 10:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192034304001,"66":14135,"102":206,"83":41984,"24":0,"16":10562011775631360,"45":1793628950944114688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192034304001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10562011775631360,"km_value":10562011775631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793628950944114688,"description":"Unknown IO ID 45"} 
[2026-08-05 10:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192034304001,"power":14135,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1793628950944114688}} 
[2026-08-05 10:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":148340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:38:46] local.INFO: GPS data processed {"connection_id":148340,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:38:46] local.INFO: Acknowledgment sent {"connection_id":148340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:39:15] local.INFO: TCP Data received {"connection_id":149562,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:39:15] local.INFO: Processing buffer {"connection_id":149562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:39:15] local.INFO: IMEI packet received {"connection_id":149562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":149562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:39:18] local.INFO: TCP Data received {"connection_id":148340,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd052b8b0012d18d4c0071fe4c80031015122..."} 
[2026-08-05 10:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd052b8b0012d18d4c0071fe4c80031015122..."} 
[2026-08-05 10:39:18] local.INFO: Processing buffer {"connection_id":148340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd052b8b0012d18d4c0071fe4c80031015122..."} 
[2026-08-05 10:39:18] local.INFO: Packet analysis {"connection_id":148340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd052"} 
[2026-08-05 10:39:18] local.INFO: Extracted packet for processing {"connection_id":148340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd052"} 
[2026-08-05 10:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119530696,"longitude_deg":75.6602048,"latitude_deg":11.9530696,"altitude":49,"angle":337,"satellites":34,"speed":9,"hex_longitude":"2d18d4c0","hex_latitude":"071fe4c8","is_valid_coordinates":true} 
[2026-08-05 10:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192064256001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10562321013276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563781603328,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785906510000,"timestamp_ms":1785906510000,"timestamp_seconds":1785906510,"priority":1,"record_length":96,"hex_timestamp":"0000019fd052b8b0"} 
[2026-08-05 10:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 10:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192064256001,"66":14102,"102":206,"83":41984,"24":9,"16":10562321013276672,"45":1789547563781603328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192064256001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:39:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10562321013276672,"km_value":10562321013276.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563781603328,"description":"Unknown IO ID 45"} 
[2026-08-05 10:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192064256001,"power":14102,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1789547563781603328}} 
[2026-08-05 10:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":148340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:39:18] local.INFO: GPS data processed {"connection_id":148340,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:39:18] local.INFO: Acknowledgment sent {"connection_id":148340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:39:20] local.INFO: TCP Data received {"connection_id":149562,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:39:20] local.INFO: Processing buffer {"connection_id":149562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:39:20] local.INFO: IMEI packet received {"connection_id":149562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":149562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:39:21] local.INFO: TCP Data received {"connection_id":149562,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:39:21] local.INFO: Processing buffer {"connection_id":149562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:39:21] local.INFO: Packet analysis {"connection_id":149562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:39:21] local.INFO: Extracted packet for processing {"connection_id":149562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95407616,"longitude_deg":76.333984,"latitude_deg":9.5407616,"altitude":11,"angle":352,"satellites":44,"speed":2,"hex_longitude":"2d7fa440","hex_latitude":"05afce00","is_valid_coordinates":true} 
[2026-08-05 10:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192042752001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165867520,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785906419000,"timestamp_ms":1785906419000,"timestamp_seconds":1785906419,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0515538"} 
[2026-08-05 10:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 10:39: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-08-05 10:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:39: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-08-05 10:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192042752001,"66":27604,"27":206,"85":12544,"24":2,"16":370467158645276672,"45":9197546732165867520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192042752001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:39:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165867520,"description":"Unknown IO ID 45"} 
[2026-08-05 10:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192042752001,"power":27604,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197546732165867520}} 
[2026-08-05 10:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":149562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:39:21] local.INFO: GPS data processed {"connection_id":149562,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:39:21] local.INFO: Acknowledgment sent {"connection_id":149562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:39:40] local.INFO: TCP Data received {"connection_id":150977,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:39:40] local.INFO: Processing buffer {"connection_id":150977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:39:40] local.INFO: IMEI packet received {"connection_id":150977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":150977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:39:44] local.INFO: TCP Data received {"connection_id":150977,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:39:44] local.INFO: Processing buffer {"connection_id":150977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:39:44] local.INFO: IMEI packet received {"connection_id":150977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":150977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:39:45] local.INFO: TCP Data received {"connection_id":150977,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd052c468012d18d340071fe7980031014422..."} 
[2026-08-05 10:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd052c468012d18d340071fe7980031014422..."} 
[2026-08-05 10:39:45] local.INFO: Processing buffer {"connection_id":150977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd052c468012d18d340071fe7980031014422..."} 
[2026-08-05 10:39:45] local.INFO: Packet analysis {"connection_id":150977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd052"} 
[2026-08-05 10:39:45] local.INFO: Extracted packet for processing {"connection_id":150977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd052"} 
[2026-08-05 10:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119531416,"longitude_deg":75.6601664,"latitude_deg":11.9531416,"altitude":49,"angle":324,"satellites":34,"speed":10,"hex_longitude":"2d18d340","hex_latitude":"071fe798","is_valid_coordinates":true} 
[2026-08-05 10:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192066560001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10562359667982336,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088805320704,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785906513000,"timestamp_ms":1785906513000,"timestamp_seconds":1785906513,"priority":1,"record_length":96,"hex_timestamp":"0000019fd052c468"} 
[2026-08-05 10:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 10:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192066560001,"66":14080,"102":206,"83":41984,"24":10,"16":10562359667982336,"45":1789266088805320704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192066560001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:39:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10562359667982336,"km_value":10562359667982.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088805320704,"description":"Unknown IO ID 45"} 
[2026-08-05 10:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192066560001,"power":14080,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1789266088805320704}} 
[2026-08-05 10:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":150977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:39:45] local.INFO: GPS data processed {"connection_id":150977,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:39:45] local.INFO: Acknowledgment sent {"connection_id":150977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:39:52] local.INFO: TCP Data received {"connection_id":149562,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:39:52] local.INFO: Processing buffer {"connection_id":149562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:39:52] local.INFO: Packet analysis {"connection_id":149562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:39:52] local.INFO: Extracted packet for processing {"connection_id":149562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95407616,"longitude_deg":76.333984,"latitude_deg":9.5407616,"altitude":11,"angle":352,"satellites":44,"speed":2,"hex_longitude":"2d7fa440","hex_latitude":"05afce00","is_valid_coordinates":true} 
[2026-08-05 10:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192042752001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165867520,"note":"Value kept but may cause issues"} 
[2026-08-05 10:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785906419000,"timestamp_ms":1785906419000,"timestamp_seconds":1785906419,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0515538"} 
[2026-08-05 10:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 10:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192042752001,"66":27604,"27":206,"85":12544,"24":2,"16":370467158645276672,"45":9197546732165867520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192042752001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:39:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165867520,"description":"Unknown IO ID 45"} 
[2026-08-05 10:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192042752001,"power":27604,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197546732165867520}} 
[2026-08-05 10:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":149562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:39:52] local.INFO: GPS data processed {"connection_id":149562,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:39:52] local.INFO: Acknowledgment sent {"connection_id":149562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:40:15] local.INFO: TCP Data received {"connection_id":148341,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:40:15] local.INFO: Processing buffer {"connection_id":148341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:40:15] local.INFO: IMEI packet received {"connection_id":148341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":148341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:40:16] local.INFO: TCP Data received {"connection_id":150977,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd052d408012d18d080071fec600032015221..."} 
[2026-08-05 10:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd052d408012d18d080071fec600032015221..."} 
[2026-08-05 10:40:16] local.INFO: Processing buffer {"connection_id":150977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd052d408012d18d080071fec600032015221..."} 
[2026-08-05 10:40:16] local.INFO: Packet analysis {"connection_id":150977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd052"} 
[2026-08-05 10:40:16] local.INFO: Extracted packet for processing {"connection_id":150977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd052"} 
[2026-08-05 10:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756600960,"raw_latitude":119532640,"longitude_deg":75.660096,"latitude_deg":11.953264,"altitude":50,"angle":338,"satellites":33,"speed":14,"hex_longitude":"2d18d080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-08-05 10:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192067328001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10562428387459072,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876340439040,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785906517000,"timestamp_ms":1785906517000,"timestamp_seconds":1785906517,"priority":1,"record_length":96,"hex_timestamp":"0000019fd052d408"} 
[2026-08-05 10:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219712,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3495069160,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3715629104,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2147950557,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2252865536,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,134,159,184,45,192,228,49,34,10,66,149,222,48,33,145,1,240,56,227,208,31,4,113,205,137,214,239,2,37,7,3],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 10:40:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531178495655411712,"timestamp_seconds":3531178495655411.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 10:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192067328001,"66":14537,"102":206,"83":41984,"24":14,"16":10562428387459072,"45":1788843876340439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192067328001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:40:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10562428387459072,"km_value":10562428387459.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876340439040,"description":"Unknown IO ID 45"} 
[2026-08-05 10:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192067328001,"power":14537,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1788843876340439040}} 
[2026-08-05 10:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":150977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:40:16] local.INFO: GPS data processed {"connection_id":150977,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:40:16] local.INFO: Acknowledgment sent {"connection_id":150977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:40:20] local.INFO: TCP Data received {"connection_id":148341,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:40:20] local.INFO: Processing buffer {"connection_id":148341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:40:20] local.INFO: IMEI packet received {"connection_id":148341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":148341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:40:21] local.INFO: TCP Data received {"connection_id":148341,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:40:21] local.INFO: Processing buffer {"connection_id":148341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:40:21] local.INFO: Packet analysis {"connection_id":148341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:40:21] local.INFO: Extracted packet for processing {"connection_id":148341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:40:21] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95407616,"longitude_deg":76.333984,"latitude_deg":9.5407616,"altitude":11,"angle":352,"satellites":44,"speed":2,"hex_longitude":"2d7fa440","hex_latitude":"05afce00","is_valid_coordinates":true} 
[2026-08-05 10:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192042752001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165867520,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785906419000,"timestamp_ms":1785906419000,"timestamp_seconds":1785906419,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0515538"} 
[2026-08-05 10:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:40: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-08-05 10:40: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-08-05 10:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:40: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-08-05 10:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192042752001,"66":27604,"27":206,"85":12544,"24":2,"16":370467158645276672,"45":9197546732165867520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192042752001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:40:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165867520,"description":"Unknown IO ID 45"} 
[2026-08-05 10:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192042752001,"power":27604,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197546732165867520}} 
[2026-08-05 10:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":148341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:40:21] local.INFO: GPS data processed {"connection_id":148341,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:40:21] local.INFO: Acknowledgment sent {"connection_id":148341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:40:40] local.INFO: TCP Data received {"connection_id":149563,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:40:40] local.INFO: Processing buffer {"connection_id":149563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:40:40] local.INFO: IMEI packet received {"connection_id":149563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":149563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:40:40] local.INFO: TCP Data received {"connection_id":149563,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:40:40] local.INFO: Processing buffer {"connection_id":149563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:40:40] local.INFO: IMEI packet received {"connection_id":149563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":149563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:40:45] local.INFO: TCP Data received {"connection_id":149563,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:40:45] local.INFO: Processing buffer {"connection_id":149563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:40:45] local.INFO: IMEI packet received {"connection_id":149563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":149563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:40:46] local.INFO: TCP Data received {"connection_id":149563,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd053f518012d18dc80072056f0002e015222..."} 
[2026-08-05 10:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd053f518012d18dc80072056f0002e015222..."} 
[2026-08-05 10:40:46] local.INFO: Processing buffer {"connection_id":149563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd053f518012d18dc80072056f0002e015222..."} 
[2026-08-05 10:40:46] local.INFO: Packet analysis {"connection_id":149563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd053"} 
[2026-08-05 10:40:46] local.INFO: Extracted packet for processing {"connection_id":149563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd053"} 
[2026-08-05 10:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119559920,"longitude_deg":75.6604032,"latitude_deg":11.955992,"altitude":46,"angle":338,"satellites":34,"speed":12,"hex_longitude":"2d18dc80","hex_latitude":"072056f0","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192082688001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10563824251830272,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791658626112686080,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40: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-08-05 10:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785906591000,"timestamp_ms":1785906591000,"timestamp_seconds":1785906591,"priority":1,"record_length":96,"hex_timestamp":"0000019fd053f518"} 
[2026-08-05 10:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 10:40: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-08-05 10: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-08-05 10:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192082688001,"66":14515,"102":206,"83":41984,"24":12,"16":10563824251830272,"45":1791658626112686080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192082688001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:40:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10563824251830272,"km_value":10563824251830.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791658626112686080,"description":"Unknown IO ID 45"} 
[2026-08-05 10:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192082688001,"power":14515,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791658626112686080}} 
[2026-08-05 10:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":149563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:40:46] local.INFO: GPS data processed {"connection_id":149563,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:40:46] local.INFO: Acknowledgment sent {"connection_id":149563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:40:53] local.INFO: TCP Data received {"connection_id":148341,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:40:53] local.INFO: Processing buffer {"connection_id":148341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:40:53] local.INFO: Packet analysis {"connection_id":148341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:40:53] local.INFO: Extracted packet for processing {"connection_id":148341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:40:53] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95407616,"longitude_deg":76.333984,"latitude_deg":9.5407616,"altitude":11,"angle":352,"satellites":44,"speed":2,"hex_longitude":"2d7fa440","hex_latitude":"05afce00","is_valid_coordinates":true} 
[2026-08-05 10:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192042752001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165867520,"note":"Value kept but may cause issues"} 
[2026-08-05 10:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785906419000,"timestamp_ms":1785906419000,"timestamp_seconds":1785906419,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0515538"} 
[2026-08-05 10:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 10:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192042752001,"66":27604,"27":206,"85":12544,"24":2,"16":370467158645276672,"45":9197546732165867520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192042752001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:40:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:40:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165867520,"description":"Unknown IO ID 45"} 
[2026-08-05 10:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192042752001,"power":27604,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197546732165867520}} 
[2026-08-05 10:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":148341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:40:53] local.INFO: GPS data processed {"connection_id":148341,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:40:53] local.INFO: Acknowledgment sent {"connection_id":148341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:41:15] local.INFO: TCP Data received {"connection_id":148564,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:41:15] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:41:15] local.INFO: IMEI packet received {"connection_id":148564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":148564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:41:17] local.INFO: TCP Data received {"connection_id":149563,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0549158012d18c30007207f30002b01371f..."} 
[2026-08-05 10:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0549158012d18c30007207f30002b01371f..."} 
[2026-08-05 10:41:17] local.INFO: Processing buffer {"connection_id":149563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0549158012d18c30007207f30002b01371f..."} 
[2026-08-05 10:41:17] local.INFO: Packet analysis {"connection_id":149563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd054"} 
[2026-08-05 10:41:17] local.INFO: Extracted packet for processing {"connection_id":149563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd054"} 
[2026-08-05 10:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119570224,"longitude_deg":75.6597504,"latitude_deg":11.9570224,"altitude":43,"angle":311,"satellites":31,"speed":10,"hex_longitude":"2d18c300","hex_latitude":"07207f30","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192097024001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10564447022088192,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751699607552,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785906631000,"timestamp_ms":1785906631000,"timestamp_seconds":1785906631,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0549158"} 
[2026-08-05 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-08-05 10:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 10:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 10:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192097024001,"66":14396,"102":206,"83":41984,"24":10,"16":10564447022088192,"45":1784621751699607552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192097024001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:41:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10564447022088192,"km_value":10564447022088.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751699607552,"description":"Unknown IO ID 45"} 
[2026-08-05 10:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192097024001,"power":14396,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1784621751699607552}} 
[2026-08-05 10:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":149563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:41:17] local.INFO: GPS data processed {"connection_id":149563,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:41:17] local.INFO: Acknowledgment sent {"connection_id":149563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:41:20] local.INFO: TCP Data received {"connection_id":148564,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:41:20] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:41:20] local.INFO: IMEI packet received {"connection_id":148564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":148564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:41:21] local.INFO: TCP Data received {"connection_id":148564,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:41:21] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:41:21] local.INFO: Packet analysis {"connection_id":148564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:41:21] local.INFO: Extracted packet for processing {"connection_id":148564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:41:21] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95407616,"longitude_deg":76.333984,"latitude_deg":9.5407616,"altitude":11,"angle":352,"satellites":44,"speed":2,"hex_longitude":"2d7fa440","hex_latitude":"05afce00","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192042752001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165867520,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785906419000,"timestamp_ms":1785906419000,"timestamp_seconds":1785906419,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0515538"} 
[2026-08-05 10:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 10:41: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-08-05 10: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-08-05 10:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192042752001,"66":27604,"27":206,"85":12544,"24":2,"16":370467158645276672,"45":9197546732165867520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192042752001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:41:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165867520,"description":"Unknown IO ID 45"} 
[2026-08-05 10:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192042752001,"power":27604,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197546732165867520}} 
[2026-08-05 10:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":148564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:41:21] local.INFO: GPS data processed {"connection_id":148564,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:41:21] local.INFO: Acknowledgment sent {"connection_id":148564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:41:40] local.INFO: TCP Data received {"connection_id":148565,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:41:40] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:41:40] local.INFO: IMEI packet received {"connection_id":148565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":148565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:41:44] local.INFO: TCP Data received {"connection_id":148565,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:41:44] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:41:44] local.INFO: IMEI packet received {"connection_id":148565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":148565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:41:45] local.INFO: TCP Data received {"connection_id":148565,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:41:45] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:41:45] local.INFO: IMEI packet received {"connection_id":148565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":148565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:41:45] local.INFO: TCP Data received {"connection_id":148565,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0549d10012d18c100072081a0002b014320..."} 
[2026-08-05 10:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0549d10012d18c100072081a0002b014320..."} 
[2026-08-05 10:41:45] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0549d10012d18c100072081a0002b014320..."} 
[2026-08-05 10:41:45] local.INFO: Packet analysis {"connection_id":148565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd054"} 
[2026-08-05 10:41:45] local.INFO: Extracted packet for processing {"connection_id":148565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd054"} 
[2026-08-05 10:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756596992,"raw_latitude":119570848,"longitude_deg":75.6596992,"latitude_deg":11.9570848,"altitude":43,"angle":323,"satellites":32,"speed":10,"hex_longitude":"2d18c100","hex_latitude":"072081a0","is_valid_coordinates":true} 
[2026-08-05 10:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192097536001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10564485676793856,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907978825728,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785906634000,"timestamp_ms":1785906634000,"timestamp_seconds":1785906634,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0549d10"} 
[2026-08-05 10:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 10:41: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-08-05 10:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192097536001,"66":14461,"102":206,"83":41984,"24":10,"16":10564485676793856,"45":1784269907978825728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192097536001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:41:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10564485676793856,"km_value":10564485676793.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907978825728,"description":"Unknown IO ID 45"} 
[2026-08-05 10:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192097536001,"power":14461,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1784269907978825728}} 
[2026-08-05 10:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":148565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:41:46] local.INFO: GPS data processed {"connection_id":148565,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:41:46] local.INFO: Acknowledgment sent {"connection_id":148565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:41:48] local.INFO: TCP Data received {"connection_id":148565,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd054a4e0012d18c000072083e8002c015920..."} 
[2026-08-05 10:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd054a4e0012d18c000072083e8002c015920..."} 
[2026-08-05 10:41:48] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd054a4e0012d18c000072083e8002c015920..."} 
[2026-08-05 10:41:48] local.INFO: Packet analysis {"connection_id":148565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd054"} 
[2026-08-05 10:41:48] local.INFO: Extracted packet for processing {"connection_id":148565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd054"} 
[2026-08-05 10:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756596736,"raw_latitude":119571432,"longitude_deg":75.6596736,"latitude_deg":11.9571432,"altitude":44,"angle":345,"satellites":32,"speed":12,"hex_longitude":"2d18c000","hex_latitude":"072083e8","is_valid_coordinates":true} 
[2026-08-05 10:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192098304001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10564515741564928,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783706958025564160,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785906636000,"timestamp_ms":1785906636000,"timestamp_seconds":1785906636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd054a4e0"} 
[2026-08-05 10:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-05 10:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192098304001,"66":14428,"102":206,"83":41984,"24":12,"16":10564515741564928,"45":1783706958025564160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192098304001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:41:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:41:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10564515741564928,"km_value":10564515741564.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783706958025564160,"description":"Unknown IO ID 45"} 
[2026-08-05 10:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192098304001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1783706958025564160}} 
[2026-08-05 10:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":148565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:41:49] local.INFO: GPS data processed {"connection_id":148565,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:41:49] local.INFO: Acknowledgment sent {"connection_id":148565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:41:52] local.INFO: TCP Data received {"connection_id":148564,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:41:52] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:41:52] local.INFO: Packet analysis {"connection_id":148564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:41:52] local.INFO: Extracted packet for processing {"connection_id":148564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:41:52] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95407616,"longitude_deg":76.333984,"latitude_deg":9.5407616,"altitude":11,"angle":352,"satellites":44,"speed":2,"hex_longitude":"2d7fa440","hex_latitude":"05afce00","is_valid_coordinates":true} 
[2026-08-05 10:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192042752001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165867520,"note":"Value kept but may cause issues"} 
[2026-08-05 10:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785906419000,"timestamp_ms":1785906419000,"timestamp_seconds":1785906419,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0515538"} 
[2026-08-05 10:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 10:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192042752001,"66":27604,"27":206,"85":12544,"24":2,"16":370467158645276672,"45":9197546732165867520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192042752001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:41:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:41:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165867520,"description":"Unknown IO ID 45"} 
[2026-08-05 10:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192042752001,"power":27604,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197546732165867520}} 
[2026-08-05 10:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":148564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:41:52] local.INFO: GPS data processed {"connection_id":148564,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:41:52] local.INFO: Acknowledgment sent {"connection_id":148564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:42:15] local.INFO: TCP Data received {"connection_id":150978,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:42:15] local.INFO: Processing buffer {"connection_id":150978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:42:15] local.INFO: IMEI packet received {"connection_id":150978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":150978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:42:20] local.INFO: TCP Data received {"connection_id":148565,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0556060012d189ac0072090b8002900071e..."} 
[2026-08-05 10:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0556060012d189ac0072090b8002900071e..."} 
[2026-08-05 10:42:20] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0556060012d189ac0072090b8002900071e..."} 
[2026-08-05 10:42:20] local.INFO: Packet analysis {"connection_id":148565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:42:20] local.INFO: Extracted packet for processing {"connection_id":148565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756587200,"raw_latitude":119574712,"longitude_deg":75.65872,"latitude_deg":11.9574712,"altitude":41,"angle":7,"satellites":30,"speed":19,"hex_longitude":"2d189ac0","hex_latitude":"072090b8","is_valid_coordinates":true} 
[2026-08-05 10:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192110592001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10565275950776320,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772870171422959616,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785906684000,"timestamp_ms":1785906684000,"timestamp_seconds":1785906684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0556060"} 
[2026-08-05 10:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-05 10:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192110592001,"66":13972,"102":206,"83":41984,"24":19,"16":10565275950776320,"45":1772870171422959616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 10:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192110592001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:42:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 10:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10565275950776320,"km_value":10565275950776.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772870171422959616,"description":"Unknown IO ID 45"} 
[2026-08-05 10:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192110592001,"power":13972,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1772870171422959616}} 
[2026-08-05 10:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":148565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:42:20] local.INFO: GPS data processed {"connection_id":148565,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:42:20] local.INFO: Acknowledgment sent {"connection_id":148565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:42:20] local.INFO: TCP Data received {"connection_id":150978,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:42:20] local.INFO: Processing buffer {"connection_id":150978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:42:20] local.INFO: IMEI packet received {"connection_id":150978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":150978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:42:21] local.INFO: TCP Data received {"connection_id":150978,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:42:21] local.INFO: Processing buffer {"connection_id":150978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0515538012d7fa44005afce00000b01602c..."} 
[2026-08-05 10:42:21] local.INFO: Packet analysis {"connection_id":150978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:42:21] local.INFO: Extracted packet for processing {"connection_id":150978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd051"} 
[2026-08-05 10:42:21] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95407616,"longitude_deg":76.333984,"latitude_deg":9.5407616,"altitude":11,"angle":352,"satellites":44,"speed":2,"hex_longitude":"2d7fa440","hex_latitude":"05afce00","is_valid_coordinates":true} 
[2026-08-05 10:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192042752001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165867520,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785906419000,"timestamp_ms":1785906419000,"timestamp_seconds":1785906419,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0515538"} 
[2026-08-05 10:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 10:42: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-08-05 10:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192042752001,"66":27604,"27":206,"85":12544,"24":2,"16":370467158645276672,"45":9197546732165867520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 10:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192042752001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:42:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 10:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165867520,"description":"Unknown IO ID 45"} 
[2026-08-05 10:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192042752001,"power":27604,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197546732165867520}} 
[2026-08-05 10:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":150978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:42:21] local.INFO: GPS data processed {"connection_id":150978,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:42:21] local.INFO: Acknowledgment sent {"connection_id":150978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:42:41] local.INFO: TCP Data received {"connection_id":148342,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:41] local.INFO: Processing buffer {"connection_id":148342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:41] local.INFO: IMEI packet received {"connection_id":148342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":148342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:42:42] local.INFO: TCP Data received {"connection_id":148342,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:42] local.INFO: Processing buffer {"connection_id":148342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:42] local.INFO: IMEI packet received {"connection_id":148342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":148342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:42:45] local.INFO: TCP Data received {"connection_id":148342,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:45] local.INFO: Processing buffer {"connection_id":148342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:45] local.INFO: IMEI packet received {"connection_id":148342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":148342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:42:47] local.INFO: TCP Data received {"connection_id":148342,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:47] local.INFO: Processing buffer {"connection_id":148342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:42:47] local.INFO: IMEI packet received {"connection_id":148342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":148342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:42:48] local.INFO: TCP Data received {"connection_id":148342,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd055ed00012d187ec00720ca88002c01521e..."} 
[2026-08-05 10:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd055ed00012d187ec00720ca88002c01521e..."} 
[2026-08-05 10:42:48] local.INFO: Processing buffer {"connection_id":148342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd055ed00012d187ec00720ca88002c01521e..."} 
[2026-08-05 10:42:48] local.INFO: Packet analysis {"connection_id":148342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:42:48] local.INFO: Extracted packet for processing {"connection_id":148342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756580032,"raw_latitude":119589512,"longitude_deg":75.6580032,"latitude_deg":11.9589512,"altitude":44,"angle":338,"satellites":30,"speed":18,"hex_longitude":"2d187ec0","hex_latitude":"0720ca88","is_valid_coordinates":true} 
[2026-08-05 10:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192119296001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10566177893908480,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765340715799406592,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785906720000,"timestamp_ms":1785906720000,"timestamp_seconds":1785906720,"priority":1,"record_length":96,"hex_timestamp":"0000019fd055ed00"} 
[2026-08-05 10:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-05 10:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192119296001,"66":14515,"106":206,"83":41984,"24":18,"16":10566177893908480,"45":1765340715799406592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 10:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192119296001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:42:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 10:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10566177893908480,"km_value":10566177893908.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765340715799406592,"description":"Unknown IO ID 45"} 
[2026-08-05 10:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192119296001,"power":14515,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1765340715799406592}} 
[2026-08-05 10:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":148342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:42:48] local.INFO: GPS data processed {"connection_id":148342,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:42:48] local.INFO: Acknowledgment sent {"connection_id":148342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:42:48] local.INFO: TCP Data received {"connection_id":148342,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd055f0e8012d187d800720cc18002d01441e..."} 
[2026-08-05 10:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd055f0e8012d187d800720cc18002d01441e..."} 
[2026-08-05 10:42:48] local.INFO: Processing buffer {"connection_id":148342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd055f0e8012d187d800720cc18002d01441e..."} 
[2026-08-05 10:42:48] local.INFO: Packet analysis {"connection_id":148342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:42:48] local.INFO: Extracted packet for processing {"connection_id":148342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756579712,"raw_latitude":119589912,"longitude_deg":75.6579712,"latitude_deg":11.9589912,"altitude":45,"angle":324,"satellites":30,"speed":18,"hex_longitude":"2d187d80","hex_latitude":"0720cc18","is_valid_coordinates":true} 
[2026-08-05 10:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192120320001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10566203663712256,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765059240823261184,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785906721000,"timestamp_ms":1785906721000,"timestamp_seconds":1785906721,"priority":1,"record_length":96,"hex_timestamp":"0000019fd055f0e8"} 
[2026-08-05 10:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 10:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192120320001,"66":14048,"106":206,"83":41984,"24":18,"16":10566203663712256,"45":1765059240823261184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 10:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192120320001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:42:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 10:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10566203663712256,"km_value":10566203663712.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765059240823261184,"description":"Unknown IO ID 45"} 
[2026-08-05 10:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192120320001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1765059240823261184}} 
[2026-08-05 10:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":148342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:42:48] local.INFO: GPS data processed {"connection_id":148342,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:42:48] local.INFO: Acknowledgment sent {"connection_id":148342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:42:53] local.INFO: TCP Data received {"connection_id":150978,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:42:53] local.INFO: Processing buffer {"connection_id":150978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:42:53] local.INFO: Packet analysis {"connection_id":150978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:42:53] local.INFO: Extracted packet for processing {"connection_id":150978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:42:53] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410160,"longitude_deg":76.3336704,"latitude_deg":9.541016,"altitude":10,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-08-05 10:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192043264001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165922816,"note":"Value kept but may cause issues"} 
[2026-08-05 10:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785906723000,"timestamp_ms":1785906723000,"timestamp_seconds":1785906723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd055f8b8"} 
[2026-08-05 10:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 10:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192043264001,"66":26180,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197546732165922816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192043264001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:42:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:42:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165922816,"description":"Unknown IO ID 45"} 
[2026-08-05 10:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192043264001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732165922816}} 
[2026-08-05 10:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":150978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:42:53] local.INFO: GPS data processed {"connection_id":150978,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:42:53] local.INFO: Acknowledgment sent {"connection_id":150978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:43:15] local.INFO: TCP Data received {"connection_id":149564,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:43:15] local.INFO: Processing buffer {"connection_id":149564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:43:15] local.INFO: IMEI packet received {"connection_id":149564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":149564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:43:19] local.INFO: TCP Data received {"connection_id":148342,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05675b8012d1858c007210520003a01281f..."} 
[2026-08-05 10:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05675b8012d1858c007210520003a01281f..."} 
[2026-08-05 10:43:19] local.INFO: Processing buffer {"connection_id":148342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05675b8012d1858c007210520003a01281f..."} 
[2026-08-05 10:43:19] local.INFO: Packet analysis {"connection_id":148342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd056"} 
[2026-08-05 10:43:19] local.INFO: Extracted packet for processing {"connection_id":148342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd056"} 
[2026-08-05 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756570304,"raw_latitude":119604512,"longitude_deg":75.6570304,"latitude_deg":11.9604512,"altitude":58,"angle":296,"satellites":31,"speed":15,"hex_longitude":"2d1858c0","hex_latitude":"07210520","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192129024001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10567122786713600,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666688743424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785906755000,"timestamp_ms":1785906755000,"timestamp_seconds":1785906755,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05675b8"} 
[2026-08-05 10:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 10:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192129024001,"66":14624,"106":206,"83":41984,"24":15,"16":10567122786713600,"45":1754644666688743424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 10:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192129024001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:43:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 10:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10567122786713600,"km_value":10567122786713.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666688743424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192129024001,"power":14624,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1754644666688743424}} 
[2026-08-05 10:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":148342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:43:20] local.INFO: GPS data processed {"connection_id":148342,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:43:20] local.INFO: Acknowledgment sent {"connection_id":148342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:43:20] local.INFO: TCP Data received {"connection_id":149564,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:43:20] local.INFO: Processing buffer {"connection_id":149564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:43:20] local.INFO: IMEI packet received {"connection_id":149564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":149564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:43:21] local.INFO: TCP Data received {"connection_id":149564,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:43:21] local.INFO: Processing buffer {"connection_id":149564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:43:21] local.INFO: Packet analysis {"connection_id":149564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:43:21] local.INFO: Extracted packet for processing {"connection_id":149564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:43:21] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410160,"longitude_deg":76.3336704,"latitude_deg":9.541016,"altitude":10,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-08-05 10:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192043264001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165922816,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785906723000,"timestamp_ms":1785906723000,"timestamp_seconds":1785906723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd055f8b8"} 
[2026-08-05 10:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 10:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192043264001,"66":26180,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197546732165922816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192043264001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:43:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165922816,"description":"Unknown IO ID 45"} 
[2026-08-05 10:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192043264001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732165922816}} 
[2026-08-05 10:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":149564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:43:21] local.INFO: GPS data processed {"connection_id":149564,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:43:21] local.INFO: Acknowledgment sent {"connection_id":149564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:43:37] local.INFO: TCP Data received {"connection_id":148343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:37] local.INFO: Processing buffer {"connection_id":148343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:37] local.INFO: IMEI packet received {"connection_id":148343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":148343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:43:40] local.INFO: TCP Data received {"connection_id":148343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:40] local.INFO: Processing buffer {"connection_id":148343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:40] local.INFO: IMEI packet received {"connection_id":148343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":148343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:43:40] local.INFO: TCP Data received {"connection_id":148343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:40] local.INFO: Processing buffer {"connection_id":148343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:40] local.INFO: IMEI packet received {"connection_id":148343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":148343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:43:44] local.INFO: TCP Data received {"connection_id":148343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:44] local.INFO: Processing buffer {"connection_id":148343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:43:44] local.INFO: IMEI packet received {"connection_id":148343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":148343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:43:45] local.INFO: TCP Data received {"connection_id":148343,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05679a0012d18574007210590003a011620..."} 
[2026-08-05 10:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05679a0012d18574007210590003a011620..."} 
[2026-08-05 10:43:45] local.INFO: Processing buffer {"connection_id":148343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05679a0012d18574007210590003a011620..."} 
[2026-08-05 10:43:45] local.INFO: Packet analysis {"connection_id":148343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd056"} 
[2026-08-05 10:43:45] local.INFO: Extracted packet for processing {"connection_id":148343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd056"} 
[2026-08-05 10:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119604624,"longitude_deg":75.656992,"latitude_deg":11.9604624,"altitude":58,"angle":278,"satellites":32,"speed":14,"hex_longitude":"2d185740","hex_latitude":"07210590","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192129280001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10567139966582784,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754363191712096256,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43: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-08-05 10:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785906756000,"timestamp_ms":1785906756000,"timestamp_seconds":1785906756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05679a0"} 
[2026-08-05 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-08-05 10:43: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-08-05 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":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-05 10:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 10:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192129280001,"66":14624,"106":206,"83":41984,"24":14,"16":10567139966582784,"45":1754363191712096256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 10:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192129280001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:43:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 10:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10567139966582784,"km_value":10567139966582.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754363191712096256,"description":"Unknown IO ID 45"} 
[2026-08-05 10:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192129280001,"power":14624,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1754363191712096256}} 
[2026-08-05 10:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":148343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:43:45] local.INFO: GPS data processed {"connection_id":148343,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:43:45] local.INFO: Acknowledgment sent {"connection_id":148343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:43:49] local.INFO: TCP Data received {"connection_id":148343,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0567d88012d1855c007210558003a00ff1f..."} 
[2026-08-05 10:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0567d88012d1855c007210558003a00ff1f..."} 
[2026-08-05 10:43:49] local.INFO: Processing buffer {"connection_id":148343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0567d88012d1855c007210558003a00ff1f..."} 
[2026-08-05 10:43:49] local.INFO: Packet analysis {"connection_id":148343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd056"} 
[2026-08-05 10:43:49] local.INFO: Extracted packet for processing {"connection_id":148343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd056"} 
[2026-08-05 10:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756569536,"raw_latitude":119604568,"longitude_deg":75.6569536,"latitude_deg":11.9604568,"altitude":58,"angle":255,"satellites":31,"speed":16,"hex_longitude":"2d1855c0","hex_latitude":"07210558","is_valid_coordinates":true} 
[2026-08-05 10:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192129536001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10567161441419264,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979247058944,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785906757000,"timestamp_ms":1785906757000,"timestamp_seconds":1785906757,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0567d88"} 
[2026-08-05 10:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-05 10:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192129536001,"66":14548,"106":206,"83":41984,"24":16,"16":10567161441419264,"45":1753940979247058944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 10:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192129536001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:43:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 10:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10567161441419264,"km_value":10567161441419.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979247058944,"description":"Unknown IO ID 45"} 
[2026-08-05 10:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192129536001,"power":14548,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1753940979247058944}} 
[2026-08-05 10:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":148343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:43:49] local.INFO: GPS data processed {"connection_id":148343,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:43:49] local.INFO: Acknowledgment sent {"connection_id":148343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:43:53] local.INFO: TCP Data received {"connection_id":149564,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:43:53] local.INFO: Processing buffer {"connection_id":149564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:43:53] local.INFO: Packet analysis {"connection_id":149564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:43:53] local.INFO: Extracted packet for processing {"connection_id":149564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:43:53] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410160,"longitude_deg":76.3336704,"latitude_deg":9.541016,"altitude":10,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-08-05 10:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192043264001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165922816,"note":"Value kept but may cause issues"} 
[2026-08-05 10:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785906723000,"timestamp_ms":1785906723000,"timestamp_seconds":1785906723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd055f8b8"} 
[2026-08-05 10:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 10:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192043264001,"66":26180,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197546732165922816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192043264001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:43:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:43:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165922816,"description":"Unknown IO ID 45"} 
[2026-08-05 10:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192043264001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732165922816}} 
[2026-08-05 10:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":149564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:43:53] local.INFO: GPS data processed {"connection_id":149564,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:43:53] local.INFO: Acknowledgment sent {"connection_id":149564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:44:15] local.INFO: TCP Data received {"connection_id":150979,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:44:15] local.INFO: Processing buffer {"connection_id":150979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:44:15] local.INFO: IMEI packet received {"connection_id":150979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":150979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:44:20] local.INFO: TCP Data received {"connection_id":150979,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:44:20] local.INFO: Processing buffer {"connection_id":150979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:44:20] local.INFO: IMEI packet received {"connection_id":150979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":150979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:44:21] local.INFO: TCP Data received {"connection_id":150979,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:44:21] local.INFO: Processing buffer {"connection_id":150979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:44:21] local.INFO: Packet analysis {"connection_id":150979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:44:21] local.INFO: Extracted packet for processing {"connection_id":150979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410160,"longitude_deg":76.3336704,"latitude_deg":9.541016,"altitude":10,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-08-05 10:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192043264001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165922816,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785906723000,"timestamp_ms":1785906723000,"timestamp_seconds":1785906723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd055f8b8"} 
[2026-08-05 10:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 10:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192043264001,"66":26180,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197546732165922816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192043264001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:44:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165922816,"description":"Unknown IO ID 45"} 
[2026-08-05 10:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192043264001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732165922816}} 
[2026-08-05 10:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":150979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:44:21] local.INFO: GPS data processed {"connection_id":150979,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:44:21] local.INFO: Acknowledgment sent {"connection_id":150979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:44:24] local.INFO: TCP Data received {"connection_id":148343,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0576fb8012d1827c007215860004c01351d..."} 
[2026-08-05 10:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0576fb8012d1827c007215860004c01351d..."} 
[2026-08-05 10:44:24] local.INFO: Processing buffer {"connection_id":148343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0576fb8012d1827c007215860004c01351d..."} 
[2026-08-05 10:44:24] local.INFO: Packet analysis {"connection_id":148343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd057"} 
[2026-08-05 10:44:24] local.INFO: Extracted packet for processing {"connection_id":148343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd057"} 
[2026-08-05 10:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119625824,"longitude_deg":75.655776,"latitude_deg":11.9625824,"altitude":76,"angle":309,"satellites":29,"speed":9,"hex_longitude":"2d1827c0","hex_latitude":"07215860","is_valid_coordinates":true} 
[2026-08-05 10:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192145408001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10568626025267200,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392835401728,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785906819000,"timestamp_ms":1785906819000,"timestamp_seconds":1785906819,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0576fb8"} 
[2026-08-05 10:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-05 10:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192145408001,"66":14635,"107":206,"83":41984,"24":9,"16":10568626025267200,"45":1740852392835401728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192145408001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:44:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10568626025267200,"km_value":10568626025267.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392835401728,"description":"Unknown IO ID 45"} 
[2026-08-05 10:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192145408001,"power":14635,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1740852392835401728}} 
[2026-08-05 10:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":148343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:44:24] local.INFO: GPS data processed {"connection_id":148343,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:44:24] local.INFO: Acknowledgment sent {"connection_id":148343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:44:40] local.INFO: TCP Data received {"connection_id":148566,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:44:40] local.INFO: Processing buffer {"connection_id":148566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:44:40] local.INFO: IMEI packet received {"connection_id":148566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":148566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:44:45] local.INFO: TCP Data received {"connection_id":148566,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:44:45] local.INFO: Processing buffer {"connection_id":148566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:44:45] local.INFO: IMEI packet received {"connection_id":148566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":148566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:44:46] local.INFO: TCP Data received {"connection_id":148566,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05773a0012d182740072158a8004d011d1d..."} 
[2026-08-05 10:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05773a0012d182740072158a8004d011d1d..."} 
[2026-08-05 10:44:46] local.INFO: Processing buffer {"connection_id":148566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05773a0012d182740072158a8004d011d1d..."} 
[2026-08-05 10:44:46] local.INFO: Packet analysis {"connection_id":148566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd057"} 
[2026-08-05 10:44:46] local.INFO: Extracted packet for processing {"connection_id":148566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd057"} 
[2026-08-05 10:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119625896,"longitude_deg":75.6557632,"latitude_deg":11.9625896,"altitude":77,"angle":285,"satellites":29,"speed":8,"hex_longitude":"2d182740","hex_latitude":"072158a8","is_valid_coordinates":true} 
[2026-08-05 10:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192145664001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10568630320234496,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917858729984,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785906820000,"timestamp_ms":1785906820000,"timestamp_seconds":1785906820,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05773a0"} 
[2026-08-05 10:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-05 10:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192145664001,"66":14635,"107":206,"83":41984,"24":8,"16":10568630320234496,"45":1740570917858729984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192145664001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:44:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10568630320234496,"km_value":10568630320234.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917858729984,"description":"Unknown IO ID 45"} 
[2026-08-05 10:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192145664001,"power":14635,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1740570917858729984}} 
[2026-08-05 10:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":148566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:44:46] local.INFO: GPS data processed {"connection_id":148566,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:44:46] local.INFO: Acknowledgment sent {"connection_id":148566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:44:52] local.INFO: TCP Data received {"connection_id":150979,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:44:52] local.INFO: Processing buffer {"connection_id":150979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:44:52] local.INFO: Packet analysis {"connection_id":150979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:44:52] local.INFO: Extracted packet for processing {"connection_id":150979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:44:52] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410160,"longitude_deg":76.3336704,"latitude_deg":9.541016,"altitude":10,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-08-05 10:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192043264001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165922816,"note":"Value kept but may cause issues"} 
[2026-08-05 10:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785906723000,"timestamp_ms":1785906723000,"timestamp_seconds":1785906723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd055f8b8"} 
[2026-08-05 10:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 10:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192043264001,"66":26180,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197546732165922816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192043264001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:44:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165922816,"description":"Unknown IO ID 45"} 
[2026-08-05 10:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192043264001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732165922816}} 
[2026-08-05 10:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":150979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:44:52] local.INFO: GPS data processed {"connection_id":150979,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:44:52] local.INFO: Acknowledgment sent {"connection_id":150979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:45:17] local.INFO: TCP Data received {"connection_id":148566,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0582f20012d180e4007218670004e015422..."} 
[2026-08-05 10:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0582f20012d180e4007218670004e015422..."} 
[2026-08-05 10:45:17] local.INFO: Processing buffer {"connection_id":148566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0582f20012d180e4007218670004e015422..."} 
[2026-08-05 10:45:17] local.INFO: Packet analysis {"connection_id":148566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:45:17] local.INFO: Extracted packet for processing {"connection_id":148566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756551232,"raw_latitude":119637616,"longitude_deg":75.6551232,"latitude_deg":11.9637616,"altitude":78,"angle":340,"satellites":34,"speed":12,"hex_longitude":"2d180e40","hex_latitude":"07218670","is_valid_coordinates":true} 
[2026-08-05 10:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192157952001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10569403414347776,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674699720704,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785906868000,"timestamp_ms":1785906868000,"timestamp_seconds":1785906868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0582f20"} 
[2026-08-05 10:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 10:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192157952001,"66":14048,"107":206,"83":41984,"24":12,"16":10569403414347776,"45":1733463674699720704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192157952001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:45:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10569403414347776,"km_value":10569403414347.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674699720704,"description":"Unknown IO ID 45"} 
[2026-08-05 10:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192157952001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1733463674699720704}} 
[2026-08-05 10:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":148566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:45:17] local.INFO: GPS data processed {"connection_id":148566,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:45:17] local.INFO: Acknowledgment sent {"connection_id":148566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:45:20] local.INFO: TCP Data received {"connection_id":148567,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:45:20] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:45:20] local.INFO: IMEI packet received {"connection_id":148567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":148567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:45:25] local.INFO: TCP Data received {"connection_id":148567,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:45:25] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:45:25] local.INFO: IMEI packet received {"connection_id":148567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":148567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:45:26] local.INFO: TCP Data received {"connection_id":148567,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:45:26] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:45:26] local.INFO: Packet analysis {"connection_id":148567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:45:26] local.INFO: Extracted packet for processing {"connection_id":148567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410160,"longitude_deg":76.3336704,"latitude_deg":9.541016,"altitude":10,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-08-05 10:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192043264001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165922816,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785906723000,"timestamp_ms":1785906723000,"timestamp_seconds":1785906723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd055f8b8"} 
[2026-08-05 10:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 10:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192043264001,"66":26180,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197546732165922816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192043264001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:45:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165922816,"description":"Unknown IO ID 45"} 
[2026-08-05 10:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192043264001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732165922816}} 
[2026-08-05 10:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":148567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:45:26] local.INFO: GPS data processed {"connection_id":148567,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:45:26] local.INFO: Acknowledgment sent {"connection_id":148567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:45:31] local.INFO: TCP Data received {"connection_id":148567,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:45:31] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd055f8b8012d7f980005afd7f0000a00002b..."} 
[2026-08-05 10:45:31] local.INFO: Packet analysis {"connection_id":148567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:45:31] local.INFO: Extracted packet for processing {"connection_id":148567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd055"} 
[2026-08-05 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410160,"longitude_deg":76.3336704,"latitude_deg":9.541016,"altitude":10,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-08-05 10:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192043264001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732165922816,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785906723000,"timestamp_ms":1785906723000,"timestamp_seconds":1785906723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd055f8b8"} 
[2026-08-05 10:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 10:45: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-08-05 10:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192043264001,"66":26180,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9197546732165922816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192043264001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:45:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732165922816,"description":"Unknown IO ID 45"} 
[2026-08-05 10:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192043264001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197546732165922816}} 
[2026-08-05 10:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":148567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:45:31] local.INFO: GPS data processed {"connection_id":148567,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:45:31] local.INFO: Acknowledgment sent {"connection_id":148567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:45:40] local.INFO: TCP Data received {"connection_id":150980,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:45:40] local.INFO: Processing buffer {"connection_id":150980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:45:40] local.INFO: IMEI packet received {"connection_id":150980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":150980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:45:44] local.INFO: TCP Data received {"connection_id":150980,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:45:44] local.INFO: Processing buffer {"connection_id":150980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:45:44] local.INFO: IMEI packet received {"connection_id":150980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":150980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:45:45] local.INFO: TCP Data received {"connection_id":150980,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0583308012d180d4007218788004e014622..."} 
[2026-08-05 10:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0583308012d180d4007218788004e014622..."} 
[2026-08-05 10:45:45] local.INFO: Processing buffer {"connection_id":150980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0583308012d180d4007218788004e014622..."} 
[2026-08-05 10:45:45] local.INFO: Packet analysis {"connection_id":150980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:45:45] local.INFO: Extracted packet for processing {"connection_id":150980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756550976,"raw_latitude":119637896,"longitude_deg":75.6550976,"latitude_deg":11.9637896,"altitude":78,"angle":326,"satellites":34,"speed":11,"hex_longitude":"2d180d40","hex_latitude":"07218788","is_valid_coordinates":true} 
[2026-08-05 10:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192158208001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10569424889184256,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733393305955627008,"note":"Value kept but may cause issues"} 
[2026-08-05 10:45: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-08-05 10:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785906869000,"timestamp_ms":1785906869000,"timestamp_seconds":1785906869,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0583308"} 
[2026-08-05 10:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:45: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-08-05 10: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 10:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192158208001,"66":14102,"107":206,"83":41984,"24":11,"16":10569424889184256,"45":1733393305955627008},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192158208001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:45:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10569424889184256,"km_value":10569424889184.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733393305955627008,"description":"Unknown IO ID 45"} 
[2026-08-05 10:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192158208001,"power":14102,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1733393305955627008}} 
[2026-08-05 10:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":150980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:45:45] local.INFO: GPS data processed {"connection_id":150980,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:45:45] local.INFO: Acknowledgment sent {"connection_id":150980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:46:12] local.INFO: TCP Data received {"connection_id":148568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:46:12] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:46:12] local.INFO: IMEI packet received {"connection_id":148568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":148568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:46:15] local.INFO: TCP Data received {"connection_id":148568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:46:15] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:46:15] local.INFO: IMEI packet received {"connection_id":148568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":148568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:46:16] local.INFO: TCP Data received {"connection_id":150980,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0583ad8012d180c0007218938004e013b22..."} 
[2026-08-05 10:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0583ad8012d180c0007218938004e013b22..."} 
[2026-08-05 10:46:16] local.INFO: Processing buffer {"connection_id":150980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0583ad8012d180c0007218938004e013b22..."} 
[2026-08-05 10:46:16] local.INFO: Packet analysis {"connection_id":150980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:46:16] local.INFO: Extracted packet for processing {"connection_id":150980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756550656,"raw_latitude":119638328,"longitude_deg":75.6550656,"latitude_deg":11.9638328,"altitude":78,"angle":315,"satellites":34,"speed":9,"hex_longitude":"2d180c00","hex_latitude":"07218938","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192158464001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10569446364020736,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733111830978988032,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785906871000,"timestamp_ms":1785906871000,"timestamp_seconds":1785906871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0583ad8"} 
[2026-08-05 10:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 10:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192158464001,"66":13972,"107":206,"83":41984,"24":9,"16":10569446364020736,"45":1733111830978988032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192158464001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:46:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10569446364020736,"km_value":10569446364020.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733111830978988032,"description":"Unknown IO ID 45"} 
[2026-08-05 10:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192158464001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1733111830978988032}} 
[2026-08-05 10:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":150980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:46:16] local.INFO: GPS data processed {"connection_id":150980,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:46:16] local.INFO: Acknowledgment sent {"connection_id":150980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:46:20] local.INFO: TCP Data received {"connection_id":148568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:46:20] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:46:20] local.INFO: IMEI packet received {"connection_id":148568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":148568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:46:21] local.INFO: TCP Data received {"connection_id":148568,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd058c778012d7f980005afd7f0000a000028..."} 
[2026-08-05 10:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd058c778012d7f980005afd7f0000a000028..."} 
[2026-08-05 10:46:21] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd058c778012d7f980005afd7f0000a000028..."} 
[2026-08-05 10:46:21] local.INFO: Packet analysis {"connection_id":148568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:46:21] local.INFO: Extracted packet for processing {"connection_id":148568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:46:21] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410160,"longitude_deg":76.3336704,"latitude_deg":9.541016,"altitude":10,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-08-05 10:46: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-08-05 10:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192121088001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701868544,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785906907000,"timestamp_ms":1785906907000,"timestamp_seconds":1785906907,"priority":1,"record_length":96,"hex_timestamp":"0000019fd058c778"} 
[2026-08-05 10:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:46: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-08-05 10:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 10:46:21] 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-08-05 10:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192121088001,"66":26115,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9194098663701868544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192121088001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:46:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701868544,"description":"Unknown IO ID 45"} 
[2026-08-05 10:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192121088001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701868544}} 
[2026-08-05 10:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":148568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:46:21] local.INFO: GPS data processed {"connection_id":148568,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:46:21] local.INFO: Acknowledgment sent {"connection_id":148568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:46:41] local.INFO: TCP Data received {"connection_id":150981,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:46:41] local.INFO: Processing buffer {"connection_id":150981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:46:41] local.INFO: IMEI packet received {"connection_id":150981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":150981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:46:45] local.INFO: TCP Data received {"connection_id":150981,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:46:45] local.INFO: Processing buffer {"connection_id":150981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:46:45] local.INFO: IMEI packet received {"connection_id":150981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":150981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:46:46] local.INFO: TCP Data received {"connection_id":150981,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0588ce0012d180b4007218b58004b014122..."} 
[2026-08-05 10:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0588ce0012d180b4007218b58004b014122..."} 
[2026-08-05 10:46:46] local.INFO: Processing buffer {"connection_id":150981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0588ce0012d180b4007218b58004b014122..."} 
[2026-08-05 10:46:46] local.INFO: Packet analysis {"connection_id":150981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:46:46] local.INFO: Extracted packet for processing {"connection_id":150981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119638872,"longitude_deg":75.6550464,"latitude_deg":11.9638872,"altitude":75,"angle":321,"satellites":34,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07218b58","is_valid_coordinates":true} 
[2026-08-05 10:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192158976001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10569476428791808,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732759987258210304,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785906892000,"timestamp_ms":1785906892000,"timestamp_seconds":1785906892,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0588ce0"} 
[2026-08-05 10:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-05 10:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192158976001,"66":14080,"107":206,"83":41984,"24":0,"16":10569476428791808,"45":1732759987258210304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192158976001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:46:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10569476428791808,"km_value":10569476428791.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732759987258210304,"description":"Unknown IO ID 45"} 
[2026-08-05 10:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192158976001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1732759987258210304}} 
[2026-08-05 10:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":150981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:46:46] local.INFO: GPS data processed {"connection_id":150981,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:46:46] local.INFO: Acknowledgment sent {"connection_id":150981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:46:53] local.INFO: TCP Data received {"connection_id":148568,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd058dee8012d7f97c005afd9c8000a007d29..."} 
[2026-08-05 10:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd058dee8012d7f97c005afd9c8000a007d29..."} 
[2026-08-05 10:46:53] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd058dee8012d7f97c005afd9c8000a007d29..."} 
[2026-08-05 10:46:53] local.INFO: Packet analysis {"connection_id":148568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:46:53] local.INFO: Extracted packet for processing {"connection_id":148568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:46:53] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410632,"longitude_deg":76.333664,"latitude_deg":9.5410632,"altitude":10,"angle":125,"satellites":41,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afd9c8","is_valid_coordinates":true} 
[2026-08-05 10:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192168192001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663701868544,"note":"Value kept but may cause issues"} 
[2026-08-05 10:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785906913000,"timestamp_ms":1785906913000,"timestamp_seconds":1785906913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd058dee8"} 
[2026-08-05 10:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 10:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192168192001,"66":27843,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9194098663701868544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192168192001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:46:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:46:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663701868544,"description":"Unknown IO ID 45"} 
[2026-08-05 10:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192168192001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663701868544}} 
[2026-08-05 10:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":148568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:46:53] local.INFO: GPS data processed {"connection_id":148568,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:46:53] local.INFO: Acknowledgment sent {"connection_id":148568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:47:15] local.INFO: TCP Data received {"connection_id":148344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:47:15] local.INFO: Processing buffer {"connection_id":148344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:47:15] local.INFO: IMEI packet received {"connection_id":148344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":148344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:47:17] local.INFO: TCP Data received {"connection_id":150981,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd058a068012d180b0007218c30004b001922..."} 
[2026-08-05 10:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd058a068012d180b0007218c30004b001922..."} 
[2026-08-05 10:47:17] local.INFO: Processing buffer {"connection_id":150981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd058a068012d180b0007218c30004b001922..."} 
[2026-08-05 10:47:17] local.INFO: Packet analysis {"connection_id":150981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:47:17] local.INFO: Extracted packet for processing {"connection_id":150981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:47:17] local.INFO: GPS Element Parsed {"raw_longitude":756550400,"raw_latitude":119639088,"longitude_deg":75.65504,"latitude_deg":11.9639088,"altitude":75,"angle":25,"satellites":34,"speed":4,"hex_longitude":"2d180b00","hex_latitude":"07218c30","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192164352001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10569489313693696,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881025816576,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785906897000,"timestamp_ms":1785906897000,"timestamp_seconds":1785906897,"priority":1,"record_length":96,"hex_timestamp":"0000019fd058a068"} 
[2026-08-05 10:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3495430160,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2233991246,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2360803328,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:17] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,140,159,58,45,137,78,34,10,66,51,64,135,47,1,240,224,227,208,33,4,113,205,11,19,12,30,239,55,2,37,7,71,9],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-05 10:47:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404672642105999360,"timestamp_seconds":5404672642105999.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 10:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192164352001,"66":14135,"107":206,"83":41984,"24":4,"16":10569489313693696,"45":1732548881025816576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192164352001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:47:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:47:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10569489313693696,"km_value":10569489313693.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881025816576,"description":"Unknown IO ID 45"} 
[2026-08-05 10:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192164352001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1732548881025816576}} 
[2026-08-05 10:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":150981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:47:17] local.INFO: GPS data processed {"connection_id":150981,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:47:17] local.INFO: Acknowledgment sent {"connection_id":150981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:47:23] local.INFO: TCP Data received {"connection_id":148344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:47:23] local.INFO: Processing buffer {"connection_id":148344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:47:23] local.INFO: IMEI packet received {"connection_id":148344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":148344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:47:24] local.INFO: TCP Data received {"connection_id":148344,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05930f0012d7f97c005afd9c8000a007d27..."} 
[2026-08-05 10:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05930f0012d7f97c005afd9c8000a007d27..."} 
[2026-08-05 10:47:24] local.INFO: Processing buffer {"connection_id":148344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05930f0012d7f97c005afd9c8000a007d27..."} 
[2026-08-05 10:47:24] local.INFO: Packet analysis {"connection_id":148344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd059"} 
[2026-08-05 10:47:24] local.INFO: Extracted packet for processing {"connection_id":148344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd059"} 
[2026-08-05 10:47:24] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410632,"longitude_deg":76.333664,"latitude_deg":9.5410632,"altitude":10,"angle":125,"satellites":39,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afd9c8","is_valid_coordinates":true} 
[2026-08-05 10:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192169728001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957811712,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785906934000,"timestamp_ms":1785906934000,"timestamp_seconds":1785906934,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05930f0"} 
[2026-08-05 10:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 10:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192169728001,"66":27832,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9194028294957811712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192169728001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:47:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:47:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957811712,"description":"Unknown IO ID 45"} 
[2026-08-05 10:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192169728001,"power":27832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957811712}} 
[2026-08-05 10:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":148344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:47:24] local.INFO: GPS data processed {"connection_id":148344,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:47:24] local.INFO: Acknowledgment sent {"connection_id":148344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:47:40] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:40] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:40] local.INFO: IMEI packet received {"connection_id":148569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":148569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:47:43] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:43] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:43] local.INFO: IMEI packet received {"connection_id":148569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":148569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:47:44] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:44] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:44] local.INFO: IMEI packet received {"connection_id":148569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":148569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:47:45] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:45] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:47:45] local.INFO: IMEI packet received {"connection_id":148569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":148569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:47:46] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd058a450012d180b4007218ca0004b002b22..."} 
[2026-08-05 10:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd058a450012d180b4007218ca0004b002b22..."} 
[2026-08-05 10:47:46] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd058a450012d180b4007218ca0004b002b22..."} 
[2026-08-05 10:47:46] local.INFO: Packet analysis {"connection_id":148569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:47:46] local.INFO: Extracted packet for processing {"connection_id":148569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119639200,"longitude_deg":75.6550464,"latitude_deg":11.96392,"altitude":75,"angle":43,"satellites":34,"speed":5,"hex_longitude":"2d180b40","hex_latitude":"07218ca0","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192165632001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10569493608660992,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732478512281694208,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785906898000,"timestamp_ms":1785906898000,"timestamp_seconds":1785906898,"priority":1,"record_length":96,"hex_timestamp":"0000019fd058a450"} 
[2026-08-05 10:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-05 10:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192165632001,"66":14135,"107":206,"83":41984,"24":5,"16":10569493608660992,"45":1732478512281694208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192165632001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:47:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10569493608660992,"km_value":10569493608660.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732478512281694208,"description":"Unknown IO ID 45"} 
[2026-08-05 10:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192165632001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1732478512281694208}} 
[2026-08-05 10:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":148569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:47:46] local.INFO: GPS data processed {"connection_id":148569,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:47:46] local.INFO: Acknowledgment sent {"connection_id":148569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:47:48] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd058c390012d180f40072190a8004b003e22..."} 
[2026-08-05 10:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd058c390012d180f40072190a8004b003e22..."} 
[2026-08-05 10:47:48] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd058c390012d180f40072190a8004b003e22..."} 
[2026-08-05 10:47:48] local.INFO: Packet analysis {"connection_id":148569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:47:48] local.INFO: Extracted packet for processing {"connection_id":148569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd058"} 
[2026-08-05 10:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756551488,"raw_latitude":119640232,"longitude_deg":75.6551488,"latitude_deg":11.9640232,"altitude":75,"angle":62,"satellites":34,"speed":7,"hex_longitude":"2d180f40","hex_latitude":"072190a8","is_valid_coordinates":true} 
[2026-08-05 10:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192165888001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10569566623105024,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881025900544,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785906906000,"timestamp_ms":1785906906000,"timestamp_seconds":1785906906,"priority":1,"record_length":96,"hex_timestamp":"0000019fd058c390"} 
[2026-08-05 10:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-05 10:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192165888001,"66":14070,"107":206,"83":41984,"24":7,"16":10569566623105024,"45":1732548881025900544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 10:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192165888001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:47:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 10:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10569566623105024,"km_value":10569566623105.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881025900544,"description":"Unknown IO ID 45"} 
[2026-08-05 10:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192165888001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1732548881025900544}} 
[2026-08-05 10:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":148569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:47:48] local.INFO: GPS data processed {"connection_id":148569,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:47:48] local.INFO: Acknowledgment sent {"connection_id":148569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:47:59] local.INFO: TCP Data received {"connection_id":148344,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05982f8012d7f97c005afd9c8000a007d2c..."} 
[2026-08-05 10:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05982f8012d7f97c005afd9c8000a007d2c..."} 
[2026-08-05 10:47:59] local.INFO: Processing buffer {"connection_id":148344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05982f8012d7f97c005afd9c8000a007d2c..."} 
[2026-08-05 10:47:59] local.INFO: Packet analysis {"connection_id":148344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd059"} 
[2026-08-05 10:47:59] local.INFO: Extracted packet for processing {"connection_id":148344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd059"} 
[2026-08-05 10:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95410632,"longitude_deg":76.333664,"latitude_deg":9.5410632,"altitude":10,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afd9c8","is_valid_coordinates":true} 
[2026-08-05 10:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192175104001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467158645276672,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957811712,"note":"Value kept but may cause issues"} 
[2026-08-05 10:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785906955000,"timestamp_ms":1785906955000,"timestamp_seconds":1785906955,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05982f8"} 
[2026-08-05 10:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-05 10:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192175104001,"66":27463,"250":206,"85":12544,"24":0,"16":370467158645276672,"45":9194028294957811712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192175104001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:47:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467158645276672,"km_value":370467158645276.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957811712,"description":"Unknown IO ID 45"} 
[2026-08-05 10:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192175104001,"power":27463,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957811712}} 
[2026-08-05 10:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":148344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:47:59] local.INFO: GPS data processed {"connection_id":148344,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:47:59] local.INFO: Acknowledgment sent {"connection_id":148344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:48:16] local.INFO: TCP Data received {"connection_id":148570,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:48:16] local.INFO: Processing buffer {"connection_id":148570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:48:16] local.INFO: IMEI packet received {"connection_id":148570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":148570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:48:19] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05aa020012d1820000721a5580051007723..."} 
[2026-08-05 10:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05aa020012d1820000721a5580051007723..."} 
[2026-08-05 10:48:19] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05aa020012d1820000721a5580051007723..."} 
[2026-08-05 10:48:19] local.INFO: Packet analysis {"connection_id":148569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:48:19] local.INFO: Extracted packet for processing {"connection_id":148569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645528,"longitude_deg":75.6555776,"latitude_deg":11.9645528,"altitude":81,"angle":119,"satellites":35,"speed":8,"hex_longitude":"2d182000","hex_latitude":"0721a558","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192198912001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10569923105390592,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305927680,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785907028000,"timestamp_ms":1785907028000,"timestamp_seconds":1785907028,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05aa020"} 
[2026-08-05 10:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-05 10:48: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-08-05 10: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-08-05 10:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192198912001,"66":13972,"105":206,"83":41984,"24":8,"16":10569923105390592,"45":1738248749305927680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192198912001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:48:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:48:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10569923105390592,"km_value":10569923105390.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305927680,"description":"Unknown IO ID 45"} 
[2026-08-05 10:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192198912001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738248749305927680}} 
[2026-08-05 10:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":148569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:48:19] local.INFO: GPS data processed {"connection_id":148569,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:48:19] local.INFO: Acknowledgment sent {"connection_id":148569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:48:20] local.INFO: TCP Data received {"connection_id":148570,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:48:20] local.INFO: Processing buffer {"connection_id":148570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:48:20] local.INFO: IMEI packet received {"connection_id":148570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":148570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:48:21] local.INFO: TCP Data received {"connection_id":148570,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0599680012d7f954005afdba00000004e2c..."} 
[2026-08-05 10:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0599680012d7f954005afdba00000004e2c..."} 
[2026-08-05 10:48:21] local.INFO: Processing buffer {"connection_id":148570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0599680012d7f954005afdba00000004e2c..."} 
[2026-08-05 10:48:21] local.INFO: Packet analysis {"connection_id":148570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd059"} 
[2026-08-05 10:48:21] local.INFO: Extracted packet for processing {"connection_id":148570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd059"} 
[2026-08-05 10:48:21] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95411104,"longitude_deg":76.3336,"latitude_deg":9.5411104,"altitude":0,"angle":78,"satellites":44,"speed":2,"hex_longitude":"2d7f9540","hex_latitude":"05afdba0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 10:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192180480001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467193005015040,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957811712,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785906960000,"timestamp_ms":1785906960000,"timestamp_seconds":1785906960,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0599680"} 
[2026-08-05 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-08-05 10:48: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-08-05 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-05 10:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 10:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192180480001,"66":27865,"250":206,"85":12544,"24":2,"16":370467193005015040,"45":9194028294957811712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192180480001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:48:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467193005015040,"km_value":370467193005015.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957811712,"description":"Unknown IO ID 45"} 
[2026-08-05 10:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192180480001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9194028294957811712}} 
[2026-08-05 10:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":148570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:48:21] local.INFO: GPS data processed {"connection_id":148570,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:48:21] local.INFO: Acknowledgment sent {"connection_id":148570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:48:45] local.INFO: TCP Data received {"connection_id":148345,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:48:45] local.INFO: Processing buffer {"connection_id":148345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:48:45] local.INFO: IMEI packet received {"connection_id":148345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":148345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:48:50] local.INFO: TCP Data received {"connection_id":148345,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:48:50] local.INFO: Processing buffer {"connection_id":148345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:48:50] local.INFO: IMEI packet received {"connection_id":148345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":148345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:48:51] local.INFO: TCP Data received {"connection_id":148345,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05aabd8012d1822400721a3d00053008523..."} 
[2026-08-05 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05aabd8012d1822400721a3d00053008523..."} 
[2026-08-05 10:48:51] local.INFO: Processing buffer {"connection_id":148345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05aabd8012d1822400721a3d00053008523..."} 
[2026-08-05 10:48:51] local.INFO: Packet analysis {"connection_id":148345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:48:51] local.INFO: Extracted packet for processing {"connection_id":148345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119645136,"longitude_deg":75.6556352,"latitude_deg":11.9645136,"altitude":83,"angle":133,"satellites":35,"speed":11,"hex_longitude":"2d182240","hex_latitude":"0721a3d0","is_valid_coordinates":true} 
[2026-08-05 10:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192199168001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10569957465128960,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794266624,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785907031000,"timestamp_ms":1785907031000,"timestamp_seconds":1785907031,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05aabd8"} 
[2026-08-05 10:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-05 10:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192199168001,"66":13993,"105":206,"83":41984,"24":11,"16":10569957465128960,"45":1738389486794266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192199168001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:48:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10569957465128960,"km_value":10569957465128.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794266624,"description":"Unknown IO ID 45"} 
[2026-08-05 10:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192199168001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738389486794266624}} 
[2026-08-05 10:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":148345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:48:51] local.INFO: GPS data processed {"connection_id":148345,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:48:51] local.INFO: Acknowledgment sent {"connection_id":148345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:48:52] local.INFO: TCP Data received {"connection_id":148570,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd059e888012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd059e888012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:48:52] local.INFO: Processing buffer {"connection_id":148570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd059e888012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:48:52] local.INFO: Packet analysis {"connection_id":148570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd059"} 
[2026-08-05 10:48:52] local.INFO: Extracted packet for processing {"connection_id":148570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd059"} 
[2026-08-05 10:48:52] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95411136,"longitude_deg":76.3336128,"latitude_deg":9.5411136,"altitude":0,"angle":82,"satellites":45,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afdbc0","is_valid_coordinates":true} 
[2026-08-05 10:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192181760001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516155904,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785906981000,"timestamp_ms":1785906981000,"timestamp_seconds":1785906981,"priority":1,"record_length":96,"hex_timestamp":"0000019fd059e888"} 
[2026-08-05 10:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 10:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192181760001,"66":27930,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9193324607516155904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192181760001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:48:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516155904,"description":"Unknown IO ID 45"} 
[2026-08-05 10:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192181760001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516155904}} 
[2026-08-05 10:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":148570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:48:52] local.INFO: GPS data processed {"connection_id":148570,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:48:52] local.INFO: Acknowledgment sent {"connection_id":148570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:48:52] local.INFO: TCP Data received {"connection_id":148345,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05afde0012d18280007219df00054008023..."} 
[2026-08-05 10:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05afde0012d18280007219df00054008023..."} 
[2026-08-05 10:48:52] local.INFO: Processing buffer {"connection_id":148345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05afde0012d18280007219df00054008023..."} 
[2026-08-05 10:48:52] local.INFO: Packet analysis {"connection_id":148345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:48:52] local.INFO: Extracted packet for processing {"connection_id":148345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119643632,"longitude_deg":75.6557824,"latitude_deg":11.9643632,"altitude":84,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d182800","hex_latitude":"07219df0","is_valid_coordinates":true} 
[2026-08-05 10:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192199936001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10570064839311360,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805491765248,"note":"Value kept but may cause issues"} 
[2026-08-05 10:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785907052000,"timestamp_ms":1785907052000,"timestamp_seconds":1785907052,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05afde0"} 
[2026-08-05 10:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 10:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192199936001,"66":14070,"105":206,"83":41984,"24":0,"16":10570064839311360,"45":1739022805491765248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192199936001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:48:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10570064839311360,"km_value":10570064839311.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805491765248,"description":"Unknown IO ID 45"} 
[2026-08-05 10:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192199936001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805491765248}} 
[2026-08-05 10:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":148345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:48:52] local.INFO: GPS data processed {"connection_id":148345,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:48:52] local.INFO: Acknowledgment sent {"connection_id":148345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:49:15] local.INFO: TCP Data received {"connection_id":149565,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:49:15] local.INFO: Processing buffer {"connection_id":149565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:49:15] local.INFO: IMEI packet received {"connection_id":149565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":149565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:49:20] local.INFO: TCP Data received {"connection_id":149565,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:49:20] local.INFO: Processing buffer {"connection_id":149565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:49:20] local.INFO: IMEI packet received {"connection_id":149565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":149565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:49:21] local.INFO: TCP Data received {"connection_id":149565,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05a3a90012d7f95c005afdbc0000000522c..."} 
[2026-08-05 10:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05a3a90012d7f95c005afdbc0000000522c..."} 
[2026-08-05 10:49:21] local.INFO: Processing buffer {"connection_id":149565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05a3a90012d7f95c005afdbc0000000522c..."} 
[2026-08-05 10:49:21] local.INFO: Packet analysis {"connection_id":149565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:49:21] local.INFO: Extracted packet for processing {"connection_id":149565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:49:21] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95411136,"longitude_deg":76.3336128,"latitude_deg":9.5411136,"altitude":0,"angle":82,"satellites":44,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afdbc0","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192187136001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907002000,"timestamp_ms":1785907002000,"timestamp_seconds":1785907002,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05a3a90"} 
[2026-08-05 10:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:49: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-08-05 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 10:49: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-08-05 10: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-08-05 10:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192187136001,"66":27876,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192187136001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:49:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192187136001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":149565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:49:21] local.INFO: GPS data processed {"connection_id":149565,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:49:21] local.INFO: Acknowledgment sent {"connection_id":149565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:49:23] local.INFO: TCP Data received {"connection_id":148345,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05b4fe8012d182cc0072199e00055007d22..."} 
[2026-08-05 10:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05b4fe8012d182cc0072199e00055007d22..."} 
[2026-08-05 10:49:23] local.INFO: Processing buffer {"connection_id":148345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05b4fe8012d182cc0072199e00055007d22..."} 
[2026-08-05 10:49:23] local.INFO: Packet analysis {"connection_id":148345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:49:23] local.INFO: Extracted packet for processing {"connection_id":148345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756559040,"raw_latitude":119642592,"longitude_deg":75.655904,"latitude_deg":11.9642592,"altitude":85,"angle":125,"satellites":34,"speed":8,"hex_longitude":"2d182cc0","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-05 10:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192205312001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10570146443689984,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286607466496,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785907073000,"timestamp_ms":1785907073000,"timestamp_seconds":1785907073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05b4fe8"} 
[2026-08-05 10:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 10:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192205312001,"66":14070,"105":206,"83":41984,"24":8,"16":10570146443689984,"45":1740641286607466496},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192205312001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:49:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10570146443689984,"km_value":10570146443689.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286607466496,"description":"Unknown IO ID 45"} 
[2026-08-05 10:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192205312001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1740641286607466496}} 
[2026-08-05 10:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":148345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:49:23] local.INFO: GPS data processed {"connection_id":148345,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:49:23] local.INFO: Acknowledgment sent {"connection_id":148345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:49:40] local.INFO: TCP Data received {"connection_id":150982,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:49:40] local.INFO: Processing buffer {"connection_id":150982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:49:40] local.INFO: IMEI packet received {"connection_id":150982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":150982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:49:43] local.INFO: TCP Data received {"connection_id":150982,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:49:43] local.INFO: Processing buffer {"connection_id":150982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:49:43] local.INFO: IMEI packet received {"connection_id":150982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":150982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:49:46] local.INFO: TCP Data received {"connection_id":150982,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05ba1f0012d182f00072199080055007e1f..."} 
[2026-08-05 10:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05ba1f0012d182f00072199080055007e1f..."} 
[2026-08-05 10:49:46] local.INFO: Processing buffer {"connection_id":150982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05ba1f0012d182f00072199080055007e1f..."} 
[2026-08-05 10:49:46] local.INFO: Packet analysis {"connection_id":150982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:49:46] local.INFO: Extracted packet for processing {"connection_id":150982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756559616,"raw_latitude":119642376,"longitude_deg":75.6559616,"latitude_deg":11.9642376,"altitude":85,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d182f00","hex_latitude":"07219908","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192210688001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10570176508461056,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741978292746575872,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785907094000,"timestamp_ms":1785907094000,"timestamp_seconds":1785907094,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05ba1f0"} 
[2026-08-05 10:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 10:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192210688001,"66":13559,"105":206,"83":41984,"24":0,"16":10570176508461056,"45":1741978292746575872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192210688001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:49:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10570176508461056,"km_value":10570176508461.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741978292746575872,"description":"Unknown IO ID 45"} 
[2026-08-05 10:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192210688001,"power":13559,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741978292746575872}} 
[2026-08-05 10:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":150982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:49:46] local.INFO: GPS data processed {"connection_id":150982,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:49:46] local.INFO: Acknowledgment sent {"connection_id":150982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:49:47] local.INFO: TCP Data received {"connection_id":150982,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05be070012d183180072198f8005500711f..."} 
[2026-08-05 10:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05be070012d183180072198f8005500711f..."} 
[2026-08-05 10:49:47] local.INFO: Processing buffer {"connection_id":150982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05be070012d183180072198f8005500711f..."} 
[2026-08-05 10:49:47] local.INFO: Packet analysis {"connection_id":150982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:49:47] local.INFO: Extracted packet for processing {"connection_id":150982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756560256,"raw_latitude":119642360,"longitude_deg":75.6560256,"latitude_deg":11.964236,"altitude":85,"angle":113,"satellites":31,"speed":6,"hex_longitude":"2d183180","hex_latitude":"072198f8","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192216064001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10570206573232128,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742611611444119552,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785907110000,"timestamp_ms":1785907110000,"timestamp_seconds":1785907110,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05be070"} 
[2026-08-05 10:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 10:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192216064001,"66":14135,"105":206,"83":41984,"24":6,"16":10570206573232128,"45":1742611611444119552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192216064001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:49:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10570206573232128,"km_value":10570206573232.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742611611444119552,"description":"Unknown IO ID 45"} 
[2026-08-05 10:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192216064001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1742611611444119552}} 
[2026-08-05 10:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":150982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:49:47] local.INFO: GPS data processed {"connection_id":150982,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:49:47] local.INFO: Acknowledgment sent {"connection_id":150982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:49:52] local.INFO: TCP Data received {"connection_id":149565,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05a8c98012d7f95c005afdbc0000000522a..."} 
[2026-08-05 10:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05a8c98012d7f95c005afdbc0000000522a..."} 
[2026-08-05 10:49:52] local.INFO: Processing buffer {"connection_id":149565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05a8c98012d7f95c005afdbc0000000522a..."} 
[2026-08-05 10:49:52] local.INFO: Packet analysis {"connection_id":149565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:49:52] local.INFO: Extracted packet for processing {"connection_id":149565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95411136,"longitude_deg":76.3336128,"latitude_deg":9.5411136,"altitude":0,"angle":82,"satellites":42,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afdbc0","is_valid_coordinates":true} 
[2026-08-05 10:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192192512001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785907023000,"timestamp_ms":1785907023000,"timestamp_seconds":1785907023,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05a8c98"} 
[2026-08-05 10:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 10:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192192512001,"66":28006,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192192512001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:49:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192192512001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":149565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:49:52] local.INFO: GPS data processed {"connection_id":149565,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:49:52] local.INFO: Acknowledgment sent {"connection_id":149565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:50:18] local.INFO: TCP Data received {"connection_id":150982,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05c22d8012d18530007218af80057007221..."} 
[2026-08-05 10:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05c22d8012d18530007218af80057007221..."} 
[2026-08-05 10:50:18] local.INFO: Processing buffer {"connection_id":150982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05c22d8012d18530007218af80057007221..."} 
[2026-08-05 10:50:18] local.INFO: Packet analysis {"connection_id":150982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05c"} 
[2026-08-05 10:50:18] local.INFO: Extracted packet for processing {"connection_id":150982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05c"} 
[2026-08-05 10:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756568832,"raw_latitude":119638776,"longitude_deg":75.6568832,"latitude_deg":11.9638776,"altitude":87,"angle":114,"satellites":33,"speed":26,"hex_longitude":"2d185300","hex_latitude":"07218af8","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192220160001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10570648954863616,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743315298885892096,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785907127000,"timestamp_ms":1785907127000,"timestamp_seconds":1785907127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05c22d8"} 
[2026-08-05 10:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-05 10:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192220160001,"66":13906,"105":206,"83":41984,"24":26,"16":10570648954863616,"45":1743315298885892096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 10:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192220160001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:50:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 10:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10570648954863616,"km_value":10570648954863.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743315298885892096,"description":"Unknown IO ID 45"} 
[2026-08-05 10:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192220160001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1743315298885892096}} 
[2026-08-05 10:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":150982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:50:18] local.INFO: GPS data processed {"connection_id":150982,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:50:18] local.INFO: Acknowledgment sent {"connection_id":150982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:50:20] local.INFO: TCP Data received {"connection_id":149566,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:50:20] local.INFO: Processing buffer {"connection_id":149566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:50:20] local.INFO: IMEI packet received {"connection_id":149566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":149566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:50:25] local.INFO: TCP Data received {"connection_id":149566,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:50:25] local.INFO: Processing buffer {"connection_id":149566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:50:25] local.INFO: IMEI packet received {"connection_id":149566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":149566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:50:26] local.INFO: TCP Data received {"connection_id":149566,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05adea0012d7f95c005afdbc0000000522a..."} 
[2026-08-05 10:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05adea0012d7f95c005afdbc0000000522a..."} 
[2026-08-05 10:50:26] local.INFO: Processing buffer {"connection_id":149566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05adea0012d7f95c005afdbc0000000522a..."} 
[2026-08-05 10:50:26] local.INFO: Packet analysis {"connection_id":149566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:50:26] local.INFO: Extracted packet for processing {"connection_id":149566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05a"} 
[2026-08-05 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95411136,"longitude_deg":76.3336128,"latitude_deg":9.5411136,"altitude":0,"angle":82,"satellites":42,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afdbc0","is_valid_coordinates":true} 
[2026-08-05 10:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192197888001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785907044000,"timestamp_ms":1785907044000,"timestamp_seconds":1785907044,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05adea0"} 
[2026-08-05 10:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 10:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192197888001,"66":27887,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192197888001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:50:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192197888001,"power":27887,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":149566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:50:26] local.INFO: GPS data processed {"connection_id":149566,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:50:26] local.INFO: Acknowledgment sent {"connection_id":149566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:50:30] local.INFO: TCP Data received {"connection_id":149566,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05b28d8012d7f95c005afdbc0000000522e..."} 
[2026-08-05 10:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05b28d8012d7f95c005afdbc0000000522e..."} 
[2026-08-05 10:50:30] local.INFO: Processing buffer {"connection_id":149566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05b28d8012d7f95c005afdbc0000000522e..."} 
[2026-08-05 10:50:30] local.INFO: Packet analysis {"connection_id":149566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:50:30] local.INFO: Extracted packet for processing {"connection_id":149566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95411136,"longitude_deg":76.3336128,"latitude_deg":9.5411136,"altitude":0,"angle":82,"satellites":46,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afdbc0","is_valid_coordinates":true} 
[2026-08-05 10:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192203264001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785907063000,"timestamp_ms":1785907063000,"timestamp_seconds":1785907063,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05b28d8"} 
[2026-08-05 10:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 10:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192203264001,"66":27930,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192203264001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:50:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192203264001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":149566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:50:30] local.INFO: GPS data processed {"connection_id":149566,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:50:30] local.INFO: Acknowledgment sent {"connection_id":149566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:50:39] local.INFO: TCP Data received {"connection_id":148346,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:50:39] local.INFO: Processing buffer {"connection_id":148346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:50:39] local.INFO: IMEI packet received {"connection_id":148346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":148346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:50:40] local.INFO: TCP Data received {"connection_id":148346,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:50:40] local.INFO: Processing buffer {"connection_id":148346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:50:40] local.INFO: IMEI packet received {"connection_id":148346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":148346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:50:42] local.INFO: TCP Data received {"connection_id":148346,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:50:42] local.INFO: Processing buffer {"connection_id":148346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:50:42] local.INFO: IMEI packet received {"connection_id":148346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":148346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:50:43] local.INFO: TCP Data received {"connection_id":148346,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05d20c0012d18d24007212728004200a622..."} 
[2026-08-05 10:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05d20c0012d18d24007212728004200a622..."} 
[2026-08-05 10:50:43] local.INFO: Processing buffer {"connection_id":148346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05d20c0012d18d24007212728004200a622..."} 
[2026-08-05 10:50:43] local.INFO: Packet analysis {"connection_id":148346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05d"} 
[2026-08-05 10:50:43] local.INFO: Extracted packet for processing {"connection_id":148346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05d"} 
[2026-08-05 10:50:43] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613224,"longitude_deg":75.6601408,"latitude_deg":11.9613224,"altitude":66,"angle":166,"satellites":34,"speed":29,"hex_longitude":"2d18d240","hex_latitude":"07212728","is_valid_coordinates":true} 
[2026-08-05 10:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192239616001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10572865157988352,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786732814036883456,"note":"Value kept but may cause issues"} 
[2026-08-05 10:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785907192000,"timestamp_ms":1785907192000,"timestamp_seconds":1785907192,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05d20c0"} 
[2026-08-05 10:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 10:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192239616001,"66":14102,"103":206,"83":41984,"24":29,"16":10572865157988352,"45":1786732814036883456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192239616001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:50:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10572865157988352,"km_value":10572865157988.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786732814036883456,"description":"Unknown IO ID 45"} 
[2026-08-05 10:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192239616001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1786732814036883456}} 
[2026-08-05 10:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":148346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:50:43] local.INFO: GPS data processed {"connection_id":148346,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:50:43] local.INFO: Acknowledgment sent {"connection_id":148346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:51:14] local.INFO: TCP Data received {"connection_id":148346,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05d2890012d18d2c0072120e0004100b322..."} 
[2026-08-05 10:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05d2890012d18d2c0072120e0004100b322..."} 
[2026-08-05 10:51:14] local.INFO: Processing buffer {"connection_id":148346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05d2890012d18d2c0072120e0004100b322..."} 
[2026-08-05 10:51:14] local.INFO: Packet analysis {"connection_id":148346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05d"} 
[2026-08-05 10:51:14] local.INFO: Extracted packet for processing {"connection_id":148346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05d"} 
[2026-08-05 10:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119611616,"longitude_deg":75.6601536,"latitude_deg":11.9611616,"altitude":65,"angle":179,"satellites":34,"speed":33,"hex_longitude":"2d18d2c0","hex_latitude":"072120e0","is_valid_coordinates":true} 
[2026-08-05 10:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192241152001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10572946762366976,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384671232,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785907194000,"timestamp_ms":1785907194000,"timestamp_seconds":1785907194,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05d2890"} 
[2026-08-05 10:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 10:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192241152001,"66":13515,"103":206,"83":41984,"24":33,"16":10572946762366976,"45":1788562401384671232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192241152001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:51:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10572946762366976,"km_value":10572946762366.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384671232,"description":"Unknown IO ID 45"} 
[2026-08-05 10:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192241152001,"power":13515,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788562401384671232}} 
[2026-08-05 10:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":148346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:51:14] local.INFO: GPS data processed {"connection_id":148346,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:51:14] local.INFO: Acknowledgment sent {"connection_id":148346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:51:15] local.INFO: TCP Data received {"connection_id":148347,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:51:15] local.INFO: Processing buffer {"connection_id":148347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:51:15] local.INFO: IMEI packet received {"connection_id":148347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":148347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:51:20] local.INFO: TCP Data received {"connection_id":148347,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:51:20] local.INFO: Processing buffer {"connection_id":148347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:51:20] local.INFO: IMEI packet received {"connection_id":148347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":148347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:51:21] local.INFO: TCP Data received {"connection_id":148347,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:51:21] local.INFO: Processing buffer {"connection_id":148347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:51:21] local.INFO: Packet analysis {"connection_id":148347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:51:21] local.INFO: Extracted packet for processing {"connection_id":148347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:51:21] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95411136,"longitude_deg":76.3336128,"latitude_deg":9.5411136,"altitude":0,"angle":82,"satellites":45,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afdbc0","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208128001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907065000,"timestamp_ms":1785907065000,"timestamp_seconds":1785907065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05b30a8"} 
[2026-08-05 10:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 10:51: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-08-05 10: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-08-05 10:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208128001,"66":27919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208128001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:51:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208128001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":148347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:51:21] local.INFO: GPS data processed {"connection_id":148347,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:51:21] local.INFO: Acknowledgment sent {"connection_id":148347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:51:40] local.INFO: TCP Data received {"connection_id":148348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:51:40] local.INFO: Processing buffer {"connection_id":148348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:51:40] local.INFO: IMEI packet received {"connection_id":148348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":148348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:51:41] local.INFO: TCP Data received {"connection_id":148348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:51:41] local.INFO: Processing buffer {"connection_id":148348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:51:41] local.INFO: IMEI packet received {"connection_id":148348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":148348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:51:45] local.INFO: TCP Data received {"connection_id":148348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:51:45] local.INFO: Processing buffer {"connection_id":148348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:51:45] local.INFO: IMEI packet received {"connection_id":148348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":148348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:51:45] local.INFO: TCP Data received {"connection_id":148348,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05e0350012d1968400720abf8002900561d..."} 
[2026-08-05 10:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05e0350012d1968400720abf8002900561d..."} 
[2026-08-05 10:51:45] local.INFO: Processing buffer {"connection_id":148348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05e0350012d1968400720abf8002900561d..."} 
[2026-08-05 10:51:45] local.INFO: Packet analysis {"connection_id":148348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05e"} 
[2026-08-05 10:51:45] local.INFO: Extracted packet for processing {"connection_id":148348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05e"} 
[2026-08-05 10:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119581688,"longitude_deg":75.6639808,"latitude_deg":11.9581688,"altitude":41,"angle":86,"satellites":29,"speed":34,"hex_longitude":"2d196840","hex_latitude":"0720abf8","is_valid_coordinates":true} 
[2026-08-05 10:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192254208001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10575506562875392,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567139682304,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785907250000,"timestamp_ms":1785907250000,"timestamp_seconds":1785907250,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05e0350"} 
[2026-08-05 10:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:51: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-08-05 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 10:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192254208001,"66":13972,"103":206,"83":41984,"24":34,"16":10575506562875392,"45":1824661567139682304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192254208001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:51:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10575506562875392,"km_value":10575506562875.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567139682304,"description":"Unknown IO ID 45"} 
[2026-08-05 10:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192254208001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1824661567139682304}} 
[2026-08-05 10:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":148348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:51:45] local.INFO: GPS data processed {"connection_id":148348,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:51:45] local.INFO: Acknowledgment sent {"connection_id":148348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:51:52] local.INFO: TCP Data received {"connection_id":148347,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:51:52] local.INFO: Processing buffer {"connection_id":148347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:51:52] local.INFO: Packet analysis {"connection_id":148347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:51:52] local.INFO: Extracted packet for processing {"connection_id":148347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:51:52] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95411136,"longitude_deg":76.3336128,"latitude_deg":9.5411136,"altitude":0,"angle":82,"satellites":45,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afdbc0","is_valid_coordinates":true} 
[2026-08-05 10:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208128001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785907065000,"timestamp_ms":1785907065000,"timestamp_seconds":1785907065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05b30a8"} 
[2026-08-05 10:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 10:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208128001,"66":27919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208128001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:51:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208128001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":148347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:51:52] local.INFO: GPS data processed {"connection_id":148347,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:51:52] local.INFO: Acknowledgment sent {"connection_id":148347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:52:15] local.INFO: TCP Data received {"connection_id":150983,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:52:15] local.INFO: Processing buffer {"connection_id":150983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:52:15] local.INFO: IMEI packet received {"connection_id":150983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":150983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:52:16] local.INFO: TCP Data received {"connection_id":148348,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05e0b20012d196ec00720ad580028004a1d..."} 
[2026-08-05 10:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05e0b20012d196ec00720ad580028004a1d..."} 
[2026-08-05 10:52:16] local.INFO: Processing buffer {"connection_id":148348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05e0b20012d196ec00720ad580028004a1d..."} 
[2026-08-05 10:52:16] local.INFO: Packet analysis {"connection_id":148348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05e"} 
[2026-08-05 10:52:16] local.INFO: Extracted packet for processing {"connection_id":148348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05e"} 
[2026-08-05 10:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119582040,"longitude_deg":75.6641472,"latitude_deg":11.958204,"altitude":40,"angle":74,"satellites":29,"speed":33,"hex_longitude":"2d196ec0","hex_latitude":"0720ad58","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192256000001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10575588167254016,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647883196416,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785907252000,"timestamp_ms":1785907252000,"timestamp_seconds":1785907252,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05e0b20"} 
[2026-08-05 10:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-05 10:52: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-08-05 10: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-08-05 10:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192256000001,"66":14461,"103":206,"83":41984,"24":33,"16":10575588167254016,"45":1830783647883196416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192256000001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:52:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:52:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10575588167254016,"km_value":10575588167254.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647883196416,"description":"Unknown IO ID 45"} 
[2026-08-05 10:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192256000001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1830783647883196416}} 
[2026-08-05 10:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":148348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:52:16] local.INFO: GPS data processed {"connection_id":148348,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:52:16] local.INFO: Acknowledgment sent {"connection_id":148348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:52:20] local.INFO: TCP Data received {"connection_id":150983,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:52:20] local.INFO: Processing buffer {"connection_id":150983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:52:20] local.INFO: IMEI packet received {"connection_id":150983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":150983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:52:21] local.INFO: TCP Data received {"connection_id":150983,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:52:21] local.INFO: Processing buffer {"connection_id":150983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:52:21] local.INFO: Packet analysis {"connection_id":150983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:52:21] local.INFO: Extracted packet for processing {"connection_id":150983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95411136,"longitude_deg":76.3336128,"latitude_deg":9.5411136,"altitude":0,"angle":82,"satellites":45,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afdbc0","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208128001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907065000,"timestamp_ms":1785907065000,"timestamp_seconds":1785907065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05b30a8"} 
[2026-08-05 10:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 10:52: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-08-05 10: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-08-05 10:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208128001,"66":27919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208128001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:52:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208128001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":150983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:52:21] local.INFO: GPS data processed {"connection_id":150983,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:52:21] local.INFO: Acknowledgment sent {"connection_id":150983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:52:40] local.INFO: TCP Data received {"connection_id":148571,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:52:40] local.INFO: Processing buffer {"connection_id":148571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:52:40] local.INFO: IMEI packet received {"connection_id":148571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":148571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:52:45] local.INFO: TCP Data received {"connection_id":148571,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:52:45] local.INFO: Processing buffer {"connection_id":148571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:52:45] local.INFO: IMEI packet received {"connection_id":148571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":148571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:52:46] local.INFO: TCP Data received {"connection_id":148571,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05ece70012d19dcc00720b2d80025005b20..."} 
[2026-08-05 10:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05ece70012d19dcc00720b2d80025005b20..."} 
[2026-08-05 10:52:46] local.INFO: Processing buffer {"connection_id":148571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05ece70012d19dcc00720b2d80025005b20..."} 
[2026-08-05 10:52:46] local.INFO: Packet analysis {"connection_id":148571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05e"} 
[2026-08-05 10:52:46] local.INFO: Extracted packet for processing {"connection_id":148571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05e"} 
[2026-08-05 10:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756669632,"raw_latitude":119583448,"longitude_deg":75.6669632,"latitude_deg":11.9583448,"altitude":37,"angle":91,"satellites":32,"speed":21,"hex_longitude":"2d19dcc0","hex_latitude":"0720b2d8","is_valid_coordinates":true} 
[2026-08-05 10:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192269056001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10577048456134656,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862942163972839424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785907302000,"timestamp_ms":1785907302000,"timestamp_seconds":1785907302,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05ece70"} 
[2026-08-05 10:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 10:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192269056001,"66":13928,"103":206,"83":41984,"24":21,"16":10577048456134656,"45":1862942163972839424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192269056001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:52:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10577048456134656,"km_value":10577048456134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862942163972839424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192269056001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1862942163972839424}} 
[2026-08-05 10:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":148571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:52:46] local.INFO: GPS data processed {"connection_id":148571,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:52:46] local.INFO: Acknowledgment sent {"connection_id":148571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:52:53] local.INFO: TCP Data received {"connection_id":150983,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:52:53] local.INFO: Processing buffer {"connection_id":150983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05b30a8012d7f95c005afdbc0000000522d..."} 
[2026-08-05 10:52:53] local.INFO: Packet analysis {"connection_id":150983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:52:53] local.INFO: Extracted packet for processing {"connection_id":150983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05b"} 
[2026-08-05 10:52:53] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95411136,"longitude_deg":76.3336128,"latitude_deg":9.5411136,"altitude":0,"angle":82,"satellites":45,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afdbc0","is_valid_coordinates":true} 
[2026-08-05 10:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208128001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785907065000,"timestamp_ms":1785907065000,"timestamp_seconds":1785907065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05b30a8"} 
[2026-08-05 10:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 10:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208128001,"66":27919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208128001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:52:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:52:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208128001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":150983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:52:53] local.INFO: GPS data processed {"connection_id":150983,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:52:53] local.INFO: Acknowledgment sent {"connection_id":150983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:53:14] local.INFO: TCP Data received {"connection_id":150984,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:53:14] local.INFO: Processing buffer {"connection_id":150984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:53:14] local.INFO: IMEI packet received {"connection_id":150984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":150984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:53:15] local.INFO: TCP Data received {"connection_id":150984,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:53:15] local.INFO: Processing buffer {"connection_id":150984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:53:15] local.INFO: IMEI packet received {"connection_id":150984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":150984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:53:16] local.INFO: TCP Data received {"connection_id":148571,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd05ed640012d19e0c00720b1f8002500691f..."} 
[2026-08-05 10:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd05ed640012d19e0c00720b1f8002500691f..."} 
[2026-08-05 10:53:17] local.INFO: Processing buffer {"connection_id":148571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd05ed640012d19e0c00720b1f8002500691f..."} 
[2026-08-05 10:53:17] local.INFO: Packet analysis {"connection_id":148571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd05e"} 
[2026-08-05 10:53:17] local.INFO: Extracted packet for processing {"connection_id":148571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd05e"} 
[2026-08-05 10:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756670656,"raw_latitude":119583224,"longitude_deg":75.6670656,"latitude_deg":11.9583224,"altitude":37,"angle":105,"satellites":31,"speed":23,"hex_longitude":"2d19e0c0","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192269312001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10577099995742208,"note":"Value kept but may cause issues"} 
[2026-08-05 10:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863575482670438400,"note":"Value kept but may cause issues"} 
[2026-08-05 10:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785907304000,"timestamp_ms":1785907304000,"timestamp_seconds":1785907304,"priority":1,"record_length":96,"hex_timestamp":"0000019fd05ed640"} 
[2026-08-05 10:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 10:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192269312001,"66":13961,"103":206,"83":41984,"24":23,"16":10577099995742208,"45":1863575482670438400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 10:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192269312001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:53:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 10:53:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10577099995742208,"km_value":10577099995742.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863575482670438400,"description":"Unknown IO ID 45"} 
[2026-08-05 10:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192269312001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1863575482670438400}} 
[2026-08-05 10:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":148571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:53:17] local.INFO: GPS data processed {"connection_id":148571,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:53:17] local.INFO: Acknowledgment sent {"connection_id":148571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:53:20] local.INFO: TCP Data received {"connection_id":150984,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:53:20] local.INFO: Processing buffer {"connection_id":150984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:53:20] local.INFO: IMEI packet received {"connection_id":150984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":150984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:53:21] local.INFO: TCP Data received {"connection_id":150984,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:53:21] local.INFO: Processing buffer {"connection_id":150984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:53:21] local.INFO: Packet analysis {"connection_id":150984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:53:21] local.INFO: Extracted packet for processing {"connection_id":150984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:53:21] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410688,"longitude_deg":76.3335424,"latitude_deg":9.5410688,"altitude":0,"angle":242,"satellites":28,"speed":1,"hex_longitude":"2d7f9300","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907392000,"timestamp_ms":1785907392000,"timestamp_seconds":1785907392,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0602e00"} 
[2026-08-05 10:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 10:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208640001,"66":26517,"250":206,"85":12544,"24":1,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:53:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208640001,"power":26517,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":150984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:53:21] local.INFO: GPS data processed {"connection_id":150984,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:53:21] local.INFO: Acknowledgment sent {"connection_id":150984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:53:41] local.INFO: TCP Data received {"connection_id":149567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:41] local.INFO: Processing buffer {"connection_id":149567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:41] local.INFO: IMEI packet received {"connection_id":149567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":149567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:53:41] local.INFO: TCP Data received {"connection_id":149567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:41] local.INFO: Processing buffer {"connection_id":149567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:41] local.INFO: IMEI packet received {"connection_id":149567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":149567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:53:42] local.INFO: TCP Data received {"connection_id":149567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:42] local.INFO: Processing buffer {"connection_id":149567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:42] local.INFO: IMEI packet received {"connection_id":149567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":149567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:53:43] local.INFO: TCP Data received {"connection_id":149567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:43] local.INFO: Processing buffer {"connection_id":149567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:53:43] local.INFO: IMEI packet received {"connection_id":149567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":149567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:53:52] local.INFO: TCP Data received {"connection_id":150984,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:53:52] local.INFO: Processing buffer {"connection_id":150984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:53:52] local.INFO: Packet analysis {"connection_id":150984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:53:52] local.INFO: Extracted packet for processing {"connection_id":150984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:53:52] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410688,"longitude_deg":76.3335424,"latitude_deg":9.5410688,"altitude":0,"angle":242,"satellites":28,"speed":1,"hex_longitude":"2d7f9300","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-08-05 10:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785907392000,"timestamp_ms":1785907392000,"timestamp_seconds":1785907392,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0602e00"} 
[2026-08-05 10:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 10:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208640001,"66":26517,"250":206,"85":12544,"24":1,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:53:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208640001,"power":26517,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":150984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:53:52] local.INFO: GPS data processed {"connection_id":150984,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:53:52] local.INFO: Acknowledgment sent {"connection_id":150984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:54:20] local.INFO: TCP Data received {"connection_id":148349,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:54:20] local.INFO: Processing buffer {"connection_id":148349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:54:20] local.INFO: IMEI packet received {"connection_id":148349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":148349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:54:25] local.INFO: TCP Data received {"connection_id":148349,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:54:25] local.INFO: Processing buffer {"connection_id":148349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:54:25] local.INFO: IMEI packet received {"connection_id":148349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":148349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:54:38] local.INFO: TCP Data received {"connection_id":148349,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:54:38] local.INFO: Processing buffer {"connection_id":148349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:54:38] local.INFO: Packet analysis {"connection_id":148349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:54:38] local.INFO: Extracted packet for processing {"connection_id":148349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410688,"longitude_deg":76.3335424,"latitude_deg":9.5410688,"altitude":0,"angle":242,"satellites":28,"speed":1,"hex_longitude":"2d7f9300","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-08-05 10:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785907392000,"timestamp_ms":1785907392000,"timestamp_seconds":1785907392,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0602e00"} 
[2026-08-05 10:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 10:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208640001,"66":26517,"250":206,"85":12544,"24":1,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:54:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208640001,"power":26517,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":148349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:54:38] local.INFO: GPS data processed {"connection_id":148349,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:54:38] local.INFO: Acknowledgment sent {"connection_id":148349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:54:39] local.INFO: TCP Data received {"connection_id":148349,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:54:39] local.INFO: Processing buffer {"connection_id":148349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:54:39] local.INFO: Packet analysis {"connection_id":148349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:54:39] local.INFO: Extracted packet for processing {"connection_id":148349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410688,"longitude_deg":76.3335424,"latitude_deg":9.5410688,"altitude":0,"angle":242,"satellites":28,"speed":1,"hex_longitude":"2d7f9300","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-08-05 10:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785907392000,"timestamp_ms":1785907392000,"timestamp_seconds":1785907392,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0602e00"} 
[2026-08-05 10:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 10:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208640001,"66":26517,"250":206,"85":12544,"24":1,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:54:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208640001,"power":26517,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":148349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":594999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:54:39] local.INFO: GPS data processed {"connection_id":148349,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:54:39] local.INFO: Acknowledgment sent {"connection_id":148349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:55:15] local.INFO: TCP Data received {"connection_id":150985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:55:15] local.INFO: Processing buffer {"connection_id":150985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:55:15] local.INFO: IMEI packet received {"connection_id":150985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":150985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:55:20] local.INFO: TCP Data received {"connection_id":150985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:55:20] local.INFO: Processing buffer {"connection_id":150985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:55:20] local.INFO: IMEI packet received {"connection_id":150985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":150985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:55:21] local.INFO: TCP Data received {"connection_id":150985,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:55:21] local.INFO: Processing buffer {"connection_id":150985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:55:21] local.INFO: Packet analysis {"connection_id":150985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:55:21] local.INFO: Extracted packet for processing {"connection_id":150985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410688,"longitude_deg":76.3335424,"latitude_deg":9.5410688,"altitude":0,"angle":242,"satellites":28,"speed":1,"hex_longitude":"2d7f9300","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907392000,"timestamp_ms":1785907392000,"timestamp_seconds":1785907392,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0602e00"} 
[2026-08-05 10:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 10:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208640001,"66":26517,"250":206,"85":12544,"24":1,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:55:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208640001,"power":26517,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":150985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:55:21] local.INFO: GPS data processed {"connection_id":150985,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:55:21] local.INFO: Acknowledgment sent {"connection_id":150985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:55:52] local.INFO: TCP Data received {"connection_id":150985,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:55:52] local.INFO: Processing buffer {"connection_id":150985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:55:52] local.INFO: Packet analysis {"connection_id":150985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:55:52] local.INFO: Extracted packet for processing {"connection_id":150985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:55:52] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410688,"longitude_deg":76.3335424,"latitude_deg":9.5410688,"altitude":0,"angle":242,"satellites":28,"speed":1,"hex_longitude":"2d7f9300","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-08-05 10:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785907392000,"timestamp_ms":1785907392000,"timestamp_seconds":1785907392,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0602e00"} 
[2026-08-05 10:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 10:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208640001,"66":26517,"250":206,"85":12544,"24":1,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:55:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208640001,"power":26517,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":150985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:55:52] local.INFO: GPS data processed {"connection_id":150985,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:55:52] local.INFO: Acknowledgment sent {"connection_id":150985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:56:15] local.INFO: TCP Data received {"connection_id":148350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:56:15] local.INFO: Processing buffer {"connection_id":148350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:56:15] local.INFO: IMEI packet received {"connection_id":148350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":148350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:56:20] local.INFO: TCP Data received {"connection_id":148350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:56:20] local.INFO: Processing buffer {"connection_id":148350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:56:20] local.INFO: IMEI packet received {"connection_id":148350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":148350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:56:21] local.INFO: TCP Data received {"connection_id":148350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:56:21] local.INFO: Processing buffer {"connection_id":148350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:56:21] local.INFO: Packet analysis {"connection_id":148350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:56:21] local.INFO: Extracted packet for processing {"connection_id":148350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:56:21] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410688,"longitude_deg":76.3335424,"latitude_deg":9.5410688,"altitude":0,"angle":242,"satellites":28,"speed":1,"hex_longitude":"2d7f9300","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907392000,"timestamp_ms":1785907392000,"timestamp_seconds":1785907392,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0602e00"} 
[2026-08-05 10:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 10:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:56: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-08-05 10:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208640001,"66":26517,"250":206,"85":12544,"24":1,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:56:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208640001,"power":26517,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":148350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:56:21] local.INFO: GPS data processed {"connection_id":148350,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:56:21] local.INFO: Acknowledgment sent {"connection_id":148350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:56:53] local.INFO: TCP Data received {"connection_id":148350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:56:53] local.INFO: Processing buffer {"connection_id":148350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:56:53] local.INFO: Packet analysis {"connection_id":148350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:56:53] local.INFO: Extracted packet for processing {"connection_id":148350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:56:53] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410688,"longitude_deg":76.3335424,"latitude_deg":9.5410688,"altitude":0,"angle":242,"satellites":28,"speed":1,"hex_longitude":"2d7f9300","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-08-05 10:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785907392000,"timestamp_ms":1785907392000,"timestamp_seconds":1785907392,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0602e00"} 
[2026-08-05 10:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 10:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208640001,"66":26517,"250":206,"85":12544,"24":1,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:56:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:56:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208640001,"power":26517,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":148350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:56:53] local.INFO: GPS data processed {"connection_id":148350,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:56:53] local.INFO: Acknowledgment sent {"connection_id":148350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:57:15] local.INFO: TCP Data received {"connection_id":150986,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:57:15] local.INFO: Processing buffer {"connection_id":150986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:57:15] local.INFO: IMEI packet received {"connection_id":150986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":150986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:57:20] local.INFO: TCP Data received {"connection_id":150986,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:57:20] local.INFO: Processing buffer {"connection_id":150986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:57:20] local.INFO: IMEI packet received {"connection_id":150986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":150986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:57:21] local.INFO: TCP Data received {"connection_id":150986,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:57:21] local.INFO: Processing buffer {"connection_id":150986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:57:21] local.INFO: Packet analysis {"connection_id":150986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:57:21] local.INFO: Extracted packet for processing {"connection_id":150986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:57:21] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410688,"longitude_deg":76.3335424,"latitude_deg":9.5410688,"altitude":0,"angle":242,"satellites":28,"speed":1,"hex_longitude":"2d7f9300","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785907392000,"timestamp_ms":1785907392000,"timestamp_seconds":1785907392,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0602e00"} 
[2026-08-05 10:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 10:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208640001,"66":26517,"250":206,"85":12544,"24":1,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:57:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:57:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208640001,"power":26517,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":150986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:57:22] local.INFO: GPS data processed {"connection_id":150986,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:57:22] local.INFO: Acknowledgment sent {"connection_id":150986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:57:53] local.INFO: TCP Data received {"connection_id":150986,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:57:53] local.INFO: Processing buffer {"connection_id":150986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0602e00012d7f930005afda00000000f21c..."} 
[2026-08-05 10:57:53] local.INFO: Packet analysis {"connection_id":150986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:57:53] local.INFO: Extracted packet for processing {"connection_id":150986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd060"} 
[2026-08-05 10:57:53] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410688,"longitude_deg":76.3335424,"latitude_deg":9.5410688,"altitude":0,"angle":242,"satellites":28,"speed":1,"hex_longitude":"2d7f9300","hex_latitude":"05afda00","is_valid_coordinates":true} 
[2026-08-05 10:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192208640001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004519424,"note":"Value kept but may cause issues"} 
[2026-08-05 10:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785907392000,"timestamp_ms":1785907392000,"timestamp_seconds":1785907392,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0602e00"} 
[2026-08-05 10:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 10:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192208640001,"66":26517,"250":206,"85":12544,"24":1,"16":370467201594949632,"45":9193465345004519424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192208640001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:57:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:57:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004519424,"description":"Unknown IO ID 45"} 
[2026-08-05 10:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192208640001,"power":26517,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193465345004519424}} 
[2026-08-05 10:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":150986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:57:53] local.INFO: GPS data processed {"connection_id":150986,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:57:53] local.INFO: Acknowledgment sent {"connection_id":150986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:58:16] local.INFO: TCP Data received {"connection_id":148352,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:58:16] local.INFO: Processing buffer {"connection_id":148352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:58:16] local.INFO: IMEI packet received {"connection_id":148352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":148352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:58:16] local.INFO: TCP Data received {"connection_id":148352,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:58:16] local.INFO: Processing buffer {"connection_id":148352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:58:16] local.INFO: IMEI packet received {"connection_id":148352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":148352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:58:20] local.INFO: TCP Data received {"connection_id":148352,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:58:20] local.INFO: Processing buffer {"connection_id":148352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:58:20] local.INFO: IMEI packet received {"connection_id":148352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":148352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:58:21] local.INFO: TCP Data received {"connection_id":148352,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:58:21] local.INFO: Processing buffer {"connection_id":148352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:58:21] local.INFO: Packet analysis {"connection_id":148352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 10:58:21] local.INFO: Extracted packet for processing {"connection_id":148352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 10:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 10:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192292352001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818450432,"note":"Value kept but may cause issues"} 
[2026-08-05 10:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907672000,"timestamp_ms":1785907672000,"timestamp_seconds":1785907672,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06473c0"} 
[2026-08-05 10:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 10:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192292352001,"66":26234,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192691288818450432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192292352001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:58:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818450432,"description":"Unknown IO ID 45"} 
[2026-08-05 10:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192292352001,"power":26234,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818450432}} 
[2026-08-05 10:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":148352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:58:21] local.INFO: GPS data processed {"connection_id":148352,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:58:21] local.INFO: Acknowledgment sent {"connection_id":148352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:58:45] local.INFO: TCP Data received {"connection_id":150987,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:58:45] local.INFO: Processing buffer {"connection_id":150987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:58:45] local.INFO: IMEI packet received {"connection_id":150987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":150987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:58:46] local.INFO: TCP Data received {"connection_id":150987,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd062a6d0012d1aa340071f98f80034007f20..."} 
[2026-08-05 10:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd062a6d0012d1aa340071f98f80034007f20..."} 
[2026-08-05 10:58:46] local.INFO: Processing buffer {"connection_id":150987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd062a6d0012d1aa340071f98f80034007f20..."} 
[2026-08-05 10:58:46] local.INFO: Packet analysis {"connection_id":150987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd062"} 
[2026-08-05 10:58:46] local.INFO: Extracted packet for processing {"connection_id":150987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd062"} 
[2026-08-05 10:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756720448,"raw_latitude":119511288,"longitude_deg":75.6720448,"latitude_deg":11.9511288,"altitude":52,"angle":127,"satellites":32,"speed":13,"hex_longitude":"2d1aa340","hex_latitude":"071f98f8","is_valid_coordinates":true} 
[2026-08-05 10:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192333312001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10584607598575616,"note":"Value kept but may cause issues"} 
[2026-08-05 10:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918814946831570944,"note":"Value kept but may cause issues"} 
[2026-08-05 10: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-08-05 10:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785907554000,"timestamp_ms":1785907554000,"timestamp_seconds":1785907554,"priority":1,"record_length":96,"hex_timestamp":"0000019fd062a6d0"} 
[2026-08-05 10:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:58: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-08-05 10:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-05 10:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192333312001,"66":13135,"101":206,"83":41984,"24":13,"16":10584607598575616,"45":1918814946831570944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 10:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192333312001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:58:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 10:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10584607598575616,"km_value":10584607598575.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918814946831570944,"description":"Unknown IO ID 45"} 
[2026-08-05 10:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192333312001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1918814946831570944}} 
[2026-08-05 10:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":150987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:58:46] local.INFO: GPS data processed {"connection_id":150987,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:58:46] local.INFO: Acknowledgment sent {"connection_id":150987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:58:53] local.INFO: TCP Data received {"connection_id":148352,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:58:53] local.INFO: Processing buffer {"connection_id":148352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:58:53] local.INFO: Packet analysis {"connection_id":148352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 10:58:53] local.INFO: Extracted packet for processing {"connection_id":148352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 10:58:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 10:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192292352001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818450432,"note":"Value kept but may cause issues"} 
[2026-08-05 10:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785907672000,"timestamp_ms":1785907672000,"timestamp_seconds":1785907672,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06473c0"} 
[2026-08-05 10:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 10:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192292352001,"66":26234,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192691288818450432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192292352001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:58:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:58:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818450432,"description":"Unknown IO ID 45"} 
[2026-08-05 10:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192292352001,"power":26234,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818450432}} 
[2026-08-05 10:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":148352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:58:53] local.INFO: GPS data processed {"connection_id":148352,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:58:53] local.INFO: Acknowledgment sent {"connection_id":148352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:59:19] local.INFO: TCP Data received {"connection_id":150987,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd062aab8012d1aa400071f98800034006d20..."} 
[2026-08-05 10:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd062aab8012d1aa400071f98800034006d20..."} 
[2026-08-05 10:59:19] local.INFO: Processing buffer {"connection_id":150987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd062aab8012d1aa400071f98800034006d20..."} 
[2026-08-05 10:59:19] local.INFO: Packet analysis {"connection_id":150987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd062"} 
[2026-08-05 10:59:19] local.INFO: Extracted packet for processing {"connection_id":150987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd062"} 
[2026-08-05 10:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756720640,"raw_latitude":119511168,"longitude_deg":75.672064,"latitude_deg":11.9511168,"altitude":52,"angle":109,"satellites":32,"speed":11,"hex_longitude":"2d1aa400","hex_latitude":"071f9880","is_valid_coordinates":true} 
[2026-08-05 10: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-08-05 10:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192333824001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10584620483477504,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919448265529030656,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785907555000,"timestamp_ms":1785907555000,"timestamp_seconds":1785907555,"priority":1,"record_length":96,"hex_timestamp":"0000019fd062aab8"} 
[2026-08-05 10:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 10:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10: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-08-05 10:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192333824001,"66":13156,"101":206,"83":41984,"24":11,"16":10584620483477504,"45":1919448265529030656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 10:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192333824001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:59:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 10:59:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10584620483477504,"km_value":10584620483477.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919448265529030656,"description":"Unknown IO ID 45"} 
[2026-08-05 10:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192333824001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1919448265529030656}} 
[2026-08-05 10:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":150987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:59:19] local.INFO: GPS data processed {"connection_id":150987,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:59:19] local.INFO: Acknowledgment sent {"connection_id":150987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:59:20] local.INFO: TCP Data received {"connection_id":148353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:59:20] local.INFO: Processing buffer {"connection_id":148353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:59:20] local.INFO: IMEI packet received {"connection_id":148353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 10:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":148353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:59:25] local.INFO: TCP Data received {"connection_id":148353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:59:25] local.INFO: Processing buffer {"connection_id":148353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 10:59:25] local.INFO: IMEI packet received {"connection_id":148353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 10:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":148353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:59:26] local.INFO: TCP Data received {"connection_id":148353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:59:26] local.INFO: Processing buffer {"connection_id":148353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:59:26] local.INFO: Packet analysis {"connection_id":148353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 10:59:26] local.INFO: Extracted packet for processing {"connection_id":148353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 10:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 10:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192292352001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818450432,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785907672000,"timestamp_ms":1785907672000,"timestamp_seconds":1785907672,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06473c0"} 
[2026-08-05 10:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 10:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192292352001,"66":26234,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192691288818450432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192292352001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:59:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818450432,"description":"Unknown IO ID 45"} 
[2026-08-05 10:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192292352001,"power":26234,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818450432}} 
[2026-08-05 10:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":148353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:59:26] local.INFO: GPS data processed {"connection_id":148353,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:59:26] local.INFO: Acknowledgment sent {"connection_id":148353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:59:31] local.INFO: TCP Data received {"connection_id":148353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:59:31] local.INFO: Processing buffer {"connection_id":148353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 10:59:31] local.INFO: Packet analysis {"connection_id":148353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 10:59:31] local.INFO: Extracted packet for processing {"connection_id":148353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 10:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 10:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192292352001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818450432,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785907672000,"timestamp_ms":1785907672000,"timestamp_seconds":1785907672,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06473c0"} 
[2026-08-05 10:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 10:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 10:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 10:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 10:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 10:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192292352001,"66":26234,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192691288818450432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 10:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 10:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 10:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192292352001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:59:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 10:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 10:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818450432,"description":"Unknown IO ID 45"} 
[2026-08-05 10:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192292352001,"power":26234,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818450432}} 
[2026-08-05 10:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":148353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:59:31] local.INFO: GPS data processed {"connection_id":148353,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:59:31] local.INFO: Acknowledgment sent {"connection_id":148353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 10:59:40] local.INFO: TCP Data received {"connection_id":148574,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:59:40] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:59:40] local.INFO: IMEI packet received {"connection_id":148574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 10:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":148574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 10:59:42] local.INFO: TCP Data received {"connection_id":148574,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:59:42] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 10:59:42] local.INFO: IMEI packet received {"connection_id":148574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 10:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":148574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 10:59:43] local.INFO: TCP Data received {"connection_id":148574,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd062fcc0012d1aa580071f98380035006320..."} 
[2026-08-05 10:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd062fcc0012d1aa580071f98380035006320..."} 
[2026-08-05 10:59:43] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd062fcc0012d1aa580071f98380035006320..."} 
[2026-08-05 10:59:43] local.INFO: Packet analysis {"connection_id":148574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd062"} 
[2026-08-05 10:59:43] local.INFO: Extracted packet for processing {"connection_id":148574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd062"} 
[2026-08-05 10:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119511096,"longitude_deg":75.6721024,"latitude_deg":11.9511096,"altitude":53,"angle":99,"satellites":32,"speed":0,"hex_longitude":"2d1aa580","hex_latitude":"071f9838","is_valid_coordinates":true} 
[2026-08-05 10:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 10:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192334080001,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10584637663346688,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919659371761532928,"note":"Value kept but may cause issues"} 
[2026-08-05 10:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 10:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785907576000,"timestamp_ms":1785907576000,"timestamp_seconds":1785907576,"priority":1,"record_length":96,"hex_timestamp":"0000019fd062fcc0"} 
[2026-08-05 10:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 10:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 10:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-05 10:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 10:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 10:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 10:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 10:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 10:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 10:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 10:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 10:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 10:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192334080001,"66":13135,"101":206,"83":41984,"24":0,"16":10584637663346688,"45":1919659371761532928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 10:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 10:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 10:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192334080001,"description":"Unknown IO ID 0"} 
[2026-08-05 10:59:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 10:59:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 10:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10584637663346688,"km_value":10584637663346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 10:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919659371761532928,"description":"Unknown IO ID 45"} 
[2026-08-05 10:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192334080001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1919659371761532928}} 
[2026-08-05 10:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":148574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 10:59:43] local.INFO: GPS data processed {"connection_id":148574,"processed":1,"errors":0,"total":1} 
[2026-08-05 10:59:43] local.INFO: Acknowledgment sent {"connection_id":148574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:00:14] local.INFO: TCP Data received {"connection_id":148574,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0634ec8012d1aa580071f9838003500631d..."} 
[2026-08-05 11:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0634ec8012d1aa580071f9838003500631d..."} 
[2026-08-05 11:00:14] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0634ec8012d1aa580071f9838003500631d..."} 
[2026-08-05 11:00:14] local.INFO: Packet analysis {"connection_id":148574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd063"} 
[2026-08-05 11:00:14] local.INFO: Extracted packet for processing {"connection_id":148574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd063"} 
[2026-08-05 11:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119511096,"longitude_deg":75.6721024,"latitude_deg":11.9511096,"altitude":53,"angle":99,"satellites":29,"speed":0,"hex_longitude":"2d1aa580","hex_latitude":"071f9838","is_valid_coordinates":true} 
[2026-08-05 11:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192339456001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10584637663346688,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584226580480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00: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-08-05 11:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785907597000,"timestamp_ms":1785907597000,"timestamp_seconds":1785907597,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0634ec8"} 
[2026-08-05 11:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 11:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192339456001,"66":13059,"101":206,"83":41984,"24":0,"16":10584637663346688,"45":1920081584226580480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192339456001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:00:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10584637663346688,"km_value":10584637663346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584226580480,"description":"Unknown IO ID 45"} 
[2026-08-05 11:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192339456001,"power":13059,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1920081584226580480}} 
[2026-08-05 11:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":148574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:00:14] local.INFO: GPS data processed {"connection_id":148574,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:00:14] local.INFO: Acknowledgment sent {"connection_id":148574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:00:15] local.INFO: TCP Data received {"connection_id":149569,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:00:15] local.INFO: Processing buffer {"connection_id":149569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:00:15] local.INFO: IMEI packet received {"connection_id":149569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":149569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:00:23] local.INFO: TCP Data received {"connection_id":149569,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:00:23] local.INFO: Processing buffer {"connection_id":149569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:00:23] local.INFO: IMEI packet received {"connection_id":149569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":149569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:00:24] local.INFO: TCP Data received {"connection_id":149569,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:00:24] local.INFO: Processing buffer {"connection_id":149569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:00:24] local.INFO: Packet analysis {"connection_id":149569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:00:24] local.INFO: Extracted packet for processing {"connection_id":149569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192292352001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818450432,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785907672000,"timestamp_ms":1785907672000,"timestamp_seconds":1785907672,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06473c0"} 
[2026-08-05 11:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 11:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192292352001,"66":26234,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192691288818450432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192292352001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:00:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818450432,"description":"Unknown IO ID 45"} 
[2026-08-05 11:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192292352001,"power":26234,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818450432}} 
[2026-08-05 11:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":149569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:00:24] local.INFO: GPS data processed {"connection_id":149569,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:00:24] local.INFO: Acknowledgment sent {"connection_id":149569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:00:40] local.INFO: TCP Data received {"connection_id":148575,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:00:40] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:00:40] local.INFO: IMEI packet received {"connection_id":148575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":148575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:00:45] local.INFO: TCP Data received {"connection_id":148575,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:00:45] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:00:45] local.INFO: IMEI packet received {"connection_id":148575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":148575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:00:46] local.INFO: TCP Data received {"connection_id":148575,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd063a0d0012d1aa580071f98380035006320..."} 
[2026-08-05 11:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd063a0d0012d1aa580071f98380035006320..."} 
[2026-08-05 11:00:46] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd063a0d0012d1aa580071f98380035006320..."} 
[2026-08-05 11:00:46] local.INFO: Packet analysis {"connection_id":148575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd063"} 
[2026-08-05 11:00:46] local.INFO: Extracted packet for processing {"connection_id":148575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd063"} 
[2026-08-05 11:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119511096,"longitude_deg":75.6721024,"latitude_deg":11.9511096,"altitude":53,"angle":99,"satellites":32,"speed":0,"hex_longitude":"2d1aa580","hex_latitude":"071f9838","is_valid_coordinates":true} 
[2026-08-05 11:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192344832001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10584637663346688,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584226580480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00: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-08-05 11:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785907618000,"timestamp_ms":1785907618000,"timestamp_seconds":1785907618,"priority":1,"record_length":96,"hex_timestamp":"0000019fd063a0d0"} 
[2026-08-05 11:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:00: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-08-05 11: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 11:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418424,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:46] local.WARNING: Large IO value detected {"io_id":101,"raw_value":58075809043709992,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:46] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2768240640,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3496115160,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 11:00:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2593128448,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,154,159,252,45,128,152,53,32,10,66,170,52,166,64,1,240,79,227,208,31,4,113,205,20,151,239,51,2,37,7,56,40],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-05 11:00:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819161460215382016,"timestamp_seconds":3819161460215382.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 11:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192344832001,"66":12993,"101":206,"83":41984,"24":0,"16":10584637663346688,"45":1920081584226580480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192344832001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:00:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10584637663346688,"km_value":10584637663346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584226580480,"description":"Unknown IO ID 45"} 
[2026-08-05 11:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192344832001,"power":12993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1920081584226580480}} 
[2026-08-05 11:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":148575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:00:46] local.INFO: GPS data processed {"connection_id":148575,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:00:46] local.INFO: Acknowledgment sent {"connection_id":148575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:00:58] local.INFO: TCP Data received {"connection_id":149569,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:00:58] local.INFO: Processing buffer {"connection_id":149569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:00:58] local.INFO: Packet analysis {"connection_id":149569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:00:58] local.INFO: Extracted packet for processing {"connection_id":149569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192292352001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818450432,"note":"Value kept but may cause issues"} 
[2026-08-05 11:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785907672000,"timestamp_ms":1785907672000,"timestamp_seconds":1785907672,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06473c0"} 
[2026-08-05 11:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 11:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192292352001,"66":26234,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192691288818450432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192292352001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:00:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818450432,"description":"Unknown IO ID 45"} 
[2026-08-05 11:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192292352001,"power":26234,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818450432}} 
[2026-08-05 11:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":149569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:00:58] local.INFO: GPS data processed {"connection_id":149569,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:00:58] local.INFO: Acknowledgment sent {"connection_id":149569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:01:15] local.INFO: TCP Data received {"connection_id":148354,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:01:15] local.INFO: Processing buffer {"connection_id":148354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:01:15] local.INFO: IMEI packet received {"connection_id":148354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":148354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:01:17] local.INFO: TCP Data received {"connection_id":148575,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd063f2d8012d1aa580071f98380035006320..."} 
[2026-08-05 11:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd063f2d8012d1aa580071f98380035006320..."} 
[2026-08-05 11:01:17] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd063f2d8012d1aa580071f98380035006320..."} 
[2026-08-05 11:01:17] local.INFO: Packet analysis {"connection_id":148575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd063"} 
[2026-08-05 11:01:17] local.INFO: Extracted packet for processing {"connection_id":148575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd063"} 
[2026-08-05 11:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119511096,"longitude_deg":75.6721024,"latitude_deg":11.9511096,"altitude":53,"angle":99,"satellites":32,"speed":0,"hex_longitude":"2d1aa580","hex_latitude":"071f9838","is_valid_coordinates":true} 
[2026-08-05 11:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192350208001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10584637663346688,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584226580480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785907639000,"timestamp_ms":1785907639000,"timestamp_seconds":1785907639,"priority":1,"record_length":96,"hex_timestamp":"0000019fd063f2d8"} 
[2026-08-05 11:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 11:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192350208001,"66":12972,"101":206,"83":41984,"24":0,"16":10584637663346688,"45":1920081584226580480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192350208001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:01:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10584637663346688,"km_value":10584637663346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584226580480,"description":"Unknown IO ID 45"} 
[2026-08-05 11:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192350208001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1920081584226580480}} 
[2026-08-05 11:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":148575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:01:17] local.INFO: GPS data processed {"connection_id":148575,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:01:17] local.INFO: Acknowledgment sent {"connection_id":148575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:01:20] local.INFO: TCP Data received {"connection_id":148354,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:01:20] local.INFO: Processing buffer {"connection_id":148354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:01:20] local.INFO: IMEI packet received {"connection_id":148354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":148354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:01:21] local.INFO: TCP Data received {"connection_id":148354,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:01:21] local.INFO: Processing buffer {"connection_id":148354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:01:21] local.INFO: Packet analysis {"connection_id":148354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:01:21] local.INFO: Extracted packet for processing {"connection_id":148354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192292352001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818450432,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907672000,"timestamp_ms":1785907672000,"timestamp_seconds":1785907672,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06473c0"} 
[2026-08-05 11:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 11:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192292352001,"66":26234,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192691288818450432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192292352001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:01:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818450432,"description":"Unknown IO ID 45"} 
[2026-08-05 11:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192292352001,"power":26234,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818450432}} 
[2026-08-05 11:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":148354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:01:21] local.INFO: GPS data processed {"connection_id":148354,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:01:21] local.INFO: Acknowledgment sent {"connection_id":148354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:01:40] local.INFO: TCP Data received {"connection_id":150988,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:01:40] local.INFO: Processing buffer {"connection_id":150988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:01:40] local.INFO: IMEI packet received {"connection_id":150988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":150988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:01:45] local.INFO: TCP Data received {"connection_id":150988,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:01:45] local.INFO: Processing buffer {"connection_id":150988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:01:45] local.INFO: IMEI packet received {"connection_id":150988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":150988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:01:46] local.INFO: TCP Data received {"connection_id":150988,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06444e0012d1aa580071f98380035006320..."} 
[2026-08-05 11:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06444e0012d1aa580071f98380035006320..."} 
[2026-08-05 11:01:46] local.INFO: Processing buffer {"connection_id":150988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06444e0012d1aa580071f98380035006320..."} 
[2026-08-05 11:01:46] local.INFO: Packet analysis {"connection_id":150988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:01:46] local.INFO: Extracted packet for processing {"connection_id":150988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119511096,"longitude_deg":75.6721024,"latitude_deg":11.9511096,"altitude":53,"angle":99,"satellites":32,"speed":0,"hex_longitude":"2d1aa580","hex_latitude":"071f9838","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192355584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10584637663346688,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584226580480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01: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-08-05 11:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785907660000,"timestamp_ms":1785907660000,"timestamp_seconds":1785907660,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06444e0"} 
[2026-08-05 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-08-05 11:01: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-08-05 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-05 11:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192355584001,"66":12939,"101":206,"83":41984,"24":0,"16":10584637663346688,"45":1920081584226580480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192355584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:01:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10584637663346688,"km_value":10584637663346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584226580480,"description":"Unknown IO ID 45"} 
[2026-08-05 11:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192355584001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1920081584226580480}} 
[2026-08-05 11:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":150988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:01:46] local.INFO: GPS data processed {"connection_id":150988,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:01:46] local.INFO: Acknowledgment sent {"connection_id":150988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:01:52] local.INFO: TCP Data received {"connection_id":148354,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:01:52] local.INFO: Processing buffer {"connection_id":148354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:01:52] local.INFO: Packet analysis {"connection_id":148354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:01:52] local.INFO: Extracted packet for processing {"connection_id":148354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:01:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192292352001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818450432,"note":"Value kept but may cause issues"} 
[2026-08-05 11:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785907672000,"timestamp_ms":1785907672000,"timestamp_seconds":1785907672,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06473c0"} 
[2026-08-05 11:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 11:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192292352001,"66":26234,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192691288818450432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192292352001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:01:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818450432,"description":"Unknown IO ID 45"} 
[2026-08-05 11:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192292352001,"power":26234,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818450432}} 
[2026-08-05 11:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":148354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:01:52] local.INFO: GPS data processed {"connection_id":148354,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:01:52] local.INFO: Acknowledgment sent {"connection_id":148354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:02:15] local.INFO: TCP Data received {"connection_id":150989,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:02:15] local.INFO: Processing buffer {"connection_id":150989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:02:15] local.INFO: IMEI packet received {"connection_id":150989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":150989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:02:17] local.INFO: TCP Data received {"connection_id":150988,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06496e8012d1aa580071f98380035006322..."} 
[2026-08-05 11:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06496e8012d1aa580071f98380035006322..."} 
[2026-08-05 11:02:17] local.INFO: Processing buffer {"connection_id":150988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06496e8012d1aa580071f98380035006322..."} 
[2026-08-05 11:02:17] local.INFO: Packet analysis {"connection_id":150988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:02:17] local.INFO: Extracted packet for processing {"connection_id":150988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119511096,"longitude_deg":75.6721024,"latitude_deg":11.9511096,"altitude":53,"angle":99,"satellites":34,"speed":0,"hex_longitude":"2d1aa580","hex_latitude":"071f9838","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192360960001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10584637663346688,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584226580480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785907681000,"timestamp_ms":1785907681000,"timestamp_seconds":1785907681,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06496e8"} 
[2026-08-05 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-08-05 11:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 11:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192360960001,"66":12863,"101":206,"83":41984,"24":0,"16":10584637663346688,"45":1920081584226580480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192360960001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:02:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10584637663346688,"km_value":10584637663346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584226580480,"description":"Unknown IO ID 45"} 
[2026-08-05 11:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192360960001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1920081584226580480}} 
[2026-08-05 11:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":150988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:02:17] local.INFO: GPS data processed {"connection_id":150988,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:02:17] local.INFO: Acknowledgment sent {"connection_id":150988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:02:20] local.INFO: TCP Data received {"connection_id":150989,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:02:20] local.INFO: Processing buffer {"connection_id":150989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:02:20] local.INFO: IMEI packet received {"connection_id":150989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":150989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:02:21] local.INFO: TCP Data received {"connection_id":150989,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:02:21] local.INFO: Processing buffer {"connection_id":150989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:02:21] local.INFO: Packet analysis {"connection_id":150989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:02:21] local.INFO: Extracted packet for processing {"connection_id":150989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:02:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192292352001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818450432,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907672000,"timestamp_ms":1785907672000,"timestamp_seconds":1785907672,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06473c0"} 
[2026-08-05 11:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 11:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:02: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-08-05 11:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192292352001,"66":26234,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192691288818450432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192292352001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:02:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818450432,"description":"Unknown IO ID 45"} 
[2026-08-05 11:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192292352001,"power":26234,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818450432}} 
[2026-08-05 11:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":150989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:02:21] local.INFO: GPS data processed {"connection_id":150989,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:02:21] local.INFO: Acknowledgment sent {"connection_id":150989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:02:40] local.INFO: TCP Data received {"connection_id":148355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:02:40] local.INFO: Processing buffer {"connection_id":148355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:02:40] local.INFO: IMEI packet received {"connection_id":148355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":148355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:02:45] local.INFO: TCP Data received {"connection_id":148355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:02:45] local.INFO: Processing buffer {"connection_id":148355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:02:45] local.INFO: IMEI packet received {"connection_id":148355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":148355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:02:46] local.INFO: TCP Data received {"connection_id":148355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd064e8f0012d1aa580071f9838003500631e..."} 
[2026-08-05 11:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd064e8f0012d1aa580071f9838003500631e..."} 
[2026-08-05 11:02:46] local.INFO: Processing buffer {"connection_id":148355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd064e8f0012d1aa580071f9838003500631e..."} 
[2026-08-05 11:02:46] local.INFO: Packet analysis {"connection_id":148355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:02:46] local.INFO: Extracted packet for processing {"connection_id":148355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119511096,"longitude_deg":75.6721024,"latitude_deg":11.9511096,"altitude":53,"angle":99,"satellites":30,"speed":0,"hex_longitude":"2d1aa580","hex_latitude":"071f9838","is_valid_coordinates":true} 
[2026-08-05 11:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192366336001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10584637663346688,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584226580480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02: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-08-05 11:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785907702000,"timestamp_ms":1785907702000,"timestamp_seconds":1785907702,"priority":1,"record_length":96,"hex_timestamp":"0000019fd064e8f0"} 
[2026-08-05 11:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:02: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-08-05 11:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192366336001,"66":12841,"101":206,"83":41984,"24":0,"16":10584637663346688,"45":1920081584226580480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192366336001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:02:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10584637663346688,"km_value":10584637663346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584226580480,"description":"Unknown IO ID 45"} 
[2026-08-05 11:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192366336001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1920081584226580480}} 
[2026-08-05 11:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":148355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:02:46] local.INFO: GPS data processed {"connection_id":148355,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:02:46] local.INFO: Acknowledgment sent {"connection_id":148355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:02:53] local.INFO: TCP Data received {"connection_id":150989,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:02:53] local.INFO: Processing buffer {"connection_id":150989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06473c0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:02:53] local.INFO: Packet analysis {"connection_id":150989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:02:53] local.INFO: Extracted packet for processing {"connection_id":150989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd064"} 
[2026-08-05 11:02:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192292352001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818450432,"note":"Value kept but may cause issues"} 
[2026-08-05 11:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785907672000,"timestamp_ms":1785907672000,"timestamp_seconds":1785907672,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06473c0"} 
[2026-08-05 11:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 11:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192292352001,"66":26234,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192691288818450432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192292352001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:02:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:02:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818450432,"description":"Unknown IO ID 45"} 
[2026-08-05 11:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192292352001,"power":26234,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818450432}} 
[2026-08-05 11:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":150989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:02:53] local.INFO: GPS data processed {"connection_id":150989,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:02:53] local.INFO: Acknowledgment sent {"connection_id":150989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:03:15] local.INFO: TCP Data received {"connection_id":148356,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:03:15] local.INFO: Processing buffer {"connection_id":148356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:03:15] local.INFO: IMEI packet received {"connection_id":148356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":148356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:03:16] local.INFO: TCP Data received {"connection_id":148356,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:03:16] local.INFO: Processing buffer {"connection_id":148356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:03:16] local.INFO: IMEI packet received {"connection_id":148356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":148356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:03:18] local.INFO: TCP Data received {"connection_id":148355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0653af8012d1aa580071f98380035006320..."} 
[2026-08-05 11:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0653af8012d1aa580071f98380035006320..."} 
[2026-08-05 11:03:18] local.INFO: Processing buffer {"connection_id":148355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0653af8012d1aa580071f98380035006320..."} 
[2026-08-05 11:03:18] local.INFO: Packet analysis {"connection_id":148355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd065"} 
[2026-08-05 11:03:18] local.INFO: Extracted packet for processing {"connection_id":148355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd065"} 
[2026-08-05 11:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119511096,"longitude_deg":75.6721024,"latitude_deg":11.9511096,"altitude":53,"angle":99,"satellites":32,"speed":0,"hex_longitude":"2d1aa580","hex_latitude":"071f9838","is_valid_coordinates":true} 
[2026-08-05 11:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192371712001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10584637663346688,"note":"Value kept but may cause issues"} 
[2026-08-05 11:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584226580480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785907723000,"timestamp_ms":1785907723000,"timestamp_seconds":1785907723,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0653af8"} 
[2026-08-05 11:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-05 11:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192371712001,"66":12722,"101":206,"83":41984,"24":0,"16":10584637663346688,"45":1920081584226580480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192371712001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:03:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10584637663346688,"km_value":10584637663346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584226580480,"description":"Unknown IO ID 45"} 
[2026-08-05 11:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192371712001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1920081584226580480}} 
[2026-08-05 11:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":148355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:03:18] local.INFO: GPS data processed {"connection_id":148355,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:03:18] local.INFO: Acknowledgment sent {"connection_id":148355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:03:20] local.INFO: TCP Data received {"connection_id":148356,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:03:20] local.INFO: Processing buffer {"connection_id":148356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:03:20] local.INFO: IMEI packet received {"connection_id":148356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":148356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:03:32] local.INFO: TCP Data received {"connection_id":148356,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:03:32] local.INFO: Processing buffer {"connection_id":148356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:03:32] local.INFO: Packet analysis {"connection_id":148356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:03:32] local.INFO: Extracted packet for processing {"connection_id":148356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192364032001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785907958000,"timestamp_ms":1785907958000,"timestamp_seconds":1785907958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd068d0f0"} 
[2026-08-05 11:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 11:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192364032001,"66":26071,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192364032001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:03:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192364032001,"power":26071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":148356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:03:32] local.INFO: GPS data processed {"connection_id":148356,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:03:32] local.INFO: Acknowledgment sent {"connection_id":148356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:03:40] local.INFO: TCP Data received {"connection_id":149570,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:03:40] local.INFO: Processing buffer {"connection_id":149570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:03:40] local.INFO: IMEI packet received {"connection_id":149570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":149570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:03:45] local.INFO: TCP Data received {"connection_id":149570,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:03:45] local.INFO: Processing buffer {"connection_id":149570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:03:45] local.INFO: IMEI packet received {"connection_id":149570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":149570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:03:46] local.INFO: TCP Data received {"connection_id":149570,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd068c150012d1aa940071f97d00037005d22..."} 
[2026-08-05 11:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd068c150012d1aa940071f97d00037005d22..."} 
[2026-08-05 11:03:46] local.INFO: Processing buffer {"connection_id":149570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd068c150012d1aa940071f97d00037005d22..."} 
[2026-08-05 11:03:46] local.INFO: Packet analysis {"connection_id":149570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:03:46] local.INFO: Extracted packet for processing {"connection_id":149570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756721984,"raw_latitude":119510992,"longitude_deg":75.6721984,"latitude_deg":11.9510992,"altitude":55,"angle":93,"satellites":34,"speed":11,"hex_longitude":"2d1aa940","hex_latitude":"071f97d0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192430848001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10584684907986944,"note":"Value kept but may cause issues"} 
[2026-08-05 11:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584226580480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:03: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-08-05 11:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785907954000,"timestamp_ms":1785907954000,"timestamp_seconds":1785907954,"priority":1,"record_length":96,"hex_timestamp":"0000019fd068c150"} 
[2026-08-05 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-08-05 11:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 11:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192430848001,"66":14135,"101":206,"83":41984,"24":11,"16":10584684907986944,"45":1920081584226580480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192430848001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:03:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10584684907986944,"km_value":10584684907986.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584226580480,"description":"Unknown IO ID 45"} 
[2026-08-05 11:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192430848001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1920081584226580480}} 
[2026-08-05 11:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":149570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:03:46] local.INFO: GPS data processed {"connection_id":149570,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:03:46] local.INFO: Acknowledgment sent {"connection_id":149570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:04:15] local.INFO: TCP Data received {"connection_id":148576,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:04:15] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:04:15] local.INFO: IMEI packet received {"connection_id":148576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":148576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:04:17] local.INFO: TCP Data received {"connection_id":149570,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd069abb0012d1afb80071f8cb8003c005d21..."} 
[2026-08-05 11:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd069abb0012d1afb80071f8cb8003c005d21..."} 
[2026-08-05 11:04:17] local.INFO: Processing buffer {"connection_id":149570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd069abb0012d1afb80071f8cb8003c005d21..."} 
[2026-08-05 11:04:17] local.INFO: Packet analysis {"connection_id":149570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd069"} 
[2026-08-05 11:04:17] local.INFO: Extracted packet for processing {"connection_id":149570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd069"} 
[2026-08-05 11:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756743040,"raw_latitude":119508152,"longitude_deg":75.674304,"latitude_deg":11.9508152,"altitude":60,"angle":93,"satellites":33,"speed":17,"hex_longitude":"2d1afb80","hex_latitude":"071f8cb8","is_valid_coordinates":true} 
[2026-08-05 11:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192449024001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10585857434058752,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939784832595105792,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785908014000,"timestamp_ms":1785908014000,"timestamp_seconds":1785908014,"priority":1,"record_length":96,"hex_timestamp":"0000019fd069abb0"} 
[2026-08-05 11:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 11:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192449024001,"66":14363,"101":206,"83":41984,"24":17,"16":10585857434058752,"45":1939784832595105792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192449024001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:04:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10585857434058752,"km_value":10585857434058.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939784832595105792,"description":"Unknown IO ID 45"} 
[2026-08-05 11:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192449024001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1939784832595105792}} 
[2026-08-05 11:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":149570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:04:18] local.INFO: GPS data processed {"connection_id":149570,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:04:18] local.INFO: Acknowledgment sent {"connection_id":149570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:04:20] local.INFO: TCP Data received {"connection_id":148576,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:04:20] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:04:20] local.INFO: IMEI packet received {"connection_id":148576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":148576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:04:21] local.INFO: TCP Data received {"connection_id":148576,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:04:21] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:04:21] local.INFO: Packet analysis {"connection_id":148576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:04:21] local.INFO: Extracted packet for processing {"connection_id":148576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:04:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192364032001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907958000,"timestamp_ms":1785907958000,"timestamp_seconds":1785907958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd068d0f0"} 
[2026-08-05 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-08-05 11:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 11:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:04: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-08-05 11:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192364032001,"66":26071,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192364032001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:04:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192364032001,"power":26071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":148576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:04:21] local.INFO: GPS data processed {"connection_id":148576,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:04:21] local.INFO: Acknowledgment sent {"connection_id":148576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:04:41] local.INFO: TCP Data received {"connection_id":148577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:04:41] local.INFO: Processing buffer {"connection_id":148577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:04:41] local.INFO: IMEI packet received {"connection_id":148577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":148577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:04:46] local.INFO: TCP Data received {"connection_id":148577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:04:46] local.INFO: Processing buffer {"connection_id":148577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:04:46] local.INFO: IMEI packet received {"connection_id":148577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":148577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:04:47] local.INFO: TCP Data received {"connection_id":148577,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 11:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148577,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 11:04:47] local.INFO: Processing buffer {"connection_id":148577,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 11:04:47] local.INFO: IMEI packet received {"connection_id":148577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":148577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:04:47] local.INFO: TCP Data received {"connection_id":148577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd069af98012d1afd40071f8c48003c006c20..."} 
[2026-08-05 11:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd069af98012d1afd40071f8c48003c006c20..."} 
[2026-08-05 11:04:47] local.INFO: Processing buffer {"connection_id":148577,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fd0..."} 
[2026-08-05 11:04:47] local.INFO: IMEI packet received {"connection_id":148577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":148577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:04:50] local.INFO: TCP Data received {"connection_id":148577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd069b768012d1b0080071f8a98003c007721..."} 
[2026-08-05 11:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd069b768012d1b0080071f8a98003c007721..."} 
[2026-08-05 11:04:50] local.INFO: Processing buffer {"connection_id":148577,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd069af98012d1afd40071f8c48003c006c20..."} 
[2026-08-05 11:04:50] local.INFO: Packet analysis {"connection_id":148577,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd069"} 
[2026-08-05 11:04:50] local.INFO: Extracted packet for processing {"connection_id":148577,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd069"} 
[2026-08-05 11:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756743488,"raw_latitude":119508040,"longitude_deg":75.6743488,"latitude_deg":11.950804,"altitude":60,"angle":108,"satellites":32,"speed":16,"hex_longitude":"2d1afd40","hex_latitude":"071f8c48","is_valid_coordinates":true} 
[2026-08-05 11:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192451584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10585878908895232,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944288432222943232,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785908015000,"timestamp_ms":1785908015000,"timestamp_seconds":1785908015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd069af98"} 
[2026-08-05 11:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 11:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192451584001,"66":14363,"101":206,"83":41984,"24":16,"16":10585878908895232,"45":1944288432222943232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192451584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:04:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10585878908895232,"km_value":10585878908895.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944288432222943232,"description":"Unknown IO ID 45"} 
[2026-08-05 11:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192451584001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1944288432222943232}} 
[2026-08-05 11:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":148577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:04:50] local.INFO: GPS data processed {"connection_id":148577,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:04:50] local.INFO: Acknowledgment sent {"connection_id":148577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:04:50] local.INFO: Packet analysis {"connection_id":148577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd069"} 
[2026-08-05 11:04:50] local.INFO: Extracted packet for processing {"connection_id":148577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd069"} 
[2026-08-05 11:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756744320,"raw_latitude":119507608,"longitude_deg":75.674432,"latitude_deg":11.9507608,"altitude":60,"angle":119,"satellites":33,"speed":19,"hex_longitude":"2d1b0080","hex_latitude":"071f8a98","is_valid_coordinates":true} 
[2026-08-05 11:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192451840001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10585921858568192,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944781013432158208,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785908017000,"timestamp_ms":1785908017000,"timestamp_seconds":1785908017,"priority":1,"record_length":96,"hex_timestamp":"0000019fd069b768"} 
[2026-08-05 11:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 11:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192451840001,"66":14363,"101":206,"83":41984,"24":19,"16":10585921858568192,"45":1944781013432158208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192451840001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:04:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10585921858568192,"km_value":10585921858568.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944781013432158208,"description":"Unknown IO ID 45"} 
[2026-08-05 11:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192451840001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1944781013432158208}} 
[2026-08-05 11:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":148577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:04:50] local.INFO: GPS data processed {"connection_id":148577,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:04:50] local.INFO: Acknowledgment sent {"connection_id":148577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:04:51] local.INFO: TCP Data received {"connection_id":148577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd069f9d0012d1b2000071f79f0003c007021..."} 
[2026-08-05 11:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd069f9d0012d1b2000071f79f0003c007021..."} 
[2026-08-05 11:04:51] local.INFO: Processing buffer {"connection_id":148577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd069f9d0012d1b2000071f79f0003c007021..."} 
[2026-08-05 11:04:51] local.INFO: Packet analysis {"connection_id":148577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd069"} 
[2026-08-05 11:04:51] local.INFO: Extracted packet for processing {"connection_id":148577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd069"} 
[2026-08-05 11:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756752384,"raw_latitude":119503344,"longitude_deg":75.6752384,"latitude_deg":11.9503344,"altitude":60,"angle":112,"satellites":33,"speed":22,"hex_longitude":"2d1b2000","hex_latitude":"071f79f0","is_valid_coordinates":true} 
[2026-08-05 11:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192452352001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10586359945232384,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945695807106357248,"note":"Value kept but may cause issues"} 
[2026-08-05 11:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785908034000,"timestamp_ms":1785908034000,"timestamp_seconds":1785908034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd069f9d0"} 
[2026-08-05 11:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 11:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192452352001,"66":14363,"101":206,"83":41984,"24":22,"16":10586359945232384,"45":1945695807106357248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192452352001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:04:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:04:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10586359945232384,"km_value":10586359945232.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945695807106357248,"description":"Unknown IO ID 45"} 
[2026-08-05 11:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192452352001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1945695807106357248}} 
[2026-08-05 11:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":148577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:04:51] local.INFO: GPS data processed {"connection_id":148577,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:04:51] local.INFO: Acknowledgment sent {"connection_id":148577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:05:13] local.INFO: TCP Data received {"connection_id":148576,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:05:13] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:05:13] local.INFO: Packet analysis {"connection_id":148576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:05:13] local.INFO: Extracted packet for processing {"connection_id":148576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192364032001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785907958000,"timestamp_ms":1785907958000,"timestamp_seconds":1785907958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd068d0f0"} 
[2026-08-05 11:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 11:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192364032001,"66":26071,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192364032001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:05:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192364032001,"power":26071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":148576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:05:13] local.INFO: GPS data processed {"connection_id":148576,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:05:13] local.INFO: Acknowledgment sent {"connection_id":148576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:05:15] local.INFO: TCP Data received {"connection_id":148357,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:05:15] local.INFO: Processing buffer {"connection_id":148357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:05:15] local.INFO: IMEI packet received {"connection_id":148357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":148357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:05:21] local.INFO: TCP Data received {"connection_id":148577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06a8670012d1b5740071f6c68003a006320..."} 
[2026-08-05 11:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06a8670012d1b5740071f6c68003a006320..."} 
[2026-08-05 11:05:21] local.INFO: Processing buffer {"connection_id":148577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06a8670012d1b5740071f6c68003a006320..."} 
[2026-08-05 11:05:21] local.INFO: Packet analysis {"connection_id":148577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06a"} 
[2026-08-05 11:05:21] local.INFO: Extracted packet for processing {"connection_id":148577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06a"} 
[2026-08-05 11:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756766528,"raw_latitude":119499880,"longitude_deg":75.6766528,"latitude_deg":11.949988,"altitude":58,"angle":99,"satellites":32,"speed":11,"hex_longitude":"2d1b5740","hex_latitude":"071f6c68","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192465664001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10587197463855104,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286357334016,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785908070000,"timestamp_ms":1785908070000,"timestamp_seconds":1785908070,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06a8670"} 
[2026-08-05 11:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 11:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192465664001,"66":14548,"101":206,"83":41984,"24":11,"16":10587197463855104,"45":1969832286357334016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192465664001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:05:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10587197463855104,"km_value":10587197463855.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286357334016,"description":"Unknown IO ID 45"} 
[2026-08-05 11:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192465664001,"power":14548,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1969832286357334016}} 
[2026-08-05 11:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":148577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:05:21] local.INFO: GPS data processed {"connection_id":148577,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:05:21] local.INFO: Acknowledgment sent {"connection_id":148577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:05:23] local.INFO: TCP Data received {"connection_id":148357,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:05:23] local.INFO: Processing buffer {"connection_id":148357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:05:23] local.INFO: IMEI packet received {"connection_id":148357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":148357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:05:24] local.INFO: TCP Data received {"connection_id":148357,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:05:24] local.INFO: Processing buffer {"connection_id":148357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:05:24] local.INFO: Packet analysis {"connection_id":148357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:05:24] local.INFO: Extracted packet for processing {"connection_id":148357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192364032001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785907958000,"timestamp_ms":1785907958000,"timestamp_seconds":1785907958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd068d0f0"} 
[2026-08-05 11:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 11:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192364032001,"66":26071,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192364032001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:05:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:05:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192364032001,"power":26071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":148357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:05:24] local.INFO: GPS data processed {"connection_id":148357,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:05:24] local.INFO: Acknowledgment sent {"connection_id":148357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:05:40] local.INFO: TCP Data received {"connection_id":149571,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:05:40] local.INFO: Processing buffer {"connection_id":149571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:05:40] local.INFO: IMEI packet received {"connection_id":149571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":149571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:05:41] local.INFO: TCP Data received {"connection_id":149571,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:05:41] local.INFO: Processing buffer {"connection_id":149571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:05:41] local.INFO: IMEI packet received {"connection_id":149571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":149571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:05:45] local.INFO: TCP Data received {"connection_id":149571,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:05:45] local.INFO: Processing buffer {"connection_id":149571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:05:45] local.INFO: IMEI packet received {"connection_id":149571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":149571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:05:46] local.INFO: TCP Data received {"connection_id":149571,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06a8e40012d1b5980071f6c88003a005520..."} 
[2026-08-05 11:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06a8e40012d1b5980071f6c88003a005520..."} 
[2026-08-05 11:05:46] local.INFO: Processing buffer {"connection_id":149571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06a8e40012d1b5980071f6c88003a005520..."} 
[2026-08-05 11:05:46] local.INFO: Packet analysis {"connection_id":149571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06a"} 
[2026-08-05 11:05:46] local.INFO: Extracted packet for processing {"connection_id":149571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06a"} 
[2026-08-05 11:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119499912,"longitude_deg":75.6767104,"latitude_deg":11.9499912,"altitude":58,"angle":85,"satellites":32,"speed":12,"hex_longitude":"2d1b5980","hex_latitude":"071f6c88","is_valid_coordinates":true} 
[2026-08-05 11:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192465920001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10587227528626176,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970113761334028288,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05: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-08-05 11:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785908072000,"timestamp_ms":1785908072000,"timestamp_seconds":1785908072,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06a8e40"} 
[2026-08-05 11:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 11:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192465920001,"66":14374,"101":206,"83":41984,"24":12,"16":10587227528626176,"45":1970113761334028288},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192465920001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:05:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10587227528626176,"km_value":10587227528626.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970113761334028288,"description":"Unknown IO ID 45"} 
[2026-08-05 11:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192465920001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1970113761334028288}} 
[2026-08-05 11:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":149571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:05:46] local.INFO: GPS data processed {"connection_id":149571,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:05:46] local.INFO: Acknowledgment sent {"connection_id":149571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:05:50] local.INFO: TCP Data received {"connection_id":149571,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06ab938012d1b6700071f6d58003800641f..."} 
[2026-08-05 11:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06ab938012d1b6700071f6d58003800641f..."} 
[2026-08-05 11:05:50] local.INFO: Processing buffer {"connection_id":149571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06ab938012d1b6700071f6d58003800641f..."} 
[2026-08-05 11:05:50] local.INFO: Packet analysis {"connection_id":149571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06a"} 
[2026-08-05 11:05:50] local.INFO: Extracted packet for processing {"connection_id":149571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06a"} 
[2026-08-05 11:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756770560,"raw_latitude":119500120,"longitude_deg":75.677056,"latitude_deg":11.950012,"altitude":56,"angle":100,"satellites":31,"speed":7,"hex_longitude":"2d1b6700","hex_latitude":"071f6d58","is_valid_coordinates":true} 
[2026-08-05 11:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192466432001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10587390737383424,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080031635456,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785908083000,"timestamp_ms":1785908083000,"timestamp_seconds":1785908083,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06ab938"} 
[2026-08-05 11:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 11:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192466432001,"66":14580,"101":206,"83":41984,"24":7,"16":10587390737383424,"45":1970747080031635456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192466432001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:05:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10587390737383424,"km_value":10587390737383.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080031635456,"description":"Unknown IO ID 45"} 
[2026-08-05 11:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192466432001,"power":14580,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1970747080031635456}} 
[2026-08-05 11:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":149571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:05:50] local.INFO: GPS data processed {"connection_id":149571,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:05:50] local.INFO: Acknowledgment sent {"connection_id":149571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:05:56] local.INFO: TCP Data received {"connection_id":148357,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:05:56] local.INFO: Processing buffer {"connection_id":148357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:05:56] local.INFO: Packet analysis {"connection_id":148357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:05:56] local.INFO: Extracted packet for processing {"connection_id":148357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192364032001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785907958000,"timestamp_ms":1785907958000,"timestamp_seconds":1785907958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd068d0f0"} 
[2026-08-05 11:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 11:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192364032001,"66":26071,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192364032001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:05:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192364032001,"power":26071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":148357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:05:56] local.INFO: GPS data processed {"connection_id":148357,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:05:56] local.INFO: Acknowledgment sent {"connection_id":148357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:06:15] local.INFO: TCP Data received {"connection_id":148358,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:06:15] local.INFO: Processing buffer {"connection_id":148358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:06:15] local.INFO: IMEI packet received {"connection_id":148358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":148358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:06:20] local.INFO: TCP Data received {"connection_id":148358,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:06:20] local.INFO: Processing buffer {"connection_id":148358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:06:20] local.INFO: IMEI packet received {"connection_id":148358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":148358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:06:21] local.INFO: TCP Data received {"connection_id":148358,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:06:21] local.INFO: Processing buffer {"connection_id":148358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:06:21] local.INFO: Packet analysis {"connection_id":148358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:06:21] local.INFO: Extracted packet for processing {"connection_id":148358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192364032001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907958000,"timestamp_ms":1785907958000,"timestamp_seconds":1785907958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd068d0f0"} 
[2026-08-05 11:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 11:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192364032001,"66":26071,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192364032001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:06:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192364032001,"power":26071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":148358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:06:21] local.INFO: GPS data processed {"connection_id":148358,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:06:21] local.INFO: Acknowledgment sent {"connection_id":148358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:06:52] local.INFO: TCP Data received {"connection_id":148358,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:06:52] local.INFO: Processing buffer {"connection_id":148358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:06:52] local.INFO: Packet analysis {"connection_id":148358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:06:52] local.INFO: Extracted packet for processing {"connection_id":148358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192364032001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785907958000,"timestamp_ms":1785907958000,"timestamp_seconds":1785907958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd068d0f0"} 
[2026-08-05 11:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 11:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192364032001,"66":26071,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192364032001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:06:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192364032001,"power":26071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":148358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:06:52] local.INFO: GPS data processed {"connection_id":148358,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:06:52] local.INFO: Acknowledgment sent {"connection_id":148358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:07:15] local.INFO: TCP Data received {"connection_id":148359,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:07:15] local.INFO: Processing buffer {"connection_id":148359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:07:15] local.INFO: IMEI packet received {"connection_id":148359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":148359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:07:20] local.INFO: TCP Data received {"connection_id":148359,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:07:20] local.INFO: Processing buffer {"connection_id":148359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:07:20] local.INFO: IMEI packet received {"connection_id":148359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":148359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:07:21] local.INFO: TCP Data received {"connection_id":148359,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:07:21] local.INFO: Processing buffer {"connection_id":148359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:07:21] local.INFO: Packet analysis {"connection_id":148359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:07:21] local.INFO: Extracted packet for processing {"connection_id":148359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:07:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192364032001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785907958000,"timestamp_ms":1785907958000,"timestamp_seconds":1785907958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd068d0f0"} 
[2026-08-05 11:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 11:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192364032001,"66":26071,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192364032001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:07:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192364032001,"power":26071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":148359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:07:21] local.INFO: GPS data processed {"connection_id":148359,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:07:21] local.INFO: Acknowledgment sent {"connection_id":148359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:07:57] local.INFO: TCP Data received {"connection_id":148359,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:07:57] local.INFO: Processing buffer {"connection_id":148359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd068d0f0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:07:57] local.INFO: Packet analysis {"connection_id":148359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:07:57] local.INFO: Extracted packet for processing {"connection_id":148359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd068"} 
[2026-08-05 11:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192364032001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785907958000,"timestamp_ms":1785907958000,"timestamp_seconds":1785907958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd068d0f0"} 
[2026-08-05 11:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 11:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1806,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192364032001,"66":26071,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192364032001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:07:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192364032001,"power":26071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":148359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:07:57] local.INFO: GPS data processed {"connection_id":148359,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:07:57] local.INFO: Acknowledgment sent {"connection_id":148359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:08:17] local.INFO: TCP Data received {"connection_id":148360,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:08:17] local.INFO: Processing buffer {"connection_id":148360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:08:17] local.INFO: IMEI packet received {"connection_id":148360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":148360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:08:20] local.INFO: TCP Data received {"connection_id":148360,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:08:20] local.INFO: Processing buffer {"connection_id":148360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:08:20] local.INFO: IMEI packet received {"connection_id":148360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":148360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:08:25] local.INFO: TCP Data received {"connection_id":148360,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:08:25] local.INFO: Processing buffer {"connection_id":148360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:08:25] local.INFO: IMEI packet received {"connection_id":148360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":148360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:08:32] local.INFO: TCP Data received {"connection_id":148360,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:08:32] local.INFO: Processing buffer {"connection_id":148360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:08:32] local.INFO: Packet analysis {"connection_id":148360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:08:32] local.INFO: Extracted packet for processing {"connection_id":148360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192437248001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785908259000,"timestamp_ms":1785908259000,"timestamp_seconds":1785908259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06d68b8"} 
[2026-08-05 11:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 11:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192437248001,"66":25995,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192437248001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:08:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192437248001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":148360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:08:32] local.INFO: GPS data processed {"connection_id":148360,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:08:32] local.INFO: Acknowledgment sent {"connection_id":148360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:08:33] local.INFO: TCP Data received {"connection_id":148360,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:08:33] local.INFO: Processing buffer {"connection_id":148360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:08:33] local.INFO: Packet analysis {"connection_id":148360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:08:33] local.INFO: Extracted packet for processing {"connection_id":148360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192437248001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785908259000,"timestamp_ms":1785908259000,"timestamp_seconds":1785908259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06d68b8"} 
[2026-08-05 11:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 11:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192437248001,"66":25995,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192437248001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:08:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192437248001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":148360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:08:33] local.INFO: GPS data processed {"connection_id":148360,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:08:33] local.INFO: Acknowledgment sent {"connection_id":148360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:09:15] local.INFO: TCP Data received {"connection_id":149572,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:09:15] local.INFO: Processing buffer {"connection_id":149572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:09:15] local.INFO: IMEI packet received {"connection_id":149572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":149572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:09:20] local.INFO: TCP Data received {"connection_id":149572,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:09:20] local.INFO: Processing buffer {"connection_id":149572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:09:20] local.INFO: IMEI packet received {"connection_id":149572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":149572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:09:21] local.INFO: TCP Data received {"connection_id":149572,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:09:21] local.INFO: Processing buffer {"connection_id":149572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:09:21] local.INFO: Packet analysis {"connection_id":149572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:09:21] local.INFO: Extracted packet for processing {"connection_id":149572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:09:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192437248001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785908259000,"timestamp_ms":1785908259000,"timestamp_seconds":1785908259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06d68b8"} 
[2026-08-05 11:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:09: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-08-05 11:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 11:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192437248001,"66":25995,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192437248001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:09:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192437248001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":149572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:09:21] local.INFO: GPS data processed {"connection_id":149572,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:09:21] local.INFO: Acknowledgment sent {"connection_id":149572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:09:53] local.INFO: TCP Data received {"connection_id":149572,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:09:53] local.INFO: Processing buffer {"connection_id":149572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:09:53] local.INFO: Packet analysis {"connection_id":149572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:09:53] local.INFO: Extracted packet for processing {"connection_id":149572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:09:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192437248001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785908259000,"timestamp_ms":1785908259000,"timestamp_seconds":1785908259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06d68b8"} 
[2026-08-05 11:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 11:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192437248001,"66":25995,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192437248001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:09:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192437248001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":149572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:09:53] local.INFO: GPS data processed {"connection_id":149572,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:09:53] local.INFO: Acknowledgment sent {"connection_id":149572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:10:15] local.INFO: TCP Data received {"connection_id":148361,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:10:15] local.INFO: Processing buffer {"connection_id":148361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:10:15] local.INFO: IMEI packet received {"connection_id":148361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":148361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:10:20] local.INFO: TCP Data received {"connection_id":148361,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:10:20] local.INFO: Processing buffer {"connection_id":148361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:10:20] local.INFO: IMEI packet received {"connection_id":148361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":148361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:10:22] local.INFO: TCP Data received {"connection_id":148361,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:10:22] local.INFO: Processing buffer {"connection_id":148361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:10:22] local.INFO: Packet analysis {"connection_id":148361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:10:22] local.INFO: Extracted packet for processing {"connection_id":148361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:10:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192437248001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785908259000,"timestamp_ms":1785908259000,"timestamp_seconds":1785908259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06d68b8"} 
[2026-08-05 11:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 11:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192437248001,"66":25995,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192437248001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:10:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:10:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192437248001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":148361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:10:22] local.INFO: GPS data processed {"connection_id":148361,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:10:22] local.INFO: Acknowledgment sent {"connection_id":148361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:10:53] local.INFO: TCP Data received {"connection_id":148361,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:10:53] local.INFO: Processing buffer {"connection_id":148361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:10:53] local.INFO: Packet analysis {"connection_id":148361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:10:53] local.INFO: Extracted packet for processing {"connection_id":148361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192437248001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785908259000,"timestamp_ms":1785908259000,"timestamp_seconds":1785908259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06d68b8"} 
[2026-08-05 11:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 11:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192437248001,"66":25995,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192437248001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:10:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192437248001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":148361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:10:53] local.INFO: GPS data processed {"connection_id":148361,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:10:53] local.INFO: Acknowledgment sent {"connection_id":148361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:11:20] local.INFO: TCP Data received {"connection_id":149573,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:11:20] local.INFO: Processing buffer {"connection_id":149573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:11:20] local.INFO: IMEI packet received {"connection_id":149573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":149573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:11:25] local.INFO: TCP Data received {"connection_id":149573,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:11:25] local.INFO: Processing buffer {"connection_id":149573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:11:25] local.INFO: IMEI packet received {"connection_id":149573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":149573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:11:26] local.INFO: TCP Data received {"connection_id":149573,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:11:26] local.INFO: Processing buffer {"connection_id":149573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:11:26] local.INFO: Packet analysis {"connection_id":149573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:11:26] local.INFO: Extracted packet for processing {"connection_id":149573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192437248001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785908259000,"timestamp_ms":1785908259000,"timestamp_seconds":1785908259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06d68b8"} 
[2026-08-05 11:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 11:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192437248001,"66":25995,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192437248001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:11:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:11:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192437248001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":149573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:11:26] local.INFO: GPS data processed {"connection_id":149573,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:11:26] local.INFO: Acknowledgment sent {"connection_id":149573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:11:30] local.INFO: TCP Data received {"connection_id":149573,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:11:30] local.INFO: Processing buffer {"connection_id":149573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:11:30] local.INFO: Packet analysis {"connection_id":149573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:11:30] local.INFO: Extracted packet for processing {"connection_id":149573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192437248001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785908259000,"timestamp_ms":1785908259000,"timestamp_seconds":1785908259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06d68b8"} 
[2026-08-05 11:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 11:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192437248001,"66":25995,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192437248001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:11:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192437248001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":149573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:11:30] local.INFO: GPS data processed {"connection_id":149573,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:11:30] local.INFO: Acknowledgment sent {"connection_id":149573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:12:15] local.INFO: TCP Data received {"connection_id":149574,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:12:15] local.INFO: Processing buffer {"connection_id":149574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:12:15] local.INFO: IMEI packet received {"connection_id":149574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":149574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:12:20] local.INFO: TCP Data received {"connection_id":149574,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:12:20] local.INFO: Processing buffer {"connection_id":149574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:12:20] local.INFO: IMEI packet received {"connection_id":149574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":149574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:12:22] local.INFO: TCP Data received {"connection_id":149574,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:12:22] local.INFO: Processing buffer {"connection_id":149574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:12:22] local.INFO: Packet analysis {"connection_id":149574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:12:22] local.INFO: Extracted packet for processing {"connection_id":149574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192437248001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785908259000,"timestamp_ms":1785908259000,"timestamp_seconds":1785908259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06d68b8"} 
[2026-08-05 11:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 11:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192437248001,"66":25995,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192437248001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:12:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192437248001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":149574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:12:22] local.INFO: GPS data processed {"connection_id":149574,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:12:22] local.INFO: Acknowledgment sent {"connection_id":149574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:12:53] local.INFO: TCP Data received {"connection_id":149574,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:12:53] local.INFO: Processing buffer {"connection_id":149574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd06d68b8012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:12:53] local.INFO: Packet analysis {"connection_id":149574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:12:53] local.INFO: Extracted packet for processing {"connection_id":149574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd06d"} 
[2026-08-05 11:12:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192437248001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785908259000,"timestamp_ms":1785908259000,"timestamp_seconds":1785908259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd06d68b8"} 
[2026-08-05 11:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 11:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192437248001,"66":25995,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192437248001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:12:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:12:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192437248001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":149574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:12:53] local.INFO: GPS data processed {"connection_id":149574,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:12:53] local.INFO: Acknowledgment sent {"connection_id":149574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:13:15] local.INFO: TCP Data received {"connection_id":150990,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:13:15] local.INFO: Processing buffer {"connection_id":150990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:13:15] local.INFO: IMEI packet received {"connection_id":150990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":150990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:13:18] local.INFO: TCP Data received {"connection_id":150990,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:13:18] local.INFO: Processing buffer {"connection_id":150990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:13:18] local.INFO: IMEI packet received {"connection_id":150990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":150990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:13:20] local.INFO: TCP Data received {"connection_id":150990,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:13:20] local.INFO: Processing buffer {"connection_id":150990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:13:20] local.INFO: Packet analysis {"connection_id":150990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:13:20] local.INFO: Extracted packet for processing {"connection_id":150990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:13:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192514304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785908560000,"timestamp_ms":1785908560000,"timestamp_seconds":1785908560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0720080"} 
[2026-08-05 11:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 11:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192514304001,"66":25919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192514304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:13:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192514304001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":150990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:13:20] local.INFO: GPS data processed {"connection_id":150990,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:13:20] local.INFO: Acknowledgment sent {"connection_id":150990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:13:52] local.INFO: TCP Data received {"connection_id":150990,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:13:52] local.INFO: Processing buffer {"connection_id":150990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:13:52] local.INFO: Packet analysis {"connection_id":150990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:13:52] local.INFO: Extracted packet for processing {"connection_id":150990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:13:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192514304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785908560000,"timestamp_ms":1785908560000,"timestamp_seconds":1785908560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0720080"} 
[2026-08-05 11:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 11:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192514304001,"66":25919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192514304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:13:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192514304001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":150990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:13:52] local.INFO: GPS data processed {"connection_id":150990,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:13:52] local.INFO: Acknowledgment sent {"connection_id":150990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:14:20] local.INFO: TCP Data received {"connection_id":148578,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:14:20] local.INFO: Processing buffer {"connection_id":148578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:14:20] local.INFO: IMEI packet received {"connection_id":148578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":148578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:14:25] local.INFO: TCP Data received {"connection_id":148578,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:14:25] local.INFO: Processing buffer {"connection_id":148578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:14:25] local.INFO: IMEI packet received {"connection_id":148578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":148578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:14:26] local.INFO: TCP Data received {"connection_id":148578,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:14:26] local.INFO: Processing buffer {"connection_id":148578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:14:26] local.INFO: Packet analysis {"connection_id":148578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:14:26] local.INFO: Extracted packet for processing {"connection_id":148578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192514304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785908560000,"timestamp_ms":1785908560000,"timestamp_seconds":1785908560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0720080"} 
[2026-08-05 11:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 11:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192514304001,"66":25919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192514304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:14:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192514304001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":148578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:14:26] local.INFO: GPS data processed {"connection_id":148578,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:14:26] local.INFO: Acknowledgment sent {"connection_id":148578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:14:31] local.INFO: TCP Data received {"connection_id":148578,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:14:31] local.INFO: Processing buffer {"connection_id":148578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:14:31] local.INFO: Packet analysis {"connection_id":148578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:14:31] local.INFO: Extracted packet for processing {"connection_id":148578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192514304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785908560000,"timestamp_ms":1785908560000,"timestamp_seconds":1785908560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0720080"} 
[2026-08-05 11:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 11:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192514304001,"66":25919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192514304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:14:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:14:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192514304001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":148578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:14:31] local.INFO: GPS data processed {"connection_id":148578,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:14:31] local.INFO: Acknowledgment sent {"connection_id":148578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:15:15] local.INFO: TCP Data received {"connection_id":149575,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:15:15] local.INFO: Processing buffer {"connection_id":149575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:15:15] local.INFO: IMEI packet received {"connection_id":149575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":149575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:15:20] local.INFO: TCP Data received {"connection_id":149575,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:15:20] local.INFO: Processing buffer {"connection_id":149575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:15:20] local.INFO: IMEI packet received {"connection_id":149575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":149575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:15:21] local.INFO: TCP Data received {"connection_id":149575,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:15:21] local.INFO: Processing buffer {"connection_id":149575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:15:21] local.INFO: Packet analysis {"connection_id":149575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:15:21] local.INFO: Extracted packet for processing {"connection_id":149575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192514304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785908560000,"timestamp_ms":1785908560000,"timestamp_seconds":1785908560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0720080"} 
[2026-08-05 11:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:15: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-08-05 11: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 11:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192514304001,"66":25919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192514304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:15:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192514304001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":149575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:15:21] local.INFO: GPS data processed {"connection_id":149575,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:15:21] local.INFO: Acknowledgment sent {"connection_id":149575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:15:53] local.INFO: TCP Data received {"connection_id":149575,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:15:53] local.INFO: Processing buffer {"connection_id":149575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:15:53] local.INFO: Packet analysis {"connection_id":149575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:15:53] local.INFO: Extracted packet for processing {"connection_id":149575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:15:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192514304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785908560000,"timestamp_ms":1785908560000,"timestamp_seconds":1785908560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0720080"} 
[2026-08-05 11:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 11:15: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-08-05 11:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192514304001,"66":25919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192514304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:15:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:15:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192514304001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":149575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:15:53] local.INFO: GPS data processed {"connection_id":149575,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:15:53] local.INFO: Acknowledgment sent {"connection_id":149575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:16:15] local.INFO: TCP Data received {"connection_id":150991,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:16:15] local.INFO: Processing buffer {"connection_id":150991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:16:15] local.INFO: IMEI packet received {"connection_id":150991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":150991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:16:20] local.INFO: TCP Data received {"connection_id":150991,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:16:20] local.INFO: Processing buffer {"connection_id":150991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:16:20] local.INFO: IMEI packet received {"connection_id":150991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":150991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:16:22] local.INFO: TCP Data received {"connection_id":150991,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:16:22] local.INFO: Processing buffer {"connection_id":150991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:16:22] local.INFO: Packet analysis {"connection_id":150991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:16:22] local.INFO: Extracted packet for processing {"connection_id":150991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:16:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192514304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785908560000,"timestamp_ms":1785908560000,"timestamp_seconds":1785908560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0720080"} 
[2026-08-05 11:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 11:16: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-08-05 11:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192514304001,"66":25919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192514304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:16:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:16:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192514304001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":150991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:16:22] local.INFO: GPS data processed {"connection_id":150991,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:16:22] local.INFO: Acknowledgment sent {"connection_id":150991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:16:53] local.INFO: TCP Data received {"connection_id":150991,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:16:53] local.INFO: Processing buffer {"connection_id":150991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:16:53] local.INFO: Packet analysis {"connection_id":150991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:16:53] local.INFO: Extracted packet for processing {"connection_id":150991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:16:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192514304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785908560000,"timestamp_ms":1785908560000,"timestamp_seconds":1785908560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0720080"} 
[2026-08-05 11:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 11:16: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-08-05 11:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192514304001,"66":25919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192514304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:16:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:16:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192514304001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":150991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:16:53] local.INFO: GPS data processed {"connection_id":150991,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:16:53] local.INFO: Acknowledgment sent {"connection_id":150991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:17:15] local.INFO: TCP Data received {"connection_id":148362,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:17:15] local.INFO: Processing buffer {"connection_id":148362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:17:15] local.INFO: IMEI packet received {"connection_id":148362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":148362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:17:20] local.INFO: TCP Data received {"connection_id":148362,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:17:20] local.INFO: Processing buffer {"connection_id":148362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:17:20] local.INFO: IMEI packet received {"connection_id":148362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":148362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:17:21] local.INFO: TCP Data received {"connection_id":148362,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:17:21] local.INFO: Processing buffer {"connection_id":148362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:17:21] local.INFO: Packet analysis {"connection_id":148362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:17:21] local.INFO: Extracted packet for processing {"connection_id":148362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:17:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192514304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785908560000,"timestamp_ms":1785908560000,"timestamp_seconds":1785908560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0720080"} 
[2026-08-05 11:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:17: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-08-05 11:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 11:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192514304001,"66":25919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192514304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:17:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192514304001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":148362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:17:21] local.INFO: GPS data processed {"connection_id":148362,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:17:21] local.INFO: Acknowledgment sent {"connection_id":148362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:17:52] local.INFO: TCP Data received {"connection_id":148362,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:17:52] local.INFO: Processing buffer {"connection_id":148362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0720080012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:17:52] local.INFO: Packet analysis {"connection_id":148362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:17:52] local.INFO: Extracted packet for processing {"connection_id":148362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd072"} 
[2026-08-05 11:17:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192514304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785908560000,"timestamp_ms":1785908560000,"timestamp_seconds":1785908560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0720080"} 
[2026-08-05 11:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 11:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192514304001,"66":25919,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192514304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:17:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192514304001,"power":25919,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":148362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:17:52] local.INFO: GPS data processed {"connection_id":148362,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:17:52] local.INFO: Acknowledgment sent {"connection_id":148362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:18:15] local.INFO: TCP Data received {"connection_id":149576,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:18:15] local.INFO: Processing buffer {"connection_id":149576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:18:15] local.INFO: IMEI packet received {"connection_id":149576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":149576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:18:19] local.INFO: TCP Data received {"connection_id":149576,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:18:19] local.INFO: Processing buffer {"connection_id":149576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:18:19] local.INFO: IMEI packet received {"connection_id":149576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":149576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:18:20] local.INFO: TCP Data received {"connection_id":149576,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:18:20] local.INFO: Processing buffer {"connection_id":149576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:18:20] local.INFO: Packet analysis {"connection_id":149576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:18:20] local.INFO: Extracted packet for processing {"connection_id":149576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192591360001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785908861000,"timestamp_ms":1785908861000,"timestamp_seconds":1785908861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0769848"} 
[2026-08-05 11:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192591360001,"66":25908,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192591360001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:18:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192591360001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":149576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:18:20] local.INFO: GPS data processed {"connection_id":149576,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:18:20] local.INFO: Acknowledgment sent {"connection_id":149576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:18:52] local.INFO: TCP Data received {"connection_id":149576,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:18:52] local.INFO: Processing buffer {"connection_id":149576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:18:52] local.INFO: Packet analysis {"connection_id":149576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:18:52] local.INFO: Extracted packet for processing {"connection_id":149576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:18:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192591360001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785908861000,"timestamp_ms":1785908861000,"timestamp_seconds":1785908861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0769848"} 
[2026-08-05 11:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192591360001,"66":25908,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192591360001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:18:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192591360001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":149576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:18:52] local.INFO: GPS data processed {"connection_id":149576,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:18:52] local.INFO: Acknowledgment sent {"connection_id":149576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:19:15] local.INFO: TCP Data received {"connection_id":148363,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:19:15] local.INFO: Processing buffer {"connection_id":148363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:19:15] local.INFO: IMEI packet received {"connection_id":148363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":148363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:19:20] local.INFO: TCP Data received {"connection_id":148363,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:19:20] local.INFO: Processing buffer {"connection_id":148363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:19:20] local.INFO: IMEI packet received {"connection_id":148363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":148363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:19:21] local.INFO: TCP Data received {"connection_id":148363,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:19:21] local.INFO: Processing buffer {"connection_id":148363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:19:21] local.INFO: Packet analysis {"connection_id":148363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:19:21] local.INFO: Extracted packet for processing {"connection_id":148363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:19:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192591360001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785908861000,"timestamp_ms":1785908861000,"timestamp_seconds":1785908861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0769848"} 
[2026-08-05 11:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192591360001,"66":25908,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192591360001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:19:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192591360001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":148363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:19:21] local.INFO: GPS data processed {"connection_id":148363,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:19:21] local.INFO: Acknowledgment sent {"connection_id":148363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:19:52] local.INFO: TCP Data received {"connection_id":148363,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:19:52] local.INFO: Processing buffer {"connection_id":148363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:19:52] local.INFO: Packet analysis {"connection_id":148363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:19:52] local.INFO: Extracted packet for processing {"connection_id":148363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:19:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192591360001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785908861000,"timestamp_ms":1785908861000,"timestamp_seconds":1785908861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0769848"} 
[2026-08-05 11:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192591360001,"66":25908,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192591360001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:19:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192591360001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":148363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:19:52] local.INFO: GPS data processed {"connection_id":148363,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:19:52] local.INFO: Acknowledgment sent {"connection_id":148363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:20:15] local.INFO: TCP Data received {"connection_id":149577,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:20:15] local.INFO: Processing buffer {"connection_id":149577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:20:15] local.INFO: IMEI packet received {"connection_id":149577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":149577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:20:20] local.INFO: TCP Data received {"connection_id":149577,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:20:20] local.INFO: Processing buffer {"connection_id":149577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:20:20] local.INFO: IMEI packet received {"connection_id":149577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":149577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:20:21] local.INFO: TCP Data received {"connection_id":149577,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:20:21] local.INFO: Processing buffer {"connection_id":149577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:20:21] local.INFO: Packet analysis {"connection_id":149577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:20:21] local.INFO: Extracted packet for processing {"connection_id":149577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:20:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192591360001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785908861000,"timestamp_ms":1785908861000,"timestamp_seconds":1785908861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0769848"} 
[2026-08-05 11:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:20:21] 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-08-05 11:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192591360001,"66":25908,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192591360001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:20:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192591360001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":149577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:20:21] local.INFO: GPS data processed {"connection_id":149577,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:20:21] local.INFO: Acknowledgment sent {"connection_id":149577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:20:52] local.INFO: TCP Data received {"connection_id":149577,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:20:52] local.INFO: Processing buffer {"connection_id":149577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:20:52] local.INFO: Packet analysis {"connection_id":149577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:20:52] local.INFO: Extracted packet for processing {"connection_id":149577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:20:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192591360001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785908861000,"timestamp_ms":1785908861000,"timestamp_seconds":1785908861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0769848"} 
[2026-08-05 11:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:20:52] 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-08-05 11:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192591360001,"66":25908,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192591360001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:20:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192591360001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":149577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:20:52] local.INFO: GPS data processed {"connection_id":149577,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:20:52] local.INFO: Acknowledgment sent {"connection_id":149577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:21:15] local.INFO: TCP Data received {"connection_id":149578,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:21:15] local.INFO: Processing buffer {"connection_id":149578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:21:15] local.INFO: IMEI packet received {"connection_id":149578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":149578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:21:20] local.INFO: TCP Data received {"connection_id":149578,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:21:20] local.INFO: Processing buffer {"connection_id":149578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:21:20] local.INFO: IMEI packet received {"connection_id":149578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":149578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:21:21] local.INFO: TCP Data received {"connection_id":149578,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:21:21] local.INFO: Processing buffer {"connection_id":149578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:21:21] local.INFO: Packet analysis {"connection_id":149578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:21:21] local.INFO: Extracted packet for processing {"connection_id":149578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:21:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192591360001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785908861000,"timestamp_ms":1785908861000,"timestamp_seconds":1785908861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0769848"} 
[2026-08-05 11:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192591360001,"66":25908,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192591360001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:21:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192591360001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":149578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:21:21] local.INFO: GPS data processed {"connection_id":149578,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:21:21] local.INFO: Acknowledgment sent {"connection_id":149578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:21:53] local.INFO: TCP Data received {"connection_id":149578,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:21:53] local.INFO: Processing buffer {"connection_id":149578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:21:53] local.INFO: Packet analysis {"connection_id":149578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:21:53] local.INFO: Extracted packet for processing {"connection_id":149578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:21:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192591360001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785908861000,"timestamp_ms":1785908861000,"timestamp_seconds":1785908861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0769848"} 
[2026-08-05 11:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192591360001,"66":25908,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192591360001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:21:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:21:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192591360001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":149578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:21:53] local.INFO: GPS data processed {"connection_id":149578,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:21:53] local.INFO: Acknowledgment sent {"connection_id":149578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:22:15] local.INFO: TCP Data received {"connection_id":150992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:22:15] local.INFO: Processing buffer {"connection_id":150992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:22:15] local.INFO: IMEI packet received {"connection_id":150992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":150992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:22:20] local.INFO: TCP Data received {"connection_id":150992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:22:20] local.INFO: Processing buffer {"connection_id":150992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:22:20] local.INFO: IMEI packet received {"connection_id":150992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":150992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:22:21] local.INFO: TCP Data received {"connection_id":150992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:22:21] local.INFO: Processing buffer {"connection_id":150992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:22:21] local.INFO: Packet analysis {"connection_id":150992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:22:21] local.INFO: Extracted packet for processing {"connection_id":150992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:22:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192591360001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785908861000,"timestamp_ms":1785908861000,"timestamp_seconds":1785908861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0769848"} 
[2026-08-05 11:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:22: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-08-05 11:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192591360001,"66":25908,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192591360001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:22:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192591360001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":150992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:22:21] local.INFO: GPS data processed {"connection_id":150992,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:22:21] local.INFO: Acknowledgment sent {"connection_id":150992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:22:52] local.INFO: TCP Data received {"connection_id":150992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:22:52] local.INFO: Processing buffer {"connection_id":150992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0769848012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:22:52] local.INFO: Packet analysis {"connection_id":150992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:22:52] local.INFO: Extracted packet for processing {"connection_id":150992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd076"} 
[2026-08-05 11:22:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192591360001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785908861000,"timestamp_ms":1785908861000,"timestamp_seconds":1785908861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0769848"} 
[2026-08-05 11:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192591360001,"66":25908,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192591360001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:22:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192591360001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":150992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:22:52] local.INFO: GPS data processed {"connection_id":150992,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:22:52] local.INFO: Acknowledgment sent {"connection_id":150992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:23:15] local.INFO: TCP Data received {"connection_id":148579,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:23:15] local.INFO: Processing buffer {"connection_id":148579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:23:15] local.INFO: IMEI packet received {"connection_id":148579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":148579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:23:20] local.INFO: TCP Data received {"connection_id":148579,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:23:20] local.INFO: Processing buffer {"connection_id":148579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:23:20] local.INFO: IMEI packet received {"connection_id":148579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":148579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:23:21] local.INFO: TCP Data received {"connection_id":148579,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:23:21] local.INFO: Processing buffer {"connection_id":148579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:23:21] local.INFO: Packet analysis {"connection_id":148579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:23:21] local.INFO: Extracted packet for processing {"connection_id":148579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192668416001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785909162000,"timestamp_ms":1785909162000,"timestamp_seconds":1785909162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b3010"} 
[2026-08-05 11:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 11:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:23: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-08-05 11:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192668416001,"66":25854,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192668416001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:23:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192668416001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":148579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:23:21] local.INFO: GPS data processed {"connection_id":148579,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:23:21] local.INFO: Acknowledgment sent {"connection_id":148579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:23:52] local.INFO: TCP Data received {"connection_id":148579,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:23:52] local.INFO: Processing buffer {"connection_id":148579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:23:52] local.INFO: Packet analysis {"connection_id":148579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:23:52] local.INFO: Extracted packet for processing {"connection_id":148579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:23:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192668416001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785909162000,"timestamp_ms":1785909162000,"timestamp_seconds":1785909162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b3010"} 
[2026-08-05 11:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 11:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192668416001,"66":25854,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192668416001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:23:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192668416001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":148579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:23:52] local.INFO: GPS data processed {"connection_id":148579,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:23:52] local.INFO: Acknowledgment sent {"connection_id":148579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:24:10] local.INFO: TCP Data received {"connection_id":148364,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:10] local.INFO: Processing buffer {"connection_id":148364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:10] local.INFO: IMEI packet received {"connection_id":148364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":148364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:24:11] local.INFO: TCP Data received {"connection_id":148364,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:11] local.INFO: Processing buffer {"connection_id":148364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:11] local.INFO: IMEI packet received {"connection_id":148364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":148364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:24:13] local.INFO: TCP Data received {"connection_id":148364,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:13] local.INFO: Processing buffer {"connection_id":148364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:13] local.INFO: IMEI packet received {"connection_id":148364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":148364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:24:14] local.INFO: TCP Data received {"connection_id":148364,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b33f8012d1b7b80071f70e8004a00fd21..."} 
[2026-08-05 11:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b33f8012d1b7b80071f70e8004a00fd21..."} 
[2026-08-05 11:24:14] local.INFO: Processing buffer {"connection_id":148364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b33f8012d1b7b80071f70e8004a00fd21..."} 
[2026-08-05 11:24:14] local.INFO: Packet analysis {"connection_id":148364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:24:14] local.INFO: Extracted packet for processing {"connection_id":148364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756775808,"raw_latitude":119501032,"longitude_deg":75.6775808,"latitude_deg":11.9501032,"altitude":74,"angle":253,"satellites":33,"speed":11,"hex_longitude":"2d1b7b80","hex_latitude":"071f70e8","is_valid_coordinates":true} 
[2026-08-05 11:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192744192001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10592252640362496,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982006079100573696,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:14] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-05 11:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785909163000,"timestamp_ms":1785909163000,"timestamp_seconds":1785909163,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b33f8"} 
[2026-08-05 11:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-05 11:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192744192001,"66":14211,"24":11,"16":10592252640362496,"45":1982006079100573696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-05 11:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192744192001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10592252640362496,"km_value":10592252640362.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982006079100573696,"description":"Unknown IO ID 45"} 
[2026-08-05 11:24:14] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457192744192001,"power":14211,"ignition":11,"odometer":null,"unknown_45":1982006079100573696}} 
[2026-08-05 11:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":148364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:24:14] local.INFO: GPS data processed {"connection_id":148364,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:24:14] local.INFO: Acknowledgment sent {"connection_id":148364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:24:15] local.INFO: TCP Data received {"connection_id":148365,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:24:15] local.INFO: Processing buffer {"connection_id":148365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:24:15] local.INFO: IMEI packet received {"connection_id":148365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":148365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:24:15] local.INFO: TCP Data received {"connection_id":148364,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019fd07b4398012d1b7740071f7060004b01081f..."} 
[2026-08-05 11:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148364,"packet_length":93,"packet_hex":"00000000000000518e010000019fd07b4398012d1b7740071f7060004b01081f..."} 
[2026-08-05 11:24:15] local.INFO: Processing buffer {"connection_id":148364,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fd07b4398012d1b7740071f7060004b01081f..."} 
[2026-08-05 11:24:15] local.INFO: Packet analysis {"connection_id":148364,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fd07b"} 
[2026-08-05 11:24:15] local.INFO: Extracted packet for processing {"connection_id":148364,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fd07b"} 
[2026-08-05 11:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756774720,"raw_latitude":119500896,"longitude_deg":75.677472,"latitude_deg":11.9500896,"altitude":75,"angle":264,"satellites":31,"speed":8,"hex_longitude":"2d1b7740","hex_latitude":"071f7060","is_valid_coordinates":true} 
[2026-08-05 11: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":93,"current_offset":40} 
[2026-08-05 11:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:24:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:24:15] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-05 11:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148364,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-05 11:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148364,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-05 11:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148364,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-05 11:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-05 11:24:15] local.WARNING: DEBUG: No valid data to process  
[2026-08-05 11:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":148364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-05 11:24:15] local.ERROR: GPS data processing failed {"connection_id":148364,"error":"No valid data to process"} 
[2026-08-05 11:24:15] local.INFO: Acknowledgment sent {"connection_id":148364,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-05 11:24:20] local.INFO: TCP Data received {"connection_id":148365,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:24:20] local.INFO: Processing buffer {"connection_id":148365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:24:20] local.INFO: IMEI packet received {"connection_id":148365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":148365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:24:21] local.INFO: TCP Data received {"connection_id":148365,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:24:21] local.INFO: Processing buffer {"connection_id":148365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:24:21] local.INFO: Packet analysis {"connection_id":148365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:24:21] local.INFO: Extracted packet for processing {"connection_id":148365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:24:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192668416001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785909162000,"timestamp_ms":1785909162000,"timestamp_seconds":1785909162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b3010"} 
[2026-08-05 11:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 11:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192668416001,"66":25854,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192668416001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:24:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192668416001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":148365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:24:21] local.INFO: GPS data processed {"connection_id":148365,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:24:21] local.INFO: Acknowledgment sent {"connection_id":148365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:24:40] local.INFO: TCP Data received {"connection_id":148366,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:40] local.INFO: Processing buffer {"connection_id":148366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:40] local.INFO: IMEI packet received {"connection_id":148366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":148366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:24:42] local.INFO: TCP Data received {"connection_id":148366,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:42] local.INFO: Processing buffer {"connection_id":148366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:24:42] local.INFO: IMEI packet received {"connection_id":148366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":148366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:24:43] local.INFO: TCP Data received {"connection_id":148366,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07c2240012d1b3ac0071f75180044010520..."} 
[2026-08-05 11:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07c2240012d1b3ac0071f75180044010520..."} 
[2026-08-05 11:24:43] local.INFO: Processing buffer {"connection_id":148366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07c2240012d1b3ac0071f75180044010520..."} 
[2026-08-05 11:24:43] local.INFO: Packet analysis {"connection_id":148366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07c"} 
[2026-08-05 11:24:43] local.INFO: Extracted packet for processing {"connection_id":148366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07c"} 
[2026-08-05 11:24:43] local.INFO: GPS Element Parsed {"raw_longitude":756759232,"raw_latitude":119502104,"longitude_deg":75.6759232,"latitude_deg":11.9502104,"altitude":68,"angle":261,"satellites":32,"speed":23,"hex_longitude":"2d1b3ac0","hex_latitude":"071f7518","is_valid_coordinates":true} 
[2026-08-05 11:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192761088001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10593180353298432,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962725043195967488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785909224000,"timestamp_ms":1785909224000,"timestamp_seconds":1785909224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07c2240"} 
[2026-08-05 11:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-05 11:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192761088001,"66":14298,"101":206,"83":41984,"24":23,"16":10593180353298432,"45":1962725043195967488},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192761088001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:24:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:24:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10593180353298432,"km_value":10593180353298.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962725043195967488,"description":"Unknown IO ID 45"} 
[2026-08-05 11:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192761088001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1962725043195967488}} 
[2026-08-05 11:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":148366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:24:43] local.INFO: GPS data processed {"connection_id":148366,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:24:43] local.INFO: Acknowledgment sent {"connection_id":148366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:24:52] local.INFO: TCP Data received {"connection_id":148365,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:24:52] local.INFO: Processing buffer {"connection_id":148365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:24:52] local.INFO: Packet analysis {"connection_id":148365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:24:52] local.INFO: Extracted packet for processing {"connection_id":148365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:24:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192668416001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785909162000,"timestamp_ms":1785909162000,"timestamp_seconds":1785909162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b3010"} 
[2026-08-05 11:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 11:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192668416001,"66":25854,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192668416001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:24:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:24:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192668416001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":148365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:24:52] local.INFO: GPS data processed {"connection_id":148365,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:24:52] local.INFO: Acknowledgment sent {"connection_id":148365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:25:14] local.INFO: TCP Data received {"connection_id":148366,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07c2df8012d1b32c0071f74e8004301151f..."} 
[2026-08-05 11:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07c2df8012d1b32c0071f74e8004301151f..."} 
[2026-08-05 11:25:14] local.INFO: Processing buffer {"connection_id":148366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07c2df8012d1b32c0071f74e8004301151f..."} 
[2026-08-05 11:25:14] local.INFO: Packet analysis {"connection_id":148366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07c"} 
[2026-08-05 11:25:14] local.INFO: Extracted packet for processing {"connection_id":148366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07c"} 
[2026-08-05 11:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119502056,"longitude_deg":75.6757184,"latitude_deg":11.9502056,"altitude":67,"angle":277,"satellites":31,"speed":27,"hex_longitude":"2d1b32c0","hex_latitude":"071f74e8","is_valid_coordinates":true} 
[2026-08-05 11:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192761344001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10593279137546240,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962091724498343936,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25: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-08-05 11:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785909227000,"timestamp_ms":1785909227000,"timestamp_seconds":1785909227,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07c2df8"} 
[2026-08-05 11:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-05 11:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192761344001,"66":14428,"101":206,"83":41984,"24":27,"16":10593279137546240,"45":1962091724498343936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192761344001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:25:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:25:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10593279137546240,"km_value":10593279137546.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962091724498343936,"description":"Unknown IO ID 45"} 
[2026-08-05 11:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192761344001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1962091724498343936}} 
[2026-08-05 11:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":148366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:25:14] local.INFO: GPS data processed {"connection_id":148366,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:25:14] local.INFO: Acknowledgment sent {"connection_id":148366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:25:17] local.INFO: TCP Data received {"connection_id":148367,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:25:17] local.INFO: Processing buffer {"connection_id":148367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:25:17] local.INFO: IMEI packet received {"connection_id":148367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":148367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:25:20] local.INFO: TCP Data received {"connection_id":148367,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:25:20] local.INFO: Processing buffer {"connection_id":148367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:25:20] local.INFO: IMEI packet received {"connection_id":148367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":148367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:25:24] local.INFO: TCP Data received {"connection_id":148367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:25:24] local.INFO: Processing buffer {"connection_id":148367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:25:24] local.INFO: Packet analysis {"connection_id":148367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:25:24] local.INFO: Extracted packet for processing {"connection_id":148367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192668416001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785909162000,"timestamp_ms":1785909162000,"timestamp_seconds":1785909162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b3010"} 
[2026-08-05 11:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 11:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192668416001,"66":25854,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192668416001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:25:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192668416001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":148367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:25:24] local.INFO: GPS data processed {"connection_id":148367,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:25:24] local.INFO: Acknowledgment sent {"connection_id":148367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:25:37] local.INFO: TCP Data received {"connection_id":149579,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:25:37] local.INFO: Processing buffer {"connection_id":149579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:25:37] local.INFO: IMEI packet received {"connection_id":149579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":149579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:25:40] local.INFO: TCP Data received {"connection_id":149579,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:25:40] local.INFO: Processing buffer {"connection_id":149579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:25:40] local.INFO: IMEI packet received {"connection_id":149579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":149579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:25:44] local.INFO: TCP Data received {"connection_id":149579,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:25:44] local.INFO: Processing buffer {"connection_id":149579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:25:44] local.INFO: IMEI packet received {"connection_id":149579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":149579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:25:49] local.INFO: TCP Data received {"connection_id":149579,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07d04d0012d1ac280071f8f000025013f22..."} 
[2026-08-05 11:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07d04d0012d1ac280071f8f000025013f22..."} 
[2026-08-05 11:25:49] local.INFO: Processing buffer {"connection_id":149579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07d04d0012d1ac280071f8f000025013f22..."} 
[2026-08-05 11:25:49] local.INFO: Packet analysis {"connection_id":149579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07d"} 
[2026-08-05 11:25:49] local.INFO: Extracted packet for processing {"connection_id":149579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07d"} 
[2026-08-05 11:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756728448,"raw_latitude":119508736,"longitude_deg":75.6728448,"latitude_deg":11.9508736,"altitude":37,"angle":319,"satellites":34,"speed":20,"hex_longitude":"2d1ac280","hex_latitude":"071f8f00","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192775936001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10594851095576576,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928455464782977024,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785909282000,"timestamp_ms":1785909282000,"timestamp_seconds":1785909282,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07d04d0"} 
[2026-08-05 11:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 11:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192775936001,"66":13656,"101":206,"83":41984,"24":20,"16":10594851095576576,"45":1928455464782977024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192775936001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:25:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10594851095576576,"km_value":10594851095576.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928455464782977024,"description":"Unknown IO ID 45"} 
[2026-08-05 11:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192775936001,"power":13656,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1928455464782977024}} 
[2026-08-05 11:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":149579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:25:49] local.INFO: GPS data processed {"connection_id":149579,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:25:49] local.INFO: Acknowledgment sent {"connection_id":149579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:25:58] local.INFO: TCP Data received {"connection_id":148367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:25:58] local.INFO: Processing buffer {"connection_id":148367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:25:58] local.INFO: Packet analysis {"connection_id":148367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:25:58] local.INFO: Extracted packet for processing {"connection_id":148367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192668416001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785909162000,"timestamp_ms":1785909162000,"timestamp_seconds":1785909162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b3010"} 
[2026-08-05 11:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 11:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192668416001,"66":25854,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192668416001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:25:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:25:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192668416001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":148367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:25:58] local.INFO: GPS data processed {"connection_id":148367,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:25:58] local.INFO: Acknowledgment sent {"connection_id":148367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:26:20] local.INFO: TCP Data received {"connection_id":149579,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07d08b8012d1ac0c0071f90b80025013022..."} 
[2026-08-05 11:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07d08b8012d1ac0c0071f90b80025013022..."} 
[2026-08-05 11:26:20] local.INFO: Processing buffer {"connection_id":149579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07d08b8012d1ac0c0071f90b80025013022..."} 
[2026-08-05 11:26:20] local.INFO: Packet analysis {"connection_id":149579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07d"} 
[2026-08-05 11:26:20] local.INFO: Extracted packet for processing {"connection_id":149579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07d"} 
[2026-08-05 11:26:20] local.INFO: GPS Element Parsed {"raw_longitude":756728000,"raw_latitude":119509176,"longitude_deg":75.6728,"latitude_deg":11.9509176,"altitude":37,"angle":304,"satellites":34,"speed":23,"hex_longitude":"2d1ac0c0","hex_latitude":"071f90b8","is_valid_coordinates":true} 
[2026-08-05 11:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192776192001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10594881160347648,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928244358550585344,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785909283000,"timestamp_ms":1785909283000,"timestamp_seconds":1785909283,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07d08b8"} 
[2026-08-05 11:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 11:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192776192001,"66":14243,"101":206,"83":41984,"24":23,"16":10594881160347648,"45":1928244358550585344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192776192001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:26:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:26:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10594881160347648,"km_value":10594881160347.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928244358550585344,"description":"Unknown IO ID 45"} 
[2026-08-05 11:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192776192001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1928244358550585344}} 
[2026-08-05 11:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":149579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:26:20] local.INFO: GPS data processed {"connection_id":149579,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:26:20] local.INFO: Acknowledgment sent {"connection_id":149579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:26:20] local.INFO: TCP Data received {"connection_id":148580,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:26:20] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:26:20] local.INFO: IMEI packet received {"connection_id":148580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":148580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:26:25] local.INFO: TCP Data received {"connection_id":148580,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:26:25] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:26:25] local.INFO: IMEI packet received {"connection_id":148580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":148580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:26:26] local.INFO: TCP Data received {"connection_id":148580,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:26:26] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:26:26] local.INFO: Packet analysis {"connection_id":148580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:26:26] local.INFO: Extracted packet for processing {"connection_id":148580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192668416001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785909162000,"timestamp_ms":1785909162000,"timestamp_seconds":1785909162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b3010"} 
[2026-08-05 11:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 11:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192668416001,"66":25854,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192668416001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:26:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192668416001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":148580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:26:26] local.INFO: GPS data processed {"connection_id":148580,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:26:26] local.INFO: Acknowledgment sent {"connection_id":148580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:26:40] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:40] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:40] local.INFO: IMEI packet received {"connection_id":148581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":148581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:26:41] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:41] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:41] local.INFO: IMEI packet received {"connection_id":148581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":148581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:26:41] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:41] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:41] local.INFO: IMEI packet received {"connection_id":148581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":148581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:26:47] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:47] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:26:47] local.INFO: IMEI packet received {"connection_id":148581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":148581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:26:48] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07ddf90012d1a5640071fdf88002b012820..."} 
[2026-08-05 11:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07ddf90012d1a5640071fdf88002b012820..."} 
[2026-08-05 11:26:48] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07ddf90012d1a5640071fdf88002b012820..."} 
[2026-08-05 11:26:48] local.INFO: Packet analysis {"connection_id":148581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07d"} 
[2026-08-05 11:26:48] local.INFO: Extracted packet for processing {"connection_id":148581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07d"} 
[2026-08-05 11:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756700736,"raw_latitude":119529352,"longitude_deg":75.6700736,"latitude_deg":11.9529352,"altitude":43,"angle":296,"satellites":32,"speed":39,"hex_longitude":"2d1a5640","hex_latitude":"071fdf88","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192789760001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10596612032167936,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900800548326359040,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785909338000,"timestamp_ms":1785909338000,"timestamp_seconds":1785909338,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07ddf90"} 
[2026-08-05 11:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":92,"data_length":795,"current_offset":136} 
[2026-08-05 11:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192789760001,"66":14407,"101":206,"83":41984,"24":39,"16":10596612032167936,"45":1900800548326359040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 11:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192789760001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:26:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 11:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10596612032167936,"km_value":10596612032167.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900800548326359040,"description":"Unknown IO ID 45"} 
[2026-08-05 11:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192789760001,"power":14407,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1900800548326359040}} 
[2026-08-05 11:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":148581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:26:48] local.INFO: GPS data processed {"connection_id":148581,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:26:48] local.INFO: Acknowledgment sent {"connection_id":148581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:26:58] local.INFO: TCP Data received {"connection_id":148580,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:26:58] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:26:58] local.INFO: Packet analysis {"connection_id":148580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:26:58] local.INFO: Extracted packet for processing {"connection_id":148580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192668416001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785909162000,"timestamp_ms":1785909162000,"timestamp_seconds":1785909162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b3010"} 
[2026-08-05 11:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 11:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192668416001,"66":25854,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192668416001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:26:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192668416001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":148580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:26:58] local.INFO: GPS data processed {"connection_id":148580,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:26:58] local.INFO: Acknowledgment sent {"connection_id":148580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:27:15] local.INFO: TCP Data received {"connection_id":149580,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:27:15] local.INFO: Processing buffer {"connection_id":149580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:27:15] local.INFO: IMEI packet received {"connection_id":149580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":149580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:27:20] local.INFO: TCP Data received {"connection_id":149580,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:27:20] local.INFO: Processing buffer {"connection_id":149580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:27:20] local.INFO: IMEI packet received {"connection_id":149580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":149580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:27:21] local.INFO: TCP Data received {"connection_id":149580,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:27:21] local.INFO: Processing buffer {"connection_id":149580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:27:21] local.INFO: Packet analysis {"connection_id":149580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:27:21] local.INFO: Extracted packet for processing {"connection_id":149580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:27:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192668416001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785909162000,"timestamp_ms":1785909162000,"timestamp_seconds":1785909162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b3010"} 
[2026-08-05 11:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 11:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192668416001,"66":25854,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192668416001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:27:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192668416001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":149580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:27:21] local.INFO: GPS data processed {"connection_id":149580,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:27:21] local.INFO: Acknowledgment sent {"connection_id":149580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:27:22] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07e8b70012d19c84007201f980029014f22..."} 
[2026-08-05 11:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07e8b70012d19c84007201f980029014f22..."} 
[2026-08-05 11:27:22] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07e8b70012d19c84007201f980029014f22..."} 
[2026-08-05 11:27:22] local.INFO: Packet analysis {"connection_id":148581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07e"} 
[2026-08-05 11:27:22] local.INFO: Extracted packet for processing {"connection_id":148581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07e"} 
[2026-08-05 11:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756664384,"raw_latitude":119545752,"longitude_deg":75.6664384,"latitude_deg":11.9545752,"altitude":41,"angle":335,"satellites":34,"speed":35,"hex_longitude":"2d19c840","hex_latitude":"07201f98","is_valid_coordinates":true} 
[2026-08-05 11:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192801280001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10598596307058688,"note":"Value kept but may cause issues"} 
[2026-08-05 11:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039312121856,"note":"Value kept but may cause issues"} 
[2026-08-05 11:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785909382000,"timestamp_ms":1785909382000,"timestamp_seconds":1785909382,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07e8b70"} 
[2026-08-05 11:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-05 11:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192801280001,"66":14070,"103":206,"83":41984,"24":35,"16":10598596307058688,"45":1858720039312121856},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 11:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192801280001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:27:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 11:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10598596307058688,"km_value":10598596307058.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039312121856,"description":"Unknown IO ID 45"} 
[2026-08-05 11:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192801280001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1858720039312121856}} 
[2026-08-05 11:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":148581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:27:23] local.INFO: GPS data processed {"connection_id":148581,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:27:23] local.INFO: Acknowledgment sent {"connection_id":148581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:27:40] local.INFO: TCP Data received {"connection_id":148582,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:40] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:40] local.INFO: IMEI packet received {"connection_id":148582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":148582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:27:40] local.INFO: TCP Data received {"connection_id":148582,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:40] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:40] local.INFO: IMEI packet received {"connection_id":148582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":148582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:27:41] local.INFO: TCP Data received {"connection_id":148582,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:41] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:41] local.INFO: IMEI packet received {"connection_id":148582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":148582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:27:45] local.INFO: TCP Data received {"connection_id":148582,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:45] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:27:45] local.INFO: IMEI packet received {"connection_id":148582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":148582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:27:52] local.INFO: TCP Data received {"connection_id":149580,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:27:52] local.INFO: Processing buffer {"connection_id":149580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:27:52] local.INFO: Packet analysis {"connection_id":149580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:27:52] local.INFO: Extracted packet for processing {"connection_id":149580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:27:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192668416001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785909162000,"timestamp_ms":1785909162000,"timestamp_seconds":1785909162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b3010"} 
[2026-08-05 11:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 11:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192668416001,"66":25854,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192668416001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:27:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192668416001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":149580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:27:52] local.INFO: GPS data processed {"connection_id":149580,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:27:52] local.INFO: Acknowledgment sent {"connection_id":149580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:28:15] local.INFO: TCP Data received {"connection_id":149581,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:28:15] local.INFO: Processing buffer {"connection_id":149581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:28:15] local.INFO: IMEI packet received {"connection_id":149581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":149581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:28:20] local.INFO: TCP Data received {"connection_id":149581,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:28:20] local.INFO: Processing buffer {"connection_id":149581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:28:20] local.INFO: IMEI packet received {"connection_id":149581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":149581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:28:21] local.INFO: TCP Data received {"connection_id":149581,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:28:21] local.INFO: Processing buffer {"connection_id":149581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07b3010012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:28:21] local.INFO: Packet analysis {"connection_id":149581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:28:21] local.INFO: Extracted packet for processing {"connection_id":149581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07b"} 
[2026-08-05 11:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192668416001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785909162000,"timestamp_ms":1785909162000,"timestamp_seconds":1785909162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07b3010"} 
[2026-08-05 11:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 11:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192668416001,"66":25854,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192668416001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:28:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192668416001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":149581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:28:21] local.INFO: GPS data processed {"connection_id":149581,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:28:21] local.INFO: Acknowledgment sent {"connection_id":149581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:28:52] local.INFO: TCP Data received {"connection_id":149581,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:28:52] local.INFO: Processing buffer {"connection_id":149581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:28:52] local.INFO: Packet analysis {"connection_id":149581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:28:52] local.INFO: Extracted packet for processing {"connection_id":149581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:28:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192745472001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785909463000,"timestamp_ms":1785909463000,"timestamp_seconds":1785909463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07fc7d8"} 
[2026-08-05 11:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 11:28:52] 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-08-05 11:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192745472001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192745472001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:28:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192745472001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":149581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:28:52] local.INFO: GPS data processed {"connection_id":149581,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:28:52] local.INFO: Acknowledgment sent {"connection_id":149581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:29:15] local.INFO: TCP Data received {"connection_id":148368,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:29:15] local.INFO: Processing buffer {"connection_id":148368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:29:15] local.INFO: IMEI packet received {"connection_id":148368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":148368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:29:20] local.INFO: TCP Data received {"connection_id":148368,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:29:20] local.INFO: Processing buffer {"connection_id":148368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:29:20] local.INFO: IMEI packet received {"connection_id":148368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":148368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:29:21] local.INFO: TCP Data received {"connection_id":148368,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:29:21] local.INFO: Processing buffer {"connection_id":148368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:29:21] local.INFO: Packet analysis {"connection_id":148368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:29:21] local.INFO: Extracted packet for processing {"connection_id":148368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:29:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192745472001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785909463000,"timestamp_ms":1785909463000,"timestamp_seconds":1785909463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07fc7d8"} 
[2026-08-05 11:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:29: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-08-05 11:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 11:29:21] 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-08-05 11:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192745472001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192745472001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:29:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192745472001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":148368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:29:21] local.INFO: GPS data processed {"connection_id":148368,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:29:21] local.INFO: Acknowledgment sent {"connection_id":148368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:29:52] local.INFO: TCP Data received {"connection_id":148368,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:29:52] local.INFO: Processing buffer {"connection_id":148368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:29:52] local.INFO: Packet analysis {"connection_id":148368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:29:52] local.INFO: Extracted packet for processing {"connection_id":148368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:29:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192745472001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785909463000,"timestamp_ms":1785909463000,"timestamp_seconds":1785909463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07fc7d8"} 
[2026-08-05 11:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":254,"data_length":795,"current_offset":136} 
[2026-08-05 11:29:52] 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-08-05 11:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192745472001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192745472001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:29:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192745472001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":148368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:29:52] local.INFO: GPS data processed {"connection_id":148368,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:29:52] local.INFO: Acknowledgment sent {"connection_id":148368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:30:20] local.INFO: TCP Data received {"connection_id":148583,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:30:20] local.INFO: Processing buffer {"connection_id":148583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:30:20] local.INFO: IMEI packet received {"connection_id":148583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":148583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:30:25] local.INFO: TCP Data received {"connection_id":148583,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:30:25] local.INFO: Processing buffer {"connection_id":148583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:30:25] local.INFO: IMEI packet received {"connection_id":148583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":148583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:30:26] local.INFO: TCP Data received {"connection_id":148583,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:30:26] local.INFO: Processing buffer {"connection_id":148583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:30:26] local.INFO: Packet analysis {"connection_id":148583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:30:26] local.INFO: Extracted packet for processing {"connection_id":148583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192745472001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785909463000,"timestamp_ms":1785909463000,"timestamp_seconds":1785909463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07fc7d8"} 
[2026-08-05 11:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 11:30:26] 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-08-05 11:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192745472001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192745472001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:30:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192745472001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":148583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:30:26] local.INFO: GPS data processed {"connection_id":148583,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:30:26] local.INFO: Acknowledgment sent {"connection_id":148583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:30:31] local.INFO: TCP Data received {"connection_id":148583,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:30:31] local.INFO: Processing buffer {"connection_id":148583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:30:31] local.INFO: Packet analysis {"connection_id":148583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:30:31] local.INFO: Extracted packet for processing {"connection_id":148583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192745472001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785909463000,"timestamp_ms":1785909463000,"timestamp_seconds":1785909463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07fc7d8"} 
[2026-08-05 11:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 11:30:31] 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-08-05 11: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-08-05 11:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192745472001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192745472001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:30:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:30:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192745472001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":148583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:30:31] local.INFO: GPS data processed {"connection_id":148583,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:30:31] local.INFO: Acknowledgment sent {"connection_id":148583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:31:15] local.INFO: TCP Data received {"connection_id":149584,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:31:15] local.INFO: Processing buffer {"connection_id":149584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:31:15] local.INFO: IMEI packet received {"connection_id":149584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":149584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:31:20] local.INFO: TCP Data received {"connection_id":149584,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:31:20] local.INFO: Processing buffer {"connection_id":149584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:31:20] local.INFO: IMEI packet received {"connection_id":149584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":149584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:31:22] local.INFO: TCP Data received {"connection_id":149584,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:31:22] local.INFO: Processing buffer {"connection_id":149584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:31:22] local.INFO: Packet analysis {"connection_id":149584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:31:22] local.INFO: Extracted packet for processing {"connection_id":149584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192745472001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785909463000,"timestamp_ms":1785909463000,"timestamp_seconds":1785909463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07fc7d8"} 
[2026-08-05 11:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 11:31:22] 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-08-05 11:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192745472001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192745472001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:31:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192745472001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":149584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:31:22] local.INFO: GPS data processed {"connection_id":149584,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:31:22] local.INFO: Acknowledgment sent {"connection_id":149584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:31:53] local.INFO: TCP Data received {"connection_id":149584,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:31:53] local.INFO: Processing buffer {"connection_id":149584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:31:53] local.INFO: Packet analysis {"connection_id":149584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:31:53] local.INFO: Extracted packet for processing {"connection_id":149584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:31:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192745472001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785909463000,"timestamp_ms":1785909463000,"timestamp_seconds":1785909463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07fc7d8"} 
[2026-08-05 11:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 11:31:53] 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-08-05 11:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192745472001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192745472001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:31:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:31:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192745472001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":149584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:31:53] local.INFO: GPS data processed {"connection_id":149584,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:31:53] local.INFO: Acknowledgment sent {"connection_id":149584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:32:15] local.INFO: TCP Data received {"connection_id":148584,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:32:15] local.INFO: Processing buffer {"connection_id":148584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:32:15] local.INFO: IMEI packet received {"connection_id":148584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":148584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:32:20] local.INFO: TCP Data received {"connection_id":148584,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:32:20] local.INFO: Processing buffer {"connection_id":148584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:32:20] local.INFO: IMEI packet received {"connection_id":148584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":148584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:32:21] local.INFO: TCP Data received {"connection_id":148584,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:32:21] local.INFO: Processing buffer {"connection_id":148584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:32:21] local.INFO: Packet analysis {"connection_id":148584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:32:21] local.INFO: Extracted packet for processing {"connection_id":148584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:32:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192745472001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785909463000,"timestamp_ms":1785909463000,"timestamp_seconds":1785909463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07fc7d8"} 
[2026-08-05 11:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:32: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-08-05 11:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 11:32:21] 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-08-05 11:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192745472001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192745472001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:32:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192745472001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":148584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:32:21] local.INFO: GPS data processed {"connection_id":148584,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:32:21] local.INFO: Acknowledgment sent {"connection_id":148584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:32:45] local.INFO: TCP Data received {"connection_id":150994,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:32:45] local.INFO: Processing buffer {"connection_id":150994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:32:45] local.INFO: IMEI packet received {"connection_id":150994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":150994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:32:46] local.INFO: TCP Data received {"connection_id":150994,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0834e30012d1822800721b818004a007020..."} 
[2026-08-05 11:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0834e30012d1822800721b818004a007020..."} 
[2026-08-05 11:32:46] local.INFO: Processing buffer {"connection_id":150994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0834e30012d1822800721b818004a007020..."} 
[2026-08-05 11:32:46] local.INFO: Packet analysis {"connection_id":150994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:32:46] local.INFO: Extracted packet for processing {"connection_id":150994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119650328,"longitude_deg":75.6556416,"latitude_deg":11.9650328,"altitude":74,"angle":112,"satellites":32,"speed":3,"hex_longitude":"2d182280","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192877824001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607370925244416,"note":"Value kept but may cause issues"} 
[2026-08-05 11:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213937664,"note":"Value kept but may cause issues"} 
[2026-08-05 11:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785909694000,"timestamp_ms":1785909694000,"timestamp_seconds":1785909694,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0834e30"} 
[2026-08-05 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-08-05 11:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 11:32: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-08-05 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-08-05 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-08-05 11:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192877824001,"66":13015,"105":206,"83":41984,"24":3,"16":10607370925244416,"45":1739374649213937664},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192877824001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:32:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607370925244416,"km_value":10607370925244.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213937664,"description":"Unknown IO ID 45"} 
[2026-08-05 11:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192877824001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739374649213937664}} 
[2026-08-05 11:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":150994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:32:46] local.INFO: GPS data processed {"connection_id":150994,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:32:46] local.INFO: Acknowledgment sent {"connection_id":150994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:32:52] local.INFO: TCP Data received {"connection_id":148584,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:32:52] local.INFO: Processing buffer {"connection_id":148584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:32:52] local.INFO: Packet analysis {"connection_id":148584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:32:52] local.INFO: Extracted packet for processing {"connection_id":148584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:32:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192745472001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785909463000,"timestamp_ms":1785909463000,"timestamp_seconds":1785909463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07fc7d8"} 
[2026-08-05 11:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 11:32:52] 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-08-05 11:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192745472001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192745472001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:32:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192745472001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":148584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:32:52] local.INFO: GPS data processed {"connection_id":148584,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:32:52] local.INFO: Acknowledgment sent {"connection_id":148584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:33:15] local.INFO: TCP Data received {"connection_id":149585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:33:15] local.INFO: Processing buffer {"connection_id":149585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:33:15] local.INFO: IMEI packet received {"connection_id":149585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":149585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:33:17] local.INFO: TCP Data received {"connection_id":150994,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0835600012d1822c00721b800004a006120..."} 
[2026-08-05 11:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0835600012d1822c00721b800004a006120..."} 
[2026-08-05 11:33:17] local.INFO: Processing buffer {"connection_id":150994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0835600012d1822c00721b800004a006120..."} 
[2026-08-05 11:33:17] local.INFO: Packet analysis {"connection_id":150994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:33:17] local.INFO: Extracted packet for processing {"connection_id":150994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650304,"longitude_deg":75.655648,"latitude_deg":11.9650304,"altitude":74,"angle":97,"satellites":32,"speed":2,"hex_longitude":"2d1822c0","hex_latitude":"0721b800","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192881664001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607375220211712,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237272064,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785909696000,"timestamp_ms":1785909696000,"timestamp_seconds":1785909696,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0835600"} 
[2026-08-05 11:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 11:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192881664001,"66":12906,"105":206,"83":41984,"24":2,"16":10607375220211712,"45":1739093174237272064},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192881664001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:33:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607375220211712,"km_value":10607375220211.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237272064,"description":"Unknown IO ID 45"} 
[2026-08-05 11:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192881664001,"power":12906,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739093174237272064}} 
[2026-08-05 11:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":150994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:33:17] local.INFO: GPS data processed {"connection_id":150994,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:33:17] local.INFO: Acknowledgment sent {"connection_id":150994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:33:20] local.INFO: TCP Data received {"connection_id":149585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:33:20] local.INFO: Processing buffer {"connection_id":149585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:33:20] local.INFO: IMEI packet received {"connection_id":149585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":149585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:33:21] local.INFO: TCP Data received {"connection_id":149585,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:33:21] local.INFO: Processing buffer {"connection_id":149585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd07fc7d8012d7f92c005afd9e8000000e92c..."} 
[2026-08-05 11:33:21] local.INFO: Packet analysis {"connection_id":149585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:33:21] local.INFO: Extracted packet for processing {"connection_id":149585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd07f"} 
[2026-08-05 11:33:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192745472001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785909463000,"timestamp_ms":1785909463000,"timestamp_seconds":1785909463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd07fc7d8"} 
[2026-08-05 11:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:33: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-08-05 11:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 11:33:21] 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-08-05 11:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:33: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-08-05 11:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192745472001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192745472001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:33:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192745472001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":149585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:33:21] local.INFO: GPS data processed {"connection_id":149585,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:33:21] local.INFO: Acknowledgment sent {"connection_id":149585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:33:40] local.INFO: TCP Data received {"connection_id":148585,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:33:40] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:33:40] local.INFO: IMEI packet received {"connection_id":148585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":148585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:33:45] local.INFO: TCP Data received {"connection_id":148585,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:33:45] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:33:45] local.INFO: IMEI packet received {"connection_id":148585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":148585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:33:46] local.INFO: TCP Data received {"connection_id":148585,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08359e8012d1823000721b810004a005220..."} 
[2026-08-05 11:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08359e8012d1823000721b810004a005220..."} 
[2026-08-05 11:33:46] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08359e8012d1823000721b810004a005220..."} 
[2026-08-05 11:33:46] local.INFO: Packet analysis {"connection_id":148585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:33:46] local.INFO: Extracted packet for processing {"connection_id":148585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650320,"longitude_deg":75.6556544,"latitude_deg":11.965032,"altitude":74,"angle":82,"satellites":32,"speed":2,"hex_longitude":"2d182300","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 11:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192882176001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607379515179008,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981443584,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785909697000,"timestamp_ms":1785909697000,"timestamp_seconds":1785909697,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08359e8"} 
[2026-08-05 11:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-05 11:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192882176001,"66":13124,"105":206,"83":41984,"24":2,"16":10607379515179008,"45":1739163542981443584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192882176001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:33:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607379515179008,"km_value":10607379515179.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981443584,"description":"Unknown IO ID 45"} 
[2026-08-05 11:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192882176001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739163542981443584}} 
[2026-08-05 11:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":148585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:33:46] local.INFO: GPS data processed {"connection_id":148585,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:33:46] local.INFO: Acknowledgment sent {"connection_id":148585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:33:52] local.INFO: TCP Data received {"connection_id":149585,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:33:52] local.INFO: Processing buffer {"connection_id":149585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:33:52] local.INFO: Packet analysis {"connection_id":149585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:33:52] local.INFO: Extracted packet for processing {"connection_id":149585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:33:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192822528001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785909764000,"timestamp_ms":1785909764000,"timestamp_seconds":1785909764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0845fa0"} 
[2026-08-05 11:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192822528001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192822528001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:33:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192822528001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":149585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:33:52] local.INFO: GPS data processed {"connection_id":149585,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:33:52] local.INFO: Acknowledgment sent {"connection_id":149585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:34:17] local.INFO: TCP Data received {"connection_id":148585,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08384e0012d1823000721b7a0004a00c120..."} 
[2026-08-05 11:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08384e0012d1823000721b7a0004a00c120..."} 
[2026-08-05 11:34:17] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08384e0012d1823000721b7a0004a00c120..."} 
[2026-08-05 11:34:17] local.INFO: Packet analysis {"connection_id":148585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:34:17] local.INFO: Extracted packet for processing {"connection_id":148585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650208,"longitude_deg":75.6556544,"latitude_deg":11.9650208,"altitude":74,"angle":193,"satellites":32,"speed":4,"hex_longitude":"2d182300","hex_latitude":"0721b7a0","is_valid_coordinates":true} 
[2026-08-05 11:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192882432001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607388105113600,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725625344,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785909708000,"timestamp_ms":1785909708000,"timestamp_seconds":1785909708,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08384e0"} 
[2026-08-05 11:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 11:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192882432001,"66":13156,"105":206,"83":41984,"24":4,"16":10607388105113600,"45":1739233911725625344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192882432001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:34:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607388105113600,"km_value":10607388105113.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725625344,"description":"Unknown IO ID 45"} 
[2026-08-05 11:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192882432001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1739233911725625344}} 
[2026-08-05 11:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":148585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:34:17] local.INFO: GPS data processed {"connection_id":148585,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:34:17] local.INFO: Acknowledgment sent {"connection_id":148585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:34:20] local.INFO: TCP Data received {"connection_id":148586,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:34:20] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:34:20] local.INFO: IMEI packet received {"connection_id":148586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":148586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:34:25] local.INFO: TCP Data received {"connection_id":148586,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:34:25] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:34:25] local.INFO: IMEI packet received {"connection_id":148586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":148586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:34:26] local.INFO: TCP Data received {"connection_id":148586,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:34:26] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:34:26] local.INFO: Packet analysis {"connection_id":148586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:34:26] local.INFO: Extracted packet for processing {"connection_id":148586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192822528001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785909764000,"timestamp_ms":1785909764000,"timestamp_seconds":1785909764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0845fa0"} 
[2026-08-05 11:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192822528001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192822528001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:34:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192822528001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":148586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:34:26] local.INFO: GPS data processed {"connection_id":148586,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:34:26] local.INFO: Acknowledgment sent {"connection_id":148586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:34:31] local.INFO: TCP Data received {"connection_id":148586,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:34:31] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:34:31] local.INFO: Packet analysis {"connection_id":148586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:34:31] local.INFO: Extracted packet for processing {"connection_id":148586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192822528001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785909764000,"timestamp_ms":1785909764000,"timestamp_seconds":1785909764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0845fa0"} 
[2026-08-05 11:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192822528001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192822528001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:34:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:34:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192822528001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":148586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:34:31] local.INFO: GPS data processed {"connection_id":148586,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:34:31] local.INFO: Acknowledgment sent {"connection_id":148586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:34:40] local.INFO: TCP Data received {"connection_id":149586,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:34:40] local.INFO: Processing buffer {"connection_id":149586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:34:40] local.INFO: IMEI packet received {"connection_id":149586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":149586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:34:45] local.INFO: TCP Data received {"connection_id":149586,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:34:45] local.INFO: Processing buffer {"connection_id":149586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:34:45] local.INFO: IMEI packet received {"connection_id":149586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":149586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:34:46] local.INFO: TCP Data received {"connection_id":149586,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0839868012d1823000721b7f0004a001f1f..."} 
[2026-08-05 11:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0839868012d1823000721b7f0004a001f1f..."} 
[2026-08-05 11:34:46] local.INFO: Processing buffer {"connection_id":149586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0839868012d1823000721b7f0004a001f1f..."} 
[2026-08-05 11:34:46] local.INFO: Packet analysis {"connection_id":149586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:34:46] local.INFO: Extracted packet for processing {"connection_id":149586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650288,"longitude_deg":75.6556544,"latitude_deg":11.9650288,"altitude":74,"angle":31,"satellites":31,"speed":1,"hex_longitude":"2d182300","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192885248001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607392400080896,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725596672,"note":"Value kept but may cause issues"} 
[2026-08-05 11:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785909713000,"timestamp_ms":1785909713000,"timestamp_seconds":1785909713,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0839868"} 
[2026-08-05 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-08-05 11:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-05 11:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192885248001,"66":13102,"105":206,"83":41984,"24":1,"16":10607392400080896,"45":1739233911725596672},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192885248001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:34:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607392400080896,"km_value":10607392400080.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725596672,"description":"Unknown IO ID 45"} 
[2026-08-05 11:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192885248001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739233911725596672}} 
[2026-08-05 11:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":149586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:34:46] local.INFO: GPS data processed {"connection_id":149586,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:34:46] local.INFO: Acknowledgment sent {"connection_id":149586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:35:15] local.INFO: TCP Data received {"connection_id":149587,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:35:15] local.INFO: Processing buffer {"connection_id":149587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:35:15] local.INFO: IMEI packet received {"connection_id":149587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":149587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:35:20] local.INFO: TCP Data received {"connection_id":149587,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:35:20] local.INFO: Processing buffer {"connection_id":149587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:35:20] local.INFO: IMEI packet received {"connection_id":149587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":149587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:35:21] local.INFO: TCP Data received {"connection_id":149587,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:35:21] local.INFO: Processing buffer {"connection_id":149587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:35:21] local.INFO: Packet analysis {"connection_id":149587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:35:21] local.INFO: Extracted packet for processing {"connection_id":149587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192822528001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785909764000,"timestamp_ms":1785909764000,"timestamp_seconds":1785909764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0845fa0"} 
[2026-08-05 11:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:35: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-08-05 11:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:35: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-08-05 11:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192822528001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192822528001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:35:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192822528001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":149587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:35:21] local.INFO: GPS data processed {"connection_id":149587,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:35:21] local.INFO: Acknowledgment sent {"connection_id":149587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:35:26] local.INFO: TCP Data received {"connection_id":149586,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd083ea70012d1823400721b868004a001620..."} 
[2026-08-05 11:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd083ea70012d1823400721b868004a001620..."} 
[2026-08-05 11:35:26] local.INFO: Processing buffer {"connection_id":149586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd083ea70012d1823400721b868004a001620..."} 
[2026-08-05 11:35:26] local.INFO: Packet analysis {"connection_id":149586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:35:26] local.INFO: Extracted packet for processing {"connection_id":149586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd083"} 
[2026-08-05 11:35:26] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":32,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192886528001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725617152,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785909734000,"timestamp_ms":1785909734000,"timestamp_seconds":1785909734,"priority":1,"record_length":96,"hex_timestamp":"0000019fd083ea70"} 
[2026-08-05 11:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-05 11:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192886528001,"66":13080,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739233911725617152},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192886528001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:35:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:35:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725617152,"description":"Unknown IO ID 45"} 
[2026-08-05 11:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192886528001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725617152}} 
[2026-08-05 11:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":149586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:35:26] local.INFO: GPS data processed {"connection_id":149586,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:35:26] local.INFO: Acknowledgment sent {"connection_id":149586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:35:40] local.INFO: TCP Data received {"connection_id":148370,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:35:40] local.INFO: Processing buffer {"connection_id":148370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:35:40] local.INFO: IMEI packet received {"connection_id":148370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":148370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:35:40] local.INFO: TCP Data received {"connection_id":148370,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:35:40] local.INFO: Processing buffer {"connection_id":148370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:35:40] local.INFO: IMEI packet received {"connection_id":148370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":148370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:35:45] local.INFO: TCP Data received {"connection_id":148370,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:35:45] local.INFO: Processing buffer {"connection_id":148370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:35:45] local.INFO: IMEI packet received {"connection_id":148370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":148370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:35:46] local.INFO: TCP Data received {"connection_id":148370,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0843c78012d1823400721b868004a001620..."} 
[2026-08-05 11:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0843c78012d1823400721b868004a001620..."} 
[2026-08-05 11:35:46] local.INFO: Processing buffer {"connection_id":148370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0843c78012d1823400721b868004a001620..."} 
[2026-08-05 11:35:46] local.INFO: Packet analysis {"connection_id":148370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:35:46] local.INFO: Extracted packet for processing {"connection_id":148370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":32,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192891904001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785909755000,"timestamp_ms":1785909755000,"timestamp_seconds":1785909755,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0843c78"} 
[2026-08-05 11:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-05 11:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192891904001,"66":12928,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192891904001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:35:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192891904001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":148370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:35:46] local.INFO: GPS data processed {"connection_id":148370,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:35:46] local.INFO: Acknowledgment sent {"connection_id":148370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:35:52] local.INFO: TCP Data received {"connection_id":149587,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:35:52] local.INFO: Processing buffer {"connection_id":149587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:35:52] local.INFO: Packet analysis {"connection_id":149587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:35:52] local.INFO: Extracted packet for processing {"connection_id":149587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:35:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192822528001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785909764000,"timestamp_ms":1785909764000,"timestamp_seconds":1785909764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0845fa0"} 
[2026-08-05 11:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192822528001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192822528001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:35:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192822528001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":149587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:35:52] local.INFO: GPS data processed {"connection_id":149587,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:35:52] local.INFO: Acknowledgment sent {"connection_id":149587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:36:15] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:36:15] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:36:15] local.INFO: IMEI packet received {"connection_id":148587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":148587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:36:17] local.INFO: TCP Data received {"connection_id":148370,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0848e80012d1823400721b868004a001623..."} 
[2026-08-05 11:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0848e80012d1823400721b868004a001623..."} 
[2026-08-05 11:36:17] local.INFO: Processing buffer {"connection_id":148370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0848e80012d1823400721b868004a001623..."} 
[2026-08-05 11:36:17] local.INFO: Packet analysis {"connection_id":148370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:36:17] local.INFO: Extracted packet for processing {"connection_id":148370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":35,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192897280001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785909776000,"timestamp_ms":1785909776000,"timestamp_seconds":1785909776,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0848e80"} 
[2026-08-05 11:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-05 11:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192897280001,"66":12917,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192897280001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:36:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192897280001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":148370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:36:17] local.INFO: GPS data processed {"connection_id":148370,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:36:17] local.INFO: Acknowledgment sent {"connection_id":148370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:36:20] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:36:20] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:36:20] local.INFO: IMEI packet received {"connection_id":148587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":148587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:36:21] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:36:21] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:36:21] local.INFO: Packet analysis {"connection_id":148587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:36:21] local.INFO: Extracted packet for processing {"connection_id":148587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:36:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192822528001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785909764000,"timestamp_ms":1785909764000,"timestamp_seconds":1785909764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0845fa0"} 
[2026-08-05 11:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:36: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-08-05 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:36: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-08-05 11: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-08-05 11:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:36: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-08-05 11:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192822528001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192822528001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:36:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192822528001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":148587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:36:21] local.INFO: GPS data processed {"connection_id":148587,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:36:21] local.INFO: Acknowledgment sent {"connection_id":148587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:36:43] local.INFO: TCP Data received {"connection_id":148588,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:36:43] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:36:43] local.INFO: IMEI packet received {"connection_id":148588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":148588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:36:45] local.INFO: TCP Data received {"connection_id":148588,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:36:45] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:36:45] local.INFO: IMEI packet received {"connection_id":148588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":148588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:36:50] local.INFO: TCP Data received {"connection_id":148588,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:36:50] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:36:50] local.INFO: IMEI packet received {"connection_id":148588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":148588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:36:51] local.INFO: TCP Data received {"connection_id":148588,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd084e088012d1823400721b868004a001622..."} 
[2026-08-05 11:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd084e088012d1823400721b868004a001622..."} 
[2026-08-05 11:36:51] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd084e088012d1823400721b868004a001622..."} 
[2026-08-05 11:36:51] local.INFO: Packet analysis {"connection_id":148588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:36:51] local.INFO: Extracted packet for processing {"connection_id":148588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":34,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192902656001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785909797000,"timestamp_ms":1785909797000,"timestamp_seconds":1785909797,"priority":1,"record_length":96,"hex_timestamp":"0000019fd084e088"} 
[2026-08-05 11:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 11:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192902656001,"66":12885,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192902656001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:36:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192902656001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":148588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:36:51] local.INFO: GPS data processed {"connection_id":148588,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:36:51] local.INFO: Acknowledgment sent {"connection_id":148588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:36:55] local.INFO: TCP Data received {"connection_id":148588,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0853290012d1823400721b868004a001622..."} 
[2026-08-05 11:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0853290012d1823400721b868004a001622..."} 
[2026-08-05 11:36:55] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0853290012d1823400721b868004a001622..."} 
[2026-08-05 11:36:55] local.INFO: Packet analysis {"connection_id":148588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd085"} 
[2026-08-05 11:36:55] local.INFO: Extracted packet for processing {"connection_id":148588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd085"} 
[2026-08-05 11:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":34,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192908032001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785909818000,"timestamp_ms":1785909818000,"timestamp_seconds":1785909818,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0853290"} 
[2026-08-05 11:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 11:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192908032001,"66":12841,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192908032001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:36:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192908032001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":148588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:36:55] local.INFO: GPS data processed {"connection_id":148588,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:36:55] local.INFO: Acknowledgment sent {"connection_id":148588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:36:57] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:36:57] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:36:57] local.INFO: Packet analysis {"connection_id":148587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:36:57] local.INFO: Extracted packet for processing {"connection_id":148587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:36:57] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192822528001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785909764000,"timestamp_ms":1785909764000,"timestamp_seconds":1785909764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0845fa0"} 
[2026-08-05 11:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192822528001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192822528001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:36:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:36:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192822528001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":148587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:36:57] local.INFO: GPS data processed {"connection_id":148587,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:36:57] local.INFO: Acknowledgment sent {"connection_id":148587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:37:15] local.INFO: TCP Data received {"connection_id":150995,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:37:15] local.INFO: Processing buffer {"connection_id":150995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:37:15] local.INFO: IMEI packet received {"connection_id":150995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":150995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:37:20] local.INFO: TCP Data received {"connection_id":150995,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:37:20] local.INFO: Processing buffer {"connection_id":150995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:37:20] local.INFO: IMEI packet received {"connection_id":150995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":150995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:37:21] local.INFO: TCP Data received {"connection_id":150995,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:37:21] local.INFO: Processing buffer {"connection_id":150995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:37:21] local.INFO: Packet analysis {"connection_id":150995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:37:21] local.INFO: Extracted packet for processing {"connection_id":150995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192822528001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785909764000,"timestamp_ms":1785909764000,"timestamp_seconds":1785909764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0845fa0"} 
[2026-08-05 11:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:37: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-08-05 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:37: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-08-05 11: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-08-05 11:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192822528001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192822528001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:37:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192822528001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":150995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:37:21] local.INFO: GPS data processed {"connection_id":150995,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:37:21] local.INFO: Acknowledgment sent {"connection_id":150995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:37:40] local.INFO: TCP Data received {"connection_id":149588,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:37:40] local.INFO: Processing buffer {"connection_id":149588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:37:40] local.INFO: IMEI packet received {"connection_id":149588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":149588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:37:45] local.INFO: TCP Data received {"connection_id":149588,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:37:45] local.INFO: Processing buffer {"connection_id":149588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:37:45] local.INFO: IMEI packet received {"connection_id":149588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":149588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:37:46] local.INFO: TCP Data received {"connection_id":149588,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0858498012d1823400721b868004a001620..."} 
[2026-08-05 11:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0858498012d1823400721b868004a001620..."} 
[2026-08-05 11:37:46] local.INFO: Processing buffer {"connection_id":149588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0858498012d1823400721b868004a001620..."} 
[2026-08-05 11:37:46] local.INFO: Packet analysis {"connection_id":149588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd085"} 
[2026-08-05 11:37:46] local.INFO: Extracted packet for processing {"connection_id":149588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd085"} 
[2026-08-05 11:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":32,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192913408001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785909839000,"timestamp_ms":1785909839000,"timestamp_seconds":1785909839,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0858498"} 
[2026-08-05 11:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-05 11:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192913408001,"66":12841,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192913408001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:37:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192913408001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":149588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:37:46] local.INFO: GPS data processed {"connection_id":149588,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:37:46] local.INFO: Acknowledgment sent {"connection_id":149588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:37:52] local.INFO: TCP Data received {"connection_id":150995,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:37:52] local.INFO: Processing buffer {"connection_id":150995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:37:52] local.INFO: Packet analysis {"connection_id":150995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:37:52] local.INFO: Extracted packet for processing {"connection_id":150995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192822528001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785909764000,"timestamp_ms":1785909764000,"timestamp_seconds":1785909764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0845fa0"} 
[2026-08-05 11:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192822528001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192822528001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:37:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192822528001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":150995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:37:52] local.INFO: GPS data processed {"connection_id":150995,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:37:52] local.INFO: Acknowledgment sent {"connection_id":150995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:38:15] local.INFO: TCP Data received {"connection_id":149589,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:38:15] local.INFO: Processing buffer {"connection_id":149589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:38:15] local.INFO: IMEI packet received {"connection_id":149589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":149589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:38:17] local.INFO: TCP Data received {"connection_id":149588,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd085d6a0012d1823400721b868004a001621..."} 
[2026-08-05 11:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd085d6a0012d1823400721b868004a001621..."} 
[2026-08-05 11:38:17] local.INFO: Processing buffer {"connection_id":149588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd085d6a0012d1823400721b868004a001621..."} 
[2026-08-05 11:38:17] local.INFO: Packet analysis {"connection_id":149588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd085"} 
[2026-08-05 11:38:17] local.INFO: Extracted packet for processing {"connection_id":149588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd085"} 
[2026-08-05 11:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":33,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192918784001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785909860000,"timestamp_ms":1785909860000,"timestamp_seconds":1785909860,"priority":1,"record_length":96,"hex_timestamp":"0000019fd085d6a0"} 
[2026-08-05 11:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-05 11:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192918784001,"66":12863,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192918784001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:38:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192918784001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":149588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:38:17] local.INFO: GPS data processed {"connection_id":149588,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:38:17] local.INFO: Acknowledgment sent {"connection_id":149588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:38:20] local.INFO: TCP Data received {"connection_id":149589,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:38:20] local.INFO: Processing buffer {"connection_id":149589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:38:20] local.INFO: IMEI packet received {"connection_id":149589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":149589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:38:21] local.INFO: TCP Data received {"connection_id":149589,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:38:21] local.INFO: Processing buffer {"connection_id":149589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0845fa0012d7f92c005afd9e8000000e925..."} 
[2026-08-05 11:38:21] local.INFO: Packet analysis {"connection_id":149589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:38:21] local.INFO: Extracted packet for processing {"connection_id":149589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd084"} 
[2026-08-05 11:38:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192822528001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785909764000,"timestamp_ms":1785909764000,"timestamp_seconds":1785909764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0845fa0"} 
[2026-08-05 11:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:38: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-08-05 11:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:38: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-08-05 11:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192822528001,"66":25756,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192822528001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:38:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192822528001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":149589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:38:21] local.INFO: GPS data processed {"connection_id":149589,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:38:21] local.INFO: Acknowledgment sent {"connection_id":149589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:38:40] local.INFO: TCP Data received {"connection_id":149590,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:38:40] local.INFO: Processing buffer {"connection_id":149590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:38:40] local.INFO: IMEI packet received {"connection_id":149590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":149590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:38:45] local.INFO: TCP Data received {"connection_id":149590,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:38:45] local.INFO: Processing buffer {"connection_id":149590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:38:45] local.INFO: IMEI packet received {"connection_id":149590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":149590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:38:46] local.INFO: TCP Data received {"connection_id":149590,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08628a8012d1823400721b868004a001620..."} 
[2026-08-05 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08628a8012d1823400721b868004a001620..."} 
[2026-08-05 11:38:46] local.INFO: Processing buffer {"connection_id":149590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08628a8012d1823400721b868004a001620..."} 
[2026-08-05 11:38:46] local.INFO: Packet analysis {"connection_id":149590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd086"} 
[2026-08-05 11:38:46] local.INFO: Extracted packet for processing {"connection_id":149590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd086"} 
[2026-08-05 11:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":32,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192924160001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785909881000,"timestamp_ms":1785909881000,"timestamp_seconds":1785909881,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08628a8"} 
[2026-08-05 11:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 11:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192924160001,"66":12841,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192924160001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:38:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192924160001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":149590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:38:46] local.INFO: GPS data processed {"connection_id":149590,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:38:46] local.INFO: Acknowledgment sent {"connection_id":149590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:38:52] local.INFO: TCP Data received {"connection_id":149589,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:38:52] local.INFO: Processing buffer {"connection_id":149589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:38:52] local.INFO: Packet analysis {"connection_id":149589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:38:52] local.INFO: Extracted packet for processing {"connection_id":149589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192899584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785910065000,"timestamp_ms":1785910065000,"timestamp_seconds":1785910065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd088f768"} 
[2026-08-05 11:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192899584001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192899584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:38:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192899584001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":149589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:38:52] local.INFO: GPS data processed {"connection_id":149589,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:38:52] local.INFO: Acknowledgment sent {"connection_id":149589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:39:15] local.INFO: TCP Data received {"connection_id":150996,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:39:15] local.INFO: Processing buffer {"connection_id":150996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:39:15] local.INFO: IMEI packet received {"connection_id":150996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":150996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:39:17] local.INFO: TCP Data received {"connection_id":149590,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0867ab0012d1823400721b868004a001624..."} 
[2026-08-05 11:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0867ab0012d1823400721b868004a001624..."} 
[2026-08-05 11:39:17] local.INFO: Processing buffer {"connection_id":149590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0867ab0012d1823400721b868004a001624..."} 
[2026-08-05 11:39:17] local.INFO: Packet analysis {"connection_id":149590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd086"} 
[2026-08-05 11:39:17] local.INFO: Extracted packet for processing {"connection_id":149590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd086"} 
[2026-08-05 11:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":36,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192929536001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785909902000,"timestamp_ms":1785909902000,"timestamp_seconds":1785909902,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0867ab0"} 
[2026-08-05 11:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-05 11:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192929536001,"66":12841,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192929536001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:39:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192929536001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":149590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:39:17] local.INFO: GPS data processed {"connection_id":149590,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:39:17] local.INFO: Acknowledgment sent {"connection_id":149590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:39:20] local.INFO: TCP Data received {"connection_id":150996,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:39:20] local.INFO: Processing buffer {"connection_id":150996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:39:20] local.INFO: IMEI packet received {"connection_id":150996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":150996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:39:21] local.INFO: TCP Data received {"connection_id":150996,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:39:21] local.INFO: Processing buffer {"connection_id":150996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:39:21] local.INFO: Packet analysis {"connection_id":150996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:39:21] local.INFO: Extracted packet for processing {"connection_id":150996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192899584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910065000,"timestamp_ms":1785910065000,"timestamp_seconds":1785910065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd088f768"} 
[2026-08-05 11:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:39: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-08-05 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:39: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-08-05 11:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192899584001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192899584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:39:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192899584001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":150996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:39:21] local.INFO: GPS data processed {"connection_id":150996,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:39:21] local.INFO: Acknowledgment sent {"connection_id":150996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:39:40] local.INFO: TCP Data received {"connection_id":148371,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:39:40] local.INFO: Processing buffer {"connection_id":148371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:39:40] local.INFO: IMEI packet received {"connection_id":148371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":148371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:39:45] local.INFO: TCP Data received {"connection_id":148371,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:39:45] local.INFO: Processing buffer {"connection_id":148371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:39:45] local.INFO: IMEI packet received {"connection_id":148371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":148371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:39:46] local.INFO: TCP Data received {"connection_id":148371,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd086ccb8012d1823400721b868004a001624..."} 
[2026-08-05 11:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd086ccb8012d1823400721b868004a001624..."} 
[2026-08-05 11:39:46] local.INFO: Processing buffer {"connection_id":148371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd086ccb8012d1823400721b868004a001624..."} 
[2026-08-05 11:39:46] local.INFO: Packet analysis {"connection_id":148371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd086"} 
[2026-08-05 11:39:46] local.INFO: Extracted packet for processing {"connection_id":148371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd086"} 
[2026-08-05 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":36,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192934912001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785909923000,"timestamp_ms":1785909923000,"timestamp_seconds":1785909923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd086ccb8"} 
[2026-08-05 11:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-05 11:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192934912001,"66":12798,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192934912001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:39:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192934912001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":148371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:39:46] local.INFO: GPS data processed {"connection_id":148371,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:39:46] local.INFO: Acknowledgment sent {"connection_id":148371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:39:53] local.INFO: TCP Data received {"connection_id":150996,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:39:53] local.INFO: Processing buffer {"connection_id":150996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:39:53] local.INFO: Packet analysis {"connection_id":150996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:39:53] local.INFO: Extracted packet for processing {"connection_id":150996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:39:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192899584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785910065000,"timestamp_ms":1785910065000,"timestamp_seconds":1785910065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd088f768"} 
[2026-08-05 11:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192899584001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192899584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:39:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:39:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192899584001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":150996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:39:53] local.INFO: GPS data processed {"connection_id":150996,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:39:53] local.INFO: Acknowledgment sent {"connection_id":150996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:40:15] local.INFO: TCP Data received {"connection_id":150997,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:40:15] local.INFO: Processing buffer {"connection_id":150997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:40:15] local.INFO: IMEI packet received {"connection_id":150997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":150997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:40:17] local.INFO: TCP Data received {"connection_id":148371,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0871ec0012d1823400721b868004a001623..."} 
[2026-08-05 11:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0871ec0012d1823400721b868004a001623..."} 
[2026-08-05 11:40:17] local.INFO: Processing buffer {"connection_id":148371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0871ec0012d1823400721b868004a001623..."} 
[2026-08-05 11:40:17] local.INFO: Packet analysis {"connection_id":148371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd087"} 
[2026-08-05 11:40:17] local.INFO: Extracted packet for processing {"connection_id":148371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd087"} 
[2026-08-05 11:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":35,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192940288001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785909944000,"timestamp_ms":1785909944000,"timestamp_seconds":1785909944,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0871ec0"} 
[2026-08-05 11:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 11:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192940288001,"66":12809,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192940288001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:40:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:40:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192940288001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":148371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:40:17] local.INFO: GPS data processed {"connection_id":148371,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:40:17] local.INFO: Acknowledgment sent {"connection_id":148371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:40:20] local.INFO: TCP Data received {"connection_id":150997,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:40:20] local.INFO: Processing buffer {"connection_id":150997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:40:20] local.INFO: IMEI packet received {"connection_id":150997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":150997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:40:21] local.INFO: TCP Data received {"connection_id":150997,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:40:21] local.INFO: Processing buffer {"connection_id":150997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:40:21] local.INFO: Packet analysis {"connection_id":150997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:40:21] local.INFO: Extracted packet for processing {"connection_id":150997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:40:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192899584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910065000,"timestamp_ms":1785910065000,"timestamp_seconds":1785910065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd088f768"} 
[2026-08-05 11:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:40: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-08-05 11:40: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-08-05 11:40: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-08-05 11:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192899584001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192899584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:40:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192899584001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":150997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:40:21] local.INFO: GPS data processed {"connection_id":150997,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:40:21] local.INFO: Acknowledgment sent {"connection_id":150997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:40:40] local.INFO: TCP Data received {"connection_id":149591,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:40:40] local.INFO: Processing buffer {"connection_id":149591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:40:40] local.INFO: IMEI packet received {"connection_id":149591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":149591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:40:45] local.INFO: TCP Data received {"connection_id":149591,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:40:45] local.INFO: Processing buffer {"connection_id":149591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:40:45] local.INFO: IMEI packet received {"connection_id":149591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":149591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:40:46] local.INFO: TCP Data received {"connection_id":149591,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08770c8012d1823400721b868004a001624..."} 
[2026-08-05 11:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08770c8012d1823400721b868004a001624..."} 
[2026-08-05 11:40:46] local.INFO: Processing buffer {"connection_id":149591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08770c8012d1823400721b868004a001624..."} 
[2026-08-05 11:40:46] local.INFO: Packet analysis {"connection_id":149591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd087"} 
[2026-08-05 11:40:46] local.INFO: Extracted packet for processing {"connection_id":149591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd087"} 
[2026-08-05 11:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":36,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192945664001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785909965000,"timestamp_ms":1785909965000,"timestamp_seconds":1785909965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08770c8"} 
[2026-08-05 11:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3498390160,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":208,"raw_value":-8871941727286975680,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3093823562,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587212466933331,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2942304256,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429806349417190946,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,175,159,204,45,64,184,74,36,10,66,122,40,1,240,41,227,208,33,4,113,205,132,35,104,32,239,50,2,37,7,164,96],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 11:40:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332286298386333696,"timestamp_seconds":5332286298386334.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 11:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192945664001,"66":12776,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192945664001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:40:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192945664001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":149591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:40:46] local.INFO: GPS data processed {"connection_id":149591,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:40:46] local.INFO: Acknowledgment sent {"connection_id":149591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:40:52] local.INFO: TCP Data received {"connection_id":150997,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:40:52] local.INFO: Processing buffer {"connection_id":150997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:40:52] local.INFO: Packet analysis {"connection_id":150997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:40:52] local.INFO: Extracted packet for processing {"connection_id":150997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:40:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192899584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785910065000,"timestamp_ms":1785910065000,"timestamp_seconds":1785910065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd088f768"} 
[2026-08-05 11:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192899584001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192899584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:40:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192899584001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":150997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:40:52] local.INFO: GPS data processed {"connection_id":150997,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:40:52] local.INFO: Acknowledgment sent {"connection_id":150997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:41:15] local.INFO: TCP Data received {"connection_id":149592,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:41:15] local.INFO: Processing buffer {"connection_id":149592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:41:15] local.INFO: IMEI packet received {"connection_id":149592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":149592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:41:17] local.INFO: TCP Data received {"connection_id":149591,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08af720012d1823400721b868004a001627..."} 
[2026-08-05 11:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08af720012d1823400721b868004a001627..."} 
[2026-08-05 11:41:17] local.INFO: Processing buffer {"connection_id":149591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08af720012d1823400721b868004a001627..."} 
[2026-08-05 11:41:17] local.INFO: Packet analysis {"connection_id":149591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08a"} 
[2026-08-05 11:41:17] local.INFO: Extracted packet for processing {"connection_id":149591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08a"} 
[2026-08-05 11:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193004800001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785910196000,"timestamp_ms":1785910196000,"timestamp_seconds":1785910196,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08af720"} 
[2026-08-05 11:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-05 11:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193004800001,"66":12667,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193004800001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:41:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193004800001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":149591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:41:17] local.INFO: GPS data processed {"connection_id":149591,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:41:17] local.INFO: Acknowledgment sent {"connection_id":149591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:41:20] local.INFO: TCP Data received {"connection_id":149592,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:41:20] local.INFO: Processing buffer {"connection_id":149592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:41:20] local.INFO: IMEI packet received {"connection_id":149592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":149592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:41:21] local.INFO: TCP Data received {"connection_id":149592,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:41:21] local.INFO: Processing buffer {"connection_id":149592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:41:21] local.INFO: Packet analysis {"connection_id":149592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:41:21] local.INFO: Extracted packet for processing {"connection_id":149592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:41:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192899584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910065000,"timestamp_ms":1785910065000,"timestamp_seconds":1785910065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd088f768"} 
[2026-08-05 11:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:41: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-08-05 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:41: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-08-05 11: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-08-05 11:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192899584001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192899584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:41:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192899584001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":149592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:41:21] local.INFO: GPS data processed {"connection_id":149592,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:41:21] local.INFO: Acknowledgment sent {"connection_id":149592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:41:45] local.INFO: TCP Data received {"connection_id":149593,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:41:45] local.INFO: Processing buffer {"connection_id":149593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:41:45] local.INFO: IMEI packet received {"connection_id":149593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":149593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:41:50] local.INFO: TCP Data received {"connection_id":149593,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:41:50] local.INFO: Processing buffer {"connection_id":149593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:41:50] local.INFO: IMEI packet received {"connection_id":149593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":149593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:41:51] local.INFO: TCP Data received {"connection_id":149593,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08b4928012d1823400721b868004a001627..."} 
[2026-08-05 11:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08b4928012d1823400721b868004a001627..."} 
[2026-08-05 11:41:51] local.INFO: Processing buffer {"connection_id":149593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08b4928012d1823400721b868004a001627..."} 
[2026-08-05 11:41:51] local.INFO: Packet analysis {"connection_id":149593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08b"} 
[2026-08-05 11:41:51] local.INFO: Extracted packet for processing {"connection_id":149593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08b"} 
[2026-08-05 11:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193010176001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785910217000,"timestamp_ms":1785910217000,"timestamp_seconds":1785910217,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08b4928"} 
[2026-08-05 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-08-05 11:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 11:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193010176001,"66":12613,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193010176001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:41:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193010176001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":149593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:41:51] local.INFO: GPS data processed {"connection_id":149593,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:41:51] local.INFO: Acknowledgment sent {"connection_id":149593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:41:52] local.INFO: TCP Data received {"connection_id":149592,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:41:52] local.INFO: Processing buffer {"connection_id":149592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:41:52] local.INFO: Packet analysis {"connection_id":149592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:41:52] local.INFO: Extracted packet for processing {"connection_id":149592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:41:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192899584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785910065000,"timestamp_ms":1785910065000,"timestamp_seconds":1785910065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd088f768"} 
[2026-08-05 11:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192899584001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192899584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:41:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:41:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192899584001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":149592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:41:52] local.INFO: GPS data processed {"connection_id":149592,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:41:52] local.INFO: Acknowledgment sent {"connection_id":149592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:41:55] local.INFO: TCP Data received {"connection_id":149593,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08b9b30012d1823400721b868004a001625..."} 
[2026-08-05 11:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08b9b30012d1823400721b868004a001625..."} 
[2026-08-05 11:41:55] local.INFO: Processing buffer {"connection_id":149593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08b9b30012d1823400721b868004a001625..."} 
[2026-08-05 11:41:55] local.INFO: Packet analysis {"connection_id":149593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08b"} 
[2026-08-05 11:41:55] local.INFO: Extracted packet for processing {"connection_id":149593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08b"} 
[2026-08-05 11:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193015552001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785910238000,"timestamp_ms":1785910238000,"timestamp_seconds":1785910238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08b9b30"} 
[2026-08-05 11:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 11:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193015552001,"66":12613,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193015552001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:41:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193015552001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":149593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:41:55] local.INFO: GPS data processed {"connection_id":149593,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:41:55] local.INFO: Acknowledgment sent {"connection_id":149593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:42:16] local.INFO: TCP Data received {"connection_id":148589,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:42:16] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:42:16] local.INFO: IMEI packet received {"connection_id":148589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":148589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:42:20] local.INFO: TCP Data received {"connection_id":148589,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:42:20] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:42:20] local.INFO: IMEI packet received {"connection_id":148589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":148589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:42:26] local.INFO: TCP Data received {"connection_id":148589,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:42:26] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:42:26] local.INFO: Packet analysis {"connection_id":148589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:42:26] local.INFO: Extracted packet for processing {"connection_id":148589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192899584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785910065000,"timestamp_ms":1785910065000,"timestamp_seconds":1785910065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd088f768"} 
[2026-08-05 11:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192899584001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192899584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:42:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192899584001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":148589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:42:26] local.INFO: GPS data processed {"connection_id":148589,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:42:26] local.INFO: Acknowledgment sent {"connection_id":148589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:42:38] local.INFO: TCP Data received {"connection_id":148372,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:42:38] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:42:38] local.INFO: IMEI packet received {"connection_id":148372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":148372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:42:40] local.INFO: TCP Data received {"connection_id":148372,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:42:40] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:42:40] local.INFO: IMEI packet received {"connection_id":148372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":148372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:42:45] local.INFO: TCP Data received {"connection_id":148372,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:42:45] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:42:45] local.INFO: IMEI packet received {"connection_id":148372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":148372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:42:46] local.INFO: TCP Data received {"connection_id":148372,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08bed38012d1823400721b868004a001626..."} 
[2026-08-05 11:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08bed38012d1823400721b868004a001626..."} 
[2026-08-05 11:42:46] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08bed38012d1823400721b868004a001626..."} 
[2026-08-05 11:42:46] local.INFO: Packet analysis {"connection_id":148372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08b"} 
[2026-08-05 11:42:46] local.INFO: Extracted packet for processing {"connection_id":148372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08b"} 
[2026-08-05 11:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":38,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193020928001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785910259000,"timestamp_ms":1785910259000,"timestamp_seconds":1785910259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08bed38"} 
[2026-08-05 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-08-05 11:42: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-08-05 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 11:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193020928001,"66":12645,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193020928001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:42:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193020928001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":148372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:42:46] local.INFO: GPS data processed {"connection_id":148372,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:42:46] local.INFO: Acknowledgment sent {"connection_id":148372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:42:50] local.INFO: TCP Data received {"connection_id":148372,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08c3f40012d1823400721b868004a001625..."} 
[2026-08-05 11:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08c3f40012d1823400721b868004a001625..."} 
[2026-08-05 11:42:50] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08c3f40012d1823400721b868004a001625..."} 
[2026-08-05 11:42:50] local.INFO: Packet analysis {"connection_id":148372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08c"} 
[2026-08-05 11:42:50] local.INFO: Extracted packet for processing {"connection_id":148372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08c"} 
[2026-08-05 11:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193026304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785910280000,"timestamp_ms":1785910280000,"timestamp_seconds":1785910280,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08c3f40"} 
[2026-08-05 11:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-05 11:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193026304001,"66":13993,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193026304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:42:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193026304001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":148372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:42:50] local.INFO: GPS data processed {"connection_id":148372,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:42:50] local.INFO: Acknowledgment sent {"connection_id":148372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:43:00] local.INFO: TCP Data received {"connection_id":148589,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:43:00] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:43:00] local.INFO: Packet analysis {"connection_id":148589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:43:00] local.INFO: Extracted packet for processing {"connection_id":148589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192899584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785910065000,"timestamp_ms":1785910065000,"timestamp_seconds":1785910065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd088f768"} 
[2026-08-05 11:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192899584001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192899584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:43:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192899584001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":148589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:43:00] local.INFO: GPS data processed {"connection_id":148589,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:43:00] local.INFO: Acknowledgment sent {"connection_id":148589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:43:15] local.INFO: TCP Data received {"connection_id":148373,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:43:15] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:43:15] local.INFO: IMEI packet received {"connection_id":148373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":148373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:43:20] local.INFO: TCP Data received {"connection_id":148373,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:43:20] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:43:20] local.INFO: IMEI packet received {"connection_id":148373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":148373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:43:21] local.INFO: TCP Data received {"connection_id":148372,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08c9148012d1823400721b868004a001626..."} 
[2026-08-05 11:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08c9148012d1823400721b868004a001626..."} 
[2026-08-05 11:43:21] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08c9148012d1823400721b868004a001626..."} 
[2026-08-05 11:43:21] local.INFO: Packet analysis {"connection_id":148372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08c"} 
[2026-08-05 11:43:21] local.INFO: Extracted packet for processing {"connection_id":148372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08c"} 
[2026-08-05 11:43:21] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650408,"longitude_deg":75.6556608,"latitude_deg":11.9650408,"altitude":74,"angle":22,"satellites":38,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-05 11:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193031680001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607400990015488,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910301000,"timestamp_ms":1785910301000,"timestamp_seconds":1785910301,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08c9148"} 
[2026-08-05 11:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 11:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193031680001,"66":12537,"105":206,"83":41984,"24":0,"16":10607400990015488,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193031680001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:43:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:43:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607400990015488,"km_value":10607400990015.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193031680001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":148372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:43:21] local.INFO: GPS data processed {"connection_id":148372,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:43:21] local.INFO: Acknowledgment sent {"connection_id":148372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:43:21] local.INFO: TCP Data received {"connection_id":148373,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:43:21] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd088f768012d7f92c005afd9e8000000e928..."} 
[2026-08-05 11:43:21] local.INFO: Packet analysis {"connection_id":148373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:43:21] local.INFO: Extracted packet for processing {"connection_id":148373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd088"} 
[2026-08-05 11:43:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192899584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910065000,"timestamp_ms":1785910065000,"timestamp_seconds":1785910065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd088f768"} 
[2026-08-05 11:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:43: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-08-05 11:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 11:43: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-08-05 11:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192899584001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192899584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:43:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192899584001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":148373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:43:21] local.INFO: GPS data processed {"connection_id":148373,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:43:21] local.INFO: Acknowledgment sent {"connection_id":148373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:43:40] local.INFO: TCP Data received {"connection_id":149594,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:43:40] local.INFO: Processing buffer {"connection_id":149594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:43:40] local.INFO: IMEI packet received {"connection_id":149594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":149594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:43:41] local.INFO: TCP Data received {"connection_id":149594,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:43:41] local.INFO: Processing buffer {"connection_id":149594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:43:41] local.INFO: IMEI packet received {"connection_id":149594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":149594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:43:45] local.INFO: TCP Data received {"connection_id":149594,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:43:45] local.INFO: Processing buffer {"connection_id":149594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:43:45] local.INFO: IMEI packet received {"connection_id":149594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":149594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:43:46] local.INFO: TCP Data received {"connection_id":149594,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08cc7f8012d1823400721b758004c00bb27..."} 
[2026-08-05 11:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08cc7f8012d1823400721b758004c00bb27..."} 
[2026-08-05 11:43:46] local.INFO: Processing buffer {"connection_id":149594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08cc7f8012d1823400721b758004c00bb27..."} 
[2026-08-05 11:43:46] local.INFO: Packet analysis {"connection_id":149594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08c"} 
[2026-08-05 11:43:46] local.INFO: Extracted packet for processing {"connection_id":149594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08c"} 
[2026-08-05 11:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650136,"longitude_deg":75.6556608,"latitude_deg":11.9650136,"altitude":76,"angle":187,"satellites":39,"speed":4,"hex_longitude":"2d182340","hex_latitude":"0721b758","is_valid_coordinates":true} 
[2026-08-05 11:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193037056001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607413874917376,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469825536,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785910315000,"timestamp_ms":1785910315000,"timestamp_seconds":1785910315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08cc7f8"} 
[2026-08-05 11:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 11:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193037056001,"66":12319,"105":206,"83":41984,"24":4,"16":10607413874917376,"45":1739304280469825536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193037056001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:43:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607413874917376,"km_value":10607413874917.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469825536,"description":"Unknown IO ID 45"} 
[2026-08-05 11:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193037056001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1739304280469825536}} 
[2026-08-05 11:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":149594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:43:46] local.INFO: GPS data processed {"connection_id":149594,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:43:46] local.INFO: Acknowledgment sent {"connection_id":149594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:43:53] local.INFO: TCP Data received {"connection_id":148373,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:43:53] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:43:53] local.INFO: Packet analysis {"connection_id":148373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:43:53] local.INFO: Extracted packet for processing {"connection_id":148373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:43:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192976640001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785910366000,"timestamp_ms":1785910366000,"timestamp_seconds":1785910366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d8f30"} 
[2026-08-05 11:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192976640001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192976640001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:43:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:43:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192976640001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":148373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:43:53] local.INFO: GPS data processed {"connection_id":148373,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:43:53] local.INFO: Acknowledgment sent {"connection_id":148373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:44:15] local.INFO: TCP Data received {"connection_id":149595,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:44:15] local.INFO: Processing buffer {"connection_id":149595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:44:15] local.INFO: IMEI packet received {"connection_id":149595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":149595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:44:17] local.INFO: TCP Data received {"connection_id":149594,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08ccfc8012d1823000721b620004c00ca26..."} 
[2026-08-05 11:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08ccfc8012d1823000721b620004c00ca26..."} 
[2026-08-05 11:44:17] local.INFO: Processing buffer {"connection_id":149594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08ccfc8012d1823000721b620004c00ca26..."} 
[2026-08-05 11:44:17] local.INFO: Packet analysis {"connection_id":149594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08c"} 
[2026-08-05 11:44:17] local.INFO: Extracted packet for processing {"connection_id":149594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08c"} 
[2026-08-05 11:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649824,"longitude_deg":75.6556544,"latitude_deg":11.9649824,"altitude":76,"angle":202,"satellites":38,"speed":7,"hex_longitude":"2d182300","hex_latitude":"0721b620","is_valid_coordinates":true} 
[2026-08-05 11:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193040640001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607431054786560,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469755904,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785910317000,"timestamp_ms":1785910317000,"timestamp_seconds":1785910317,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08ccfc8"} 
[2026-08-05 11:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 11:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193040640001,"66":12385,"105":206,"83":41984,"24":7,"16":10607431054786560,"45":1739304280469755904},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193040640001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:44:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607431054786560,"km_value":10607431054786.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469755904,"description":"Unknown IO ID 45"} 
[2026-08-05 11:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193040640001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739304280469755904}} 
[2026-08-05 11:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":149594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:44:17] local.INFO: GPS data processed {"connection_id":149594,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:44:17] local.INFO: Acknowledgment sent {"connection_id":149594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:44:20] local.INFO: TCP Data received {"connection_id":149595,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:44:20] local.INFO: Processing buffer {"connection_id":149595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:44:20] local.INFO: IMEI packet received {"connection_id":149595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":149595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:44:21] local.INFO: TCP Data received {"connection_id":149595,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:44:21] local.INFO: Processing buffer {"connection_id":149595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:44:21] local.INFO: Packet analysis {"connection_id":149595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:44:21] local.INFO: Extracted packet for processing {"connection_id":149595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192976640001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910366000,"timestamp_ms":1785910366000,"timestamp_seconds":1785910366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d8f30"} 
[2026-08-05 11:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:44: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-08-05 11:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:44: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-08-05 11:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192976640001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192976640001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:44:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192976640001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":149595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:44:21] local.INFO: GPS data processed {"connection_id":149595,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:44:21] local.INFO: Acknowledgment sent {"connection_id":149595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:44:40] local.INFO: TCP Data received {"connection_id":148590,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:44:40] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:44:40] local.INFO: IMEI packet received {"connection_id":148590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":148590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:44:44] local.INFO: TCP Data received {"connection_id":148590,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:44:44] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:44:44] local.INFO: IMEI packet received {"connection_id":148590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":148590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:44:45] local.INFO: TCP Data received {"connection_id":148590,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08cdb80012d1822400721b448004c00d628..."} 
[2026-08-05 11:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08cdb80012d1822400721b448004c00d628..."} 
[2026-08-05 11:44:45] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08cdb80012d1822400721b448004c00d628..."} 
[2026-08-05 11:44:45] local.INFO: Packet analysis {"connection_id":148590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08c"} 
[2026-08-05 11:44:45] local.INFO: Extracted packet for processing {"connection_id":148590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08c"} 
[2026-08-05 11:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649352,"longitude_deg":75.6556352,"latitude_deg":11.9649352,"altitude":76,"angle":214,"satellites":40,"speed":6,"hex_longitude":"2d182240","hex_latitude":"0721b448","is_valid_coordinates":true} 
[2026-08-05 11:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193041152001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607456824590336,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725498368,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785910320000,"timestamp_ms":1785910320000,"timestamp_seconds":1785910320,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08cdb80"} 
[2026-08-05 11:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 11:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193041152001,"66":12374,"105":206,"83":41984,"24":6,"16":10607456824590336,"45":1739233911725498368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193041152001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:44:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607456824590336,"km_value":10607456824590.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725498368,"description":"Unknown IO ID 45"} 
[2026-08-05 11:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193041152001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739233911725498368}} 
[2026-08-05 11:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":148590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:44:45] local.INFO: GPS data processed {"connection_id":148590,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:44:45] local.INFO: Acknowledgment sent {"connection_id":148590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:44:52] local.INFO: TCP Data received {"connection_id":149595,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:44:52] local.INFO: Processing buffer {"connection_id":149595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:44:52] local.INFO: Packet analysis {"connection_id":149595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:44:52] local.INFO: Extracted packet for processing {"connection_id":149595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:44:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192976640001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785910366000,"timestamp_ms":1785910366000,"timestamp_seconds":1785910366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d8f30"} 
[2026-08-05 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-08-05 11:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192976640001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192976640001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:44:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192976640001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":149595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:44:52] local.INFO: GPS data processed {"connection_id":149595,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:44:52] local.INFO: Acknowledgment sent {"connection_id":149595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:45:15] local.INFO: TCP Data received {"connection_id":150998,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:45:15] local.INFO: Processing buffer {"connection_id":150998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:45:15] local.INFO: IMEI packet received {"connection_id":150998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":150998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:45:16] local.INFO: TCP Data received {"connection_id":148590,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d2d88012d1821400721b350004c00dc27..."} 
[2026-08-05 11:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d2d88012d1821400721b350004c00dc27..."} 
[2026-08-05 11:45:16] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d2d88012d1821400721b350004c00dc27..."} 
[2026-08-05 11:45:16] local.INFO: Packet analysis {"connection_id":148590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:45:16] local.INFO: Extracted packet for processing {"connection_id":148590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193041920001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492844544,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785910341000,"timestamp_ms":1785910341000,"timestamp_seconds":1785910341,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d2d88"} 
[2026-08-05 11:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 11:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193041920001,"66":12461,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1739022805492844544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193041920001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:45:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:45:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492844544,"description":"Unknown IO ID 45"} 
[2026-08-05 11:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193041920001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492844544}} 
[2026-08-05 11:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":148590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:45:16] local.INFO: GPS data processed {"connection_id":148590,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:45:16] local.INFO: Acknowledgment sent {"connection_id":148590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:45:20] local.INFO: TCP Data received {"connection_id":150998,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:45:21] local.INFO: Processing buffer {"connection_id":150998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:45:21] local.INFO: IMEI packet received {"connection_id":150998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":150998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:45:22] local.INFO: TCP Data received {"connection_id":150998,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:45:22] local.INFO: Processing buffer {"connection_id":150998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:45:22] local.INFO: Packet analysis {"connection_id":150998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:45:22] local.INFO: Extracted packet for processing {"connection_id":150998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:45:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192976640001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785910366000,"timestamp_ms":1785910366000,"timestamp_seconds":1785910366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d8f30"} 
[2026-08-05 11:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:45: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-08-05 11:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192976640001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192976640001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:45:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:45:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192976640001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":150998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:45:22] local.INFO: GPS data processed {"connection_id":150998,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:45:22] local.INFO: Acknowledgment sent {"connection_id":150998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:45:40] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:45:40] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:45:40] local.INFO: IMEI packet received {"connection_id":148591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":148591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:45:45] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:45:45] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:45:45] local.INFO: IMEI packet received {"connection_id":148591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":148591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:45:46] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d7f90012d1821400721b350004c00dc25..."} 
[2026-08-05 11:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d7f90012d1821400721b350004c00dc25..."} 
[2026-08-05 11:45:46] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d7f90012d1821400721b350004c00dc25..."} 
[2026-08-05 11:45:46] local.INFO: Packet analysis {"connection_id":148591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:45:46] local.INFO: Extracted packet for processing {"connection_id":148591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":37,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193047296001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785910362000,"timestamp_ms":1785910362000,"timestamp_seconds":1785910362,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d7f90"} 
[2026-08-05 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-08-05 11:45: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-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 11:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193047296001,"66":12406,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193047296001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:45:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193047296001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":148591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:45:46] local.INFO: GPS data processed {"connection_id":148591,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:45:46] local.INFO: Acknowledgment sent {"connection_id":148591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:45:53] local.INFO: TCP Data received {"connection_id":150998,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:45:53] local.INFO: Processing buffer {"connection_id":150998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:45:53] local.INFO: Packet analysis {"connection_id":150998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:45:53] local.INFO: Extracted packet for processing {"connection_id":150998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:45:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192976640001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785910366000,"timestamp_ms":1785910366000,"timestamp_seconds":1785910366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d8f30"} 
[2026-08-05 11:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192976640001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192976640001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:45:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:45:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192976640001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":150998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:45:53] local.INFO: GPS data processed {"connection_id":150998,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:45:53] local.INFO: Acknowledgment sent {"connection_id":150998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:46:16] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:46:16] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:46:16] local.INFO: IMEI packet received {"connection_id":148592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":148592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:46:17] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08dd198012d1821400721b350004c00dc28..."} 
[2026-08-05 11:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08dd198012d1821400721b350004c00dc28..."} 
[2026-08-05 11:46:17] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08dd198012d1821400721b350004c00dc28..."} 
[2026-08-05 11:46:17] local.INFO: Packet analysis {"connection_id":148591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:46:17] local.INFO: Extracted packet for processing {"connection_id":148591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193052672001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785910383000,"timestamp_ms":1785910383000,"timestamp_seconds":1785910383,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08dd198"} 
[2026-08-05 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-08-05 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 11:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193052672001,"66":12461,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193052672001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:46:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193052672001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":148591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:46:17] local.INFO: GPS data processed {"connection_id":148591,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:46:17] local.INFO: Acknowledgment sent {"connection_id":148591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:46:20] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:46:20] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:46:20] local.INFO: IMEI packet received {"connection_id":148592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":148592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:46:22] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:46:22] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:46:22] local.INFO: Packet analysis {"connection_id":148592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:46:22] local.INFO: Extracted packet for processing {"connection_id":148592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:46:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192976640001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785910366000,"timestamp_ms":1785910366000,"timestamp_seconds":1785910366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d8f30"} 
[2026-08-05 11:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:46: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-08-05 11:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192976640001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192976640001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:46:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:46:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192976640001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":148592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:46:22] local.INFO: GPS data processed {"connection_id":148592,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:46:22] local.INFO: Acknowledgment sent {"connection_id":148592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:46:40] local.INFO: TCP Data received {"connection_id":150999,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:46:40] local.INFO: Processing buffer {"connection_id":150999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:46:40] local.INFO: IMEI packet received {"connection_id":150999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":150999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:46:45] local.INFO: TCP Data received {"connection_id":150999,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:46:45] local.INFO: Processing buffer {"connection_id":150999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:46:45] local.INFO: IMEI packet received {"connection_id":150999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":150999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:46:45] local.INFO: TCP Data received {"connection_id":150999,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08e23a0012d1821400721b350004c00dc27..."} 
[2026-08-05 11:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08e23a0012d1821400721b350004c00dc27..."} 
[2026-08-05 11:46:45] local.INFO: Processing buffer {"connection_id":150999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08e23a0012d1821400721b350004c00dc27..."} 
[2026-08-05 11:46:45] local.INFO: Packet analysis {"connection_id":150999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08e"} 
[2026-08-05 11:46:45] local.INFO: Extracted packet for processing {"connection_id":150999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08e"} 
[2026-08-05 11:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193058048001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785910404000,"timestamp_ms":1785910404000,"timestamp_seconds":1785910404,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08e23a0"} 
[2026-08-05 11:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 11:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193058048001,"66":12428,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193058048001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:46:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193058048001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":150999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:46:45] local.INFO: GPS data processed {"connection_id":150999,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:46:45] local.INFO: Acknowledgment sent {"connection_id":150999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:46:53] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:46:53] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:46:53] local.INFO: Packet analysis {"connection_id":148592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:46:53] local.INFO: Extracted packet for processing {"connection_id":148592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:46:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192976640001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785910366000,"timestamp_ms":1785910366000,"timestamp_seconds":1785910366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d8f30"} 
[2026-08-05 11:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192976640001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192976640001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:46:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:46:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192976640001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":148592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:46:53] local.INFO: GPS data processed {"connection_id":148592,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:46:53] local.INFO: Acknowledgment sent {"connection_id":148592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:47:15] local.INFO: TCP Data received {"connection_id":151000,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:47:15] local.INFO: Processing buffer {"connection_id":151000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:47:15] local.INFO: IMEI packet received {"connection_id":151000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":151000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:47:16] local.INFO: TCP Data received {"connection_id":150999,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08e75a8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08e75a8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:47:16] local.INFO: Processing buffer {"connection_id":150999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08e75a8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:47:16] local.INFO: Packet analysis {"connection_id":150999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08e"} 
[2026-08-05 11:47:16] local.INFO: Extracted packet for processing {"connection_id":150999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08e"} 
[2026-08-05 11:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193063424001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785910425000,"timestamp_ms":1785910425000,"timestamp_seconds":1785910425,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08e75a8"} 
[2026-08-05 11:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 11:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193063424001,"66":12406,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193063424001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:47:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193063424001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":150999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:47:17] local.INFO: GPS data processed {"connection_id":150999,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:47:17] local.INFO: Acknowledgment sent {"connection_id":150999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:47:20] local.INFO: TCP Data received {"connection_id":151000,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:47:20] local.INFO: Processing buffer {"connection_id":151000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:47:20] local.INFO: IMEI packet received {"connection_id":151000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":151000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:47:21] local.INFO: TCP Data received {"connection_id":151000,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:47:21] local.INFO: Processing buffer {"connection_id":151000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:47:21] local.INFO: Packet analysis {"connection_id":151000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:47:21] local.INFO: Extracted packet for processing {"connection_id":151000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:47:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192976640001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910366000,"timestamp_ms":1785910366000,"timestamp_seconds":1785910366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d8f30"} 
[2026-08-05 11:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:47: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-08-05 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:47: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-08-05 11:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192976640001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192976640001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:47:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192976640001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":151000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:47:22] local.INFO: GPS data processed {"connection_id":151000,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:47:22] local.INFO: Acknowledgment sent {"connection_id":151000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:47:40] local.INFO: TCP Data received {"connection_id":149596,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:47:40] local.INFO: Processing buffer {"connection_id":149596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:47:40] local.INFO: IMEI packet received {"connection_id":149596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":149596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:47:45] local.INFO: TCP Data received {"connection_id":149596,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:47:45] local.INFO: Processing buffer {"connection_id":149596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:47:45] local.INFO: IMEI packet received {"connection_id":149596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":149596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:47:45] local.INFO: TCP Data received {"connection_id":149596,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08ec7b0012d1821400721b350004c00dc28..."} 
[2026-08-05 11:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08ec7b0012d1821400721b350004c00dc28..."} 
[2026-08-05 11:47:45] local.INFO: Processing buffer {"connection_id":149596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08ec7b0012d1821400721b350004c00dc28..."} 
[2026-08-05 11:47:45] local.INFO: Packet analysis {"connection_id":149596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08e"} 
[2026-08-05 11:47:45] local.INFO: Extracted packet for processing {"connection_id":149596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08e"} 
[2026-08-05 11:47:45] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193068800001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785910446000,"timestamp_ms":1785910446000,"timestamp_seconds":1785910446,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08ec7b0"} 
[2026-08-05 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-08-05 11:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 11:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 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-08-05 11:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193068800001,"66":12406,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193068800001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:47:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:47:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193068800001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":149596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:47:45] local.INFO: GPS data processed {"connection_id":149596,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:47:45] local.INFO: Acknowledgment sent {"connection_id":149596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:47:53] local.INFO: TCP Data received {"connection_id":151000,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:47:53] local.INFO: Processing buffer {"connection_id":151000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:47:53] local.INFO: Packet analysis {"connection_id":151000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:47:53] local.INFO: Extracted packet for processing {"connection_id":151000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:47:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192976640001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785910366000,"timestamp_ms":1785910366000,"timestamp_seconds":1785910366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d8f30"} 
[2026-08-05 11:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192976640001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192976640001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:47:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:47:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192976640001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":151000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:47:53] local.INFO: GPS data processed {"connection_id":151000,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:47:53] local.INFO: Acknowledgment sent {"connection_id":151000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:48:15] local.INFO: TCP Data received {"connection_id":151001,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:48:15] local.INFO: Processing buffer {"connection_id":151001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:48:15] local.INFO: IMEI packet received {"connection_id":151001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":151001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:48:17] local.INFO: TCP Data received {"connection_id":149596,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08f19b8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08f19b8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:48:17] local.INFO: Processing buffer {"connection_id":149596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08f19b8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:48:17] local.INFO: Packet analysis {"connection_id":149596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08f"} 
[2026-08-05 11:48:17] local.INFO: Extracted packet for processing {"connection_id":149596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08f"} 
[2026-08-05 11:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193074176001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785910467000,"timestamp_ms":1785910467000,"timestamp_seconds":1785910467,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08f19b8"} 
[2026-08-05 11:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 11:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193074176001,"66":12385,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193074176001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:48:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193074176001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":149596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:48:17] local.INFO: GPS data processed {"connection_id":149596,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:48:17] local.INFO: Acknowledgment sent {"connection_id":149596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:48:20] local.INFO: TCP Data received {"connection_id":151001,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:48:20] local.INFO: Processing buffer {"connection_id":151001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:48:20] local.INFO: IMEI packet received {"connection_id":151001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":151001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:48:21] local.INFO: TCP Data received {"connection_id":151001,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:48:21] local.INFO: Processing buffer {"connection_id":151001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08d8f30012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:48:21] local.INFO: Packet analysis {"connection_id":151001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:48:21] local.INFO: Extracted packet for processing {"connection_id":151001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08d"} 
[2026-08-05 11:48:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457192976640001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910366000,"timestamp_ms":1785910366000,"timestamp_seconds":1785910366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08d8f30"} 
[2026-08-05 11:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:48: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-08-05 11: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":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:48: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-08-05 11: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-08-05 11:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457192976640001,"66":25702,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457192976640001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:48:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457192976640001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":151001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:48:21] local.INFO: GPS data processed {"connection_id":151001,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:48:21] local.INFO: Acknowledgment sent {"connection_id":151001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:48:40] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:48:40] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:48:40] local.INFO: IMEI packet received {"connection_id":148593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":148593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:48:45] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:48:45] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:48:45] local.INFO: IMEI packet received {"connection_id":148593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":148593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:48:46] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08f6bc0012d1821400721b350004c00dc28..."} 
[2026-08-05 11:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08f6bc0012d1821400721b350004c00dc28..."} 
[2026-08-05 11:48:46] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08f6bc0012d1821400721b350004c00dc28..."} 
[2026-08-05 11:48:46] local.INFO: Packet analysis {"connection_id":148593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08f"} 
[2026-08-05 11:48:46] local.INFO: Extracted packet for processing {"connection_id":148593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08f"} 
[2026-08-05 11:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193079552001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785910488000,"timestamp_ms":1785910488000,"timestamp_seconds":1785910488,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08f6bc0"} 
[2026-08-05 11:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:48: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-08-05 11:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 11:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193079552001,"66":12211,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193079552001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:48:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193079552001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":148593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:48:46] local.INFO: GPS data processed {"connection_id":148593,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:48:46] local.INFO: Acknowledgment sent {"connection_id":148593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:48:52] local.INFO: TCP Data received {"connection_id":151001,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:48:52] local.INFO: Processing buffer {"connection_id":151001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:48:52] local.INFO: Packet analysis {"connection_id":151001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:48:52] local.INFO: Extracted packet for processing {"connection_id":151001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:48:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193053696001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785910667000,"timestamp_ms":1785910667000,"timestamp_seconds":1785910667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09226f8"} 
[2026-08-05 11:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193053696001,"66":25691,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193053696001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:48:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193053696001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":151001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:48:52] local.INFO: GPS data processed {"connection_id":151001,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:48:52] local.INFO: Acknowledgment sent {"connection_id":151001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:49:15] local.INFO: TCP Data received {"connection_id":148594,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:49:15] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:49:15] local.INFO: IMEI packet received {"connection_id":148594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":148594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:49:17] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd08fbdc8012d1821400721b350004c00dc28..."} 
[2026-08-05 11:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd08fbdc8012d1821400721b350004c00dc28..."} 
[2026-08-05 11:49:17] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd08fbdc8012d1821400721b350004c00dc28..."} 
[2026-08-05 11:49:17] local.INFO: Packet analysis {"connection_id":148593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd08f"} 
[2026-08-05 11:49:17] local.INFO: Extracted packet for processing {"connection_id":148593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd08f"} 
[2026-08-05 11:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193084928001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785910509000,"timestamp_ms":1785910509000,"timestamp_seconds":1785910509,"priority":1,"record_length":96,"hex_timestamp":"0000019fd08fbdc8"} 
[2026-08-05 11:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 11:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193084928001,"66":12341,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193084928001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:49:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193084928001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":148593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:49:17] local.INFO: GPS data processed {"connection_id":148593,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:49:17] local.INFO: Acknowledgment sent {"connection_id":148593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:49:20] local.INFO: TCP Data received {"connection_id":148594,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:49:20] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:49:20] local.INFO: IMEI packet received {"connection_id":148594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":148594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:49:21] local.INFO: TCP Data received {"connection_id":148594,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:49:21] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:49:21] local.INFO: Packet analysis {"connection_id":148594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:49:21] local.INFO: Extracted packet for processing {"connection_id":148594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:49:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193053696001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910667000,"timestamp_ms":1785910667000,"timestamp_seconds":1785910667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09226f8"} 
[2026-08-05 11:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:49: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-08-05 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:49: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-08-05 11: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-08-05 11:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193053696001,"66":25691,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193053696001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:49:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193053696001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":148594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:49:21] local.INFO: GPS data processed {"connection_id":148594,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:49:21] local.INFO: Acknowledgment sent {"connection_id":148594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:49:40] local.INFO: TCP Data received {"connection_id":151002,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:49:40] local.INFO: Processing buffer {"connection_id":151002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:49:40] local.INFO: IMEI packet received {"connection_id":151002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":151002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:49:45] local.INFO: TCP Data received {"connection_id":151002,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:49:45] local.INFO: Processing buffer {"connection_id":151002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:49:45] local.INFO: IMEI packet received {"connection_id":151002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":151002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:49:45] local.INFO: TCP Data received {"connection_id":151002,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0900fd0012d1821400721b350004c00dc27..."} 
[2026-08-05 11:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0900fd0012d1821400721b350004c00dc27..."} 
[2026-08-05 11:49:45] local.INFO: Processing buffer {"connection_id":151002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0900fd0012d1821400721b350004c00dc27..."} 
[2026-08-05 11:49:45] local.INFO: Packet analysis {"connection_id":151002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd090"} 
[2026-08-05 11:49:45] local.INFO: Extracted packet for processing {"connection_id":151002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd090"} 
[2026-08-05 11:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193090304001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785910530000,"timestamp_ms":1785910530000,"timestamp_seconds":1785910530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0900fd0"} 
[2026-08-05 11:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 11:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193090304001,"66":12385,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193090304001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:49:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193090304001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":151002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:49:45] local.INFO: GPS data processed {"connection_id":151002,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:49:45] local.INFO: Acknowledgment sent {"connection_id":151002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:49:52] local.INFO: TCP Data received {"connection_id":148594,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:49:52] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:49:52] local.INFO: Packet analysis {"connection_id":148594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:49:52] local.INFO: Extracted packet for processing {"connection_id":148594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193053696001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785910667000,"timestamp_ms":1785910667000,"timestamp_seconds":1785910667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09226f8"} 
[2026-08-05 11:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193053696001,"66":25691,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193053696001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:49:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193053696001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":148594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:49:52] local.INFO: GPS data processed {"connection_id":148594,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:49:52] local.INFO: Acknowledgment sent {"connection_id":148594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:50:15] local.INFO: TCP Data received {"connection_id":149597,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:50:15] local.INFO: Processing buffer {"connection_id":149597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:50:15] local.INFO: IMEI packet received {"connection_id":149597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":149597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:50:16] local.INFO: TCP Data received {"connection_id":151002,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09061d8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09061d8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:50:16] local.INFO: Processing buffer {"connection_id":151002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09061d8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:50:16] local.INFO: Packet analysis {"connection_id":151002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd090"} 
[2026-08-05 11:50:16] local.INFO: Extracted packet for processing {"connection_id":151002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd090"} 
[2026-08-05 11:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193095680001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785910551000,"timestamp_ms":1785910551000,"timestamp_seconds":1785910551,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09061d8"} 
[2026-08-05 11:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 11:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193095680001,"66":12341,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193095680001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:50:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:50:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193095680001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":151002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:50:16] local.INFO: GPS data processed {"connection_id":151002,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:50:16] local.INFO: Acknowledgment sent {"connection_id":151002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:50:21] local.INFO: TCP Data received {"connection_id":149597,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:50:21] local.INFO: Processing buffer {"connection_id":149597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:50:21] local.INFO: IMEI packet received {"connection_id":149597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":149597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:50:23] local.INFO: TCP Data received {"connection_id":149597,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:50:23] local.INFO: Processing buffer {"connection_id":149597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:50:23] local.INFO: Packet analysis {"connection_id":149597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:50:23] local.INFO: Extracted packet for processing {"connection_id":149597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193053696001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785910667000,"timestamp_ms":1785910667000,"timestamp_seconds":1785910667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09226f8"} 
[2026-08-05 11:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193053696001,"66":25691,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193053696001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:50:23] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:50:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193053696001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":149597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:50:23] local.INFO: GPS data processed {"connection_id":149597,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:50:23] local.INFO: Acknowledgment sent {"connection_id":149597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:50:40] local.INFO: TCP Data received {"connection_id":149598,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:50:40] local.INFO: Processing buffer {"connection_id":149598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:50:40] local.INFO: IMEI packet received {"connection_id":149598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":149598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:50:41] local.INFO: TCP Data received {"connection_id":149598,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:50:41] local.INFO: Processing buffer {"connection_id":149598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:50:41] local.INFO: IMEI packet received {"connection_id":149598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":149598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:50:45] local.INFO: TCP Data received {"connection_id":149598,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:50:45] local.INFO: Processing buffer {"connection_id":149598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:50:45] local.INFO: IMEI packet received {"connection_id":149598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":149598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:50:46] local.INFO: TCP Data received {"connection_id":149598,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd090b3e0012d1821400721b350004c00dc26..."} 
[2026-08-05 11:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd090b3e0012d1821400721b350004c00dc26..."} 
[2026-08-05 11:50:46] local.INFO: Processing buffer {"connection_id":149598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd090b3e0012d1821400721b350004c00dc26..."} 
[2026-08-05 11:50:46] local.INFO: Packet analysis {"connection_id":149598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd090"} 
[2026-08-05 11:50:46] local.INFO: Extracted packet for processing {"connection_id":149598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd090"} 
[2026-08-05 11:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":38,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193101056001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785910572000,"timestamp_ms":1785910572000,"timestamp_seconds":1785910572,"priority":1,"record_length":96,"hex_timestamp":"0000019fd090b3e0"} 
[2026-08-05 11:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:50: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-08-05 11:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 11:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193101056001,"66":12374,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193101056001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:50:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193101056001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":149598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:50:46] local.INFO: GPS data processed {"connection_id":149598,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:50:46] local.INFO: Acknowledgment sent {"connection_id":149598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:50:54] local.INFO: TCP Data received {"connection_id":149597,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:50:54] local.INFO: Processing buffer {"connection_id":149597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:50:54] local.INFO: Packet analysis {"connection_id":149597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:50:54] local.INFO: Extracted packet for processing {"connection_id":149597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193053696001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785910667000,"timestamp_ms":1785910667000,"timestamp_seconds":1785910667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09226f8"} 
[2026-08-05 11:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:50: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-08-05 11:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193053696001,"66":25691,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193053696001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:50:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:50:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193053696001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":149597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:50:54] local.INFO: GPS data processed {"connection_id":149597,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:50:54] local.INFO: Acknowledgment sent {"connection_id":149597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:51:15] local.INFO: TCP Data received {"connection_id":148374,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:51:15] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:51:15] local.INFO: IMEI packet received {"connection_id":148374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":148374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:51:17] local.INFO: TCP Data received {"connection_id":149598,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09105e8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09105e8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:51:17] local.INFO: Processing buffer {"connection_id":149598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09105e8012d1821400721b350004c00dc27..."} 
[2026-08-05 11:51:17] local.INFO: Packet analysis {"connection_id":149598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd091"} 
[2026-08-05 11:51:17] local.INFO: Extracted packet for processing {"connection_id":149598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd091"} 
[2026-08-05 11:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193106432001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785910593000,"timestamp_ms":1785910593000,"timestamp_seconds":1785910593,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09105e8"} 
[2026-08-05 11:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 11:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193106432001,"66":12341,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193106432001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:51:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193106432001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":149598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:51:17] local.INFO: GPS data processed {"connection_id":149598,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:51:17] local.INFO: Acknowledgment sent {"connection_id":149598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:51:20] local.INFO: TCP Data received {"connection_id":148374,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:51:20] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:51:20] local.INFO: IMEI packet received {"connection_id":148374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":148374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:51:21] local.INFO: TCP Data received {"connection_id":148374,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:51:21] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:51:21] local.INFO: Packet analysis {"connection_id":148374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:51:21] local.INFO: Extracted packet for processing {"connection_id":148374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:51:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193053696001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910667000,"timestamp_ms":1785910667000,"timestamp_seconds":1785910667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09226f8"} 
[2026-08-05 11:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:51: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-08-05 11: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":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:51: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-08-05 11: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-08-05 11:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193053696001,"66":25691,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193053696001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:51:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193053696001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":148374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:51:21] local.INFO: GPS data processed {"connection_id":148374,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:51:21] local.INFO: Acknowledgment sent {"connection_id":148374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:51:44] local.INFO: TCP Data received {"connection_id":148595,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:51:44] local.INFO: Processing buffer {"connection_id":148595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:51:44] local.INFO: IMEI packet received {"connection_id":148595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":148595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:51:45] local.INFO: TCP Data received {"connection_id":148595,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:51:45] local.INFO: Processing buffer {"connection_id":148595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:51:45] local.INFO: IMEI packet received {"connection_id":148595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":148595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:51:50] local.INFO: TCP Data received {"connection_id":148595,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:51:50] local.INFO: Processing buffer {"connection_id":148595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:51:50] local.INFO: IMEI packet received {"connection_id":148595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":148595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:51:51] local.INFO: TCP Data received {"connection_id":148595,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0948c40012d1821400721b350004c00dc23..."} 
[2026-08-05 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0948c40012d1821400721b350004c00dc23..."} 
[2026-08-05 11:51:51] local.INFO: Processing buffer {"connection_id":148595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0948c40012d1821400721b350004c00dc23..."} 
[2026-08-05 11:51:51] local.INFO: Packet analysis {"connection_id":148595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd094"} 
[2026-08-05 11:51:51] local.INFO: Extracted packet for processing {"connection_id":148595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd094"} 
[2026-08-05 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":35,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193165568001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785910824000,"timestamp_ms":1785910824000,"timestamp_seconds":1785910824,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0948c40"} 
[2026-08-05 11:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-05 11:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193165568001,"66":12287,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193165568001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:51:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193165568001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":148595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:51:51] local.INFO: GPS data processed {"connection_id":148595,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:51:51] local.INFO: Acknowledgment sent {"connection_id":148595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:51:52] local.INFO: TCP Data received {"connection_id":148374,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:51:52] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:51:52] local.INFO: Packet analysis {"connection_id":148374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:51:52] local.INFO: Extracted packet for processing {"connection_id":148374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:51:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193053696001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785910667000,"timestamp_ms":1785910667000,"timestamp_seconds":1785910667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09226f8"} 
[2026-08-05 11:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193053696001,"66":25691,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193053696001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:51:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193053696001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":148374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:51:52] local.INFO: GPS data processed {"connection_id":148374,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:51:52] local.INFO: Acknowledgment sent {"connection_id":148374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:51:55] local.INFO: TCP Data received {"connection_id":148595,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd094de48012d1821400721b350004c00dc24..."} 
[2026-08-05 11:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd094de48012d1821400721b350004c00dc24..."} 
[2026-08-05 11:51:55] local.INFO: Processing buffer {"connection_id":148595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd094de48012d1821400721b350004c00dc24..."} 
[2026-08-05 11:51:55] local.INFO: Packet analysis {"connection_id":148595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd094"} 
[2026-08-05 11:51:55] local.INFO: Extracted packet for processing {"connection_id":148595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd094"} 
[2026-08-05 11:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":36,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193170944001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785910845000,"timestamp_ms":1785910845000,"timestamp_seconds":1785910845,"priority":1,"record_length":96,"hex_timestamp":"0000019fd094de48"} 
[2026-08-05 11:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 11:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193170944001,"66":12254,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193170944001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:51:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193170944001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":148595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:51:55] local.INFO: GPS data processed {"connection_id":148595,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:51:55] local.INFO: Acknowledgment sent {"connection_id":148595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:52:18] local.INFO: TCP Data received {"connection_id":148596,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:52:18] local.INFO: Processing buffer {"connection_id":148596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:52:18] local.INFO: IMEI packet received {"connection_id":148596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":148596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:52:21] local.INFO: TCP Data received {"connection_id":148596,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:52:21] local.INFO: Processing buffer {"connection_id":148596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:52:21] local.INFO: IMEI packet received {"connection_id":148596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":148596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:52:21] local.INFO: TCP Data received {"connection_id":148596,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:52:21] local.INFO: Processing buffer {"connection_id":148596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:52:21] local.INFO: Packet analysis {"connection_id":148596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:52:21] local.INFO: Extracted packet for processing {"connection_id":148596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193053696001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910667000,"timestamp_ms":1785910667000,"timestamp_seconds":1785910667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09226f8"} 
[2026-08-05 11:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:52: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-08-05 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:52: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-08-05 11: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-08-05 11:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193053696001,"66":25691,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193053696001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:52:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193053696001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":148596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:52:21] local.INFO: GPS data processed {"connection_id":148596,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:52:21] local.INFO: Acknowledgment sent {"connection_id":148596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:52:40] local.INFO: TCP Data received {"connection_id":148375,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:52:40] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:52:40] local.INFO: IMEI packet received {"connection_id":148375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":148375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:52:45] local.INFO: TCP Data received {"connection_id":148375,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:52:45] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:52:45] local.INFO: IMEI packet received {"connection_id":148375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":148375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:52:45] local.INFO: TCP Data received {"connection_id":148375,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0953050012d1821400721b350004c00dc22..."} 
[2026-08-05 11:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0953050012d1821400721b350004c00dc22..."} 
[2026-08-05 11:52:45] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0953050012d1821400721b350004c00dc22..."} 
[2026-08-05 11:52:45] local.INFO: Packet analysis {"connection_id":148375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd095"} 
[2026-08-05 11:52:45] local.INFO: Extracted packet for processing {"connection_id":148375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd095"} 
[2026-08-05 11:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":34,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193176320001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785910866000,"timestamp_ms":1785910866000,"timestamp_seconds":1785910866,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0953050"} 
[2026-08-05 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-08-05 11:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-05 11:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193176320001,"66":12254,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193176320001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:52:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193176320001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":148375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:52:45] local.INFO: GPS data processed {"connection_id":148375,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:52:45] local.INFO: Acknowledgment sent {"connection_id":148375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:52:53] local.INFO: TCP Data received {"connection_id":148596,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:52:53] local.INFO: Processing buffer {"connection_id":148596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:52:53] local.INFO: Packet analysis {"connection_id":148596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:52:53] local.INFO: Extracted packet for processing {"connection_id":148596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:52:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193053696001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785910667000,"timestamp_ms":1785910667000,"timestamp_seconds":1785910667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09226f8"} 
[2026-08-05 11:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193053696001,"66":25691,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193053696001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:52:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:52:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193053696001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":148596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:52:53] local.INFO: GPS data processed {"connection_id":148596,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:52:53] local.INFO: Acknowledgment sent {"connection_id":148596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:53:16] local.INFO: TCP Data received {"connection_id":148375,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0958258012d1821400721b350004c00dc23..."} 
[2026-08-05 11:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0958258012d1821400721b350004c00dc23..."} 
[2026-08-05 11:53:16] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0958258012d1821400721b350004c00dc23..."} 
[2026-08-05 11:53:16] local.INFO: Packet analysis {"connection_id":148375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd095"} 
[2026-08-05 11:53:16] local.INFO: Extracted packet for processing {"connection_id":148375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd095"} 
[2026-08-05 11:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":35,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193181696001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785910887000,"timestamp_ms":1785910887000,"timestamp_seconds":1785910887,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0958258"} 
[2026-08-05 11:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-05 11:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193181696001,"66":12211,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193181696001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:53:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193181696001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":148375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:53:16] local.INFO: GPS data processed {"connection_id":148375,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:53:16] local.INFO: Acknowledgment sent {"connection_id":148375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:53:20] local.INFO: TCP Data received {"connection_id":149599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:53:20] local.INFO: Processing buffer {"connection_id":149599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:53:20] local.INFO: IMEI packet received {"connection_id":149599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":149599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:53:25] local.INFO: TCP Data received {"connection_id":149599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:53:25] local.INFO: Processing buffer {"connection_id":149599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:53:25] local.INFO: IMEI packet received {"connection_id":149599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":149599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:53:26] local.INFO: TCP Data received {"connection_id":149599,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:53:26] local.INFO: Processing buffer {"connection_id":149599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09226f8012d7f92c005afd9e8000000e929..."} 
[2026-08-05 11:53:26] local.INFO: Packet analysis {"connection_id":149599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:53:26] local.INFO: Extracted packet for processing {"connection_id":149599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd092"} 
[2026-08-05 11:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193053696001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785910667000,"timestamp_ms":1785910667000,"timestamp_seconds":1785910667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09226f8"} 
[2026-08-05 11:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 11:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193053696001,"66":25691,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193053696001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:53:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193053696001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":149599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:53:26] local.INFO: GPS data processed {"connection_id":149599,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:53:26] local.INFO: Acknowledgment sent {"connection_id":149599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:53:27] local.INFO: TCP Data received {"connection_id":149599,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:53:27] local.INFO: Processing buffer {"connection_id":149599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:53:27] local.INFO: Packet analysis {"connection_id":149599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:53:27] local.INFO: Extracted packet for processing {"connection_id":149599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193130752001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785910968000,"timestamp_ms":1785910968000,"timestamp_seconds":1785910968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd096bec0"} 
[2026-08-05 11:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 11:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193130752001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193130752001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:53:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193130752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":149599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:53:27] local.INFO: GPS data processed {"connection_id":149599,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:53:27] local.INFO: Acknowledgment sent {"connection_id":149599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:53:40] local.INFO: TCP Data received {"connection_id":151003,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:53:40] local.INFO: Processing buffer {"connection_id":151003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:53:40] local.INFO: IMEI packet received {"connection_id":151003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":151003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:53:45] local.INFO: TCP Data received {"connection_id":151003,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:53:45] local.INFO: Processing buffer {"connection_id":151003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:53:45] local.INFO: IMEI packet received {"connection_id":151003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":151003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:53:45] local.INFO: TCP Data received {"connection_id":151003,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd095d460012d1821400721b350004c00dc22..."} 
[2026-08-05 11:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd095d460012d1821400721b350004c00dc22..."} 
[2026-08-05 11:53:45] local.INFO: Processing buffer {"connection_id":151003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd095d460012d1821400721b350004c00dc22..."} 
[2026-08-05 11:53:45] local.INFO: Packet analysis {"connection_id":151003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd095"} 
[2026-08-05 11:53:45] local.INFO: Extracted packet for processing {"connection_id":151003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd095"} 
[2026-08-05 11:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":34,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193187072001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785910908000,"timestamp_ms":1785910908000,"timestamp_seconds":1785910908,"priority":1,"record_length":96,"hex_timestamp":"0000019fd095d460"} 
[2026-08-05 11:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 11:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193187072001,"66":12254,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193187072001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:53:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193187072001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":151003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:53:45] local.INFO: GPS data processed {"connection_id":151003,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:53:45] local.INFO: Acknowledgment sent {"connection_id":151003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:53:50] local.INFO: TCP Data received {"connection_id":151003,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0962668012d1821400721b350004c00dc24..."} 
[2026-08-05 11:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0962668012d1821400721b350004c00dc24..."} 
[2026-08-05 11:53:50] local.INFO: Processing buffer {"connection_id":151003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0962668012d1821400721b350004c00dc24..."} 
[2026-08-05 11:53:50] local.INFO: Packet analysis {"connection_id":151003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:53:50] local.INFO: Extracted packet for processing {"connection_id":151003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":36,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193192448001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785910929000,"timestamp_ms":1785910929000,"timestamp_seconds":1785910929,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0962668"} 
[2026-08-05 11:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-05 11:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193192448001,"66":12211,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193192448001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:53:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193192448001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":151003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:53:50] local.INFO: GPS data processed {"connection_id":151003,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:53:50] local.INFO: Acknowledgment sent {"connection_id":151003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:53:58] local.INFO: TCP Data received {"connection_id":149599,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:53:58] local.INFO: Processing buffer {"connection_id":149599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:53:58] local.INFO: Packet analysis {"connection_id":149599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:53:58] local.INFO: Extracted packet for processing {"connection_id":149599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193130752001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785910968000,"timestamp_ms":1785910968000,"timestamp_seconds":1785910968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd096bec0"} 
[2026-08-05 11:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 11:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193130752001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193130752001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:53:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193130752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":149599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:53:58] local.INFO: GPS data processed {"connection_id":149599,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:53:58] local.INFO: Acknowledgment sent {"connection_id":149599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:54:16] local.INFO: TCP Data received {"connection_id":151004,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:54:16] local.INFO: Processing buffer {"connection_id":151004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:54:16] local.INFO: IMEI packet received {"connection_id":151004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":151004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:54:23] local.INFO: TCP Data received {"connection_id":151003,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0967870012d1821400721b350004c00dc24..."} 
[2026-08-05 11:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0967870012d1821400721b350004c00dc24..."} 
[2026-08-05 11:54:23] local.INFO: Processing buffer {"connection_id":151003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0967870012d1821400721b350004c00dc24..."} 
[2026-08-05 11:54:23] local.INFO: Packet analysis {"connection_id":151003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:54:23] local.INFO: Extracted packet for processing {"connection_id":151003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":36,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193197824001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785910950000,"timestamp_ms":1785910950000,"timestamp_seconds":1785910950,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0967870"} 
[2026-08-05 11:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 11:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193197824001,"66":12254,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193197824001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:54:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193197824001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":151003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:54:23] local.INFO: GPS data processed {"connection_id":151003,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:54:23] local.INFO: Acknowledgment sent {"connection_id":151003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:54:28] local.INFO: TCP Data received {"connection_id":151004,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:54:28] local.INFO: Processing buffer {"connection_id":151004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:54:28] local.INFO: IMEI packet received {"connection_id":151004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":151004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:54:30] local.INFO: TCP Data received {"connection_id":151004,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:54:30] local.INFO: Processing buffer {"connection_id":151004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:54:30] local.INFO: Packet analysis {"connection_id":151004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:54:30] local.INFO: Extracted packet for processing {"connection_id":151004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193130752001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785910968000,"timestamp_ms":1785910968000,"timestamp_seconds":1785910968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd096bec0"} 
[2026-08-05 11:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 11:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193130752001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193130752001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:54:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193130752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":151004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:54:30] local.INFO: GPS data processed {"connection_id":151004,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:54:30] local.INFO: Acknowledgment sent {"connection_id":151004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:54:41] local.INFO: TCP Data received {"connection_id":148376,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:54:41] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:54:41] local.INFO: IMEI packet received {"connection_id":148376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":148376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:54:45] local.INFO: TCP Data received {"connection_id":148376,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:54:45] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:54:45] local.INFO: IMEI packet received {"connection_id":148376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":148376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:54:46] local.INFO: TCP Data received {"connection_id":148376,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd096ca78012d1821400721b350004c00dc21..."} 
[2026-08-05 11:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd096ca78012d1821400721b350004c00dc21..."} 
[2026-08-05 11:54:46] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd096ca78012d1821400721b350004c00dc21..."} 
[2026-08-05 11:54:46] local.INFO: Packet analysis {"connection_id":148376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:54:46] local.INFO: Extracted packet for processing {"connection_id":148376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":33,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 11:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193203200001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785910971000,"timestamp_ms":1785910971000,"timestamp_seconds":1785910971,"priority":1,"record_length":96,"hex_timestamp":"0000019fd096ca78"} 
[2026-08-05 11:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-05 11:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193203200001,"66":12113,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193203200001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:54:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193203200001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":148376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:54:46] local.INFO: GPS data processed {"connection_id":148376,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:54:46] local.INFO: Acknowledgment sent {"connection_id":148376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:55:15] local.INFO: TCP Data received {"connection_id":149600,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:55:15] local.INFO: Processing buffer {"connection_id":149600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:55:15] local.INFO: IMEI packet received {"connection_id":149600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":149600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:55:17] local.INFO: TCP Data received {"connection_id":148376,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0971c80012d1821400721b350004c00dc26..."} 
[2026-08-05 11:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0971c80012d1821400721b350004c00dc26..."} 
[2026-08-05 11:55:17] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0971c80012d1821400721b350004c00dc26..."} 
[2026-08-05 11:55:17] local.INFO: Packet analysis {"connection_id":148376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd097"} 
[2026-08-05 11:55:17] local.INFO: Extracted packet for processing {"connection_id":148376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd097"} 
[2026-08-05 11:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649104,"longitude_deg":75.6556096,"latitude_deg":11.9649104,"altitude":76,"angle":220,"satellites":38,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193208576001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607474004459520,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785910992000,"timestamp_ms":1785910992000,"timestamp_seconds":1785910992,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0971c80"} 
[2026-08-05 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-08-05 11:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-05 11:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193208576001,"66":12232,"105":206,"83":41984,"24":0,"16":10607474004459520,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193208576001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:55:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607474004459520,"km_value":10607474004459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193208576001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":148376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:55:17] local.INFO: GPS data processed {"connection_id":148376,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:55:17] local.INFO: Acknowledgment sent {"connection_id":148376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:55:21] local.INFO: TCP Data received {"connection_id":149600,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:55:21] local.INFO: Processing buffer {"connection_id":149600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:55:21] local.INFO: IMEI packet received {"connection_id":149600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":149600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:55:26] local.INFO: TCP Data received {"connection_id":149600,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:55:26] local.INFO: Processing buffer {"connection_id":149600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:55:26] local.INFO: Packet analysis {"connection_id":149600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:55:26] local.INFO: Extracted packet for processing {"connection_id":149600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193130752001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785910968000,"timestamp_ms":1785910968000,"timestamp_seconds":1785910968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd096bec0"} 
[2026-08-05 11:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 11:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193130752001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193130752001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:55:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193130752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":149600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:55:26] local.INFO: GPS data processed {"connection_id":149600,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:55:26] local.INFO: Acknowledgment sent {"connection_id":149600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:55:40] local.INFO: TCP Data received {"connection_id":148377,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:55:40] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:55:40] local.INFO: IMEI packet received {"connection_id":148377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":148377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:55:45] local.INFO: TCP Data received {"connection_id":148377,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:55:45] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:55:45] local.INFO: IMEI packet received {"connection_id":148377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":148377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:55:45] local.INFO: TCP Data received {"connection_id":148377,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0976e88012d181f400721b088004900d625..."} 
[2026-08-05 11:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0976e88012d181f400721b088004900d625..."} 
[2026-08-05 11:55:45] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0976e88012d181f400721b088004900d625..."} 
[2026-08-05 11:55:45] local.INFO: Packet analysis {"connection_id":148377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd097"} 
[2026-08-05 11:55:45] local.INFO: Extracted packet for processing {"connection_id":148377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd097"} 
[2026-08-05 11:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648392,"longitude_deg":75.6555584,"latitude_deg":11.9648392,"altitude":73,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-05 11:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193213952001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516070400,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785911013000,"timestamp_ms":1785911013000,"timestamp_seconds":1785911013,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0976e88"} 
[2026-08-05 11:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 11:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193213952001,"66":12232,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738741330516070400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193213952001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:55:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516070400,"description":"Unknown IO ID 45"} 
[2026-08-05 11:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193213952001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516070400}} 
[2026-08-05 11:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":148377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:55:45] local.INFO: GPS data processed {"connection_id":148377,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:55:45] local.INFO: Acknowledgment sent {"connection_id":148377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:55:58] local.INFO: TCP Data received {"connection_id":149600,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:55:58] local.INFO: Processing buffer {"connection_id":149600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:55:58] local.INFO: Packet analysis {"connection_id":149600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:55:58] local.INFO: Extracted packet for processing {"connection_id":149600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193130752001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785910968000,"timestamp_ms":1785910968000,"timestamp_seconds":1785910968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd096bec0"} 
[2026-08-05 11:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 11:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193130752001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193130752001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:55:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193130752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":149600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:55:58] local.INFO: GPS data processed {"connection_id":149600,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:55:58] local.INFO: Acknowledgment sent {"connection_id":149600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:56:15] local.INFO: TCP Data received {"connection_id":151005,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:56:15] local.INFO: Processing buffer {"connection_id":151005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:56:15] local.INFO: IMEI packet received {"connection_id":151005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":151005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:56:16] local.INFO: TCP Data received {"connection_id":148377,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd097c090012d181f400721b080004900d625..."} 
[2026-08-05 11:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd097c090012d181f400721b080004900d625..."} 
[2026-08-05 11:56:16] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd097c090012d181f400721b080004900d625..."} 
[2026-08-05 11:56:16] local.INFO: Packet analysis {"connection_id":148377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd097"} 
[2026-08-05 11:56:16] local.INFO: Extracted packet for processing {"connection_id":148377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd097"} 
[2026-08-05 11:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193219328001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562466816,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785911034000,"timestamp_ms":1785911034000,"timestamp_seconds":1785911034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd097c090"} 
[2026-08-05 11:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 11:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193219328001,"66":12232,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562466816},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193219328001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:56:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562466816,"description":"Unknown IO ID 45"} 
[2026-08-05 11:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193219328001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562466816}} 
[2026-08-05 11:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":148377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:56:17] local.INFO: GPS data processed {"connection_id":148377,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:56:17] local.INFO: Acknowledgment sent {"connection_id":148377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:56:20] local.INFO: TCP Data received {"connection_id":151005,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:56:20] local.INFO: Processing buffer {"connection_id":151005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:56:20] local.INFO: IMEI packet received {"connection_id":151005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":151005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:56:21] local.INFO: TCP Data received {"connection_id":151005,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:56:21] local.INFO: Processing buffer {"connection_id":151005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:56:21] local.INFO: Packet analysis {"connection_id":151005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:56:21] local.INFO: Extracted packet for processing {"connection_id":151005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:56:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193130752001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910968000,"timestamp_ms":1785910968000,"timestamp_seconds":1785910968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd096bec0"} 
[2026-08-05 11:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:56: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-08-05 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 11:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193130752001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193130752001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:56:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193130752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":151005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:56:21] local.INFO: GPS data processed {"connection_id":151005,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:56:21] local.INFO: Acknowledgment sent {"connection_id":151005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:56:40] local.INFO: TCP Data received {"connection_id":151006,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:56:40] local.INFO: Processing buffer {"connection_id":151006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:56:40] local.INFO: IMEI packet received {"connection_id":151006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":151006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:56:45] local.INFO: TCP Data received {"connection_id":151006,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:56:45] local.INFO: Processing buffer {"connection_id":151006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:56:45] local.INFO: IMEI packet received {"connection_id":151006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":151006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:56:45] local.INFO: TCP Data received {"connection_id":151006,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0981298012d181f400721b080004900d624..."} 
[2026-08-05 11:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0981298012d181f400721b080004900d624..."} 
[2026-08-05 11:56:45] local.INFO: Processing buffer {"connection_id":151006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0981298012d181f400721b080004900d624..."} 
[2026-08-05 11:56:45] local.INFO: Packet analysis {"connection_id":151006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd098"} 
[2026-08-05 11:56:45] local.INFO: Extracted packet for processing {"connection_id":151006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd098"} 
[2026-08-05 11:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 11:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193224704001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785911055000,"timestamp_ms":1785911055000,"timestamp_seconds":1785911055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0981298"} 
[2026-08-05 11:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 11:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193224704001,"66":12232,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193224704001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:56:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 11:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193224704001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 11:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":151006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:56:46] local.INFO: GPS data processed {"connection_id":151006,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:56:46] local.INFO: Acknowledgment sent {"connection_id":151006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:56:52] local.INFO: TCP Data received {"connection_id":151005,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:56:52] local.INFO: Processing buffer {"connection_id":151005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:56:52] local.INFO: Packet analysis {"connection_id":151005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:56:52] local.INFO: Extracted packet for processing {"connection_id":151005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:56:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193130752001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785910968000,"timestamp_ms":1785910968000,"timestamp_seconds":1785910968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd096bec0"} 
[2026-08-05 11:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 11:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193130752001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193130752001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:56:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193130752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":151005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:56:52] local.INFO: GPS data processed {"connection_id":151005,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:56:52] local.INFO: Acknowledgment sent {"connection_id":151005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:57:16] local.INFO: TCP Data received {"connection_id":151006,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09864a0012d181f400721b080004900d624..."} 
[2026-08-05 11:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09864a0012d181f400721b080004900d624..."} 
[2026-08-05 11:57:16] local.INFO: Processing buffer {"connection_id":151006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09864a0012d181f400721b080004900d624..."} 
[2026-08-05 11:57:16] local.INFO: Packet analysis {"connection_id":151006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd098"} 
[2026-08-05 11:57:16] local.INFO: Extracted packet for processing {"connection_id":151006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd098"} 
[2026-08-05 11:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 11: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-08-05 11:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193230080001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 11:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785911076000,"timestamp_ms":1785911076000,"timestamp_seconds":1785911076,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09864a0"} 
[2026-08-05 11:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 11:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11: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-08-05 11:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193230080001,"66":12178,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193230080001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:57:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 11:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193230080001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 11:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":151006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:57:17] local.INFO: GPS data processed {"connection_id":151006,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:57:17] local.INFO: Acknowledgment sent {"connection_id":151006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:57:20] local.INFO: TCP Data received {"connection_id":149601,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:57:20] local.INFO: Processing buffer {"connection_id":149601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:57:20] local.INFO: IMEI packet received {"connection_id":149601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":149601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:57:25] local.INFO: TCP Data received {"connection_id":149601,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:57:25] local.INFO: Processing buffer {"connection_id":149601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:57:25] local.INFO: IMEI packet received {"connection_id":149601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":149601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:57:26] local.INFO: TCP Data received {"connection_id":149601,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:57:26] local.INFO: Processing buffer {"connection_id":149601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:57:26] local.INFO: Packet analysis {"connection_id":149601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:57:26] local.INFO: Extracted packet for processing {"connection_id":149601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193130752001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785910968000,"timestamp_ms":1785910968000,"timestamp_seconds":1785910968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd096bec0"} 
[2026-08-05 11:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 11:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193130752001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193130752001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:57:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193130752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":149601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:57:26] local.INFO: GPS data processed {"connection_id":149601,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:57:26] local.INFO: Acknowledgment sent {"connection_id":149601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:57:30] local.INFO: TCP Data received {"connection_id":149601,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:57:30] local.INFO: Processing buffer {"connection_id":149601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:57:30] local.INFO: Packet analysis {"connection_id":149601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:57:30] local.INFO: Extracted packet for processing {"connection_id":149601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193130752001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785910968000,"timestamp_ms":1785910968000,"timestamp_seconds":1785910968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd096bec0"} 
[2026-08-05 11:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 11:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193130752001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193130752001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:57:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193130752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":149601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:57:30] local.INFO: GPS data processed {"connection_id":149601,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:57:30] local.INFO: Acknowledgment sent {"connection_id":149601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:57:40] local.INFO: TCP Data received {"connection_id":149602,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:57:40] local.INFO: Processing buffer {"connection_id":149602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:57:40] local.INFO: IMEI packet received {"connection_id":149602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":149602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:57:41] local.INFO: TCP Data received {"connection_id":149602,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:57:41] local.INFO: Processing buffer {"connection_id":149602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:57:41] local.INFO: IMEI packet received {"connection_id":149602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":149602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:57:45] local.INFO: TCP Data received {"connection_id":149602,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:57:45] local.INFO: Processing buffer {"connection_id":149602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:57:45] local.INFO: IMEI packet received {"connection_id":149602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":149602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:57:45] local.INFO: TCP Data received {"connection_id":149602,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd098b6a8012d181f400721b080004900d625..."} 
[2026-08-05 11:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd098b6a8012d181f400721b080004900d625..."} 
[2026-08-05 11:57:45] local.INFO: Processing buffer {"connection_id":149602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd098b6a8012d181f400721b080004900d625..."} 
[2026-08-05 11:57:45] local.INFO: Packet analysis {"connection_id":149602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd098"} 
[2026-08-05 11:57:45] local.INFO: Extracted packet for processing {"connection_id":149602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd098"} 
[2026-08-05 11:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 11:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193235456001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 11: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-08-05 11:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785911097000,"timestamp_ms":1785911097000,"timestamp_seconds":1785911097,"priority":1,"record_length":96,"hex_timestamp":"0000019fd098b6a8"} 
[2026-08-05 11:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-05 11:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193235456001,"66":12232,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193235456001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:57:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 11:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193235456001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 11:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":149602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:57:45] local.INFO: GPS data processed {"connection_id":149602,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:57:45] local.INFO: Acknowledgment sent {"connection_id":149602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:58:15] local.INFO: TCP Data received {"connection_id":148597,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:58:15] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:58:15] local.INFO: IMEI packet received {"connection_id":148597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":148597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:58:17] local.INFO: TCP Data received {"connection_id":149602,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09908b0012d181f400721b080004900d623..."} 
[2026-08-05 11:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09908b0012d181f400721b080004900d623..."} 
[2026-08-05 11:58:17] local.INFO: Processing buffer {"connection_id":149602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09908b0012d181f400721b080004900d623..."} 
[2026-08-05 11:58:17] local.INFO: Packet analysis {"connection_id":149602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd099"} 
[2026-08-05 11:58:17] local.INFO: Extracted packet for processing {"connection_id":149602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd099"} 
[2026-08-05 11:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":35,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193240832001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785911118000,"timestamp_ms":1785911118000,"timestamp_seconds":1785911118,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09908b0"} 
[2026-08-05 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-08-05 11:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 11:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193240832001,"66":12211,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193240832001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:58:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 11:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193240832001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 11:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":149602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:58:17] local.INFO: GPS data processed {"connection_id":149602,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:58:17] local.INFO: Acknowledgment sent {"connection_id":149602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:58:20] local.INFO: TCP Data received {"connection_id":148597,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:58:20] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:58:20] local.INFO: IMEI packet received {"connection_id":148597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":148597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:58:21] local.INFO: TCP Data received {"connection_id":148597,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:58:21] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd096bec0012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 11:58:21] local.INFO: Packet analysis {"connection_id":148597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:58:21] local.INFO: Extracted packet for processing {"connection_id":148597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd096"} 
[2026-08-05 11:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193130752001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785910968000,"timestamp_ms":1785910968000,"timestamp_seconds":1785910968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd096bec0"} 
[2026-08-05 11:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:58: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-08-05 11: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":91,"data_length":795,"current_offset":136} 
[2026-08-05 11:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193130752001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193130752001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:58:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193130752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":148597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:58:21] local.INFO: GPS data processed {"connection_id":148597,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:58:21] local.INFO: Acknowledgment sent {"connection_id":148597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:58:40] local.INFO: TCP Data received {"connection_id":148378,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:58:40] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:58:40] local.INFO: IMEI packet received {"connection_id":148378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":148378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:58:44] local.INFO: TCP Data received {"connection_id":148378,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:58:44] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:58:44] local.INFO: IMEI packet received {"connection_id":148378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":148378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:58:45] local.INFO: TCP Data received {"connection_id":148378,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:58:45] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:58:45] local.INFO: IMEI packet received {"connection_id":148378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":148378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:58:45] local.INFO: TCP Data received {"connection_id":148378,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0995ab8012d181f400721b080004900d623..."} 
[2026-08-05 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0995ab8012d181f400721b080004900d623..."} 
[2026-08-05 11:58:45] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0995ab8012d181f400721b080004900d623..."} 
[2026-08-05 11:58:45] local.INFO: Packet analysis {"connection_id":148378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd099"} 
[2026-08-05 11:58:45] local.INFO: Extracted packet for processing {"connection_id":148378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd099"} 
[2026-08-05 11:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":35,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193246208001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785911139000,"timestamp_ms":1785911139000,"timestamp_seconds":1785911139,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0995ab8"} 
[2026-08-05 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-08-05 11:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 11:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193246208001,"66":12156,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193246208001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:58:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 11:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193246208001,"power":12156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 11:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":148378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:58:45] local.INFO: GPS data processed {"connection_id":148378,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:58:45] local.INFO: Acknowledgment sent {"connection_id":148378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:58:50] local.INFO: TCP Data received {"connection_id":148378,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd099acc0012d181f400721b080004900d624..."} 
[2026-08-05 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd099acc0012d181f400721b080004900d624..."} 
[2026-08-05 11:58:50] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd099acc0012d181f400721b080004900d624..."} 
[2026-08-05 11:58:50] local.INFO: Packet analysis {"connection_id":148378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd099"} 
[2026-08-05 11:58:50] local.INFO: Extracted packet for processing {"connection_id":148378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd099"} 
[2026-08-05 11:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 11:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193251584001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785911160000,"timestamp_ms":1785911160000,"timestamp_seconds":1785911160,"priority":1,"record_length":96,"hex_timestamp":"0000019fd099acc0"} 
[2026-08-05 11:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 11:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193251584001,"66":12211,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193251584001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:58:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 11:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193251584001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 11:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":148378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:58:50] local.INFO: GPS data processed {"connection_id":148378,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:58:50] local.INFO: Acknowledgment sent {"connection_id":148378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:58:52] local.INFO: TCP Data received {"connection_id":148597,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:58:52] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:58:52] local.INFO: Packet analysis {"connection_id":148597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 11:58:52] local.INFO: Extracted packet for processing {"connection_id":148597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 11:58:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193207808001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785911269000,"timestamp_ms":1785911269000,"timestamp_seconds":1785911269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b5688"} 
[2026-08-05 11:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 11:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193207808001,"66":25647,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193207808001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:58:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:58:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193207808001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":148597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:58:52] local.INFO: GPS data processed {"connection_id":148597,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:58:52] local.INFO: Acknowledgment sent {"connection_id":148597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:59:15] local.INFO: TCP Data received {"connection_id":148598,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:59:15] local.INFO: Processing buffer {"connection_id":148598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:59:15] local.INFO: IMEI packet received {"connection_id":148598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 11:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":148598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:59:20] local.INFO: TCP Data received {"connection_id":148598,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:59:20] local.INFO: Processing buffer {"connection_id":148598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 11:59:20] local.INFO: IMEI packet received {"connection_id":148598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 11:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":148598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:59:21] local.INFO: TCP Data received {"connection_id":148598,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:59:21] local.INFO: Processing buffer {"connection_id":148598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:59:21] local.INFO: Packet analysis {"connection_id":148598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 11:59:21] local.INFO: Extracted packet for processing {"connection_id":148598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 11:59:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193207808001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785911269000,"timestamp_ms":1785911269000,"timestamp_seconds":1785911269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b5688"} 
[2026-08-05 11:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:59: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-08-05 11:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 11:59: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-08-05 11:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193207808001,"66":25647,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193207808001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:59:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193207808001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":148598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:59:21] local.INFO: GPS data processed {"connection_id":148598,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:59:21] local.INFO: Acknowledgment sent {"connection_id":148598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:59:21] local.INFO: TCP Data received {"connection_id":148378,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd099fec8012d181f400721b080004900d625..."} 
[2026-08-05 11:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd099fec8012d181f400721b080004900d625..."} 
[2026-08-05 11:59:21] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd099fec8012d181f400721b080004900d625..."} 
[2026-08-05 11:59:21] local.INFO: Packet analysis {"connection_id":148378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd099"} 
[2026-08-05 11:59:21] local.INFO: Extracted packet for processing {"connection_id":148378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd099"} 
[2026-08-05 11:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 11:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193256960001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785911181000,"timestamp_ms":1785911181000,"timestamp_seconds":1785911181,"priority":1,"record_length":96,"hex_timestamp":"0000019fd099fec8"} 
[2026-08-05 11:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 11:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 11:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193256960001,"66":12178,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193256960001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:59:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 11:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193256960001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 11:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":148378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:59:21] local.INFO: GPS data processed {"connection_id":148378,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:59:21] local.INFO: Acknowledgment sent {"connection_id":148378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:59:40] local.INFO: TCP Data received {"connection_id":148379,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:59:40] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:59:40] local.INFO: IMEI packet received {"connection_id":148379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 11:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":148379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 11:59:45] local.INFO: TCP Data received {"connection_id":148379,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:59:45] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 11:59:45] local.INFO: IMEI packet received {"connection_id":148379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 11:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":148379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 11:59:46] local.INFO: TCP Data received {"connection_id":148379,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09a50d0012d181f400721b080004900d625..."} 
[2026-08-05 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09a50d0012d181f400721b080004900d625..."} 
[2026-08-05 11:59:46] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09a50d0012d181f400721b080004900d625..."} 
[2026-08-05 11:59:46] local.INFO: Packet analysis {"connection_id":148379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09a"} 
[2026-08-05 11:59:46] local.INFO: Extracted packet for processing {"connection_id":148379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09a"} 
[2026-08-05 11:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 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-08-05 11:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193262336001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785911202000,"timestamp_ms":1785911202000,"timestamp_seconds":1785911202,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09a50d0"} 
[2026-08-05 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-08-05 11:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-05 11:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 11:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 11:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 11:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 11:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193262336001,"66":12211,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 11:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 11:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 11:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193262336001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:59:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 11:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 11:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 11:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193262336001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 11:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":148379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:59:46] local.INFO: GPS data processed {"connection_id":148379,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:59:46] local.INFO: Acknowledgment sent {"connection_id":148379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 11:59:52] local.INFO: TCP Data received {"connection_id":148598,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:59:52] local.INFO: Processing buffer {"connection_id":148598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 11:59:52] local.INFO: Packet analysis {"connection_id":148598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 11:59:52] local.INFO: Extracted packet for processing {"connection_id":148598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 11:59:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 11:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 11:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193207808001,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 11:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 11:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785911269000,"timestamp_ms":1785911269000,"timestamp_seconds":1785911269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b5688"} 
[2026-08-05 11:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 11:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 11:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 11:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 11:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 11:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 11:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 11:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 11:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 11:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 11:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 11:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 11:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193207808001,"66":25647,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 11:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 11:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 11:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193207808001,"description":"Unknown IO ID 0"} 
[2026-08-05 11:59:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 11:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 11:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 11:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 11:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193207808001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 11:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":148598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 11:59:52] local.INFO: GPS data processed {"connection_id":148598,"processed":1,"errors":0,"total":1} 
[2026-08-05 11:59:52] local.INFO: Acknowledgment sent {"connection_id":148598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:00:15] local.INFO: TCP Data received {"connection_id":149603,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:00:15] local.INFO: Processing buffer {"connection_id":149603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:00:15] local.INFO: IMEI packet received {"connection_id":149603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":149603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:00:17] local.INFO: TCP Data received {"connection_id":148379,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09aa2d8012d181f400721b080004900d626..."} 
[2026-08-05 12:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09aa2d8012d181f400721b080004900d626..."} 
[2026-08-05 12:00:17] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09aa2d8012d181f400721b080004900d626..."} 
[2026-08-05 12:00:17] local.INFO: Packet analysis {"connection_id":148379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09a"} 
[2026-08-05 12:00:17] local.INFO: Extracted packet for processing {"connection_id":148379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09a"} 
[2026-08-05 12:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193267712001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785911223000,"timestamp_ms":1785911223000,"timestamp_seconds":1785911223,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09aa2d8"} 
[2026-08-05 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-08-05 12:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 12:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193267712001,"66":12156,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193267712001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:00:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193267712001,"power":12156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":148379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:00:17] local.INFO: GPS data processed {"connection_id":148379,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:00:17] local.INFO: Acknowledgment sent {"connection_id":148379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:00:20] local.INFO: TCP Data received {"connection_id":149603,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:00:20] local.INFO: Processing buffer {"connection_id":149603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:00:20] local.INFO: IMEI packet received {"connection_id":149603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":149603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:00:22] local.INFO: TCP Data received {"connection_id":149603,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:00:22] local.INFO: Processing buffer {"connection_id":149603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:00:22] local.INFO: Packet analysis {"connection_id":149603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:00:22] local.INFO: Extracted packet for processing {"connection_id":149603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:00:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193207808001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785911269000,"timestamp_ms":1785911269000,"timestamp_seconds":1785911269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b5688"} 
[2026-08-05 12:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 12:00: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-08-05 12:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193207808001,"66":25647,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193207808001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:00:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:00:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193207808001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":149603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:00:22] local.INFO: GPS data processed {"connection_id":149603,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:00:22] local.INFO: Acknowledgment sent {"connection_id":149603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:00:45] local.INFO: TCP Data received {"connection_id":148380,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:00:45] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:00:45] local.INFO: IMEI packet received {"connection_id":148380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":148380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:00:50] local.INFO: TCP Data received {"connection_id":148380,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:00:50] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:00:50] local.INFO: IMEI packet received {"connection_id":148380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":148380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:00:51] local.INFO: TCP Data received {"connection_id":148380,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09af4e0012d181f400721b080004900d626..."} 
[2026-08-05 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09af4e0012d181f400721b080004900d626..."} 
[2026-08-05 12:00:51] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09af4e0012d181f400721b080004900d626..."} 
[2026-08-05 12:00:51] local.INFO: Packet analysis {"connection_id":148380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09a"} 
[2026-08-05 12:00:51] local.INFO: Extracted packet for processing {"connection_id":148380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09a"} 
[2026-08-05 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 12:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193273088001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785911244000,"timestamp_ms":1785911244000,"timestamp_seconds":1785911244,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09af4e0"} 
[2026-08-05 12:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 12:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193273088001,"66":12232,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193273088001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:00:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193273088001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":148380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:00:51] local.INFO: GPS data processed {"connection_id":148380,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:00:51] local.INFO: Acknowledgment sent {"connection_id":148380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:00:51] local.INFO: TCP Data received {"connection_id":148380,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b46e8012d181f400721b080004900d624..."} 
[2026-08-05 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b46e8012d181f400721b080004900d624..."} 
[2026-08-05 12:00:51] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b46e8012d181f400721b080004900d624..."} 
[2026-08-05 12:00:51] local.INFO: Packet analysis {"connection_id":148380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:00:51] local.INFO: Extracted packet for processing {"connection_id":148380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 12:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193278464001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785911265000,"timestamp_ms":1785911265000,"timestamp_seconds":1785911265,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b46e8"} 
[2026-08-05 12:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 12:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193278464001,"66":12156,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193278464001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:00:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193278464001,"power":12156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":148380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:00:52] local.INFO: GPS data processed {"connection_id":148380,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:00:52] local.INFO: Acknowledgment sent {"connection_id":148380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:00:58] local.INFO: TCP Data received {"connection_id":149603,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:00:58] local.INFO: Processing buffer {"connection_id":149603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:00:58] local.INFO: Packet analysis {"connection_id":149603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:00:58] local.INFO: Extracted packet for processing {"connection_id":149603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193207808001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785911269000,"timestamp_ms":1785911269000,"timestamp_seconds":1785911269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b5688"} 
[2026-08-05 12:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 12:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193207808001,"66":25647,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193207808001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:00:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193207808001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":149603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:00:58] local.INFO: GPS data processed {"connection_id":149603,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:00:58] local.INFO: Acknowledgment sent {"connection_id":149603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:01:15] local.INFO: TCP Data received {"connection_id":148599,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:01:15] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:01:15] local.INFO: IMEI packet received {"connection_id":148599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":148599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:01:20] local.INFO: TCP Data received {"connection_id":148599,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:01:20] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:01:20] local.INFO: IMEI packet received {"connection_id":148599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":148599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:01:21] local.INFO: TCP Data received {"connection_id":148599,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:01:21] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:01:21] local.INFO: Packet analysis {"connection_id":148599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:01:21] local.INFO: Extracted packet for processing {"connection_id":148599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193207808001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785911269000,"timestamp_ms":1785911269000,"timestamp_seconds":1785911269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b5688"} 
[2026-08-05 12:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:01: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-08-05 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 12:01: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-08-05 12:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193207808001,"66":25647,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193207808001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:01:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193207808001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":148599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:01:21] local.INFO: GPS data processed {"connection_id":148599,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:01:21] local.INFO: Acknowledgment sent {"connection_id":148599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:01:23] local.INFO: TCP Data received {"connection_id":148380,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b98f0012d181f400721b080004900d624..."} 
[2026-08-05 12:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b98f0012d181f400721b080004900d624..."} 
[2026-08-05 12:01:23] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b98f0012d181f400721b080004900d624..."} 
[2026-08-05 12:01:23] local.INFO: Packet analysis {"connection_id":148380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:01:23] local.INFO: Extracted packet for processing {"connection_id":148380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 12:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193283840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785911286000,"timestamp_ms":1785911286000,"timestamp_seconds":1785911286,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b98f0"} 
[2026-08-05 12:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 12:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193283840001,"66":12254,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193283840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:01:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193283840001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":148380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:01:23] local.INFO: GPS data processed {"connection_id":148380,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:01:23] local.INFO: Acknowledgment sent {"connection_id":148380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:01:40] local.INFO: TCP Data received {"connection_id":149604,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:01:40] local.INFO: Processing buffer {"connection_id":149604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:01:40] local.INFO: IMEI packet received {"connection_id":149604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":149604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:01:45] local.INFO: TCP Data received {"connection_id":149604,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:01:45] local.INFO: Processing buffer {"connection_id":149604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:01:45] local.INFO: IMEI packet received {"connection_id":149604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":149604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:01:46] local.INFO: TCP Data received {"connection_id":149604,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09beaf8012d181f400721b080004900d623..."} 
[2026-08-05 12:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09beaf8012d181f400721b080004900d623..."} 
[2026-08-05 12:01:46] local.INFO: Processing buffer {"connection_id":149604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09beaf8012d181f400721b080004900d623..."} 
[2026-08-05 12:01:46] local.INFO: Packet analysis {"connection_id":149604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:01:46] local.INFO: Extracted packet for processing {"connection_id":149604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":35,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 12:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193289216001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785911307000,"timestamp_ms":1785911307000,"timestamp_seconds":1785911307,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09beaf8"} 
[2026-08-05 12:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-05 12:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193289216001,"66":12265,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193289216001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:01:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193289216001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":149604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:01:46] local.INFO: GPS data processed {"connection_id":149604,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:01:46] local.INFO: Acknowledgment sent {"connection_id":149604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:01:53] local.INFO: TCP Data received {"connection_id":148599,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:01:53] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:01:53] local.INFO: Packet analysis {"connection_id":148599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:01:53] local.INFO: Extracted packet for processing {"connection_id":148599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:01:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193207808001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785911269000,"timestamp_ms":1785911269000,"timestamp_seconds":1785911269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b5688"} 
[2026-08-05 12:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 12:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193207808001,"66":25647,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193207808001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:01:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:01:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193207808001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":148599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:01:53] local.INFO: GPS data processed {"connection_id":148599,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:01:53] local.INFO: Acknowledgment sent {"connection_id":148599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:02:17] local.INFO: TCP Data received {"connection_id":149604,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09c3d00012d181f400721b080004900d625..."} 
[2026-08-05 12:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09c3d00012d181f400721b080004900d625..."} 
[2026-08-05 12:02:17] local.INFO: Processing buffer {"connection_id":149604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09c3d00012d181f400721b080004900d625..."} 
[2026-08-05 12:02:17] local.INFO: Packet analysis {"connection_id":149604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09c"} 
[2026-08-05 12:02:17] local.INFO: Extracted packet for processing {"connection_id":149604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09c"} 
[2026-08-05 12:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 12:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193294592001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785911328000,"timestamp_ms":1785911328000,"timestamp_seconds":1785911328,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09c3d00"} 
[2026-08-05 12:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 12:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193294592001,"66":12232,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193294592001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:02:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193294592001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":149604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:02:17] local.INFO: GPS data processed {"connection_id":149604,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:02:17] local.INFO: Acknowledgment sent {"connection_id":149604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:02:21] local.INFO: TCP Data received {"connection_id":149605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:02:21] local.INFO: Processing buffer {"connection_id":149605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:02:21] local.INFO: IMEI packet received {"connection_id":149605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":149605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:02:25] local.INFO: TCP Data received {"connection_id":149605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:02:25] local.INFO: Processing buffer {"connection_id":149605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:02:25] local.INFO: IMEI packet received {"connection_id":149605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":149605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:02:30] local.INFO: TCP Data received {"connection_id":149605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:02:30] local.INFO: Processing buffer {"connection_id":149605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:02:30] local.INFO: Packet analysis {"connection_id":149605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:02:30] local.INFO: Extracted packet for processing {"connection_id":149605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193207808001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785911269000,"timestamp_ms":1785911269000,"timestamp_seconds":1785911269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b5688"} 
[2026-08-05 12:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 12:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193207808001,"66":25647,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193207808001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:02:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193207808001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":149605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:02:30] local.INFO: GPS data processed {"connection_id":149605,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:02:30] local.INFO: Acknowledgment sent {"connection_id":149605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:02:36] local.INFO: TCP Data received {"connection_id":149605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:02:36] local.INFO: Processing buffer {"connection_id":149605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:02:36] local.INFO: Packet analysis {"connection_id":149605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:02:36] local.INFO: Extracted packet for processing {"connection_id":149605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:02:36] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193207808001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785911269000,"timestamp_ms":1785911269000,"timestamp_seconds":1785911269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b5688"} 
[2026-08-05 12:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 12:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":149605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":149605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":149605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193207808001,"66":25647,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193207808001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:02:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:02:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193207808001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":149605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:02:36] local.INFO: GPS data processed {"connection_id":149605,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:02:36] local.INFO: Acknowledgment sent {"connection_id":149605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:02:40] local.INFO: TCP Data received {"connection_id":148381,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:02:40] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:02:40] local.INFO: IMEI packet received {"connection_id":148381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":148381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:02:45] local.INFO: TCP Data received {"connection_id":148381,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:02:45] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:02:45] local.INFO: IMEI packet received {"connection_id":148381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":148381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:02:45] local.INFO: TCP Data received {"connection_id":148381,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09c8f08012d181f400721b080004900d625..."} 
[2026-08-05 12:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09c8f08012d181f400721b080004900d625..."} 
[2026-08-05 12:02:45] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09c8f08012d181f400721b080004900d625..."} 
[2026-08-05 12:02:45] local.INFO: Packet analysis {"connection_id":148381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09c"} 
[2026-08-05 12:02:45] local.INFO: Extracted packet for processing {"connection_id":148381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09c"} 
[2026-08-05 12:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193299968001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785911349000,"timestamp_ms":1785911349000,"timestamp_seconds":1785911349,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09c8f08"} 
[2026-08-05 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-08-05 12:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 12:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193299968001,"66":12254,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193299968001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:02:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193299968001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":148381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:02:45] local.INFO: GPS data processed {"connection_id":148381,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:02:45] local.INFO: Acknowledgment sent {"connection_id":148381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:03:15] local.INFO: TCP Data received {"connection_id":148600,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:03:15] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:03:15] local.INFO: IMEI packet received {"connection_id":148600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":148600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:03:16] local.INFO: TCP Data received {"connection_id":148381,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09ce110012d181f400721b080004900d624..."} 
[2026-08-05 12:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09ce110012d181f400721b080004900d624..."} 
[2026-08-05 12:03:16] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09ce110012d181f400721b080004900d624..."} 
[2026-08-05 12:03:16] local.INFO: Packet analysis {"connection_id":148381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09c"} 
[2026-08-05 12:03:16] local.INFO: Extracted packet for processing {"connection_id":148381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09c"} 
[2026-08-05 12:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 12:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193305344001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785911370000,"timestamp_ms":1785911370000,"timestamp_seconds":1785911370,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09ce110"} 
[2026-08-05 12:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-05 12:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193305344001,"66":12287,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193305344001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:03:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193305344001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":148381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:03:16] local.INFO: GPS data processed {"connection_id":148381,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:03:16] local.INFO: Acknowledgment sent {"connection_id":148381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:03:20] local.INFO: TCP Data received {"connection_id":148600,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:03:20] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:03:20] local.INFO: IMEI packet received {"connection_id":148600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":148600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:03:31] local.INFO: TCP Data received {"connection_id":148600,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:03:31] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09b5688012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 12:03:31] local.INFO: Packet analysis {"connection_id":148600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:03:31] local.INFO: Extracted packet for processing {"connection_id":148600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09b"} 
[2026-08-05 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193207808001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785911269000,"timestamp_ms":1785911269000,"timestamp_seconds":1785911269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09b5688"} 
[2026-08-05 12:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 12:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193207808001,"66":25647,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193207808001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:03:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193207808001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":148600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:03:31] local.INFO: GPS data processed {"connection_id":148600,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:03:31] local.INFO: Acknowledgment sent {"connection_id":148600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:03:38] local.INFO: TCP Data received {"connection_id":148382,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:03:38] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:03:38] local.INFO: IMEI packet received {"connection_id":148382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":148382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:03:40] local.INFO: TCP Data received {"connection_id":148382,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:03:40] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:03:40] local.INFO: IMEI packet received {"connection_id":148382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":148382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:03:45] local.INFO: TCP Data received {"connection_id":148382,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:03:45] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:03:45] local.INFO: IMEI packet received {"connection_id":148382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":148382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:03:46] local.INFO: TCP Data received {"connection_id":148382,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09d3318012d181f400721b080004900d624..."} 
[2026-08-05 12:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09d3318012d181f400721b080004900d624..."} 
[2026-08-05 12:03:46] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09d3318012d181f400721b080004900d624..."} 
[2026-08-05 12:03:46] local.INFO: Packet analysis {"connection_id":148382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09d"} 
[2026-08-05 12:03:46] local.INFO: Extracted packet for processing {"connection_id":148382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09d"} 
[2026-08-05 12:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193310720001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785911391000,"timestamp_ms":1785911391000,"timestamp_seconds":1785911391,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09d3318"} 
[2026-08-05 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-08-05 12:03: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-08-05 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193310720001,"66":12254,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193310720001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:03:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193310720001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":148382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:03:46] local.INFO: GPS data processed {"connection_id":148382,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:03:46] local.INFO: Acknowledgment sent {"connection_id":148382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:04:15] local.INFO: TCP Data received {"connection_id":149606,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:04:15] local.INFO: Processing buffer {"connection_id":149606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:04:15] local.INFO: IMEI packet received {"connection_id":149606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":149606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:04:17] local.INFO: TCP Data received {"connection_id":148382,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09d8520012d181f400721b080004900d623..."} 
[2026-08-05 12:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09d8520012d181f400721b080004900d623..."} 
[2026-08-05 12:04:17] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09d8520012d181f400721b080004900d623..."} 
[2026-08-05 12:04:17] local.INFO: Packet analysis {"connection_id":148382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09d"} 
[2026-08-05 12:04:17] local.INFO: Extracted packet for processing {"connection_id":148382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09d"} 
[2026-08-05 12:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":35,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 12:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193316096001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785911412000,"timestamp_ms":1785911412000,"timestamp_seconds":1785911412,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09d8520"} 
[2026-08-05 12:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-05 12:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193316096001,"66":12287,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193316096001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:04:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193316096001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":148382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:04:17] local.INFO: GPS data processed {"connection_id":148382,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:04:17] local.INFO: Acknowledgment sent {"connection_id":148382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:04:20] local.INFO: TCP Data received {"connection_id":149606,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:04:20] local.INFO: Processing buffer {"connection_id":149606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:04:20] local.INFO: IMEI packet received {"connection_id":149606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":149606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:04:21] local.INFO: TCP Data received {"connection_id":149606,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:04:21] local.INFO: Processing buffer {"connection_id":149606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:04:21] local.INFO: Packet analysis {"connection_id":149606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:04:21] local.INFO: Extracted packet for processing {"connection_id":149606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:04:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193284864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785911570000,"timestamp_ms":1785911570000,"timestamp_seconds":1785911570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09fee50"} 
[2026-08-05 12:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"data_length":795,"current_offset":136} 
[2026-08-05 12:04: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-08-05 12: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-08-05 12:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193284864001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193284864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:04:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193284864001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":149606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:04:21] local.INFO: GPS data processed {"connection_id":149606,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:04:21] local.INFO: Acknowledgment sent {"connection_id":149606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:04:40] local.INFO: TCP Data received {"connection_id":151007,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:04:40] local.INFO: Processing buffer {"connection_id":151007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:04:40] local.INFO: IMEI packet received {"connection_id":151007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":151007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:04:41] local.INFO: TCP Data received {"connection_id":151007,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:04:41] local.INFO: Processing buffer {"connection_id":151007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:04:41] local.INFO: IMEI packet received {"connection_id":151007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":151007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:04:45] local.INFO: TCP Data received {"connection_id":151007,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:04:45] local.INFO: Processing buffer {"connection_id":151007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:04:45] local.INFO: IMEI packet received {"connection_id":151007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":151007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:04:45] local.INFO: TCP Data received {"connection_id":151007,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09dd728012d181f400721b080004900d622..."} 
[2026-08-05 12:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09dd728012d181f400721b080004900d622..."} 
[2026-08-05 12:04:45] local.INFO: Processing buffer {"connection_id":151007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09dd728012d181f400721b080004900d622..."} 
[2026-08-05 12:04:45] local.INFO: Packet analysis {"connection_id":151007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09d"} 
[2026-08-05 12:04:45] local.INFO: Extracted packet for processing {"connection_id":151007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09d"} 
[2026-08-05 12:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":34,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193321472001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785911433000,"timestamp_ms":1785911433000,"timestamp_seconds":1785911433,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09dd728"} 
[2026-08-05 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-08-05 12:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193321472001,"66":12287,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193321472001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:04:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193321472001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":151007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:04:46] local.INFO: GPS data processed {"connection_id":151007,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:04:46] local.INFO: Acknowledgment sent {"connection_id":151007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:04:53] local.INFO: TCP Data received {"connection_id":149606,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:04:53] local.INFO: Processing buffer {"connection_id":149606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:04:53] local.INFO: Packet analysis {"connection_id":149606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:04:53] local.INFO: Extracted packet for processing {"connection_id":149606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:04:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193284864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785911570000,"timestamp_ms":1785911570000,"timestamp_seconds":1785911570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09fee50"} 
[2026-08-05 12:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 12:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193284864001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193284864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:04:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:04:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193284864001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":149606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:04:53] local.INFO: GPS data processed {"connection_id":149606,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:04:53] local.INFO: Acknowledgment sent {"connection_id":149606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:05:17] local.INFO: TCP Data received {"connection_id":151007,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09e2930012d181f400721b080004900d624..."} 
[2026-08-05 12:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09e2930012d181f400721b080004900d624..."} 
[2026-08-05 12:05:17] local.INFO: Processing buffer {"connection_id":151007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09e2930012d181f400721b080004900d624..."} 
[2026-08-05 12:05:17] local.INFO: Packet analysis {"connection_id":151007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09e"} 
[2026-08-05 12:05:17] local.INFO: Extracted packet for processing {"connection_id":151007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09e"} 
[2026-08-05 12:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193326848001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785911454000,"timestamp_ms":1785911454000,"timestamp_seconds":1785911454,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09e2930"} 
[2026-08-05 12:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193326848001,"66":12287,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193326848001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:05:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193326848001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":151007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:05:17] local.INFO: GPS data processed {"connection_id":151007,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:05:17] local.INFO: Acknowledgment sent {"connection_id":151007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:05:20] local.INFO: TCP Data received {"connection_id":148383,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:05:20] local.INFO: Processing buffer {"connection_id":148383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:05:20] local.INFO: IMEI packet received {"connection_id":148383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":148383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:05:25] local.INFO: TCP Data received {"connection_id":148383,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:05:25] local.INFO: Processing buffer {"connection_id":148383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:05:25] local.INFO: IMEI packet received {"connection_id":148383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":148383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:05:26] local.INFO: TCP Data received {"connection_id":148383,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:05:26] local.INFO: Processing buffer {"connection_id":148383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:05:26] local.INFO: Packet analysis {"connection_id":148383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:05:26] local.INFO: Extracted packet for processing {"connection_id":148383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193284864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785911570000,"timestamp_ms":1785911570000,"timestamp_seconds":1785911570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09fee50"} 
[2026-08-05 12:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 12:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193284864001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193284864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:05:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193284864001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":148383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:05:26] local.INFO: GPS data processed {"connection_id":148383,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:05:26] local.INFO: Acknowledgment sent {"connection_id":148383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:05:31] local.INFO: TCP Data received {"connection_id":148383,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:05:31] local.INFO: Processing buffer {"connection_id":148383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:05:31] local.INFO: Packet analysis {"connection_id":148383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:05:31] local.INFO: Extracted packet for processing {"connection_id":148383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193284864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785911570000,"timestamp_ms":1785911570000,"timestamp_seconds":1785911570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09fee50"} 
[2026-08-05 12:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 12:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193284864001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193284864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:05:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193284864001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":148383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:05:31] local.INFO: GPS data processed {"connection_id":148383,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:05:31] local.INFO: Acknowledgment sent {"connection_id":148383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:05:40] local.INFO: TCP Data received {"connection_id":151008,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:05:40] local.INFO: Processing buffer {"connection_id":151008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:05:40] local.INFO: IMEI packet received {"connection_id":151008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":151008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:05:44] local.INFO: TCP Data received {"connection_id":151008,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:05:44] local.INFO: Processing buffer {"connection_id":151008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:05:44] local.INFO: IMEI packet received {"connection_id":151008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":151008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:05:45] local.INFO: TCP Data received {"connection_id":151008,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09e7b38012d181f400721b080004900d627..."} 
[2026-08-05 12:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09e7b38012d181f400721b080004900d627..."} 
[2026-08-05 12:05:45] local.INFO: Processing buffer {"connection_id":151008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09e7b38012d181f400721b080004900d627..."} 
[2026-08-05 12:05:45] local.INFO: Packet analysis {"connection_id":151008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09e"} 
[2026-08-05 12:05:45] local.INFO: Extracted packet for processing {"connection_id":151008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09e"} 
[2026-08-05 12:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648384,"longitude_deg":75.6555584,"latitude_deg":11.9648384,"altitude":73,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b080","is_valid_coordinates":true} 
[2026-08-05 12:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193332224001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607516954132480,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785911475000,"timestamp_ms":1785911475000,"timestamp_seconds":1785911475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09e7b38"} 
[2026-08-05 12:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193332224001,"66":12287,"105":206,"83":41984,"24":0,"16":10607516954132480,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193332224001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:05:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607516954132480,"km_value":10607516954132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193332224001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":151008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:05:45] local.INFO: GPS data processed {"connection_id":151008,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:05:45] local.INFO: Acknowledgment sent {"connection_id":151008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:06:15] local.INFO: TCP Data received {"connection_id":149607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:06:15] local.INFO: Processing buffer {"connection_id":149607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:06:15] local.INFO: IMEI packet received {"connection_id":149607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":149607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:06:16] local.INFO: TCP Data received {"connection_id":151008,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09ecd40012d181e800721aff0004c00d526..."} 
[2026-08-05 12:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09ecd40012d181e800721aff0004c00d526..."} 
[2026-08-05 12:06:16] local.INFO: Processing buffer {"connection_id":151008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09ecd40012d181e800721aff0004c00d526..."} 
[2026-08-05 12:06:16] local.INFO: Packet analysis {"connection_id":151008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09e"} 
[2026-08-05 12:06:16] local.INFO: Extracted packet for processing {"connection_id":151008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09e"} 
[2026-08-05 12:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193337600001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562464768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785911496000,"timestamp_ms":1785911496000,"timestamp_seconds":1785911496,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09ecd40"} 
[2026-08-05 12:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193337600001,"66":12287,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1738178380562464768},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193337600001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:06:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562464768,"description":"Unknown IO ID 45"} 
[2026-08-05 12:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193337600001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562464768}} 
[2026-08-05 12:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":151008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:06:16] local.INFO: GPS data processed {"connection_id":151008,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:06:16] local.INFO: Acknowledgment sent {"connection_id":151008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:06:20] local.INFO: TCP Data received {"connection_id":149607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:06:20] local.INFO: Processing buffer {"connection_id":149607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:06:20] local.INFO: IMEI packet received {"connection_id":149607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":149607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:06:21] local.INFO: TCP Data received {"connection_id":149607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:06:21] local.INFO: Processing buffer {"connection_id":149607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:06:21] local.INFO: Packet analysis {"connection_id":149607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:06:21] local.INFO: Extracted packet for processing {"connection_id":149607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193284864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785911570000,"timestamp_ms":1785911570000,"timestamp_seconds":1785911570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09fee50"} 
[2026-08-05 12:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:06: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-08-05 12:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 12:06: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-08-05 12:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:06: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-08-05 12:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193284864001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193284864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:06:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193284864001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":149607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:06:21] local.INFO: GPS data processed {"connection_id":149607,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:06:21] local.INFO: Acknowledgment sent {"connection_id":149607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:06:40] local.INFO: TCP Data received {"connection_id":149608,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:06:40] local.INFO: Processing buffer {"connection_id":149608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:06:40] local.INFO: IMEI packet received {"connection_id":149608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":149608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:06:45] local.INFO: TCP Data received {"connection_id":149608,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:06:45] local.INFO: Processing buffer {"connection_id":149608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:06:45] local.INFO: IMEI packet received {"connection_id":149608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":149608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:06:46] local.INFO: TCP Data received {"connection_id":149608,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09f1f48012d181e800721aff0004c00d524..."} 
[2026-08-05 12:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09f1f48012d181e800721aff0004c00d524..."} 
[2026-08-05 12:06:46] local.INFO: Processing buffer {"connection_id":149608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09f1f48012d181e800721aff0004c00d524..."} 
[2026-08-05 12:06:46] local.INFO: Packet analysis {"connection_id":149608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:06:46] local.INFO: Extracted packet for processing {"connection_id":149608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193342976001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785911517000,"timestamp_ms":1785911517000,"timestamp_seconds":1785911517,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09f1f48"} 
[2026-08-05 12:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193342976001,"66":12287,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193342976001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:06:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193342976001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":149608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:06:46] local.INFO: GPS data processed {"connection_id":149608,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:06:46] local.INFO: Acknowledgment sent {"connection_id":149608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:06:52] local.INFO: TCP Data received {"connection_id":149607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:06:52] local.INFO: Processing buffer {"connection_id":149607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:06:52] local.INFO: Packet analysis {"connection_id":149607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:06:52] local.INFO: Extracted packet for processing {"connection_id":149607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193284864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785911570000,"timestamp_ms":1785911570000,"timestamp_seconds":1785911570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09fee50"} 
[2026-08-05 12:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 12:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193284864001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193284864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:06:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193284864001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":149607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:06:52] local.INFO: GPS data processed {"connection_id":149607,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:06:52] local.INFO: Acknowledgment sent {"connection_id":149607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:07:15] local.INFO: TCP Data received {"connection_id":148601,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:07:15] local.INFO: Processing buffer {"connection_id":148601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:07:15] local.INFO: IMEI packet received {"connection_id":148601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":148601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:07:17] local.INFO: TCP Data received {"connection_id":149608,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a2a5a0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a2a5a0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:07:17] local.INFO: Processing buffer {"connection_id":149608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a2a5a0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:07:17] local.INFO: Packet analysis {"connection_id":149608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a2"} 
[2026-08-05 12:07:17] local.INFO: Extracted packet for processing {"connection_id":149608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a2"} 
[2026-08-05 12:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193402112001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785911748000,"timestamp_ms":1785911748000,"timestamp_seconds":1785911748,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a2a5a0"} 
[2026-08-05 12:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193402112001,"66":12287,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193402112001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:07:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193402112001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":149608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:07:17] local.INFO: GPS data processed {"connection_id":149608,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:07:17] local.INFO: Acknowledgment sent {"connection_id":149608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:07:20] local.INFO: TCP Data received {"connection_id":148601,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:07:20] local.INFO: Processing buffer {"connection_id":148601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:07:20] local.INFO: IMEI packet received {"connection_id":148601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":148601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:07:22] local.INFO: TCP Data received {"connection_id":148601,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:07:22] local.INFO: Processing buffer {"connection_id":148601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:07:22] local.INFO: Packet analysis {"connection_id":148601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:07:22] local.INFO: Extracted packet for processing {"connection_id":148601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193284864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785911570000,"timestamp_ms":1785911570000,"timestamp_seconds":1785911570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09fee50"} 
[2026-08-05 12:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 12:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193284864001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193284864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:07:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193284864001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":148601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:07:22] local.INFO: GPS data processed {"connection_id":148601,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:07:22] local.INFO: Acknowledgment sent {"connection_id":148601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:07:40] local.INFO: TCP Data received {"connection_id":148384,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:07:40] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:07:40] local.INFO: IMEI packet received {"connection_id":148384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":148384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:07:45] local.INFO: TCP Data received {"connection_id":148384,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:07:45] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:07:45] local.INFO: IMEI packet received {"connection_id":148384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":148384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:07:45] local.INFO: TCP Data received {"connection_id":148384,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a2f7a8012d181e800721aff0004c00d524..."} 
[2026-08-05 12:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a2f7a8012d181e800721aff0004c00d524..."} 
[2026-08-05 12:07:45] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a2f7a8012d181e800721aff0004c00d524..."} 
[2026-08-05 12:07:45] local.INFO: Packet analysis {"connection_id":148384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a2"} 
[2026-08-05 12:07:45] local.INFO: Extracted packet for processing {"connection_id":148384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a2"} 
[2026-08-05 12:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193407488001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785911769000,"timestamp_ms":1785911769000,"timestamp_seconds":1785911769,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a2f7a8"} 
[2026-08-05 12:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193407488001,"66":12287,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193407488001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:07:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193407488001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":148384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:07:45] local.INFO: GPS data processed {"connection_id":148384,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:07:45] local.INFO: Acknowledgment sent {"connection_id":148384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:07:54] local.INFO: TCP Data received {"connection_id":148601,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:07:54] local.INFO: Processing buffer {"connection_id":148601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:07:54] local.INFO: Packet analysis {"connection_id":148601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:07:54] local.INFO: Extracted packet for processing {"connection_id":148601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193284864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785911570000,"timestamp_ms":1785911570000,"timestamp_seconds":1785911570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09fee50"} 
[2026-08-05 12:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 12:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193284864001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193284864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:07:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:07:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193284864001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":148601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:07:54] local.INFO: GPS data processed {"connection_id":148601,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:07:54] local.INFO: Acknowledgment sent {"connection_id":148601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:08:16] local.INFO: TCP Data received {"connection_id":148384,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a349b0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a349b0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:08:16] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a349b0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:08:16] local.INFO: Packet analysis {"connection_id":148384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a3"} 
[2026-08-05 12:08:16] local.INFO: Extracted packet for processing {"connection_id":148384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a3"} 
[2026-08-05 12:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193412864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785911790000,"timestamp_ms":1785911790000,"timestamp_seconds":1785911790,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a349b0"} 
[2026-08-05 12:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193412864001,"66":12287,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193412864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:08:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193412864001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":148384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:08:16] local.INFO: GPS data processed {"connection_id":148384,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:08:16] local.INFO: Acknowledgment sent {"connection_id":148384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:08:17] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:08:17] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:08:17] local.INFO: IMEI packet received {"connection_id":148602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":148602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:08:20] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:08:20] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:08:20] local.INFO: IMEI packet received {"connection_id":148602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":148602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:08:21] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:08:21] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd09fee50012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:08:21] local.INFO: Packet analysis {"connection_id":148602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:08:21] local.INFO: Extracted packet for processing {"connection_id":148602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd09f"} 
[2026-08-05 12:08:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193284864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785911570000,"timestamp_ms":1785911570000,"timestamp_seconds":1785911570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd09fee50"} 
[2026-08-05 12:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:08: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-08-05 12:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 12:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193284864001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193284864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:08:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193284864001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":148602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:08:21] local.INFO: GPS data processed {"connection_id":148602,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:08:21] local.INFO: Acknowledgment sent {"connection_id":148602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:08:40] local.INFO: TCP Data received {"connection_id":148603,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:08:40] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:08:40] local.INFO: IMEI packet received {"connection_id":148603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":148603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:08:45] local.INFO: TCP Data received {"connection_id":148603,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:08:45] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:08:45] local.INFO: IMEI packet received {"connection_id":148603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":148603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:08:46] local.INFO: TCP Data received {"connection_id":148603,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a39bb8012d181e800721aff0004c00d524..."} 
[2026-08-05 12:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a39bb8012d181e800721aff0004c00d524..."} 
[2026-08-05 12:08:46] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a39bb8012d181e800721aff0004c00d524..."} 
[2026-08-05 12:08:46] local.INFO: Packet analysis {"connection_id":148603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a3"} 
[2026-08-05 12:08:46] local.INFO: Extracted packet for processing {"connection_id":148603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a3"} 
[2026-08-05 12:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193418240001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785911811000,"timestamp_ms":1785911811000,"timestamp_seconds":1785911811,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a39bb8"} 
[2026-08-05 12:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:08: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-08-05 12:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193418240001,"66":12298,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193418240001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:08:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193418240001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":148603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:08:46] local.INFO: GPS data processed {"connection_id":148603,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:08:46] local.INFO: Acknowledgment sent {"connection_id":148603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:08:52] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:08:52] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:08:52] local.INFO: Packet analysis {"connection_id":148602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:08:52] local.INFO: Extracted packet for processing {"connection_id":148602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:08:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193361920001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785911871000,"timestamp_ms":1785911871000,"timestamp_seconds":1785911871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a48618"} 
[2026-08-05 12:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193361920001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193361920001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:08:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193361920001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":148602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:08:52] local.INFO: GPS data processed {"connection_id":148602,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:08:52] local.INFO: Acknowledgment sent {"connection_id":148602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:09:15] local.INFO: TCP Data received {"connection_id":151009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:09:15] local.INFO: Processing buffer {"connection_id":151009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:09:15] local.INFO: IMEI packet received {"connection_id":151009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":151009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:09:17] local.INFO: TCP Data received {"connection_id":148603,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a3edc0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a3edc0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:09:17] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a3edc0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:09:17] local.INFO: Packet analysis {"connection_id":148603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a3"} 
[2026-08-05 12:09:17] local.INFO: Extracted packet for processing {"connection_id":148603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a3"} 
[2026-08-05 12:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193423616001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785911832000,"timestamp_ms":1785911832000,"timestamp_seconds":1785911832,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a3edc0"} 
[2026-08-05 12:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:09: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-08-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":175,"raw_value":9079256848778919937,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3413344238213195746,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885277828939989,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":76,"raw_value":59991553434714112,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":43009,"corrected_to":0} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2723387393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2951741516,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143914,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2944270336,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:17] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,175,159,73,45,128,76,36,10,66,247,165,1,240,255,227,208,33,4,113,205,30,35,239,47,2,37,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":247,"original":43009,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 12:09:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476611497478062080,"timestamp_seconds":5476611497478062.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193423616001,"66":12298,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193423616001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:09:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193423616001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":148603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:09:17] local.INFO: GPS data processed {"connection_id":148603,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:09:17] local.INFO: Acknowledgment sent {"connection_id":148603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:09:20] local.INFO: TCP Data received {"connection_id":151009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:09:20] local.INFO: Processing buffer {"connection_id":151009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:09:20] local.INFO: IMEI packet received {"connection_id":151009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":151009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:09:22] local.INFO: TCP Data received {"connection_id":151009,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:09:22] local.INFO: Processing buffer {"connection_id":151009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:09:22] local.INFO: Packet analysis {"connection_id":151009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:09:22] local.INFO: Extracted packet for processing {"connection_id":151009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193361920001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785911871000,"timestamp_ms":1785911871000,"timestamp_seconds":1785911871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a48618"} 
[2026-08-05 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-08-05 12:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193361920001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193361920001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:09:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:09:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193361920001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":151009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:09:22] local.INFO: GPS data processed {"connection_id":151009,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:09:22] local.INFO: Acknowledgment sent {"connection_id":151009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:09:40] local.INFO: TCP Data received {"connection_id":148385,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:09:40] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:09:40] local.INFO: IMEI packet received {"connection_id":148385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":148385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:09:45] local.INFO: TCP Data received {"connection_id":148385,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:09:45] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:09:45] local.INFO: IMEI packet received {"connection_id":148385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":148385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:09:45] local.INFO: TCP Data received {"connection_id":148385,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a43fc8012d181e800721aff0004c00d525..."} 
[2026-08-05 12:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a43fc8012d181e800721aff0004c00d525..."} 
[2026-08-05 12:09:45] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a43fc8012d181e800721aff0004c00d525..."} 
[2026-08-05 12:09:45] local.INFO: Packet analysis {"connection_id":148385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:09:45] local.INFO: Extracted packet for processing {"connection_id":148385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193428992001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785911853000,"timestamp_ms":1785911853000,"timestamp_seconds":1785911853,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a43fc8"} 
[2026-08-05 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-08-05 12:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":175,"raw_value":9079256848778919937,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3413254043899979746,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885277828939989,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":76,"raw_value":59992652946341888,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471609757902,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":43009,"corrected_to":0} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2728763393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2951741516,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2944270336,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:45] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,175,159,155,45,128,76,36,10,66,73,247,1,240,255,227,208,33,4,113,205,30,239,47,2,37,7,34],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":247,"original":43009,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 12:09:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476611497478062080,"timestamp_seconds":5476611497478062.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 12:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193428992001,"66":12287,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193428992001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:09:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193428992001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":148385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:09:45] local.INFO: GPS data processed {"connection_id":148385,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:09:45] local.INFO: Acknowledgment sent {"connection_id":148385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:09:54] local.INFO: TCP Data received {"connection_id":151009,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:09:54] local.INFO: Processing buffer {"connection_id":151009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:09:54] local.INFO: Packet analysis {"connection_id":151009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:09:54] local.INFO: Extracted packet for processing {"connection_id":151009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193361920001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785911871000,"timestamp_ms":1785911871000,"timestamp_seconds":1785911871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a48618"} 
[2026-08-05 12:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193361920001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193361920001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:09:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:09:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193361920001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":151009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:09:54] local.INFO: GPS data processed {"connection_id":151009,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:09:54] local.INFO: Acknowledgment sent {"connection_id":151009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:10:16] local.INFO: TCP Data received {"connection_id":148385,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a491d0012d181e800721aff0004c00d525..."} 
[2026-08-05 12:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a491d0012d181e800721aff0004c00d525..."} 
[2026-08-05 12:10:16] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a491d0012d181e800721aff0004c00d525..."} 
[2026-08-05 12:10:16] local.INFO: Packet analysis {"connection_id":148385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:10:16] local.INFO: Extracted packet for processing {"connection_id":148385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:10:16] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193434368001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785911874000,"timestamp_ms":1785911874000,"timestamp_seconds":1785911874,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a491d0"} 
[2026-08-05 12:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193434368001,"66":12298,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193434368001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:10:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:10:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193434368001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":148385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:10:17] local.INFO: GPS data processed {"connection_id":148385,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:10:17] local.INFO: Acknowledgment sent {"connection_id":148385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:10:20] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:10:20] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:10:20] local.INFO: IMEI packet received {"connection_id":148604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":148604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:10:25] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:10:25] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:10:25] local.INFO: IMEI packet received {"connection_id":148604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":148604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:10:26] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:10:26] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:10:26] local.INFO: Packet analysis {"connection_id":148604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:10:26] local.INFO: Extracted packet for processing {"connection_id":148604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:10:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193361920001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785911871000,"timestamp_ms":1785911871000,"timestamp_seconds":1785911871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a48618"} 
[2026-08-05 12:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193361920001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193361920001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:10:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:10:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193361920001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":148604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:10:26] local.INFO: GPS data processed {"connection_id":148604,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:10:26] local.INFO: Acknowledgment sent {"connection_id":148604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:10:30] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:10:30] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:10:30] local.INFO: Packet analysis {"connection_id":148604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:10:30] local.INFO: Extracted packet for processing {"connection_id":148604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193361920001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785911871000,"timestamp_ms":1785911871000,"timestamp_seconds":1785911871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a48618"} 
[2026-08-05 12:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193361920001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193361920001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:10:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193361920001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":148604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:10:30] local.INFO: GPS data processed {"connection_id":148604,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:10:30] local.INFO: Acknowledgment sent {"connection_id":148604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:10:45] local.INFO: TCP Data received {"connection_id":151010,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:10:45] local.INFO: Processing buffer {"connection_id":151010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:10:45] local.INFO: IMEI packet received {"connection_id":151010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":151010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:10:50] local.INFO: TCP Data received {"connection_id":151010,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:10:50] local.INFO: Processing buffer {"connection_id":151010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:10:50] local.INFO: IMEI packet received {"connection_id":151010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":151010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:10:51] local.INFO: TCP Data received {"connection_id":151010,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a4e3d8012d181e800721aff0004c00d525..."} 
[2026-08-05 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a4e3d8012d181e800721aff0004c00d525..."} 
[2026-08-05 12:10:51] local.INFO: Processing buffer {"connection_id":151010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a4e3d8012d181e800721aff0004c00d525..."} 
[2026-08-05 12:10:51] local.INFO: Packet analysis {"connection_id":151010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:10:51] local.INFO: Extracted packet for processing {"connection_id":151010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193439744001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785911895000,"timestamp_ms":1785911895000,"timestamp_seconds":1785911895,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a4e3d8"} 
[2026-08-05 12:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":175,"raw_value":9079256848778919937,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3413073655273547746,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885277828939989,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":76,"raw_value":59993752457969664,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2944270336,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2739515393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2951741516,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 12:10:51] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2818649368,"corrected_to":0} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-05 12:10:51] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,105,83,24,241,157,16,175,159,63,45,128,76,37,10,66,237,36,155,1,240,227,208,33,4,113,205,247,30,239,47,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":247,"original":2818649368,"validated":0}]} 
[2026-08-05 12:10:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476611501773029376,"timestamp_seconds":5476611501773029.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193439744001,"66":12287,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193439744001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:10:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193439744001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":151010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:10:51] local.INFO: GPS data processed {"connection_id":151010,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:10:51] local.INFO: Acknowledgment sent {"connection_id":151010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:11:15] local.INFO: TCP Data received {"connection_id":148386,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:11:15] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:11:15] local.INFO: IMEI packet received {"connection_id":148386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":148386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:11:20] local.INFO: TCP Data received {"connection_id":148386,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:11:20] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:11:20] local.INFO: IMEI packet received {"connection_id":148386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":148386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:11:21] local.INFO: TCP Data received {"connection_id":148386,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:11:21] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:11:21] local.INFO: Packet analysis {"connection_id":148386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:11:21] local.INFO: Extracted packet for processing {"connection_id":148386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:11:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193361920001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785911871000,"timestamp_ms":1785911871000,"timestamp_seconds":1785911871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a48618"} 
[2026-08-05 12:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:11: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-08-05 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:11: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-08-05 12:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193361920001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193361920001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:11:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193361920001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":148386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:11:21] local.INFO: GPS data processed {"connection_id":148386,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:11:21] local.INFO: Acknowledgment sent {"connection_id":148386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:11:22] local.INFO: TCP Data received {"connection_id":151010,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a535e0012d181e800721aff0004c00d523..."} 
[2026-08-05 12:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a535e0012d181e800721aff0004c00d523..."} 
[2026-08-05 12:11:22] local.INFO: Processing buffer {"connection_id":151010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a535e0012d181e800721aff0004c00d523..."} 
[2026-08-05 12:11:22] local.INFO: Packet analysis {"connection_id":151010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a5"} 
[2026-08-05 12:11:22] local.INFO: Extracted packet for processing {"connection_id":151010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a5"} 
[2026-08-05 12:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":35,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193445120001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785911916000,"timestamp_ms":1785911916000,"timestamp_seconds":1785911916,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a535e0"} 
[2026-08-05 12:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193445120001,"66":12298,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193445120001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:11:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193445120001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":151010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:11:22] local.INFO: GPS data processed {"connection_id":151010,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:11:22] local.INFO: Acknowledgment sent {"connection_id":151010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:11:40] local.INFO: TCP Data received {"connection_id":148387,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:11:40] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:11:40] local.INFO: IMEI packet received {"connection_id":148387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":148387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:11:41] local.INFO: TCP Data received {"connection_id":148387,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:11:41] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:11:41] local.INFO: IMEI packet received {"connection_id":148387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":148387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:11:45] local.INFO: TCP Data received {"connection_id":148387,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:11:45] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:11:45] local.INFO: IMEI packet received {"connection_id":148387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":148387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:11:46] local.INFO: TCP Data received {"connection_id":148387,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a587e8012d181e800721aff0004c00d524..."} 
[2026-08-05 12:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a587e8012d181e800721aff0004c00d524..."} 
[2026-08-05 12:11:46] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a587e8012d181e800721aff0004c00d524..."} 
[2026-08-05 12:11:46] local.INFO: Packet analysis {"connection_id":148387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a5"} 
[2026-08-05 12:11:46] local.INFO: Extracted packet for processing {"connection_id":148387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a5"} 
[2026-08-05 12:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193450496001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785911937000,"timestamp_ms":1785911937000,"timestamp_seconds":1785911937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a587e8"} 
[2026-08-05 12:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:11: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-08-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":175,"raw_value":9079256848778919937,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3412893266647115746,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885277828939989,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":76,"raw_value":59993752457969664,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2944270336,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2750267393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2951741516,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:46] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,105,83,24,241,157,16,175,159,227,45,128,76,37,10,66,145,63,1,240,255,208,33,4,113,205,155,30,36,239,48,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 12:11:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476611493183094784,"timestamp_seconds":5476611493183095.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193450496001,"66":12298,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193450496001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:11:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193450496001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":148387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:11:46] local.INFO: GPS data processed {"connection_id":148387,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:11:46] local.INFO: Acknowledgment sent {"connection_id":148387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:11:50] local.INFO: TCP Data received {"connection_id":148387,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a5d9f0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a5d9f0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:11:50] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a5d9f0012d181e800721aff0004c00d524..."} 
[2026-08-05 12:11:50] local.INFO: Packet analysis {"connection_id":148387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a5"} 
[2026-08-05 12:11:50] local.INFO: Extracted packet for processing {"connection_id":148387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a5"} 
[2026-08-05 12:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193455872001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785911958000,"timestamp_ms":1785911958000,"timestamp_seconds":1785911958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a5d9f0"} 
[2026-08-05 12:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":175,"raw_value":9079256848778919937,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3412803072333899746,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885277828939989,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":76,"raw_value":59993752457969664,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2944270336,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2755643393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2951741516,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:50] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,105,83,24,241,157,16,175,159,53,45,128,76,35,10,66,227,37,145,1,240,208,33,4,113,205,237,30,36,239,48,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 12:11:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476611497478062080,"timestamp_seconds":5476611497478062.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193455872001,"66":12298,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193455872001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:11:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193455872001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":148387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:11:50] local.INFO: GPS data processed {"connection_id":148387,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:11:50] local.INFO: Acknowledgment sent {"connection_id":148387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:11:53] local.INFO: TCP Data received {"connection_id":148386,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:11:53] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:11:53] local.INFO: Packet analysis {"connection_id":148386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:11:53] local.INFO: Extracted packet for processing {"connection_id":148386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:11:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193361920001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785911871000,"timestamp_ms":1785911871000,"timestamp_seconds":1785911871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a48618"} 
[2026-08-05 12:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193361920001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193361920001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:11:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:11:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193361920001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":148386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:11:53] local.INFO: GPS data processed {"connection_id":148386,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:11:53] local.INFO: Acknowledgment sent {"connection_id":148386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:12:15] local.INFO: TCP Data received {"connection_id":148605,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:12:15] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:12:15] local.INFO: IMEI packet received {"connection_id":148605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":148605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:12:20] local.INFO: TCP Data received {"connection_id":148605,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:12:20] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:12:20] local.INFO: IMEI packet received {"connection_id":148605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":148605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:12:21] local.INFO: TCP Data received {"connection_id":148605,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:12:21] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:12:21] local.INFO: Packet analysis {"connection_id":148605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:12:21] local.INFO: Extracted packet for processing {"connection_id":148605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:12:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193361920001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785911871000,"timestamp_ms":1785911871000,"timestamp_seconds":1785911871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a48618"} 
[2026-08-05 12:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:12: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-08-05 12:12: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":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193361920001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193361920001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:12:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193361920001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":148605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:12:21] local.INFO: GPS data processed {"connection_id":148605,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:12:21] local.INFO: Acknowledgment sent {"connection_id":148605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:12:21] local.INFO: TCP Data received {"connection_id":148387,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a62bf8012d181e800721aff0004c00d520..."} 
[2026-08-05 12:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a62bf8012d181e800721aff0004c00d520..."} 
[2026-08-05 12:12:21] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a62bf8012d181e800721aff0004c00d520..."} 
[2026-08-05 12:12:21] local.INFO: Packet analysis {"connection_id":148387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a6"} 
[2026-08-05 12:12:21] local.INFO: Extracted packet for processing {"connection_id":148387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a6"} 
[2026-08-05 12:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":32,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193461248001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785911979000,"timestamp_ms":1785911979000,"timestamp_seconds":1785911979,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a62bf8"} 
[2026-08-05 12:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:12: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-08-05 12:12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":175,"raw_value":9079256848778919937,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3412712878020683746,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885277828939989,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":76,"raw_value":59993752457969664,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2761019393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2951741516,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2944270336,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:21] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,175,159,135,45,128,76,36,10,66,53,35,227,1,240,255,208,33,4,113,205,63,30,37,239,47,2,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 12:12:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476611497478062080,"timestamp_seconds":5476611497478062.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193461248001,"66":12287,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193461248001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:12:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193461248001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":148387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:12:21] local.INFO: GPS data processed {"connection_id":148387,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:12:21] local.INFO: Acknowledgment sent {"connection_id":148387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:12:40] local.INFO: TCP Data received {"connection_id":151011,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:12:40] local.INFO: Processing buffer {"connection_id":151011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:12:40] local.INFO: IMEI packet received {"connection_id":151011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":151011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:12:44] local.INFO: TCP Data received {"connection_id":151011,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:12:44] local.INFO: Processing buffer {"connection_id":151011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:12:44] local.INFO: IMEI packet received {"connection_id":151011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":151011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:12:45] local.INFO: TCP Data received {"connection_id":151011,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a67e00012d181e800721aff0004c00d51e..."} 
[2026-08-05 12:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a67e00012d181e800721aff0004c00d51e..."} 
[2026-08-05 12:12:45] local.INFO: Processing buffer {"connection_id":151011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a67e00012d181e800721aff0004c00d51e..."} 
[2026-08-05 12:12:45] local.INFO: Packet analysis {"connection_id":151011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a6"} 
[2026-08-05 12:12:45] local.INFO: Extracted packet for processing {"connection_id":151011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a6"} 
[2026-08-05 12:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":30,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193466624001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12: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-08-05 12:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785912000000,"timestamp_ms":1785912000000,"timestamp_seconds":1785912000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a67e00"} 
[2026-08-05 12:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193466624001,"66":12298,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193466624001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:12:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193466624001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":151011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:12:45] local.INFO: GPS data processed {"connection_id":151011,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:12:45] local.INFO: Acknowledgment sent {"connection_id":151011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:12:52] local.INFO: TCP Data received {"connection_id":148605,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:12:52] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:12:52] local.INFO: Packet analysis {"connection_id":148605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:12:52] local.INFO: Extracted packet for processing {"connection_id":148605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:12:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193361920001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785911871000,"timestamp_ms":1785911871000,"timestamp_seconds":1785911871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a48618"} 
[2026-08-05 12:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193361920001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193361920001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:12:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:12:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193361920001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":148605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:12:52] local.INFO: GPS data processed {"connection_id":148605,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:12:52] local.INFO: Acknowledgment sent {"connection_id":148605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:13:16] local.INFO: TCP Data received {"connection_id":148606,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:13:16] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:13:16] local.INFO: IMEI packet received {"connection_id":148606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":148606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:13:16] local.INFO: TCP Data received {"connection_id":151011,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a6d008012d181e800721aff0004c00d522..."} 
[2026-08-05 12:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a6d008012d181e800721aff0004c00d522..."} 
[2026-08-05 12:13:16] local.INFO: Processing buffer {"connection_id":151011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a6d008012d181e800721aff0004c00d522..."} 
[2026-08-05 12:13:16] local.INFO: Packet analysis {"connection_id":151011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a6"} 
[2026-08-05 12:13:16] local.INFO: Extracted packet for processing {"connection_id":151011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a6"} 
[2026-08-05 12:13:16] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":34,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193472000001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785912021000,"timestamp_ms":1785912021000,"timestamp_seconds":1785912021,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a6d008"} 
[2026-08-05 12:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":175,"raw_value":9079256848778919937,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3412532489394251746,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885277828939989,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":76,"raw_value":59994851969597440,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2771771393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2951741516,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:16] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,105,83,24,241,157,16,175,159,43,45,128,76,32,10,66,217,36,135,1,240,227,208,33,4,113,205,30,37,239,47,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 12:13:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476611471708258304,"timestamp_seconds":5476611471708258.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193472000001,"66":12232,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193472000001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:13:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:13:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193472000001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":151011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:13:16] local.INFO: GPS data processed {"connection_id":151011,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:13:16] local.INFO: Acknowledgment sent {"connection_id":151011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:13:20] local.INFO: TCP Data received {"connection_id":148606,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:13:20] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:13:20] local.INFO: IMEI packet received {"connection_id":148606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":148606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:13:21] local.INFO: TCP Data received {"connection_id":148606,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:13:21] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a48618012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:13:21] local.INFO: Packet analysis {"connection_id":148606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:13:21] local.INFO: Extracted packet for processing {"connection_id":148606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a4"} 
[2026-08-05 12:13:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193361920001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785911871000,"timestamp_ms":1785911871000,"timestamp_seconds":1785911871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a48618"} 
[2026-08-05 12:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:13: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-08-05 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193361920001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193361920001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:13:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193361920001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":148606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:13:21] local.INFO: GPS data processed {"connection_id":148606,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:13:21] local.INFO: Acknowledgment sent {"connection_id":148606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:13:40] local.INFO: TCP Data received {"connection_id":149609,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:13:40] local.INFO: Processing buffer {"connection_id":149609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:13:40] local.INFO: IMEI packet received {"connection_id":149609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":149609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:13:45] local.INFO: TCP Data received {"connection_id":149609,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:13:45] local.INFO: Processing buffer {"connection_id":149609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:13:45] local.INFO: IMEI packet received {"connection_id":149609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":149609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:13:46] local.INFO: TCP Data received {"connection_id":149609,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a72210012d181e800721aff0004c00d522..."} 
[2026-08-05 12:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a72210012d181e800721aff0004c00d522..."} 
[2026-08-05 12:13:46] local.INFO: Processing buffer {"connection_id":149609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a72210012d181e800721aff0004c00d522..."} 
[2026-08-05 12:13:46] local.INFO: Packet analysis {"connection_id":149609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a7"} 
[2026-08-05 12:13:46] local.INFO: Extracted packet for processing {"connection_id":149609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a7"} 
[2026-08-05 12:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":34,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193477376001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785912042000,"timestamp_ms":1785912042000,"timestamp_seconds":1785912042,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a72210"} 
[2026-08-05 12:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:13: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-08-05 12:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 12:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193477376001,"66":12254,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193477376001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:13:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193477376001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":149609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:13:46] local.INFO: GPS data processed {"connection_id":149609,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:13:46] local.INFO: Acknowledgment sent {"connection_id":149609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:13:52] local.INFO: TCP Data received {"connection_id":148606,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:13:52] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:13:52] local.INFO: Packet analysis {"connection_id":148606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:13:52] local.INFO: Extracted packet for processing {"connection_id":148606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:13:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193438976001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785912172000,"timestamp_ms":1785912172000,"timestamp_seconds":1785912172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a91de0"} 
[2026-08-05 12:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193438976001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193438976001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:13:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193438976001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":148606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:13:52] local.INFO: GPS data processed {"connection_id":148606,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:13:52] local.INFO: Acknowledgment sent {"connection_id":148606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:14:17] local.INFO: TCP Data received {"connection_id":149609,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a77418012d181e800721aff0004c00d522..."} 
[2026-08-05 12:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a77418012d181e800721aff0004c00d522..."} 
[2026-08-05 12:14:17] local.INFO: Processing buffer {"connection_id":149609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a77418012d181e800721aff0004c00d522..."} 
[2026-08-05 12:14:17] local.INFO: Packet analysis {"connection_id":149609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a7"} 
[2026-08-05 12:14:17] local.INFO: Extracted packet for processing {"connection_id":149609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a7"} 
[2026-08-05 12:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":34,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193482752001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785912063000,"timestamp_ms":1785912063000,"timestamp_seconds":1785912063,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a77418"} 
[2026-08-05 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-08-05 12:14: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-08-05 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-05 12:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193482752001,"66":12298,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193482752001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:14:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193482752001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":149609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:14:17] local.INFO: GPS data processed {"connection_id":149609,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:14:17] local.INFO: Acknowledgment sent {"connection_id":149609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:14:20] local.INFO: TCP Data received {"connection_id":148388,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:14:20] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:14:20] local.INFO: IMEI packet received {"connection_id":148388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":148388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:14:25] local.INFO: TCP Data received {"connection_id":148388,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:14:25] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:14:25] local.INFO: IMEI packet received {"connection_id":148388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":148388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:14:26] local.INFO: TCP Data received {"connection_id":148388,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:14:26] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:14:26] local.INFO: Packet analysis {"connection_id":148388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:14:26] local.INFO: Extracted packet for processing {"connection_id":148388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193438976001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785912172000,"timestamp_ms":1785912172000,"timestamp_seconds":1785912172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a91de0"} 
[2026-08-05 12:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193438976001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193438976001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:14:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193438976001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":148388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:14:27] local.INFO: GPS data processed {"connection_id":148388,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:14:27] local.INFO: Acknowledgment sent {"connection_id":148388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:14:31] local.INFO: TCP Data received {"connection_id":148388,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:14:31] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:14:31] local.INFO: Packet analysis {"connection_id":148388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:14:31] local.INFO: Extracted packet for processing {"connection_id":148388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193438976001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785912172000,"timestamp_ms":1785912172000,"timestamp_seconds":1785912172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a91de0"} 
[2026-08-05 12:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193438976001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193438976001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:14:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:14:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193438976001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":148388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:14:31] local.INFO: GPS data processed {"connection_id":148388,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:14:31] local.INFO: Acknowledgment sent {"connection_id":148388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:14:40] local.INFO: TCP Data received {"connection_id":148389,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:14:40] local.INFO: Processing buffer {"connection_id":148389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:14:40] local.INFO: IMEI packet received {"connection_id":148389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":148389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:14:45] local.INFO: TCP Data received {"connection_id":148389,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:14:45] local.INFO: Processing buffer {"connection_id":148389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:14:45] local.INFO: IMEI packet received {"connection_id":148389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":148389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:14:47] local.INFO: TCP Data received {"connection_id":148389,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a7c620012d181e800721aff0004c00d522..."} 
[2026-08-05 12:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a7c620012d181e800721aff0004c00d522..."} 
[2026-08-05 12:14:47] local.INFO: Processing buffer {"connection_id":148389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a7c620012d181e800721aff0004c00d522..."} 
[2026-08-05 12:14:47] local.INFO: Packet analysis {"connection_id":148389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a7"} 
[2026-08-05 12:14:47] local.INFO: Extracted packet for processing {"connection_id":148389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a7"} 
[2026-08-05 12:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":34,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193488128001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785912084000,"timestamp_ms":1785912084000,"timestamp_seconds":1785912084,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a7c620"} 
[2026-08-05 12:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":175,"raw_value":9079256848778919937,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3412261906454603746,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885277828939989,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":76,"raw_value":59993752457969664,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2787899393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2951741516,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":217,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2944270336,"note":"Value kept but may cause issues"} 
[2026-08-05 12:14:47] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,105,83,24,241,157,16,175,159,34,45,128,76,10,66,208,126,1,240,227,33,4,113,205,217,30,36,239,48,2,37,7,35],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 12:14:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476611488888127488,"timestamp_seconds":5476611488888127.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193488128001,"66":12298,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193488128001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:14:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193488128001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":148389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:14:47] local.INFO: GPS data processed {"connection_id":148389,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:14:47] local.INFO: Acknowledgment sent {"connection_id":148389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:15:15] local.INFO: TCP Data received {"connection_id":148607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:15:15] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:15:15] local.INFO: IMEI packet received {"connection_id":148607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":148607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:15:20] local.INFO: TCP Data received {"connection_id":148607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:15:20] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:15:20] local.INFO: IMEI packet received {"connection_id":148607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":148607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:15:21] local.INFO: TCP Data received {"connection_id":148389,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a81828012d181e800721aff0004c00d523..."} 
[2026-08-05 12:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a81828012d181e800721aff0004c00d523..."} 
[2026-08-05 12:15:21] local.INFO: Processing buffer {"connection_id":148389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a81828012d181e800721aff0004c00d523..."} 
[2026-08-05 12:15:21] local.INFO: Packet analysis {"connection_id":148389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a8"} 
[2026-08-05 12:15:21] local.INFO: Extracted packet for processing {"connection_id":148389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a8"} 
[2026-08-05 12:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":35,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193493504001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912105000,"timestamp_ms":1785912105000,"timestamp_seconds":1785912105,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a81828"} 
[2026-08-05 12:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":175,"raw_value":9079256848778919937,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3412171712141387746,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885277828939989,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":76,"raw_value":59993752457969664,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2793275393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13462121,"corrected_to":0} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2951741516,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":43,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2944270336,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,175,159,116,45,128,76,34,10,66,208,1,240,200,227,33,4,113,205,43,30,32,239,47,2,37,7,36],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":200,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 12:15:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476611488888127488,"timestamp_seconds":5476611488888127.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193493504001,"66":12254,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193493504001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:15:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193493504001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":148389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:15:21] local.INFO: GPS data processed {"connection_id":148389,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:15:21] local.INFO: Acknowledgment sent {"connection_id":148389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:15:21] local.INFO: TCP Data received {"connection_id":148607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:15:21] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:15:21] local.INFO: Packet analysis {"connection_id":148607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:15:21] local.INFO: Extracted packet for processing {"connection_id":148607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193438976001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912172000,"timestamp_ms":1785912172000,"timestamp_seconds":1785912172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a91de0"} 
[2026-08-05 12:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12: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-08-05 12:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193438976001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193438976001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:15:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193438976001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":148607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:15:21] local.INFO: GPS data processed {"connection_id":148607,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:15:21] local.INFO: Acknowledgment sent {"connection_id":148607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:15:40] local.INFO: TCP Data received {"connection_id":151012,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:15:40] local.INFO: Processing buffer {"connection_id":151012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:15:40] local.INFO: IMEI packet received {"connection_id":151012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":151012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:15:45] local.INFO: TCP Data received {"connection_id":151012,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:15:45] local.INFO: Processing buffer {"connection_id":151012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:15:45] local.INFO: IMEI packet received {"connection_id":151012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":151012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:15:46] local.INFO: TCP Data received {"connection_id":151012,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a86a30012d181e800721aff0004c00d526..."} 
[2026-08-05 12:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a86a30012d181e800721aff0004c00d526..."} 
[2026-08-05 12:15:46] local.INFO: Processing buffer {"connection_id":151012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a86a30012d181e800721aff0004c00d526..."} 
[2026-08-05 12:15:46] local.INFO: Packet analysis {"connection_id":151012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a8"} 
[2026-08-05 12:15:46] local.INFO: Extracted packet for processing {"connection_id":151012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a8"} 
[2026-08-05 12:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193498880001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785912126000,"timestamp_ms":1785912126000,"timestamp_seconds":1785912126,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a86a30"} 
[2026-08-05 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-08-05 12:15: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-08-05 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-05 12:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193498880001,"66":12287,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193498880001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:15:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193498880001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":151012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:15:46] local.INFO: GPS data processed {"connection_id":151012,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:15:46] local.INFO: Acknowledgment sent {"connection_id":151012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:15:52] local.INFO: TCP Data received {"connection_id":148607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:15:52] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:15:52] local.INFO: Packet analysis {"connection_id":148607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:15:52] local.INFO: Extracted packet for processing {"connection_id":148607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:15:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193438976001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785912172000,"timestamp_ms":1785912172000,"timestamp_seconds":1785912172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a91de0"} 
[2026-08-05 12:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193438976001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193438976001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:15:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193438976001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":148607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:15:52] local.INFO: GPS data processed {"connection_id":148607,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:15:52] local.INFO: Acknowledgment sent {"connection_id":148607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:16:15] local.INFO: TCP Data received {"connection_id":148390,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:16:15] local.INFO: Processing buffer {"connection_id":148390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:16:15] local.INFO: IMEI packet received {"connection_id":148390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":148390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:16:17] local.INFO: TCP Data received {"connection_id":151012,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a8bc38012d181e800721aff0004c00d525..."} 
[2026-08-05 12:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a8bc38012d181e800721aff0004c00d525..."} 
[2026-08-05 12:16:17] local.INFO: Processing buffer {"connection_id":151012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a8bc38012d181e800721aff0004c00d525..."} 
[2026-08-05 12:16:17] local.INFO: Packet analysis {"connection_id":151012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a8"} 
[2026-08-05 12:16:17] local.INFO: Extracted packet for processing {"connection_id":151012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a8"} 
[2026-08-05 12:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193504256001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785912147000,"timestamp_ms":1785912147000,"timestamp_seconds":1785912147,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a8bc38"} 
[2026-08-05 12:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:16: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-08-05 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193504256001,"66":11928,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193504256001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:16:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:16:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193504256001,"power":11928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":151012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:16:17] local.INFO: GPS data processed {"connection_id":151012,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:16:17] local.INFO: Acknowledgment sent {"connection_id":151012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:16:20] local.INFO: TCP Data received {"connection_id":148390,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:16:20] local.INFO: Processing buffer {"connection_id":148390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:16:20] local.INFO: IMEI packet received {"connection_id":148390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":148390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:16:21] local.INFO: TCP Data received {"connection_id":148390,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:16:21] local.INFO: Processing buffer {"connection_id":148390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:16:21] local.INFO: Packet analysis {"connection_id":148390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:16:21] local.INFO: Extracted packet for processing {"connection_id":148390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:16:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193438976001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912172000,"timestamp_ms":1785912172000,"timestamp_seconds":1785912172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a91de0"} 
[2026-08-05 12:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:16: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-08-05 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:16: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-08-05 12:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193438976001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193438976001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:16:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193438976001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":148390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:16:21] local.INFO: GPS data processed {"connection_id":148390,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:16:21] local.INFO: Acknowledgment sent {"connection_id":148390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:16:40] local.INFO: TCP Data received {"connection_id":148608,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:16:40] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:16:40] local.INFO: IMEI packet received {"connection_id":148608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":148608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:16:45] local.INFO: TCP Data received {"connection_id":148608,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:16:45] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:16:45] local.INFO: IMEI packet received {"connection_id":148608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":148608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:16:46] local.INFO: TCP Data received {"connection_id":148608,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a90e40012d181e800721aff0004c00d526..."} 
[2026-08-05 12:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a90e40012d181e800721aff0004c00d526..."} 
[2026-08-05 12:16:46] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a90e40012d181e800721aff0004c00d526..."} 
[2026-08-05 12:16:46] local.INFO: Packet analysis {"connection_id":148608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:16:46] local.INFO: Extracted packet for processing {"connection_id":148608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193509632001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785912168000,"timestamp_ms":1785912168000,"timestamp_seconds":1785912168,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a90e40"} 
[2026-08-05 12:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:16: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-08-05 12: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 12:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193509632001,"66":12298,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193509632001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:16:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193509632001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":148608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:16:46] local.INFO: GPS data processed {"connection_id":148608,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:16:46] local.INFO: Acknowledgment sent {"connection_id":148608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:16:52] local.INFO: TCP Data received {"connection_id":148390,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:16:52] local.INFO: Processing buffer {"connection_id":148390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:16:52] local.INFO: Packet analysis {"connection_id":148390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:16:52] local.INFO: Extracted packet for processing {"connection_id":148390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193438976001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785912172000,"timestamp_ms":1785912172000,"timestamp_seconds":1785912172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a91de0"} 
[2026-08-05 12:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193438976001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193438976001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:16:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193438976001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":148390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:16:52] local.INFO: GPS data processed {"connection_id":148390,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:16:52] local.INFO: Acknowledgment sent {"connection_id":148390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:17:15] local.INFO: TCP Data received {"connection_id":148609,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:17:15] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:17:15] local.INFO: IMEI packet received {"connection_id":148609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":148609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:17:17] local.INFO: TCP Data received {"connection_id":148608,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a96048012d181e800721aff0004c00d526..."} 
[2026-08-05 12:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a96048012d181e800721aff0004c00d526..."} 
[2026-08-05 12:17:17] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a96048012d181e800721aff0004c00d526..."} 
[2026-08-05 12:17:17] local.INFO: Packet analysis {"connection_id":148608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:17:17] local.INFO: Extracted packet for processing {"connection_id":148608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193515008001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785912189000,"timestamp_ms":1785912189000,"timestamp_seconds":1785912189,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a96048"} 
[2026-08-05 12:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":175,"raw_value":9079256848778919937,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3411810934888523746,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513885277828939989,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":76,"raw_value":59991553434714112,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2944270336,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195246865940686,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2814779393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2951741516,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 12:17:17] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:17] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,175,159,188,45,128,76,37,10,66,106,38,1,240,222,227,208,33,4,113,205,116,30,34,239,48,2,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 12:17:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476611506067996672,"timestamp_seconds":5476611506067997.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193515008001,"66":12265,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193515008001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:17:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193515008001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":148608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:17:17] local.INFO: GPS data processed {"connection_id":148608,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:17:17] local.INFO: Acknowledgment sent {"connection_id":148608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:17:20] local.INFO: TCP Data received {"connection_id":148609,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:17:20] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:17:20] local.INFO: IMEI packet received {"connection_id":148609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":148609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:17:21] local.INFO: TCP Data received {"connection_id":148609,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:17:21] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:17:21] local.INFO: Packet analysis {"connection_id":148609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:17:21] local.INFO: Extracted packet for processing {"connection_id":148609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:17:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193438976001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912172000,"timestamp_ms":1785912172000,"timestamp_seconds":1785912172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a91de0"} 
[2026-08-05 12:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:17: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-08-05 12:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193438976001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193438976001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:17:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193438976001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":148609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:17:21] local.INFO: GPS data processed {"connection_id":148609,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:17:21] local.INFO: Acknowledgment sent {"connection_id":148609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:17:40] local.INFO: TCP Data received {"connection_id":151013,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:17:40] local.INFO: Processing buffer {"connection_id":151013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:17:40] local.INFO: IMEI packet received {"connection_id":151013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":151013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:17:45] local.INFO: TCP Data received {"connection_id":151013,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:17:45] local.INFO: Processing buffer {"connection_id":151013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:17:45] local.INFO: IMEI packet received {"connection_id":151013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":151013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:17:46] local.INFO: TCP Data received {"connection_id":151013,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a9b250012d181e800721aff0004c00d525..."} 
[2026-08-05 12:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a9b250012d181e800721aff0004c00d525..."} 
[2026-08-05 12:17:46] local.INFO: Processing buffer {"connection_id":151013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a9b250012d181e800721aff0004c00d525..."} 
[2026-08-05 12:17:46] local.INFO: Packet analysis {"connection_id":151013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:17:46] local.INFO: Extracted packet for processing {"connection_id":151013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648240,"longitude_deg":75.6555392,"latitude_deg":11.964824,"altitude":76,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193520384001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607529839034368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329894912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785912210000,"timestamp_ms":1785912210000,"timestamp_seconds":1785912210,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a9b250"} 
[2026-08-05 12:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:17: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-08-05 12: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 12:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193520384001,"66":12298,"105":206,"83":41984,"24":0,"16":10607529839034368,"45":1737967274329894912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193520384001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:17:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607529839034368,"km_value":10607529839034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329894912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193520384001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329894912}} 
[2026-08-05 12:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":151013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:17:46] local.INFO: GPS data processed {"connection_id":151013,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:17:46] local.INFO: Acknowledgment sent {"connection_id":151013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:17:53] local.INFO: TCP Data received {"connection_id":148609,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:17:53] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:17:53] local.INFO: Packet analysis {"connection_id":148609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:17:53] local.INFO: Extracted packet for processing {"connection_id":148609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:17:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193438976001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785912172000,"timestamp_ms":1785912172000,"timestamp_seconds":1785912172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a91de0"} 
[2026-08-05 12:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193438976001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193438976001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:17:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:17:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193438976001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":148609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:17:53] local.INFO: GPS data processed {"connection_id":148609,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:17:53] local.INFO: Acknowledgment sent {"connection_id":148609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:18:15] local.INFO: TCP Data received {"connection_id":148391,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:18:15] local.INFO: Processing buffer {"connection_id":148391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:18:15] local.INFO: IMEI packet received {"connection_id":148391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":148391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:18:16] local.INFO: TCP Data received {"connection_id":151013,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ad38a8012d181e800721a9e80049009027..."} 
[2026-08-05 12:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ad38a8012d181e800721a9e80049009027..."} 
[2026-08-05 12:18:16] local.INFO: Processing buffer {"connection_id":151013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ad38a8012d181e800721a9e80049009027..."} 
[2026-08-05 12:18:16] local.INFO: Packet analysis {"connection_id":151013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:18:16] local.INFO: Extracted packet for processing {"connection_id":151013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646696,"longitude_deg":75.6555392,"latitude_deg":11.9646696,"altitude":73,"angle":144,"satellites":39,"speed":10,"hex_longitude":"2d181e80","hex_latitude":"0721a9e8","is_valid_coordinates":true} 
[2026-08-05 12:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193584128001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607611443412992,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097069056,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785912441000,"timestamp_ms":1785912441000,"timestamp_seconds":1785912441,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ad38a8"} 
[2026-08-05 12:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-05 12:18: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-08-05 12:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193584128001,"66":13961,"105":206,"83":41984,"24":10,"16":10607611443412992,"45":1737756168097069056},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193584128001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:18:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607611443412992,"km_value":10607611443412.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097069056,"description":"Unknown IO ID 45"} 
[2026-08-05 12:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193584128001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737756168097069056}} 
[2026-08-05 12:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":151013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:18:17] local.INFO: GPS data processed {"connection_id":151013,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:18:17] local.INFO: Acknowledgment sent {"connection_id":151013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:18:20] local.INFO: TCP Data received {"connection_id":148391,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:18:20] local.INFO: Processing buffer {"connection_id":148391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:18:20] local.INFO: IMEI packet received {"connection_id":148391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":148391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:18:21] local.INFO: TCP Data received {"connection_id":148391,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:18:21] local.INFO: Processing buffer {"connection_id":148391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0a91de0012d7f92c005afd9e8000100e929..."} 
[2026-08-05 12:18:21] local.INFO: Packet analysis {"connection_id":148391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:18:21] local.INFO: Extracted packet for processing {"connection_id":148391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0a9"} 
[2026-08-05 12:18:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193438976001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912172000,"timestamp_ms":1785912172000,"timestamp_seconds":1785912172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0a91de0"} 
[2026-08-05 12:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:18: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-08-05 12:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:18: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-08-05 12:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193438976001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193438976001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:18:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193438976001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":148391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:18:21] local.INFO: GPS data processed {"connection_id":148391,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:18:21] local.INFO: Acknowledgment sent {"connection_id":148391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:18:45] local.INFO: TCP Data received {"connection_id":149610,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:18:45] local.INFO: Processing buffer {"connection_id":149610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:18:45] local.INFO: IMEI packet received {"connection_id":149610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":149610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:18:50] local.INFO: TCP Data received {"connection_id":149610,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:18:50] local.INFO: Processing buffer {"connection_id":149610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:18:50] local.INFO: IMEI packet received {"connection_id":149610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":149610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:18:51] local.INFO: TCP Data received {"connection_id":149610,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ad4078012d1820000721a8480049008026..."} 
[2026-08-05 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ad4078012d1820000721a8480049008026..."} 
[2026-08-05 12:18:51] local.INFO: Processing buffer {"connection_id":149610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ad4078012d1820000721a8480049008026..."} 
[2026-08-05 12:18:51] local.INFO: Packet analysis {"connection_id":149610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:18:51] local.INFO: Extracted packet for processing {"connection_id":149610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119646280,"longitude_deg":75.6555776,"latitude_deg":11.964628,"altitude":73,"angle":128,"satellites":38,"speed":10,"hex_longitude":"2d182000","hex_latitude":"0721a848","is_valid_coordinates":true} 
[2026-08-05 12:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193584896001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607637213216768,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329499648,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785912443000,"timestamp_ms":1785912443000,"timestamp_seconds":1785912443,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ad4078"} 
[2026-08-05 12:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-05 12:18: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-08-05 12:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193584896001,"66":14048,"105":206,"83":41984,"24":10,"16":10607637213216768,"45":1737967274329499648},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193584896001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:18:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607637213216768,"km_value":10607637213216.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329499648,"description":"Unknown IO ID 45"} 
[2026-08-05 12:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193584896001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737967274329499648}} 
[2026-08-05 12:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":149610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:18:51] local.INFO: GPS data processed {"connection_id":149610,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:18:51] local.INFO: Acknowledgment sent {"connection_id":149610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:18:52] local.INFO: TCP Data received {"connection_id":149610,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ad6f58012d1822c00721a5c00049008c24..."} 
[2026-08-05 12:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ad6f58012d1822c00721a5c00049008c24..."} 
[2026-08-05 12:18:52] local.INFO: Processing buffer {"connection_id":149610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ad6f58012d1822c00721a5c00049008c24..."} 
[2026-08-05 12:18:52] local.INFO: Packet analysis {"connection_id":149610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:18:52] local.INFO: Extracted packet for processing {"connection_id":149610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119645632,"longitude_deg":75.655648,"latitude_deg":11.9645632,"altitude":73,"angle":140,"satellites":36,"speed":5,"hex_longitude":"2d1822c0","hex_latitude":"0721a5c0","is_valid_coordinates":true} 
[2026-08-05 12:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193585408001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607684457857024,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794459136,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785912455000,"timestamp_ms":1785912455000,"timestamp_seconds":1785912455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ad6f58"} 
[2026-08-05 12:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 12:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193585408001,"66":14102,"105":206,"83":41984,"24":5,"16":10607684457857024,"45":1738389486794459136},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193585408001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:18:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607684457857024,"km_value":10607684457857.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794459136,"description":"Unknown IO ID 45"} 
[2026-08-05 12:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193585408001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738389486794459136}} 
[2026-08-05 12:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":149610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:18:52] local.INFO: GPS data processed {"connection_id":149610,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:18:52] local.INFO: Acknowledgment sent {"connection_id":149610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:18:53] local.INFO: TCP Data received {"connection_id":148391,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:18:53] local.INFO: Processing buffer {"connection_id":148391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:18:53] local.INFO: Packet analysis {"connection_id":148391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:18:53] local.INFO: Extracted packet for processing {"connection_id":148391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:18:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":3,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193516032001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785912475000,"timestamp_ms":1785912475000,"timestamp_seconds":1785912475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adbd78"} 
[2026-08-05 12:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193516032001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193516032001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:18:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:18:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193516032001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":148391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:18:53] local.INFO: GPS data processed {"connection_id":148391,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:18:53] local.INFO: Acknowledgment sent {"connection_id":148391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:19:15] local.INFO: TCP Data received {"connection_id":149611,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:19:15] local.INFO: Processing buffer {"connection_id":149611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:19:15] local.INFO: IMEI packet received {"connection_id":149611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":149611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:19:20] local.INFO: TCP Data received {"connection_id":149611,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:19:20] local.INFO: Processing buffer {"connection_id":149611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:19:20] local.INFO: IMEI packet received {"connection_id":149611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":149611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:19:21] local.INFO: TCP Data received {"connection_id":149611,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:19:21] local.INFO: Processing buffer {"connection_id":149611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:19:21] local.INFO: Packet analysis {"connection_id":149611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:19:21] local.INFO: Extracted packet for processing {"connection_id":149611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:19:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":3,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193516032001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912475000,"timestamp_ms":1785912475000,"timestamp_seconds":1785912475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adbd78"} 
[2026-08-05 12:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:19: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-08-05 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:19: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-08-05 12: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-08-05 12:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:19: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-08-05 12:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193516032001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193516032001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:19:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193516032001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":149611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:19:21] local.INFO: GPS data processed {"connection_id":149611,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:19:21] local.INFO: Acknowledgment sent {"connection_id":149611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:19:23] local.INFO: TCP Data received {"connection_id":149610,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ad9280012d182b0007219d70004b008024..."} 
[2026-08-05 12:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ad9280012d182b0007219d70004b008024..."} 
[2026-08-05 12:19:23] local.INFO: Processing buffer {"connection_id":149610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ad9280012d182b0007219d70004b008024..."} 
[2026-08-05 12:19:23] local.INFO: Packet analysis {"connection_id":149610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:19:23] local.INFO: Extracted packet for processing {"connection_id":149610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643504,"longitude_deg":75.6558592,"latitude_deg":11.9643504,"altitude":75,"angle":128,"satellites":36,"speed":18,"hex_longitude":"2d182b00","hex_latitude":"07219d70","is_valid_coordinates":true} 
[2026-08-05 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193588480001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10607830486745088,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980247552,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785912464000,"timestamp_ms":1785912464000,"timestamp_seconds":1785912464,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ad9280"} 
[2026-08-05 12:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 12:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193588480001,"66":13928,"105":206,"83":41984,"24":18,"16":10607830486745088,"45":1739163542980247552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193588480001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:19:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10607830486745088,"km_value":10607830486745.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980247552,"description":"Unknown IO ID 45"} 
[2026-08-05 12:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193588480001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1739163542980247552}} 
[2026-08-05 12:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":149610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:19:23] local.INFO: GPS data processed {"connection_id":149610,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:19:23] local.INFO: Acknowledgment sent {"connection_id":149610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:19:25] local.INFO: TCP Data received {"connection_id":149611,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:19:25] local.INFO: Processing buffer {"connection_id":149611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:19:25] local.INFO: Packet analysis {"connection_id":149611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:19:25] local.INFO: Extracted packet for processing {"connection_id":149611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":3,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193516032001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785912475000,"timestamp_ms":1785912475000,"timestamp_seconds":1785912475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adbd78"} 
[2026-08-05 12:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193516032001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193516032001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:19:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193516032001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":149611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:19:25] local.INFO: GPS data processed {"connection_id":149611,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:19:25] local.INFO: Acknowledgment sent {"connection_id":149611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:19:40] local.INFO: TCP Data received {"connection_id":151014,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:19:40] local.INFO: Processing buffer {"connection_id":151014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:19:40] local.INFO: IMEI packet received {"connection_id":151014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":151014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:19:45] local.INFO: TCP Data received {"connection_id":151014,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:19:45] local.INFO: Processing buffer {"connection_id":151014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:19:45] local.INFO: IMEI packet received {"connection_id":151014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":151014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:19:46] local.INFO: TCP Data received {"connection_id":151014,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adb5a8012d183840072194b0004b007325..."} 
[2026-08-05 12:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adb5a8012d183840072194b0004b007325..."} 
[2026-08-05 12:19:46] local.INFO: Processing buffer {"connection_id":151014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adb5a8012d183840072194b0004b007325..."} 
[2026-08-05 12:19:46] local.INFO: Packet analysis {"connection_id":151014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:19:46] local.INFO: Extracted packet for processing {"connection_id":151014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756561984,"raw_latitude":119641264,"longitude_deg":75.6561984,"latitude_deg":11.9641264,"altitude":75,"angle":115,"satellites":37,"speed":6,"hex_longitude":"2d183840","hex_latitude":"072194b0","is_valid_coordinates":true} 
[2026-08-05 12:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193590784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10608023760273408,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537565696,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785912473000,"timestamp_ms":1785912473000,"timestamp_seconds":1785912473,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adb5a8"} 
[2026-08-05 12:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 12:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193590784001,"66":13917,"105":206,"83":41984,"24":6,"16":10608023760273408,"45":1741485711537565696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193590784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:19:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10608023760273408,"km_value":10608023760273.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537565696,"description":"Unknown IO ID 45"} 
[2026-08-05 12:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193590784001,"power":13917,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741485711537565696}} 
[2026-08-05 12:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":151014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:19:46] local.INFO: GPS data processed {"connection_id":151014,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:19:46] local.INFO: Acknowledgment sent {"connection_id":151014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:19:57] local.INFO: TCP Data received {"connection_id":149611,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:19:57] local.INFO: Processing buffer {"connection_id":149611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:19:57] local.INFO: Packet analysis {"connection_id":149611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:19:57] local.INFO: Extracted packet for processing {"connection_id":149611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":3,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193516032001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785912475000,"timestamp_ms":1785912475000,"timestamp_seconds":1785912475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adbd78"} 
[2026-08-05 12:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193516032001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193516032001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:19:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193516032001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":149611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:19:57] local.INFO: GPS data processed {"connection_id":149611,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:19:57] local.INFO: Acknowledgment sent {"connection_id":149611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:20:15] local.INFO: TCP Data received {"connection_id":148610,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:20:15] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:20:15] local.INFO: IMEI packet received {"connection_id":148610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":148610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:20:17] local.INFO: TCP Data received {"connection_id":151014,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ae07b0012d1838c0072194a8004b007325..."} 
[2026-08-05 12:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ae07b0012d1838c0072194a8004b007325..."} 
[2026-08-05 12:20:17] local.INFO: Processing buffer {"connection_id":151014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ae07b0012d1838c0072194a8004b007325..."} 
[2026-08-05 12:20:17] local.INFO: Packet analysis {"connection_id":151014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ae"} 
[2026-08-05 12:20:17] local.INFO: Extracted packet for processing {"connection_id":151014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ae"} 
[2026-08-05 12:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756562112,"raw_latitude":119641256,"longitude_deg":75.6562112,"latitude_deg":11.9641256,"altitude":75,"angle":115,"satellites":37,"speed":0,"hex_longitude":"2d1838c0","hex_latitude":"072194a8","is_valid_coordinates":true} 
[2026-08-05 12:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193593088001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10608032350208000,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745215254978408448,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785912494000,"timestamp_ms":1785912494000,"timestamp_seconds":1785912494,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ae07b0"} 
[2026-08-05 12:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-05 12:20: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-08-05 12:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193593088001,"66":14070,"105":206,"83":41984,"24":0,"16":10608032350208000,"45":1745215254978408448},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 12:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193593088001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:20:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 12:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10608032350208000,"km_value":10608032350208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745215254978408448,"description":"Unknown IO ID 45"} 
[2026-08-05 12:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193593088001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1745215254978408448}} 
[2026-08-05 12:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":151014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:20:17] local.INFO: GPS data processed {"connection_id":151014,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:20:17] local.INFO: Acknowledgment sent {"connection_id":151014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:20:20] local.INFO: TCP Data received {"connection_id":148610,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:20:20] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:20:20] local.INFO: IMEI packet received {"connection_id":148610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":148610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:20:21] local.INFO: TCP Data received {"connection_id":148610,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:20:21] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:20:21] local.INFO: Packet analysis {"connection_id":148610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:20:21] local.INFO: Extracted packet for processing {"connection_id":148610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:20:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":3,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193516032001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912475000,"timestamp_ms":1785912475000,"timestamp_seconds":1785912475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adbd78"} 
[2026-08-05 12:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:20: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-08-05 12: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":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:20: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-08-05 12: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-08-05 12:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:20: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-08-05 12:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193516032001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193516032001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:20:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193516032001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":148610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:20:21] local.INFO: GPS data processed {"connection_id":148610,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:20:21] local.INFO: Acknowledgment sent {"connection_id":148610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:20:39] local.INFO: TCP Data received {"connection_id":148392,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:39] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:39] local.INFO: IMEI packet received {"connection_id":148392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":148392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:20:40] local.INFO: TCP Data received {"connection_id":148392,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:40] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:40] local.INFO: IMEI packet received {"connection_id":148392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":148392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:20:41] local.INFO: TCP Data received {"connection_id":148392,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:41] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:41] local.INFO: IMEI packet received {"connection_id":148392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":148392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:20:46] local.INFO: TCP Data received {"connection_id":148392,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:46] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:20:46] local.INFO: IMEI packet received {"connection_id":148392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":148392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:20:47] local.INFO: TCP Data received {"connection_id":148392,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0af4800012d18b10007216ea00048008c26..."} 
[2026-08-05 12:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0af4800012d18b10007216ea00048008c26..."} 
[2026-08-05 12:20:47] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0af4800012d18b10007216ea00048008c26..."} 
[2026-08-05 12:20:47] local.INFO: Packet analysis {"connection_id":148392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0af"} 
[2026-08-05 12:20:47] local.INFO: Extracted packet for processing {"connection_id":148392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0af"} 
[2026-08-05 12:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756592896,"raw_latitude":119631520,"longitude_deg":75.6592896,"latitude_deg":11.963152,"altitude":72,"angle":140,"satellites":38,"speed":28,"hex_longitude":"2d18b100","hex_latitude":"07216ea0","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193618944001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10609595718303744,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458507120640,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785912576000,"timestamp_ms":1785912576000,"timestamp_seconds":1785912576,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0af4800"} 
[2026-08-05 12:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 12:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193618944001,"66":13722,"106":206,"83":41984,"24":28,"16":10609595718303744,"45":1778077458507120640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 12:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193618944001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:20:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 12:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10609595718303744,"km_value":10609595718303.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458507120640,"description":"Unknown IO ID 45"} 
[2026-08-05 12:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193618944001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1778077458507120640}} 
[2026-08-05 12:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":148392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:20:47] local.INFO: GPS data processed {"connection_id":148392,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:20:47] local.INFO: Acknowledgment sent {"connection_id":148392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:20:49] local.INFO: TCP Data received {"connection_id":148392,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0af6f10012d18c340072154000042009826..."} 
[2026-08-05 12:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0af6f10012d18c340072154000042009826..."} 
[2026-08-05 12:20:49] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0af6f10012d18c340072154000042009826..."} 
[2026-08-05 12:20:49] local.INFO: Packet analysis {"connection_id":148392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0af"} 
[2026-08-05 12:20:49] local.INFO: Extracted packet for processing {"connection_id":148392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0af"} 
[2026-08-05 12:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119624704,"longitude_deg":75.6597568,"latitude_deg":11.9624704,"altitude":66,"angle":152,"satellites":38,"speed":32,"hex_longitude":"2d18c340","hex_latitude":"07215400","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193619456001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10609999445229568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779203358413725696,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785912586000,"timestamp_ms":1785912586000,"timestamp_seconds":1785912586,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0af6f10"} 
[2026-08-05 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-08-05 12:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-05 12:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193619456001,"66":14157,"106":206,"83":41984,"24":32,"16":10609999445229568,"45":1779203358413725696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 12:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193619456001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:20:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 12:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10609999445229568,"km_value":10609999445229.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779203358413725696,"description":"Unknown IO ID 45"} 
[2026-08-05 12:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193619456001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1779203358413725696}} 
[2026-08-05 12:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":148392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:20:49] local.INFO: GPS data processed {"connection_id":148392,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:20:49] local.INFO: Acknowledgment sent {"connection_id":148392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:20:52] local.INFO: TCP Data received {"connection_id":148610,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:20:52] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:20:52] local.INFO: Packet analysis {"connection_id":148610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:20:52] local.INFO: Extracted packet for processing {"connection_id":148610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:20:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":3,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193516032001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785912475000,"timestamp_ms":1785912475000,"timestamp_seconds":1785912475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adbd78"} 
[2026-08-05 12:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193516032001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193516032001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:20:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193516032001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":148610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:20:52] local.INFO: GPS data processed {"connection_id":148610,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:20:52] local.INFO: Acknowledgment sent {"connection_id":148610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:21:15] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:21:15] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:21:15] local.INFO: IMEI packet received {"connection_id":148611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":148611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:21:20] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:21:20] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:21:20] local.INFO: IMEI packet received {"connection_id":148611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":148611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:21:20] local.INFO: TCP Data received {"connection_id":148392,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b022c0012d18cb000720fef0003100bf28..."} 
[2026-08-05 12:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b022c0012d18cb000720fef0003100bf28..."} 
[2026-08-05 12:21:20] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b022c0012d18cb000720fef0003100bf28..."} 
[2026-08-05 12:21:20] local.INFO: Packet analysis {"connection_id":148392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b0"} 
[2026-08-05 12:21:20] local.INFO: Extracted packet for processing {"connection_id":148392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b0"} 
[2026-08-05 12:21:20] local.INFO: GPS Element Parsed {"raw_longitude":756599552,"raw_latitude":119602928,"longitude_deg":75.6599552,"latitude_deg":11.9602928,"altitude":49,"angle":191,"satellites":40,"speed":14,"hex_longitude":"2d18cb00","hex_latitude":"0720fef0","is_valid_coordinates":true} 
[2026-08-05 12:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193633536001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10611223510908928,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786662445289322496,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785912632000,"timestamp_ms":1785912632000,"timestamp_seconds":1785912632,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b022c0"} 
[2026-08-05 12:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 12:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193633536001,"66":13439,"103":206,"83":41984,"24":14,"16":10611223510908928,"45":1786662445289322496},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 12:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193633536001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:21:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 12:21:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10611223510908928,"km_value":10611223510908.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786662445289322496,"description":"Unknown IO ID 45"} 
[2026-08-05 12:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193633536001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1786662445289322496}} 
[2026-08-05 12:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":148392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:21:20] local.INFO: GPS data processed {"connection_id":148392,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:21:20] local.INFO: Acknowledgment sent {"connection_id":148392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:21:21] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:21:21] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:21:21] local.INFO: Packet analysis {"connection_id":148611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:21:21] local.INFO: Extracted packet for processing {"connection_id":148611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:21:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":3,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193516032001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912475000,"timestamp_ms":1785912475000,"timestamp_seconds":1785912475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adbd78"} 
[2026-08-05 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-08-05 12:21: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-08-05 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:21: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-08-05 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-08-05 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-08-05 12:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193516032001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193516032001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:21:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193516032001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":148611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:21:21] local.INFO: GPS data processed {"connection_id":148611,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:21:21] local.INFO: Acknowledgment sent {"connection_id":148611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:21:40] local.INFO: TCP Data received {"connection_id":148393,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:21:40] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:21:40] local.INFO: IMEI packet received {"connection_id":148393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":148393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:21:40] local.INFO: TCP Data received {"connection_id":148393,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:21:40] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:21:40] local.INFO: IMEI packet received {"connection_id":148393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":148393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:21:45] local.INFO: TCP Data received {"connection_id":148393,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:21:45] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:21:45] local.INFO: IMEI packet received {"connection_id":148393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":148393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:21:45] local.INFO: TCP Data received {"connection_id":148393,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b026a8012d18cac00720fd70003000b228..."} 
[2026-08-05 12:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b026a8012d18cac00720fd70003000b228..."} 
[2026-08-05 12:21:45] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b026a8012d18cac00720fd70003000b228..."} 
[2026-08-05 12:21:45] local.INFO: Packet analysis {"connection_id":148393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b0"} 
[2026-08-05 12:21:45] local.INFO: Extracted packet for processing {"connection_id":148393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b0"} 
[2026-08-05 12:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756599488,"raw_latitude":119602544,"longitude_deg":75.6599488,"latitude_deg":11.9602544,"altitude":48,"angle":178,"satellites":40,"speed":16,"hex_longitude":"2d18cac0","hex_latitude":"0720fd70","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193633792001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10611240690778112,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786521707800883200,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785912633000,"timestamp_ms":1785912633000,"timestamp_seconds":1785912633,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b026a8"} 
[2026-08-05 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-08-05 12:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 12:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193633792001,"66":14102,"103":206,"83":41984,"24":16,"16":10611240690778112,"45":1786521707800883200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 12:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193633792001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:21:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 12:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10611240690778112,"km_value":10611240690778.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786521707800883200,"description":"Unknown IO ID 45"} 
[2026-08-05 12:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193633792001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1786521707800883200}} 
[2026-08-05 12:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":148393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:21:45] local.INFO: GPS data processed {"connection_id":148393,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:21:45] local.INFO: Acknowledgment sent {"connection_id":148393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:21:52] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:21:52] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:21:52] local.INFO: Packet analysis {"connection_id":148611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:21:52] local.INFO: Extracted packet for processing {"connection_id":148611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:21:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":3,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193516032001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785912475000,"timestamp_ms":1785912475000,"timestamp_seconds":1785912475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adbd78"} 
[2026-08-05 12:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193516032001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193516032001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:21:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:21:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193516032001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":148611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:21:52] local.INFO: GPS data processed {"connection_id":148611,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:21:52] local.INFO: Acknowledgment sent {"connection_id":148611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:22:15] local.INFO: TCP Data received {"connection_id":151015,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:22:15] local.INFO: Processing buffer {"connection_id":151015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:22:15] local.INFO: IMEI packet received {"connection_id":151015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":151015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:22:16] local.INFO: TCP Data received {"connection_id":148393,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b04200012d18ca000720f210002a00a426..."} 
[2026-08-05 12:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b04200012d18ca000720f210002a00a426..."} 
[2026-08-05 12:22:16] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b04200012d18ca000720f210002a00a426..."} 
[2026-08-05 12:22:16] local.INFO: Packet analysis {"connection_id":148393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b0"} 
[2026-08-05 12:22:16] local.INFO: Extracted packet for processing {"connection_id":148393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b0"} 
[2026-08-05 12:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756599296,"raw_latitude":119599632,"longitude_deg":75.6599296,"latitude_deg":11.9599632,"altitude":42,"angle":164,"satellites":38,"speed":16,"hex_longitude":"2d18ca00","hex_latitude":"0720f210","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193634048001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10611382424698880,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786451339056607232,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785912640000,"timestamp_ms":1785912640000,"timestamp_seconds":1785912640,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b04200"} 
[2026-08-05 12:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 12:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193634048001,"66":13972,"103":206,"83":41984,"24":16,"16":10611382424698880,"45":1786451339056607232},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 12:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193634048001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:22:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 12:22:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10611382424698880,"km_value":10611382424698.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786451339056607232,"description":"Unknown IO ID 45"} 
[2026-08-05 12:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193634048001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1786451339056607232}} 
[2026-08-05 12:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":148393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:22:16] local.INFO: GPS data processed {"connection_id":148393,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:22:16] local.INFO: Acknowledgment sent {"connection_id":148393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:22:20] local.INFO: TCP Data received {"connection_id":151015,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:22:20] local.INFO: Processing buffer {"connection_id":151015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:22:20] local.INFO: IMEI packet received {"connection_id":151015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":151015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:22:21] local.INFO: TCP Data received {"connection_id":151015,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:22:21] local.INFO: Processing buffer {"connection_id":151015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:22:21] local.INFO: Packet analysis {"connection_id":151015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:22:21] local.INFO: Extracted packet for processing {"connection_id":151015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:22:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":3,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193516032001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912475000,"timestamp_ms":1785912475000,"timestamp_seconds":1785912475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adbd78"} 
[2026-08-05 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-08-05 12:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:22: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-08-05 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-08-05 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-08-05 12:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193516032001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193516032001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:22:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193516032001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":151015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:22:21] local.INFO: GPS data processed {"connection_id":151015,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:22:21] local.INFO: Acknowledgment sent {"connection_id":151015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:22:40] local.INFO: TCP Data received {"connection_id":151016,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:40] local.INFO: Processing buffer {"connection_id":151016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:40] local.INFO: IMEI packet received {"connection_id":151016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":151016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:22:40] local.INFO: TCP Data received {"connection_id":151016,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:40] local.INFO: Processing buffer {"connection_id":151016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:40] local.INFO: IMEI packet received {"connection_id":151016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":151016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:22:43] local.INFO: TCP Data received {"connection_id":151016,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:43] local.INFO: Processing buffer {"connection_id":151016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:43] local.INFO: IMEI packet received {"connection_id":151016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":151016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:22:45] local.INFO: TCP Data received {"connection_id":151016,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:45] local.INFO: Processing buffer {"connection_id":151016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:22:45] local.INFO: IMEI packet received {"connection_id":151016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":151016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:22:45] local.INFO: TCP Data received {"connection_id":151016,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b16ec8012d18c28007208298000e008427..."} 
[2026-08-05 12:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b16ec8012d18c28007208298000e008427..."} 
[2026-08-05 12:22:45] local.INFO: Processing buffer {"connection_id":151016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b16ec8012d18c28007208298000e008427..."} 
[2026-08-05 12:22:45] local.INFO: Packet analysis {"connection_id":151016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b1"} 
[2026-08-05 12:22:45] local.INFO: Extracted packet for processing {"connection_id":151016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b1"} 
[2026-08-05 12:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119571096,"longitude_deg":75.6597376,"latitude_deg":11.9571096,"altitude":14,"angle":132,"satellites":39,"speed":8,"hex_longitude":"2d18c280","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193652480001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10612907138088960,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783003270584662016,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785912717000,"timestamp_ms":1785912717000,"timestamp_seconds":1785912717,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b16ec8"} 
[2026-08-05 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-08-05 12:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-05 12:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193652480001,"66":14189,"103":206,"83":41984,"24":8,"16":10612907138088960,"45":1783003270584662016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 12:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193652480001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:22:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 12:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10612907138088960,"km_value":10612907138088.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783003270584662016,"description":"Unknown IO ID 45"} 
[2026-08-05 12:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193652480001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1783003270584662016}} 
[2026-08-05 12:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":151016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:22:45] local.INFO: GPS data processed {"connection_id":151016,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:22:45] local.INFO: Acknowledgment sent {"connection_id":151016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:22:52] local.INFO: TCP Data received {"connection_id":151015,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:22:52] local.INFO: Processing buffer {"connection_id":151015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:22:52] local.INFO: Packet analysis {"connection_id":151015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:22:52] local.INFO: Extracted packet for processing {"connection_id":151015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:22:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":3,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193516032001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785912475000,"timestamp_ms":1785912475000,"timestamp_seconds":1785912475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adbd78"} 
[2026-08-05 12:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193516032001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193516032001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:22:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193516032001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":151015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:22:52] local.INFO: GPS data processed {"connection_id":151015,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:22:52] local.INFO: Acknowledgment sent {"connection_id":151015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:23:15] local.INFO: TCP Data received {"connection_id":149612,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:23:15] local.INFO: Processing buffer {"connection_id":149612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:23:15] local.INFO: IMEI packet received {"connection_id":149612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":149612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:23:16] local.INFO: TCP Data received {"connection_id":151016,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b18250012d18c60007207ef80010008f28..."} 
[2026-08-05 12:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b18250012d18c60007207ef80010008f28..."} 
[2026-08-05 12:23:16] local.INFO: Processing buffer {"connection_id":151016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b18250012d18c60007207ef80010008f28..."} 
[2026-08-05 12:23:16] local.INFO: Packet analysis {"connection_id":151016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b1"} 
[2026-08-05 12:23:16] local.INFO: Extracted packet for processing {"connection_id":151016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b1"} 
[2026-08-05 12:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756598272,"raw_latitude":119570168,"longitude_deg":75.6598272,"latitude_deg":11.9570168,"altitude":16,"angle":143,"satellites":40,"speed":11,"hex_longitude":"2d18c600","hex_latitude":"07207ef8","is_valid_coordinates":true} 
[2026-08-05 12:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193655552001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10612967267631104,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170490693632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785912722000,"timestamp_ms":1785912722000,"timestamp_seconds":1785912722,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b18250"} 
[2026-08-05 12:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 12:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193655552001,"66":13613,"103":206,"83":41984,"24":11,"16":10612967267631104,"45":1784129170490693632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 12:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193655552001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:23:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 12:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10612967267631104,"km_value":10612967267631.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170490693632,"description":"Unknown IO ID 45"} 
[2026-08-05 12:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193655552001,"power":13613,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1784129170490693632}} 
[2026-08-05 12:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":151016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:23:16] local.INFO: GPS data processed {"connection_id":151016,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:23:16] local.INFO: Acknowledgment sent {"connection_id":151016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:23:20] local.INFO: TCP Data received {"connection_id":149612,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:23:20] local.INFO: Processing buffer {"connection_id":149612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:23:20] local.INFO: IMEI packet received {"connection_id":149612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":149612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:23:21] local.INFO: TCP Data received {"connection_id":149612,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:23:21] local.INFO: Processing buffer {"connection_id":149612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0adbd78012d7f92c005afd9e8000300e928..."} 
[2026-08-05 12:23:21] local.INFO: Packet analysis {"connection_id":149612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:23:21] local.INFO: Extracted packet for processing {"connection_id":149612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ad"} 
[2026-08-05 12:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":3,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193516032001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912475000,"timestamp_ms":1785912475000,"timestamp_seconds":1785912475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0adbd78"} 
[2026-08-05 12:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:23: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-08-05 12:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193516032001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193516032001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:23:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193516032001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":149612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:23:21] local.INFO: GPS data processed {"connection_id":149612,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:23:21] local.INFO: Acknowledgment sent {"connection_id":149612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:23:45] local.INFO: TCP Data received {"connection_id":149613,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:23:45] local.INFO: Processing buffer {"connection_id":149613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:23:45] local.INFO: IMEI packet received {"connection_id":149613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":149613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:23:50] local.INFO: TCP Data received {"connection_id":149613,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:23:50] local.INFO: Processing buffer {"connection_id":149613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:23:50] local.INFO: IMEI packet received {"connection_id":149613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":149613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:23:52] local.INFO: TCP Data received {"connection_id":149612,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:23:52] local.INFO: Processing buffer {"connection_id":149612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:23:52] local.INFO: Packet analysis {"connection_id":149612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:23:52] local.INFO: Extracted packet for processing {"connection_id":149612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:23:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":7,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193593600001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785912778000,"timestamp_ms":1785912778000,"timestamp_seconds":1785912778,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b25d10"} 
[2026-08-05 12:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193593600001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193593600001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:23:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193593600001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":149612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:23:52] local.INFO: GPS data processed {"connection_id":149612,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:23:52] local.INFO: Acknowledgment sent {"connection_id":149612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:23:52] local.INFO: TCP Data received {"connection_id":149613,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b212d8012d18dd00072058b00015009527..."} 
[2026-08-05 12:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b212d8012d18dd00072058b00015009527..."} 
[2026-08-05 12:23:52] local.INFO: Processing buffer {"connection_id":149613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b212d8012d18dd00072058b00015009527..."} 
[2026-08-05 12:23:52] local.INFO: Packet analysis {"connection_id":149613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:23:52] local.INFO: Extracted packet for processing {"connection_id":149613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:23:52] local.INFO: GPS Element Parsed {"raw_longitude":756604160,"raw_latitude":119560368,"longitude_deg":75.660416,"latitude_deg":11.9560368,"altitude":21,"angle":149,"satellites":39,"speed":12,"hex_longitude":"2d18dd00","hex_latitude":"072058b0","is_valid_coordinates":true} 
[2026-08-05 12:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193666048001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10613568563052544,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519882502144,"note":"Value kept but may cause issues"} 
[2026-08-05 12:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785912759000,"timestamp_ms":1785912759000,"timestamp_seconds":1785912759,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b212d8"} 
[2026-08-05 12:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-05 12:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193666048001,"66":13993,"102":206,"83":41984,"24":12,"16":10613568563052544,"45":1791447519882502144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193666048001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:23:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:23:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10613568563052544,"km_value":10613568563052.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519882502144,"description":"Unknown IO ID 45"} 
[2026-08-05 12:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193666048001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791447519882502144}} 
[2026-08-05 12:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":149613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:23:53] local.INFO: GPS data processed {"connection_id":149613,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:23:53] local.INFO: Acknowledgment sent {"connection_id":149613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:24:02] local.INFO: TCP Data received {"connection_id":149613,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b216c0012d18dd8007205760001500a127..."} 
[2026-08-05 12:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b216c0012d18dd8007205760001500a127..."} 
[2026-08-05 12:24:02] local.INFO: Processing buffer {"connection_id":149613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b216c0012d18dd8007205760001500a127..."} 
[2026-08-05 12:24:02] local.INFO: Packet analysis {"connection_id":149613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:24:02] local.INFO: Extracted packet for processing {"connection_id":149613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756604288,"raw_latitude":119560032,"longitude_deg":75.6604288,"latitude_deg":11.9560032,"altitude":21,"angle":161,"satellites":39,"speed":12,"hex_longitude":"2d18dd80","hex_latitude":"07205760","is_valid_coordinates":true} 
[2026-08-05 12:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193666304001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10613585742921728,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791588257370779648,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785912760000,"timestamp_ms":1785912760000,"timestamp_seconds":1785912760,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b216c0"} 
[2026-08-05 12:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 12:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":149613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":149613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":149613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193666304001,"66":13993,"102":206,"83":41984,"24":12,"16":10613585742921728,"45":1791588257370779648},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193666304001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:24:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:24:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10613585742921728,"km_value":10613585742921.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791588257370779648,"description":"Unknown IO ID 45"} 
[2026-08-05 12:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193666304001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791588257370779648}} 
[2026-08-05 12:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":149613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:24:03] local.INFO: GPS data processed {"connection_id":149613,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:24:03] local.INFO: Acknowledgment sent {"connection_id":149613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:24:15] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:24:15] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:24:15] local.INFO: IMEI packet received {"connection_id":148394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":148394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:24:20] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:24:20] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:24:20] local.INFO: IMEI packet received {"connection_id":148394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":148394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:24:22] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:24:22] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:24:22] local.INFO: Packet analysis {"connection_id":148394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:24:22] local.INFO: Extracted packet for processing {"connection_id":148394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:24:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":7,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193593600001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785912778000,"timestamp_ms":1785912778000,"timestamp_seconds":1785912778,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b25d10"} 
[2026-08-05 12:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193593600001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193593600001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:24:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:24:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193593600001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":148394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:24:22] local.INFO: GPS data processed {"connection_id":148394,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:24:22] local.INFO: Acknowledgment sent {"connection_id":148394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:24:36] local.INFO: TCP Data received {"connection_id":148395,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:36] local.INFO: Processing buffer {"connection_id":148395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:36] local.INFO: IMEI packet received {"connection_id":148395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":148395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:24:37] local.INFO: TCP Data received {"connection_id":148395,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:37] local.INFO: Processing buffer {"connection_id":148395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:37] local.INFO: IMEI packet received {"connection_id":148395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":148395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:24:40] local.INFO: TCP Data received {"connection_id":148395,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:40] local.INFO: Processing buffer {"connection_id":148395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:40] local.INFO: IMEI packet received {"connection_id":148395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":148395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:24:45] local.INFO: TCP Data received {"connection_id":148395,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:45] local.INFO: Processing buffer {"connection_id":148395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:24:45] local.INFO: IMEI packet received {"connection_id":148395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":148395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:24:46] local.INFO: TCP Data received {"connection_id":148395,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b21e90012d18de00072054b0001500ac27..."} 
[2026-08-05 12:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b21e90012d18de00072054b0001500ac27..."} 
[2026-08-05 12:24:46] local.INFO: Processing buffer {"connection_id":148395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b21e90012d18de00072054b0001500ac27..."} 
[2026-08-05 12:24:46] local.INFO: Packet analysis {"connection_id":148395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:24:46] local.INFO: Extracted packet for processing {"connection_id":148395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756604416,"raw_latitude":119559344,"longitude_deg":75.6604416,"latitude_deg":11.9559344,"altitude":21,"angle":172,"satellites":39,"speed":15,"hex_longitude":"2d18de00","hex_latitude":"072054b0","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193666560001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10613620102660096,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791728994859048960,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785912762000,"timestamp_ms":1785912762000,"timestamp_seconds":1785912762,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b21e90"} 
[2026-08-05 12:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:24: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-08-05 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 12:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193666560001,"66":13993,"102":206,"83":41984,"24":15,"16":10613620102660096,"45":1791728994859048960},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193666560001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:24:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10613620102660096,"km_value":10613620102660.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791728994859048960,"description":"Unknown IO ID 45"} 
[2026-08-05 12:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193666560001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1791728994859048960}} 
[2026-08-05 12:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":148395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:24:46] local.INFO: GPS data processed {"connection_id":148395,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:24:46] local.INFO: Acknowledgment sent {"connection_id":148395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:24:53] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:24:53] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:24:53] local.INFO: Packet analysis {"connection_id":148394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:24:53] local.INFO: Extracted packet for processing {"connection_id":148394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:24:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":7,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193593600001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785912778000,"timestamp_ms":1785912778000,"timestamp_seconds":1785912778,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b25d10"} 
[2026-08-05 12:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193593600001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193593600001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:24:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:24:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193593600001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":148394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:24:53] local.INFO: GPS data processed {"connection_id":148394,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:24:53] local.INFO: Acknowledgment sent {"connection_id":148394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:25:16] local.INFO: TCP Data received {"connection_id":148612,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:25:16] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:25:16] local.INFO: IMEI packet received {"connection_id":148612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":148612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:25:17] local.INFO: TCP Data received {"connection_id":148395,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b34b58012d18dbc007201b38001d005829..."} 
[2026-08-05 12:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b34b58012d18dbc007201b38001d005829..."} 
[2026-08-05 12:25:17] local.INFO: Processing buffer {"connection_id":148395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b34b58012d18dbc007201b38001d005829..."} 
[2026-08-05 12:25:17] local.INFO: Packet analysis {"connection_id":148395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b3"} 
[2026-08-05 12:25:17] local.INFO: Extracted packet for processing {"connection_id":148395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b3"} 
[2026-08-05 12:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756603840,"raw_latitude":119544632,"longitude_deg":75.660384,"latitude_deg":11.9544632,"altitude":29,"angle":88,"satellites":41,"speed":10,"hex_longitude":"2d18dbc0","hex_latitude":"07201b38","is_valid_coordinates":true} 
[2026-08-05 12:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193686528001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10614401786707968,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790884569924966400,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785912839000,"timestamp_ms":1785912839000,"timestamp_seconds":1785912839,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b34b58"} 
[2026-08-05 12:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3501371160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3002683393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4159074346085459456,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":221,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3042770944,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":250,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.WARNING: Large IO value detected {"io_id":178,"raw_value":6705861138356928519,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,181,159,67,45,192,27,40,10,66,63,59,1,240,227,208,32,4,113,205,13,221,220,248,39,239,56,2,37,7,250,178],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:25:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2017730452605370368,"timestamp_seconds":2017730452605370.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193686528001,"66":13319,"102":206,"83":41984,"24":10,"16":10614401786707968,"45":1790884569924966400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193686528001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:25:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:25:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10614401786707968,"km_value":10614401786707.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790884569924966400,"description":"Unknown IO ID 45"} 
[2026-08-05 12:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193686528001,"power":13319,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1790884569924966400}} 
[2026-08-05 12:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":148395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:25:17] local.INFO: GPS data processed {"connection_id":148395,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:25:17] local.INFO: Acknowledgment sent {"connection_id":148395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:25:20] local.INFO: TCP Data received {"connection_id":148612,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:25:20] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:25:20] local.INFO: IMEI packet received {"connection_id":148612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":148612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:25:21] local.INFO: TCP Data received {"connection_id":148612,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:25:21] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:25:21] local.INFO: Packet analysis {"connection_id":148612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:25:21] local.INFO: Extracted packet for processing {"connection_id":148612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:25:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":7,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193593600001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912778000,"timestamp_ms":1785912778000,"timestamp_seconds":1785912778,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b25d10"} 
[2026-08-05 12:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:25: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-08-05 12:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193593600001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193593600001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:25:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193593600001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":148612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:25:21] local.INFO: GPS data processed {"connection_id":148612,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:25:21] local.INFO: Acknowledgment sent {"connection_id":148612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:25:40] local.INFO: TCP Data received {"connection_id":151017,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:25:40] local.INFO: Processing buffer {"connection_id":151017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:25:40] local.INFO: IMEI packet received {"connection_id":151017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":151017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:25:45] local.INFO: TCP Data received {"connection_id":151017,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:25:45] local.INFO: Processing buffer {"connection_id":151017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:25:45] local.INFO: IMEI packet received {"connection_id":151017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":151017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:25:46] local.INFO: TCP Data received {"connection_id":151017,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b38dc0012d18ff4007201a380029005628..."} 
[2026-08-05 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b38dc0012d18ff4007201a380029005628..."} 
[2026-08-05 12:25:46] local.INFO: Processing buffer {"connection_id":151017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b38dc0012d18ff4007201a380029005628..."} 
[2026-08-05 12:25:46] local.INFO: Packet analysis {"connection_id":151017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b3"} 
[2026-08-05 12:25:46] local.INFO: Extracted packet for processing {"connection_id":151017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b3"} 
[2026-08-05 12:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756612928,"raw_latitude":119544376,"longitude_deg":75.6612928,"latitude_deg":11.9544376,"altitude":41,"angle":86,"satellites":40,"speed":21,"hex_longitude":"2d18ff40","hex_latitude":"07201a38","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193686784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10614835578404864,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413645862912,"note":"Value kept but may cause issues"} 
[2026-08-05 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-08-05 12:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785912856000,"timestamp_ms":1785912856000,"timestamp_seconds":1785912856,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b38dc0"} 
[2026-08-05 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-08-05 12:25: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-08-05 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3501383160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3007035393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4231131953008289024,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147950643,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3044147200,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":60,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-5829908424428879865,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,181,159,71,45,128,27,28,40,10,66,67,192,63,1,240,227,208,32,4,113,205,9,249,219,239,56,2,37,7,23,5,60,178],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:25:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2089767160217468928,"timestamp_seconds":2089767160217469.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 12:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193686784001,"66":13330,"102":206,"83":41984,"24":21,"16":10614835578404864,"45":1791236413645862912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193686784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:25:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10614835578404864,"km_value":10614835578404.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413645862912,"description":"Unknown IO ID 45"} 
[2026-08-05 12:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193686784001,"power":13330,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1791236413645862912}} 
[2026-08-05 12:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":151017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:25:46] local.INFO: GPS data processed {"connection_id":151017,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:25:46] local.INFO: Acknowledgment sent {"connection_id":151017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:25:54] local.INFO: TCP Data received {"connection_id":148612,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:25:54] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:25:54] local.INFO: Packet analysis {"connection_id":148612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:25:54] local.INFO: Extracted packet for processing {"connection_id":148612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":7,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193593600001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785912778000,"timestamp_ms":1785912778000,"timestamp_seconds":1785912778,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b25d10"} 
[2026-08-05 12:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193593600001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193593600001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:25:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193593600001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":148612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:25:54] local.INFO: GPS data processed {"connection_id":148612,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:25:54] local.INFO: Acknowledgment sent {"connection_id":148612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:26:15] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:26:15] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:26:15] local.INFO: IMEI packet received {"connection_id":148396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":148396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:26:20] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:26:20] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:26:20] local.INFO: IMEI packet received {"connection_id":148396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":148396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:26:21] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:26:21] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:26:21] local.INFO: Packet analysis {"connection_id":148396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:26:21] local.INFO: Extracted packet for processing {"connection_id":148396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:26:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":7,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193593600001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912778000,"timestamp_ms":1785912778000,"timestamp_seconds":1785912778,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b25d10"} 
[2026-08-05 12:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:26: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-08-05 12: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":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:26: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-08-05 12:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193593600001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193593600001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:26:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193593600001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":148396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:26:21] local.INFO: GPS data processed {"connection_id":148396,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:26:21] local.INFO: Acknowledgment sent {"connection_id":148396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:26:27] local.INFO: TCP Data received {"connection_id":151017,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b3b4d0012d190cc007201a500030006828..."} 
[2026-08-05 12:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b3b4d0012d190cc007201a500030006828..."} 
[2026-08-05 12:26:27] local.INFO: Processing buffer {"connection_id":151017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b3b4d0012d190cc007201a500030006828..."} 
[2026-08-05 12:26:27] local.INFO: Packet analysis {"connection_id":151017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b3"} 
[2026-08-05 12:26:27] local.INFO: Extracted packet for processing {"connection_id":151017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b3"} 
[2026-08-05 12:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756616384,"raw_latitude":119544400,"longitude_deg":75.6616384,"latitude_deg":11.95444,"altitude":48,"angle":104,"satellites":40,"speed":7,"hex_longitude":"2d190cc0","hex_latitude":"07201a50","is_valid_coordinates":true} 
[2026-08-05 12:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193691136001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10614998787162112,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801228775319025664,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785912866000,"timestamp_ms":1785912866000,"timestamp_seconds":1785912866,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b3b4d0"} 
[2026-08-05 12:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3501390160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249589023825476280,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3007291393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4177088753182189312,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3221692444,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3048472576,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":60,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-2452208703901007865,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:27] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,102,83,24,241,157,16,182,159,75,45,192,27,29,41,10,66,181,71,128,28,40,67,1,240,7,227,208,32,4,113,205,9,59,216,168,239,52,2,37,23,13,60,178,5,120,73],"length":626,"final_offset":756,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:26:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954456085355102208,"timestamp_seconds":2954456085355102.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":151017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":151017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":151017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193691136001,"66":13319,"102":206,"83":41984,"24":7,"16":10614998787162112,"45":1801228775319025664},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193691136001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:26:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10614998787162112,"km_value":10614998787162.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801228775319025664,"description":"Unknown IO ID 45"} 
[2026-08-05 12:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193691136001,"power":13319,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1801228775319025664}} 
[2026-08-05 12:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":151017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:26:27] local.INFO: GPS data processed {"connection_id":151017,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:26:27] local.INFO: Acknowledgment sent {"connection_id":151017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:26:40] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:26:40] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:26:40] local.INFO: IMEI packet received {"connection_id":148397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":148397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:26:45] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:26:45] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:26:45] local.INFO: IMEI packet received {"connection_id":148397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":148397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:26:46] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b406d8012d190d4007201a280030006829..."} 
[2026-08-05 12:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b406d8012d190d4007201a280030006829..."} 
[2026-08-05 12:26:46] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b406d8012d190d4007201a280030006829..."} 
[2026-08-05 12:26:46] local.INFO: Packet analysis {"connection_id":148397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b4"} 
[2026-08-05 12:26:46] local.INFO: Extracted packet for processing {"connection_id":148397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b4"} 
[2026-08-05 12:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193693696001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805028687504625664,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26: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-08-05 12:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785912887000,"timestamp_ms":1785912887000,"timestamp_seconds":1785912887,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b406d8"} 
[2026-08-05 12:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:26: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-08-05 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3501407160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":40,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3137339392,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3007547393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3679440994358536192,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3048603648,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-481883866926448633,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:46] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,182,159,141,45,64,26,41,40,10,66,75,192,27,29,181,71,128,1,240,7,227,208,32,4,113,205,63,217,216,239,52,2,37,9,178],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:26:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458879034828980224,"timestamp_seconds":3458879034828980.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193693696001,"66":13243,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805028687504625664},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193693696001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:26:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805028687504625664,"description":"Unknown IO ID 45"} 
[2026-08-05 12:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193693696001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805028687504625664}} 
[2026-08-05 12:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":148397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:26:46] local.INFO: GPS data processed {"connection_id":148397,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:26:46] local.INFO: Acknowledgment sent {"connection_id":148397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:26:52] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:26:52] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:26:52] local.INFO: Packet analysis {"connection_id":148396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:26:52] local.INFO: Extracted packet for processing {"connection_id":148396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:26:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":7,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193593600001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785912778000,"timestamp_ms":1785912778000,"timestamp_seconds":1785912778,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b25d10"} 
[2026-08-05 12:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193593600001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193593600001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:26:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193593600001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":148396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:26:52] local.INFO: GPS data processed {"connection_id":148396,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:26:52] local.INFO: Acknowledgment sent {"connection_id":148396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:27:15] local.INFO: TCP Data received {"connection_id":149614,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:27:15] local.INFO: Processing buffer {"connection_id":149614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:27:15] local.INFO: IMEI packet received {"connection_id":149614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":149614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:27:17] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b458e0012d190d4007201a28003000682a..."} 
[2026-08-05 12:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b458e0012d190d4007201a28003000682a..."} 
[2026-08-05 12:27:17] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b458e0012d190d4007201a28003000682a..."} 
[2026-08-05 12:27:17] local.INFO: Packet analysis {"connection_id":148397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b4"} 
[2026-08-05 12:27:17] local.INFO: Extracted packet for processing {"connection_id":148397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b4"} 
[2026-08-05 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193699072001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785912908000,"timestamp_ms":1785912908000,"timestamp_seconds":1785912908,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b458e0"} 
[2026-08-05 12:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 12:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193699072001,"66":13222,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193699072001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:27:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193699072001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":148397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:27:17] local.INFO: GPS data processed {"connection_id":148397,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:27:17] local.INFO: Acknowledgment sent {"connection_id":148397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:27:20] local.INFO: TCP Data received {"connection_id":149614,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:27:20] local.INFO: Processing buffer {"connection_id":149614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:27:20] local.INFO: IMEI packet received {"connection_id":149614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":149614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:27:21] local.INFO: TCP Data received {"connection_id":149614,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:27:21] local.INFO: Processing buffer {"connection_id":149614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:27:21] local.INFO: Packet analysis {"connection_id":149614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:27:21] local.INFO: Extracted packet for processing {"connection_id":149614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:27:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":7,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193593600001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785912778000,"timestamp_ms":1785912778000,"timestamp_seconds":1785912778,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b25d10"} 
[2026-08-05 12:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193593600001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193593600001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:27:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193593600001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":149614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:27:21] local.INFO: GPS data processed {"connection_id":149614,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:27:21] local.INFO: Acknowledgment sent {"connection_id":149614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:27:40] local.INFO: TCP Data received {"connection_id":151018,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:27:40] local.INFO: Processing buffer {"connection_id":151018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:27:40] local.INFO: IMEI packet received {"connection_id":151018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":151018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:27:45] local.INFO: TCP Data received {"connection_id":151018,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:27:45] local.INFO: Processing buffer {"connection_id":151018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:27:45] local.INFO: IMEI packet received {"connection_id":151018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":151018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:27:46] local.INFO: TCP Data received {"connection_id":151018,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b4aae8012d190d4007201a280030006828..."} 
[2026-08-05 12:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b4aae8012d190d4007201a280030006828..."} 
[2026-08-05 12:27:46] local.INFO: Processing buffer {"connection_id":151018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b4aae8012d190d4007201a280030006828..."} 
[2026-08-05 12:27:46] local.INFO: Packet analysis {"connection_id":151018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b4"} 
[2026-08-05 12:27:46] local.INFO: Extracted packet for processing {"connection_id":151018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b4"} 
[2026-08-05 12:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193704448001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12: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-08-05 12:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785912929000,"timestamp_ms":1785912929000,"timestamp_seconds":1785912929,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b4aae8"} 
[2026-08-05 12:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:27: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-08-05 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-05 12:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193704448001,"66":13135,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193704448001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:27:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193704448001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":151018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:27:46] local.INFO: GPS data processed {"connection_id":151018,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:27:46] local.INFO: Acknowledgment sent {"connection_id":151018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:27:52] local.INFO: TCP Data received {"connection_id":149614,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:27:52] local.INFO: Processing buffer {"connection_id":149614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b25d10012d7f92c005afd9e8000700e92a..."} 
[2026-08-05 12:27:52] local.INFO: Packet analysis {"connection_id":149614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:27:52] local.INFO: Extracted packet for processing {"connection_id":149614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b2"} 
[2026-08-05 12:27:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":7,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193593600001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785912778000,"timestamp_ms":1785912778000,"timestamp_seconds":1785912778,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b25d10"} 
[2026-08-05 12:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193593600001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193593600001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:27:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193593600001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":149614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:27:52] local.INFO: GPS data processed {"connection_id":149614,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:27:52] local.INFO: Acknowledgment sent {"connection_id":149614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:28:17] local.INFO: TCP Data received {"connection_id":151018,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b4fcf0012d190d4007201a280030006828..."} 
[2026-08-05 12:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b4fcf0012d190d4007201a280030006828..."} 
[2026-08-05 12:28:17] local.INFO: Processing buffer {"connection_id":151018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b4fcf0012d190d4007201a280030006828..."} 
[2026-08-05 12:28:17] local.INFO: Packet analysis {"connection_id":151018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b4"} 
[2026-08-05 12:28:17] local.INFO: Extracted packet for processing {"connection_id":151018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b4"} 
[2026-08-05 12:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193709824001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785912950000,"timestamp_ms":1785912950000,"timestamp_seconds":1785912950,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b4fcf0"} 
[2026-08-05 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-08-05 12:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 12:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193709824001,"66":13102,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193709824001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:28:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193709824001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":151018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:28:17] local.INFO: GPS data processed {"connection_id":151018,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:28:17] local.INFO: Acknowledgment sent {"connection_id":151018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:28:40] local.INFO: TCP Data received {"connection_id":149615,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:28:40] local.INFO: Processing buffer {"connection_id":149615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:28:40] local.INFO: IMEI packet received {"connection_id":149615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":149615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:28:45] local.INFO: TCP Data received {"connection_id":149615,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:28:45] local.INFO: Processing buffer {"connection_id":149615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:28:45] local.INFO: IMEI packet received {"connection_id":149615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":149615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:28:46] local.INFO: TCP Data received {"connection_id":149615,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b54ef8012d190d4007201a280030006825..."} 
[2026-08-05 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b54ef8012d190d4007201a280030006825..."} 
[2026-08-05 12:28:46] local.INFO: Processing buffer {"connection_id":149615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b54ef8012d190d4007201a280030006825..."} 
[2026-08-05 12:28:46] local.INFO: Packet analysis {"connection_id":149615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b5"} 
[2026-08-05 12:28:46] local.INFO: Extracted packet for processing {"connection_id":149615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b5"} 
[2026-08-05 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193715200001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785912971000,"timestamp_ms":1785912971000,"timestamp_seconds":1785912971,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b54ef8"} 
[2026-08-05 12:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:28: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-08-05 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-05 12:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193715200001,"66":13080,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193715200001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:28:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193715200001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":149615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:28:46] local.INFO: GPS data processed {"connection_id":149615,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:28:46] local.INFO: Acknowledgment sent {"connection_id":149615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:29:16] local.INFO: TCP Data received {"connection_id":149615,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b5a100012d190d4007201a280030006824..."} 
[2026-08-05 12:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b5a100012d190d4007201a280030006824..."} 
[2026-08-05 12:29:16] local.INFO: Processing buffer {"connection_id":149615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b5a100012d190d4007201a280030006824..."} 
[2026-08-05 12:29:16] local.INFO: Packet analysis {"connection_id":149615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b5"} 
[2026-08-05 12:29:16] local.INFO: Extracted packet for processing {"connection_id":149615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b5"} 
[2026-08-05 12:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193720576001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785912992000,"timestamp_ms":1785912992000,"timestamp_seconds":1785912992,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b5a100"} 
[2026-08-05 12:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-05 12:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193720576001,"66":13015,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193720576001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:29:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193720576001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":149615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:29:16] local.INFO: GPS data processed {"connection_id":149615,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:29:16] local.INFO: Acknowledgment sent {"connection_id":149615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:29:31] local.INFO: TCP Data received {"connection_id":148398,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:29:31] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:29:31] local.INFO: IMEI packet received {"connection_id":148398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":148398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:29:35] local.INFO: TCP Data received {"connection_id":148398,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:29:35] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:29:35] local.INFO: IMEI packet received {"connection_id":148398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":148398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:29:36] local.INFO: TCP Data received {"connection_id":148398,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:29:36] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:29:36] local.INFO: Packet analysis {"connection_id":148398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:29:36] local.INFO: Extracted packet for processing {"connection_id":148398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":10,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193671168001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785913081000,"timestamp_ms":1785913081000,"timestamp_seconds":1785913081,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b6fca8"} 
[2026-08-05 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-08-05 12:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193671168001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193671168001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:29:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193671168001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":148398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:29:36] local.INFO: GPS data processed {"connection_id":148398,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:29:36] local.INFO: Acknowledgment sent {"connection_id":148398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:29:40] local.INFO: TCP Data received {"connection_id":151019,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:29:40] local.INFO: Processing buffer {"connection_id":151019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:29:40] local.INFO: IMEI packet received {"connection_id":151019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":151019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:29:45] local.INFO: TCP Data received {"connection_id":151019,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:29:45] local.INFO: Processing buffer {"connection_id":151019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:29:45] local.INFO: IMEI packet received {"connection_id":151019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":151019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:29:49] local.INFO: TCP Data received {"connection_id":151019,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b5f308012d190d4007201a280030006826..."} 
[2026-08-05 12:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b5f308012d190d4007201a280030006826..."} 
[2026-08-05 12:29:49] local.INFO: Processing buffer {"connection_id":151019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b5f308012d190d4007201a280030006826..."} 
[2026-08-05 12:29:49] local.INFO: Packet analysis {"connection_id":151019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b5"} 
[2026-08-05 12:29:49] local.INFO: Extracted packet for processing {"connection_id":151019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b5"} 
[2026-08-05 12:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193725952001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785913013000,"timestamp_ms":1785913013000,"timestamp_seconds":1785913013,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b5f308"} 
[2026-08-05 12:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 12:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193725952001,"66":13004,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193725952001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:29:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193725952001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":151019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:29:49] local.INFO: GPS data processed {"connection_id":151019,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:29:49] local.INFO: Acknowledgment sent {"connection_id":151019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:30:15] local.INFO: TCP Data received {"connection_id":151020,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:30:15] local.INFO: Processing buffer {"connection_id":151020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:30:15] local.INFO: IMEI packet received {"connection_id":151020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":151020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:30:19] local.INFO: TCP Data received {"connection_id":151019,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b64510012d190d4007201a280030006828..."} 
[2026-08-05 12:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b64510012d190d4007201a280030006828..."} 
[2026-08-05 12:30:19] local.INFO: Processing buffer {"connection_id":151019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b64510012d190d4007201a280030006828..."} 
[2026-08-05 12:30:19] local.INFO: Packet analysis {"connection_id":151019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:30:19] local.INFO: Extracted packet for processing {"connection_id":151019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193731328001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785913034000,"timestamp_ms":1785913034000,"timestamp_seconds":1785913034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b64510"} 
[2026-08-05 12:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-05 12:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193731328001,"66":12993,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193731328001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:30:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193731328001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":151019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:30:19] local.INFO: GPS data processed {"connection_id":151019,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:30:19] local.INFO: Acknowledgment sent {"connection_id":151019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:30:20] local.INFO: TCP Data received {"connection_id":151020,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:30:20] local.INFO: Processing buffer {"connection_id":151020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:30:20] local.INFO: IMEI packet received {"connection_id":151020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":151020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:30:21] local.INFO: TCP Data received {"connection_id":151020,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:30:21] local.INFO: Processing buffer {"connection_id":151020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:30:21] local.INFO: Packet analysis {"connection_id":151020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:30:21] local.INFO: Extracted packet for processing {"connection_id":151020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:30:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":10,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193671168001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785913081000,"timestamp_ms":1785913081000,"timestamp_seconds":1785913081,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b6fca8"} 
[2026-08-05 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-08-05 12:30: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-08-05 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12: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-08-05 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-08-05 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-08-05 12:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:30: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-08-05 12:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193671168001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193671168001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:30:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193671168001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":151020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:30:21] local.INFO: GPS data processed {"connection_id":151020,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:30:21] local.INFO: Acknowledgment sent {"connection_id":151020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:30:40] local.INFO: TCP Data received {"connection_id":148399,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:30:40] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:30:40] local.INFO: IMEI packet received {"connection_id":148399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":148399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:30:40] local.INFO: TCP Data received {"connection_id":148399,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:30:40] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:30:40] local.INFO: IMEI packet received {"connection_id":148399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":148399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:30:45] local.INFO: TCP Data received {"connection_id":148399,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:30:45] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:30:45] local.INFO: IMEI packet received {"connection_id":148399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":148399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:30:46] local.INFO: TCP Data received {"connection_id":148399,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b69718012d190d4007201a280030006827..."} 
[2026-08-05 12:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b69718012d190d4007201a280030006827..."} 
[2026-08-05 12:30:46] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b69718012d190d4007201a280030006827..."} 
[2026-08-05 12:30:46] local.INFO: Packet analysis {"connection_id":148399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:30:46] local.INFO: Extracted packet for processing {"connection_id":148399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193736704001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785913055000,"timestamp_ms":1785913055000,"timestamp_seconds":1785913055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b69718"} 
[2026-08-05 12:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:30: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-08-05 12:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 12:30: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-08-05 12:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193736704001,"66":12961,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193736704001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:30:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193736704001,"power":12961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":148399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:30:46] local.INFO: GPS data processed {"connection_id":148399,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:30:46] local.INFO: Acknowledgment sent {"connection_id":148399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:30:52] local.INFO: TCP Data received {"connection_id":151020,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:30:52] local.INFO: Processing buffer {"connection_id":151020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:30:52] local.INFO: Packet analysis {"connection_id":151020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:30:52] local.INFO: Extracted packet for processing {"connection_id":151020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:30:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":10,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193671168001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785913081000,"timestamp_ms":1785913081000,"timestamp_seconds":1785913081,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b6fca8"} 
[2026-08-05 12:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193671168001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193671168001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:30:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193671168001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":151020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:30:52] local.INFO: GPS data processed {"connection_id":151020,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:30:52] local.INFO: Acknowledgment sent {"connection_id":151020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:31:17] local.INFO: TCP Data received {"connection_id":148399,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b6e920012d190d4007201a280030006827..."} 
[2026-08-05 12:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b6e920012d190d4007201a280030006827..."} 
[2026-08-05 12:31:17] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b6e920012d190d4007201a280030006827..."} 
[2026-08-05 12:31:17] local.INFO: Packet analysis {"connection_id":148399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:31:17] local.INFO: Extracted packet for processing {"connection_id":148399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193742080001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785913076000,"timestamp_ms":1785913076000,"timestamp_seconds":1785913076,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b6e920"} 
[2026-08-05 12:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-05 12:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193742080001,"66":12950,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193742080001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:31:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193742080001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":148399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:31:17] local.INFO: GPS data processed {"connection_id":148399,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:31:17] local.INFO: Acknowledgment sent {"connection_id":148399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:31:20] local.INFO: TCP Data received {"connection_id":149616,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:31:20] local.INFO: Processing buffer {"connection_id":149616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:31:20] local.INFO: IMEI packet received {"connection_id":149616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":149616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:31:25] local.INFO: TCP Data received {"connection_id":149616,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:31:25] local.INFO: Processing buffer {"connection_id":149616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:31:25] local.INFO: IMEI packet received {"connection_id":149616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":149616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:31:26] local.INFO: TCP Data received {"connection_id":149616,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:31:26] local.INFO: Processing buffer {"connection_id":149616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:31:26] local.INFO: Packet analysis {"connection_id":149616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:31:26] local.INFO: Extracted packet for processing {"connection_id":149616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":10,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193671168001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785913081000,"timestamp_ms":1785913081000,"timestamp_seconds":1785913081,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b6fca8"} 
[2026-08-05 12:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193671168001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193671168001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:31:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193671168001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":149616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:31:26] local.INFO: GPS data processed {"connection_id":149616,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:31:26] local.INFO: Acknowledgment sent {"connection_id":149616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:31:30] local.INFO: TCP Data received {"connection_id":149616,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:31:30] local.INFO: Processing buffer {"connection_id":149616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:31:30] local.INFO: Packet analysis {"connection_id":149616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:31:30] local.INFO: Extracted packet for processing {"connection_id":149616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":10,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193671168001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785913081000,"timestamp_ms":1785913081000,"timestamp_seconds":1785913081,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b6fca8"} 
[2026-08-05 12:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193671168001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193671168001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:31:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193671168001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":149616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:31:30] local.INFO: GPS data processed {"connection_id":149616,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:31:30] local.INFO: Acknowledgment sent {"connection_id":149616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:31:40] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:31:40] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:31:40] local.INFO: IMEI packet received {"connection_id":148400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":148400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:31:43] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:31:43] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:31:43] local.INFO: IMEI packet received {"connection_id":148400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":148400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:31:45] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:31:45] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:31:45] local.INFO: IMEI packet received {"connection_id":148400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":148400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:31:45] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b73b28012d190d4007201a280030006828..."} 
[2026-08-05 12:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b73b28012d190d4007201a280030006828..."} 
[2026-08-05 12:31:45] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b73b28012d190d4007201a280030006828..."} 
[2026-08-05 12:31:45] local.INFO: Packet analysis {"connection_id":148400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b7"} 
[2026-08-05 12:31:45] local.INFO: Extracted packet for processing {"connection_id":148400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b7"} 
[2026-08-05 12:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193747456001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785913097000,"timestamp_ms":1785913097000,"timestamp_seconds":1785913097,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b73b28"} 
[2026-08-05 12:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 12:31: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-08-05 12:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193747456001,"66":12928,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193747456001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:31:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193747456001,"power":12928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":148400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:31:46] local.INFO: GPS data processed {"connection_id":148400,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:31:46] local.INFO: Acknowledgment sent {"connection_id":148400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:32:15] local.INFO: TCP Data received {"connection_id":148401,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:32:15] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:32:15] local.INFO: IMEI packet received {"connection_id":148401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":148401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:32:20] local.INFO: TCP Data received {"connection_id":148401,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:32:20] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:32:20] local.INFO: IMEI packet received {"connection_id":148401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":148401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:32:21] local.INFO: TCP Data received {"connection_id":148401,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:32:21] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:32:21] local.INFO: Packet analysis {"connection_id":148401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:32:21] local.INFO: Extracted packet for processing {"connection_id":148401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:32:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":10,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193671168001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785913081000,"timestamp_ms":1785913081000,"timestamp_seconds":1785913081,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b6fca8"} 
[2026-08-05 12:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:32: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-08-05 12:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193671168001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193671168001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:32:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193671168001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":148401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:32:21] local.INFO: GPS data processed {"connection_id":148401,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:32:21] local.INFO: Acknowledgment sent {"connection_id":148401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:32:28] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b78d30012d190d4007201a280030006829..."} 
[2026-08-05 12:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b78d30012d190d4007201a280030006829..."} 
[2026-08-05 12:32:28] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b78d30012d190d4007201a280030006829..."} 
[2026-08-05 12:32:28] local.INFO: Packet analysis {"connection_id":148400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b7"} 
[2026-08-05 12:32:28] local.INFO: Extracted packet for processing {"connection_id":148400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b7"} 
[2026-08-05 12:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193752832001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785913118000,"timestamp_ms":1785913118000,"timestamp_seconds":1785913118,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b78d30"} 
[2026-08-05 12:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-05 12:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193752832001,"66":12885,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193752832001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:32:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193752832001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":148400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:32:29] local.INFO: GPS data processed {"connection_id":148400,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:32:29] local.INFO: Acknowledgment sent {"connection_id":148400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:32:45] local.INFO: TCP Data received {"connection_id":149617,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:32:45] local.INFO: Processing buffer {"connection_id":149617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:32:45] local.INFO: IMEI packet received {"connection_id":149617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":149617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:32:46] local.INFO: TCP Data received {"connection_id":149617,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:32:46] local.INFO: Processing buffer {"connection_id":149617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:32:46] local.INFO: IMEI packet received {"connection_id":149617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":149617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:32:46] local.INFO: TCP Data received {"connection_id":149617,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b7df38012d190d4007201a280030006829..."} 
[2026-08-05 12:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b7df38012d190d4007201a280030006829..."} 
[2026-08-05 12:32:46] local.INFO: Processing buffer {"connection_id":149617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b7df38012d190d4007201a280030006829..."} 
[2026-08-05 12:32:46] local.INFO: Packet analysis {"connection_id":149617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b7"} 
[2026-08-05 12:32:46] local.INFO: Extracted packet for processing {"connection_id":149617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b7"} 
[2026-08-05 12:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193758208001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785913139000,"timestamp_ms":1785913139000,"timestamp_seconds":1785913139,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b7df38"} 
[2026-08-05 12:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:32: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-08-05 12:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 12:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193758208001,"66":12863,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193758208001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:32:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193758208001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":149617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:32:46] local.INFO: GPS data processed {"connection_id":149617,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:32:46] local.INFO: Acknowledgment sent {"connection_id":149617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:32:50] local.INFO: TCP Data received {"connection_id":149617,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b83140012d190d4007201a280030006827..."} 
[2026-08-05 12:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b83140012d190d4007201a280030006827..."} 
[2026-08-05 12:32:50] local.INFO: Processing buffer {"connection_id":149617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b83140012d190d4007201a280030006827..."} 
[2026-08-05 12:32:50] local.INFO: Packet analysis {"connection_id":149617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b8"} 
[2026-08-05 12:32:50] local.INFO: Extracted packet for processing {"connection_id":149617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b8"} 
[2026-08-05 12:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193763584001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785913160000,"timestamp_ms":1785913160000,"timestamp_seconds":1785913160,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b83140"} 
[2026-08-05 12:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:32: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-08-05 12: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 12:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193763584001,"66":12841,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193763584001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:32:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193763584001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":149617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:32:50] local.INFO: GPS data processed {"connection_id":149617,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:32:50] local.INFO: Acknowledgment sent {"connection_id":149617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:32:52] local.INFO: TCP Data received {"connection_id":148401,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:32:52] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:32:52] local.INFO: Packet analysis {"connection_id":148401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:32:52] local.INFO: Extracted packet for processing {"connection_id":148401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:32:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":10,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193671168001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785913081000,"timestamp_ms":1785913081000,"timestamp_seconds":1785913081,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b6fca8"} 
[2026-08-05 12:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193671168001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193671168001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:32:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193671168001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":148401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:32:52] local.INFO: GPS data processed {"connection_id":148401,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:32:52] local.INFO: Acknowledgment sent {"connection_id":148401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:33:15] local.INFO: TCP Data received {"connection_id":151021,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:33:15] local.INFO: Processing buffer {"connection_id":151021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:33:15] local.INFO: IMEI packet received {"connection_id":151021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":151021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:33:20] local.INFO: TCP Data received {"connection_id":151021,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:33:20] local.INFO: Processing buffer {"connection_id":151021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:33:20] local.INFO: IMEI packet received {"connection_id":151021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":151021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:33:21] local.INFO: TCP Data received {"connection_id":151021,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:33:21] local.INFO: Processing buffer {"connection_id":151021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:33:21] local.INFO: Packet analysis {"connection_id":151021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:33:21] local.INFO: Extracted packet for processing {"connection_id":151021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:33:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":10,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193671168001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785913081000,"timestamp_ms":1785913081000,"timestamp_seconds":1785913081,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b6fca8"} 
[2026-08-05 12:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:33: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-08-05 12:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:33: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-08-05 12:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:33: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-08-05 12:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193671168001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193671168001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:33:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193671168001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":151021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:33:21] local.INFO: GPS data processed {"connection_id":151021,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:33:21] local.INFO: Acknowledgment sent {"connection_id":151021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:33:21] local.INFO: TCP Data received {"connection_id":149617,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b88348012d190d4007201a280030006827..."} 
[2026-08-05 12:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b88348012d190d4007201a280030006827..."} 
[2026-08-05 12:33:21] local.INFO: Processing buffer {"connection_id":149617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b88348012d190d4007201a280030006827..."} 
[2026-08-05 12:33:21] local.INFO: Packet analysis {"connection_id":149617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b8"} 
[2026-08-05 12:33:21] local.INFO: Extracted packet for processing {"connection_id":149617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b8"} 
[2026-08-05 12:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193768960001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785913181000,"timestamp_ms":1785913181000,"timestamp_seconds":1785913181,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b88348"} 
[2026-08-05 12:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:33: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-08-05 12:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-05 12:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193768960001,"66":12645,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193768960001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:33:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193768960001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":149617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:33:21] local.INFO: GPS data processed {"connection_id":149617,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:33:21] local.INFO: Acknowledgment sent {"connection_id":149617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:33:40] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:33:40] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:33:40] local.INFO: IMEI packet received {"connection_id":148613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":148613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:33:45] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:33:45] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:33:45] local.INFO: IMEI packet received {"connection_id":148613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":148613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:33:46] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b8d550012d190d4007201a280030006826..."} 
[2026-08-05 12:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b8d550012d190d4007201a280030006826..."} 
[2026-08-05 12:33:46] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b8d550012d190d4007201a280030006826..."} 
[2026-08-05 12:33:46] local.INFO: Packet analysis {"connection_id":148613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b8"} 
[2026-08-05 12:33:46] local.INFO: Extracted packet for processing {"connection_id":148613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b8"} 
[2026-08-05 12:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193774336001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785913202000,"timestamp_ms":1785913202000,"timestamp_seconds":1785913202,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b8d550"} 
[2026-08-05 12:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:33: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-08-05 12:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-05 12:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193774336001,"66":12798,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193774336001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193774336001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":148613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:33:46] local.INFO: GPS data processed {"connection_id":148613,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:33:46] local.INFO: Acknowledgment sent {"connection_id":148613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:33:49] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b92758012d190d4007201a280030006829..."} 
[2026-08-05 12:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b92758012d190d4007201a280030006829..."} 
[2026-08-05 12:33:49] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b92758012d190d4007201a280030006829..."} 
[2026-08-05 12:33:49] local.INFO: Packet analysis {"connection_id":148613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b9"} 
[2026-08-05 12:33:49] local.INFO: Extracted packet for processing {"connection_id":148613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b9"} 
[2026-08-05 12:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193779712001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785913223000,"timestamp_ms":1785913223000,"timestamp_seconds":1785913223,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b92758"} 
[2026-08-05 12:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 12:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193779712001,"66":12809,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193779712001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:33:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193779712001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":148613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:33:50] local.INFO: GPS data processed {"connection_id":148613,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:33:50] local.INFO: Acknowledgment sent {"connection_id":148613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:33:52] local.INFO: TCP Data received {"connection_id":151021,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:33:52] local.INFO: Processing buffer {"connection_id":151021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b6fca8012d7f92c005afd9e8000a00e927..."} 
[2026-08-05 12:33:52] local.INFO: Packet analysis {"connection_id":151021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:33:52] local.INFO: Extracted packet for processing {"connection_id":151021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b6"} 
[2026-08-05 12:33:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":10,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193671168001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785913081000,"timestamp_ms":1785913081000,"timestamp_seconds":1785913081,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b6fca8"} 
[2026-08-05 12:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193671168001,"66":25615,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193671168001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:33:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193671168001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":151021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:33:52] local.INFO: GPS data processed {"connection_id":151021,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:33:52] local.INFO: Acknowledgment sent {"connection_id":151021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:34:15] local.INFO: TCP Data received {"connection_id":148402,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:34:15] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:34:15] local.INFO: IMEI packet received {"connection_id":148402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":148402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:34:20] local.INFO: TCP Data received {"connection_id":148402,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:34:20] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:34:20] local.INFO: IMEI packet received {"connection_id":148402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":148402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:34:21] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b97960012d190d4007201a280030006829..."} 
[2026-08-05 12:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b97960012d190d4007201a280030006829..."} 
[2026-08-05 12:34:21] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b97960012d190d4007201a280030006829..."} 
[2026-08-05 12:34:21] local.INFO: Packet analysis {"connection_id":148613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b9"} 
[2026-08-05 12:34:21] local.INFO: Extracted packet for processing {"connection_id":148613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b9"} 
[2026-08-05 12:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193785088001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785913244000,"timestamp_ms":1785913244000,"timestamp_seconds":1785913244,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b97960"} 
[2026-08-05 12:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3501669160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":208,"raw_value":-5266643099809411776,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146119863677357,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3058368512,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2313205339878615079,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,182,159,213,45,64,26,48,38,10,66,131,39,49,1,240,41,227,208,32,4,113,205,141,13,40,239,50,2,37,7,164,75],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:34:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458879039123488768,"timestamp_seconds":3458879039123489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193785088001,"66":12776,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193785088001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:34:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193785088001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":148613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:34:21] local.INFO: GPS data processed {"connection_id":148613,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:34:21] local.INFO: Acknowledgment sent {"connection_id":148613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:34:21] local.INFO: TCP Data received {"connection_id":148402,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:34:21] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:34:21] local.INFO: Packet analysis {"connection_id":148402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:34:21] local.INFO: Extracted packet for processing {"connection_id":148402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":6,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193748736001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785913413000,"timestamp_ms":1785913413000,"timestamp_seconds":1785913413,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bc0d88"} 
[2026-08-05 12:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:34: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-08-05 12:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:34: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-08-05 12:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193748736001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193748736001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:34:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193748736001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":148402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:34:21] local.INFO: GPS data processed {"connection_id":148402,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:34:21] local.INFO: Acknowledgment sent {"connection_id":148402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:34:40] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:34:40] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:34:40] local.INFO: IMEI packet received {"connection_id":148614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":148614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:34:45] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:34:45] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:34:45] local.INFO: IMEI packet received {"connection_id":148614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":148614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:34:46] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0b9cb68012d190d4007201a280030006829..."} 
[2026-08-05 12:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0b9cb68012d190d4007201a280030006829..."} 
[2026-08-05 12:34:46] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0b9cb68012d190d4007201a280030006829..."} 
[2026-08-05 12:34:46] local.INFO: Packet analysis {"connection_id":148614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0b9"} 
[2026-08-05 12:34:46] local.INFO: Extracted packet for processing {"connection_id":148614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0b9"} 
[2026-08-05 12:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193790464001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785913265000,"timestamp_ms":1785913265000,"timestamp_seconds":1785913265,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0b9cb68"} 
[2026-08-05 12:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:34: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-08-05 12:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 12:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193790464001,"66":12776,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193790464001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:34:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193790464001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":148614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:34:46] local.INFO: GPS data processed {"connection_id":148614,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:34:46] local.INFO: Acknowledgment sent {"connection_id":148614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:34:52] local.INFO: TCP Data received {"connection_id":148402,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:34:52] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:34:52] local.INFO: Packet analysis {"connection_id":148402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:34:52] local.INFO: Extracted packet for processing {"connection_id":148402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:34:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":6,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193748736001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785913413000,"timestamp_ms":1785913413000,"timestamp_seconds":1785913413,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bc0d88"} 
[2026-08-05 12:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193748736001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193748736001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:34:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193748736001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":148402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:34:52] local.INFO: GPS data processed {"connection_id":148402,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:34:52] local.INFO: Acknowledgment sent {"connection_id":148402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:35:17] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ba1d70012d190d4007201a280030006829..."} 
[2026-08-05 12:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ba1d70012d190d4007201a280030006829..."} 
[2026-08-05 12:35:17] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ba1d70012d190d4007201a280030006829..."} 
[2026-08-05 12:35:17] local.INFO: Packet analysis {"connection_id":148614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ba"} 
[2026-08-05 12:35:17] local.INFO: Extracted packet for processing {"connection_id":148614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ba"} 
[2026-08-05 12:35:17] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193795840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785913286000,"timestamp_ms":1785913286000,"timestamp_seconds":1785913286,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ba1d70"} 
[2026-08-05 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-08-05 12:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 12:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193795840001,"66":12776,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193795840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:35:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:35:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193795840001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":148614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:35:17] local.INFO: GPS data processed {"connection_id":148614,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:35:17] local.INFO: Acknowledgment sent {"connection_id":148614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:35:20] local.INFO: TCP Data received {"connection_id":148615,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:35:20] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:35:20] local.INFO: IMEI packet received {"connection_id":148615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":148615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:35:25] local.INFO: TCP Data received {"connection_id":148615,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:35:25] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:35:25] local.INFO: IMEI packet received {"connection_id":148615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":148615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:35:26] local.INFO: TCP Data received {"connection_id":148615,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:35:26] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:35:26] local.INFO: Packet analysis {"connection_id":148615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:35:26] local.INFO: Extracted packet for processing {"connection_id":148615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":6,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193748736001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785913413000,"timestamp_ms":1785913413000,"timestamp_seconds":1785913413,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bc0d88"} 
[2026-08-05 12:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193748736001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193748736001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:35:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193748736001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":148615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:35:26] local.INFO: GPS data processed {"connection_id":148615,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:35:26] local.INFO: Acknowledgment sent {"connection_id":148615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:35:30] local.INFO: TCP Data received {"connection_id":148615,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:35:30] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:35:30] local.INFO: Packet analysis {"connection_id":148615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:35:30] local.INFO: Extracted packet for processing {"connection_id":148615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":6,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193748736001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785913413000,"timestamp_ms":1785913413000,"timestamp_seconds":1785913413,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bc0d88"} 
[2026-08-05 12:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193748736001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193748736001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:35:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:35:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193748736001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":148615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:35:30] local.INFO: GPS data processed {"connection_id":148615,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:35:30] local.INFO: Acknowledgment sent {"connection_id":148615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:35:40] local.INFO: TCP Data received {"connection_id":151022,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:35:40] local.INFO: Processing buffer {"connection_id":151022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:35:40] local.INFO: IMEI packet received {"connection_id":151022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":151022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:35:45] local.INFO: TCP Data received {"connection_id":151022,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:35:45] local.INFO: Processing buffer {"connection_id":151022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:35:45] local.INFO: IMEI packet received {"connection_id":151022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":151022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:35:46] local.INFO: TCP Data received {"connection_id":151022,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ba6f78012d190d4007201a280030006828..."} 
[2026-08-05 12:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ba6f78012d190d4007201a280030006828..."} 
[2026-08-05 12:35:46] local.INFO: Processing buffer {"connection_id":151022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ba6f78012d190d4007201a280030006828..."} 
[2026-08-05 12:35:46] local.INFO: Packet analysis {"connection_id":151022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ba"} 
[2026-08-05 12:35:46] local.INFO: Extracted packet for processing {"connection_id":151022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ba"} 
[2026-08-05 12:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193801216001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785913307000,"timestamp_ms":1785913307000,"timestamp_seconds":1785913307,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ba6f78"} 
[2026-08-05 12:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:35: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-08-05 12:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 12:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193801216001,"66":12722,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193801216001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:35:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193801216001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":151022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:35:46] local.INFO: GPS data processed {"connection_id":151022,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:35:46] local.INFO: Acknowledgment sent {"connection_id":151022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:36:15] local.INFO: TCP Data received {"connection_id":148616,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:36:15] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:36:15] local.INFO: IMEI packet received {"connection_id":148616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":148616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:36:16] local.INFO: TCP Data received {"connection_id":151022,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bac180012d190d4007201a280030006829..."} 
[2026-08-05 12:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bac180012d190d4007201a280030006829..."} 
[2026-08-05 12:36:16] local.INFO: Processing buffer {"connection_id":151022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bac180012d190d4007201a280030006829..."} 
[2026-08-05 12:36:16] local.INFO: Packet analysis {"connection_id":151022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ba"} 
[2026-08-05 12:36:16] local.INFO: Extracted packet for processing {"connection_id":151022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ba"} 
[2026-08-05 12:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193806592001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785913328000,"timestamp_ms":1785913328000,"timestamp_seconds":1785913328,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bac180"} 
[2026-08-05 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-08-05 12:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 12:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193806592001,"66":12722,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193806592001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:36:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193806592001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":151022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:36:17] local.INFO: GPS data processed {"connection_id":151022,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:36:17] local.INFO: Acknowledgment sent {"connection_id":151022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:36:20] local.INFO: TCP Data received {"connection_id":148616,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:36:20] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:36:20] local.INFO: IMEI packet received {"connection_id":148616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":148616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:36:21] local.INFO: TCP Data received {"connection_id":148616,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:36:21] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:36:21] local.INFO: Packet analysis {"connection_id":148616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:36:21] local.INFO: Extracted packet for processing {"connection_id":148616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:36:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":6,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193748736001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785913413000,"timestamp_ms":1785913413000,"timestamp_seconds":1785913413,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bc0d88"} 
[2026-08-05 12:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:36: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-08-05 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:36: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-08-05 12: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-08-05 12:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12: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-08-05 12:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193748736001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193748736001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:36:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193748736001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":148616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:36:21] local.INFO: GPS data processed {"connection_id":148616,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:36:21] local.INFO: Acknowledgment sent {"connection_id":148616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:36:40] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:36:40] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:36:40] local.INFO: IMEI packet received {"connection_id":148403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":148403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:36:45] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:36:45] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:36:45] local.INFO: IMEI packet received {"connection_id":148403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":148403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:36:46] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bb1388012d190d4007201a280030006826..."} 
[2026-08-05 12:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bb1388012d190d4007201a280030006826..."} 
[2026-08-05 12:36:46] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bb1388012d190d4007201a280030006826..."} 
[2026-08-05 12:36:46] local.INFO: Packet analysis {"connection_id":148403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bb"} 
[2026-08-05 12:36:46] local.INFO: Extracted packet for processing {"connection_id":148403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bb"} 
[2026-08-05 12:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193811968001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12: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-08-05 12:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785913349000,"timestamp_ms":1785913349000,"timestamp_seconds":1785913349,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bb1388"} 
[2026-08-05 12:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:36: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-08-05 12:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 12:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193811968001,"66":12722,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193811968001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:36:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193811968001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":148403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:36:46] local.INFO: GPS data processed {"connection_id":148403,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:36:46] local.INFO: Acknowledgment sent {"connection_id":148403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:36:56] local.INFO: TCP Data received {"connection_id":148616,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:36:56] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:36:56] local.INFO: Packet analysis {"connection_id":148616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:36:56] local.INFO: Extracted packet for processing {"connection_id":148616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":6,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193748736001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785913413000,"timestamp_ms":1785913413000,"timestamp_seconds":1785913413,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bc0d88"} 
[2026-08-05 12:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193748736001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193748736001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:36:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193748736001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":148616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:36:56] local.INFO: GPS data processed {"connection_id":148616,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:36:56] local.INFO: Acknowledgment sent {"connection_id":148616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:37:15] local.INFO: TCP Data received {"connection_id":151023,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:37:15] local.INFO: Processing buffer {"connection_id":151023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:37:15] local.INFO: IMEI packet received {"connection_id":151023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":151023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:37:17] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bb6590012d190d4007201a280030006829..."} 
[2026-08-05 12:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bb6590012d190d4007201a280030006829..."} 
[2026-08-05 12:37:17] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bb6590012d190d4007201a280030006829..."} 
[2026-08-05 12:37:17] local.INFO: Packet analysis {"connection_id":148403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bb"} 
[2026-08-05 12:37:17] local.INFO: Extracted packet for processing {"connection_id":148403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bb"} 
[2026-08-05 12:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193817344001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785913370000,"timestamp_ms":1785913370000,"timestamp_seconds":1785913370,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bb6590"} 
[2026-08-05 12:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 12:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193817344001,"66":12689,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193817344001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:37:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:37:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193817344001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":148403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:37:17] local.INFO: GPS data processed {"connection_id":148403,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:37:17] local.INFO: Acknowledgment sent {"connection_id":148403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:37:20] local.INFO: TCP Data received {"connection_id":151023,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:37:20] local.INFO: Processing buffer {"connection_id":151023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:37:20] local.INFO: IMEI packet received {"connection_id":151023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":151023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:37:21] local.INFO: TCP Data received {"connection_id":151023,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:37:21] local.INFO: Processing buffer {"connection_id":151023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:37:21] local.INFO: Packet analysis {"connection_id":151023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:37:21] local.INFO: Extracted packet for processing {"connection_id":151023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":6,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193748736001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785913413000,"timestamp_ms":1785913413000,"timestamp_seconds":1785913413,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bc0d88"} 
[2026-08-05 12:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:37: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-08-05 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:37: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-08-05 12: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-08-05 12:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193748736001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193748736001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:37:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193748736001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":151023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:37:21] local.INFO: GPS data processed {"connection_id":151023,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:37:21] local.INFO: Acknowledgment sent {"connection_id":151023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:37:40] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:37:40] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:37:40] local.INFO: IMEI packet received {"connection_id":148404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":148404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:37:41] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:37:41] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:37:41] local.INFO: IMEI packet received {"connection_id":148404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":148404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:37:45] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:37:45] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:37:45] local.INFO: IMEI packet received {"connection_id":148404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":148404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:37:46] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bbb798012d190d4007201a280030006829..."} 
[2026-08-05 12:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bbb798012d190d4007201a280030006829..."} 
[2026-08-05 12:37:46] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bbb798012d190d4007201a280030006829..."} 
[2026-08-05 12:37:46] local.INFO: Packet analysis {"connection_id":148404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bb"} 
[2026-08-05 12:37:46] local.INFO: Extracted packet for processing {"connection_id":148404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bb"} 
[2026-08-05 12:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193822720001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785913391000,"timestamp_ms":1785913391000,"timestamp_seconds":1785913391,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bbb798"} 
[2026-08-05 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-08-05 12:37: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-08-05 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 12:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193822720001,"66":12678,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193822720001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:37:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193822720001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":148404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:37:46] local.INFO: GPS data processed {"connection_id":148404,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:37:46] local.INFO: Acknowledgment sent {"connection_id":148404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:37:52] local.INFO: TCP Data received {"connection_id":151023,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:37:52] local.INFO: Processing buffer {"connection_id":151023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:37:52] local.INFO: Packet analysis {"connection_id":151023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:37:52] local.INFO: Extracted packet for processing {"connection_id":151023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":6,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193748736001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785913413000,"timestamp_ms":1785913413000,"timestamp_seconds":1785913413,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bc0d88"} 
[2026-08-05 12:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193748736001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193748736001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:37:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193748736001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":151023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:37:52] local.INFO: GPS data processed {"connection_id":151023,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:37:52] local.INFO: Acknowledgment sent {"connection_id":151023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:38:16] local.INFO: TCP Data received {"connection_id":148617,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:38:16] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:38:16] local.INFO: IMEI packet received {"connection_id":148617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":148617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:38:17] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bc09a0012d190d4007201a28003000682a..."} 
[2026-08-05 12:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bc09a0012d190d4007201a28003000682a..."} 
[2026-08-05 12:38:17] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bc09a0012d190d4007201a28003000682a..."} 
[2026-08-05 12:38:17] local.INFO: Packet analysis {"connection_id":148404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:38:17] local.INFO: Extracted packet for processing {"connection_id":148404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193828096001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785913412000,"timestamp_ms":1785913412000,"timestamp_seconds":1785913412,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bc09a0"} 
[2026-08-05 12:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 12:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193828096001,"66":12689,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193828096001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:38:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193828096001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":148404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:38:17] local.INFO: GPS data processed {"connection_id":148404,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:38:17] local.INFO: Acknowledgment sent {"connection_id":148404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:38:20] local.INFO: TCP Data received {"connection_id":148617,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:38:20] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:38:20] local.INFO: IMEI packet received {"connection_id":148617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":148617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:38:21] local.INFO: TCP Data received {"connection_id":148617,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:38:21] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:38:21] local.INFO: Packet analysis {"connection_id":148617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:38:21] local.INFO: Extracted packet for processing {"connection_id":148617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:38:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":6,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193748736001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785913413000,"timestamp_ms":1785913413000,"timestamp_seconds":1785913413,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bc0d88"} 
[2026-08-05 12:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:38: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-08-05 12:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:38: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-08-05 12:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193748736001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193748736001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:38:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193748736001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":148617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:38:21] local.INFO: GPS data processed {"connection_id":148617,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:38:21] local.INFO: Acknowledgment sent {"connection_id":148617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:38:43] local.INFO: TCP Data received {"connection_id":151024,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:38:43] local.INFO: Processing buffer {"connection_id":151024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:38:43] local.INFO: IMEI packet received {"connection_id":151024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":151024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:38:47] local.INFO: TCP Data received {"connection_id":151024,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:38:47] local.INFO: Processing buffer {"connection_id":151024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:38:47] local.INFO: IMEI packet received {"connection_id":151024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":151024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:38:50] local.INFO: TCP Data received {"connection_id":151024,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:38:50] local.INFO: Processing buffer {"connection_id":151024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:38:50] local.INFO: IMEI packet received {"connection_id":151024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":151024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:38:51] local.INFO: TCP Data received {"connection_id":151024,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bf8ff8012d190d4007201a28003000682b..."} 
[2026-08-05 12:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bf8ff8012d190d4007201a28003000682b..."} 
[2026-08-05 12:38:51] local.INFO: Processing buffer {"connection_id":151024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bf8ff8012d190d4007201a28003000682b..."} 
[2026-08-05 12:38:51] local.INFO: Packet analysis {"connection_id":151024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bf"} 
[2026-08-05 12:38:51] local.INFO: Extracted packet for processing {"connection_id":151024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bf"} 
[2026-08-05 12:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193887232001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785913643000,"timestamp_ms":1785913643000,"timestamp_seconds":1785913643,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bf8ff8"} 
[2026-08-05 12:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:38: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-08-05 12: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193887232001,"66":12580,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193887232001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:38:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:38:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193887232001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":151024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:38:51] local.INFO: GPS data processed {"connection_id":151024,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:38:51] local.INFO: Acknowledgment sent {"connection_id":151024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:38:52] local.INFO: TCP Data received {"connection_id":148617,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:38:52] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bc0d88012d7f92c005afd9e8000600e927..."} 
[2026-08-05 12:38:52] local.INFO: Packet analysis {"connection_id":148617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:38:52] local.INFO: Extracted packet for processing {"connection_id":148617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bc"} 
[2026-08-05 12:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":6,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193748736001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785913413000,"timestamp_ms":1785913413000,"timestamp_seconds":1785913413,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bc0d88"} 
[2026-08-05 12:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 12:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193748736001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193748736001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:38:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193748736001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":148617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:38:52] local.INFO: GPS data processed {"connection_id":148617,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:38:52] local.INFO: Acknowledgment sent {"connection_id":148617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:38:57] local.INFO: TCP Data received {"connection_id":151024,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0bfe200012d190d4007201a28003000682a..."} 
[2026-08-05 12:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0bfe200012d190d4007201a28003000682a..."} 
[2026-08-05 12:38:57] local.INFO: Processing buffer {"connection_id":151024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0bfe200012d190d4007201a28003000682a..."} 
[2026-08-05 12:38:57] local.INFO: Packet analysis {"connection_id":151024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0bf"} 
[2026-08-05 12:38:57] local.INFO: Extracted packet for processing {"connection_id":151024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0bf"} 
[2026-08-05 12:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193892608001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785913664000,"timestamp_ms":1785913664000,"timestamp_seconds":1785913664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0bfe200"} 
[2026-08-05 12:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-05 12:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193892608001,"66":12591,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193892608001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:38:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193892608001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":151024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:38:57] local.INFO: GPS data processed {"connection_id":151024,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:38:57] local.INFO: Acknowledgment sent {"connection_id":151024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:39:15] local.INFO: TCP Data received {"connection_id":151025,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:39:15] local.INFO: Processing buffer {"connection_id":151025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:39:15] local.INFO: IMEI packet received {"connection_id":151025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":151025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:39:20] local.INFO: TCP Data received {"connection_id":151025,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:39:20] local.INFO: Processing buffer {"connection_id":151025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:39:20] local.INFO: IMEI packet received {"connection_id":151025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":151025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:39:21] local.INFO: TCP Data received {"connection_id":151025,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:39:21] local.INFO: Processing buffer {"connection_id":151025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:39:21] local.INFO: Packet analysis {"connection_id":151025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:39:21] local.INFO: Extracted packet for processing {"connection_id":151025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":12,"angle":233,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193833728001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785913714000,"timestamp_ms":1785913714000,"timestamp_seconds":1785913714,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c0a550"} 
[2026-08-05 12:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12: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-08-05 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:39: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-08-05 12:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:39: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-08-05 12:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193833728001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193833728001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:39:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193833728001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":151025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:39:21] local.INFO: GPS data processed {"connection_id":151025,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:39:21] local.INFO: Acknowledgment sent {"connection_id":151025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:39:40] local.INFO: TCP Data received {"connection_id":149618,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:39:40] local.INFO: Processing buffer {"connection_id":149618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:39:40] local.INFO: IMEI packet received {"connection_id":149618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":149618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:39:45] local.INFO: TCP Data received {"connection_id":149618,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:39:45] local.INFO: Processing buffer {"connection_id":149618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:39:45] local.INFO: IMEI packet received {"connection_id":149618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":149618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:39:46] local.INFO: TCP Data received {"connection_id":149618,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c03408012d190d4007201a28003000682b..."} 
[2026-08-05 12:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c03408012d190d4007201a28003000682b..."} 
[2026-08-05 12:39:46] local.INFO: Processing buffer {"connection_id":149618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c03408012d190d4007201a28003000682b..."} 
[2026-08-05 12:39:46] local.INFO: Packet analysis {"connection_id":149618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:39:46] local.INFO: Extracted packet for processing {"connection_id":149618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193897984001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785913685000,"timestamp_ms":1785913685000,"timestamp_seconds":1785913685,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c03408"} 
[2026-08-05 12:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:39: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-08-05 12:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 12:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193897984001,"66":12156,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193897984001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:39:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193897984001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":149618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:39:46] local.INFO: GPS data processed {"connection_id":149618,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:39:46] local.INFO: Acknowledgment sent {"connection_id":149618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:39:52] local.INFO: TCP Data received {"connection_id":151025,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:39:52] local.INFO: Processing buffer {"connection_id":151025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:39:52] local.INFO: Packet analysis {"connection_id":151025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:39:52] local.INFO: Extracted packet for processing {"connection_id":151025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":12,"angle":233,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193833728001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785913714000,"timestamp_ms":1785913714000,"timestamp_seconds":1785913714,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c0a550"} 
[2026-08-05 12:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193833728001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193833728001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:39:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193833728001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":151025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:39:52] local.INFO: GPS data processed {"connection_id":151025,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:39:52] local.INFO: Acknowledgment sent {"connection_id":151025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:40:15] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:40:15] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:40:15] local.INFO: IMEI packet received {"connection_id":148618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":148618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:40:17] local.INFO: TCP Data received {"connection_id":149618,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c08610012d190d4007201a28003000682a..."} 
[2026-08-05 12:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c08610012d190d4007201a28003000682a..."} 
[2026-08-05 12:40:17] local.INFO: Processing buffer {"connection_id":149618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c08610012d190d4007201a28003000682a..."} 
[2026-08-05 12:40:17] local.INFO: Packet analysis {"connection_id":149618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:40:17] local.INFO: Extracted packet for processing {"connection_id":149618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193903360001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785913706000,"timestamp_ms":1785913706000,"timestamp_seconds":1785913706,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c08610"} 
[2026-08-05 12:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 12:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193903360001,"66":12558,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193903360001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:40:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:40:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193903360001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":149618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:40:17] local.INFO: GPS data processed {"connection_id":149618,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:40:17] local.INFO: Acknowledgment sent {"connection_id":149618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:40:20] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:40:20] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:40:20] local.INFO: IMEI packet received {"connection_id":148618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":148618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:40:24] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:40:24] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:40:24] local.INFO: Packet analysis {"connection_id":148618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:40:24] local.INFO: Extracted packet for processing {"connection_id":148618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":12,"angle":233,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193833728001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785913714000,"timestamp_ms":1785913714000,"timestamp_seconds":1785913714,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c0a550"} 
[2026-08-05 12:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193833728001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193833728001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:40:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:40:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193833728001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":148618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:40:24] local.INFO: GPS data processed {"connection_id":148618,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:40:24] local.INFO: Acknowledgment sent {"connection_id":148618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:40:40] local.INFO: TCP Data received {"connection_id":151026,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:40:40] local.INFO: Processing buffer {"connection_id":151026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:40:40] local.INFO: IMEI packet received {"connection_id":151026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":151026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:40:45] local.INFO: TCP Data received {"connection_id":151026,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:40:45] local.INFO: Processing buffer {"connection_id":151026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:40:45] local.INFO: IMEI packet received {"connection_id":151026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":151026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:40:45] local.INFO: TCP Data received {"connection_id":151026,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c0d818012d190d4007201a280030006829..."} 
[2026-08-05 12:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c0d818012d190d4007201a280030006829..."} 
[2026-08-05 12:40:45] local.INFO: Processing buffer {"connection_id":151026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c0d818012d190d4007201a280030006829..."} 
[2026-08-05 12:40:45] local.INFO: Packet analysis {"connection_id":151026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:40:45] local.INFO: Extracted packet for processing {"connection_id":151026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193908736001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785913727000,"timestamp_ms":1785913727000,"timestamp_seconds":1785913727,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c0d818"} 
[2026-08-05 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-08-05 12:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3502152160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249643174773135912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3208507393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3058368512,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,182,159,52,45,64,26,48,43,10,66,226,42,143,1,240,36,227,208,32,4,113,205,235,13,40,239,2,37,7,120,74,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:40:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458879043418456064,"timestamp_seconds":3458879043418456.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 12:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193908736001,"66":12558,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193908736001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:40:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193908736001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":151026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:40:45] local.INFO: GPS data processed {"connection_id":151026,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:40:45] local.INFO: Acknowledgment sent {"connection_id":151026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:40:55] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:40:55] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:40:55] local.INFO: Packet analysis {"connection_id":148618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:40:55] local.INFO: Extracted packet for processing {"connection_id":148618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":12,"angle":233,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193833728001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785913714000,"timestamp_ms":1785913714000,"timestamp_seconds":1785913714,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c0a550"} 
[2026-08-05 12:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:40: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-08-05 12:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193833728001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193833728001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:40:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193833728001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":148618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:40:55] local.INFO: GPS data processed {"connection_id":148618,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:40:55] local.INFO: Acknowledgment sent {"connection_id":148618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:41:15] local.INFO: TCP Data received {"connection_id":149619,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:41:15] local.INFO: Processing buffer {"connection_id":149619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:41:15] local.INFO: IMEI packet received {"connection_id":149619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":149619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:41:16] local.INFO: TCP Data received {"connection_id":151026,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c12a20012d190d4007201a280030006827..."} 
[2026-08-05 12:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c12a20012d190d4007201a280030006827..."} 
[2026-08-05 12:41:16] local.INFO: Processing buffer {"connection_id":151026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c12a20012d190d4007201a280030006827..."} 
[2026-08-05 12:41:16] local.INFO: Packet analysis {"connection_id":151026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c1"} 
[2026-08-05 12:41:16] local.INFO: Extracted packet for processing {"connection_id":151026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c1"} 
[2026-08-05 12:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193914112001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785913748000,"timestamp_ms":1785913748000,"timestamp_seconds":1785913748,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c12a20"} 
[2026-08-05 12:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3502173160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249643174773135912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3213883393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":61,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3058368512,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,182,159,134,45,64,26,48,42,10,66,52,43,226,1,240,47,227,208,32,4,113,205,61,13,40,239,2,37,7,120,74,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:41:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458879039123488768,"timestamp_seconds":3458879039123489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193914112001,"66":12558,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193914112001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:41:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:41:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193914112001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":151026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:41:16] local.INFO: GPS data processed {"connection_id":151026,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:41:16] local.INFO: Acknowledgment sent {"connection_id":151026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:41:21] local.INFO: TCP Data received {"connection_id":149619,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:41:21] local.INFO: Processing buffer {"connection_id":149619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:41:21] local.INFO: IMEI packet received {"connection_id":149619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":149619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:41:32] local.INFO: TCP Data received {"connection_id":149619,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:41:32] local.INFO: Processing buffer {"connection_id":149619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:41:32] local.INFO: Packet analysis {"connection_id":149619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:41:32] local.INFO: Extracted packet for processing {"connection_id":149619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":12,"angle":233,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193833728001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785913714000,"timestamp_ms":1785913714000,"timestamp_seconds":1785913714,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c0a550"} 
[2026-08-05 12:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193833728001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193833728001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:41:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193833728001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":149619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:41:32] local.INFO: GPS data processed {"connection_id":149619,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:41:32] local.INFO: Acknowledgment sent {"connection_id":149619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:41:40] local.INFO: TCP Data received {"connection_id":149620,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:41:40] local.INFO: Processing buffer {"connection_id":149620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:41:40] local.INFO: IMEI packet received {"connection_id":149620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":149620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:41:46] local.INFO: TCP Data received {"connection_id":149620,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:41:46] local.INFO: Processing buffer {"connection_id":149620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:41:46] local.INFO: IMEI packet received {"connection_id":149620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":149620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:41:47] local.INFO: TCP Data received {"connection_id":149620,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c17c28012d190d4007201a280030006829..."} 
[2026-08-05 12:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c17c28012d190d4007201a280030006829..."} 
[2026-08-05 12:41:47] local.INFO: Processing buffer {"connection_id":149620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c17c28012d190d4007201a280030006829..."} 
[2026-08-05 12:41:47] local.INFO: Packet analysis {"connection_id":149620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c1"} 
[2026-08-05 12:41:47] local.INFO: Extracted packet for processing {"connection_id":149620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c1"} 
[2026-08-05 12:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193919488001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41: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-08-05 12:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785913769000,"timestamp_ms":1785913769000,"timestamp_seconds":1785913769,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c17c28"} 
[2026-08-05 12:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3502194160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249643174773135912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3219259393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":143,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3058368512,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 12:41:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,182,159,216,45,64,26,48,41,10,66,134,42,52,1,240,124,227,208,32,4,113,205,143,13,40,43,239,49,2,37,7,120,74,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:41:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458879030533554176,"timestamp_seconds":3458879030533554.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193919488001,"66":12548,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193919488001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:41:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193919488001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":149620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:41:47] local.INFO: GPS data processed {"connection_id":149620,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:41:47] local.INFO: Acknowledgment sent {"connection_id":149620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:42:15] local.INFO: TCP Data received {"connection_id":148405,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:42:15] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:42:15] local.INFO: IMEI packet received {"connection_id":148405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":148405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:42:17] local.INFO: TCP Data received {"connection_id":149620,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c1ce30012d190d4007201a280030006829..."} 
[2026-08-05 12:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c1ce30012d190d4007201a280030006829..."} 
[2026-08-05 12:42:17] local.INFO: Processing buffer {"connection_id":149620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c1ce30012d190d4007201a280030006829..."} 
[2026-08-05 12:42:17] local.INFO: Packet analysis {"connection_id":149620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c1"} 
[2026-08-05 12:42:17] local.INFO: Extracted packet for processing {"connection_id":149620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c1"} 
[2026-08-05 12:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193924864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785913790000,"timestamp_ms":1785913790000,"timestamp_seconds":1785913790,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c1ce30"} 
[2026-08-05 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-08-05 12:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3502215160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:17] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3224635393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:42:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3058368512,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:17] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,182,159,42,45,64,26,48,39,10,66,216,41,134,1,240,14,227,208,32,4,113,205,226,13,40,239,49,2,37,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:42:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458879039123488768,"timestamp_seconds":3458879039123489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 12:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193924864001,"66":12537,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193924864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:42:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:42:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193924864001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":149620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:42:18] local.INFO: GPS data processed {"connection_id":149620,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:42:18] local.INFO: Acknowledgment sent {"connection_id":149620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:42:21] local.INFO: TCP Data received {"connection_id":148405,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:42:21] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:42:21] local.INFO: IMEI packet received {"connection_id":148405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":148405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:42:22] local.INFO: TCP Data received {"connection_id":148405,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:42:22] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:42:22] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:42:22] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":12,"angle":233,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193833728001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785913714000,"timestamp_ms":1785913714000,"timestamp_seconds":1785913714,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c0a550"} 
[2026-08-05 12:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:42: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-08-05 12:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193833728001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193833728001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:42:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193833728001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:42:22] local.INFO: GPS data processed {"connection_id":148405,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:42:22] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:42:40] local.INFO: TCP Data received {"connection_id":151027,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:42:40] local.INFO: Processing buffer {"connection_id":151027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:42:40] local.INFO: IMEI packet received {"connection_id":151027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":151027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:42:45] local.INFO: TCP Data received {"connection_id":151027,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:42:45] local.INFO: Processing buffer {"connection_id":151027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:42:45] local.INFO: IMEI packet received {"connection_id":151027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":151027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:42:46] local.INFO: TCP Data received {"connection_id":151027,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c22038012d190d4007201a28003000682b..."} 
[2026-08-05 12:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c22038012d190d4007201a28003000682b..."} 
[2026-08-05 12:42:46] local.INFO: Processing buffer {"connection_id":151027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c22038012d190d4007201a28003000682b..."} 
[2026-08-05 12:42:46] local.INFO: Packet analysis {"connection_id":151027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c2"} 
[2026-08-05 12:42:46] local.INFO: Extracted packet for processing {"connection_id":151027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c2"} 
[2026-08-05 12:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193930240001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785913811000,"timestamp_ms":1785913811000,"timestamp_seconds":1785913811,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c22038"} 
[2026-08-05 12:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:42: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-08-05 12:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193930240001,"66":12537,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193930240001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:42:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193930240001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":151027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:42:46] local.INFO: GPS data processed {"connection_id":151027,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:42:46] local.INFO: Acknowledgment sent {"connection_id":151027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:42:54] local.INFO: TCP Data received {"connection_id":148405,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:42:54] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:42:54] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:42:54] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":12,"angle":233,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193833728001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785913714000,"timestamp_ms":1785913714000,"timestamp_seconds":1785913714,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c0a550"} 
[2026-08-05 12:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12: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-08-05 12:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:42: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-08-05 12:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193833728001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193833728001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:42:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:42:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193833728001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:42:54] local.INFO: GPS data processed {"connection_id":148405,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:42:54] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:43:15] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:43:15] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:43:15] local.INFO: IMEI packet received {"connection_id":148619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":148619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:43:16] local.INFO: TCP Data received {"connection_id":151027,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c27240012d190d4007201a280030006829..."} 
[2026-08-05 12:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c27240012d190d4007201a280030006829..."} 
[2026-08-05 12:43:16] local.INFO: Processing buffer {"connection_id":151027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c27240012d190d4007201a280030006829..."} 
[2026-08-05 12:43:16] local.INFO: Packet analysis {"connection_id":151027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c2"} 
[2026-08-05 12:43:16] local.INFO: Extracted packet for processing {"connection_id":151027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c2"} 
[2026-08-05 12:43:16] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193935616001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785913832000,"timestamp_ms":1785913832000,"timestamp_seconds":1785913832,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c27240"} 
[2026-08-05 12:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193935616001,"66":12548,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193935616001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:43:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:43:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193935616001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":151027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:43:17] local.INFO: GPS data processed {"connection_id":151027,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:43:17] local.INFO: Acknowledgment sent {"connection_id":151027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:43:22] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:43:22] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:43:22] local.INFO: IMEI packet received {"connection_id":148619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":148619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:43:25] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:43:25] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:43:25] local.INFO: Packet analysis {"connection_id":148619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:43:25] local.INFO: Extracted packet for processing {"connection_id":148619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":12,"angle":233,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193833728001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785913714000,"timestamp_ms":1785913714000,"timestamp_seconds":1785913714,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c0a550"} 
[2026-08-05 12:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193833728001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193833728001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:43:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193833728001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":148619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:43:25] local.INFO: GPS data processed {"connection_id":148619,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:43:25] local.INFO: Acknowledgment sent {"connection_id":148619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:43:39] local.INFO: TCP Data received {"connection_id":149621,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:43:39] local.INFO: Processing buffer {"connection_id":149621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:43:39] local.INFO: IMEI packet received {"connection_id":149621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":149621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:43:45] local.INFO: TCP Data received {"connection_id":149621,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:43:45] local.INFO: Processing buffer {"connection_id":149621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:43:45] local.INFO: IMEI packet received {"connection_id":149621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":149621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:43:46] local.INFO: TCP Data received {"connection_id":149621,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c2c448012d190d4007201a280030006829..."} 
[2026-08-05 12:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c2c448012d190d4007201a280030006829..."} 
[2026-08-05 12:43:46] local.INFO: Processing buffer {"connection_id":149621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c2c448012d190d4007201a280030006829..."} 
[2026-08-05 12:43:46] local.INFO: Packet analysis {"connection_id":149621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c2"} 
[2026-08-05 12:43:46] local.INFO: Extracted packet for processing {"connection_id":149621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c2"} 
[2026-08-05 12:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193940992001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785913853000,"timestamp_ms":1785913853000,"timestamp_seconds":1785913853,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c2c448"} 
[2026-08-05 12:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:43: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-08-05 12:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3502278160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:46] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3240763393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:43:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3058368512,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:46] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,182,159,32,45,64,26,48,43,10,66,206,41,124,1,240,4,227,208,113,205,216,13,40,239,49,2,37,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:43:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458879039123488768,"timestamp_seconds":3458879039123489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193940992001,"66":12548,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193940992001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:43:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193940992001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":149621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:43:46] local.INFO: GPS data processed {"connection_id":149621,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:43:46] local.INFO: Acknowledgment sent {"connection_id":149621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:43:57] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:43:57] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c0a550012d7f92c005afd9e8000c00e926..."} 
[2026-08-05 12:43:57] local.INFO: Packet analysis {"connection_id":148619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:43:57] local.INFO: Extracted packet for processing {"connection_id":148619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c0"} 
[2026-08-05 12:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":12,"angle":233,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193833728001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785913714000,"timestamp_ms":1785913714000,"timestamp_seconds":1785913714,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c0a550"} 
[2026-08-05 12:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193833728001,"66":25604,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193833728001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:43:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193833728001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":148619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:43:57] local.INFO: GPS data processed {"connection_id":148619,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:43:57] local.INFO: Acknowledgment sent {"connection_id":148619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:44:15] local.INFO: TCP Data received {"connection_id":151028,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:44:15] local.INFO: Processing buffer {"connection_id":151028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:44:15] local.INFO: IMEI packet received {"connection_id":151028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":151028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:44:17] local.INFO: TCP Data received {"connection_id":149621,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c31650012d190d4007201a280030006825..."} 
[2026-08-05 12:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c31650012d190d4007201a280030006825..."} 
[2026-08-05 12:44:17] local.INFO: Processing buffer {"connection_id":149621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c31650012d190d4007201a280030006825..."} 
[2026-08-05 12:44:17] local.INFO: Packet analysis {"connection_id":149621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c3"} 
[2026-08-05 12:44:17] local.INFO: Extracted packet for processing {"connection_id":149621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c3"} 
[2026-08-05 12:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193946368001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785913874000,"timestamp_ms":1785913874000,"timestamp_seconds":1785913874,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c31650"} 
[2026-08-05 12:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3502299160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:17] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3246139393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:44:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3058368512,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:17] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,182,159,114,45,64,26,48,41,10,66,32,43,206,1,240,249,227,208,4,113,205,42,13,40,39,239,49,2,37,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:44:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458879039123488768,"timestamp_seconds":3458879039123489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193946368001,"66":12515,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193946368001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:44:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193946368001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":149621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:44:17] local.INFO: GPS data processed {"connection_id":149621,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:44:17] local.INFO: Acknowledgment sent {"connection_id":149621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:44:20] local.INFO: TCP Data received {"connection_id":151028,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:44:20] local.INFO: Processing buffer {"connection_id":151028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:44:20] local.INFO: IMEI packet received {"connection_id":151028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":151028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:44:21] local.INFO: TCP Data received {"connection_id":151028,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:44:21] local.INFO: Processing buffer {"connection_id":151028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:44:21] local.INFO: Packet analysis {"connection_id":151028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:44:21] local.INFO: Extracted packet for processing {"connection_id":151028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193910784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914015000,"timestamp_ms":1785914015000,"timestamp_seconds":1785914015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c53d18"} 
[2026-08-05 12:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:44: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-08-05 12:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:44: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-08-05 12:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193910784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193910784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:44:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193910784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":151028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:44:21] local.INFO: GPS data processed {"connection_id":151028,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:44:21] local.INFO: Acknowledgment sent {"connection_id":151028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:44:40] local.INFO: TCP Data received {"connection_id":148406,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:44:40] local.INFO: Processing buffer {"connection_id":148406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:44:40] local.INFO: IMEI packet received {"connection_id":148406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":148406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:44:40] local.INFO: TCP Data received {"connection_id":148406,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:44:40] local.INFO: Processing buffer {"connection_id":148406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:44:40] local.INFO: IMEI packet received {"connection_id":148406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":148406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:44:45] local.INFO: TCP Data received {"connection_id":148406,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:44:45] local.INFO: Processing buffer {"connection_id":148406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:44:45] local.INFO: IMEI packet received {"connection_id":148406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":148406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:44:46] local.INFO: TCP Data received {"connection_id":148406,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c36858012d190d4007201a280030006829..."} 
[2026-08-05 12:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c36858012d190d4007201a280030006829..."} 
[2026-08-05 12:44:46] local.INFO: Processing buffer {"connection_id":148406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c36858012d190d4007201a280030006829..."} 
[2026-08-05 12:44:46] local.INFO: Packet analysis {"connection_id":148406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c3"} 
[2026-08-05 12:44:46] local.INFO: Extracted packet for processing {"connection_id":148406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c3"} 
[2026-08-05 12:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193951744001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785913895000,"timestamp_ms":1785913895000,"timestamp_seconds":1785913895,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c36858"} 
[2026-08-05 12:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12: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-08-05 12:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-05 12:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193951744001,"66":12537,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193951744001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:44:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193951744001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":148406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:44:46] local.INFO: GPS data processed {"connection_id":148406,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:44:46] local.INFO: Acknowledgment sent {"connection_id":148406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:44:52] local.INFO: TCP Data received {"connection_id":151028,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:44:52] local.INFO: Processing buffer {"connection_id":151028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:44:52] local.INFO: Packet analysis {"connection_id":151028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:44:52] local.INFO: Extracted packet for processing {"connection_id":151028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:44:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193910784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914015000,"timestamp_ms":1785914015000,"timestamp_seconds":1785914015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c53d18"} 
[2026-08-05 12:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193910784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193910784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:44:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193910784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":151028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:44:52] local.INFO: GPS data processed {"connection_id":151028,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:44:52] local.INFO: Acknowledgment sent {"connection_id":151028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:45:15] local.INFO: TCP Data received {"connection_id":148620,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:45:15] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:45:15] local.INFO: IMEI packet received {"connection_id":148620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":148620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:45:17] local.INFO: TCP Data received {"connection_id":148406,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c3ba60012d190d4007201a280030006829..."} 
[2026-08-05 12:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c3ba60012d190d4007201a280030006829..."} 
[2026-08-05 12:45:17] local.INFO: Processing buffer {"connection_id":148406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c3ba60012d190d4007201a280030006829..."} 
[2026-08-05 12:45:17] local.INFO: Packet analysis {"connection_id":148406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c3"} 
[2026-08-05 12:45:17] local.INFO: Extracted packet for processing {"connection_id":148406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c3"} 
[2026-08-05 12:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193957120001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785913916000,"timestamp_ms":1785913916000,"timestamp_seconds":1785913916,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c3ba60"} 
[2026-08-05 12:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12: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-08-05 12: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193957120001,"66":12526,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193957120001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:45:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193957120001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":148406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:45:17] local.INFO: GPS data processed {"connection_id":148406,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:45:17] local.INFO: Acknowledgment sent {"connection_id":148406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:45:20] local.INFO: TCP Data received {"connection_id":148620,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:45:20] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:45:20] local.INFO: IMEI packet received {"connection_id":148620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":148620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:45:21] local.INFO: TCP Data received {"connection_id":148620,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:45:21] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:45:21] local.INFO: Packet analysis {"connection_id":148620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:45:21] local.INFO: Extracted packet for processing {"connection_id":148620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:45:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193910784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914015000,"timestamp_ms":1785914015000,"timestamp_seconds":1785914015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c53d18"} 
[2026-08-05 12:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:45: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-08-05 12: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-08-05 12:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:45: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-08-05 12:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193910784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193910784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:45:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193910784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":148620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:45:21] local.INFO: GPS data processed {"connection_id":148620,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:45:21] local.INFO: Acknowledgment sent {"connection_id":148620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:45:39] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:45:40] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:45:40] local.INFO: IMEI packet received {"connection_id":148407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":148407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:45:43] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:45:43] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:45:43] local.INFO: IMEI packet received {"connection_id":148407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":148407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:45:44] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:45:44] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:45:44] local.INFO: IMEI packet received {"connection_id":148407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":148407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:45:45] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c40c68012d190d4007201a280030006829..."} 
[2026-08-05 12:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c40c68012d190d4007201a280030006829..."} 
[2026-08-05 12:45:45] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c40c68012d190d4007201a280030006829..."} 
[2026-08-05 12:45:45] local.INFO: Packet analysis {"connection_id":148407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c4"} 
[2026-08-05 12:45:45] local.INFO: Extracted packet for processing {"connection_id":148407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c4"} 
[2026-08-05 12:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544360,"longitude_deg":75.6616512,"latitude_deg":11.954436,"altitude":48,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d190d40","hex_latitude":"07201a28","is_valid_coordinates":true} 
[2026-08-05 12:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193962496001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615007377096704,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169424992970752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785913937000,"timestamp_ms":1785913937000,"timestamp_seconds":1785913937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c40c68"} 
[2026-08-05 12:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 12:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193962496001,"66":12526,"102":206,"83":41984,"24":0,"16":10615007377096704,"45":1805169424992970752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193962496001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:45:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615007377096704,"km_value":10615007377096.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169424992970752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193962496001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1805169424992970752}} 
[2026-08-05 12:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":148407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:45:45] local.INFO: GPS data processed {"connection_id":148407,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:45:45] local.INFO: Acknowledgment sent {"connection_id":148407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:45:53] local.INFO: TCP Data received {"connection_id":148620,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:45:53] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:45:53] local.INFO: Packet analysis {"connection_id":148620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:45:53] local.INFO: Extracted packet for processing {"connection_id":148620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:45:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193910784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785914015000,"timestamp_ms":1785914015000,"timestamp_seconds":1785914015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c53d18"} 
[2026-08-05 12:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193910784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193910784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:45:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:45:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193910784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":148620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:45:53] local.INFO: GPS data processed {"connection_id":148620,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:45:53] local.INFO: Acknowledgment sent {"connection_id":148620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:46:15] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:46:15] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:46:15] local.INFO: IMEI packet received {"connection_id":148621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":148621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:46:16] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c70238012d19124007201310003400ac29..."} 
[2026-08-05 12:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c70238012d19124007201310003400ac29..."} 
[2026-08-05 12:46:16] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c70238012d19124007201310003400ac29..."} 
[2026-08-05 12:46:16] local.INFO: Packet analysis {"connection_id":148407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c7"} 
[2026-08-05 12:46:16] local.INFO: Extracted packet for processing {"connection_id":148407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c7"} 
[2026-08-05 12:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756617792,"raw_latitude":119542544,"longitude_deg":75.6617792,"latitude_deg":11.9542544,"altitude":52,"angle":172,"satellites":41,"speed":3,"hex_longitude":"2d191240","hex_latitude":"07201310","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194013952001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615123341213696,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806506431132002304,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785914131000,"timestamp_ms":1785914131000,"timestamp_seconds":1785914131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c70238"} 
[2026-08-05 12:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-05 12:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194013952001,"66":14276,"102":206,"83":41984,"24":3,"16":10615123341213696,"45":1806506431132002304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194013952001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:46:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615123341213696,"km_value":10615123341213.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806506431132002304,"description":"Unknown IO ID 45"} 
[2026-08-05 12:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194013952001,"power":14276,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1806506431132002304}} 
[2026-08-05 12:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":148407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:46:16] local.INFO: GPS data processed {"connection_id":148407,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:46:16] local.INFO: Acknowledgment sent {"connection_id":148407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:46:20] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:46:20] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:46:20] local.INFO: IMEI packet received {"connection_id":148621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":148621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:46:21] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:46:21] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:46:21] local.INFO: Packet analysis {"connection_id":148621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:46:21] local.INFO: Extracted packet for processing {"connection_id":148621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:46:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193910784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914015000,"timestamp_ms":1785914015000,"timestamp_seconds":1785914015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c53d18"} 
[2026-08-05 12:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:46: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-08-05 12:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:46: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-08-05 12:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193910784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193910784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:46:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193910784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":148621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:46:21] local.INFO: GPS data processed {"connection_id":148621,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:46:21] local.INFO: Acknowledgment sent {"connection_id":148621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:46:42] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:46:42] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:46:42] local.INFO: IMEI packet received {"connection_id":148408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":148408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:46:45] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:46:45] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:46:45] local.INFO: IMEI packet received {"connection_id":148408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":148408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:46:50] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:46:50] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:46:50] local.INFO: IMEI packet received {"connection_id":148408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":148408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:46:51] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c719a8012d19140007200d700034009229..."} 
[2026-08-05 12:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c719a8012d19140007200d700034009229..."} 
[2026-08-05 12:46:51] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c719a8012d19140007200d700034009229..."} 
[2026-08-05 12:46:51] local.INFO: Packet analysis {"connection_id":148408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c7"} 
[2026-08-05 12:46:51] local.INFO: Extracted packet for processing {"connection_id":148408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c7"} 
[2026-08-05 12:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119541104,"longitude_deg":75.661824,"latitude_deg":11.9541104,"altitude":52,"angle":146,"satellites":41,"speed":14,"hex_longitude":"2d191400","hex_latitude":"07200d70","is_valid_coordinates":true} 
[2026-08-05 12:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194017536001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615196355657728,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806576799876059136,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785914137000,"timestamp_ms":1785914137000,"timestamp_seconds":1785914137,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c719a8"} 
[2026-08-05 12:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-05 12:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194017536001,"66":14276,"102":206,"83":41984,"24":14,"16":10615196355657728,"45":1806576799876059136},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194017536001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:46:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615196355657728,"km_value":10615196355657.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806576799876059136,"description":"Unknown IO ID 45"} 
[2026-08-05 12:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194017536001,"power":14276,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1806576799876059136}} 
[2026-08-05 12:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":148408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:46:51] local.INFO: GPS data processed {"connection_id":148408,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:46:51] local.INFO: Acknowledgment sent {"connection_id":148408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:46:51] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c71d90012d19150007200c600034008528..."} 
[2026-08-05 12:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c71d90012d19150007200c600034008528..."} 
[2026-08-05 12:46:51] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c71d90012d19150007200c600034008528..."} 
[2026-08-05 12:46:51] local.INFO: Packet analysis {"connection_id":148408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c7"} 
[2026-08-05 12:46:51] local.INFO: Extracted packet for processing {"connection_id":148408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c7"} 
[2026-08-05 12:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756618496,"raw_latitude":119540832,"longitude_deg":75.6618496,"latitude_deg":11.9540832,"altitude":52,"angle":133,"satellites":40,"speed":13,"hex_longitude":"2d191500","hex_latitude":"07200c60","is_valid_coordinates":true} 
[2026-08-05 12:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194019072001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10615213535526912,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381084934144,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785914138000,"timestamp_ms":1785914138000,"timestamp_seconds":1785914138,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c71d90"} 
[2026-08-05 12:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-05 12:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194019072001,"66":14276,"102":206,"83":41984,"24":13,"16":10615213535526912,"45":1807069381084934144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194019072001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:46:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10615213535526912,"km_value":10615213535526.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381084934144,"description":"Unknown IO ID 45"} 
[2026-08-05 12:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194019072001,"power":14276,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1807069381084934144}} 
[2026-08-05 12:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":148408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:46:52] local.INFO: GPS data processed {"connection_id":148408,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:46:52] local.INFO: Acknowledgment sent {"connection_id":148408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:46:52] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:46:52] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:46:52] local.INFO: Packet analysis {"connection_id":148621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:46:52] local.INFO: Extracted packet for processing {"connection_id":148621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193910784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914015000,"timestamp_ms":1785914015000,"timestamp_seconds":1785914015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c53d18"} 
[2026-08-05 12:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193910784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193910784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:46:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193910784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":148621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:46:52] local.INFO: GPS data processed {"connection_id":148621,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:46:52] local.INFO: Acknowledgment sent {"connection_id":148621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:47:15] local.INFO: TCP Data received {"connection_id":149622,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:47:15] local.INFO: Processing buffer {"connection_id":149622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:47:15] local.INFO: IMEI packet received {"connection_id":149622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":149622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:47:20] local.INFO: TCP Data received {"connection_id":149622,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:47:20] local.INFO: Processing buffer {"connection_id":149622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:47:20] local.INFO: IMEI packet received {"connection_id":149622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":149622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:47:21] local.INFO: TCP Data received {"connection_id":149622,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:47:21] local.INFO: Processing buffer {"connection_id":149622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:47:21] local.INFO: Packet analysis {"connection_id":149622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:47:21] local.INFO: Extracted packet for processing {"connection_id":149622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:47:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193910784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914015000,"timestamp_ms":1785914015000,"timestamp_seconds":1785914015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c53d18"} 
[2026-08-05 12:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:47: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-08-05 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:47: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-08-05 12:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193910784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193910784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:47:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193910784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":149622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:47:21] local.INFO: GPS data processed {"connection_id":149622,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:47:21] local.INFO: Acknowledgment sent {"connection_id":149622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:47:23] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c7e8b0012d195180071ff4380037007f25..."} 
[2026-08-05 12:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c7e8b0012d195180071ff4380037007f25..."} 
[2026-08-05 12:47:23] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c7e8b0012d195180071ff4380037007f25..."} 
[2026-08-05 12:47:23] local.INFO: Packet analysis {"connection_id":148408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c7"} 
[2026-08-05 12:47:23] local.INFO: Extracted packet for processing {"connection_id":148408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c7"} 
[2026-08-05 12:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756633984,"raw_latitude":119534648,"longitude_deg":75.6633984,"latitude_deg":11.9534648,"altitude":55,"angle":127,"satellites":37,"speed":15,"hex_longitude":"2d195180","hex_latitude":"071ff438","is_valid_coordinates":true} 
[2026-08-05 12:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194032384001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10616124068593664,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248430155776,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785914190000,"timestamp_ms":1785914190000,"timestamp_seconds":1785914190,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c7e8b0"} 
[2026-08-05 12:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 12:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219712,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3502736160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:47:23] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3351099393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4217897012,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:23] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3071016960,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:23] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,183,159,213,45,248,54,38,10,66,205,192,249,39,197,64,1,240,60,227,208,31,4,113,15,166,61,216,239,55,2,37,7,46],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:47:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963319559310409728,"timestamp_seconds":3963319559310409.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194032384001,"66":14080,"102":206,"83":41984,"24":15,"16":10616124068593664,"45":1824028248430155776},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194032384001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:47:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10616124068593664,"km_value":10616124068593.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248430155776,"description":"Unknown IO ID 45"} 
[2026-08-05 12:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194032384001,"power":14080,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1824028248430155776}} 
[2026-08-05 12:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":148408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:47:23] local.INFO: GPS data processed {"connection_id":148408,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:47:23] local.INFO: Acknowledgment sent {"connection_id":148408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:47:40] local.INFO: TCP Data received {"connection_id":151029,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:47:40] local.INFO: Processing buffer {"connection_id":151029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:47:40] local.INFO: IMEI packet received {"connection_id":151029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":151029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:47:40] local.INFO: TCP Data received {"connection_id":151029,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:47:40] local.INFO: Processing buffer {"connection_id":151029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:47:40] local.INFO: IMEI packet received {"connection_id":151029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":151029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:47:45] local.INFO: TCP Data received {"connection_id":151029,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:47:45] local.INFO: Processing buffer {"connection_id":151029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:47:45] local.INFO: IMEI packet received {"connection_id":151029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":151029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:47:46] local.INFO: TCP Data received {"connection_id":151029,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c7f080012d1954c0071ff2b00036007026..."} 
[2026-08-05 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c7f080012d1954c0071ff2b00036007026..."} 
[2026-08-05 12:47:46] local.INFO: Processing buffer {"connection_id":151029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c7f080012d1954c0071ff2b00036007026..."} 
[2026-08-05 12:47:46] local.INFO: Packet analysis {"connection_id":151029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c7"} 
[2026-08-05 12:47:46] local.INFO: Extracted packet for processing {"connection_id":151029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c7"} 
[2026-08-05 12:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756634816,"raw_latitude":119534256,"longitude_deg":75.6634816,"latitude_deg":11.9534256,"altitude":54,"angle":112,"satellites":38,"speed":18,"hex_longitude":"2d1954c0","hex_latitude":"071ff2b0","is_valid_coordinates":true} 
[2026-08-05 12:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194032640001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10616171313233920,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092150986752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785914192000,"timestamp_ms":1785914192000,"timestamp_seconds":1785914192,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c7f080"} 
[2026-08-05 12:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:47: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-08-05 12:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219712,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3502745160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3351611393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4206886965,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2147950587,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3073179648,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:46] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,183,159,228,45,64,245,55,36,10,66,213,248,54,38,205,192,1,240,5,227,208,31,4,113,11,189,72,104,239,56,2,37,7,48,18],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 12:47:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963307468977537024,"timestamp_seconds":3963307468977537.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194032640001,"66":13722,"102":206,"83":41984,"24":18,"16":10616171313233920,"45":1824380092150986752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194032640001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:47:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10616171313233920,"km_value":10616171313233.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092150986752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194032640001,"power":13722,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1824380092150986752}} 
[2026-08-05 12:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":151029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:47:46] local.INFO: GPS data processed {"connection_id":151029,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:47:46] local.INFO: Acknowledgment sent {"connection_id":151029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:47:47] local.INFO: TCP Data received {"connection_id":151029,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c80fc0012d1963c0071fee700034006227..."} 
[2026-08-05 12:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c80fc0012d1963c0071fee700034006227..."} 
[2026-08-05 12:47:47] local.INFO: Processing buffer {"connection_id":151029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c80fc0012d1963c0071fee700034006227..."} 
[2026-08-05 12:47:47] local.INFO: Packet analysis {"connection_id":151029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c8"} 
[2026-08-05 12:47:47] local.INFO: Extracted packet for processing {"connection_id":151029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c8"} 
[2026-08-05 12:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756638656,"raw_latitude":119533168,"longitude_deg":75.6638656,"latitude_deg":11.9533168,"altitude":52,"angle":98,"satellites":39,"speed":18,"hex_longitude":"2d1963c0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-08-05 12:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194033152001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10616360291794944,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825294885825196032,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47: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-08-05 12:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785914200000,"timestamp_ms":1785914200000,"timestamp_seconds":1785914200,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c80fc0"} 
[2026-08-05 12:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-05 12:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194033152001,"66":14004,"102":206,"83":41984,"24":18,"16":10616360291794944,"45":1825294885825196032},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194033152001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:47:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10616360291794944,"km_value":10616360291794.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825294885825196032,"description":"Unknown IO ID 45"} 
[2026-08-05 12:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194033152001,"power":14004,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1825294885825196032}} 
[2026-08-05 12:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":151029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:47:47] local.INFO: GPS data processed {"connection_id":151029,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:47:47] local.INFO: Acknowledgment sent {"connection_id":151029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:47:52] local.INFO: TCP Data received {"connection_id":149622,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:47:52] local.INFO: Processing buffer {"connection_id":149622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:47:52] local.INFO: Packet analysis {"connection_id":149622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:47:52] local.INFO: Extracted packet for processing {"connection_id":149622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:47:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193910784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914015000,"timestamp_ms":1785914015000,"timestamp_seconds":1785914015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c53d18"} 
[2026-08-05 12:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193910784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193910784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:47:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193910784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":149622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:47:52] local.INFO: GPS data processed {"connection_id":149622,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:47:52] local.INFO: Acknowledgment sent {"connection_id":149622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:48:15] local.INFO: TCP Data received {"connection_id":151030,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:48:15] local.INFO: Processing buffer {"connection_id":151030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:48:15] local.INFO: IMEI packet received {"connection_id":151030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":151030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:48:18] local.INFO: TCP Data received {"connection_id":151029,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c84e40012d197c80071fec800035005228..."} 
[2026-08-05 12:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c84e40012d197c80071fec800035005228..."} 
[2026-08-05 12:48:18] local.INFO: Processing buffer {"connection_id":151029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c84e40012d197c80071fec800035005228..."} 
[2026-08-05 12:48:18] local.INFO: Packet analysis {"connection_id":151029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c8"} 
[2026-08-05 12:48:18] local.INFO: Extracted packet for processing {"connection_id":151029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c8"} 
[2026-08-05 12:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756644992,"raw_latitude":119532672,"longitude_deg":75.6644992,"latitude_deg":11.9532672,"altitude":53,"angle":82,"satellites":40,"speed":16,"hex_longitude":"2d197c80","hex_latitude":"071fec80","is_valid_coordinates":true} 
[2026-08-05 12:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194035200001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10616660939505664,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829517010475577344,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785914216000,"timestamp_ms":1785914216000,"timestamp_seconds":1785914216,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c84e40"} 
[2026-08-05 12:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:48: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-08-05 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-05 12:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194035200001,"66":14341,"102":206,"83":41984,"24":16,"16":10616660939505664,"45":1829517010475577344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 12:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194035200001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:48:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 12:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10616660939505664,"km_value":10616660939505.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829517010475577344,"description":"Unknown IO ID 45"} 
[2026-08-05 12:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194035200001,"power":14341,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1829517010475577344}} 
[2026-08-05 12:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":151029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:48:18] local.INFO: GPS data processed {"connection_id":151029,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:48:18] local.INFO: Acknowledgment sent {"connection_id":151029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:48:19] local.INFO: TCP Data received {"connection_id":148622,"ip":"45.148.10.204","data_length":235,"data_hex":"474554202f2e656e762e6578616d706c6520485454502f312e310d0a486f7374..."} 
[2026-08-05 12:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148622,"packet_length":235,"packet_hex":"474554202f2e656e762e6578616d706c6520485454502f312e310d0a486f7374..."} 
[2026-08-05 12:48:19] local.INFO: Processing buffer {"connection_id":148622,"buffer_length":235,"buffer_hex":"474554202f2e656e762e6578616d706c6520485454502f312e310d0a486f7374..."} 
[2026-08-05 12:48:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":148622,"buffer_length":235,"first_bytes_hex":"474554202f2e656e762e6578616d706c"} 
[2026-08-05 12:48:19] local.INFO: TCP Data received {"connection_id":148409,"ip":"45.148.10.204","data_length":1511,"data_hex":"16030105e2010005de0303531c6f3c3631270d20473b2fff2f14e0691fa9517a..."} 
[2026-08-05 12:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148409,"packet_length":1511,"packet_hex":"16030105e2010005de0303531c6f3c3631270d20473b2fff2f14e0691fa9517a..."} 
[2026-08-05 12:48:19] local.INFO: Processing buffer {"connection_id":148409,"buffer_length":1511,"buffer_hex":"16030105e2010005de0303531c6f3c3631270d20473b2fff2f14e0691fa9517a..."} 
[2026-08-05 12:48:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":148409,"buffer_length":1511,"first_bytes_hex":"16030105e2010005de0303531c6f3c36"} 
[2026-08-05 12:48:20] local.INFO: TCP Data received {"connection_id":151030,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:48:20] local.INFO: Processing buffer {"connection_id":151030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:48:20] local.INFO: IMEI packet received {"connection_id":151030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":151030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:48:21] local.INFO: TCP Data received {"connection_id":151030,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:48:21] local.INFO: Processing buffer {"connection_id":151030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:48:21] local.INFO: Packet analysis {"connection_id":151030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:48:21] local.INFO: Extracted packet for processing {"connection_id":151030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:48:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193910784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914015000,"timestamp_ms":1785914015000,"timestamp_seconds":1785914015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c53d18"} 
[2026-08-05 12:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12: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-08-05 12: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-08-05 12:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193910784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193910784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:48:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193910784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":151030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:48:21] local.INFO: GPS data processed {"connection_id":151030,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:48:21] local.INFO: Acknowledgment sent {"connection_id":151030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:48:39] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:48:39] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:48:39] local.INFO: IMEI packet received {"connection_id":148410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":148410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:48:42] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 12:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 12:48:42] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 12:48:42] local.INFO: IMEI packet received {"connection_id":148410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":148410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:48:43] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c91d48012d19c8c0071ff2f8002f003f24..."} 
[2026-08-05 12:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c91d48012d19c8c0071ff2f8002f003f24..."} 
[2026-08-05 12:48:43] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fd0..."} 
[2026-08-05 12:48:43] local.INFO: IMEI packet received {"connection_id":148410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":148410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:48:43] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c92130012d19ca40071ff408002f002c24..."} 
[2026-08-05 12:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c92130012d19ca40071ff408002f002c24..."} 
[2026-08-05 12:48:43] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd0c91d48012d19c8c0071ff2f8002f003f24..."} 
[2026-08-05 12:48:43] local.INFO: Packet analysis {"connection_id":148410,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:48:43] local.INFO: Extracted packet for processing {"connection_id":148410,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119534328,"longitude_deg":75.6664512,"latitude_deg":11.9534328,"altitude":47,"angle":63,"satellites":36,"speed":17,"hex_longitude":"2d19c8c0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-08-05 12:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194050816001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10617623012179968,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852457221077583872,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785914269000,"timestamp_ms":1785914269000,"timestamp_seconds":1785914269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c91d48"} 
[2026-08-05 12:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 12:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194050816001,"66":14048,"101":206,"83":41984,"24":17,"16":10617623012179968,"45":1852457221077583872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194050816001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:48:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:48:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10617623012179968,"km_value":10617623012179.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852457221077583872,"description":"Unknown IO ID 45"} 
[2026-08-05 12:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194050816001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1852457221077583872}} 
[2026-08-05 12:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":148410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:48:43] local.INFO: GPS data processed {"connection_id":148410,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:48:43] local.INFO: Acknowledgment sent {"connection_id":148410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:48:43] local.INFO: Packet analysis {"connection_id":148410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:48:43] local.INFO: Extracted packet for processing {"connection_id":148410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119534600,"longitude_deg":75.6664896,"latitude_deg":11.95346,"altitude":47,"angle":44,"satellites":36,"speed":15,"hex_longitude":"2d19ca40","hex_latitude":"071ff408","is_valid_coordinates":true} 
[2026-08-05 12:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194052864001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10617644487016448,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945983123650560,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785914270000,"timestamp_ms":1785914270000,"timestamp_seconds":1785914270,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c92130"} 
[2026-08-05 12:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 12:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194052864001,"66":14048,"101":206,"83":41984,"24":15,"16":10617644487016448,"45":1857945983123650560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194052864001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:48:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:48:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10617644487016448,"km_value":10617644487016.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945983123650560,"description":"Unknown IO ID 45"} 
[2026-08-05 12:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194052864001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1857945983123650560}} 
[2026-08-05 12:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":148410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:48:43] local.INFO: GPS data processed {"connection_id":148410,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:48:43] local.INFO: Acknowledgment sent {"connection_id":148410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:48:44] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c92518012d19cac0071ff568002f001125..."} 
[2026-08-05 12:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c92518012d19cac0071ff568002f001125..."} 
[2026-08-05 12:48:44] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c92518012d19cac0071ff568002f001125..."} 
[2026-08-05 12:48:44] local.INFO: Packet analysis {"connection_id":148410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:48:44] local.INFO: Extracted packet for processing {"connection_id":148410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119534952,"longitude_deg":75.6665024,"latitude_deg":11.9534952,"altitude":47,"angle":17,"satellites":37,"speed":16,"hex_longitude":"2d19cac0","hex_latitude":"071ff568","is_valid_coordinates":true} 
[2026-08-05 12:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194053120001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10617661666885632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195588786176,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785914271000,"timestamp_ms":1785914271000,"timestamp_seconds":1785914271,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c92518"} 
[2026-08-05 12:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:48: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-08-05 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 12:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194053120001,"66":13135,"101":206,"83":41984,"24":16,"16":10617661666885632,"45":1858368195588786176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194053120001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:48:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10617661666885632,"km_value":10617661666885.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195588786176,"description":"Unknown IO ID 45"} 
[2026-08-05 12:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194053120001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858368195588786176}} 
[2026-08-05 12:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":148410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:48:44] local.INFO: GPS data processed {"connection_id":148410,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:48:44] local.INFO: Acknowledgment sent {"connection_id":148410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:48:52] local.INFO: TCP Data received {"connection_id":151030,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:48:52] local.INFO: Processing buffer {"connection_id":151030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c53d18012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:48:52] local.INFO: Packet analysis {"connection_id":151030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:48:52] local.INFO: Extracted packet for processing {"connection_id":151030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c5"} 
[2026-08-05 12:48:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193910784001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914015000,"timestamp_ms":1785914015000,"timestamp_seconds":1785914015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c53d18"} 
[2026-08-05 12:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 12:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193910784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193910784001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:48:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193910784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":151030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:48:52] local.INFO: GPS data processed {"connection_id":151030,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:48:52] local.INFO: Acknowledgment sent {"connection_id":151030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:49:15] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:49:15] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:49:15] local.INFO: IMEI packet received {"connection_id":148411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":148411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:49:15] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c92ce8012d19cc80071ff8e8002f002225..."} 
[2026-08-05 12:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c92ce8012d19cc80071ff8e8002f002225..."} 
[2026-08-05 12:49:15] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c92ce8012d19cc80071ff8e8002f002225..."} 
[2026-08-05 12:49:15] local.INFO: Packet analysis {"connection_id":148410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:49:15] local.INFO: Extracted packet for processing {"connection_id":148410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119535848,"longitude_deg":75.6665472,"latitude_deg":11.9535848,"altitude":47,"angle":34,"satellites":37,"speed":22,"hex_longitude":"2d19cc80","hex_latitude":"071ff8e8","is_valid_coordinates":true} 
[2026-08-05 12:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194053376001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10617713206493184,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077231616,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785914273000,"timestamp_ms":1785914273000,"timestamp_seconds":1785914273,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c92ce8"} 
[2026-08-05 12:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 12:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194053376001,"66":14048,"101":206,"83":41984,"24":22,"16":10617713206493184,"45":1858508933077231616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194053376001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:49:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10617713206493184,"km_value":10617713206493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077231616,"description":"Unknown IO ID 45"} 
[2026-08-05 12:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194053376001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1858508933077231616}} 
[2026-08-05 12:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":148410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:49:15] local.INFO: GPS data processed {"connection_id":148410,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:49:15] local.INFO: Acknowledgment sent {"connection_id":148410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:49:20] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:49:20] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:49:20] local.INFO: IMEI packet received {"connection_id":148411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":148411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:49:21] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:49:21] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:49:21] local.INFO: Packet analysis {"connection_id":148411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:49:21] local.INFO: Extracted packet for processing {"connection_id":148411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:49:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193987840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914316000,"timestamp_ms":1785914316000,"timestamp_seconds":1785914316,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c9d4e0"} 
[2026-08-05 12:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:49: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-08-05 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:49: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-08-05 12:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193987840001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193987840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:49:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193987840001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":148411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:49:21] local.INFO: GPS data processed {"connection_id":148411,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:49:21] local.INFO: Acknowledgment sent {"connection_id":148411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:49:40] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:49:40] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:49:40] local.INFO: IMEI packet received {"connection_id":148412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":148412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:49:45] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:49:45] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:49:45] local.INFO: IMEI packet received {"connection_id":148412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":148412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:49:46] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c930d0012d19ce00071ffa800030003426..."} 
[2026-08-05 12:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c930d0012d19ce00071ffa800030003426..."} 
[2026-08-05 12:49:46] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c930d0012d19ce00071ffa800030003426..."} 
[2026-08-05 12:49:46] local.INFO: Packet analysis {"connection_id":148412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:49:46] local.INFO: Extracted packet for processing {"connection_id":148412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119536256,"longitude_deg":75.6665856,"latitude_deg":11.9536256,"altitude":48,"angle":52,"satellites":38,"speed":23,"hex_longitude":"2d19ce00","hex_latitude":"071ffa80","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194053888001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10617738976296960,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859001514286704640,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49: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-08-05 12:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785914274000,"timestamp_ms":1785914274000,"timestamp_seconds":1785914274,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c930d0"} 
[2026-08-05 12:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 12:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194053888001,"66":14048,"101":206,"83":41984,"24":23,"16":10617738976296960,"45":1859001514286704640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194053888001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:49:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10617738976296960,"km_value":10617738976296.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859001514286704640,"description":"Unknown IO ID 45"} 
[2026-08-05 12:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194053888001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1859001514286704640}} 
[2026-08-05 12:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":148412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:49:46] local.INFO: GPS data processed {"connection_id":148412,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:49:46] local.INFO: Acknowledgment sent {"connection_id":148412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:49:52] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:49:52] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:49:52] local.INFO: Packet analysis {"connection_id":148411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:49:52] local.INFO: Extracted packet for processing {"connection_id":148411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193987840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914316000,"timestamp_ms":1785914316000,"timestamp_seconds":1785914316,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c9d4e0"} 
[2026-08-05 12:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193987840001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193987840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:49:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193987840001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":148411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:49:52] local.INFO: GPS data processed {"connection_id":148411,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:49:52] local.INFO: Acknowledgment sent {"connection_id":148411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:50:15] local.INFO: TCP Data received {"connection_id":148623,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:50:15] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:50:15] local.INFO: IMEI packet received {"connection_id":148623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":148623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:50:17] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cab770012d19c540072026800032014227..."} 
[2026-08-05 12:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cab770012d19c540072026800032014227..."} 
[2026-08-05 12:50:17] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cab770012d19c540072026800032014227..."} 
[2026-08-05 12:50:17] local.INFO: Packet analysis {"connection_id":148412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ca"} 
[2026-08-05 12:50:17] local.INFO: Extracted packet for processing {"connection_id":148412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ca"} 
[2026-08-05 12:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756663616,"raw_latitude":119547520,"longitude_deg":75.6663616,"latitude_deg":11.954752,"altitude":50,"angle":322,"satellites":39,"speed":9,"hex_longitude":"2d19c540","hex_latitude":"07202680","is_valid_coordinates":true} 
[2026-08-05 12:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194078464001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10618524955312128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857383033173407744,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785914374000,"timestamp_ms":1785914374000,"timestamp_seconds":1785914374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cab770"} 
[2026-08-05 12:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:50: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-08-05 12: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":71,"data_length":795,"current_offset":136} 
[2026-08-05 12:50: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-08-05 12:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194078464001,"66":14396,"101":206,"83":41984,"24":9,"16":10618524955312128,"45":1857383033173407744},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194078464001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:50:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:50:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10618524955312128,"km_value":10618524955312.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857383033173407744,"description":"Unknown IO ID 45"} 
[2026-08-05 12:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194078464001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1857383033173407744}} 
[2026-08-05 12:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":148412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:50:17] local.INFO: GPS data processed {"connection_id":148412,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:50:17] local.INFO: Acknowledgment sent {"connection_id":148412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:50:20] local.INFO: TCP Data received {"connection_id":148623,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:50:20] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:50:20] local.INFO: IMEI packet received {"connection_id":148623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":148623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:50:21] local.INFO: TCP Data received {"connection_id":148623,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:50:21] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:50:21] local.INFO: Packet analysis {"connection_id":148623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:50:21] local.INFO: Extracted packet for processing {"connection_id":148623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:50:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193987840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914316000,"timestamp_ms":1785914316000,"timestamp_seconds":1785914316,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c9d4e0"} 
[2026-08-05 12:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:50: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-08-05 12:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:50: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-08-05 12:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193987840001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193987840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:50:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193987840001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":148623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:50:21] local.INFO: GPS data processed {"connection_id":148623,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:50:21] local.INFO: Acknowledgment sent {"connection_id":148623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:50:40] local.INFO: TCP Data received {"connection_id":151031,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:50:40] local.INFO: Processing buffer {"connection_id":151031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:50:40] local.INFO: IMEI packet received {"connection_id":151031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":151031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:50:43] local.INFO: TCP Data received {"connection_id":151031,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:50:43] local.INFO: Processing buffer {"connection_id":151031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:50:43] local.INFO: IMEI packet received {"connection_id":151031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":151031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:50:44] local.INFO: TCP Data received {"connection_id":151031,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cac328012d19c400072028480032016026..."} 
[2026-08-05 12:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cac328012d19c400072028480032016026..."} 
[2026-08-05 12:50:44] local.INFO: Processing buffer {"connection_id":151031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cac328012d19c400072028480032016026..."} 
[2026-08-05 12:50:44] local.INFO: Packet analysis {"connection_id":151031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ca"} 
[2026-08-05 12:50:44] local.INFO: Extracted packet for processing {"connection_id":151031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ca"} 
[2026-08-05 12:50:44] local.INFO: GPS Element Parsed {"raw_longitude":756663296,"raw_latitude":119547976,"longitude_deg":75.6663296,"latitude_deg":11.9547976,"altitude":50,"angle":352,"satellites":38,"speed":6,"hex_longitude":"2d19c400","hex_latitude":"07202848","is_valid_coordinates":true} 
[2026-08-05 12:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194079744001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10618550725115904,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856960820708540416,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785914377000,"timestamp_ms":1785914377000,"timestamp_seconds":1785914377,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cac328"} 
[2026-08-05 12:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 12:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194079744001,"66":14374,"101":206,"83":41984,"24":6,"16":10618550725115904,"45":1856960820708540416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194079744001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:50:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:50:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10618550725115904,"km_value":10618550725115.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856960820708540416,"description":"Unknown IO ID 45"} 
[2026-08-05 12:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194079744001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1856960820708540416}} 
[2026-08-05 12:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":151031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:50:44] local.INFO: GPS data processed {"connection_id":151031,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:50:44] local.INFO: Acknowledgment sent {"connection_id":151031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:50:52] local.INFO: TCP Data received {"connection_id":148623,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:50:52] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:50:52] local.INFO: Packet analysis {"connection_id":148623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:50:52] local.INFO: Extracted packet for processing {"connection_id":148623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:50:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193987840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914316000,"timestamp_ms":1785914316000,"timestamp_seconds":1785914316,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c9d4e0"} 
[2026-08-05 12:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193987840001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193987840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:50:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193987840001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":148623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:50:52] local.INFO: GPS data processed {"connection_id":148623,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:50:52] local.INFO: Acknowledgment sent {"connection_id":148623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:51:15] local.INFO: TCP Data received {"connection_id":148413,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:51:15] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:51:15] local.INFO: IMEI packet received {"connection_id":148413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":148413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:51:15] local.INFO: TCP Data received {"connection_id":151031,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cb4fc8012d19eec0071ffca8002e005828..."} 
[2026-08-05 12:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cb4fc8012d19eec0071ffca8002e005828..."} 
[2026-08-05 12:51:15] local.INFO: Processing buffer {"connection_id":151031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cb4fc8012d19eec0071ffca8002e005828..."} 
[2026-08-05 12:51:15] local.INFO: Packet analysis {"connection_id":151031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cb"} 
[2026-08-05 12:51:15] local.INFO: Extracted packet for processing {"connection_id":151031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cb"} 
[2026-08-05 12:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756674240,"raw_latitude":119536808,"longitude_deg":75.667424,"latitude_deg":11.9536808,"altitude":46,"angle":88,"satellites":40,"speed":22,"hex_longitude":"2d19eec0","hex_latitude":"071ffca8","is_valid_coordinates":true} 
[2026-08-05 12:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194089472001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10619349589032960,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868008713541699584,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785914413000,"timestamp_ms":1785914413000,"timestamp_seconds":1785914413,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cb4fc8"} 
[2026-08-05 12:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 12:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194089472001,"66":14374,"101":206,"83":41984,"24":22,"16":10619349589032960,"45":1868008713541699584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194089472001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:51:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10619349589032960,"km_value":10619349589032.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868008713541699584,"description":"Unknown IO ID 45"} 
[2026-08-05 12:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194089472001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1868008713541699584}} 
[2026-08-05 12:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":151031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:51:15] local.INFO: GPS data processed {"connection_id":151031,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:51:15] local.INFO: Acknowledgment sent {"connection_id":151031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:51:20] local.INFO: TCP Data received {"connection_id":148413,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:51:20] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:51:20] local.INFO: IMEI packet received {"connection_id":148413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":148413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:51:21] local.INFO: TCP Data received {"connection_id":148413,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:51:21] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:51:21] local.INFO: Packet analysis {"connection_id":148413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:51:21] local.INFO: Extracted packet for processing {"connection_id":148413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:51:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193987840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914316000,"timestamp_ms":1785914316000,"timestamp_seconds":1785914316,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c9d4e0"} 
[2026-08-05 12:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12: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-08-05 12: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":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193987840001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193987840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:51:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193987840001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":148413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:51:21] local.INFO: GPS data processed {"connection_id":148413,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:51:21] local.INFO: Acknowledgment sent {"connection_id":148413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:51:39] local.INFO: TCP Data received {"connection_id":149623,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:51:39] local.INFO: Processing buffer {"connection_id":149623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:51:39] local.INFO: IMEI packet received {"connection_id":149623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":149623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:51:41] local.INFO: TCP Data received {"connection_id":149623,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:51:41] local.INFO: Processing buffer {"connection_id":149623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:51:41] local.INFO: IMEI packet received {"connection_id":149623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":149623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:51:44] local.INFO: TCP Data received {"connection_id":149623,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:51:44] local.INFO: Processing buffer {"connection_id":149623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:51:44] local.INFO: IMEI packet received {"connection_id":149623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":149623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:51:45] local.INFO: TCP Data received {"connection_id":149623,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cb6350012d19fd00071ffc80002e006929..."} 
[2026-08-05 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cb6350012d19fd00071ffc80002e006929..."} 
[2026-08-05 12:51:45] local.INFO: Processing buffer {"connection_id":149623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cb6350012d19fd00071ffc80002e006929..."} 
[2026-08-05 12:51:45] local.INFO: Packet analysis {"connection_id":149623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cb"} 
[2026-08-05 12:51:45] local.INFO: Extracted packet for processing {"connection_id":149623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cb"} 
[2026-08-05 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756677888,"raw_latitude":119536768,"longitude_deg":75.6677888,"latitude_deg":11.9536768,"altitude":46,"angle":105,"satellites":41,"speed":30,"hex_longitude":"2d19fd00","hex_latitude":"071ffc80","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194089728001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10619521387724800,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868642032239290368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51: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-08-05 12:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785914418000,"timestamp_ms":1785914418000,"timestamp_seconds":1785914418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cb6350"} 
[2026-08-05 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-08-05 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 12:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194089728001,"66":14461,"101":206,"83":41984,"24":30,"16":10619521387724800,"45":1868642032239290368},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194089728001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:51:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10619521387724800,"km_value":10619521387724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868642032239290368,"description":"Unknown IO ID 45"} 
[2026-08-05 12:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194089728001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1868642032239290368}} 
[2026-08-05 12:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":149623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:51:45] local.INFO: GPS data processed {"connection_id":149623,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:51:45] local.INFO: Acknowledgment sent {"connection_id":149623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:51:52] local.INFO: TCP Data received {"connection_id":148413,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:51:52] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:51:52] local.INFO: Packet analysis {"connection_id":148413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:51:52] local.INFO: Extracted packet for processing {"connection_id":148413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:51:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193987840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914316000,"timestamp_ms":1785914316000,"timestamp_seconds":1785914316,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c9d4e0"} 
[2026-08-05 12:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193987840001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193987840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:51:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193987840001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":148413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:51:52] local.INFO: GPS data processed {"connection_id":148413,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:51:52] local.INFO: Acknowledgment sent {"connection_id":148413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:52:15] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:52:15] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:52:15] local.INFO: IMEI packet received {"connection_id":148414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":148414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:52:20] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:52:20] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:52:20] local.INFO: IMEI packet received {"connection_id":148414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":148414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:52:21] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:52:21] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:52:21] local.INFO: Packet analysis {"connection_id":148414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:52:21] local.INFO: Extracted packet for processing {"connection_id":148414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193987840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914316000,"timestamp_ms":1785914316000,"timestamp_seconds":1785914316,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c9d4e0"} 
[2026-08-05 12:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:52: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-08-05 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:52: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-08-05 12:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193987840001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193987840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:52:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193987840001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":148414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:52:21] local.INFO: GPS data processed {"connection_id":148414,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:52:21] local.INFO: Acknowledgment sent {"connection_id":148414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:52:24] local.INFO: TCP Data received {"connection_id":149623,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cb9230012d1a20c0071ff158002e006a28..."} 
[2026-08-05 12:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cb9230012d1a20c0071ff158002e006a28..."} 
[2026-08-05 12:52:24] local.INFO: Processing buffer {"connection_id":149623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cb9230012d1a20c0071ff158002e006a28..."} 
[2026-08-05 12:52:24] local.INFO: Packet analysis {"connection_id":149623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cb"} 
[2026-08-05 12:52:24] local.INFO: Extracted packet for processing {"connection_id":149623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cb"} 
[2026-08-05 12:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756687040,"raw_latitude":119533912,"longitude_deg":75.668704,"latitude_deg":11.9533912,"altitude":46,"angle":106,"satellites":40,"speed":32,"hex_longitude":"2d1a20c0","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-05 12:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194091008001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10619976654258176,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872653050657406976,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785914430000,"timestamp_ms":1785914430000,"timestamp_seconds":1785914430,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cb9230"} 
[2026-08-05 12:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-05 12:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194091008001,"66":14428,"101":206,"83":41984,"24":32,"16":10619976654258176,"45":1872653050657406976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194091008001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:52:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10619976654258176,"km_value":10619976654258.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872653050657406976,"description":"Unknown IO ID 45"} 
[2026-08-05 12:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194091008001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1872653050657406976}} 
[2026-08-05 12:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":149623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:52:24] local.INFO: GPS data processed {"connection_id":149623,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:52:24] local.INFO: Acknowledgment sent {"connection_id":149623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:52:39] local.INFO: TCP Data received {"connection_id":148624,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:52:39] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:52:39] local.INFO: IMEI packet received {"connection_id":148624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":148624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:52:44] local.INFO: TCP Data received {"connection_id":148624,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:52:44] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:52:44] local.INFO: IMEI packet received {"connection_id":148624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":148624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:52:45] local.INFO: TCP Data received {"connection_id":148624,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cc6cf0012d1aa5c0071f99900032006727..."} 
[2026-08-05 12:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cc6cf0012d1aa5c0071f99900032006727..."} 
[2026-08-05 12:52:45] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cc6cf0012d1aa5c0071f99900032006727..."} 
[2026-08-05 12:52:45] local.INFO: Packet analysis {"connection_id":148624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cc"} 
[2026-08-05 12:52:45] local.INFO: Extracted packet for processing {"connection_id":148624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cc"} 
[2026-08-05 12:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756721088,"raw_latitude":119511440,"longitude_deg":75.6721088,"latitude_deg":11.951144,"altitude":50,"angle":103,"satellites":39,"speed":22,"hex_longitude":"2d1aa5c0","hex_latitude":"071f9990","is_valid_coordinates":true} 
[2026-08-05 12:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194107904001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622025353658368,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919026053064138752,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52: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-08-05 12:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785914486000,"timestamp_ms":1785914486000,"timestamp_seconds":1785914486,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cc6cf0"} 
[2026-08-05 12:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:52: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-08-05 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 12:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194107904001,"66":14135,"101":206,"83":41984,"24":22,"16":10622025353658368,"45":1919026053064138752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194107904001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:52:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622025353658368,"km_value":10622025353658.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919026053064138752,"description":"Unknown IO ID 45"} 
[2026-08-05 12:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194107904001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1919026053064138752}} 
[2026-08-05 12:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":148624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:52:45] local.INFO: GPS data processed {"connection_id":148624,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:52:45] local.INFO: Acknowledgment sent {"connection_id":148624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:52:52] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:52:52] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:52:52] local.INFO: Packet analysis {"connection_id":148414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:52:52] local.INFO: Extracted packet for processing {"connection_id":148414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193987840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914316000,"timestamp_ms":1785914316000,"timestamp_seconds":1785914316,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c9d4e0"} 
[2026-08-05 12:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193987840001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193987840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:52:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193987840001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":148414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:52:52] local.INFO: GPS data processed {"connection_id":148414,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:52:52] local.INFO: Acknowledgment sent {"connection_id":148414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:53:15] local.INFO: TCP Data received {"connection_id":149624,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:53:15] local.INFO: Processing buffer {"connection_id":149624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:53:15] local.INFO: IMEI packet received {"connection_id":149624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":149624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:53:16] local.INFO: TCP Data received {"connection_id":148624,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cca3a0012d1ac300071f93300034007228..."} 
[2026-08-05 12:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cca3a0012d1ac300071f93300034007228..."} 
[2026-08-05 12:53:16] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cca3a0012d1ac300071f93300034007228..."} 
[2026-08-05 12:53:16] local.INFO: Packet analysis {"connection_id":148624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cc"} 
[2026-08-05 12:53:16] local.INFO: Extracted packet for processing {"connection_id":148624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cc"} 
[2026-08-05 12:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756728576,"raw_latitude":119509808,"longitude_deg":75.6728576,"latitude_deg":11.9509808,"altitude":52,"angle":114,"satellites":40,"speed":11,"hex_longitude":"2d1ac300","hex_latitude":"071f9330","is_valid_coordinates":true} 
[2026-08-05 12:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194108416001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622390425878528,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920151952970846208,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785914500000,"timestamp_ms":1785914500000,"timestamp_seconds":1785914500,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cca3a0"} 
[2026-08-05 12:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-05 12:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194108416001,"66":14135,"101":206,"83":41984,"24":11,"16":10622390425878528,"45":1920151952970846208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194108416001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:53:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622390425878528,"km_value":10622390425878.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920151952970846208,"description":"Unknown IO ID 45"} 
[2026-08-05 12:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194108416001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1920151952970846208}} 
[2026-08-05 12:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":148624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:53:16] local.INFO: GPS data processed {"connection_id":148624,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:53:16] local.INFO: Acknowledgment sent {"connection_id":148624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:53:20] local.INFO: TCP Data received {"connection_id":149624,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:53:20] local.INFO: Processing buffer {"connection_id":149624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:53:20] local.INFO: IMEI packet received {"connection_id":149624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":149624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:53:20] local.INFO: TCP Data received {"connection_id":149624,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:53:20] local.INFO: Processing buffer {"connection_id":149624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:53:20] local.INFO: Packet analysis {"connection_id":149624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:53:20] local.INFO: Extracted packet for processing {"connection_id":149624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:53:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193987840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785914316000,"timestamp_ms":1785914316000,"timestamp_seconds":1785914316,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c9d4e0"} 
[2026-08-05 12:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:53: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-08-05 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12:53: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-08-05 12: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-08-05 12:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193987840001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193987840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:53:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193987840001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":149624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:53:20] local.INFO: GPS data processed {"connection_id":149624,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:53:20] local.INFO: Acknowledgment sent {"connection_id":149624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:53:42] local.INFO: TCP Data received {"connection_id":148625,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:53:42] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:53:42] local.INFO: IMEI packet received {"connection_id":148625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":148625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:53:44] local.INFO: TCP Data received {"connection_id":148625,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:53:44] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:53:44] local.INFO: IMEI packet received {"connection_id":148625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":148625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:53:50] local.INFO: TCP Data received {"connection_id":148625,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:53:50] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:53:50] local.INFO: IMEI packet received {"connection_id":148625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":148625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:53:51] local.INFO: TCP Data received {"connection_id":148625,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ccf5a8012d1ac440071f92900034007628..."} 
[2026-08-05 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ccf5a8012d1ac440071f92900034007628..."} 
[2026-08-05 12:53:51] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ccf5a8012d1ac440071f92900034007628..."} 
[2026-08-05 12:53:51] local.INFO: Packet analysis {"connection_id":148625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cc"} 
[2026-08-05 12:53:51] local.INFO: Extracted packet for processing {"connection_id":148625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cc"} 
[2026-08-05 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119509648,"longitude_deg":75.6728896,"latitude_deg":11.9509648,"altitude":52,"angle":118,"satellites":40,"speed":0,"hex_longitude":"2d1ac440","hex_latitude":"071f9290","is_valid_coordinates":true} 
[2026-08-05 12:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194112000001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622407605747712,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928385096039215104,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785914521000,"timestamp_ms":1785914521000,"timestamp_seconds":1785914521,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ccf5a8"} 
[2026-08-05 12:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-05 12:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194112000001,"66":14461,"101":206,"83":41984,"24":0,"16":10622407605747712,"45":1928385096039215104},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194112000001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622407605747712,"km_value":10622407605747.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928385096039215104,"description":"Unknown IO ID 45"} 
[2026-08-05 12:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194112000001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1928385096039215104}} 
[2026-08-05 12:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":148625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:53:51] local.INFO: GPS data processed {"connection_id":148625,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:53:51] local.INFO: Acknowledgment sent {"connection_id":148625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:53:51] local.INFO: TCP Data received {"connection_id":149624,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:53:51] local.INFO: Processing buffer {"connection_id":149624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0c9d4e0012d7f92c005afd9e8000000e929..."} 
[2026-08-05 12:53:51] local.INFO: Packet analysis {"connection_id":149624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:53:51] local.INFO: Extracted packet for processing {"connection_id":149624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0c9"} 
[2026-08-05 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457193987840001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785914316000,"timestamp_ms":1785914316000,"timestamp_seconds":1785914316,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0c9d4e0"} 
[2026-08-05 12:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:53: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-08-05 12:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 12: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-08-05 12:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12: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-08-05 12:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457193987840001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457193987840001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457193987840001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":149624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:53:51] local.INFO: GPS data processed {"connection_id":149624,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:53:51] local.INFO: Acknowledgment sent {"connection_id":149624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:54:15] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:54:15] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:54:15] local.INFO: IMEI packet received {"connection_id":148415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":148415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:54:15] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:54:15] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:54:15] local.INFO: IMEI packet received {"connection_id":148415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":148415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:54:20] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:54:20] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:54:20] local.INFO: IMEI packet received {"connection_id":148415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":148415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:54:21] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:54:21] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:54:21] local.INFO: Packet analysis {"connection_id":148415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:54:21] local.INFO: Extracted packet for processing {"connection_id":148415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:54:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194064896001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914617000,"timestamp_ms":1785914617000,"timestamp_seconds":1785914617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce6ca8"} 
[2026-08-05 12:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:54: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-08-05 12: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:54: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-08-05 12: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-08-05 12:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:54: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-08-05 12:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194064896001,"66":25582,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194064896001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:54:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194064896001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":148415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:54:21] local.INFO: GPS data processed {"connection_id":148415,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:54:21] local.INFO: Acknowledgment sent {"connection_id":148415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:54:22] local.INFO: TCP Data received {"connection_id":148625,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cd47b0012d1ac440071f92900034007628..."} 
[2026-08-05 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cd47b0012d1ac440071f92900034007628..."} 
[2026-08-05 12:54:22] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cd47b0012d1ac440071f92900034007628..."} 
[2026-08-05 12:54:22] local.INFO: Packet analysis {"connection_id":148625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cd"} 
[2026-08-05 12:54:22] local.INFO: Extracted packet for processing {"connection_id":148625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cd"} 
[2026-08-05 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119509648,"longitude_deg":75.6728896,"latitude_deg":11.9509648,"altitude":52,"angle":118,"satellites":40,"speed":0,"hex_longitude":"2d1ac440","hex_latitude":"071f9290","is_valid_coordinates":true} 
[2026-08-05 12:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194117376001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622407605747712,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939760062464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785914542000,"timestamp_ms":1785914542000,"timestamp_seconds":1785914542,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cd47b0"} 
[2026-08-05 12:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:54: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-08-05 12:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-05 12:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194117376001,"66":13287,"101":206,"83":41984,"24":0,"16":10622407605747712,"45":1928736939760062464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194117376001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:54:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622407605747712,"km_value":10622407605747.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939760062464,"description":"Unknown IO ID 45"} 
[2026-08-05 12:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194117376001,"power":13287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1928736939760062464}} 
[2026-08-05 12:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":148625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:54:22] local.INFO: GPS data processed {"connection_id":148625,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:54:22] local.INFO: Acknowledgment sent {"connection_id":148625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:54:40] local.INFO: TCP Data received {"connection_id":149625,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:54:40] local.INFO: Processing buffer {"connection_id":149625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:54:40] local.INFO: IMEI packet received {"connection_id":149625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":149625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:54:45] local.INFO: TCP Data received {"connection_id":149625,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:54:45] local.INFO: Processing buffer {"connection_id":149625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:54:45] local.INFO: IMEI packet received {"connection_id":149625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":149625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:54:45] local.INFO: TCP Data received {"connection_id":149625,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cd99b8012d1ac440071f92900034007628..."} 
[2026-08-05 12:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cd99b8012d1ac440071f92900034007628..."} 
[2026-08-05 12:54:45] local.INFO: Processing buffer {"connection_id":149625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cd99b8012d1ac440071f92900034007628..."} 
[2026-08-05 12:54:45] local.INFO: Packet analysis {"connection_id":149625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cd"} 
[2026-08-05 12:54:45] local.INFO: Extracted packet for processing {"connection_id":149625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cd"} 
[2026-08-05 12:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119509648,"longitude_deg":75.6728896,"latitude_deg":11.9509648,"altitude":52,"angle":118,"satellites":40,"speed":0,"hex_longitude":"2d1ac440","hex_latitude":"071f9290","is_valid_coordinates":true} 
[2026-08-05 12:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194122752001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622407605747712,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939760062464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54: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-08-05 12:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785914563000,"timestamp_ms":1785914563000,"timestamp_seconds":1785914563,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cd99b8"} 
[2026-08-05 12:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-05 12:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194122752001,"66":12950,"101":206,"83":41984,"24":0,"16":10622407605747712,"45":1928736939760062464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194122752001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:54:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622407605747712,"km_value":10622407605747.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939760062464,"description":"Unknown IO ID 45"} 
[2026-08-05 12:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194122752001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1928736939760062464}} 
[2026-08-05 12:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":149625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:54:45] local.INFO: GPS data processed {"connection_id":149625,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:54:45] local.INFO: Acknowledgment sent {"connection_id":149625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:54:52] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:54:52] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:54:52] local.INFO: Packet analysis {"connection_id":148415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:54:52] local.INFO: Extracted packet for processing {"connection_id":148415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:54:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194064896001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914617000,"timestamp_ms":1785914617000,"timestamp_seconds":1785914617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce6ca8"} 
[2026-08-05 12:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194064896001,"66":25582,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194064896001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:54:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:54:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194064896001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":148415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:54:52] local.INFO: GPS data processed {"connection_id":148415,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:54:52] local.INFO: Acknowledgment sent {"connection_id":148415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:55:15] local.INFO: TCP Data received {"connection_id":151032,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:55:15] local.INFO: Processing buffer {"connection_id":151032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:55:15] local.INFO: IMEI packet received {"connection_id":151032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":151032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:55:16] local.INFO: TCP Data received {"connection_id":149625,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cdebc0012d1ac440071f92900034007628..."} 
[2026-08-05 12:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cdebc0012d1ac440071f92900034007628..."} 
[2026-08-05 12:55:16] local.INFO: Processing buffer {"connection_id":149625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cdebc0012d1ac440071f92900034007628..."} 
[2026-08-05 12:55:16] local.INFO: Packet analysis {"connection_id":149625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cd"} 
[2026-08-05 12:55:16] local.INFO: Extracted packet for processing {"connection_id":149625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cd"} 
[2026-08-05 12:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119509648,"longitude_deg":75.6728896,"latitude_deg":11.9509648,"altitude":52,"angle":118,"satellites":40,"speed":0,"hex_longitude":"2d1ac440","hex_latitude":"071f9290","is_valid_coordinates":true} 
[2026-08-05 12:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194128128001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622407605747712,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939760062464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785914584000,"timestamp_ms":1785914584000,"timestamp_seconds":1785914584,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cdebc0"} 
[2026-08-05 12:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 12:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194128128001,"66":12722,"101":206,"83":41984,"24":0,"16":10622407605747712,"45":1928736939760062464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194128128001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:55:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:55:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622407605747712,"km_value":10622407605747.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939760062464,"description":"Unknown IO ID 45"} 
[2026-08-05 12:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194128128001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1928736939760062464}} 
[2026-08-05 12:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":149625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:55:16] local.INFO: GPS data processed {"connection_id":149625,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:55:16] local.INFO: Acknowledgment sent {"connection_id":149625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:55:20] local.INFO: TCP Data received {"connection_id":151032,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:55:20] local.INFO: Processing buffer {"connection_id":151032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:55:20] local.INFO: IMEI packet received {"connection_id":151032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":151032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:55:21] local.INFO: TCP Data received {"connection_id":151032,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:55:21] local.INFO: Processing buffer {"connection_id":151032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:55:21] local.INFO: Packet analysis {"connection_id":151032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:55:21] local.INFO: Extracted packet for processing {"connection_id":151032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194064896001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914617000,"timestamp_ms":1785914617000,"timestamp_seconds":1785914617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce6ca8"} 
[2026-08-05 12:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:55: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-08-05 12: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":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:55: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-08-05 12: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-08-05 12:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194064896001,"66":25582,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194064896001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:55:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194064896001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":151032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:55:21] local.INFO: GPS data processed {"connection_id":151032,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:55:21] local.INFO: Acknowledgment sent {"connection_id":151032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:55:40] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:55:40] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:55:40] local.INFO: IMEI packet received {"connection_id":148416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":148416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:55:45] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:55:45] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:55:45] local.INFO: IMEI packet received {"connection_id":148416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":148416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:55:45] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce3dc8012d1ac440071f9290003400762d..."} 
[2026-08-05 12:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce3dc8012d1ac440071f9290003400762d..."} 
[2026-08-05 12:55:45] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce3dc8012d1ac440071f9290003400762d..."} 
[2026-08-05 12:55:45] local.INFO: Packet analysis {"connection_id":148416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:55:45] local.INFO: Extracted packet for processing {"connection_id":148416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119509648,"longitude_deg":75.6728896,"latitude_deg":11.9509648,"altitude":52,"angle":118,"satellites":45,"speed":0,"hex_longitude":"2d1ac440","hex_latitude":"071f9290","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194133504001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622407605747712,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939760062464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55: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-08-05 12:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785914605000,"timestamp_ms":1785914605000,"timestamp_seconds":1785914605,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce3dc8"} 
[2026-08-05 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-08-05 12:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 12:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194133504001,"66":12526,"101":206,"83":41984,"24":0,"16":10622407605747712,"45":1928736939760062464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194133504001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:55:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622407605747712,"km_value":10622407605747.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939760062464,"description":"Unknown IO ID 45"} 
[2026-08-05 12:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194133504001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1928736939760062464}} 
[2026-08-05 12:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":148416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:55:45] local.INFO: GPS data processed {"connection_id":148416,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:55:45] local.INFO: Acknowledgment sent {"connection_id":148416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:55:52] local.INFO: TCP Data received {"connection_id":151032,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:55:52] local.INFO: Processing buffer {"connection_id":151032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:55:52] local.INFO: Packet analysis {"connection_id":151032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:55:52] local.INFO: Extracted packet for processing {"connection_id":151032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:55:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194064896001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914617000,"timestamp_ms":1785914617000,"timestamp_seconds":1785914617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce6ca8"} 
[2026-08-05 12:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194064896001,"66":25582,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194064896001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:55:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194064896001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":151032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:55:52] local.INFO: GPS data processed {"connection_id":151032,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:55:52] local.INFO: Acknowledgment sent {"connection_id":151032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:56:15] local.INFO: TCP Data received {"connection_id":148417,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:56:15] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:56:15] local.INFO: IMEI packet received {"connection_id":148417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":148417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:56:16] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce8fd0012d1ac440071f9290003400762c..."} 
[2026-08-05 12:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce8fd0012d1ac440071f9290003400762c..."} 
[2026-08-05 12:56:16] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce8fd0012d1ac440071f9290003400762c..."} 
[2026-08-05 12:56:16] local.INFO: Packet analysis {"connection_id":148416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:56:16] local.INFO: Extracted packet for processing {"connection_id":148416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119509648,"longitude_deg":75.6728896,"latitude_deg":11.9509648,"altitude":52,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d1ac440","hex_latitude":"071f9290","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194138880001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622407605747712,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939760062464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785914626000,"timestamp_ms":1785914626000,"timestamp_seconds":1785914626,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce8fd0"} 
[2026-08-05 12:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 12:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194138880001,"66":12004,"101":206,"83":41984,"24":0,"16":10622407605747712,"45":1928736939760062464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194138880001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:56:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622407605747712,"km_value":10622407605747.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939760062464,"description":"Unknown IO ID 45"} 
[2026-08-05 12:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194138880001,"power":12004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1928736939760062464}} 
[2026-08-05 12:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":148416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:56:16] local.INFO: GPS data processed {"connection_id":148416,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:56:16] local.INFO: Acknowledgment sent {"connection_id":148416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:56:20] local.INFO: TCP Data received {"connection_id":148417,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:56:20] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:56:20] local.INFO: IMEI packet received {"connection_id":148417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":148417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:56:21] local.INFO: TCP Data received {"connection_id":148417,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:56:21] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:56:21] local.INFO: Packet analysis {"connection_id":148417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:56:21] local.INFO: Extracted packet for processing {"connection_id":148417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:56:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194064896001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914617000,"timestamp_ms":1785914617000,"timestamp_seconds":1785914617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce6ca8"} 
[2026-08-05 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-08-05 12:56: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-08-05 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:56: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-08-05 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-08-05 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-08-05 12:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:56: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-08-05 12:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194064896001,"66":25582,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194064896001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:56:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194064896001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":148417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:56:21] local.INFO: GPS data processed {"connection_id":148417,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:56:21] local.INFO: Acknowledgment sent {"connection_id":148417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:56:40] local.INFO: TCP Data received {"connection_id":151033,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:56:40] local.INFO: Processing buffer {"connection_id":151033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:56:40] local.INFO: IMEI packet received {"connection_id":151033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":151033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:56:45] local.INFO: TCP Data received {"connection_id":151033,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:56:45] local.INFO: Processing buffer {"connection_id":151033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:56:45] local.INFO: IMEI packet received {"connection_id":151033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":151033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:56:46] local.INFO: TCP Data received {"connection_id":151033,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cee1d8012d1ac440071f9290003400762c..."} 
[2026-08-05 12:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cee1d8012d1ac440071f9290003400762c..."} 
[2026-08-05 12:56:46] local.INFO: Processing buffer {"connection_id":151033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cee1d8012d1ac440071f9290003400762c..."} 
[2026-08-05 12:56:46] local.INFO: Packet analysis {"connection_id":151033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:56:46] local.INFO: Extracted packet for processing {"connection_id":151033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119509648,"longitude_deg":75.6728896,"latitude_deg":11.9509648,"altitude":52,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d1ac440","hex_latitude":"071f9290","is_valid_coordinates":true} 
[2026-08-05 12:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194144256001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622407605747712,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939760062464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56: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-08-05 12:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785914647000,"timestamp_ms":1785914647000,"timestamp_seconds":1785914647,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cee1d8"} 
[2026-08-05 12:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 12:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194144256001,"66":12287,"101":206,"83":41984,"24":0,"16":10622407605747712,"45":1928736939760062464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194144256001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:56:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622407605747712,"km_value":10622407605747.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939760062464,"description":"Unknown IO ID 45"} 
[2026-08-05 12:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194144256001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1928736939760062464}} 
[2026-08-05 12:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":151033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:56:46] local.INFO: GPS data processed {"connection_id":151033,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:56:46] local.INFO: Acknowledgment sent {"connection_id":151033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:56:52] local.INFO: TCP Data received {"connection_id":148417,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:56:52] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:56:52] local.INFO: Packet analysis {"connection_id":148417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:56:52] local.INFO: Extracted packet for processing {"connection_id":148417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:56:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194064896001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914617000,"timestamp_ms":1785914617000,"timestamp_seconds":1785914617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce6ca8"} 
[2026-08-05 12:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194064896001,"66":25582,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194064896001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:56:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194064896001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":148417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:56:52] local.INFO: GPS data processed {"connection_id":148417,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:56:52] local.INFO: Acknowledgment sent {"connection_id":148417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:57:15] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:57:15] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:57:15] local.INFO: IMEI packet received {"connection_id":148626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":148626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:57:17] local.INFO: TCP Data received {"connection_id":151033,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cf33e0012d1ac440071f9290003400762c..."} 
[2026-08-05 12:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cf33e0012d1ac440071f9290003400762c..."} 
[2026-08-05 12:57:17] local.INFO: Processing buffer {"connection_id":151033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cf33e0012d1ac440071f9290003400762c..."} 
[2026-08-05 12:57:17] local.INFO: Packet analysis {"connection_id":151033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cf"} 
[2026-08-05 12:57:17] local.INFO: Extracted packet for processing {"connection_id":151033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cf"} 
[2026-08-05 12:57:17] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119509648,"longitude_deg":75.6728896,"latitude_deg":11.9509648,"altitude":52,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d1ac440","hex_latitude":"071f9290","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194149632001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622407605747712,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939760062464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785914668000,"timestamp_ms":1785914668000,"timestamp_seconds":1785914668,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cf33e0"} 
[2026-08-05 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-08-05 12:57: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-08-05 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 12:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194149632001,"66":13852,"101":206,"83":41984,"24":0,"16":10622407605747712,"45":1928736939760062464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194149632001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:57:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622407605747712,"km_value":10622407605747.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939760062464,"description":"Unknown IO ID 45"} 
[2026-08-05 12:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194149632001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1928736939760062464}} 
[2026-08-05 12:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":151033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:57:17] local.INFO: GPS data processed {"connection_id":151033,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:57:17] local.INFO: Acknowledgment sent {"connection_id":151033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:57:20] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:57:20] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:57:20] local.INFO: IMEI packet received {"connection_id":148626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":148626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:57:21] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:57:21] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:57:21] local.INFO: Packet analysis {"connection_id":148626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:57:21] local.INFO: Extracted packet for processing {"connection_id":148626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:57:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194064896001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914617000,"timestamp_ms":1785914617000,"timestamp_seconds":1785914617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce6ca8"} 
[2026-08-05 12:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:57: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-08-05 12: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-08-05 12: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-08-05 12: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-08-05 12:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194064896001,"66":25582,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194064896001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:57:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194064896001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":148626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:57:21] local.INFO: GPS data processed {"connection_id":148626,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:57:21] local.INFO: Acknowledgment sent {"connection_id":148626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:57:39] local.INFO: TCP Data received {"connection_id":149626,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:57:39] local.INFO: Processing buffer {"connection_id":149626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:57:39] local.INFO: IMEI packet received {"connection_id":149626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":149626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:57:45] local.INFO: TCP Data received {"connection_id":149626,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:57:45] local.INFO: Processing buffer {"connection_id":149626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:57:45] local.INFO: IMEI packet received {"connection_id":149626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":149626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:57:46] local.INFO: TCP Data received {"connection_id":149626,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cf85e8012d1ac440071f9290003400762d..."} 
[2026-08-05 12:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cf85e8012d1ac440071f9290003400762d..."} 
[2026-08-05 12:57:46] local.INFO: Processing buffer {"connection_id":149626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cf85e8012d1ac440071f9290003400762d..."} 
[2026-08-05 12:57:46] local.INFO: Packet analysis {"connection_id":149626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cf"} 
[2026-08-05 12:57:46] local.INFO: Extracted packet for processing {"connection_id":149626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cf"} 
[2026-08-05 12:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119509648,"longitude_deg":75.6728896,"latitude_deg":11.9509648,"altitude":52,"angle":118,"satellites":45,"speed":0,"hex_longitude":"2d1ac440","hex_latitude":"071f9290","is_valid_coordinates":true} 
[2026-08-05 12:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194155008001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622407605747712,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939760062464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57: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-08-05 12:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785914689000,"timestamp_ms":1785914689000,"timestamp_seconds":1785914689,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cf85e8"} 
[2026-08-05 12:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-05 12:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194155008001,"66":13928,"101":206,"83":41984,"24":0,"16":10622407605747712,"45":1928736939760062464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194155008001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:57:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622407605747712,"km_value":10622407605747.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939760062464,"description":"Unknown IO ID 45"} 
[2026-08-05 12:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194155008001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1928736939760062464}} 
[2026-08-05 12:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":149626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:57:46] local.INFO: GPS data processed {"connection_id":149626,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:57:46] local.INFO: Acknowledgment sent {"connection_id":149626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:57:52] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:57:52] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:57:52] local.INFO: Packet analysis {"connection_id":148626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:57:52] local.INFO: Extracted packet for processing {"connection_id":148626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:57:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194064896001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914617000,"timestamp_ms":1785914617000,"timestamp_seconds":1785914617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce6ca8"} 
[2026-08-05 12:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194064896001,"66":25582,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194064896001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:57:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194064896001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":148626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:57:52] local.INFO: GPS data processed {"connection_id":148626,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:57:52] local.INFO: Acknowledgment sent {"connection_id":148626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:58:15] local.INFO: TCP Data received {"connection_id":149627,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:58:15] local.INFO: Processing buffer {"connection_id":149627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:58:15] local.INFO: IMEI packet received {"connection_id":149627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":149627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:58:17] local.INFO: TCP Data received {"connection_id":149626,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cfcc38012d1ac540071f9078003400a22d..."} 
[2026-08-05 12:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cfcc38012d1ac540071f9078003400a22d..."} 
[2026-08-05 12:58:17] local.INFO: Processing buffer {"connection_id":149626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cfcc38012d1ac540071f9078003400a22d..."} 
[2026-08-05 12:58:17] local.INFO: Packet analysis {"connection_id":149626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cf"} 
[2026-08-05 12:58:17] local.INFO: Extracted packet for processing {"connection_id":149626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cf"} 
[2026-08-05 12:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119509112,"longitude_deg":75.6729152,"latitude_deg":11.9509112,"altitude":52,"angle":162,"satellites":45,"speed":5,"hex_longitude":"2d1ac540","hex_latitude":"071f9078","is_valid_coordinates":true} 
[2026-08-05 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-08-05 12:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194160384001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622437670518784,"note":"Value kept but may cause issues"} 
[2026-08-05 12:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939760062464,"note":"Value kept but may cause issues"} 
[2026-08-05 12:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785914707000,"timestamp_ms":1785914707000,"timestamp_seconds":1785914707,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cfcc38"} 
[2026-08-05 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-08-05 12:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 12:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 12:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194160384001,"66":13928,"101":206,"83":41984,"24":5,"16":10622437670518784,"45":1928736939760062464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194160384001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:58:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622437670518784,"km_value":10622437670518.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939760062464,"description":"Unknown IO ID 45"} 
[2026-08-05 12:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194160384001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1928736939760062464}} 
[2026-08-05 12:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":149626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:58:17] local.INFO: GPS data processed {"connection_id":149626,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:58:17] local.INFO: Acknowledgment sent {"connection_id":149626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:58:20] local.INFO: TCP Data received {"connection_id":149627,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:58:20] local.INFO: Processing buffer {"connection_id":149627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:58:20] local.INFO: IMEI packet received {"connection_id":149627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":149627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:58:21] local.INFO: TCP Data received {"connection_id":149627,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:58:21] local.INFO: Processing buffer {"connection_id":149627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:58:21] local.INFO: Packet analysis {"connection_id":149627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:58:21] local.INFO: Extracted packet for processing {"connection_id":149627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194064896001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914617000,"timestamp_ms":1785914617000,"timestamp_seconds":1785914617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce6ca8"} 
[2026-08-05 12:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:58: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-08-05 12: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:58: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-08-05 12:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194064896001,"66":25582,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194064896001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:58:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194064896001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":149627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:58:21] local.INFO: GPS data processed {"connection_id":149627,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:58:21] local.INFO: Acknowledgment sent {"connection_id":149627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:58:39] local.INFO: TCP Data received {"connection_id":151034,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:58:39] local.INFO: Processing buffer {"connection_id":151034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:58:39] local.INFO: IMEI packet received {"connection_id":151034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":151034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:58:45] local.INFO: TCP Data received {"connection_id":151034,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:58:45] local.INFO: Processing buffer {"connection_id":151034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:58:45] local.INFO: IMEI packet received {"connection_id":151034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":151034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:58:45] local.INFO: TCP Data received {"connection_id":151034,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cfd408012d1ac580071f8f48003400b12d..."} 
[2026-08-05 12:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cfd408012d1ac580071f8f48003400b12d..."} 
[2026-08-05 12:58:46] local.INFO: Processing buffer {"connection_id":151034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cfd408012d1ac580071f8f48003400b12d..."} 
[2026-08-05 12:58:46] local.INFO: Packet analysis {"connection_id":151034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cf"} 
[2026-08-05 12:58:46] local.INFO: Extracted packet for processing {"connection_id":151034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cf"} 
[2026-08-05 12:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756729216,"raw_latitude":119508808,"longitude_deg":75.6729216,"latitude_deg":11.9508808,"altitude":52,"angle":177,"satellites":45,"speed":5,"hex_longitude":"2d1ac580","hex_latitude":"071f8f48","is_valid_coordinates":true} 
[2026-08-05 12: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-08-05 12:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194164992001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622454850387968,"note":"Value kept but may cause issues"} 
[2026-08-05 12:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736635904,"note":"Value kept but may cause issues"} 
[2026-08-05 12: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-08-05 12:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785914709000,"timestamp_ms":1785914709000,"timestamp_seconds":1785914709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cfd408"} 
[2026-08-05 12:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 12:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12: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-08-05 12:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194164992001,"66":14157,"101":206,"83":41984,"24":5,"16":10622454850387968,"45":1929018414736635904},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194164992001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:58:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622454850387968,"km_value":10622454850387.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736635904,"description":"Unknown IO ID 45"} 
[2026-08-05 12:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194164992001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1929018414736635904}} 
[2026-08-05 12:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":151034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:58:46] local.INFO: GPS data processed {"connection_id":151034,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:58:46] local.INFO: Acknowledgment sent {"connection_id":151034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:58:52] local.INFO: TCP Data received {"connection_id":149627,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:58:52] local.INFO: Processing buffer {"connection_id":149627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ce6ca8012d7f92c005afd9e8000000e928..."} 
[2026-08-05 12:58:52] local.INFO: Packet analysis {"connection_id":149627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:58:52] local.INFO: Extracted packet for processing {"connection_id":149627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ce"} 
[2026-08-05 12:58:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194064896001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914617000,"timestamp_ms":1785914617000,"timestamp_seconds":1785914617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ce6ca8"} 
[2026-08-05 12:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 12:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194064896001,"66":25582,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194064896001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:58:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:58:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194064896001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":149627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:58:52] local.INFO: GPS data processed {"connection_id":149627,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:58:52] local.INFO: Acknowledgment sent {"connection_id":149627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:59:20] local.INFO: TCP Data received {"connection_id":148627,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:59:20] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:59:20] local.INFO: IMEI packet received {"connection_id":148627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 12:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":148627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:59:24] local.INFO: TCP Data received {"connection_id":151034,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0cfef60012d1ac540071f8a10003500bf2d..."} 
[2026-08-05 12:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0cfef60012d1ac540071f8a10003500bf2d..."} 
[2026-08-05 12:59:24] local.INFO: Processing buffer {"connection_id":151034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0cfef60012d1ac540071f8a10003500bf2d..."} 
[2026-08-05 12:59:24] local.INFO: Packet analysis {"connection_id":151034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0cf"} 
[2026-08-05 12:59:24] local.INFO: Extracted packet for processing {"connection_id":151034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0cf"} 
[2026-08-05 12:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119507472,"longitude_deg":75.6729152,"latitude_deg":11.9507472,"altitude":53,"angle":191,"satellites":45,"speed":9,"hex_longitude":"2d1ac540","hex_latitude":"071f8a10","is_valid_coordinates":true} 
[2026-08-05 12:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194165504001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622519274897408,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929088783480735744,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785914716000,"timestamp_ms":1785914716000,"timestamp_seconds":1785914716,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0cfef60"} 
[2026-08-05 12:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-05 12:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194165504001,"66":14265,"101":206,"83":41984,"24":9,"16":10622519274897408,"45":1929088783480735744},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194165504001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:59:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:59:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622519274897408,"km_value":10622519274897.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929088783480735744,"description":"Unknown IO ID 45"} 
[2026-08-05 12:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194165504001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1929088783480735744}} 
[2026-08-05 12:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":151034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:59:24] local.INFO: GPS data processed {"connection_id":151034,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:59:24] local.INFO: Acknowledgment sent {"connection_id":151034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:59:25] local.INFO: TCP Data received {"connection_id":148627,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:59:25] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 12:59:25] local.INFO: IMEI packet received {"connection_id":148627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 12:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":148627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:59:26] local.INFO: TCP Data received {"connection_id":148627,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 12:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 12:59:26] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 12:59:26] local.INFO: Packet analysis {"connection_id":148627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 12:59:26] local.INFO: Extracted packet for processing {"connection_id":148627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 12:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194141952001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785914918000,"timestamp_ms":1785914918000,"timestamp_seconds":1785914918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d30470"} 
[2026-08-05 12:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 12:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194141952001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194141952001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:59:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194141952001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":148627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:59:26] local.INFO: GPS data processed {"connection_id":148627,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:59:26] local.INFO: Acknowledgment sent {"connection_id":148627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:59:39] local.INFO: TCP Data received {"connection_id":151035,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:59:39] local.INFO: Processing buffer {"connection_id":151035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:59:39] local.INFO: IMEI packet received {"connection_id":151035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 12:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":151035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 12:59:45] local.INFO: TCP Data received {"connection_id":151035,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:59:45] local.INFO: Processing buffer {"connection_id":151035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 12:59:45] local.INFO: IMEI packet received {"connection_id":151035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 12:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":151035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 12:59:46] local.INFO: TCP Data received {"connection_id":151035,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d2b650012d1ac880071f85b80034005b2c..."} 
[2026-08-05 12:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d2b650012d1ac880071f85b80034005b2c..."} 
[2026-08-05 12:59:46] local.INFO: Processing buffer {"connection_id":151035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d2b650012d1ac880071f85b80034005b2c..."} 
[2026-08-05 12:59:46] local.INFO: Packet analysis {"connection_id":151035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d2"} 
[2026-08-05 12:59:46] local.INFO: Extracted packet for processing {"connection_id":151035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d2"} 
[2026-08-05 12:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756729984,"raw_latitude":119506360,"longitude_deg":75.6729984,"latitude_deg":11.950636,"altitude":52,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d1ac880","hex_latitude":"071f85b8","is_valid_coordinates":true} 
[2026-08-05 12:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194208512001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622626649079808,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929933208410241024,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59: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-08-05 12:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785914898000,"timestamp_ms":1785914898000,"timestamp_seconds":1785914898,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d2b650"} 
[2026-08-05 12:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 12:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3503323160,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250128059400947072,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3508283393,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2243428404,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 12:59:46] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":536947994,"corrected_to":0} 
[2026-08-05 12:59:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2147950469,"corrected_to":0} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718584,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3174629376,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":3,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,189,159,18,45,128,133,52,10,66,192,110,1,240,123,227,208,31,4,113,205,202,200,184,44,239,49,2,37,7,3,120,76,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":202,"original":536947994,"validated":0},{"io_id":200,"original":2147950469,"validated":0}]} 
[2026-08-05 12:59:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747095121624039424,"timestamp_seconds":3747095121624039.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 12:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 12:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 12:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 12:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194208512001,"66":11863,"101":206,"83":41984,"24":0,"16":10622626649079808,"45":1929933208410241024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 12:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 12:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 12:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194208512001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:59:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 12:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 12:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622626649079808,"km_value":10622626649079.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929933208410241024,"description":"Unknown IO ID 45"} 
[2026-08-05 12:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194208512001,"power":11863,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1929933208410241024}} 
[2026-08-05 12:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":151035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:59:46] local.INFO: GPS data processed {"connection_id":151035,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:59:46] local.INFO: Acknowledgment sent {"connection_id":151035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 12:59:57] local.INFO: TCP Data received {"connection_id":148627,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 12:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 12:59:57] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 12:59:57] local.INFO: Packet analysis {"connection_id":148627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 12:59:57] local.INFO: Extracted packet for processing {"connection_id":148627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 12:59:57] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 12:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 12:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194141952001,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 12:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 12:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785914918000,"timestamp_ms":1785914918000,"timestamp_seconds":1785914918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d30470"} 
[2026-08-05 12:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 12:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 12:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 12:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 12:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 12:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 12:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 12:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 12:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 12:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 12:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 12:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 12:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194141952001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 12:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 12:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 12:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194141952001,"description":"Unknown IO ID 0"} 
[2026-08-05 12:59:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 12:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 12:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 12:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 12:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194141952001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 12:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":148627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 12:59:57] local.INFO: GPS data processed {"connection_id":148627,"processed":1,"errors":0,"total":1} 
[2026-08-05 12:59:57] local.INFO: Acknowledgment sent {"connection_id":148627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:00:15] local.INFO: TCP Data received {"connection_id":148418,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:00:15] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:00:15] local.INFO: IMEI packet received {"connection_id":148418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":148418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:00:17] local.INFO: TCP Data received {"connection_id":151035,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d30858012d1ac880071f85b80034005b2b..."} 
[2026-08-05 13:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d30858012d1ac880071f85b80034005b2b..."} 
[2026-08-05 13:00:17] local.INFO: Processing buffer {"connection_id":151035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d30858012d1ac880071f85b80034005b2b..."} 
[2026-08-05 13:00:17] local.INFO: Packet analysis {"connection_id":151035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:00:17] local.INFO: Extracted packet for processing {"connection_id":151035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756729984,"raw_latitude":119506360,"longitude_deg":75.6729984,"latitude_deg":11.950636,"altitude":52,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d1ac880","hex_latitude":"071f85b8","is_valid_coordinates":true} 
[2026-08-05 13:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194213888001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622626649079808,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929933208410241024,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785914919000,"timestamp_ms":1785914919000,"timestamp_seconds":1785914919,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d30858"} 
[2026-08-05 13:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:00: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-08-05 13: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":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-05 13:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194213888001,"66":13993,"101":206,"83":41984,"24":0,"16":10622626649079808,"45":1929933208410241024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194213888001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:00:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622626649079808,"km_value":10622626649079.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929933208410241024,"description":"Unknown IO ID 45"} 
[2026-08-05 13:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194213888001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1929933208410241024}} 
[2026-08-05 13:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":151035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:00:17] local.INFO: GPS data processed {"connection_id":151035,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:00:17] local.INFO: Acknowledgment sent {"connection_id":151035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:00:20] local.INFO: TCP Data received {"connection_id":148418,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:00:20] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:00:20] local.INFO: IMEI packet received {"connection_id":148418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":148418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:00:22] local.INFO: TCP Data received {"connection_id":148418,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:00:22] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:00:22] local.INFO: Packet analysis {"connection_id":148418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:00:22] local.INFO: Extracted packet for processing {"connection_id":148418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:00:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194141952001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785914918000,"timestamp_ms":1785914918000,"timestamp_seconds":1785914918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d30470"} 
[2026-08-05 13:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13: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":238,"data_length":795,"current_offset":136} 
[2026-08-05 13:00: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-08-05 13:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194141952001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194141952001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:00:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:00:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194141952001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":148418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:00:22] local.INFO: GPS data processed {"connection_id":148418,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:00:22] local.INFO: Acknowledgment sent {"connection_id":148418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:00:45] local.INFO: TCP Data received {"connection_id":151036,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:00:45] local.INFO: Processing buffer {"connection_id":151036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:00:45] local.INFO: IMEI packet received {"connection_id":151036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":151036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:00:50] local.INFO: TCP Data received {"connection_id":151036,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:00:50] local.INFO: Processing buffer {"connection_id":151036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:00:50] local.INFO: IMEI packet received {"connection_id":151036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":151036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:00:51] local.INFO: TCP Data received {"connection_id":151036,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d35a60012d1ac880071f85b80034005b2b..."} 
[2026-08-05 13:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d35a60012d1ac880071f85b80034005b2b..."} 
[2026-08-05 13:00:51] local.INFO: Processing buffer {"connection_id":151036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d35a60012d1ac880071f85b80034005b2b..."} 
[2026-08-05 13:00:51] local.INFO: Packet analysis {"connection_id":151036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:00:51] local.INFO: Extracted packet for processing {"connection_id":151036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756729984,"raw_latitude":119506360,"longitude_deg":75.6729984,"latitude_deg":11.950636,"altitude":52,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d1ac880","hex_latitude":"071f85b8","is_valid_coordinates":true} 
[2026-08-05 13:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219264001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622626649079808,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929933208410241024,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785914940000,"timestamp_ms":1785914940000,"timestamp_seconds":1785914940,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d35a60"} 
[2026-08-05 13:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 13:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219264001,"66":14211,"101":206,"83":41984,"24":0,"16":10622626649079808,"45":1929933208410241024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219264001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:00:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622626649079808,"km_value":10622626649079.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929933208410241024,"description":"Unknown IO ID 45"} 
[2026-08-05 13:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219264001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1929933208410241024}} 
[2026-08-05 13:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":151036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:00:51] local.INFO: GPS data processed {"connection_id":151036,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:00:51] local.INFO: Acknowledgment sent {"connection_id":151036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:00:53] local.INFO: TCP Data received {"connection_id":148418,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:00:53] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:00:53] local.INFO: Packet analysis {"connection_id":148418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:00:53] local.INFO: Extracted packet for processing {"connection_id":148418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:00:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194141952001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785914918000,"timestamp_ms":1785914918000,"timestamp_seconds":1785914918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d30470"} 
[2026-08-05 13:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 13:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194141952001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194141952001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:00:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:00:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194141952001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":148418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:00:53] local.INFO: GPS data processed {"connection_id":148418,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:00:53] local.INFO: Acknowledgment sent {"connection_id":148418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:00:55] local.INFO: TCP Data received {"connection_id":151036,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d38558012d1ac900071f85580034006e2b..."} 
[2026-08-05 13:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d38558012d1ac900071f85580034006e2b..."} 
[2026-08-05 13:00:55] local.INFO: Processing buffer {"connection_id":151036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d38558012d1ac900071f85580034006e2b..."} 
[2026-08-05 13:00:55] local.INFO: Packet analysis {"connection_id":151036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:00:55] local.INFO: Extracted packet for processing {"connection_id":151036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756730112,"raw_latitude":119506264,"longitude_deg":75.6730112,"latitude_deg":11.9506264,"altitude":52,"angle":110,"satellites":43,"speed":1,"hex_longitude":"2d1ac900","hex_latitude":"071f8558","is_valid_coordinates":true} 
[2026-08-05 13:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194224640001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622635239014400,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929933208410241024,"note":"Value kept but may cause issues"} 
[2026-08-05 13:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785914951000,"timestamp_ms":1785914951000,"timestamp_seconds":1785914951,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d38558"} 
[2026-08-05 13:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:00: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-08-05 13: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 13:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194224640001,"66":14254,"101":206,"83":41984,"24":1,"16":10622635239014400,"45":1929933208410241024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194224640001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:00:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622635239014400,"km_value":10622635239014.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929933208410241024,"description":"Unknown IO ID 45"} 
[2026-08-05 13:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194224640001,"power":14254,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1929933208410241024}} 
[2026-08-05 13:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":151036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:00:55] local.INFO: GPS data processed {"connection_id":151036,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:00:55] local.INFO: Acknowledgment sent {"connection_id":151036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:01:15] local.INFO: TCP Data received {"connection_id":148419,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:01:15] local.INFO: Processing buffer {"connection_id":148419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:01:15] local.INFO: IMEI packet received {"connection_id":148419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":148419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:01:20] local.INFO: TCP Data received {"connection_id":148419,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:01:20] local.INFO: Processing buffer {"connection_id":148419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:01:20] local.INFO: IMEI packet received {"connection_id":148419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":148419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:01:21] local.INFO: TCP Data received {"connection_id":148419,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:01:21] local.INFO: Processing buffer {"connection_id":148419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:01:21] local.INFO: Packet analysis {"connection_id":148419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:01:21] local.INFO: Extracted packet for processing {"connection_id":148419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194141952001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914918000,"timestamp_ms":1785914918000,"timestamp_seconds":1785914918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d30470"} 
[2026-08-05 13:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:01: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-08-05 13:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 13:01: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-08-05 13:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194141952001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194141952001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:01:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194141952001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":148419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:01:21] local.INFO: GPS data processed {"connection_id":148419,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:01:21] local.INFO: Acknowledgment sent {"connection_id":148419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:01:40] local.INFO: TCP Data received {"connection_id":148628,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:01:40] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:01:40] local.INFO: IMEI packet received {"connection_id":148628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":148628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:01:41] local.INFO: TCP Data received {"connection_id":148628,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:01:41] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:01:41] local.INFO: IMEI packet received {"connection_id":148628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":148628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:01:45] local.INFO: TCP Data received {"connection_id":148628,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:01:45] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:01:45] local.INFO: IMEI packet received {"connection_id":148628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":148628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:01:46] local.INFO: TCP Data received {"connection_id":148628,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d39110012d1aca80071f8518003400612b..."} 
[2026-08-05 13:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d39110012d1aca80071f8518003400612b..."} 
[2026-08-05 13:01:46] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d39110012d1aca80071f8518003400612b..."} 
[2026-08-05 13:01:46] local.INFO: Packet analysis {"connection_id":148628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:01:46] local.INFO: Extracted packet for processing {"connection_id":148628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756730496,"raw_latitude":119506200,"longitude_deg":75.6730496,"latitude_deg":11.95062,"altitude":52,"angle":97,"satellites":43,"speed":9,"hex_longitude":"2d1aca80","hex_latitude":"071f8518","is_valid_coordinates":true} 
[2026-08-05 13:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194227456001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622652418883584,"note":"Value kept but may cause issues"} 
[2026-08-05 13:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930073945898571776,"note":"Value kept but may cause issues"} 
[2026-08-05 13:01: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-08-05 13:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785914954000,"timestamp_ms":1785914954000,"timestamp_seconds":1785914954,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d39110"} 
[2026-08-05 13:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-05 13:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194227456001,"66":13428,"101":206,"83":41984,"24":9,"16":10622652418883584,"45":1930073945898571776},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194227456001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:01:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622652418883584,"km_value":10622652418883.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930073945898571776,"description":"Unknown IO ID 45"} 
[2026-08-05 13:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194227456001,"power":13428,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1930073945898571776}} 
[2026-08-05 13:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":148628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:01:46] local.INFO: GPS data processed {"connection_id":148628,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:01:46] local.INFO: Acknowledgment sent {"connection_id":148628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:01:52] local.INFO: TCP Data received {"connection_id":148419,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:01:52] local.INFO: Processing buffer {"connection_id":148419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:01:52] local.INFO: Packet analysis {"connection_id":148419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:01:52] local.INFO: Extracted packet for processing {"connection_id":148419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:01:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194141952001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914918000,"timestamp_ms":1785914918000,"timestamp_seconds":1785914918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d30470"} 
[2026-08-05 13:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 13:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194141952001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194141952001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:01:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194141952001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":148419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:01:52] local.INFO: GPS data processed {"connection_id":148419,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:01:52] local.INFO: Acknowledgment sent {"connection_id":148419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:02:17] local.INFO: TCP Data received {"connection_id":148628,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d3a880012d1ad400071f8520003500502b..."} 
[2026-08-05 13:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d3a880012d1ad400071f8520003500502b..."} 
[2026-08-05 13:02:17] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d3a880012d1ad400071f8520003500502b..."} 
[2026-08-05 13:02:17] local.INFO: Packet analysis {"connection_id":148628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:02:17] local.INFO: Extracted packet for processing {"connection_id":148628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756732928,"raw_latitude":119506208,"longitude_deg":75.6732928,"latitude_deg":11.9506208,"altitude":53,"angle":80,"satellites":43,"speed":19,"hex_longitude":"2d1ad400","hex_latitude":"071f8520","is_valid_coordinates":true} 
[2026-08-05 13:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194228224001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622768383000576,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930496158363621376,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785914960000,"timestamp_ms":1785914960000,"timestamp_seconds":1785914960,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d3a880"} 
[2026-08-05 13:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:02: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-08-05 13: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-05 13:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194228224001,"66":14265,"101":206,"83":41984,"24":19,"16":10622768383000576,"45":1930496158363621376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194228224001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:02:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622768383000576,"km_value":10622768383000.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930496158363621376,"description":"Unknown IO ID 45"} 
[2026-08-05 13:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194228224001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1930496158363621376}} 
[2026-08-05 13:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":148628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:02:17] local.INFO: GPS data processed {"connection_id":148628,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:02:17] local.INFO: Acknowledgment sent {"connection_id":148628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:02:20] local.INFO: TCP Data received {"connection_id":148629,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:02:20] local.INFO: Processing buffer {"connection_id":148629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:02:20] local.INFO: IMEI packet received {"connection_id":148629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":148629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:02:25] local.INFO: TCP Data received {"connection_id":148629,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:02:25] local.INFO: Processing buffer {"connection_id":148629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:02:25] local.INFO: IMEI packet received {"connection_id":148629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":148629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:02:26] local.INFO: TCP Data received {"connection_id":148629,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:02:26] local.INFO: Processing buffer {"connection_id":148629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:02:26] local.INFO: Packet analysis {"connection_id":148629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:02:26] local.INFO: Extracted packet for processing {"connection_id":148629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:02:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194141952001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785914918000,"timestamp_ms":1785914918000,"timestamp_seconds":1785914918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d30470"} 
[2026-08-05 13:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 13:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194141952001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194141952001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:02:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194141952001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":148629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:02:26] local.INFO: GPS data processed {"connection_id":148629,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:02:26] local.INFO: Acknowledgment sent {"connection_id":148629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:02:31] local.INFO: TCP Data received {"connection_id":148629,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:02:31] local.INFO: Processing buffer {"connection_id":148629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:02:31] local.INFO: Packet analysis {"connection_id":148629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:02:31] local.INFO: Extracted packet for processing {"connection_id":148629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194141952001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785914918000,"timestamp_ms":1785914918000,"timestamp_seconds":1785914918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d30470"} 
[2026-08-05 13:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 13:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194141952001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194141952001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:02:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194141952001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":148629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:02:31] local.INFO: GPS data processed {"connection_id":148629,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:02:31] local.INFO: Acknowledgment sent {"connection_id":148629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:02:40] local.INFO: TCP Data received {"connection_id":149628,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:02:40] local.INFO: Processing buffer {"connection_id":149628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:02:40] local.INFO: IMEI packet received {"connection_id":149628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":149628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:02:44] local.INFO: TCP Data received {"connection_id":149628,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:02:44] local.INFO: Processing buffer {"connection_id":149628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:02:44] local.INFO: IMEI packet received {"connection_id":149628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":149628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:02:45] local.INFO: TCP Data received {"connection_id":149628,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d3bc08012d1ade40071f86100036005b2b..."} 
[2026-08-05 13:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d3bc08012d1ade40071f86100036005b2b..."} 
[2026-08-05 13:02:45] local.INFO: Processing buffer {"connection_id":149628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d3bc08012d1ade40071f86100036005b2b..."} 
[2026-08-05 13:02:45] local.INFO: Packet analysis {"connection_id":149628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:02:45] local.INFO: Extracted packet for processing {"connection_id":149628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756735552,"raw_latitude":119506448,"longitude_deg":75.6735552,"latitude_deg":11.9506448,"altitude":54,"angle":91,"satellites":43,"speed":20,"hex_longitude":"2d1ade40","hex_latitude":"071f8610","is_valid_coordinates":true} 
[2026-08-05 13:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194229760001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10622892937052160,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933170170642374656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:02: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-08-05 13:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785914965000,"timestamp_ms":1785914965000,"timestamp_seconds":1785914965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d3bc08"} 
[2026-08-05 13:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 13:02: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-08-05 13:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194229760001,"66":14363,"101":206,"83":41984,"24":20,"16":10622892937052160,"45":1933170170642374656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194229760001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:02:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10622892937052160,"km_value":10622892937052.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933170170642374656,"description":"Unknown IO ID 45"} 
[2026-08-05 13:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194229760001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1933170170642374656}} 
[2026-08-05 13:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":149628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:02:45] local.INFO: GPS data processed {"connection_id":149628,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:02:45] local.INFO: Acknowledgment sent {"connection_id":149628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:03:15] local.INFO: TCP Data received {"connection_id":151037,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:03:15] local.INFO: Processing buffer {"connection_id":151037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:03:15] local.INFO: IMEI packet received {"connection_id":151037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":151037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:03:16] local.INFO: TCP Data received {"connection_id":149628,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d3e318012d1ae980071f85f00038004c2a..."} 
[2026-08-05 13:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d3e318012d1ae980071f85f00038004c2a..."} 
[2026-08-05 13:03:16] local.INFO: Processing buffer {"connection_id":149628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d3e318012d1ae980071f85f00038004c2a..."} 
[2026-08-05 13:03:16] local.INFO: Packet analysis {"connection_id":149628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:03:16] local.INFO: Extracted packet for processing {"connection_id":149628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756738432,"raw_latitude":119506416,"longitude_deg":75.6738432,"latitude_deg":11.9506416,"altitude":56,"angle":76,"satellites":42,"speed":9,"hex_longitude":"2d1ae980","hex_latitude":"071f85f0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194231040001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10623030376005632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936055289153720320,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785914975000,"timestamp_ms":1785914975000,"timestamp_seconds":1785914975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d3e318"} 
[2026-08-05 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-08-05 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 13:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 13:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194231040001,"66":13037,"101":206,"83":41984,"24":9,"16":10623030376005632,"45":1936055289153720320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194231040001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:03:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10623030376005632,"km_value":10623030376005.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936055289153720320,"description":"Unknown IO ID 45"} 
[2026-08-05 13:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194231040001,"power":13037,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1936055289153720320}} 
[2026-08-05 13:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":149628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:03:16] local.INFO: GPS data processed {"connection_id":149628,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:03:16] local.INFO: Acknowledgment sent {"connection_id":149628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:03:20] local.INFO: TCP Data received {"connection_id":151037,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:03:20] local.INFO: Processing buffer {"connection_id":151037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:03:20] local.INFO: IMEI packet received {"connection_id":151037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":151037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:03:21] local.INFO: TCP Data received {"connection_id":151037,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:03:21] local.INFO: Processing buffer {"connection_id":151037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:03:21] local.INFO: Packet analysis {"connection_id":151037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:03:21] local.INFO: Extracted packet for processing {"connection_id":151037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:03:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194141952001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785914918000,"timestamp_ms":1785914918000,"timestamp_seconds":1785914918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d30470"} 
[2026-08-05 13:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:03: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-08-05 13:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 13:03: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-08-05 13:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194141952001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194141952001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:03:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:03:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194141952001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":151037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:03:21] local.INFO: GPS data processed {"connection_id":151037,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:03:21] local.INFO: Acknowledgment sent {"connection_id":151037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:03:41] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:03:41] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:03:41] local.INFO: IMEI packet received {"connection_id":148420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":148420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:03:45] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:03:45] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:03:45] local.INFO: IMEI packet received {"connection_id":148420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":148420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:03:46] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d411f8012d1afbc0071f8c50003d00602a..."} 
[2026-08-05 13:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d411f8012d1afbc0071f8c50003d00602a..."} 
[2026-08-05 13:03:46] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d411f8012d1afbc0071f8c50003d00602a..."} 
[2026-08-05 13:03:46] local.INFO: Packet analysis {"connection_id":148420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d4"} 
[2026-08-05 13:03:46] local.INFO: Extracted packet for processing {"connection_id":148420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d4"} 
[2026-08-05 13:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756743104,"raw_latitude":119508048,"longitude_deg":75.6743104,"latitude_deg":11.9508048,"altitude":61,"angle":96,"satellites":42,"speed":18,"hex_longitude":"2d1afbc0","hex_latitude":"071f8c50","is_valid_coordinates":true} 
[2026-08-05 13:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194233600001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10623266599206912,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939221882641707008,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03: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-08-05 13:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785914987000,"timestamp_ms":1785914987000,"timestamp_seconds":1785914987,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d411f8"} 
[2026-08-05 13:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-05 13:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194233600001,"66":12928,"101":206,"83":41984,"24":18,"16":10623266599206912,"45":1939221882641707008},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194233600001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:03:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10623266599206912,"km_value":10623266599206.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939221882641707008,"description":"Unknown IO ID 45"} 
[2026-08-05 13:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194233600001,"power":12928,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1939221882641707008}} 
[2026-08-05 13:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":148420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:03:46] local.INFO: GPS data processed {"connection_id":148420,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:03:46] local.INFO: Acknowledgment sent {"connection_id":148420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:03:52] local.INFO: TCP Data received {"connection_id":151037,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:03:52] local.INFO: Processing buffer {"connection_id":151037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d30470012d7f92c005afd9e8000000e92b..."} 
[2026-08-05 13:03:52] local.INFO: Packet analysis {"connection_id":151037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:03:52] local.INFO: Extracted packet for processing {"connection_id":151037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d3"} 
[2026-08-05 13:03:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194141952001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785914918000,"timestamp_ms":1785914918000,"timestamp_seconds":1785914918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d30470"} 
[2026-08-05 13:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 13:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194141952001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194141952001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:03:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194141952001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":151037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:03:52] local.INFO: GPS data processed {"connection_id":151037,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:03:52] local.INFO: Acknowledgment sent {"connection_id":151037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:04:15] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:04:15] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:04:15] local.INFO: IMEI packet received {"connection_id":148630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":148630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:04:17] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:04:17] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:04:17] local.INFO: IMEI packet received {"connection_id":148630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":148630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:04:17] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d415e0012d1afd40071f8be0003e00702a..."} 
[2026-08-05 13:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d415e0012d1afd40071f8be0003e00702a..."} 
[2026-08-05 13:04:17] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d415e0012d1afd40071f8be0003e00702a..."} 
[2026-08-05 13:04:17] local.INFO: Packet analysis {"connection_id":148420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d4"} 
[2026-08-05 13:04:17] local.INFO: Extracted packet for processing {"connection_id":148420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d4"} 
[2026-08-05 13:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756743488,"raw_latitude":119507936,"longitude_deg":75.6743488,"latitude_deg":11.9507936,"altitude":62,"angle":112,"satellites":42,"speed":17,"hex_longitude":"2d1afd40","hex_latitude":"071f8be0","is_valid_coordinates":true} 
[2026-08-05 13:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194236672001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10623283779076096,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944358800967094272,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785914988000,"timestamp_ms":1785914988000,"timestamp_seconds":1785914988,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d415e0"} 
[2026-08-05 13:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:04: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-08-05 13: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-05 13:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194236672001,"66":12928,"101":206,"83":41984,"24":17,"16":10623283779076096,"45":1944358800967094272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194236672001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:04:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10623283779076096,"km_value":10623283779076.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944358800967094272,"description":"Unknown IO ID 45"} 
[2026-08-05 13:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194236672001,"power":12928,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1944358800967094272}} 
[2026-08-05 13:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":148420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:04:17] local.INFO: GPS data processed {"connection_id":148420,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:04:17] local.INFO: Acknowledgment sent {"connection_id":148420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:04:20] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:04:20] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:04:20] local.INFO: IMEI packet received {"connection_id":148630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":148630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:04:24] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:04:24] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:04:24] local.INFO: Packet analysis {"connection_id":148630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:04:24] local.INFO: Extracted packet for processing {"connection_id":148630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785915219000,"timestamp_ms":1785915219000,"timestamp_seconds":1785915219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d79c38"} 
[2026-08-05 13:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219008001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:04:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:04:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219008001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":148630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:04:24] local.INFO: GPS data processed {"connection_id":148630,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:04:24] local.INFO: Acknowledgment sent {"connection_id":148630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:04:29] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:04:29] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:04:29] local.INFO: Packet analysis {"connection_id":148630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:04:29] local.INFO: Extracted packet for processing {"connection_id":148630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785915219000,"timestamp_ms":1785915219000,"timestamp_seconds":1785915219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d79c38"} 
[2026-08-05 13:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219008001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:04:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219008001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":148630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:04:29] local.INFO: GPS data processed {"connection_id":148630,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:04:29] local.INFO: Acknowledgment sent {"connection_id":148630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:04:39] local.INFO: TCP Data received {"connection_id":148421,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:04:39] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:04:39] local.INFO: IMEI packet received {"connection_id":148421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":148421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:04:45] local.INFO: TCP Data received {"connection_id":148421,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:04:45] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:04:45] local.INFO: IMEI packet received {"connection_id":148421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":148421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:04:45] local.INFO: TCP Data received {"connection_id":148421,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d444c0012d1b0dc0071f83a0003b007e2c..."} 
[2026-08-05 13:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d444c0012d1b0dc0071f83a0003b007e2c..."} 
[2026-08-05 13:04:45] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d444c0012d1b0dc0071f83a0003b007e2c..."} 
[2026-08-05 13:04:45] local.INFO: Packet analysis {"connection_id":148421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d4"} 
[2026-08-05 13:04:45] local.INFO: Extracted packet for processing {"connection_id":148421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d4"} 
[2026-08-05 13:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756747712,"raw_latitude":119505824,"longitude_deg":75.6747712,"latitude_deg":11.9505824,"altitude":59,"angle":126,"satellites":44,"speed":8,"hex_longitude":"2d1b0dc0","hex_latitude":"071f83a0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194236928001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10623511412342784,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944781013432131584,"note":"Value kept but may cause issues"} 
[2026-08-05 13:04: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-08-05 13:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785915000000,"timestamp_ms":1785915000000,"timestamp_seconds":1785915000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d444c0"} 
[2026-08-05 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-08-05 13:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-05 13:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 13:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194236928001,"66":12743,"101":206,"83":41984,"24":8,"16":10623511412342784,"45":1944781013432131584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194236928001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:04:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10623511412342784,"km_value":10623511412342.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944781013432131584,"description":"Unknown IO ID 45"} 
[2026-08-05 13:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194236928001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1944781013432131584}} 
[2026-08-05 13:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":148421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:04:46] local.INFO: GPS data processed {"connection_id":148421,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:04:46] local.INFO: Acknowledgment sent {"connection_id":148421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:05:04] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:05:04] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:05:04] local.INFO: Packet analysis {"connection_id":148630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:05:04] local.INFO: Extracted packet for processing {"connection_id":148630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785915219000,"timestamp_ms":1785915219000,"timestamp_seconds":1785915219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d79c38"} 
[2026-08-05 13:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219008001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:05:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219008001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":148630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:05:04] local.INFO: GPS data processed {"connection_id":148630,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:05:04] local.INFO: Acknowledgment sent {"connection_id":148630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:05:15] local.INFO: TCP Data received {"connection_id":151038,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:05:15] local.INFO: Processing buffer {"connection_id":151038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:05:15] local.INFO: IMEI packet received {"connection_id":151038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":151038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:05:17] local.INFO: TCP Data received {"connection_id":148421,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d7cb18012d1b0e40071f8428003a00892c..."} 
[2026-08-05 13:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d7cb18012d1b0e40071f8428003a00892c..."} 
[2026-08-05 13:05:17] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d7cb18012d1b0e40071f8428003a00892c..."} 
[2026-08-05 13:05:17] local.INFO: Packet analysis {"connection_id":148421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:05:17] local.INFO: Extracted packet for processing {"connection_id":148421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756747840,"raw_latitude":119505960,"longitude_deg":75.674784,"latitude_deg":11.950596,"altitude":58,"angle":137,"satellites":44,"speed":0,"hex_longitude":"2d1b0e40","hex_latitude":"071f8428","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194293760001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10623550067048448,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949566088035706880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785915231000,"timestamp_ms":1785915231000,"timestamp_seconds":1785915231,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d7cb18"} 
[2026-08-05 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-08-05 13:05: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-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 13:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 13:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194293760001,"66":12113,"101":206,"83":41984,"24":0,"16":10623550067048448,"45":1949566088035706880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194293760001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:05:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10623550067048448,"km_value":10623550067048.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949566088035706880,"description":"Unknown IO ID 45"} 
[2026-08-05 13:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194293760001,"power":12113,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1949566088035706880}} 
[2026-08-05 13:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":148421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:05:17] local.INFO: GPS data processed {"connection_id":148421,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:05:17] local.INFO: Acknowledgment sent {"connection_id":148421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:05:20] local.INFO: TCP Data received {"connection_id":151038,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:05:20] local.INFO: Processing buffer {"connection_id":151038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:05:20] local.INFO: IMEI packet received {"connection_id":151038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":151038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:05:21] local.INFO: TCP Data received {"connection_id":151038,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:05:21] local.INFO: Processing buffer {"connection_id":151038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:05:21] local.INFO: Packet analysis {"connection_id":151038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:05:21] local.INFO: Extracted packet for processing {"connection_id":151038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:05:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785915219000,"timestamp_ms":1785915219000,"timestamp_seconds":1785915219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d79c38"} 
[2026-08-05 13:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:05: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-08-05 13: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:05: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-08-05 13: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-08-05 13:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219008001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:05:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219008001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":151038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:05:21] local.INFO: GPS data processed {"connection_id":151038,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:05:21] local.INFO: Acknowledgment sent {"connection_id":151038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:05:39] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:05:39] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:05:39] local.INFO: IMEI packet received {"connection_id":148631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":148631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:05:47] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:05:47] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:05:47] local.INFO: IMEI packet received {"connection_id":148631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":148631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:05:48] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d81d20012d1b0e40071f8428003a00892b..."} 
[2026-08-05 13:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d81d20012d1b0e40071f8428003a00892b..."} 
[2026-08-05 13:05:48] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d81d20012d1b0e40071f8428003a00892b..."} 
[2026-08-05 13:05:48] local.INFO: Packet analysis {"connection_id":148631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d8"} 
[2026-08-05 13:05:48] local.INFO: Extracted packet for processing {"connection_id":148631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d8"} 
[2026-08-05 13:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756747840,"raw_latitude":119505960,"longitude_deg":75.674784,"latitude_deg":11.950596,"altitude":58,"angle":137,"satellites":43,"speed":0,"hex_longitude":"2d1b0e40","hex_latitude":"071f8428","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194299136001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10623550067048448,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949566088035706880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785915252000,"timestamp_ms":1785915252000,"timestamp_seconds":1785915252,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d81d20"} 
[2026-08-05 13:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-05 13:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194299136001,"66":11874,"101":206,"83":41984,"24":0,"16":10623550067048448,"45":1949566088035706880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194299136001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:05:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:05:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10623550067048448,"km_value":10623550067048.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949566088035706880,"description":"Unknown IO ID 45"} 
[2026-08-05 13:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194299136001,"power":11874,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1949566088035706880}} 
[2026-08-05 13:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":148631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:05:48] local.INFO: GPS data processed {"connection_id":148631,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:05:48] local.INFO: Acknowledgment sent {"connection_id":148631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:05:52] local.INFO: TCP Data received {"connection_id":151038,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:05:52] local.INFO: Processing buffer {"connection_id":151038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:05:52] local.INFO: Packet analysis {"connection_id":151038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:05:52] local.INFO: Extracted packet for processing {"connection_id":151038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:05:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785915219000,"timestamp_ms":1785915219000,"timestamp_seconds":1785915219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d79c38"} 
[2026-08-05 13:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219008001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:05:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219008001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":151038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:05:52] local.INFO: GPS data processed {"connection_id":151038,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:05:52] local.INFO: Acknowledgment sent {"connection_id":151038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:06:15] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:06:15] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:06:15] local.INFO: IMEI packet received {"connection_id":148422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":148422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:06:19] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d86f28012d1b0e40071f8428003a00892c..."} 
[2026-08-05 13:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d86f28012d1b0e40071f8428003a00892c..."} 
[2026-08-05 13:06:19] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d86f28012d1b0e40071f8428003a00892c..."} 
[2026-08-05 13:06:19] local.INFO: Packet analysis {"connection_id":148631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d8"} 
[2026-08-05 13:06:19] local.INFO: Extracted packet for processing {"connection_id":148631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d8"} 
[2026-08-05 13:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756747840,"raw_latitude":119505960,"longitude_deg":75.674784,"latitude_deg":11.950596,"altitude":58,"angle":137,"satellites":44,"speed":0,"hex_longitude":"2d1b0e40","hex_latitude":"071f8428","is_valid_coordinates":true} 
[2026-08-05 13:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194304512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10623550067048448,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949566088035706880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785915273000,"timestamp_ms":1785915273000,"timestamp_seconds":1785915273,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d86f28"} 
[2026-08-05 13:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-05 13:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194304512001,"66":12428,"101":206,"83":41984,"24":0,"16":10623550067048448,"45":1949566088035706880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194304512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:06:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10623550067048448,"km_value":10623550067048.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949566088035706880,"description":"Unknown IO ID 45"} 
[2026-08-05 13:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194304512001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1949566088035706880}} 
[2026-08-05 13:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":148631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:06:19] local.INFO: GPS data processed {"connection_id":148631,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:06:19] local.INFO: Acknowledgment sent {"connection_id":148631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:06:20] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:06:20] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:06:20] local.INFO: IMEI packet received {"connection_id":148422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":148422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:06:21] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:06:21] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:06:21] local.INFO: Packet analysis {"connection_id":148422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:06:21] local.INFO: Extracted packet for processing {"connection_id":148422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785915219000,"timestamp_ms":1785915219000,"timestamp_seconds":1785915219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d79c38"} 
[2026-08-05 13:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:06: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-08-05 13:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:06: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-08-05 13:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219008001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:06:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219008001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":148422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:06:21] local.INFO: GPS data processed {"connection_id":148422,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:06:21] local.INFO: Acknowledgment sent {"connection_id":148422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:06:45] local.INFO: TCP Data received {"connection_id":149629,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:06:45] local.INFO: Processing buffer {"connection_id":149629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:06:45] local.INFO: IMEI packet received {"connection_id":149629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":149629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:06:50] local.INFO: TCP Data received {"connection_id":149629,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:06:50] local.INFO: Processing buffer {"connection_id":149629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:06:50] local.INFO: IMEI packet received {"connection_id":149629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":149629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:06:51] local.INFO: TCP Data received {"connection_id":149629,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d8c130012d1b0e40071f8428003a00892b..."} 
[2026-08-05 13:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d8c130012d1b0e40071f8428003a00892b..."} 
[2026-08-05 13:06:51] local.INFO: Processing buffer {"connection_id":149629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d8c130012d1b0e40071f8428003a00892b..."} 
[2026-08-05 13:06:51] local.INFO: Packet analysis {"connection_id":149629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d8"} 
[2026-08-05 13:06:51] local.INFO: Extracted packet for processing {"connection_id":149629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d8"} 
[2026-08-05 13:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756747840,"raw_latitude":119505960,"longitude_deg":75.674784,"latitude_deg":11.950596,"altitude":58,"angle":137,"satellites":43,"speed":0,"hex_longitude":"2d1b0e40","hex_latitude":"071f8428","is_valid_coordinates":true} 
[2026-08-05 13:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194309888001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10623550067048448,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949566088035706880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785915294000,"timestamp_ms":1785915294000,"timestamp_seconds":1785915294,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d8c130"} 
[2026-08-05 13:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 13:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194309888001,"66":12461,"101":206,"83":41984,"24":0,"16":10623550067048448,"45":1949566088035706880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194309888001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:06:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10623550067048448,"km_value":10623550067048.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949566088035706880,"description":"Unknown IO ID 45"} 
[2026-08-05 13:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194309888001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1949566088035706880}} 
[2026-08-05 13:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":149629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:06:51] local.INFO: GPS data processed {"connection_id":149629,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:06:51] local.INFO: Acknowledgment sent {"connection_id":149629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:06:52] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:06:52] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:06:52] local.INFO: Packet analysis {"connection_id":148422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:06:52] local.INFO: Extracted packet for processing {"connection_id":148422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785915219000,"timestamp_ms":1785915219000,"timestamp_seconds":1785915219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d79c38"} 
[2026-08-05 13:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219008001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:06:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219008001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":148422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:06:52] local.INFO: GPS data processed {"connection_id":148422,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:06:52] local.INFO: Acknowledgment sent {"connection_id":148422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:06:55] local.INFO: TCP Data received {"connection_id":149629,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d91338012d1b0e40071f8428003a00892a..."} 
[2026-08-05 13:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d91338012d1b0e40071f8428003a00892a..."} 
[2026-08-05 13:06:55] local.INFO: Processing buffer {"connection_id":149629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d91338012d1b0e40071f8428003a00892a..."} 
[2026-08-05 13:06:55] local.INFO: Packet analysis {"connection_id":149629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d9"} 
[2026-08-05 13:06:55] local.INFO: Extracted packet for processing {"connection_id":149629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d9"} 
[2026-08-05 13:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756747840,"raw_latitude":119505960,"longitude_deg":75.674784,"latitude_deg":11.950596,"altitude":58,"angle":137,"satellites":42,"speed":0,"hex_longitude":"2d1b0e40","hex_latitude":"071f8428","is_valid_coordinates":true} 
[2026-08-05 13:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194315264001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10623550067048448,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949566088035706880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785915315000,"timestamp_ms":1785915315000,"timestamp_seconds":1785915315,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d91338"} 
[2026-08-05 13:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194315264001,"66":12461,"101":206,"83":41984,"24":0,"16":10623550067048448,"45":1949566088035706880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194315264001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:06:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:06:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10623550067048448,"km_value":10623550067048.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949566088035706880,"description":"Unknown IO ID 45"} 
[2026-08-05 13:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194315264001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1949566088035706880}} 
[2026-08-05 13:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":149629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:06:55] local.INFO: GPS data processed {"connection_id":149629,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:06:55] local.INFO: Acknowledgment sent {"connection_id":149629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:07:20] local.INFO: TCP Data received {"connection_id":149630,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:07:20] local.INFO: Processing buffer {"connection_id":149630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:07:20] local.INFO: IMEI packet received {"connection_id":149630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":149630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:07:25] local.INFO: TCP Data received {"connection_id":149630,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:07:25] local.INFO: Processing buffer {"connection_id":149630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:07:25] local.INFO: IMEI packet received {"connection_id":149630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":149630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:07:26] local.INFO: TCP Data received {"connection_id":149630,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:07:26] local.INFO: Processing buffer {"connection_id":149630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:07:26] local.INFO: Packet analysis {"connection_id":149630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:07:26] local.INFO: Extracted packet for processing {"connection_id":149630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785915219000,"timestamp_ms":1785915219000,"timestamp_seconds":1785915219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d79c38"} 
[2026-08-05 13:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219008001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:07:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219008001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":149630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:07:26] local.INFO: GPS data processed {"connection_id":149630,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:07:26] local.INFO: Acknowledgment sent {"connection_id":149630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:07:30] local.INFO: TCP Data received {"connection_id":149630,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:07:30] local.INFO: Processing buffer {"connection_id":149630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:07:30] local.INFO: Packet analysis {"connection_id":149630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:07:30] local.INFO: Extracted packet for processing {"connection_id":149630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785915219000,"timestamp_ms":1785915219000,"timestamp_seconds":1785915219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d79c38"} 
[2026-08-05 13:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219008001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:07:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219008001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":149630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:07:30] local.INFO: GPS data processed {"connection_id":149630,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:07:30] local.INFO: Acknowledgment sent {"connection_id":149630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:07:38] local.INFO: TCP Data received {"connection_id":148632,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:07:38] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:07:38] local.INFO: IMEI packet received {"connection_id":148632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":148632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:07:39] local.INFO: TCP Data received {"connection_id":148632,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:07:39] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:07:39] local.INFO: IMEI packet received {"connection_id":148632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":148632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:07:45] local.INFO: TCP Data received {"connection_id":148632,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:07:45] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:07:45] local.INFO: IMEI packet received {"connection_id":148632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":148632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:07:46] local.INFO: TCP Data received {"connection_id":148632,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d96540012d1b0e40071f8428003a00892a..."} 
[2026-08-05 13:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d96540012d1b0e40071f8428003a00892a..."} 
[2026-08-05 13:07:46] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d96540012d1b0e40071f8428003a00892a..."} 
[2026-08-05 13:07:46] local.INFO: Packet analysis {"connection_id":148632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d9"} 
[2026-08-05 13:07:46] local.INFO: Extracted packet for processing {"connection_id":148632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d9"} 
[2026-08-05 13:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756747840,"raw_latitude":119505960,"longitude_deg":75.674784,"latitude_deg":11.950596,"altitude":58,"angle":137,"satellites":42,"speed":0,"hex_longitude":"2d1b0e40","hex_latitude":"071f8428","is_valid_coordinates":true} 
[2026-08-05 13:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194320640001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10623550067048448,"note":"Value kept but may cause issues"} 
[2026-08-05 13:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949566088035706880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:07: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-08-05 13:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785915336000,"timestamp_ms":1785915336000,"timestamp_seconds":1785915336,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d96540"} 
[2026-08-05 13:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194320640001,"66":12461,"101":206,"83":41984,"24":0,"16":10623550067048448,"45":1949566088035706880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194320640001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:07:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10623550067048448,"km_value":10623550067048.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949566088035706880,"description":"Unknown IO ID 45"} 
[2026-08-05 13:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194320640001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1949566088035706880}} 
[2026-08-05 13:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":148632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:07:46] local.INFO: GPS data processed {"connection_id":148632,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:07:46] local.INFO: Acknowledgment sent {"connection_id":148632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:08:15] local.INFO: TCP Data received {"connection_id":151039,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:08:15] local.INFO: Processing buffer {"connection_id":151039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:08:15] local.INFO: IMEI packet received {"connection_id":151039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":151039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:08:17] local.INFO: TCP Data received {"connection_id":148632,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d9b748012d1b0e40071f8428003a00892b..."} 
[2026-08-05 13:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d9b748012d1b0e40071f8428003a00892b..."} 
[2026-08-05 13:08:17] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d9b748012d1b0e40071f8428003a00892b..."} 
[2026-08-05 13:08:17] local.INFO: Packet analysis {"connection_id":148632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d9"} 
[2026-08-05 13:08:17] local.INFO: Extracted packet for processing {"connection_id":148632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d9"} 
[2026-08-05 13:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756747840,"raw_latitude":119505960,"longitude_deg":75.674784,"latitude_deg":11.950596,"altitude":58,"angle":137,"satellites":43,"speed":0,"hex_longitude":"2d1b0e40","hex_latitude":"071f8428","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194326016001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10623550067048448,"note":"Value kept but may cause issues"} 
[2026-08-05 13:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949566088035706880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785915357000,"timestamp_ms":1785915357000,"timestamp_seconds":1785915357,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d9b748"} 
[2026-08-05 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-08-05 13:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 13:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194326016001,"66":11384,"101":206,"83":41984,"24":0,"16":10623550067048448,"45":1949566088035706880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194326016001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:08:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10623550067048448,"km_value":10623550067048.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949566088035706880,"description":"Unknown IO ID 45"} 
[2026-08-05 13:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194326016001,"power":11384,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1949566088035706880}} 
[2026-08-05 13:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":148632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:08:17] local.INFO: GPS data processed {"connection_id":148632,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:08:17] local.INFO: Acknowledgment sent {"connection_id":148632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:08:20] local.INFO: TCP Data received {"connection_id":151039,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:08:20] local.INFO: Processing buffer {"connection_id":151039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:08:20] local.INFO: IMEI packet received {"connection_id":151039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":151039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:08:21] local.INFO: TCP Data received {"connection_id":151039,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:08:21] local.INFO: Processing buffer {"connection_id":151039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:08:21] local.INFO: Packet analysis {"connection_id":151039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:08:21] local.INFO: Extracted packet for processing {"connection_id":151039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:08:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785915219000,"timestamp_ms":1785915219000,"timestamp_seconds":1785915219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d79c38"} 
[2026-08-05 13:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:08: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-08-05 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:08: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-08-05 13: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-08-05 13:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219008001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:08:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219008001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":151039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:08:21] local.INFO: GPS data processed {"connection_id":151039,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:08:21] local.INFO: Acknowledgment sent {"connection_id":151039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:08:37] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:37] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:37] local.INFO: IMEI packet received {"connection_id":148633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":148633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:08:38] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:38] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:38] local.INFO: IMEI packet received {"connection_id":148633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":148633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:08:39] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:39] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:39] local.INFO: IMEI packet received {"connection_id":148633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":148633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:08:40] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:40] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:08:40] local.INFO: IMEI packet received {"connection_id":148633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":148633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:08:52] local.INFO: TCP Data received {"connection_id":151039,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:08:52] local.INFO: Processing buffer {"connection_id":151039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0d79c38012d7f92c005afd9e8000000e929..."} 
[2026-08-05 13:08:52] local.INFO: Packet analysis {"connection_id":151039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:08:52] local.INFO: Extracted packet for processing {"connection_id":151039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0d7"} 
[2026-08-05 13:08:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194219008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785915219000,"timestamp_ms":1785915219000,"timestamp_seconds":1785915219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0d79c38"} 
[2026-08-05 13:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194219008001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194219008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:08:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194219008001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":151039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:08:52] local.INFO: GPS data processed {"connection_id":151039,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:08:52] local.INFO: Acknowledgment sent {"connection_id":151039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:09:15] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:09:15] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:09:15] local.INFO: IMEI packet received {"connection_id":148634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":148634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:09:18] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:09:18] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:09:18] local.INFO: IMEI packet received {"connection_id":148634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":148634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:09:19] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:09:19] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:09:19] local.INFO: Packet analysis {"connection_id":148634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:09:19] local.INFO: Extracted packet for processing {"connection_id":148634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:09:19] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785915520000,"timestamp_ms":1785915520000,"timestamp_seconds":1785915520,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dc3400"} 
[2026-08-05 13:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:09: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-08-05 13:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:09: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-08-05 13:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194296064001,"66":25517,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:09:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194296064001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":148634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:09:19] local.INFO: GPS data processed {"connection_id":148634,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:09:19] local.INFO: Acknowledgment sent {"connection_id":148634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:09:50] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:09:50] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:09:50] local.INFO: Packet analysis {"connection_id":148634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:09:50] local.INFO: Extracted packet for processing {"connection_id":148634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:09:50] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785915520000,"timestamp_ms":1785915520000,"timestamp_seconds":1785915520,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dc3400"} 
[2026-08-05 13:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:09: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-08-05 13:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:09: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-08-05 13:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194296064001,"66":25517,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:09:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:09:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194296064001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":148634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:09:50] local.INFO: GPS data processed {"connection_id":148634,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:09:50] local.INFO: Acknowledgment sent {"connection_id":148634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:10:15] local.INFO: TCP Data received {"connection_id":149631,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:10:15] local.INFO: Processing buffer {"connection_id":149631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:10:15] local.INFO: IMEI packet received {"connection_id":149631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":149631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:10:20] local.INFO: TCP Data received {"connection_id":149631,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:10:20] local.INFO: Processing buffer {"connection_id":149631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:10:20] local.INFO: IMEI packet received {"connection_id":149631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":149631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:10:21] local.INFO: TCP Data received {"connection_id":149631,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:10:21] local.INFO: Processing buffer {"connection_id":149631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:10:21] local.INFO: Packet analysis {"connection_id":149631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:10:21] local.INFO: Extracted packet for processing {"connection_id":149631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:10:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785915520000,"timestamp_ms":1785915520000,"timestamp_seconds":1785915520,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dc3400"} 
[2026-08-05 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-08-05 13:10: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-08-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:10: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-08-05 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-08-05 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-08-05 13:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:10: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-08-05 13:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194296064001,"66":25517,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:10:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194296064001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":149631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:10:21] local.INFO: GPS data processed {"connection_id":149631,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:10:21] local.INFO: Acknowledgment sent {"connection_id":149631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:10:52] local.INFO: TCP Data received {"connection_id":149631,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:10:52] local.INFO: Processing buffer {"connection_id":149631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:10:52] local.INFO: Packet analysis {"connection_id":149631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:10:52] local.INFO: Extracted packet for processing {"connection_id":149631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:10:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785915520000,"timestamp_ms":1785915520000,"timestamp_seconds":1785915520,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dc3400"} 
[2026-08-05 13:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194296064001,"66":25517,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:10:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194296064001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":149631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:10:52] local.INFO: GPS data processed {"connection_id":149631,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:10:52] local.INFO: Acknowledgment sent {"connection_id":149631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:11:20] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:11:20] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:11:20] local.INFO: IMEI packet received {"connection_id":148424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":148424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:11:25] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:11:25] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:11:25] local.INFO: IMEI packet received {"connection_id":148424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":148424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:11:32] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:11:32] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:11:32] local.INFO: Packet analysis {"connection_id":148424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:11:32] local.INFO: Extracted packet for processing {"connection_id":148424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785915520000,"timestamp_ms":1785915520000,"timestamp_seconds":1785915520,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dc3400"} 
[2026-08-05 13:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194296064001,"66":25517,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:11:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194296064001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":148424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:11:32] local.INFO: GPS data processed {"connection_id":148424,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:11:32] local.INFO: Acknowledgment sent {"connection_id":148424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:11:36] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:11:36] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:11:36] local.INFO: Packet analysis {"connection_id":148424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:11:36] local.INFO: Extracted packet for processing {"connection_id":148424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785915520000,"timestamp_ms":1785915520000,"timestamp_seconds":1785915520,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dc3400"} 
[2026-08-05 13:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194296064001,"66":25517,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:11:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194296064001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":148424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:11:36] local.INFO: GPS data processed {"connection_id":148424,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:11:36] local.INFO: Acknowledgment sent {"connection_id":148424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:12:15] local.INFO: TCP Data received {"connection_id":151040,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:12:15] local.INFO: Processing buffer {"connection_id":151040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:12:15] local.INFO: IMEI packet received {"connection_id":151040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":151040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:12:20] local.INFO: TCP Data received {"connection_id":151040,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:12:20] local.INFO: Processing buffer {"connection_id":151040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:12:20] local.INFO: IMEI packet received {"connection_id":151040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":151040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:12:21] local.INFO: TCP Data received {"connection_id":151040,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:12:21] local.INFO: Processing buffer {"connection_id":151040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:12:21] local.INFO: Packet analysis {"connection_id":151040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:12:21] local.INFO: Extracted packet for processing {"connection_id":151040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:12:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785915520000,"timestamp_ms":1785915520000,"timestamp_seconds":1785915520,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dc3400"} 
[2026-08-05 13:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:12: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-08-05 13:12: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-08-05 13:12: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-08-05 13:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194296064001,"66":25517,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:12:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194296064001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":151040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:12:21] local.INFO: GPS data processed {"connection_id":151040,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:12:21] local.INFO: Acknowledgment sent {"connection_id":151040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:12:52] local.INFO: TCP Data received {"connection_id":151040,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:12:52] local.INFO: Processing buffer {"connection_id":151040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:12:52] local.INFO: Packet analysis {"connection_id":151040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:12:52] local.INFO: Extracted packet for processing {"connection_id":151040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:12:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785915520000,"timestamp_ms":1785915520000,"timestamp_seconds":1785915520,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dc3400"} 
[2026-08-05 13:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194296064001,"66":25517,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:12:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:12:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194296064001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":151040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:12:52] local.INFO: GPS data processed {"connection_id":151040,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:12:52] local.INFO: Acknowledgment sent {"connection_id":151040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:13:15] local.INFO: TCP Data received {"connection_id":149632,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:13:15] local.INFO: Processing buffer {"connection_id":149632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:13:15] local.INFO: IMEI packet received {"connection_id":149632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":149632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:13:20] local.INFO: TCP Data received {"connection_id":149632,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:13:20] local.INFO: Processing buffer {"connection_id":149632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:13:20] local.INFO: IMEI packet received {"connection_id":149632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":149632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:13:21] local.INFO: TCP Data received {"connection_id":149632,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:13:21] local.INFO: Processing buffer {"connection_id":149632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:13:21] local.INFO: Packet analysis {"connection_id":149632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:13:21] local.INFO: Extracted packet for processing {"connection_id":149632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:13:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785915520000,"timestamp_ms":1785915520000,"timestamp_seconds":1785915520,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dc3400"} 
[2026-08-05 13:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:13: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-08-05 13: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:13: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-08-05 13: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-08-05 13:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:13: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-08-05 13:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194296064001,"66":25517,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:13:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194296064001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":149632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:13:21] local.INFO: GPS data processed {"connection_id":149632,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:13:21] local.INFO: Acknowledgment sent {"connection_id":149632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:13:45] local.INFO: TCP Data received {"connection_id":151041,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:13:45] local.INFO: Processing buffer {"connection_id":151041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:13:45] local.INFO: IMEI packet received {"connection_id":151041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":151041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:13:48] local.INFO: TCP Data received {"connection_id":151041,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:13:48] local.INFO: Processing buffer {"connection_id":151041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:13:48] local.INFO: IMEI packet received {"connection_id":151041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":151041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:13:49] local.INFO: TCP Data received {"connection_id":151041,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0df9730012d185a80072185d8004c01282d..."} 
[2026-08-05 13:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0df9730012d185a80072185d8004c01282d..."} 
[2026-08-05 13:13:49] local.INFO: Processing buffer {"connection_id":151041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0df9730012d185a80072185d8004c01282d..."} 
[2026-08-05 13:13:49] local.INFO: Packet analysis {"connection_id":151041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0df"} 
[2026-08-05 13:13:49] local.INFO: Extracted packet for processing {"connection_id":151041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0df"} 
[2026-08-05 13:13:49] local.INFO: GPS Element Parsed {"raw_longitude":756570752,"raw_latitude":119637464,"longitude_deg":75.6570752,"latitude_deg":11.9637464,"altitude":76,"angle":296,"satellites":45,"speed":38,"hex_longitude":"2d185a80","hex_latitude":"072185d8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194429184001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10635928162795520,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757881628929175552,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785915742000,"timestamp_ms":1785915742000,"timestamp_seconds":1785915742,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0df9730"} 
[2026-08-05 13:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 13:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194429184001,"66":14102,"105":206,"83":41984,"24":38,"16":10635928162795520,"45":1757881628929175552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194429184001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:13:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:13:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10635928162795520,"km_value":10635928162795.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757881628929175552,"description":"Unknown IO ID 45"} 
[2026-08-05 13:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194429184001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1757881628929175552}} 
[2026-08-05 13:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":151041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:13:49] local.INFO: GPS data processed {"connection_id":151041,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:13:49] local.INFO: Acknowledgment sent {"connection_id":151041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:13:50] local.INFO: TCP Data received {"connection_id":151041,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dfbe40012d183900072194a0004d01242c..."} 
[2026-08-05 13:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dfbe40012d183900072194a0004d01242c..."} 
[2026-08-05 13:13:50] local.INFO: Processing buffer {"connection_id":151041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dfbe40012d183900072194a0004d01242c..."} 
[2026-08-05 13:13:50] local.INFO: Packet analysis {"connection_id":151041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0df"} 
[2026-08-05 13:13:50] local.INFO: Extracted packet for processing {"connection_id":151041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0df"} 
[2026-08-05 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756562176,"raw_latitude":119641248,"longitude_deg":75.6562176,"latitude_deg":11.9641248,"altitude":77,"angle":292,"satellites":44,"speed":34,"hex_longitude":"2d183900","hex_latitude":"072194a0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194429952001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10636374839394304,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754855772929775616,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785915752000,"timestamp_ms":1785915752000,"timestamp_seconds":1785915752,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dfbe40"} 
[2026-08-05 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-08-05 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 13:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 13:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194429952001,"66":13961,"105":206,"83":41984,"24":34,"16":10636374839394304,"45":1754855772929775616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194429952001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:13:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10636374839394304,"km_value":10636374839394.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754855772929775616,"description":"Unknown IO ID 45"} 
[2026-08-05 13:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194429952001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1754855772929775616}} 
[2026-08-05 13:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":151041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:13:50] local.INFO: GPS data processed {"connection_id":151041,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:13:50] local.INFO: Acknowledgment sent {"connection_id":151041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:13:52] local.INFO: TCP Data received {"connection_id":149632,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:13:52] local.INFO: Processing buffer {"connection_id":149632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dc3400012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:13:52] local.INFO: Packet analysis {"connection_id":149632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:13:52] local.INFO: Extracted packet for processing {"connection_id":149632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0dc"} 
[2026-08-05 13:13:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785915520000,"timestamp_ms":1785915520000,"timestamp_seconds":1785915520,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dc3400"} 
[2026-08-05 13:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194296064001,"66":25517,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:13:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194296064001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":149632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:13:52] local.INFO: GPS data processed {"connection_id":149632,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:13:52] local.INFO: Acknowledgment sent {"connection_id":149632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:14:15] local.INFO: TCP Data received {"connection_id":151042,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:14:15] local.INFO: Processing buffer {"connection_id":151042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:14:15] local.INFO: IMEI packet received {"connection_id":151042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":151042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:14:19] local.INFO: TCP Data received {"connection_id":151042,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:14:19] local.INFO: Processing buffer {"connection_id":151042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:14:19] local.INFO: IMEI packet received {"connection_id":151042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":151042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:14:20] local.INFO: TCP Data received {"connection_id":151042,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:14:20] local.INFO: Processing buffer {"connection_id":151042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:14:20] local.INFO: Packet analysis {"connection_id":151042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:14:20] local.INFO: Extracted packet for processing {"connection_id":151042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:14:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194373120001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785915821000,"timestamp_ms":1785915821000,"timestamp_seconds":1785915821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e0cbc8"} 
[2026-08-05 13:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:14: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-08-05 13:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194373120001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194373120001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:14:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194373120001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":151042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:14:20] local.INFO: GPS data processed {"connection_id":151042,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:14:20] local.INFO: Acknowledgment sent {"connection_id":151042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:14:21] local.INFO: TCP Data received {"connection_id":151041,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dfd1c8012d182b0007219c18004c01312b..."} 
[2026-08-05 13:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dfd1c8012d182b0007219c18004c01312b..."} 
[2026-08-05 13:14:21] local.INFO: Processing buffer {"connection_id":151041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dfd1c8012d182b0007219c18004c01312b..."} 
[2026-08-05 13:14:21] local.INFO: Packet analysis {"connection_id":151041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0df"} 
[2026-08-05 13:14:21] local.INFO: Extracted packet for processing {"connection_id":151041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0df"} 
[2026-08-05 13:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643160,"longitude_deg":75.6558592,"latitude_deg":11.964316,"altitude":76,"angle":305,"satellites":43,"speed":28,"hex_longitude":"2d182b00","hex_latitude":"07219c18","is_valid_coordinates":true} 
[2026-08-05 13:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194432512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10636568112922624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745426361210937344,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785915757000,"timestamp_ms":1785915757000,"timestamp_seconds":1785915757,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dfd1c8"} 
[2026-08-05 13:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-05 13:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194432512001,"66":14113,"105":206,"83":41984,"24":28,"16":10636568112922624,"45":1745426361210937344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194432512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:14:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10636568112922624,"km_value":10636568112922.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745426361210937344,"description":"Unknown IO ID 45"} 
[2026-08-05 13:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194432512001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1745426361210937344}} 
[2026-08-05 13:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":151041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:14:21] local.INFO: GPS data processed {"connection_id":151041,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:14:21] local.INFO: Acknowledgment sent {"connection_id":151041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:14:40] local.INFO: TCP Data received {"connection_id":151043,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:14:40] local.INFO: Processing buffer {"connection_id":151043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:14:40] local.INFO: IMEI packet received {"connection_id":151043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":151043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:14:45] local.INFO: TCP Data received {"connection_id":151043,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:14:45] local.INFO: Processing buffer {"connection_id":151043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:14:45] local.INFO: IMEI packet received {"connection_id":151043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":151043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:14:46] local.INFO: TCP Data received {"connection_id":151043,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0dfe938012d1821800721a3c8004a013c2b..."} 
[2026-08-05 13:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0dfe938012d1821800721a3c8004a013c2b..."} 
[2026-08-05 13:14:46] local.INFO: Processing buffer {"connection_id":151043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0dfe938012d1821800721a3c8004a013c2b..."} 
[2026-08-05 13:14:46] local.INFO: Packet analysis {"connection_id":151043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0df"} 
[2026-08-05 13:14:46] local.INFO: Extracted packet for processing {"connection_id":151043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0df"} 
[2026-08-05 13:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119645128,"longitude_deg":75.655616,"latitude_deg":11.9645128,"altitude":74,"angle":316,"satellites":43,"speed":14,"hex_longitude":"2d182180","hex_latitude":"0721a3c8","is_valid_coordinates":true} 
[2026-08-05 13:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194433792001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10636718436777984,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537477632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785915763000,"timestamp_ms":1785915763000,"timestamp_seconds":1785915763,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0dfe938"} 
[2026-08-05 13:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-05 13:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194433792001,"66":14211,"105":206,"83":41984,"24":14,"16":10636718436777984,"45":1741485711537477632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194433792001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:14:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10636718436777984,"km_value":10636718436777.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537477632,"description":"Unknown IO ID 45"} 
[2026-08-05 13:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194433792001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1741485711537477632}} 
[2026-08-05 13:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":151043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:14:46] local.INFO: GPS data processed {"connection_id":151043,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:14:46] local.INFO: Acknowledgment sent {"connection_id":151043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:14:51] local.INFO: TCP Data received {"connection_id":151042,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:14:51] local.INFO: Processing buffer {"connection_id":151042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:14:51] local.INFO: Packet analysis {"connection_id":151042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:14:51] local.INFO: Extracted packet for processing {"connection_id":151042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:14:51] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194373120001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785915821000,"timestamp_ms":1785915821000,"timestamp_seconds":1785915821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e0cbc8"} 
[2026-08-05 13:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:14: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-08-05 13: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":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194373120001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194373120001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:14:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194373120001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":151042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:14:51] local.INFO: GPS data processed {"connection_id":151042,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:14:51] local.INFO: Acknowledgment sent {"connection_id":151042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:15:15] local.INFO: TCP Data received {"connection_id":148637,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:15:15] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:15:15] local.INFO: IMEI packet received {"connection_id":148637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":148637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:15:17] local.INFO: TCP Data received {"connection_id":151043,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e00490012d181e400721a830004b01592d..."} 
[2026-08-05 13:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e00490012d181e400721a830004b01592d..."} 
[2026-08-05 13:15:17] local.INFO: Processing buffer {"connection_id":151043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e00490012d181e400721a830004b01592d..."} 
[2026-08-05 13:15:17] local.INFO: Packet analysis {"connection_id":151043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:15:17] local.INFO: Extracted packet for processing {"connection_id":151043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:15:17] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646256,"longitude_deg":75.6555328,"latitude_deg":11.9646256,"altitude":75,"angle":345,"satellites":45,"speed":7,"hex_longitude":"2d181e40","hex_latitude":"0721a830","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194435328001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10636787156254720,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259230208,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785915770000,"timestamp_ms":1785915770000,"timestamp_seconds":1785915770,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e00490"} 
[2026-08-05 13:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 13:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194435328001,"66":13124,"105":206,"83":41984,"24":7,"16":10636787156254720,"45":1738811699259230208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194435328001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:15:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:15:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10636787156254720,"km_value":10636787156254.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259230208,"description":"Unknown IO ID 45"} 
[2026-08-05 13:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194435328001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738811699259230208}} 
[2026-08-05 13:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":151043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:15:17] local.INFO: GPS data processed {"connection_id":151043,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:15:17] local.INFO: Acknowledgment sent {"connection_id":151043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:15:20] local.INFO: TCP Data received {"connection_id":148637,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:15:20] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:15:20] local.INFO: IMEI packet received {"connection_id":148637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":148637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:15:21] local.INFO: TCP Data received {"connection_id":148637,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:15:21] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:15:21] local.INFO: Packet analysis {"connection_id":148637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:15:21] local.INFO: Extracted packet for processing {"connection_id":148637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194373120001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785915821000,"timestamp_ms":1785915821000,"timestamp_seconds":1785915821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e0cbc8"} 
[2026-08-05 13:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13: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-08-05 13:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194373120001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194373120001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:15:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194373120001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":148637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:15:21] local.INFO: GPS data processed {"connection_id":148637,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:15:21] local.INFO: Acknowledgment sent {"connection_id":148637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:15:40] local.INFO: TCP Data received {"connection_id":149633,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:15:40] local.INFO: Processing buffer {"connection_id":149633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:15:40] local.INFO: IMEI packet received {"connection_id":149633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":149633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:15:43] local.INFO: TCP Data received {"connection_id":149633,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:15:43] local.INFO: Processing buffer {"connection_id":149633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:15:43] local.INFO: IMEI packet received {"connection_id":149633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":149633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:15:43] local.INFO: TCP Data received {"connection_id":149633,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e00878012d181e400721a900004b00112d..."} 
[2026-08-05 13:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e00878012d181e400721a900004b00112d..."} 
[2026-08-05 13:15:43] local.INFO: Processing buffer {"connection_id":149633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e00878012d181e400721a900004b00112d..."} 
[2026-08-05 13:15:43] local.INFO: Packet analysis {"connection_id":149633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:15:43] local.INFO: Extracted packet for processing {"connection_id":149633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646464,"longitude_deg":75.6555328,"latitude_deg":11.9646464,"altitude":75,"angle":17,"satellites":45,"speed":9,"hex_longitude":"2d181e40","hex_latitude":"0721a900","is_valid_coordinates":true} 
[2026-08-05 13:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194437120001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10636795746189312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585209344,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785915771000,"timestamp_ms":1785915771000,"timestamp_seconds":1785915771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e00878"} 
[2026-08-05 13:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 13:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194437120001,"66":13102,"105":206,"83":41984,"24":9,"16":10636795746189312,"45":1737896905585209344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194437120001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:15:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:15:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10636795746189312,"km_value":10636795746189.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585209344,"description":"Unknown IO ID 45"} 
[2026-08-05 13:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194437120001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737896905585209344}} 
[2026-08-05 13:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":149633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:15:43] local.INFO: GPS data processed {"connection_id":149633,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:15:43] local.INFO: Acknowledgment sent {"connection_id":149633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:15:52] local.INFO: TCP Data received {"connection_id":148637,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:15:52] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:15:52] local.INFO: Packet analysis {"connection_id":148637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:15:52] local.INFO: Extracted packet for processing {"connection_id":148637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194373120001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785915821000,"timestamp_ms":1785915821000,"timestamp_seconds":1785915821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e0cbc8"} 
[2026-08-05 13:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194373120001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194373120001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:15:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194373120001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":148637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:15:52] local.INFO: GPS data processed {"connection_id":148637,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:15:52] local.INFO: Acknowledgment sent {"connection_id":148637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:16:14] local.INFO: TCP Data received {"connection_id":149633,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e00c60012d181ec00721a9f0004b00202d..."} 
[2026-08-05 13:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e00c60012d181ec00721a9f0004b00202d..."} 
[2026-08-05 13:16:14] local.INFO: Processing buffer {"connection_id":149633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e00c60012d181ec00721a9f0004b00202d..."} 
[2026-08-05 13:16:14] local.INFO: Packet analysis {"connection_id":149633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:16:14] local.INFO: Extracted packet for processing {"connection_id":149633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646704,"longitude_deg":75.6555456,"latitude_deg":11.9646704,"altitude":75,"angle":32,"satellites":45,"speed":12,"hex_longitude":"2d181ec0","hex_latitude":"0721a9f0","is_valid_coordinates":true} 
[2026-08-05 13:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194437376001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10636808631091200,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585262592,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785915772000,"timestamp_ms":1785915772000,"timestamp_seconds":1785915772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e00c60"} 
[2026-08-05 13:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-05 13:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194437376001,"66":13102,"105":206,"83":41984,"24":12,"16":10636808631091200,"45":1737896905585262592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194437376001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:16:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10636808631091200,"km_value":10636808631091.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585262592,"description":"Unknown IO ID 45"} 
[2026-08-05 13:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194437376001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737896905585262592}} 
[2026-08-05 13:16:15] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:16:15] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:16:15] local.INFO: IMEI packet received {"connection_id":148426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":148426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":149633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:16:15] local.INFO: GPS data processed {"connection_id":149633,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:16:15] local.INFO: Acknowledgment sent {"connection_id":149633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:16:20] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:16:20] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:16:20] local.INFO: IMEI packet received {"connection_id":148426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":148426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:16:21] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:16:21] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:16:21] local.INFO: Packet analysis {"connection_id":148426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:16:21] local.INFO: Extracted packet for processing {"connection_id":148426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:16:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194373120001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785915821000,"timestamp_ms":1785915821000,"timestamp_seconds":1785915821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e0cbc8"} 
[2026-08-05 13:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:16: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-08-05 13: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":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:16: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-08-05 13:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:16: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-08-05 13:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194373120001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194373120001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:16:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194373120001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":148426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:16:21] local.INFO: GPS data processed {"connection_id":148426,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:16:21] local.INFO: Acknowledgment sent {"connection_id":148426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:16:40] local.INFO: TCP Data received {"connection_id":151044,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:16:40] local.INFO: Processing buffer {"connection_id":151044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:16:40] local.INFO: IMEI packet received {"connection_id":151044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":151044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:16:45] local.INFO: TCP Data received {"connection_id":151044,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:16:45] local.INFO: Processing buffer {"connection_id":151044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:16:45] local.INFO: IMEI packet received {"connection_id":151044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":151044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:16:46] local.INFO: TCP Data received {"connection_id":151044,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e03370012d1825800721b430004c00142d..."} 
[2026-08-05 13:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e03370012d1825800721b430004c00142d..."} 
[2026-08-05 13:16:46] local.INFO: Processing buffer {"connection_id":151044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e03370012d1825800721b430004c00142d..."} 
[2026-08-05 13:16:46] local.INFO: Packet analysis {"connection_id":151044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:16:46] local.INFO: Extracted packet for processing {"connection_id":151044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119649328,"longitude_deg":75.6557184,"latitude_deg":11.9649328,"altitude":76,"angle":20,"satellites":45,"speed":5,"hex_longitude":"2d182580","hex_latitude":"0721b430","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194437632001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10636958954946560,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073679360,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785915782000,"timestamp_ms":1785915782000,"timestamp_seconds":1785915782,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e03370"} 
[2026-08-05 13:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-05 13:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194437632001,"66":13276,"105":206,"83":41984,"24":5,"16":10636958954946560,"45":1738037643073679360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194437632001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:16:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10636958954946560,"km_value":10636958954946.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073679360,"description":"Unknown IO ID 45"} 
[2026-08-05 13:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194437632001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738037643073679360}} 
[2026-08-05 13:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":151044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:16:46] local.INFO: GPS data processed {"connection_id":151044,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:16:46] local.INFO: Acknowledgment sent {"connection_id":151044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:16:52] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:16:52] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:16:52] local.INFO: Packet analysis {"connection_id":148426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:16:52] local.INFO: Extracted packet for processing {"connection_id":148426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:16:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194373120001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785915821000,"timestamp_ms":1785915821000,"timestamp_seconds":1785915821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e0cbc8"} 
[2026-08-05 13:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194373120001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194373120001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:16:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194373120001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":148426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:16:52] local.INFO: GPS data processed {"connection_id":148426,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:16:52] local.INFO: Acknowledgment sent {"connection_id":148426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:17:15] local.INFO: TCP Data received {"connection_id":151045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:17:15] local.INFO: Processing buffer {"connection_id":151045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:17:15] local.INFO: IMEI packet received {"connection_id":151045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":151045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:17:17] local.INFO: TCP Data received {"connection_id":151044,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e2b7f8012d1822400721b460004b00d02e..."} 
[2026-08-05 13:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e2b7f8012d1822400721b460004b00d02e..."} 
[2026-08-05 13:17:17] local.INFO: Processing buffer {"connection_id":151044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e2b7f8012d1822400721b460004b00d02e..."} 
[2026-08-05 13:17:17] local.INFO: Packet analysis {"connection_id":151044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e2"} 
[2026-08-05 13:17:17] local.INFO: Extracted packet for processing {"connection_id":151044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e2"} 
[2026-08-05 13:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649376,"longitude_deg":75.6556352,"latitude_deg":11.9649376,"altitude":75,"angle":208,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194477056001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637113573769216,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469696512,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785915947000,"timestamp_ms":1785915947000,"timestamp_seconds":1785915947,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e2b7f8"} 
[2026-08-05 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-08-05 13:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 13:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 13:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194477056001,"66":12461,"105":206,"83":41984,"24":0,"16":10637113573769216,"45":1739304280469696512},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194477056001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:17:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637113573769216,"km_value":10637113573769.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469696512,"description":"Unknown IO ID 45"} 
[2026-08-05 13:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194477056001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469696512}} 
[2026-08-05 13:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":151044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:17:17] local.INFO: GPS data processed {"connection_id":151044,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:17:17] local.INFO: Acknowledgment sent {"connection_id":151044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:17:20] local.INFO: TCP Data received {"connection_id":151045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:17:20] local.INFO: Processing buffer {"connection_id":151045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:17:20] local.INFO: IMEI packet received {"connection_id":151045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":151045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:17:20] local.INFO: TCP Data received {"connection_id":151045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:17:20] local.INFO: Processing buffer {"connection_id":151045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:17:20] local.INFO: Packet analysis {"connection_id":151045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:17:20] local.INFO: Extracted packet for processing {"connection_id":151045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:17:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194373120001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785915821000,"timestamp_ms":1785915821000,"timestamp_seconds":1785915821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e0cbc8"} 
[2026-08-05 13:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:17: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-08-05 13:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194373120001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194373120001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:17:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194373120001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":151045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:17:20] local.INFO: GPS data processed {"connection_id":151045,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:17:20] local.INFO: Acknowledgment sent {"connection_id":151045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:17:40] local.INFO: TCP Data received {"connection_id":148638,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:17:40] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:17:40] local.INFO: IMEI packet received {"connection_id":148638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":148638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:17:45] local.INFO: TCP Data received {"connection_id":148638,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:17:45] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:17:45] local.INFO: IMEI packet received {"connection_id":148638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":148638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:17:45] local.INFO: TCP Data received {"connection_id":148638,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e30a00012d1822400721b460004b00d02d..."} 
[2026-08-05 13:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e30a00012d1822400721b460004b00d02d..."} 
[2026-08-05 13:17:45] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e30a00012d1822400721b460004b00d02d..."} 
[2026-08-05 13:17:45] local.INFO: Packet analysis {"connection_id":148638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e3"} 
[2026-08-05 13:17:45] local.INFO: Extracted packet for processing {"connection_id":148638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e3"} 
[2026-08-05 13:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649376,"longitude_deg":75.6556352,"latitude_deg":11.9649376,"altitude":75,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-05 13:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194482432001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637113573769216,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492850688,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785915968000,"timestamp_ms":1785915968000,"timestamp_seconds":1785915968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e30a00"} 
[2026-08-05 13:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194482432001,"66":12461,"105":206,"83":41984,"24":0,"16":10637113573769216,"45":1739022805492850688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194482432001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:17:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637113573769216,"km_value":10637113573769.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492850688,"description":"Unknown IO ID 45"} 
[2026-08-05 13:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194482432001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492850688}} 
[2026-08-05 13:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":148638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:17:46] local.INFO: GPS data processed {"connection_id":148638,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:17:46] local.INFO: Acknowledgment sent {"connection_id":148638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:17:51] local.INFO: TCP Data received {"connection_id":151045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:17:51] local.INFO: Processing buffer {"connection_id":151045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:17:51] local.INFO: Packet analysis {"connection_id":151045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:17:51] local.INFO: Extracted packet for processing {"connection_id":151045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:17:51] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194373120001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785915821000,"timestamp_ms":1785915821000,"timestamp_seconds":1785915821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e0cbc8"} 
[2026-08-05 13:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:17: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-08-05 13:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194373120001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194373120001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:17:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194373120001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":151045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:17:51] local.INFO: GPS data processed {"connection_id":151045,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:17:51] local.INFO: Acknowledgment sent {"connection_id":151045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:18:17] local.INFO: TCP Data received {"connection_id":148638,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e35c08012d1822400721b460004b00d02e..."} 
[2026-08-05 13:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e35c08012d1822400721b460004b00d02e..."} 
[2026-08-05 13:18:17] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e35c08012d1822400721b460004b00d02e..."} 
[2026-08-05 13:18:17] local.INFO: Packet analysis {"connection_id":148638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e3"} 
[2026-08-05 13:18:17] local.INFO: Extracted packet for processing {"connection_id":148638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e3"} 
[2026-08-05 13:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649376,"longitude_deg":75.6556352,"latitude_deg":11.9649376,"altitude":75,"angle":208,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-05 13:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194487808001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637113573769216,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492850688,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785915989000,"timestamp_ms":1785915989000,"timestamp_seconds":1785915989,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e35c08"} 
[2026-08-05 13:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194487808001,"66":12504,"105":206,"83":41984,"24":0,"16":10637113573769216,"45":1739022805492850688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194487808001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:18:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637113573769216,"km_value":10637113573769.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492850688,"description":"Unknown IO ID 45"} 
[2026-08-05 13:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194487808001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492850688}} 
[2026-08-05 13:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":148638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:18:17] local.INFO: GPS data processed {"connection_id":148638,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:18:17] local.INFO: Acknowledgment sent {"connection_id":148638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:18:18] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:18:18] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:18:18] local.INFO: IMEI packet received {"connection_id":148639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":148639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:18:20] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:18:20] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:18:20] local.INFO: IMEI packet received {"connection_id":148639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":148639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:18:20] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:18:20] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:18:20] local.INFO: Packet analysis {"connection_id":148639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:18:20] local.INFO: Extracted packet for processing {"connection_id":148639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194373120001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785915821000,"timestamp_ms":1785915821000,"timestamp_seconds":1785915821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e0cbc8"} 
[2026-08-05 13:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:18: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-08-05 13:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194373120001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194373120001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:18:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194373120001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":148639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:18:20] local.INFO: GPS data processed {"connection_id":148639,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:18:20] local.INFO: Acknowledgment sent {"connection_id":148639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:18:39] local.INFO: TCP Data received {"connection_id":148427,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:18:39] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:18:39] local.INFO: IMEI packet received {"connection_id":148427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":148427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:18:45] local.INFO: TCP Data received {"connection_id":148427,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:18:45] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:18:45] local.INFO: IMEI packet received {"connection_id":148427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":148427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:18:45] local.INFO: TCP Data received {"connection_id":148427,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e3ae10012d1822400721b460004b00d02f..."} 
[2026-08-05 13:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e3ae10012d1822400721b460004b00d02f..."} 
[2026-08-05 13:18:45] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e3ae10012d1822400721b460004b00d02f..."} 
[2026-08-05 13:18:45] local.INFO: Packet analysis {"connection_id":148427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e3"} 
[2026-08-05 13:18:45] local.INFO: Extracted packet for processing {"connection_id":148427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e3"} 
[2026-08-05 13:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649376,"longitude_deg":75.6556352,"latitude_deg":11.9649376,"altitude":75,"angle":208,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194493184001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637113573769216,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492850688,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785916010000,"timestamp_ms":1785916010000,"timestamp_seconds":1785916010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e3ae10"} 
[2026-08-05 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-08-05 13:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 13:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 13:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194493184001,"66":12287,"105":206,"83":41984,"24":0,"16":10637113573769216,"45":1739022805492850688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194493184001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:18:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637113573769216,"km_value":10637113573769.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492850688,"description":"Unknown IO ID 45"} 
[2026-08-05 13:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194493184001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492850688}} 
[2026-08-05 13:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":148427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:18:46] local.INFO: GPS data processed {"connection_id":148427,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:18:46] local.INFO: Acknowledgment sent {"connection_id":148427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:18:56] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:18:56] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e0cbc8012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:18:56] local.INFO: Packet analysis {"connection_id":148639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:18:56] local.INFO: Extracted packet for processing {"connection_id":148639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e0"} 
[2026-08-05 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194373120001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785915821000,"timestamp_ms":1785915821000,"timestamp_seconds":1785915821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e0cbc8"} 
[2026-08-05 13:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194373120001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194373120001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:18:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194373120001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":148639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:18:56] local.INFO: GPS data processed {"connection_id":148639,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:18:56] local.INFO: Acknowledgment sent {"connection_id":148639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:19:15] local.INFO: TCP Data received {"connection_id":148640,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:19:15] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:19:15] local.INFO: IMEI packet received {"connection_id":148640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":148640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:19:17] local.INFO: TCP Data received {"connection_id":148427,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e40018012d1822400721b460004b00d02e..."} 
[2026-08-05 13:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e40018012d1822400721b460004b00d02e..."} 
[2026-08-05 13:19:17] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e40018012d1822400721b460004b00d02e..."} 
[2026-08-05 13:19:17] local.INFO: Packet analysis {"connection_id":148427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e4"} 
[2026-08-05 13:19:17] local.INFO: Extracted packet for processing {"connection_id":148427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e4"} 
[2026-08-05 13:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649376,"longitude_deg":75.6556352,"latitude_deg":11.9649376,"altitude":75,"angle":208,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-05 13:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194498560001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637113573769216,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492850688,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785916031000,"timestamp_ms":1785916031000,"timestamp_seconds":1785916031,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e40018"} 
[2026-08-05 13:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 13:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194498560001,"66":12461,"105":206,"83":41984,"24":0,"16":10637113573769216,"45":1739022805492850688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194498560001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:19:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:19:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637113573769216,"km_value":10637113573769.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492850688,"description":"Unknown IO ID 45"} 
[2026-08-05 13:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194498560001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492850688}} 
[2026-08-05 13:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":148427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:19:17] local.INFO: GPS data processed {"connection_id":148427,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:19:17] local.INFO: Acknowledgment sent {"connection_id":148427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:19:20] local.INFO: TCP Data received {"connection_id":148640,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:19:20] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:19:20] local.INFO: IMEI packet received {"connection_id":148640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":148640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:19:21] local.INFO: TCP Data received {"connection_id":148640,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:19:21] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:19:21] local.INFO: Packet analysis {"connection_id":148640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:19:21] local.INFO: Extracted packet for processing {"connection_id":148640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:19:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 13:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:19: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-08-05 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:19: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-08-05 13: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-08-05 13:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:19: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-08-05 13:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:19:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":148640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:19:21] local.INFO: GPS data processed {"connection_id":148640,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:19:21] local.INFO: Acknowledgment sent {"connection_id":148640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:19:39] local.INFO: TCP Data received {"connection_id":149634,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:19:39] local.INFO: Processing buffer {"connection_id":149634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:19:39] local.INFO: IMEI packet received {"connection_id":149634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":149634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:19:45] local.INFO: TCP Data received {"connection_id":149634,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:19:45] local.INFO: Processing buffer {"connection_id":149634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:19:45] local.INFO: IMEI packet received {"connection_id":149634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":149634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:19:46] local.INFO: TCP Data received {"connection_id":149634,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e45220012d1822400721b460004b00d02d..."} 
[2026-08-05 13:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e45220012d1822400721b460004b00d02d..."} 
[2026-08-05 13:19:46] local.INFO: Processing buffer {"connection_id":149634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e45220012d1822400721b460004b00d02d..."} 
[2026-08-05 13:19:46] local.INFO: Packet analysis {"connection_id":149634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e4"} 
[2026-08-05 13:19:46] local.INFO: Extracted packet for processing {"connection_id":149634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e4"} 
[2026-08-05 13:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649376,"longitude_deg":75.6556352,"latitude_deg":11.9649376,"altitude":75,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-05 13:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194503936001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637113573769216,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492850688,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785916052000,"timestamp_ms":1785916052000,"timestamp_seconds":1785916052,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e45220"} 
[2026-08-05 13:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 13:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194503936001,"66":12439,"105":206,"83":41984,"24":0,"16":10637113573769216,"45":1739022805492850688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194503936001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:19:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637113573769216,"km_value":10637113573769.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492850688,"description":"Unknown IO ID 45"} 
[2026-08-05 13:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194503936001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492850688}} 
[2026-08-05 13:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":149634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:19:46] local.INFO: GPS data processed {"connection_id":149634,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:19:46] local.INFO: Acknowledgment sent {"connection_id":149634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:19:52] local.INFO: TCP Data received {"connection_id":148640,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:19:52] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:19:52] local.INFO: Packet analysis {"connection_id":148640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:19:52] local.INFO: Extracted packet for processing {"connection_id":148640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:19:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 13:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:19:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":148640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:19:52] local.INFO: GPS data processed {"connection_id":148640,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:19:52] local.INFO: Acknowledgment sent {"connection_id":148640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:20:16] local.INFO: TCP Data received {"connection_id":149634,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e4a428012d1822400721b460004b00d02d..."} 
[2026-08-05 13:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e4a428012d1822400721b460004b00d02d..."} 
[2026-08-05 13:20:16] local.INFO: Processing buffer {"connection_id":149634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e4a428012d1822400721b460004b00d02d..."} 
[2026-08-05 13:20:16] local.INFO: Packet analysis {"connection_id":149634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e4"} 
[2026-08-05 13:20:16] local.INFO: Extracted packet for processing {"connection_id":149634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e4"} 
[2026-08-05 13:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649376,"longitude_deg":75.6556352,"latitude_deg":11.9649376,"altitude":75,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194509312001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637113573769216,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492850688,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785916073000,"timestamp_ms":1785916073000,"timestamp_seconds":1785916073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e4a428"} 
[2026-08-05 13:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194509312001,"66":12428,"105":206,"83":41984,"24":0,"16":10637113573769216,"45":1739022805492850688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194509312001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:20:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637113573769216,"km_value":10637113573769.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492850688,"description":"Unknown IO ID 45"} 
[2026-08-05 13:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194509312001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492850688}} 
[2026-08-05 13:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":149634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:20:17] local.INFO: GPS data processed {"connection_id":149634,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:20:17] local.INFO: Acknowledgment sent {"connection_id":149634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:20:17] local.INFO: TCP Data received {"connection_id":151046,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:20:17] local.INFO: Processing buffer {"connection_id":151046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:20:17] local.INFO: IMEI packet received {"connection_id":151046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":151046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:20:20] local.INFO: TCP Data received {"connection_id":151046,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:20:20] local.INFO: Processing buffer {"connection_id":151046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:20:20] local.INFO: IMEI packet received {"connection_id":151046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":151046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:20:21] local.INFO: TCP Data received {"connection_id":151046,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:20:21] local.INFO: Processing buffer {"connection_id":151046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:20:21] local.INFO: Packet analysis {"connection_id":151046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:20:21] local.INFO: Extracted packet for processing {"connection_id":151046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:20:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 13:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:20: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-08-05 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:20: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-08-05 13: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-08-05 13:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:20:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":151046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:20:21] local.INFO: GPS data processed {"connection_id":151046,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:20:21] local.INFO: Acknowledgment sent {"connection_id":151046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:20:25] local.INFO: TCP Data received {"connection_id":151046,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:20:25] local.INFO: Processing buffer {"connection_id":151046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:20:25] local.INFO: Packet analysis {"connection_id":151046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:20:25] local.INFO: Extracted packet for processing {"connection_id":151046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 13:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:20:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":151046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:20:25] local.INFO: GPS data processed {"connection_id":151046,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:20:25] local.INFO: Acknowledgment sent {"connection_id":151046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:20:45] local.INFO: TCP Data received {"connection_id":148428,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:20:45] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:20:45] local.INFO: IMEI packet received {"connection_id":148428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":148428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:20:50] local.INFO: TCP Data received {"connection_id":148428,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:20:50] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:20:50] local.INFO: IMEI packet received {"connection_id":148428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":148428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:20:51] local.INFO: TCP Data received {"connection_id":148428,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e4f630012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e4f630012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:20:51] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e4f630012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:20:51] local.INFO: Packet analysis {"connection_id":148428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e4"} 
[2026-08-05 13:20:51] local.INFO: Extracted packet for processing {"connection_id":148428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e4"} 
[2026-08-05 13:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648864,"longitude_deg":75.6555712,"latitude_deg":11.9648864,"altitude":75,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-05 13:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194514688001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637152228474880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492850688,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785916094000,"timestamp_ms":1785916094000,"timestamp_seconds":1785916094,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e4f630"} 
[2026-08-05 13:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 13:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194514688001,"66":12439,"105":206,"83":41984,"24":0,"16":10637152228474880,"45":1739022805492850688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194514688001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:20:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637152228474880,"km_value":10637152228474.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492850688,"description":"Unknown IO ID 45"} 
[2026-08-05 13:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194514688001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492850688}} 
[2026-08-05 13:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":148428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:20:51] local.INFO: GPS data processed {"connection_id":148428,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:20:51] local.INFO: Acknowledgment sent {"connection_id":148428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:20:55] local.INFO: TCP Data received {"connection_id":148428,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e54838012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e54838012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:20:55] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e54838012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:20:55] local.INFO: Packet analysis {"connection_id":148428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:20:55] local.INFO: Extracted packet for processing {"connection_id":148428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648864,"longitude_deg":75.6555712,"latitude_deg":11.9648864,"altitude":75,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-05 13:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194520064001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637152228474880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050942976,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785916115000,"timestamp_ms":1785916115000,"timestamp_seconds":1785916115,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e54838"} 
[2026-08-05 13:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194520064001,"66":12363,"105":206,"83":41984,"24":0,"16":10637152228474880,"45":1738319118050942976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194520064001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:20:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637152228474880,"km_value":10637152228474.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050942976,"description":"Unknown IO ID 45"} 
[2026-08-05 13:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194520064001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050942976}} 
[2026-08-05 13:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":148428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:20:55] local.INFO: GPS data processed {"connection_id":148428,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:20:55] local.INFO: Acknowledgment sent {"connection_id":148428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:20:57] local.INFO: TCP Data received {"connection_id":151046,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:20:57] local.INFO: Processing buffer {"connection_id":151046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:20:57] local.INFO: Packet analysis {"connection_id":151046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:20:57] local.INFO: Extracted packet for processing {"connection_id":151046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 13:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:20:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":151046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:20:57] local.INFO: GPS data processed {"connection_id":151046,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:20:57] local.INFO: Acknowledgment sent {"connection_id":151046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:21:15] local.INFO: TCP Data received {"connection_id":148641,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:21:15] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:21:15] local.INFO: IMEI packet received {"connection_id":148641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":148641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:21:20] local.INFO: TCP Data received {"connection_id":148641,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:21:20] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:21:20] local.INFO: IMEI packet received {"connection_id":148641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":148641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:21:21] local.INFO: TCP Data received {"connection_id":148641,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:21:21] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:21:21] local.INFO: Packet analysis {"connection_id":148641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:21:21] local.INFO: Extracted packet for processing {"connection_id":148641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:21:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 13:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:21: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-08-05 13:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:21:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":148641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:21:21] local.INFO: GPS data processed {"connection_id":148641,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:21:21] local.INFO: Acknowledgment sent {"connection_id":148641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:21:40] local.INFO: TCP Data received {"connection_id":148429,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:21:40] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:21:40] local.INFO: IMEI packet received {"connection_id":148429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":148429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:21:40] local.INFO: TCP Data received {"connection_id":148429,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:21:40] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:21:40] local.INFO: IMEI packet received {"connection_id":148429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":148429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:21:45] local.INFO: TCP Data received {"connection_id":148429,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:21:45] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:21:45] local.INFO: IMEI packet received {"connection_id":148429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":148429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:21:46] local.INFO: TCP Data received {"connection_id":148429,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e59a40012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e59a40012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:21:46] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e59a40012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:21:46] local.INFO: Packet analysis {"connection_id":148429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:21:46] local.INFO: Extracted packet for processing {"connection_id":148429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648864,"longitude_deg":75.6555712,"latitude_deg":11.9648864,"altitude":75,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-05 13:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194525440001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637152228474880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050942976,"note":"Value kept but may cause issues"} 
[2026-08-05 13:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785916136000,"timestamp_ms":1785916136000,"timestamp_seconds":1785916136,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e59a40"} 
[2026-08-05 13:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 13:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194525440001,"66":12406,"105":206,"83":41984,"24":0,"16":10637152228474880,"45":1738319118050942976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194525440001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:21:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637152228474880,"km_value":10637152228474.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050942976,"description":"Unknown IO ID 45"} 
[2026-08-05 13:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194525440001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050942976}} 
[2026-08-05 13:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":148429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:21:46] local.INFO: GPS data processed {"connection_id":148429,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:21:46] local.INFO: Acknowledgment sent {"connection_id":148429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:21:54] local.INFO: TCP Data received {"connection_id":148641,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:21:54] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:21:54] local.INFO: Packet analysis {"connection_id":148641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:21:54] local.INFO: Extracted packet for processing {"connection_id":148641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 13:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:21: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-08-05 13:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:21:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":148641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:21:54] local.INFO: GPS data processed {"connection_id":148641,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:21:54] local.INFO: Acknowledgment sent {"connection_id":148641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:22:17] local.INFO: TCP Data received {"connection_id":148429,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e5ec48012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e5ec48012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:22:17] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e5ec48012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:22:17] local.INFO: Packet analysis {"connection_id":148429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:22:17] local.INFO: Extracted packet for processing {"connection_id":148429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648864,"longitude_deg":75.6555712,"latitude_deg":11.9648864,"altitude":75,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194530816001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637152228474880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050942976,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785916157000,"timestamp_ms":1785916157000,"timestamp_seconds":1785916157,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e5ec48"} 
[2026-08-05 13:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 13:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194530816001,"66":12406,"105":206,"83":41984,"24":0,"16":10637152228474880,"45":1738319118050942976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194530816001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:22:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637152228474880,"km_value":10637152228474.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050942976,"description":"Unknown IO ID 45"} 
[2026-08-05 13:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194530816001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050942976}} 
[2026-08-05 13:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":148429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:22:17] local.INFO: GPS data processed {"connection_id":148429,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:22:17] local.INFO: Acknowledgment sent {"connection_id":148429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:22:20] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:22:20] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:22:20] local.INFO: IMEI packet received {"connection_id":148430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":148430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:22:25] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:22:25] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:22:25] local.INFO: IMEI packet received {"connection_id":148430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":148430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:22:26] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:22:26] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:22:26] local.INFO: Packet analysis {"connection_id":148430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:22:26] local.INFO: Extracted packet for processing {"connection_id":148430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 13:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:22:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":148430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:22:26] local.INFO: GPS data processed {"connection_id":148430,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:22:26] local.INFO: Acknowledgment sent {"connection_id":148430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:22:30] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:22:30] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:22:30] local.INFO: Packet analysis {"connection_id":148430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:22:30] local.INFO: Extracted packet for processing {"connection_id":148430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 13:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:22:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":148430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:22:30] local.INFO: GPS data processed {"connection_id":148430,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:22:30] local.INFO: Acknowledgment sent {"connection_id":148430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:22:40] local.INFO: TCP Data received {"connection_id":151047,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:22:40] local.INFO: Processing buffer {"connection_id":151047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:22:40] local.INFO: IMEI packet received {"connection_id":151047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":151047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:22:43] local.INFO: TCP Data received {"connection_id":151047,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:22:43] local.INFO: Processing buffer {"connection_id":151047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:22:43] local.INFO: IMEI packet received {"connection_id":151047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":151047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:22:43] local.INFO: TCP Data received {"connection_id":151047,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e63e50012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e63e50012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:22:43] local.INFO: Processing buffer {"connection_id":151047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e63e50012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:22:43] local.INFO: Packet analysis {"connection_id":151047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e6"} 
[2026-08-05 13:22:43] local.INFO: Extracted packet for processing {"connection_id":151047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e6"} 
[2026-08-05 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648864,"longitude_deg":75.6555712,"latitude_deg":11.9648864,"altitude":75,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-05 13:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194536192001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637152228474880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050942976,"note":"Value kept but may cause issues"} 
[2026-08-05 13:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785916178000,"timestamp_ms":1785916178000,"timestamp_seconds":1785916178,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e63e50"} 
[2026-08-05 13:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 13:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194536192001,"66":12385,"105":206,"83":41984,"24":0,"16":10637152228474880,"45":1738319118050942976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194536192001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:22:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:22:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637152228474880,"km_value":10637152228474.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050942976,"description":"Unknown IO ID 45"} 
[2026-08-05 13:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194536192001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050942976}} 
[2026-08-05 13:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":151047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:22:43] local.INFO: GPS data processed {"connection_id":151047,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:22:43] local.INFO: Acknowledgment sent {"connection_id":151047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:23:14] local.INFO: TCP Data received {"connection_id":151047,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e69058012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e69058012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:23:14] local.INFO: Processing buffer {"connection_id":151047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e69058012d181fc00721b260004b00d42e..."} 
[2026-08-05 13:23:14] local.INFO: Packet analysis {"connection_id":151047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e6"} 
[2026-08-05 13:23:14] local.INFO: Extracted packet for processing {"connection_id":151047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e6"} 
[2026-08-05 13:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648864,"longitude_deg":75.6555712,"latitude_deg":11.9648864,"altitude":75,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-05 13:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194541568001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637152228474880,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050942976,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785916199000,"timestamp_ms":1785916199000,"timestamp_seconds":1785916199,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e69058"} 
[2026-08-05 13:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 13:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194541568001,"66":12374,"105":206,"83":41984,"24":0,"16":10637152228474880,"45":1738319118050942976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194541568001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:23:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:23:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637152228474880,"km_value":10637152228474.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050942976,"description":"Unknown IO ID 45"} 
[2026-08-05 13:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194541568001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050942976}} 
[2026-08-05 13:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":151047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:23:15] local.INFO: GPS data processed {"connection_id":151047,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:23:15] local.INFO: Acknowledgment sent {"connection_id":151047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:23:15] local.INFO: TCP Data received {"connection_id":151048,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:23:15] local.INFO: Processing buffer {"connection_id":151048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:23:15] local.INFO: IMEI packet received {"connection_id":151048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":151048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:23:20] local.INFO: TCP Data received {"connection_id":151048,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:23:20] local.INFO: Processing buffer {"connection_id":151048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:23:20] local.INFO: IMEI packet received {"connection_id":151048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":151048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:23:21] local.INFO: TCP Data received {"connection_id":151048,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:23:21] local.INFO: Processing buffer {"connection_id":151048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:23:21] local.INFO: Packet analysis {"connection_id":151048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:23:21] local.INFO: Extracted packet for processing {"connection_id":151048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 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-08-05 13:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:23: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-08-05 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-08-05 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-08-05 13:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:23: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-08-05 13:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:23:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":151048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:23:21] local.INFO: GPS data processed {"connection_id":151048,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:23:21] local.INFO: Acknowledgment sent {"connection_id":151048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:23:40] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:23:40] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:23:40] local.INFO: IMEI packet received {"connection_id":148431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":148431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:23:46] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:23:46] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:23:46] local.INFO: IMEI packet received {"connection_id":148431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":148431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:23:47] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e6e260012d181e400721b148004a00d72e..."} 
[2026-08-05 13:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e6e260012d181e400721b148004a00d72e..."} 
[2026-08-05 13:23:47] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e6e260012d181e400721b148004a00d72e..."} 
[2026-08-05 13:23:47] local.INFO: Packet analysis {"connection_id":148431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e6"} 
[2026-08-05 13:23:47] local.INFO: Extracted packet for processing {"connection_id":148431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e6"} 
[2026-08-05 13:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194546944001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050942976,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785916220000,"timestamp_ms":1785916220000,"timestamp_seconds":1785916220,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e6e260"} 
[2026-08-05 13:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 13:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194546944001,"66":12363,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1738319118050942976},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194546944001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:23:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050942976,"description":"Unknown IO ID 45"} 
[2026-08-05 13:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194546944001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050942976}} 
[2026-08-05 13:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":148431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:23:47] local.INFO: GPS data processed {"connection_id":148431,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:23:47] local.INFO: Acknowledgment sent {"connection_id":148431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:23:52] local.INFO: TCP Data received {"connection_id":151048,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:23:52] local.INFO: Processing buffer {"connection_id":151048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:23:52] local.INFO: Packet analysis {"connection_id":151048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:23:52] local.INFO: Extracted packet for processing {"connection_id":151048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:23:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 13:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:23:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":151048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:23:52] local.INFO: GPS data processed {"connection_id":151048,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:23:52] local.INFO: Acknowledgment sent {"connection_id":151048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:24:15] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:24:15] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:24:15] local.INFO: IMEI packet received {"connection_id":148642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":148642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:24:18] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e73468012d181e400721b148004a00d72a..."} 
[2026-08-05 13:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e73468012d181e400721b148004a00d72a..."} 
[2026-08-05 13:24:18] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e73468012d181e400721b148004a00d72a..."} 
[2026-08-05 13:24:18] local.INFO: Packet analysis {"connection_id":148431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e7"} 
[2026-08-05 13:24:18] local.INFO: Extracted packet for processing {"connection_id":148431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e7"} 
[2026-08-05 13:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194552320001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785916241000,"timestamp_ms":1785916241000,"timestamp_seconds":1785916241,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e73468"} 
[2026-08-05 13:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 13:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194552320001,"66":12341,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194552320001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:24:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194552320001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":148431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:24:18] local.INFO: GPS data processed {"connection_id":148431,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:24:18] local.INFO: Acknowledgment sent {"connection_id":148431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:24:20] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:24:20] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:24:20] local.INFO: IMEI packet received {"connection_id":148642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":148642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:24:21] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:24:21] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e56390012d7f92c005afd9e8000000e928..."} 
[2026-08-05 13:24:21] local.INFO: Packet analysis {"connection_id":148642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:24:21] local.INFO: Extracted packet for processing {"connection_id":148642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e5"} 
[2026-08-05 13:24:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194450176001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916122000,"timestamp_ms":1785916122000,"timestamp_seconds":1785916122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e56390"} 
[2026-08-05 13:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:24: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-08-05 13:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:24: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-08-05 13:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194450176001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194450176001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:24:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194450176001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":148642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:24:21] local.INFO: GPS data processed {"connection_id":148642,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:24:21] local.INFO: Acknowledgment sent {"connection_id":148642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:24:39] local.INFO: TCP Data received {"connection_id":148643,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:24:39] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:24:39] local.INFO: IMEI packet received {"connection_id":148643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":148643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:24:45] local.INFO: TCP Data received {"connection_id":148643,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:24:45] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:24:45] local.INFO: IMEI packet received {"connection_id":148643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":148643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:24:46] local.INFO: TCP Data received {"connection_id":148643,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e78670012d181e400721b148004a00d72b..."} 
[2026-08-05 13:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e78670012d181e400721b148004a00d72b..."} 
[2026-08-05 13:24:46] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e78670012d181e400721b148004a00d72b..."} 
[2026-08-05 13:24:46] local.INFO: Packet analysis {"connection_id":148643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e7"} 
[2026-08-05 13:24:46] local.INFO: Extracted packet for processing {"connection_id":148643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e7"} 
[2026-08-05 13:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194557696001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785916262000,"timestamp_ms":1785916262000,"timestamp_seconds":1785916262,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e78670"} 
[2026-08-05 13:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 13:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194557696001,"66":12341,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194557696001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:24:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194557696001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":148643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:24:46] local.INFO: GPS data processed {"connection_id":148643,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:24:46] local.INFO: Acknowledgment sent {"connection_id":148643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:24:52] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:24:52] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:24:52] local.INFO: Packet analysis {"connection_id":148642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:24:52] local.INFO: Extracted packet for processing {"connection_id":148642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:24:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194527232001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785916423000,"timestamp_ms":1785916423000,"timestamp_seconds":1785916423,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e9fb58"} 
[2026-08-05 13:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194527232001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194527232001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:24:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:24:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194527232001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":148642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:24:52] local.INFO: GPS data processed {"connection_id":148642,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:24:52] local.INFO: Acknowledgment sent {"connection_id":148642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:25:15] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:25:15] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:25:15] local.INFO: IMEI packet received {"connection_id":148432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":148432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:25:17] local.INFO: TCP Data received {"connection_id":148643,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e7d878012d181e400721b148004a00d72c..."} 
[2026-08-05 13:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e7d878012d181e400721b148004a00d72c..."} 
[2026-08-05 13:25:17] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e7d878012d181e400721b148004a00d72c..."} 
[2026-08-05 13:25:17] local.INFO: Packet analysis {"connection_id":148643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e7"} 
[2026-08-05 13:25:17] local.INFO: Extracted packet for processing {"connection_id":148643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e7"} 
[2026-08-05 13:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194563072001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785916283000,"timestamp_ms":1785916283000,"timestamp_seconds":1785916283,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e7d878"} 
[2026-08-05 13:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 13:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194563072001,"66":12319,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194563072001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:25:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:25:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194563072001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":148643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:25:17] local.INFO: GPS data processed {"connection_id":148643,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:25:17] local.INFO: Acknowledgment sent {"connection_id":148643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:25:20] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:25:20] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:25:20] local.INFO: IMEI packet received {"connection_id":148432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":148432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:25:21] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:25:21] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:25:21] local.INFO: Packet analysis {"connection_id":148432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:25:21] local.INFO: Extracted packet for processing {"connection_id":148432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:25:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194527232001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916423000,"timestamp_ms":1785916423000,"timestamp_seconds":1785916423,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e9fb58"} 
[2026-08-05 13:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:25: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-08-05 13:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:25: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-08-05 13:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194527232001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194527232001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:25:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194527232001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":148432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:25:21] local.INFO: GPS data processed {"connection_id":148432,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:25:21] local.INFO: Acknowledgment sent {"connection_id":148432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:25:39] local.INFO: TCP Data received {"connection_id":148644,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:25:39] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:25:39] local.INFO: IMEI packet received {"connection_id":148644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":148644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:25:45] local.INFO: TCP Data received {"connection_id":148644,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:25:45] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:25:45] local.INFO: IMEI packet received {"connection_id":148644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":148644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:25:48] local.INFO: TCP Data received {"connection_id":148644,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e82a80012d181e400721b148004a00d72a..."} 
[2026-08-05 13:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e82a80012d181e400721b148004a00d72a..."} 
[2026-08-05 13:25:48] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e82a80012d181e400721b148004a00d72a..."} 
[2026-08-05 13:25:48] local.INFO: Packet analysis {"connection_id":148644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e8"} 
[2026-08-05 13:25:48] local.INFO: Extracted packet for processing {"connection_id":148644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e8"} 
[2026-08-05 13:25:48] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194568448001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785916304000,"timestamp_ms":1785916304000,"timestamp_seconds":1785916304,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e82a80"} 
[2026-08-05 13:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 13:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194568448001,"66":12298,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194568448001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:25:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194568448001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":148644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:25:49] local.INFO: GPS data processed {"connection_id":148644,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:25:49] local.INFO: Acknowledgment sent {"connection_id":148644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:25:53] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:25:53] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:25:53] local.INFO: Packet analysis {"connection_id":148432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:25:53] local.INFO: Extracted packet for processing {"connection_id":148432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:25:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194527232001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785916423000,"timestamp_ms":1785916423000,"timestamp_seconds":1785916423,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e9fb58"} 
[2026-08-05 13:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194527232001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194527232001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:25:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:25:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194527232001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":148432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:25:53] local.INFO: GPS data processed {"connection_id":148432,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:25:53] local.INFO: Acknowledgment sent {"connection_id":148432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:26:15] local.INFO: TCP Data received {"connection_id":148645,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:26:15] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:26:15] local.INFO: IMEI packet received {"connection_id":148645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":148645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:26:20] local.INFO: TCP Data received {"connection_id":148644,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e87c88012d181e400721b148004a00d72b..."} 
[2026-08-05 13:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e87c88012d181e400721b148004a00d72b..."} 
[2026-08-05 13:26:20] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e87c88012d181e400721b148004a00d72b..."} 
[2026-08-05 13:26:20] local.INFO: Packet analysis {"connection_id":148644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e8"} 
[2026-08-05 13:26:20] local.INFO: Extracted packet for processing {"connection_id":148644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e8"} 
[2026-08-05 13:26:20] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194573824001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785916325000,"timestamp_ms":1785916325000,"timestamp_seconds":1785916325,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e87c88"} 
[2026-08-05 13:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":7998392938210000897,"corrected_to":0} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3394046950152267745,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468815036622,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3873595393,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2974285898,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3396272128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":75,"raw_value":59723272597536768,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513887957888467156,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,202,159,216,45,64,177,74,44,10,66,134,43,52,1,240,53,227,208,33,4,113,205,144,31,96,46,239,48,2,37,7,75,192],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":202,"original":7998392938210000897,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 13:26:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332498534195265536,"timestamp_seconds":5332498534195266.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 13:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194573824001,"66":12287,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194573824001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:26:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:26:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194573824001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":148644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:26:20] local.INFO: GPS data processed {"connection_id":148644,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:26:20] local.INFO: Acknowledgment sent {"connection_id":148644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:26:20] local.INFO: TCP Data received {"connection_id":148645,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:26:20] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:26:20] local.INFO: IMEI packet received {"connection_id":148645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":148645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:26:21] local.INFO: TCP Data received {"connection_id":148645,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:26:21] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:26:21] local.INFO: Packet analysis {"connection_id":148645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:26:21] local.INFO: Extracted packet for processing {"connection_id":148645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:26:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194527232001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916423000,"timestamp_ms":1785916423000,"timestamp_seconds":1785916423,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e9fb58"} 
[2026-08-05 13:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:26: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-08-05 13:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:26: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-08-05 13:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194527232001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194527232001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:26:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194527232001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":148645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:26:21] local.INFO: GPS data processed {"connection_id":148645,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:26:21] local.INFO: Acknowledgment sent {"connection_id":148645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:26:48] local.INFO: TCP Data received {"connection_id":151049,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:26:48] local.INFO: Processing buffer {"connection_id":151049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:26:48] local.INFO: IMEI packet received {"connection_id":151049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":151049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:26:50] local.INFO: TCP Data received {"connection_id":151049,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:26:50] local.INFO: Processing buffer {"connection_id":151049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:26:50] local.INFO: IMEI packet received {"connection_id":151049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":151049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:26:52] local.INFO: TCP Data received {"connection_id":148645,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:26:52] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:26:52] local.INFO: Packet analysis {"connection_id":148645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:26:52] local.INFO: Extracted packet for processing {"connection_id":148645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:26:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194527232001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785916423000,"timestamp_ms":1785916423000,"timestamp_seconds":1785916423,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e9fb58"} 
[2026-08-05 13:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194527232001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194527232001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:26:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194527232001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":148645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:26:52] local.INFO: GPS data processed {"connection_id":148645,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:26:52] local.INFO: Acknowledgment sent {"connection_id":148645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:27:16] local.INFO: TCP Data received {"connection_id":151049,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e8ce90012d181e400721b148004a00d72b..."} 
[2026-08-05 13:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e8ce90012d181e400721b148004a00d72b..."} 
[2026-08-05 13:27:16] local.INFO: Processing buffer {"connection_id":151049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e8ce90012d181e400721b148004a00d72b..."} 
[2026-08-05 13:27:16] local.INFO: Packet analysis {"connection_id":151049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e8"} 
[2026-08-05 13:27:16] local.INFO: Extracted packet for processing {"connection_id":151049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e8"} 
[2026-08-05 13:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194579200001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785916346000,"timestamp_ms":1785916346000,"timestamp_seconds":1785916346,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e8ce90"} 
[2026-08-05 13:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:27: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-08-05 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 13:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194579200001,"66":12298,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194579200001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:27:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:27:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194579200001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":151049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:27:16] local.INFO: GPS data processed {"connection_id":151049,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:27:16] local.INFO: Acknowledgment sent {"connection_id":151049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:27:20] local.INFO: TCP Data received {"connection_id":151050,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:27:20] local.INFO: Processing buffer {"connection_id":151050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:27:20] local.INFO: IMEI packet received {"connection_id":151050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":151050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:27:25] local.INFO: TCP Data received {"connection_id":151050,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:27:25] local.INFO: Processing buffer {"connection_id":151050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:27:25] local.INFO: IMEI packet received {"connection_id":151050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":151050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:27:26] local.INFO: TCP Data received {"connection_id":151050,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:27:26] local.INFO: Processing buffer {"connection_id":151050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:27:26] local.INFO: Packet analysis {"connection_id":151050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:27:26] local.INFO: Extracted packet for processing {"connection_id":151050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194527232001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785916423000,"timestamp_ms":1785916423000,"timestamp_seconds":1785916423,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e9fb58"} 
[2026-08-05 13:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194527232001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194527232001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:27:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194527232001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":151050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:27:26] local.INFO: GPS data processed {"connection_id":151050,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:27:26] local.INFO: Acknowledgment sent {"connection_id":151050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:27:30] local.INFO: TCP Data received {"connection_id":151050,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:27:30] local.INFO: Processing buffer {"connection_id":151050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:27:30] local.INFO: Packet analysis {"connection_id":151050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:27:30] local.INFO: Extracted packet for processing {"connection_id":151050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194527232001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785916423000,"timestamp_ms":1785916423000,"timestamp_seconds":1785916423,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e9fb58"} 
[2026-08-05 13:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194527232001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194527232001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:27:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194527232001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":151050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:27:30] local.INFO: GPS data processed {"connection_id":151050,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:27:30] local.INFO: Acknowledgment sent {"connection_id":151050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:27:37] local.INFO: TCP Data received {"connection_id":148433,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:27:37] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:27:37] local.INFO: IMEI packet received {"connection_id":148433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":148433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:27:40] local.INFO: TCP Data received {"connection_id":148433,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:27:40] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:27:40] local.INFO: IMEI packet received {"connection_id":148433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":148433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:27:45] local.INFO: TCP Data received {"connection_id":148433,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:27:45] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:27:45] local.INFO: IMEI packet received {"connection_id":148433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":148433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:27:46] local.INFO: TCP Data received {"connection_id":148433,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e972a0012d181e400721b148004a00d72d..."} 
[2026-08-05 13:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e972a0012d181e400721b148004a00d72d..."} 
[2026-08-05 13:27:46] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e972a0012d181e400721b148004a00d72d..."} 
[2026-08-05 13:27:46] local.INFO: Packet analysis {"connection_id":148433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:27:46] local.INFO: Extracted packet for processing {"connection_id":148433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194589952001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785916388000,"timestamp_ms":1785916388000,"timestamp_seconds":1785916388,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e972a0"} 
[2026-08-05 13:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":8430738502437568513,"corrected_to":0} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3393776367212619746,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513886755297558743,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":74,"raw_value":60563299481157632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569839767758,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3889723393,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2974285898,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 13:27:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3396665344,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:46] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,202,159,206,45,64,177,74,43,10,66,124,42,1,240,227,208,33,4,113,205,134,30,72,239,48,2,37,7,46],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":202,"original":8430738502437568513,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 13:27:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332498547080167424,"timestamp_seconds":5332498547080167.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 13:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194589952001,"66":12287,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194589952001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:27:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194589952001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":148433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:27:46] local.INFO: GPS data processed {"connection_id":148433,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:27:46] local.INFO: Acknowledgment sent {"connection_id":148433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:27:48] local.INFO: TCP Data received {"connection_id":151049,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e92098012d181e400721b148004a00d72d..."} 
[2026-08-05 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e92098012d181e400721b148004a00d72d..."} 
[2026-08-05 13:27:48] local.INFO: Processing buffer {"connection_id":151049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e92098012d181e400721b148004a00d72d..."} 
[2026-08-05 13:27:48] local.INFO: Packet analysis {"connection_id":151049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:27:48] local.INFO: Extracted packet for processing {"connection_id":151049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194584576001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785916367000,"timestamp_ms":1785916367000,"timestamp_seconds":1785916367,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e92098"} 
[2026-08-05 13:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":8430738502437568513,"corrected_to":0} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3393866561525835745,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":74,"raw_value":60567697527668736,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019327402190,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3884347393,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2974285898,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3396665344,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513887957888467156,"note":"Value kept but may cause issues"} 
[2026-08-05 13:27:48] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,202,159,124,45,64,177,74,43,10,66,42,216,1,240,31,227,208,33,4,113,205,52,30,72,239,48,2,37,7,192,46],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":202,"original":8430738502437568513,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 13:27:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332498538490232832,"timestamp_seconds":5332498538490233.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 13:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194584576001,"66":12298,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194584576001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:27:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:27:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194584576001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":151049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:27:48] local.INFO: GPS data processed {"connection_id":151049,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:27:48] local.INFO: Acknowledgment sent {"connection_id":151049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:28:15] local.INFO: TCP Data received {"connection_id":148646,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:28:15] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:28:15] local.INFO: IMEI packet received {"connection_id":148646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":148646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:28:17] local.INFO: TCP Data received {"connection_id":148433,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e9c4a8012d181e400721b148004a00d72c..."} 
[2026-08-05 13:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e9c4a8012d181e400721b148004a00d72c..."} 
[2026-08-05 13:28:17] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e9c4a8012d181e400721b148004a00d72c..."} 
[2026-08-05 13:28:17] local.INFO: Packet analysis {"connection_id":148433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:28:17] local.INFO: Extracted packet for processing {"connection_id":148433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194595328001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785916409000,"timestamp_ms":1785916409000,"timestamp_seconds":1785916409,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e9c4a8"} 
[2026-08-05 13:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 13:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194595328001,"66":12287,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194595328001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:28:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194595328001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":148433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:28:17] local.INFO: GPS data processed {"connection_id":148433,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:28:17] local.INFO: Acknowledgment sent {"connection_id":148433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:28:20] local.INFO: TCP Data received {"connection_id":148646,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:28:20] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:28:20] local.INFO: IMEI packet received {"connection_id":148646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":148646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:28:21] local.INFO: TCP Data received {"connection_id":148646,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:28:21] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:28:21] local.INFO: Packet analysis {"connection_id":148646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:28:21] local.INFO: Extracted packet for processing {"connection_id":148646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194527232001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916423000,"timestamp_ms":1785916423000,"timestamp_seconds":1785916423,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e9fb58"} 
[2026-08-05 13:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:28: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-08-05 13:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:28: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-08-05 13: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-08-05 13:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194527232001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194527232001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:28:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194527232001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":148646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:28:21] local.INFO: GPS data processed {"connection_id":148646,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:28:21] local.INFO: Acknowledgment sent {"connection_id":148646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:28:40] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:28:40] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:28:40] local.INFO: IMEI packet received {"connection_id":148434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":148434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:28:40] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:28:40] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:28:40] local.INFO: IMEI packet received {"connection_id":148434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":148434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:28:45] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:28:45] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:28:45] local.INFO: IMEI packet received {"connection_id":148434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":148434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:28:45] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ed4b00012d181e400721b148004a00d72b..."} 
[2026-08-05 13:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ed4b00012d181e400721b148004a00d72b..."} 
[2026-08-05 13:28:45] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ed4b00012d181e400721b148004a00d72b..."} 
[2026-08-05 13:28:45] local.INFO: Packet analysis {"connection_id":148434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ed"} 
[2026-08-05 13:28:45] local.INFO: Extracted packet for processing {"connection_id":148434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ed"} 
[2026-08-05 13:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194654464001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785916640000,"timestamp_ms":1785916640000,"timestamp_seconds":1785916640,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ed4b00"} 
[2026-08-05 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-08-05 13:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-05 13:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 13:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194654464001,"66":12265,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194654464001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:28:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194654464001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":148434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:28:46] local.INFO: GPS data processed {"connection_id":148434,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:28:46] local.INFO: Acknowledgment sent {"connection_id":148434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:28:52] local.INFO: TCP Data received {"connection_id":148646,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:28:52] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:28:52] local.INFO: Packet analysis {"connection_id":148646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:28:52] local.INFO: Extracted packet for processing {"connection_id":148646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:28:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194527232001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785916423000,"timestamp_ms":1785916423000,"timestamp_seconds":1785916423,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e9fb58"} 
[2026-08-05 13:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194527232001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194527232001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:28:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194527232001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":148646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:28:52] local.INFO: GPS data processed {"connection_id":148646,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:28:52] local.INFO: Acknowledgment sent {"connection_id":148646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:29:15] local.INFO: TCP Data received {"connection_id":148435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:29:15] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:29:15] local.INFO: IMEI packet received {"connection_id":148435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":148435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:29:17] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ed9d08012d181e400721b148004a00d72b..."} 
[2026-08-05 13:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ed9d08012d181e400721b148004a00d72b..."} 
[2026-08-05 13:29:17] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ed9d08012d181e400721b148004a00d72b..."} 
[2026-08-05 13:29:17] local.INFO: Packet analysis {"connection_id":148434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ed"} 
[2026-08-05 13:29:17] local.INFO: Extracted packet for processing {"connection_id":148434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ed"} 
[2026-08-05 13:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194659840001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785916661000,"timestamp_ms":1785916661000,"timestamp_seconds":1785916661,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ed9d08"} 
[2026-08-05 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-08-05 13:29: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-08-05 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 13:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 13:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194659840001,"66":12232,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194659840001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:29:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194659840001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":148434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:29:17] local.INFO: GPS data processed {"connection_id":148434,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:29:17] local.INFO: Acknowledgment sent {"connection_id":148434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:29:20] local.INFO: TCP Data received {"connection_id":148435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:29:20] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:29:20] local.INFO: IMEI packet received {"connection_id":148435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":148435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:29:21] local.INFO: TCP Data received {"connection_id":148435,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:29:21] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0e9fb58012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:29:21] local.INFO: Packet analysis {"connection_id":148435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:29:21] local.INFO: Extracted packet for processing {"connection_id":148435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0e9"} 
[2026-08-05 13:29:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194527232001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916423000,"timestamp_ms":1785916423000,"timestamp_seconds":1785916423,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0e9fb58"} 
[2026-08-05 13:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:29: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-08-05 13:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:29: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-08-05 13:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194527232001,"66":25593,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194527232001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:29:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194527232001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":148435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:29:21] local.INFO: GPS data processed {"connection_id":148435,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:29:21] local.INFO: Acknowledgment sent {"connection_id":148435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:29:40] local.INFO: TCP Data received {"connection_id":149635,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:29:40] local.INFO: Processing buffer {"connection_id":149635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:29:40] local.INFO: IMEI packet received {"connection_id":149635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":149635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:29:43] local.INFO: TCP Data received {"connection_id":149635,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:29:43] local.INFO: Processing buffer {"connection_id":149635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:29:43] local.INFO: IMEI packet received {"connection_id":149635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":149635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:29:45] local.INFO: TCP Data received {"connection_id":149635,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:29:45] local.INFO: Processing buffer {"connection_id":149635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:29:45] local.INFO: IMEI packet received {"connection_id":149635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":149635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:29:45] local.INFO: TCP Data received {"connection_id":149635,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0edef10012d181e400721b148004a00d72d..."} 
[2026-08-05 13:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0edef10012d181e400721b148004a00d72d..."} 
[2026-08-05 13:29:45] local.INFO: Processing buffer {"connection_id":149635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0edef10012d181e400721b148004a00d72d..."} 
[2026-08-05 13:29:45] local.INFO: Packet analysis {"connection_id":149635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ed"} 
[2026-08-05 13:29:45] local.INFO: Extracted packet for processing {"connection_id":149635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ed"} 
[2026-08-05 13:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194665216001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13: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-08-05 13:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785916682000,"timestamp_ms":1785916682000,"timestamp_seconds":1785916682,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0edef10"} 
[2026-08-05 13:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13: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-08-05 13: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 13:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194665216001,"66":12232,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194665216001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:29:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194665216001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":149635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:29:45] local.INFO: GPS data processed {"connection_id":149635,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:29:45] local.INFO: Acknowledgment sent {"connection_id":149635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:29:50] local.INFO: TCP Data received {"connection_id":149635,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee4118012d181e400721b148004a00d72d..."} 
[2026-08-05 13:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee4118012d181e400721b148004a00d72d..."} 
[2026-08-05 13:29:50] local.INFO: Processing buffer {"connection_id":149635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee4118012d181e400721b148004a00d72d..."} 
[2026-08-05 13:29:50] local.INFO: Packet analysis {"connection_id":149635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:29:50] local.INFO: Extracted packet for processing {"connection_id":149635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194670592001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785916703000,"timestamp_ms":1785916703000,"timestamp_seconds":1785916703,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee4118"} 
[2026-08-05 13:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 13:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194670592001,"66":12287,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194670592001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:29:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194670592001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":149635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:29:50] local.INFO: GPS data processed {"connection_id":149635,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:29:50] local.INFO: Acknowledgment sent {"connection_id":149635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:29:52] local.INFO: TCP Data received {"connection_id":148435,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:29:52] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:29:52] local.INFO: Packet analysis {"connection_id":148435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:29:52] local.INFO: Extracted packet for processing {"connection_id":148435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:29:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194604288001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785916724000,"timestamp_ms":1785916724000,"timestamp_seconds":1785916724,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee9320"} 
[2026-08-05 13:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 13:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194604288001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194604288001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:29:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194604288001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":148435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:29:52] local.INFO: GPS data processed {"connection_id":148435,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:29:52] local.INFO: Acknowledgment sent {"connection_id":148435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:30:14] local.INFO: TCP Data received {"connection_id":151051,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:30:14] local.INFO: Processing buffer {"connection_id":151051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:30:14] local.INFO: IMEI packet received {"connection_id":151051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":151051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:30:20] local.INFO: TCP Data received {"connection_id":151051,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:30:20] local.INFO: Processing buffer {"connection_id":151051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:30:20] local.INFO: IMEI packet received {"connection_id":151051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":151051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:30:21] local.INFO: TCP Data received {"connection_id":151051,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:30:21] local.INFO: Processing buffer {"connection_id":151051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:30:21] local.INFO: Packet analysis {"connection_id":151051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:30:21] local.INFO: Extracted packet for processing {"connection_id":151051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:30:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194604288001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916724000,"timestamp_ms":1785916724000,"timestamp_seconds":1785916724,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee9320"} 
[2026-08-05 13:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:30: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-08-05 13: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 13:30: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-08-05 13:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194604288001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194604288001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:30:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194604288001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":151051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:30:21] local.INFO: GPS data processed {"connection_id":151051,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:30:21] local.INFO: Acknowledgment sent {"connection_id":151051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:30:27] local.INFO: TCP Data received {"connection_id":149635,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee9320012d181e400721b148004a00d72d..."} 
[2026-08-05 13:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee9320012d181e400721b148004a00d72d..."} 
[2026-08-05 13:30:27] local.INFO: Processing buffer {"connection_id":149635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee9320012d181e400721b148004a00d72d..."} 
[2026-08-05 13:30:27] local.INFO: Packet analysis {"connection_id":149635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:30:27] local.INFO: Extracted packet for processing {"connection_id":149635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194675968001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785916724000,"timestamp_ms":1785916724000,"timestamp_seconds":1785916724,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee9320"} 
[2026-08-05 13:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 13:30: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-08-05 13:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194675968001,"66":12287,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194675968001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:30:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194675968001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":149635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:30:28] local.INFO: GPS data processed {"connection_id":149635,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:30:28] local.INFO: Acknowledgment sent {"connection_id":149635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:30:39] local.INFO: TCP Data received {"connection_id":151052,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:30:39] local.INFO: Processing buffer {"connection_id":151052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:30:39] local.INFO: IMEI packet received {"connection_id":151052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":151052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:30:45] local.INFO: TCP Data received {"connection_id":151052,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:30:45] local.INFO: Processing buffer {"connection_id":151052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:30:45] local.INFO: IMEI packet received {"connection_id":151052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":151052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:30:49] local.INFO: TCP Data received {"connection_id":151052,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0eee528012d181e400721b148004a00d72c..."} 
[2026-08-05 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0eee528012d181e400721b148004a00d72c..."} 
[2026-08-05 13:30:49] local.INFO: Processing buffer {"connection_id":151052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0eee528012d181e400721b148004a00d72c..."} 
[2026-08-05 13:30:49] local.INFO: Packet analysis {"connection_id":151052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:30:49] local.INFO: Extracted packet for processing {"connection_id":151052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194681344001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785916745000,"timestamp_ms":1785916745000,"timestamp_seconds":1785916745,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0eee528"} 
[2026-08-05 13:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 13:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194681344001,"66":12287,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194681344001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:30:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194681344001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":151052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:30:49] local.INFO: GPS data processed {"connection_id":151052,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:30:49] local.INFO: Acknowledgment sent {"connection_id":151052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:30:52] local.INFO: TCP Data received {"connection_id":151051,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:30:52] local.INFO: Processing buffer {"connection_id":151051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:30:52] local.INFO: Packet analysis {"connection_id":151051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:30:52] local.INFO: Extracted packet for processing {"connection_id":151051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:30:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194604288001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785916724000,"timestamp_ms":1785916724000,"timestamp_seconds":1785916724,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee9320"} 
[2026-08-05 13:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 13:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194604288001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194604288001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:30:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194604288001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":151051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:30:52] local.INFO: GPS data processed {"connection_id":151051,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:30:52] local.INFO: Acknowledgment sent {"connection_id":151051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:31:20] local.INFO: TCP Data received {"connection_id":149636,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:31:20] local.INFO: Processing buffer {"connection_id":149636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:31:20] local.INFO: IMEI packet received {"connection_id":149636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":149636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:31:20] local.INFO: TCP Data received {"connection_id":151052,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ef3730012d181e400721b148004a00d72e..."} 
[2026-08-05 13:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ef3730012d181e400721b148004a00d72e..."} 
[2026-08-05 13:31:20] local.INFO: Processing buffer {"connection_id":151052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ef3730012d181e400721b148004a00d72e..."} 
[2026-08-05 13:31:20] local.INFO: Packet analysis {"connection_id":151052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ef"} 
[2026-08-05 13:31:20] local.INFO: Extracted packet for processing {"connection_id":151052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ef"} 
[2026-08-05 13:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194686720001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785916766000,"timestamp_ms":1785916766000,"timestamp_seconds":1785916766,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ef3730"} 
[2026-08-05 13:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 13:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194686720001,"66":12265,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194686720001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:31:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194686720001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":151052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:31:20] local.INFO: GPS data processed {"connection_id":151052,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:31:20] local.INFO: Acknowledgment sent {"connection_id":151052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:31:25] local.INFO: TCP Data received {"connection_id":149636,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:31:25] local.INFO: Processing buffer {"connection_id":149636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:31:25] local.INFO: IMEI packet received {"connection_id":149636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":149636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:31:26] local.INFO: TCP Data received {"connection_id":149636,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:31:26] local.INFO: Processing buffer {"connection_id":149636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:31:26] local.INFO: Packet analysis {"connection_id":149636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:31:26] local.INFO: Extracted packet for processing {"connection_id":149636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194604288001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785916724000,"timestamp_ms":1785916724000,"timestamp_seconds":1785916724,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee9320"} 
[2026-08-05 13:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 13:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194604288001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194604288001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:31:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194604288001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":149636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:31:26] local.INFO: GPS data processed {"connection_id":149636,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:31:26] local.INFO: Acknowledgment sent {"connection_id":149636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:31:30] local.INFO: TCP Data received {"connection_id":149636,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:31:30] local.INFO: Processing buffer {"connection_id":149636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:31:30] local.INFO: Packet analysis {"connection_id":149636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:31:30] local.INFO: Extracted packet for processing {"connection_id":149636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194604288001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785916724000,"timestamp_ms":1785916724000,"timestamp_seconds":1785916724,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee9320"} 
[2026-08-05 13:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 13:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194604288001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194604288001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:31:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194604288001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":149636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:31:30] local.INFO: GPS data processed {"connection_id":149636,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:31:30] local.INFO: Acknowledgment sent {"connection_id":149636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:31:39] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:31:39] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:31:39] local.INFO: IMEI packet received {"connection_id":148436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":148436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:31:45] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:31:45] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:31:45] local.INFO: IMEI packet received {"connection_id":148436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":148436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:31:46] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ef8938012d181e400721b148004a00d72d..."} 
[2026-08-05 13:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ef8938012d181e400721b148004a00d72d..."} 
[2026-08-05 13:31:46] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ef8938012d181e400721b148004a00d72d..."} 
[2026-08-05 13:31:46] local.INFO: Packet analysis {"connection_id":148436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ef"} 
[2026-08-05 13:31:46] local.INFO: Extracted packet for processing {"connection_id":148436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ef"} 
[2026-08-05 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194692096001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785916787000,"timestamp_ms":1785916787000,"timestamp_seconds":1785916787,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ef8938"} 
[2026-08-05 13:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:31: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-08-05 13:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 13:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194692096001,"66":12298,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194692096001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194692096001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":148436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:31:46] local.INFO: GPS data processed {"connection_id":148436,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:31:46] local.INFO: Acknowledgment sent {"connection_id":148436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:32:15] local.INFO: TCP Data received {"connection_id":151053,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:32:15] local.INFO: Processing buffer {"connection_id":151053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:32:15] local.INFO: IMEI packet received {"connection_id":151053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":151053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:32:17] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0efdb40012d181e400721b148004a00d72e..."} 
[2026-08-05 13:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0efdb40012d181e400721b148004a00d72e..."} 
[2026-08-05 13:32:17] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0efdb40012d181e400721b148004a00d72e..."} 
[2026-08-05 13:32:17] local.INFO: Packet analysis {"connection_id":148436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ef"} 
[2026-08-05 13:32:17] local.INFO: Extracted packet for processing {"connection_id":148436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ef"} 
[2026-08-05 13:32:17] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194697472001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785916808000,"timestamp_ms":1785916808000,"timestamp_seconds":1785916808,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0efdb40"} 
[2026-08-05 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-08-05 13:32: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-08-05 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":8430738502437568513,"corrected_to":0} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3391972480948299746,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513886755297558743,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":74,"raw_value":60564398992785408,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797378306254,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3997243393,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2974285898,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495786,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3396665344,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:17] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,202,159,55,45,64,177,74,46,10,66,229,44,147,1,240,255,227,208,33,4,113,205,239,30,72,47,2,37,7,43],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":202,"original":8430738502437568513,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 13:32:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332498547080167424,"timestamp_seconds":5332498547080167.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 13:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194697472001,"66":12298,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194697472001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:32:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:32:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194697472001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":148436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:32:17] local.INFO: GPS data processed {"connection_id":148436,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:32:17] local.INFO: Acknowledgment sent {"connection_id":148436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:32:20] local.INFO: TCP Data received {"connection_id":151053,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:32:20] local.INFO: Processing buffer {"connection_id":151053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:32:20] local.INFO: IMEI packet received {"connection_id":151053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":151053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:32:21] local.INFO: TCP Data received {"connection_id":151053,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:32:21] local.INFO: Processing buffer {"connection_id":151053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:32:21] local.INFO: Packet analysis {"connection_id":151053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:32:21] local.INFO: Extracted packet for processing {"connection_id":151053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:32:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194604288001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916724000,"timestamp_ms":1785916724000,"timestamp_seconds":1785916724,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee9320"} 
[2026-08-05 13:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 13:32: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-08-05 13:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194604288001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194604288001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:32:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194604288001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":151053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:32:21] local.INFO: GPS data processed {"connection_id":151053,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:32:21] local.INFO: Acknowledgment sent {"connection_id":151053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:32:43] local.INFO: TCP Data received {"connection_id":149637,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:32:43] local.INFO: Processing buffer {"connection_id":149637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:32:43] local.INFO: IMEI packet received {"connection_id":149637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":149637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:32:44] local.INFO: TCP Data received {"connection_id":149637,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:32:44] local.INFO: Processing buffer {"connection_id":149637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:32:44] local.INFO: IMEI packet received {"connection_id":149637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":149637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:32:50] local.INFO: TCP Data received {"connection_id":149637,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:32:50] local.INFO: Processing buffer {"connection_id":149637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:32:50] local.INFO: IMEI packet received {"connection_id":149637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":149637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:32:50] local.INFO: TCP Data received {"connection_id":149637,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f02d48012d181e400721b148004a00d72d..."} 
[2026-08-05 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f02d48012d181e400721b148004a00d72d..."} 
[2026-08-05 13:32:50] local.INFO: Processing buffer {"connection_id":149637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f02d48012d181e400721b148004a00d72d..."} 
[2026-08-05 13:32:50] local.INFO: Packet analysis {"connection_id":149637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f0"} 
[2026-08-05 13:32:50] local.INFO: Extracted packet for processing {"connection_id":149637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f0"} 
[2026-08-05 13:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194702848001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785916829000,"timestamp_ms":1785916829000,"timestamp_seconds":1785916829,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f02d48"} 
[2026-08-05 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-08-05 13:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185637,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":8430738502437568513,"corrected_to":0} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3391882286635083746,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513886755297558743,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":74,"raw_value":60566598016040960,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797378306254,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4002619393,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2974285898,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3396665344,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,202,159,137,45,64,177,74,10,66,55,46,229,1,240,255,227,208,33,4,113,205,65,30,72,239,47,2,37,7,43],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":202,"original":8430738502437568513,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 13:32:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332498551375134720,"timestamp_seconds":5332498551375135.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 13:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194702848001,"66":11406,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194702848001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:32:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194702848001,"power":11406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":149637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:32:51] local.INFO: GPS data processed {"connection_id":149637,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:32:51] local.INFO: Acknowledgment sent {"connection_id":149637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:32:52] local.INFO: TCP Data received {"connection_id":151053,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:32:52] local.INFO: Processing buffer {"connection_id":151053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:32:52] local.INFO: Packet analysis {"connection_id":151053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:32:52] local.INFO: Extracted packet for processing {"connection_id":151053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:32:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194604288001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785916724000,"timestamp_ms":1785916724000,"timestamp_seconds":1785916724,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee9320"} 
[2026-08-05 13:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 13:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194604288001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194604288001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:32:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194604288001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":151053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:32:52] local.INFO: GPS data processed {"connection_id":151053,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:32:52] local.INFO: Acknowledgment sent {"connection_id":151053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:33:15] local.INFO: TCP Data received {"connection_id":151054,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:33:15] local.INFO: Processing buffer {"connection_id":151054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:33:15] local.INFO: IMEI packet received {"connection_id":151054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":151054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:33:20] local.INFO: TCP Data received {"connection_id":151054,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:33:20] local.INFO: Processing buffer {"connection_id":151054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:33:20] local.INFO: IMEI packet received {"connection_id":151054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":151054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:33:21] local.INFO: TCP Data received {"connection_id":151054,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:33:21] local.INFO: Processing buffer {"connection_id":151054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:33:21] local.INFO: Packet analysis {"connection_id":151054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:33:21] local.INFO: Extracted packet for processing {"connection_id":151054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:33:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194604288001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916724000,"timestamp_ms":1785916724000,"timestamp_seconds":1785916724,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee9320"} 
[2026-08-05 13:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:33: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-08-05 13:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 13:33: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-08-05 13:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194604288001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194604288001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194604288001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":151054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:33:21] local.INFO: GPS data processed {"connection_id":151054,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:33:21] local.INFO: Acknowledgment sent {"connection_id":151054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:33:21] local.INFO: TCP Data received {"connection_id":149637,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f07f50012d181e400721b148004a00d72e..."} 
[2026-08-05 13:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f07f50012d181e400721b148004a00d72e..."} 
[2026-08-05 13:33:21] local.INFO: Processing buffer {"connection_id":149637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f07f50012d181e400721b148004a00d72e..."} 
[2026-08-05 13:33:21] local.INFO: Packet analysis {"connection_id":149637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f0"} 
[2026-08-05 13:33:21] local.INFO: Extracted packet for processing {"connection_id":149637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f0"} 
[2026-08-05 13:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648584,"longitude_deg":75.6555328,"latitude_deg":11.9648584,"altitude":74,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-08-05 13:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194708224001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10637177998278656,"note":"Value kept but may cause issues"} 
[2026-08-05 13:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585805312,"note":"Value kept but may cause issues"} 
[2026-08-05 13:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916850000,"timestamp_ms":1785916850000,"timestamp_seconds":1785916850,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f07f50"} 
[2026-08-05 13:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:33: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-08-05 13:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-08-05 13:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194708224001,"66":13319,"105":206,"83":41984,"24":0,"16":10637177998278656,"45":1737896905585805312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194708224001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10637177998278656,"km_value":10637177998278.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585805312,"description":"Unknown IO ID 45"} 
[2026-08-05 13:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194708224001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585805312}} 
[2026-08-05 13:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":149637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:33:22] local.INFO: GPS data processed {"connection_id":149637,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:33:22] local.INFO: Acknowledgment sent {"connection_id":149637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:33:38] local.INFO: TCP Data received {"connection_id":148647,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:38] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:38] local.INFO: IMEI packet received {"connection_id":148647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":148647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:33:39] local.INFO: TCP Data received {"connection_id":148647,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:39] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:39] local.INFO: IMEI packet received {"connection_id":148647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":148647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:33:40] local.INFO: TCP Data received {"connection_id":148647,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:40] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:40] local.INFO: IMEI packet received {"connection_id":148647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":148647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:33:40] local.INFO: TCP Data received {"connection_id":148647,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:40] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:33:40] local.INFO: IMEI packet received {"connection_id":148647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":148647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:33:55] local.INFO: TCP Data received {"connection_id":151054,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:33:55] local.INFO: Processing buffer {"connection_id":151054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:33:55] local.INFO: Packet analysis {"connection_id":151054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:33:55] local.INFO: Extracted packet for processing {"connection_id":151054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194604288001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785916724000,"timestamp_ms":1785916724000,"timestamp_seconds":1785916724,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee9320"} 
[2026-08-05 13:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:33: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-08-05 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 13:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194604288001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194604288001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:33:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194604288001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":151054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:33:55] local.INFO: GPS data processed {"connection_id":151054,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:33:55] local.INFO: Acknowledgment sent {"connection_id":151054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:34:15] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:34:15] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:34:15] local.INFO: IMEI packet received {"connection_id":148437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":148437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:34:20] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:34:20] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:34:20] local.INFO: IMEI packet received {"connection_id":148437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":148437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:34:21] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:34:21] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ee9320012d7f92c005afd9e8000000e927..."} 
[2026-08-05 13:34:21] local.INFO: Packet analysis {"connection_id":148437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:34:21] local.INFO: Extracted packet for processing {"connection_id":148437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ee"} 
[2026-08-05 13:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194604288001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785916724000,"timestamp_ms":1785916724000,"timestamp_seconds":1785916724,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ee9320"} 
[2026-08-05 13:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:34: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-08-05 13:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 13:34: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-08-05 13:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194604288001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194604288001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:34:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194604288001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":148437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:34:21] local.INFO: GPS data processed {"connection_id":148437,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:34:21] local.INFO: Acknowledgment sent {"connection_id":148437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:34:52] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:34:52] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:34:52] local.INFO: Packet analysis {"connection_id":148437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:34:52] local.INFO: Extracted packet for processing {"connection_id":148437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:34:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194681344001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785917025000,"timestamp_ms":1785917025000,"timestamp_seconds":1785917025,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f32ae8"} 
[2026-08-05 13:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194681344001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194681344001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:34:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194681344001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":148437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:34:52] local.INFO: GPS data processed {"connection_id":148437,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:34:52] local.INFO: Acknowledgment sent {"connection_id":148437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:35:14] local.INFO: TCP Data received {"connection_id":149638,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:35:14] local.INFO: Processing buffer {"connection_id":149638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:35:14] local.INFO: IMEI packet received {"connection_id":149638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":149638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:35:20] local.INFO: TCP Data received {"connection_id":149638,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:35:20] local.INFO: Processing buffer {"connection_id":149638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:35:20] local.INFO: IMEI packet received {"connection_id":149638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":149638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:35:21] local.INFO: TCP Data received {"connection_id":149638,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:35:21] local.INFO: Processing buffer {"connection_id":149638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:35:21] local.INFO: Packet analysis {"connection_id":149638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:35:21] local.INFO: Extracted packet for processing {"connection_id":149638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194681344001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917025000,"timestamp_ms":1785917025000,"timestamp_seconds":1785917025,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f32ae8"} 
[2026-08-05 13:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:35: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-08-05 13:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:35: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-08-05 13:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194681344001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194681344001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:35:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194681344001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":149638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:35:21] local.INFO: GPS data processed {"connection_id":149638,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:35:21] local.INFO: Acknowledgment sent {"connection_id":149638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:35:52] local.INFO: TCP Data received {"connection_id":149638,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:35:52] local.INFO: Processing buffer {"connection_id":149638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:35:52] local.INFO: Packet analysis {"connection_id":149638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:35:52] local.INFO: Extracted packet for processing {"connection_id":149638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:35:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194681344001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785917025000,"timestamp_ms":1785917025000,"timestamp_seconds":1785917025,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f32ae8"} 
[2026-08-05 13:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194681344001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194681344001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:35:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194681344001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":149638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:35:52] local.INFO: GPS data processed {"connection_id":149638,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:35:52] local.INFO: Acknowledgment sent {"connection_id":149638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:36:20] local.INFO: TCP Data received {"connection_id":151055,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:36:20] local.INFO: Processing buffer {"connection_id":151055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:36:20] local.INFO: IMEI packet received {"connection_id":151055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":151055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:36:25] local.INFO: TCP Data received {"connection_id":151055,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:36:25] local.INFO: Processing buffer {"connection_id":151055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:36:25] local.INFO: IMEI packet received {"connection_id":151055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":151055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:36:26] local.INFO: TCP Data received {"connection_id":151055,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:36:26] local.INFO: Processing buffer {"connection_id":151055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:36:26] local.INFO: Packet analysis {"connection_id":151055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:36:26] local.INFO: Extracted packet for processing {"connection_id":151055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194681344001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785917025000,"timestamp_ms":1785917025000,"timestamp_seconds":1785917025,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f32ae8"} 
[2026-08-05 13:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194681344001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194681344001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194681344001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":151055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:36:26] local.INFO: GPS data processed {"connection_id":151055,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:36:26] local.INFO: Acknowledgment sent {"connection_id":151055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:36:30] local.INFO: TCP Data received {"connection_id":151055,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:36:30] local.INFO: Processing buffer {"connection_id":151055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:36:30] local.INFO: Packet analysis {"connection_id":151055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:36:30] local.INFO: Extracted packet for processing {"connection_id":151055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194681344001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785917025000,"timestamp_ms":1785917025000,"timestamp_seconds":1785917025,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f32ae8"} 
[2026-08-05 13:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194681344001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194681344001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:36:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194681344001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":151055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:36:30] local.INFO: GPS data processed {"connection_id":151055,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:36:30] local.INFO: Acknowledgment sent {"connection_id":151055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:37:15] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:37:15] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:37:15] local.INFO: IMEI packet received {"connection_id":148649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":148649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:37:20] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:37:20] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:37:20] local.INFO: IMEI packet received {"connection_id":148649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":148649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:37:21] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:37:21] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:37:21] local.INFO: Packet analysis {"connection_id":148649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:37:21] local.INFO: Extracted packet for processing {"connection_id":148649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194681344001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917025000,"timestamp_ms":1785917025000,"timestamp_seconds":1785917025,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f32ae8"} 
[2026-08-05 13:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:37: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-08-05 13:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:37: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-08-05 13:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194681344001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194681344001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:37:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194681344001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":148649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:37:21] local.INFO: GPS data processed {"connection_id":148649,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:37:21] local.INFO: Acknowledgment sent {"connection_id":148649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:37:52] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:37:52] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:37:52] local.INFO: Packet analysis {"connection_id":148649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:37:52] local.INFO: Extracted packet for processing {"connection_id":148649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194681344001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785917025000,"timestamp_ms":1785917025000,"timestamp_seconds":1785917025,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f32ae8"} 
[2026-08-05 13:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194681344001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194681344001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:37:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194681344001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":148649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:37:52] local.INFO: GPS data processed {"connection_id":148649,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:37:52] local.INFO: Acknowledgment sent {"connection_id":148649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:38:15] local.INFO: TCP Data received {"connection_id":148439,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:38:15] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:38:15] local.INFO: IMEI packet received {"connection_id":148439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":148439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:38:20] local.INFO: TCP Data received {"connection_id":148439,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:38:20] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:38:20] local.INFO: IMEI packet received {"connection_id":148439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":148439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:38:20] local.INFO: TCP Data received {"connection_id":148439,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:38:20] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:38:20] local.INFO: Packet analysis {"connection_id":148439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:38:20] local.INFO: Extracted packet for processing {"connection_id":148439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:38:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194681344001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785917025000,"timestamp_ms":1785917025000,"timestamp_seconds":1785917025,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f32ae8"} 
[2026-08-05 13:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:38: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-08-05 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:38: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-08-05 13:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194681344001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194681344001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:38:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194681344001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":148439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:38:21] local.INFO: GPS data processed {"connection_id":148439,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:38:21] local.INFO: Acknowledgment sent {"connection_id":148439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:38:45] local.INFO: TCP Data received {"connection_id":148440,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:38:45] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:38:45] local.INFO: IMEI packet received {"connection_id":148440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":148440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:38:50] local.INFO: TCP Data received {"connection_id":148440,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:38:50] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:38:50] local.INFO: IMEI packet received {"connection_id":148440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":148440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:38:50] local.INFO: TCP Data received {"connection_id":148440,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f68648012d17db40072196780053007b2a..."} 
[2026-08-05 13:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f68648012d17db40072196780053007b2a..."} 
[2026-08-05 13:38:50] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f68648012d17db40072196780053007b2a..."} 
[2026-08-05 13:38:50] local.INFO: Packet analysis {"connection_id":148440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:38:50] local.INFO: Extracted packet for processing {"connection_id":148440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756538176,"raw_latitude":119641720,"longitude_deg":75.6538176,"latitude_deg":11.964172,"altitude":83,"angle":123,"satellites":42,"speed":14,"hex_longitude":"2d17db40","hex_latitude":"07219678","is_valid_coordinates":true} 
[2026-08-05 13:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194813184001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641009109106688,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1716575176098449408,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785917245000,"timestamp_ms":1785917245000,"timestamp_seconds":1785917245,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f68648"} 
[2026-08-05 13:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 13:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194813184001,"66":14070,"107":206,"83":41984,"24":14,"16":10641009109106688,"45":1716575176098449408},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 13:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194813184001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:38:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 13:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641009109106688,"km_value":10641009109106.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1716575176098449408,"description":"Unknown IO ID 45"} 
[2026-08-05 13:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194813184001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1716575176098449408}} 
[2026-08-05 13:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":148440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:38:51] local.INFO: GPS data processed {"connection_id":148440,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:38:51] local.INFO: Acknowledgment sent {"connection_id":148440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:38:52] local.INFO: TCP Data received {"connection_id":148439,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:38:52] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:38:52] local.INFO: Packet analysis {"connection_id":148439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:38:52] local.INFO: Extracted packet for processing {"connection_id":148439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194681344001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785917025000,"timestamp_ms":1785917025000,"timestamp_seconds":1785917025,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f32ae8"} 
[2026-08-05 13:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194681344001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194681344001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:38:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194681344001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":148439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:38:52] local.INFO: GPS data processed {"connection_id":148439,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:38:52] local.INFO: Acknowledgment sent {"connection_id":148439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:38:55] local.INFO: TCP Data received {"connection_id":148440,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f68e18012d17dd4007219500005300702c..."} 
[2026-08-05 13:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f68e18012d17dd4007219500005300702c..."} 
[2026-08-05 13:38:55] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f68e18012d17dd4007219500005300702c..."} 
[2026-08-05 13:38:55] local.INFO: Packet analysis {"connection_id":148440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:38:55] local.INFO: Extracted packet for processing {"connection_id":148440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756538688,"raw_latitude":119641344,"longitude_deg":75.6538688,"latitude_deg":11.9641344,"altitude":83,"angle":112,"satellites":44,"speed":10,"hex_longitude":"2d17dd40","hex_latitude":"07219500","is_valid_coordinates":true} 
[2026-08-05 13:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194814720001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641039173877760,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719038082144434176,"note":"Value kept but may cause issues"} 
[2026-08-05 13:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785917247000,"timestamp_ms":1785917247000,"timestamp_seconds":1785917247,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f68e18"} 
[2026-08-05 13:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:38: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-08-05 13: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 13:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194814720001,"66":14243,"107":206,"83":41984,"24":10,"16":10641039173877760,"45":1719038082144434176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 13:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194814720001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:38:55] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 13:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641039173877760,"km_value":10641039173877.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719038082144434176,"description":"Unknown IO ID 45"} 
[2026-08-05 13:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194814720001,"power":14243,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1719038082144434176}} 
[2026-08-05 13:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":148440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:38:55] local.INFO: GPS data processed {"connection_id":148440,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:38:55] local.INFO: Acknowledgment sent {"connection_id":148440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:39:14] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:39:14] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:39:14] local.INFO: IMEI packet received {"connection_id":148651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":148651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:39:20] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:39:20] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:39:20] local.INFO: IMEI packet received {"connection_id":148651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":148651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:39:21] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:39:21] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f32ae8012d7f92c005afd9e8000100e928..."} 
[2026-08-05 13:39:21] local.INFO: Packet analysis {"connection_id":148651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:39:21] local.INFO: Extracted packet for processing {"connection_id":148651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f3"} 
[2026-08-05 13:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":1,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194681344001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917025000,"timestamp_ms":1785917025000,"timestamp_seconds":1785917025,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f32ae8"} 
[2026-08-05 13:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13: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-08-05 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:39: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-08-05 13:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194681344001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194681344001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:39:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194681344001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":148651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:39:21] local.INFO: GPS data processed {"connection_id":148651,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:39:21] local.INFO: Acknowledgment sent {"connection_id":148651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:39:39] local.INFO: TCP Data received {"connection_id":149639,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:39:39] local.INFO: Processing buffer {"connection_id":149639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:39:39] local.INFO: IMEI packet received {"connection_id":149639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":149639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:39:41] local.INFO: TCP Data received {"connection_id":149639,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:39:41] local.INFO: Processing buffer {"connection_id":149639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:39:41] local.INFO: IMEI packet received {"connection_id":149639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":149639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:39:45] local.INFO: TCP Data received {"connection_id":149639,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:39:45] local.INFO: Processing buffer {"connection_id":149639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:39:45] local.INFO: IMEI packet received {"connection_id":149639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":149639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:39:45] local.INFO: TCP Data received {"connection_id":149639,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f6a1a0012d17e040072193d00052007c2c..."} 
[2026-08-05 13:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f6a1a0012d17e040072193d00052007c2c..."} 
[2026-08-05 13:39:45] local.INFO: Processing buffer {"connection_id":149639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f6a1a0012d17e040072193d00052007c2c..."} 
[2026-08-05 13:39:45] local.INFO: Packet analysis {"connection_id":149639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:39:45] local.INFO: Extracted packet for processing {"connection_id":149639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756539456,"raw_latitude":119641040,"longitude_deg":75.6539456,"latitude_deg":11.964104,"altitude":82,"angle":124,"satellites":44,"speed":6,"hex_longitude":"2d17e040","hex_latitude":"072193d0","is_valid_coordinates":true} 
[2026-08-05 13:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194815232001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641077828583424,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719601032097759232,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39: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-08-05 13:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785917252000,"timestamp_ms":1785917252000,"timestamp_seconds":1785917252,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f6a1a0"} 
[2026-08-05 13:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-05 13:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194815232001,"66":14048,"107":206,"83":41984,"24":6,"16":10641077828583424,"45":1719601032097759232},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 13:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194815232001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:39:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 13:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641077828583424,"km_value":10641077828583.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719601032097759232,"description":"Unknown IO ID 45"} 
[2026-08-05 13:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194815232001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1719601032097759232}} 
[2026-08-05 13:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":149639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:39:46] local.INFO: GPS data processed {"connection_id":149639,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:39:46] local.INFO: Acknowledgment sent {"connection_id":149639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:39:50] local.INFO: TCP Data received {"connection_id":149639,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f6a588012d17e080072193380052009e2c..."} 
[2026-08-05 13:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f6a588012d17e080072193380052009e2c..."} 
[2026-08-05 13:39:50] local.INFO: Processing buffer {"connection_id":149639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f6a588012d17e080072193380052009e2c..."} 
[2026-08-05 13:39:50] local.INFO: Packet analysis {"connection_id":149639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:39:50] local.INFO: Extracted packet for processing {"connection_id":149639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756539520,"raw_latitude":119640888,"longitude_deg":75.653952,"latitude_deg":11.9640888,"altitude":82,"angle":158,"satellites":44,"speed":7,"hex_longitude":"2d17e080","hex_latitude":"07219338","is_valid_coordinates":true} 
[2026-08-05 13:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194816512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641086418518016,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720445457027813376,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785917253000,"timestamp_ms":1785917253000,"timestamp_seconds":1785917253,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f6a588"} 
[2026-08-05 13:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 13:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194816512001,"66":14004,"107":206,"83":41984,"24":7,"16":10641086418518016,"45":1720445457027813376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 13:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194816512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:39:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 13:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641086418518016,"km_value":10641086418518.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720445457027813376,"description":"Unknown IO ID 45"} 
[2026-08-05 13:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194816512001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1720445457027813376}} 
[2026-08-05 13:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":149639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:39:50] local.INFO: GPS data processed {"connection_id":149639,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:39:50] local.INFO: Acknowledgment sent {"connection_id":149639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:39:52] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:39:52] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:39:52] local.INFO: Packet analysis {"connection_id":148651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:39:52] local.INFO: Extracted packet for processing {"connection_id":148651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785917326000,"timestamp_ms":1785917326000,"timestamp_seconds":1785917326,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f7c2b0"} 
[2026-08-05 13:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194758400001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:39:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194758400001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":148651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:39:52] local.INFO: GPS data processed {"connection_id":148651,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:39:52] local.INFO: Acknowledgment sent {"connection_id":148651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:40:14] local.INFO: TCP Data received {"connection_id":149640,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:40:14] local.INFO: Processing buffer {"connection_id":149640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:40:14] local.INFO: IMEI packet received {"connection_id":149640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":149640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:40:20] local.INFO: TCP Data received {"connection_id":149640,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:40:20] local.INFO: Processing buffer {"connection_id":149640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:40:20] local.INFO: IMEI packet received {"connection_id":149640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":149640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:40:21] local.INFO: TCP Data received {"connection_id":149639,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f6a970012d17e0c007219270005200ad2c..."} 
[2026-08-05 13:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f6a970012d17e0c007219270005200ad2c..."} 
[2026-08-05 13:40:21] local.INFO: Processing buffer {"connection_id":149639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f6a970012d17e0c007219270005200ad2c..."} 
[2026-08-05 13:40:21] local.INFO: Packet analysis {"connection_id":149639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:40:21] local.INFO: Extracted packet for processing {"connection_id":149639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756539584,"raw_latitude":119640688,"longitude_deg":75.6539584,"latitude_deg":11.9640688,"altitude":82,"angle":173,"satellites":44,"speed":7,"hex_longitude":"2d17e0c0","hex_latitude":"07219270","is_valid_coordinates":true} 
[2026-08-05 13:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194816768001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641099303419904,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720515825771952128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917254000,"timestamp_ms":1785917254000,"timestamp_seconds":1785917254,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f6a970"} 
[2026-08-05 13:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:40: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":180,"data_length":795,"current_offset":136} 
[2026-08-05 13:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194816768001,"66":14004,"107":206,"83":41984,"24":7,"16":10641099303419904,"45":1720515825771952128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 13:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194816768001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:40:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 13:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641099303419904,"km_value":10641099303419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720515825771952128,"description":"Unknown IO ID 45"} 
[2026-08-05 13:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194816768001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1720515825771952128}} 
[2026-08-05 13:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":149639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:40:21] local.INFO: GPS data processed {"connection_id":149639,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:40:21] local.INFO: Acknowledgment sent {"connection_id":149639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:40:25] local.INFO: TCP Data received {"connection_id":149640,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:40:25] local.INFO: Processing buffer {"connection_id":149640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:40:25] local.INFO: Packet analysis {"connection_id":149640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:40:25] local.INFO: Extracted packet for processing {"connection_id":149640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785917326000,"timestamp_ms":1785917326000,"timestamp_seconds":1785917326,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f7c2b0"} 
[2026-08-05 13:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194758400001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:40:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194758400001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":149640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:40:25] local.INFO: GPS data processed {"connection_id":149640,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:40:25] local.INFO: Acknowledgment sent {"connection_id":149640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:40:40] local.INFO: TCP Data received {"connection_id":151057,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:40:40] local.INFO: Processing buffer {"connection_id":151057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:40:40] local.INFO: IMEI packet received {"connection_id":151057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":151057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:40:42] local.INFO: TCP Data received {"connection_id":151057,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:40:42] local.INFO: Processing buffer {"connection_id":151057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:40:42] local.INFO: IMEI packet received {"connection_id":151057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":151057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:40:43] local.INFO: TCP Data received {"connection_id":151057,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f6ad58012d17e0c0072191a0005200bf2c..."} 
[2026-08-05 13:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f6ad58012d17e0c0072191a0005200bf2c..."} 
[2026-08-05 13:40:43] local.INFO: Processing buffer {"connection_id":151057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f6ad58012d17e0c0072191a0005200bf2c..."} 
[2026-08-05 13:40:43] local.INFO: Packet analysis {"connection_id":151057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:40:43] local.INFO: Extracted packet for processing {"connection_id":151057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:40:43] local.INFO: GPS Element Parsed {"raw_longitude":756539584,"raw_latitude":119640480,"longitude_deg":75.6539584,"latitude_deg":11.964048,"altitude":82,"angle":191,"satellites":44,"speed":7,"hex_longitude":"2d17e0c0","hex_latitude":"072191a0","is_valid_coordinates":true} 
[2026-08-05 13:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194817024001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641107893354496,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720586194516078592,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785917255000,"timestamp_ms":1785917255000,"timestamp_seconds":1785917255,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f6ad58"} 
[2026-08-05 13:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-05 13:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194817024001,"66":14396,"107":206,"83":41984,"24":7,"16":10641107893354496,"45":1720586194516078592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 13:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194817024001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:40:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 13:40:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641107893354496,"km_value":10641107893354.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720586194516078592,"description":"Unknown IO ID 45"} 
[2026-08-05 13:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194817024001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1720586194516078592}} 
[2026-08-05 13:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":151057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:40:44] local.INFO: GPS data processed {"connection_id":151057,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:40:44] local.INFO: Acknowledgment sent {"connection_id":151057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:40:57] local.INFO: TCP Data received {"connection_id":149640,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:40:57] local.INFO: Processing buffer {"connection_id":149640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:40:57] local.INFO: Packet analysis {"connection_id":149640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:40:57] local.INFO: Extracted packet for processing {"connection_id":149640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:40:57] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785917326000,"timestamp_ms":1785917326000,"timestamp_seconds":1785917326,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f7c2b0"} 
[2026-08-05 13:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194758400001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:40:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194758400001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":149640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:40:57] local.INFO: GPS data processed {"connection_id":149640,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:40:57] local.INFO: Acknowledgment sent {"connection_id":149640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:41:15] local.INFO: TCP Data received {"connection_id":151057,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f6bcf8012d17e0c007218de00052009a2c..."} 
[2026-08-05 13:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f6bcf8012d17e0c007218de00052009a2c..."} 
[2026-08-05 13:41:15] local.INFO: Processing buffer {"connection_id":151057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f6bcf8012d17e0c007218de00052009a2c..."} 
[2026-08-05 13:41:15] local.INFO: Packet analysis {"connection_id":151057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:41:15] local.INFO: Extracted packet for processing {"connection_id":151057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f6"} 
[2026-08-05 13:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756539584,"raw_latitude":119639520,"longitude_deg":75.6539584,"latitude_deg":11.963952,"altitude":82,"angle":154,"satellites":44,"speed":10,"hex_longitude":"2d17e0c0","hex_latitude":"07218de0","is_valid_coordinates":true} 
[2026-08-05 13:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194817280001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641155137994752,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720586194516025344,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785917259000,"timestamp_ms":1785917259000,"timestamp_seconds":1785917259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f6bcf8"} 
[2026-08-05 13:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:41: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-08-05 13:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 13:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194817280001,"66":14396,"107":206,"83":41984,"24":10,"16":10641155137994752,"45":1720586194516025344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 13:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194817280001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:41:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 13:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641155137994752,"km_value":10641155137994.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720586194516025344,"description":"Unknown IO ID 45"} 
[2026-08-05 13:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194817280001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1720586194516025344}} 
[2026-08-05 13:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":151057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:41:15] local.INFO: GPS data processed {"connection_id":151057,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:41:15] local.INFO: Acknowledgment sent {"connection_id":151057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:41:20] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:41:20] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:41:20] local.INFO: IMEI packet received {"connection_id":148652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":148652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:41:25] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:41:25] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:41:25] local.INFO: IMEI packet received {"connection_id":148652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":148652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:41:26] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:41:26] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:41:26] local.INFO: Packet analysis {"connection_id":148652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:41:26] local.INFO: Extracted packet for processing {"connection_id":148652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785917326000,"timestamp_ms":1785917326000,"timestamp_seconds":1785917326,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f7c2b0"} 
[2026-08-05 13:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194758400001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:41:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194758400001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":148652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:41:26] local.INFO: GPS data processed {"connection_id":148652,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:41:26] local.INFO: Acknowledgment sent {"connection_id":148652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:41:31] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:41:31] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:41:31] local.INFO: Packet analysis {"connection_id":148652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:41:31] local.INFO: Extracted packet for processing {"connection_id":148652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785917326000,"timestamp_ms":1785917326000,"timestamp_seconds":1785917326,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f7c2b0"} 
[2026-08-05 13:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194758400001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:41:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:41:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194758400001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":148652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:41:31] local.INFO: GPS data processed {"connection_id":148652,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:41:31] local.INFO: Acknowledgment sent {"connection_id":148652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:41:39] local.INFO: TCP Data received {"connection_id":149641,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:41:39] local.INFO: Processing buffer {"connection_id":149641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:41:39] local.INFO: IMEI packet received {"connection_id":149641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":149641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:41:45] local.INFO: TCP Data received {"connection_id":149641,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:41:45] local.INFO: Processing buffer {"connection_id":149641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:41:45] local.INFO: IMEI packet received {"connection_id":149641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":149641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:41:46] local.INFO: TCP Data received {"connection_id":149641,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f94568012d17f74007218160004c00882e..."} 
[2026-08-05 13:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f94568012d17f74007218160004c00882e..."} 
[2026-08-05 13:41:46] local.INFO: Processing buffer {"connection_id":149641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f94568012d17f74007218160004c00882e..."} 
[2026-08-05 13:41:46] local.INFO: Packet analysis {"connection_id":149641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:41:46] local.INFO: Extracted packet for processing {"connection_id":149641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756545344,"raw_latitude":119636320,"longitude_deg":75.6545344,"latitude_deg":11.963632,"altitude":76,"angle":136,"satellites":46,"speed":0,"hex_longitude":"2d17f740","hex_latitude":"07218160","is_valid_coordinates":true} 
[2026-08-05 13:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194855424001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641537390084096,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726919381490950144,"note":"Value kept but may cause issues"} 
[2026-08-05 13:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785917425000,"timestamp_ms":1785917425000,"timestamp_seconds":1785917425,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f94568"} 
[2026-08-05 13:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 13:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194855424001,"66":14265,"107":206,"83":41984,"24":0,"16":10641537390084096,"45":1726919381490950144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 13:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194855424001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:41:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 13:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641537390084096,"km_value":10641537390084.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726919381490950144,"description":"Unknown IO ID 45"} 
[2026-08-05 13:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194855424001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1726919381490950144}} 
[2026-08-05 13:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":149641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:41:46] local.INFO: GPS data processed {"connection_id":149641,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:41:46] local.INFO: Acknowledgment sent {"connection_id":149641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:42:15] local.INFO: TCP Data received {"connection_id":151058,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:42:15] local.INFO: Processing buffer {"connection_id":151058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:42:15] local.INFO: IMEI packet received {"connection_id":151058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":151058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:42:17] local.INFO: TCP Data received {"connection_id":149641,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f97830012d17f880072181a0004b004430..."} 
[2026-08-05 13:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f97830012d17f880072181a0004b004430..."} 
[2026-08-05 13:42:17] local.INFO: Processing buffer {"connection_id":149641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f97830012d17f880072181a0004b004430..."} 
[2026-08-05 13:42:17] local.INFO: Packet analysis {"connection_id":149641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:42:17] local.INFO: Extracted packet for processing {"connection_id":149641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756545664,"raw_latitude":119636384,"longitude_deg":75.6545664,"latitude_deg":11.9636384,"altitude":75,"angle":68,"satellites":48,"speed":8,"hex_longitude":"2d17f880","hex_latitude":"072181a0","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194860800001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641550274985984,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726919381490950144,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785917438000,"timestamp_ms":1785917438000,"timestamp_seconds":1785917438,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f97830"} 
[2026-08-05 13:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:42: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-08-05 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 13:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194860800001,"66":14363,"105":206,"83":41984,"24":8,"16":10641550274985984,"45":1726919381490950144},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194860800001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:42:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:42:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641550274985984,"km_value":10641550274985.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726919381490950144,"description":"Unknown IO ID 45"} 
[2026-08-05 13:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194860800001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1726919381490950144}} 
[2026-08-05 13:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":149641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:42:17] local.INFO: GPS data processed {"connection_id":149641,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:42:17] local.INFO: Acknowledgment sent {"connection_id":149641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:42:20] local.INFO: TCP Data received {"connection_id":151058,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:42:20] local.INFO: Processing buffer {"connection_id":151058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:42:20] local.INFO: IMEI packet received {"connection_id":151058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":151058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:42:21] local.INFO: TCP Data received {"connection_id":151058,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:42:21] local.INFO: Processing buffer {"connection_id":151058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:42:21] local.INFO: Packet analysis {"connection_id":151058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:42:21] local.INFO: Extracted packet for processing {"connection_id":151058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:42:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917326000,"timestamp_ms":1785917326000,"timestamp_seconds":1785917326,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f7c2b0"} 
[2026-08-05 13:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:42: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-08-05 13:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194758400001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:42:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194758400001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":151058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:42:21] local.INFO: GPS data processed {"connection_id":151058,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:42:21] local.INFO: Acknowledgment sent {"connection_id":151058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:42:25] local.INFO: TCP Data received {"connection_id":151058,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:42:25] local.INFO: Processing buffer {"connection_id":151058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:42:25] local.INFO: Packet analysis {"connection_id":151058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:42:25] local.INFO: Extracted packet for processing {"connection_id":151058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785917326000,"timestamp_ms":1785917326000,"timestamp_seconds":1785917326,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f7c2b0"} 
[2026-08-05 13:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194758400001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:42:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194758400001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":151058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:42:25] local.INFO: GPS data processed {"connection_id":151058,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:42:25] local.INFO: Acknowledgment sent {"connection_id":151058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:42:45] local.INFO: TCP Data received {"connection_id":149642,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:42:45] local.INFO: Processing buffer {"connection_id":149642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:42:45] local.INFO: IMEI packet received {"connection_id":149642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":149642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:42:49] local.INFO: TCP Data received {"connection_id":149642,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:42:49] local.INFO: Processing buffer {"connection_id":149642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:42:49] local.INFO: IMEI packet received {"connection_id":149642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":149642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:42:50] local.INFO: TCP Data received {"connection_id":149642,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f98000012d17fa80072182c8004c003731..."} 
[2026-08-05 13:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f98000012d17fa80072182c8004c003731..."} 
[2026-08-05 13:42:50] local.INFO: Processing buffer {"connection_id":149642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f98000012d17fa80072182c8004c003731..."} 
[2026-08-05 13:42:50] local.INFO: Packet analysis {"connection_id":149642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:42:50] local.INFO: Extracted packet for processing {"connection_id":149642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756546176,"raw_latitude":119636680,"longitude_deg":75.6546176,"latitude_deg":11.963668,"altitude":76,"angle":55,"satellites":49,"speed":15,"hex_longitude":"2d17fa80","hex_latitude":"072182c8","is_valid_coordinates":true} 
[2026-08-05 13:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194864128001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641580339757056,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727271225211854848,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785917440000,"timestamp_ms":1785917440000,"timestamp_seconds":1785917440,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f98000"} 
[2026-08-05 13:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":27,"data_length":795,"current_offset":136} 
[2026-08-05 13:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194864128001,"66":14233,"105":206,"83":41984,"24":15,"16":10641580339757056,"45":1727271225211854848},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194864128001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:42:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641580339757056,"km_value":10641580339757.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727271225211854848,"description":"Unknown IO ID 45"} 
[2026-08-05 13:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194864128001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1727271225211854848}} 
[2026-08-05 13:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":149642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:42:50] local.INFO: GPS data processed {"connection_id":149642,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:42:50] local.INFO: Acknowledgment sent {"connection_id":149642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:42:51] local.INFO: TCP Data received {"connection_id":149642,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f9a328012d180a0007218fd0004c002b31..."} 
[2026-08-05 13:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f9a328012d180a0007218fd0004c002b31..."} 
[2026-08-05 13:42:51] local.INFO: Processing buffer {"connection_id":149642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f9a328012d180a0007218fd0004c002b31..."} 
[2026-08-05 13:42:51] local.INFO: Packet analysis {"connection_id":149642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:42:51] local.INFO: Extracted packet for processing {"connection_id":149642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756550144,"raw_latitude":119640016,"longitude_deg":75.6550144,"latitude_deg":11.9640016,"altitude":76,"angle":43,"satellites":49,"speed":26,"hex_longitude":"2d180a00","hex_latitude":"07218fd0","is_valid_coordinates":true} 
[2026-08-05 13:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194864640001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641829447860224,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727834175165351936,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785917449000,"timestamp_ms":1785917449000,"timestamp_seconds":1785917449,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f9a328"} 
[2026-08-05 13:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-05 13:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194864640001,"66":14352,"105":206,"83":41984,"24":26,"16":10641829447860224,"45":1727834175165351936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194864640001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:42:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641829447860224,"km_value":10641829447860.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727834175165351936,"description":"Unknown IO ID 45"} 
[2026-08-05 13:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194864640001,"power":14352,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1727834175165351936}} 
[2026-08-05 13:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":149642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:42:51] local.INFO: GPS data processed {"connection_id":149642,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:42:51] local.INFO: Acknowledgment sent {"connection_id":149642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:42:57] local.INFO: TCP Data received {"connection_id":151058,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:42:57] local.INFO: Processing buffer {"connection_id":151058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:42:57] local.INFO: Packet analysis {"connection_id":151058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:42:57] local.INFO: Extracted packet for processing {"connection_id":151058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785917326000,"timestamp_ms":1785917326000,"timestamp_seconds":1785917326,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f7c2b0"} 
[2026-08-05 13:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194758400001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:42:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194758400001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":151058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:42:57] local.INFO: GPS data processed {"connection_id":151058,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:42:57] local.INFO: Acknowledgment sent {"connection_id":151058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:43:15] local.INFO: TCP Data received {"connection_id":148653,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:43:15] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:43:15] local.INFO: IMEI packet received {"connection_id":148653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":148653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:43:21] local.INFO: TCP Data received {"connection_id":148653,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:43:21] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:43:21] local.INFO: IMEI packet received {"connection_id":148653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":148653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:43:22] local.INFO: TCP Data received {"connection_id":148653,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:43:22] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:43:22] local.INFO: Packet analysis {"connection_id":148653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:43:22] local.INFO: Extracted packet for processing {"connection_id":148653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:43:22] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785917326000,"timestamp_ms":1785917326000,"timestamp_seconds":1785917326,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f7c2b0"} 
[2026-08-05 13:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:43: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-08-05 13:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194758400001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:43:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:43:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194758400001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":148653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:43:22] local.INFO: GPS data processed {"connection_id":148653,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:43:22] local.INFO: Acknowledgment sent {"connection_id":148653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:43:22] local.INFO: TCP Data received {"connection_id":149642,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f9b6b0012d18120007219a20004c002031..."} 
[2026-08-05 13:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f9b6b0012d18120007219a20004c002031..."} 
[2026-08-05 13:43:22] local.INFO: Processing buffer {"connection_id":149642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f9b6b0012d18120007219a20004c002031..."} 
[2026-08-05 13:43:22] local.INFO: Packet analysis {"connection_id":149642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:43:22] local.INFO: Extracted packet for processing {"connection_id":149642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756552192,"raw_latitude":119642656,"longitude_deg":75.6552192,"latitude_deg":11.9642656,"altitude":76,"angle":32,"satellites":49,"speed":25,"hex_longitude":"2d181200","hex_latitude":"07219a20","is_valid_coordinates":true} 
[2026-08-05 13:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194866944001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10641988361650176,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732197037305221120,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785917454000,"timestamp_ms":1785917454000,"timestamp_seconds":1785917454,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f9b6b0"} 
[2026-08-05 13:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143296,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3505934160,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503762004344832,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4176699393,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2170552396,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633062792129131,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-05 13:43:22] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":1074209153,"corrected_to":0} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":96,"raw_value":21392683100536832,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3463184384,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84750318688477569,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-630496107346001844,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:22] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,206,159,128,45,130,76,49,10,66,120,129,75,48,69,64,1,240,185,227,208,33,4,113,205,161,247,96,47,239,50,107,2,37,7,72,23],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":247,"original":1074209153,"validated":0}]} 
[2026-08-05 13:43:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476424636337618944,"timestamp_seconds":5476424636337619.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 13:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194866944001,"66":14265,"105":206,"83":41984,"24":25,"16":10641988361650176,"45":1732197037305221120},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194866944001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:43:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:43:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10641988361650176,"km_value":10641988361650.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732197037305221120,"description":"Unknown IO ID 45"} 
[2026-08-05 13:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194866944001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1732197037305221120}} 
[2026-08-05 13:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":149642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:43:22] local.INFO: GPS data processed {"connection_id":149642,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:43:22] local.INFO: Acknowledgment sent {"connection_id":149642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:43:40] local.INFO: TCP Data received {"connection_id":151059,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:43:40] local.INFO: Processing buffer {"connection_id":151059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:43:40] local.INFO: IMEI packet received {"connection_id":151059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":151059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:43:45] local.INFO: TCP Data received {"connection_id":151059,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:43:45] local.INFO: Processing buffer {"connection_id":151059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:43:45] local.INFO: IMEI packet received {"connection_id":151059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":151059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:43:46] local.INFO: TCP Data received {"connection_id":151059,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f9e978012d181e400721ae18004d000830..."} 
[2026-08-05 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f9e978012d181e400721ae18004d000830..."} 
[2026-08-05 13:43:46] local.INFO: Processing buffer {"connection_id":151059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f9e978012d181e400721ae18004d000830..."} 
[2026-08-05 13:43:46] local.INFO: Packet analysis {"connection_id":151059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:43:46] local.INFO: Extracted packet for processing {"connection_id":151059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647768,"longitude_deg":75.6555328,"latitude_deg":11.9647768,"altitude":77,"angle":8,"satellites":48,"speed":10,"hex_longitude":"2d181e40","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-08-05 13:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194868224001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10642280419426304,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734448837119582208,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785917467000,"timestamp_ms":1785917467000,"timestamp_seconds":1785917467,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f9e978"} 
[2026-08-05 13:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 13:43: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-08-05 13:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194868224001,"66":12950,"105":206,"83":41984,"24":10,"16":10642280419426304,"45":1734448837119582208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194868224001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:43:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10642280419426304,"km_value":10642280419426.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734448837119582208,"description":"Unknown IO ID 45"} 
[2026-08-05 13:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194868224001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1734448837119582208}} 
[2026-08-05 13:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":151059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:43:46] local.INFO: GPS data processed {"connection_id":151059,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:43:46] local.INFO: Acknowledgment sent {"connection_id":151059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:43:53] local.INFO: TCP Data received {"connection_id":148653,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:43:53] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:43:53] local.INFO: Packet analysis {"connection_id":148653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:43:53] local.INFO: Extracted packet for processing {"connection_id":148653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:43:53] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785917326000,"timestamp_ms":1785917326000,"timestamp_seconds":1785917326,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f7c2b0"} 
[2026-08-05 13:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13: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":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194758400001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:43:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:43:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194758400001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":148653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:43:53] local.INFO: GPS data processed {"connection_id":148653,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:43:53] local.INFO: Acknowledgment sent {"connection_id":148653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:44:14] local.INFO: TCP Data received {"connection_id":149643,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:44:14] local.INFO: Processing buffer {"connection_id":149643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:44:14] local.INFO: IMEI packet received {"connection_id":149643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":149643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:44:17] local.INFO: TCP Data received {"connection_id":151059,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f9ed60012d181e800721af08004d016330..."} 
[2026-08-05 13:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f9ed60012d181e800721af08004d016330..."} 
[2026-08-05 13:44:17] local.INFO: Processing buffer {"connection_id":151059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f9ed60012d181e800721af08004d016330..."} 
[2026-08-05 13:44:17] local.INFO: Packet analysis {"connection_id":151059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:44:17] local.INFO: Extracted packet for processing {"connection_id":151059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f9"} 
[2026-08-05 13:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648008,"longitude_deg":75.6555392,"latitude_deg":11.9648008,"altitude":77,"angle":355,"satellites":48,"speed":8,"hex_longitude":"2d181e80","hex_latitude":"0721af08","is_valid_coordinates":true} 
[2026-08-05 13:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194871552001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10642293304328192,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585596416,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785917468000,"timestamp_ms":1785917468000,"timestamp_seconds":1785917468,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f9ed60"} 
[2026-08-05 13:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:44: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-08-05 13:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 13:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194871552001,"66":12950,"105":206,"83":41984,"24":8,"16":10642293304328192,"45":1737896905585596416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194871552001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:44:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10642293304328192,"km_value":10642293304328.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585596416,"description":"Unknown IO ID 45"} 
[2026-08-05 13:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194871552001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737896905585596416}} 
[2026-08-05 13:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":151059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:44:17] local.INFO: GPS data processed {"connection_id":151059,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:44:17] local.INFO: Acknowledgment sent {"connection_id":151059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:44:20] local.INFO: TCP Data received {"connection_id":149643,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:44:20] local.INFO: Processing buffer {"connection_id":149643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:44:20] local.INFO: IMEI packet received {"connection_id":149643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":149643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:44:21] local.INFO: TCP Data received {"connection_id":149643,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:44:21] local.INFO: Processing buffer {"connection_id":149643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0f7c2b0012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:44:21] local.INFO: Packet analysis {"connection_id":149643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:44:21] local.INFO: Extracted packet for processing {"connection_id":149643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0f7"} 
[2026-08-05 13:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917326000,"timestamp_ms":1785917326000,"timestamp_seconds":1785917326,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0f7c2b0"} 
[2026-08-05 13:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:44: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-08-05 13:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194758400001,"66":25549,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:44:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194758400001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":149643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:44:21] local.INFO: GPS data processed {"connection_id":149643,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:44:21] local.INFO: Acknowledgment sent {"connection_id":149643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:44:40] local.INFO: TCP Data received {"connection_id":149644,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:44:40] local.INFO: Processing buffer {"connection_id":149644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:44:40] local.INFO: IMEI packet received {"connection_id":149644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":149644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:44:45] local.INFO: TCP Data received {"connection_id":149644,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:44:45] local.INFO: Processing buffer {"connection_id":149644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:44:45] local.INFO: IMEI packet received {"connection_id":149644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":149644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:44:46] local.INFO: TCP Data received {"connection_id":149644,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fa3f68012d181e000721ad48004d016331..."} 
[2026-08-05 13:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fa3f68012d181e000721ad48004d016331..."} 
[2026-08-05 13:44:46] local.INFO: Processing buffer {"connection_id":149644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fa3f68012d181e000721ad48004d016331..."} 
[2026-08-05 13:44:46] local.INFO: Packet analysis {"connection_id":149644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fa"} 
[2026-08-05 13:44:46] local.INFO: Extracted packet for processing {"connection_id":149644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fa"} 
[2026-08-05 13:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647560,"longitude_deg":75.6555264,"latitude_deg":11.964756,"altitude":77,"angle":355,"satellites":49,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-05 13:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194871808001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10642331959033856,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329835520,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785917489000,"timestamp_ms":1785917489000,"timestamp_seconds":1785917489,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fa3f68"} 
[2026-08-05 13:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 13:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194871808001,"66":12993,"105":206,"83":41984,"24":0,"16":10642331959033856,"45":1737967274329835520},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 13:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194871808001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:44:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 13:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10642331959033856,"km_value":10642331959033.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329835520,"description":"Unknown IO ID 45"} 
[2026-08-05 13:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194871808001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329835520}} 
[2026-08-05 13:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":149644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:44:46] local.INFO: GPS data processed {"connection_id":149644,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:44:46] local.INFO: Acknowledgment sent {"connection_id":149644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:44:52] local.INFO: TCP Data received {"connection_id":149643,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:44:52] local.INFO: Processing buffer {"connection_id":149643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:44:52] local.INFO: Packet analysis {"connection_id":149643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:44:52] local.INFO: Extracted packet for processing {"connection_id":149643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:44:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194835456001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785917627000,"timestamp_ms":1785917627000,"timestamp_seconds":1785917627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fc5a78"} 
[2026-08-05 13:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194835456001,"66":25473,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194835456001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:44:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194835456001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":149643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:44:52] local.INFO: GPS data processed {"connection_id":149643,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:44:52] local.INFO: Acknowledgment sent {"connection_id":149643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:45:17] local.INFO: TCP Data received {"connection_id":149644,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fcf6b8012d1852c007218a080050007429..."} 
[2026-08-05 13:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fcf6b8012d1852c007218a080050007429..."} 
[2026-08-05 13:45:17] local.INFO: Processing buffer {"connection_id":149644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fcf6b8012d1852c007218a080050007429..."} 
[2026-08-05 13:45:17] local.INFO: Packet analysis {"connection_id":149644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:45:17] local.INFO: Extracted packet for processing {"connection_id":149644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756568768,"raw_latitude":119638536,"longitude_deg":75.6568768,"latitude_deg":11.9638536,"altitude":80,"angle":116,"satellites":41,"speed":37,"hex_longitude":"2d1852c0","hex_latitude":"07218a08","is_valid_coordinates":true} 
[2026-08-05 13:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194919680001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10643169477656576,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743456036374167552,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785917667000,"timestamp_ms":1785917667000,"timestamp_seconds":1785917667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fcf6b8"} 
[2026-08-05 13:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:45: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-08-05 13: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":12,"data_length":795,"current_offset":136} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751523279,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2143721263845605452,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3506166160,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7147212608636977162,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4228411393,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2810183757,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637821615893097,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221692841,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3476226048,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-6701130388615410093,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:17] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,207,159,184,45,192,155,79,38,10,66,105,172,128,158,90,1,240,185,227,208,33,4,113,205,9,248,29,136,47,239,54,2,37,7,76,55,164],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 13:45:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692676536043634688,"timestamp_seconds":5692676536043635.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 13:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194919680001,"66":14396,"106":206,"83":41984,"24":37,"16":10643169477656576,"45":1743456036374167552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 13:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194919680001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:45:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 13:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10643169477656576,"km_value":10643169477656.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743456036374167552,"description":"Unknown IO ID 45"} 
[2026-08-05 13:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194919680001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1743456036374167552}} 
[2026-08-05 13:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":149644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:45:17] local.INFO: GPS data processed {"connection_id":149644,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:45:17] local.INFO: Acknowledgment sent {"connection_id":149644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:45:20] local.INFO: TCP Data received {"connection_id":148441,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:45:20] local.INFO: Processing buffer {"connection_id":148441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:45:20] local.INFO: IMEI packet received {"connection_id":148441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":148441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:45:25] local.INFO: TCP Data received {"connection_id":148441,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:45:25] local.INFO: Processing buffer {"connection_id":148441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:45:25] local.INFO: IMEI packet received {"connection_id":148441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":148441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:45:26] local.INFO: TCP Data received {"connection_id":148441,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:45:26] local.INFO: Processing buffer {"connection_id":148441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:45:26] local.INFO: Packet analysis {"connection_id":148441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:45:26] local.INFO: Extracted packet for processing {"connection_id":148441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194835456001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785917627000,"timestamp_ms":1785917627000,"timestamp_seconds":1785917627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fc5a78"} 
[2026-08-05 13:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194835456001,"66":25473,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194835456001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:45:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194835456001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":148441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:45:26] local.INFO: GPS data processed {"connection_id":148441,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:45:26] local.INFO: Acknowledgment sent {"connection_id":148441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:45:30] local.INFO: TCP Data received {"connection_id":148441,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:45:30] local.INFO: Processing buffer {"connection_id":148441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:45:30] local.INFO: Packet analysis {"connection_id":148441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:45:30] local.INFO: Extracted packet for processing {"connection_id":148441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194835456001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785917627000,"timestamp_ms":1785917627000,"timestamp_seconds":1785917627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fc5a78"} 
[2026-08-05 13:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194835456001,"66":25473,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194835456001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:45:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194835456001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":148441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:45:30] local.INFO: GPS data processed {"connection_id":148441,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:45:30] local.INFO: Acknowledgment sent {"connection_id":148441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:45:40] local.INFO: TCP Data received {"connection_id":151060,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:40] local.INFO: Processing buffer {"connection_id":151060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:40] local.INFO: IMEI packet received {"connection_id":151060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":151060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:45:41] local.INFO: TCP Data received {"connection_id":151060,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:41] local.INFO: Processing buffer {"connection_id":151060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:41] local.INFO: IMEI packet received {"connection_id":151060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":151060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:45:42] local.INFO: TCP Data received {"connection_id":151060,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:42] local.INFO: Processing buffer {"connection_id":151060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:42] local.INFO: IMEI packet received {"connection_id":151060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":151060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:45:45] local.INFO: TCP Data received {"connection_id":151060,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:45] local.INFO: Processing buffer {"connection_id":151060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:45:45] local.INFO: IMEI packet received {"connection_id":151060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":151060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:45:46] local.INFO: TCP Data received {"connection_id":151060,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fd0a40012d18658007218238004f00672a..."} 
[2026-08-05 13:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fd0a40012d18658007218238004f00672a..."} 
[2026-08-05 13:45:46] local.INFO: Processing buffer {"connection_id":151060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fd0a40012d18658007218238004f00672a..."} 
[2026-08-05 13:45:46] local.INFO: Packet analysis {"connection_id":151060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fd"} 
[2026-08-05 13:45:46] local.INFO: Extracted packet for processing {"connection_id":151060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fd"} 
[2026-08-05 13:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756573568,"raw_latitude":119636536,"longitude_deg":75.6573568,"latitude_deg":11.9636536,"altitude":79,"angle":103,"satellites":42,"speed":40,"hex_longitude":"2d186580","hex_latitude":"07218238","is_valid_coordinates":true} 
[2026-08-05 13:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194922752001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10643418585759744,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752674341860542464,"note":"Value kept but may cause issues"} 
[2026-08-05 13:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785917672000,"timestamp_ms":1785917672000,"timestamp_seconds":1785917672,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fd0a40"} 
[2026-08-05 13:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 13:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194922752001,"66":14428,"106":206,"83":41984,"24":40,"16":10643418585759744,"45":1752674341860542464},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 13:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194922752001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:45:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 13:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10643418585759744,"km_value":10643418585759.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752674341860542464,"description":"Unknown IO ID 45"} 
[2026-08-05 13:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194922752001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1752674341860542464}} 
[2026-08-05 13:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":151060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:45:46] local.INFO: GPS data processed {"connection_id":151060,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:45:46] local.INFO: Acknowledgment sent {"connection_id":151060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:46:14] local.INFO: TCP Data received {"connection_id":149645,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:46:14] local.INFO: Processing buffer {"connection_id":149645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:46:14] local.INFO: IMEI packet received {"connection_id":149645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":149645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:46:17] local.INFO: TCP Data received {"connection_id":151060,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fde118012d18db800720fa18003c008a2c..."} 
[2026-08-05 13:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fde118012d18db800720fa18003c008a2c..."} 
[2026-08-05 13:46:17] local.INFO: Processing buffer {"connection_id":151060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fde118012d18db800720fa18003c008a2c..."} 
[2026-08-05 13:46:17] local.INFO: Packet analysis {"connection_id":151060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fd"} 
[2026-08-05 13:46:17] local.INFO: Extracted packet for processing {"connection_id":151060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fd"} 
[2026-08-05 13:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756603776,"raw_latitude":119601688,"longitude_deg":75.6603776,"latitude_deg":11.9601688,"altitude":60,"angle":138,"satellites":44,"speed":38,"hex_longitude":"2d18db80","hex_latitude":"0720fa18","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194937600001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10645978386268160,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777323520,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785917727000,"timestamp_ms":1785917727000,"timestamp_seconds":1785917727,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fde118"} 
[2026-08-05 13:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:46: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-08-05 13: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6976241023,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3506276160,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503762055856128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4255035393,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84751199156773201,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148984,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.WARNING: Large IO value detected {"io_id":144,"raw_value":20548356921107200,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:17] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,210,159,205,45,128,11,62,43,10,66,186,192,31,65,178,1,240,27,227,209,208,33,4,113,35,150,199,112,44,239,54,2,37,7,72,206,144],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-05 13:46:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323626259854065664,"timestamp_seconds":4323626259854065.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 13:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194937600001,"66":14080,"103":206,"83":41984,"24":38,"16":10645978386268160,"45":1789829038777323520},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 13:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194937600001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:46:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 13:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10645978386268160,"km_value":10645978386268.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777323520,"description":"Unknown IO ID 45"} 
[2026-08-05 13:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194937600001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1789829038777323520}} 
[2026-08-05 13:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":151060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:46:17] local.INFO: GPS data processed {"connection_id":151060,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:46:17] local.INFO: Acknowledgment sent {"connection_id":151060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:46:20] local.INFO: TCP Data received {"connection_id":149645,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:46:20] local.INFO: Processing buffer {"connection_id":149645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:46:20] local.INFO: IMEI packet received {"connection_id":149645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":149645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:46:21] local.INFO: TCP Data received {"connection_id":149645,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:46:21] local.INFO: Processing buffer {"connection_id":149645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:46:21] local.INFO: Packet analysis {"connection_id":149645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:46:21] local.INFO: Extracted packet for processing {"connection_id":149645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:46:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194835456001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917627000,"timestamp_ms":1785917627000,"timestamp_seconds":1785917627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fc5a78"} 
[2026-08-05 13:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:46: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-08-05 13:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:46: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-08-05 13:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:46:21] 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-08-05 13:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194835456001,"66":25473,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194835456001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:46:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194835456001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":149645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:46:21] local.INFO: GPS data processed {"connection_id":149645,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:46:21] local.INFO: Acknowledgment sent {"connection_id":149645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:46:40] local.INFO: TCP Data received {"connection_id":149646,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:46:40] local.INFO: Processing buffer {"connection_id":149646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:46:40] local.INFO: IMEI packet received {"connection_id":149646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":149646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:46:40] local.INFO: TCP Data received {"connection_id":149646,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:46:40] local.INFO: Processing buffer {"connection_id":149646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:46:40] local.INFO: IMEI packet received {"connection_id":149646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":149646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:46:45] local.INFO: TCP Data received {"connection_id":149646,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:46:45] local.INFO: Processing buffer {"connection_id":149646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:46:45] local.INFO: IMEI packet received {"connection_id":149646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":149646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:46:46] local.INFO: TCP Data received {"connection_id":149646,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fdf4a0012d18e8000720ebe0003900962b..."} 
[2026-08-05 13:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fdf4a0012d18e8000720ebe0003900962b..."} 
[2026-08-05 13:46:46] local.INFO: Processing buffer {"connection_id":149646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fdf4a0012d18e8000720ebe0003900962b..."} 
[2026-08-05 13:46:46] local.INFO: Packet analysis {"connection_id":149646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fd"} 
[2026-08-05 13:46:46] local.INFO: Extracted packet for processing {"connection_id":149646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fd"} 
[2026-08-05 13:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756606976,"raw_latitude":119598048,"longitude_deg":75.6606976,"latitude_deg":11.9598048,"altitude":57,"angle":150,"satellites":43,"speed":37,"hex_longitude":"2d18e800","hex_latitude":"0720ebe0","is_valid_coordinates":true} 
[2026-08-05 13:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194938112001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10646210314502144,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791166044916291584,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785917732000,"timestamp_ms":1785917732000,"timestamp_seconds":1785917732,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fdf4a0"} 
[2026-08-05 13:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 13:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3506280160,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-05 13:46:46] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4256315393,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:46] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:46] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2147950902,"corrected_to":0} 
[2026-08-05 13:46:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402104,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3518758912,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,210,159,217,45,192,60,10,66,205,128,11,62,43,186,1,240,88,227,208,33,4,113,36,158,202,56,239,54,2,37,7,70,35],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":202,"original":2147950902,"validated":0}]} 
[2026-08-05 13:46:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323607563861360640,"timestamp_seconds":4323607563861360.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 13:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194938112001,"66":13993,"103":206,"83":41984,"24":37,"16":10646210314502144,"45":1791166044916291584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 13:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194938112001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:46:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 13:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10646210314502144,"km_value":10646210314502.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791166044916291584,"description":"Unknown IO ID 45"} 
[2026-08-05 13:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194938112001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1791166044916291584}} 
[2026-08-05 13:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":149646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:46:46] local.INFO: GPS data processed {"connection_id":149646,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:46:46] local.INFO: Acknowledgment sent {"connection_id":149646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:46:52] local.INFO: TCP Data received {"connection_id":149645,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:46:52] local.INFO: Processing buffer {"connection_id":149645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:46:52] local.INFO: Packet analysis {"connection_id":149645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:46:52] local.INFO: Extracted packet for processing {"connection_id":149645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194835456001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785917627000,"timestamp_ms":1785917627000,"timestamp_seconds":1785917627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fc5a78"} 
[2026-08-05 13:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:46:52] 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-08-05 13:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194835456001,"66":25473,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194835456001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:46:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194835456001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":149645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:46:52] local.INFO: GPS data processed {"connection_id":149645,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:46:52] local.INFO: Acknowledgment sent {"connection_id":149645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:47:15] local.INFO: TCP Data received {"connection_id":148442,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:47:15] local.INFO: Processing buffer {"connection_id":148442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:47:15] local.INFO: IMEI packet received {"connection_id":148442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":148442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:47:17] local.INFO: TCP Data received {"connection_id":149646,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fe0c10012d18f5c00720d838003600852d..."} 
[2026-08-05 13:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fe0c10012d18f5c00720d838003600852d..."} 
[2026-08-05 13:47:17] local.INFO: Processing buffer {"connection_id":149646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fe0c10012d18f5c00720d838003600852d..."} 
[2026-08-05 13:47:17] local.INFO: Packet analysis {"connection_id":149646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fe"} 
[2026-08-05 13:47:17] local.INFO: Extracted packet for processing {"connection_id":149646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fe"} 
[2026-08-05 13:47:17] local.INFO: GPS Element Parsed {"raw_longitude":756610496,"raw_latitude":119593016,"longitude_deg":75.6610496,"latitude_deg":11.9593016,"altitude":54,"angle":133,"satellites":45,"speed":41,"hex_longitude":"2d18f5c0","hex_latitude":"0720d838","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194939392001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10646506667245568,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794684482124242944,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785917738000,"timestamp_ms":1785917738000,"timestamp_seconds":1785917738,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fe0c10"} 
[2026-08-05 13:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:47: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-08-05 13: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 13:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194939392001,"66":13993,"103":206,"83":41984,"24":41,"16":10646506667245568,"45":1794684482124242944},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 13:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194939392001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:47:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 13:47:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10646506667245568,"km_value":10646506667245.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794684482124242944,"description":"Unknown IO ID 45"} 
[2026-08-05 13:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194939392001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1794684482124242944}} 
[2026-08-05 13:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":149646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:47:17] local.INFO: GPS data processed {"connection_id":149646,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:47:17] local.INFO: Acknowledgment sent {"connection_id":149646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:47:20] local.INFO: TCP Data received {"connection_id":148442,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:47:20] local.INFO: Processing buffer {"connection_id":148442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:47:20] local.INFO: IMEI packet received {"connection_id":148442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":148442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:47:21] local.INFO: TCP Data received {"connection_id":148442,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:47:21] local.INFO: Processing buffer {"connection_id":148442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:47:21] local.INFO: Packet analysis {"connection_id":148442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:47:21] local.INFO: Extracted packet for processing {"connection_id":148442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:47:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194835456001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917627000,"timestamp_ms":1785917627000,"timestamp_seconds":1785917627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fc5a78"} 
[2026-08-05 13:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:47: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-08-05 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:47: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-08-05 13:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194835456001,"66":25473,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194835456001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:47:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194835456001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":148442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:47:21] local.INFO: GPS data processed {"connection_id":148442,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:47:21] local.INFO: Acknowledgment sent {"connection_id":148442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:47:39] local.INFO: TCP Data received {"connection_id":149647,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:47:39] local.INFO: Processing buffer {"connection_id":149647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:47:39] local.INFO: IMEI packet received {"connection_id":149647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":149647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:47:45] local.INFO: TCP Data received {"connection_id":149647,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:47:45] local.INFO: Processing buffer {"connection_id":149647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:47:45] local.INFO: IMEI packet received {"connection_id":149647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":149647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:47:46] local.INFO: TCP Data received {"connection_id":149647,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fe1bb0012d1902c00720cea80034007a2b..."} 
[2026-08-05 13:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fe1bb0012d1902c00720cea80034007a2b..."} 
[2026-08-05 13:47:46] local.INFO: Processing buffer {"connection_id":149647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fe1bb0012d1902c00720cea80034007a2b..."} 
[2026-08-05 13:47:46] local.INFO: Packet analysis {"connection_id":149647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fe"} 
[2026-08-05 13:47:46] local.INFO: Extracted packet for processing {"connection_id":149647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fe"} 
[2026-08-05 13:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756613824,"raw_latitude":119590568,"longitude_deg":75.6613824,"latitude_deg":11.9590568,"altitude":52,"angle":122,"satellites":43,"speed":41,"hex_longitude":"2d1902c0","hex_latitude":"0720cea8","is_valid_coordinates":true} 
[2026-08-05 13:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194940928001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10646704235741184,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798554763052726272,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785917742000,"timestamp_ms":1785917742000,"timestamp_seconds":1785917742,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fe1bb0"} 
[2026-08-05 13:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 13:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194940928001,"66":13961,"103":206,"83":41984,"24":41,"16":10646704235741184,"45":1798554763052726272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 13:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194940928001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:47:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 13:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10646704235741184,"km_value":10646704235741.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798554763052726272,"description":"Unknown IO ID 45"} 
[2026-08-05 13:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194940928001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1798554763052726272}} 
[2026-08-05 13:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":149647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:47:46] local.INFO: GPS data processed {"connection_id":149647,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:47:46] local.INFO: Acknowledgment sent {"connection_id":149647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:47:52] local.INFO: TCP Data received {"connection_id":148442,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:47:52] local.INFO: Processing buffer {"connection_id":148442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:47:52] local.INFO: Packet analysis {"connection_id":148442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:47:52] local.INFO: Extracted packet for processing {"connection_id":148442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:47:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194835456001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785917627000,"timestamp_ms":1785917627000,"timestamp_seconds":1785917627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fc5a78"} 
[2026-08-05 13:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194835456001,"66":25473,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194835456001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:47:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194835456001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":148442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:47:52] local.INFO: GPS data processed {"connection_id":148442,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:47:52] local.INFO: Acknowledgment sent {"connection_id":148442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:48:14] local.INFO: TCP Data received {"connection_id":151061,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:48:14] local.INFO: Processing buffer {"connection_id":151061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:48:14] local.INFO: IMEI packet received {"connection_id":151061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":151061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:48:20] local.INFO: TCP Data received {"connection_id":151061,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:48:20] local.INFO: Processing buffer {"connection_id":151061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:48:20] local.INFO: IMEI packet received {"connection_id":151061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":151061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:48:20] local.INFO: TCP Data received {"connection_id":149647,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ffd900012d19b7800720aab8002b007a2b..."} 
[2026-08-05 13:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ffd900012d19b7800720aab8002b007a2b..."} 
[2026-08-05 13:48:20] local.INFO: Processing buffer {"connection_id":149647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ffd900012d19b7800720aab8002b007a2b..."} 
[2026-08-05 13:48:20] local.INFO: Packet analysis {"connection_id":149647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ff"} 
[2026-08-05 13:48:20] local.INFO: Extracted packet for processing {"connection_id":149647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ff"} 
[2026-08-05 13:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756660096,"raw_latitude":119581368,"longitude_deg":75.6660096,"latitude_deg":11.9581368,"altitude":43,"angle":122,"satellites":43,"speed":23,"hex_longitude":"2d19b780","hex_latitude":"0720aab8","is_valid_coordinates":true} 
[2026-08-05 13:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194970112001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10649066467753984,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315043958784,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785917856000,"timestamp_ms":1785917856000,"timestamp_seconds":1785917856,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ffd900"} 
[2026-08-05 13:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 13:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194970112001,"66":14374,"103":206,"83":41984,"24":23,"16":10649066467753984,"45":1849994315043958784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 13:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194970112001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:48:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 13:48:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10649066467753984,"km_value":10649066467753.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315043958784,"description":"Unknown IO ID 45"} 
[2026-08-05 13:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194970112001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1849994315043958784}} 
[2026-08-05 13:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":149647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:48:20] local.INFO: GPS data processed {"connection_id":149647,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:48:20] local.INFO: Acknowledgment sent {"connection_id":149647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:48:21] local.INFO: TCP Data received {"connection_id":151061,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:48:21] local.INFO: Processing buffer {"connection_id":151061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:48:21] local.INFO: Packet analysis {"connection_id":151061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:48:21] local.INFO: Extracted packet for processing {"connection_id":151061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:48:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194835456001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917627000,"timestamp_ms":1785917627000,"timestamp_seconds":1785917627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fc5a78"} 
[2026-08-05 13:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:48: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-08-05 13:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:48: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-08-05 13: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-08-05 13:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:48: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-08-05 13:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194835456001,"66":25473,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194835456001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:48:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194835456001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":151061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:48:21] local.INFO: GPS data processed {"connection_id":151061,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:48:21] local.INFO: Acknowledgment sent {"connection_id":151061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:48:41] local.INFO: TCP Data received {"connection_id":151062,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:48:41] local.INFO: Processing buffer {"connection_id":151062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:48:41] local.INFO: IMEI packet received {"connection_id":151062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":151062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:48:45] local.INFO: TCP Data received {"connection_id":151062,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:48:45] local.INFO: Processing buffer {"connection_id":151062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:48:45] local.INFO: IMEI packet received {"connection_id":151062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":151062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:48:49] local.INFO: TCP Data received {"connection_id":151062,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:48:49] local.INFO: Processing buffer {"connection_id":151062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:48:49] local.INFO: IMEI packet received {"connection_id":151062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":151062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:48:49] local.INFO: TCP Data received {"connection_id":151062,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ffdce8012d19b9400720a958002b008728..."} 
[2026-08-05 13:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ffdce8012d19b9400720a958002b008728..."} 
[2026-08-05 13:48:49] local.INFO: Processing buffer {"connection_id":151062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ffdce8012d19b9400720a958002b008728..."} 
[2026-08-05 13:48:49] local.INFO: Packet analysis {"connection_id":151062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ff"} 
[2026-08-05 13:48:49] local.INFO: Extracted packet for processing {"connection_id":151062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ff"} 
[2026-08-05 13:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119581016,"longitude_deg":75.6660544,"latitude_deg":11.9581016,"altitude":43,"angle":135,"satellites":40,"speed":20,"hex_longitude":"2d19b940","hex_latitude":"0720a958","is_valid_coordinates":true} 
[2026-08-05 13:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194971136001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10649096532525056,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539787433984,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785917857000,"timestamp_ms":1785917857000,"timestamp_seconds":1785917857,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ffdce8"} 
[2026-08-05 13:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:48: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-08-05 13:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 13:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194971136001,"66":14363,"103":206,"83":41984,"24":20,"16":10649096532525056,"45":1853090539787433984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 13:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194971136001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:48:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 13:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10649096532525056,"km_value":10649096532525.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539787433984,"description":"Unknown IO ID 45"} 
[2026-08-05 13:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194971136001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853090539787433984}} 
[2026-08-05 13:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":151062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:48:50] local.INFO: GPS data processed {"connection_id":151062,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:48:50] local.INFO: Acknowledgment sent {"connection_id":151062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:48:50] local.INFO: TCP Data received {"connection_id":151062,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0ffe0d0012d19ba800720a7d0002b00962b..."} 
[2026-08-05 13:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0ffe0d0012d19ba800720a7d0002b00962b..."} 
[2026-08-05 13:48:50] local.INFO: Processing buffer {"connection_id":151062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0ffe0d0012d19ba800720a7d0002b00962b..."} 
[2026-08-05 13:48:50] local.INFO: Packet analysis {"connection_id":151062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0ff"} 
[2026-08-05 13:48:50] local.INFO: Extracted packet for processing {"connection_id":151062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0ff"} 
[2026-08-05 13:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119580624,"longitude_deg":75.6660864,"latitude_deg":11.9580624,"altitude":43,"angle":150,"satellites":43,"speed":19,"hex_longitude":"2d19ba80","hex_latitude":"0720a7d0","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194971392001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10649118007361536,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996587520,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785917858000,"timestamp_ms":1785917858000,"timestamp_seconds":1785917858,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0ffe0d0"} 
[2026-08-05 13:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 13:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13: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-08-05 13:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194971392001,"66":14363,"103":206,"83":41984,"24":19,"16":10649118007361536,"45":1853583120996587520},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 13:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194971392001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:48:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 13:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10649118007361536,"km_value":10649118007361.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996587520,"description":"Unknown IO ID 45"} 
[2026-08-05 13:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194971392001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853583120996587520}} 
[2026-08-05 13:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":151062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:48:50] local.INFO: GPS data processed {"connection_id":151062,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:48:50] local.INFO: Acknowledgment sent {"connection_id":151062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:48:52] local.INFO: TCP Data received {"connection_id":151061,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:48:52] local.INFO: Processing buffer {"connection_id":151061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:48:52] local.INFO: Packet analysis {"connection_id":151061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:48:52] local.INFO: Extracted packet for processing {"connection_id":151061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:48:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194835456001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785917627000,"timestamp_ms":1785917627000,"timestamp_seconds":1785917627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fc5a78"} 
[2026-08-05 13:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194835456001,"66":25473,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194835456001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:48:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194835456001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":151061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:48:52] local.INFO: GPS data processed {"connection_id":151061,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:48:52] local.INFO: Acknowledgment sent {"connection_id":151061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:49:14] local.INFO: TCP Data received {"connection_id":148654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:49:14] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:49:14] local.INFO: IMEI packet received {"connection_id":148654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":148654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:49:20] local.INFO: TCP Data received {"connection_id":148654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:49:20] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:49:20] local.INFO: IMEI packet received {"connection_id":148654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":148654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:49:22] local.INFO: TCP Data received {"connection_id":151062,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100bb90012d19f040071ffab8002800652b..."} 
[2026-08-05 13:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100bb90012d19f040071ffab8002800652b..."} 
[2026-08-05 13:49:22] local.INFO: Processing buffer {"connection_id":151062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100bb90012d19f040071ffab8002800652b..."} 
[2026-08-05 13:49:22] local.INFO: Packet analysis {"connection_id":151062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:49:22] local.INFO: Extracted packet for processing {"connection_id":151062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756674624,"raw_latitude":119536312,"longitude_deg":75.6674624,"latitude_deg":11.9536312,"altitude":40,"angle":101,"satellites":43,"speed":26,"hex_longitude":"2d19f040","hex_latitude":"071ffab8","is_valid_coordinates":true} 
[2026-08-05 13:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10651591908524032,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867656869820803072,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785917914000,"timestamp_ms":1785917914000,"timestamp_seconds":1785917914,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100bb90"} 
[2026-08-05 13:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 13:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194985472001,"66":14265,"101":206,"83":41984,"24":26,"16":10651591908524032,"45":1867656869820803072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:49:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10651591908524032,"km_value":10651591908524.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867656869820803072,"description":"Unknown IO ID 45"} 
[2026-08-05 13:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194985472001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1867656869820803072}} 
[2026-08-05 13:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":151062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:49:22] local.INFO: GPS data processed {"connection_id":151062,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:49:22] local.INFO: Acknowledgment sent {"connection_id":151062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:49:23] local.INFO: TCP Data received {"connection_id":148654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:49:23] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd0fc5a78012d7f92c005afd9e8000000e924..."} 
[2026-08-05 13:49:23] local.INFO: Packet analysis {"connection_id":148654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:49:23] local.INFO: Extracted packet for processing {"connection_id":148654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd0fc"} 
[2026-08-05 13:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":36,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194835456001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785917627000,"timestamp_ms":1785917627000,"timestamp_seconds":1785917627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd0fc5a78"} 
[2026-08-05 13:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 13:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194835456001,"66":25473,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194835456001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:49:23] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:49:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194835456001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":148654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:49:23] local.INFO: GPS data processed {"connection_id":148654,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:49:23] local.INFO: Acknowledgment sent {"connection_id":148654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:49:36] local.INFO: TCP Data received {"connection_id":149648,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:49:36] local.INFO: Processing buffer {"connection_id":149648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:49:36] local.INFO: IMEI packet received {"connection_id":149648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":149648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:49:40] local.INFO: TCP Data received {"connection_id":149648,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:49:40] local.INFO: Processing buffer {"connection_id":149648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:49:40] local.INFO: IMEI packet received {"connection_id":149648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":149648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:49:40] local.INFO: TCP Data received {"connection_id":149648,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:49:40] local.INFO: Processing buffer {"connection_id":149648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:49:40] local.INFO: IMEI packet received {"connection_id":149648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":149648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:49:41] local.INFO: TCP Data received {"connection_id":149648,"ip":"42.106.6.43","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fd1..."} 
[2026-08-05 13:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149648,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fd1..."} 
[2026-08-05 13:49:41] local.INFO: Processing buffer {"connection_id":149648,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fd1..."} 
[2026-08-05 13:49:41] local.INFO: IMEI packet received {"connection_id":149648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":149648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:49:44] local.INFO: TCP Data received {"connection_id":149648,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100cb30012d19fe00071ffae0002800692e..."} 
[2026-08-05 13:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100cb30012d19fe00071ffae0002800692e..."} 
[2026-08-05 13:49:44] local.INFO: Processing buffer {"connection_id":149648,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd100bf78012d19f3c0071ffb30002900592d..."} 
[2026-08-05 13:49:44] local.INFO: Packet analysis {"connection_id":149648,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:49:44] local.INFO: Extracted packet for processing {"connection_id":149648,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756675520,"raw_latitude":119536432,"longitude_deg":75.667552,"latitude_deg":11.9536432,"altitude":41,"angle":89,"satellites":45,"speed":32,"hex_longitude":"2d19f3c0","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-08-05 13:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194985984001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10651630563229696,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869064244704229376,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785917915000,"timestamp_ms":1785917915000,"timestamp_seconds":1785917915,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100bf78"} 
[2026-08-05 13:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 13:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194985984001,"66":14341,"101":206,"83":41984,"24":32,"16":10651630563229696,"45":1869064244704229376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194985984001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:49:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:49:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10651630563229696,"km_value":10651630563229.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869064244704229376,"description":"Unknown IO ID 45"} 
[2026-08-05 13:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194985984001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1869064244704229376}} 
[2026-08-05 13:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":149648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:49:45] local.INFO: GPS data processed {"connection_id":149648,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:49:45] local.INFO: Acknowledgment sent {"connection_id":149648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:49:45] local.INFO: Packet analysis {"connection_id":149648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:49:45] local.INFO: Extracted packet for processing {"connection_id":149648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756678144,"raw_latitude":119536352,"longitude_deg":75.6678144,"latitude_deg":11.9536352,"altitude":40,"angle":105,"satellites":46,"speed":37,"hex_longitude":"2d19fe00","hex_latitude":"071ffae0","is_valid_coordinates":true} 
[2026-08-05 13:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194986240001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10651759412248576,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870049407122747392,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49: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-08-05 13:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785917918000,"timestamp_ms":1785917918000,"timestamp_seconds":1785917918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100cb30"} 
[2026-08-05 13:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6976241796,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3506474160,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503762150424576,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":12104051801990400,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3610574848,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84752338396848152,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,215,159,187,45,64,250,40,43,10,66,179,252,41,44,168,1,240,227,209,32,4,113,205,35,148,216,160,239,56,2,37,7,36,206,224],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-05 13:49:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954459405365542912,"timestamp_seconds":2954459405365543.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 13:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194986240001,"66":14363,"101":206,"83":41984,"24":37,"16":10651759412248576,"45":1870049407122747392},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194986240001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:49:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10651759412248576,"km_value":10651759412248.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870049407122747392,"description":"Unknown IO ID 45"} 
[2026-08-05 13:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194986240001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1870049407122747392}} 
[2026-08-05 13:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":149648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:49:45] local.INFO: GPS data processed {"connection_id":149648,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:49:45] local.INFO: Acknowledgment sent {"connection_id":149648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:49:45] local.INFO: TCP Data received {"connection_id":149648,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100ee58012d1a22c0071fefa8002c006b2d..."} 
[2026-08-05 13:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100ee58012d1a22c0071fefa8002c006b2d..."} 
[2026-08-05 13:49:45] local.INFO: Processing buffer {"connection_id":149648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100ee58012d1a22c0071fefa8002c006b2d..."} 
[2026-08-05 13:49:45] local.INFO: Packet analysis {"connection_id":149648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:49:45] local.INFO: Extracted packet for processing {"connection_id":149648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756687552,"raw_latitude":119533480,"longitude_deg":75.6687552,"latitude_deg":11.953348,"altitude":44,"angle":107,"satellites":45,"speed":44,"hex_longitude":"2d1a22c0","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-08-05 13:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194987008001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10652227563683840,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872934525634011136,"note":"Value kept but may cause issues"} 
[2026-08-05 13:49: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-08-05 13:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785917927000,"timestamp_ms":1785917927000,"timestamp_seconds":1785917927,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100ee58"} 
[2026-08-05 13:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 13:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194987008001,"66":14396,"101":206,"83":41984,"24":44,"16":10652227563683840,"45":1872934525634011136},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194987008001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:49:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10652227563683840,"km_value":10652227563683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872934525634011136,"description":"Unknown IO ID 45"} 
[2026-08-05 13:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194987008001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1872934525634011136}} 
[2026-08-05 13:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":149648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:49:46] local.INFO: GPS data processed {"connection_id":149648,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:49:46] local.INFO: Acknowledgment sent {"connection_id":149648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:50:15] local.INFO: TCP Data received {"connection_id":148654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:50:15] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:50:15] local.INFO: Packet analysis {"connection_id":148654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:50:15] local.INFO: Extracted packet for processing {"connection_id":148654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:50:15] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194912512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785917928000,"timestamp_ms":1785917928000,"timestamp_seconds":1785917928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100f240"} 
[2026-08-05 13:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13: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-08-05 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 13:50: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-08-05 13: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-08-05 13:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194912512001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194912512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:50:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:50:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194912512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":148654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:50:15] local.INFO: GPS data processed {"connection_id":148654,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:50:15] local.INFO: Acknowledgment sent {"connection_id":148654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:50:17] local.INFO: TCP Data received {"connection_id":149648,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1011180012d1a4880071fe5d0002e006b29..."} 
[2026-08-05 13:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1011180012d1a4880071fe5d0002e006b29..."} 
[2026-08-05 13:50:17] local.INFO: Processing buffer {"connection_id":149648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1011180012d1a4880071fe5d0002e006b29..."} 
[2026-08-05 13:50:17] local.INFO: Packet analysis {"connection_id":149648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd101"} 
[2026-08-05 13:50:17] local.INFO: Extracted packet for processing {"connection_id":149648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd101"} 
[2026-08-05 13:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756697216,"raw_latitude":119530960,"longitude_deg":75.6697216,"latitude_deg":11.953096,"altitude":46,"angle":107,"satellites":41,"speed":43,"hex_longitude":"2d1a4880","hex_latitude":"071fe5d0","is_valid_coordinates":true} 
[2026-08-05 13:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194989312001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10652700010086400,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883278731027392512,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785917936000,"timestamp_ms":1785917936000,"timestamp_seconds":1785917936,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1011180"} 
[2026-08-05 13:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:50: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-08-05 13: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":60,"data_length":795,"current_offset":136} 
[2026-08-05 13:50: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-08-05 13:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194989312001,"66":14363,"101":206,"83":41984,"24":43,"16":10652700010086400,"45":1883278731027392512},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194989312001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:50:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:50:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10652700010086400,"km_value":10652700010086.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883278731027392512,"description":"Unknown IO ID 45"} 
[2026-08-05 13:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194989312001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1883278731027392512}} 
[2026-08-05 13:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":149648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:50:17] local.INFO: GPS data processed {"connection_id":149648,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:50:17] local.INFO: Acknowledgment sent {"connection_id":149648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:50:20] local.INFO: TCP Data received {"connection_id":149649,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:50:20] local.INFO: Processing buffer {"connection_id":149649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:50:20] local.INFO: IMEI packet received {"connection_id":149649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":149649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:50:25] local.INFO: TCP Data received {"connection_id":149649,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:50:25] local.INFO: Processing buffer {"connection_id":149649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:50:25] local.INFO: IMEI packet received {"connection_id":149649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":149649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:50:26] local.INFO: TCP Data received {"connection_id":149649,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:50:26] local.INFO: Processing buffer {"connection_id":149649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:50:26] local.INFO: Packet analysis {"connection_id":149649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:50:26] local.INFO: Extracted packet for processing {"connection_id":149649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194912512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785917928000,"timestamp_ms":1785917928000,"timestamp_seconds":1785917928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100f240"} 
[2026-08-05 13:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 13:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194912512001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194912512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:50:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194912512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":149649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:50:26] local.INFO: GPS data processed {"connection_id":149649,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:50:26] local.INFO: Acknowledgment sent {"connection_id":149649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:50:30] local.INFO: TCP Data received {"connection_id":149649,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:50:30] local.INFO: Processing buffer {"connection_id":149649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:50:30] local.INFO: Packet analysis {"connection_id":149649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:50:30] local.INFO: Extracted packet for processing {"connection_id":149649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194912512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785917928000,"timestamp_ms":1785917928000,"timestamp_seconds":1785917928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100f240"} 
[2026-08-05 13:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 13:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194912512001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194912512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:50:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194912512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":149649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:50:30] local.INFO: GPS data processed {"connection_id":149649,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:50:30] local.INFO: Acknowledgment sent {"connection_id":149649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:50:40] local.INFO: TCP Data received {"connection_id":148443,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:40] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:40] local.INFO: IMEI packet received {"connection_id":148443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":148443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:50:41] local.INFO: TCP Data received {"connection_id":148443,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:41] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:41] local.INFO: IMEI packet received {"connection_id":148443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":148443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:50:41] local.INFO: TCP Data received {"connection_id":148443,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:41] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:41] local.INFO: IMEI packet received {"connection_id":148443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":148443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:50:42] local.INFO: TCP Data received {"connection_id":148443,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:42] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:50:42] local.INFO: IMEI packet received {"connection_id":148443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":148443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:50:53] local.INFO: TCP Data received {"connection_id":148443,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd101c530012d1ac6c0071f8998003600ae28..."} 
[2026-08-05 13:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd101c530012d1ac6c0071f8998003600ae28..."} 
[2026-08-05 13:50:53] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd101c530012d1ac6c0071f8998003600ae28..."} 
[2026-08-05 13:50:53] local.INFO: Packet analysis {"connection_id":148443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd101"} 
[2026-08-05 13:50:53] local.INFO: Extracted packet for processing {"connection_id":148443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd101"} 
[2026-08-05 13:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756729536,"raw_latitude":119507352,"longitude_deg":75.6729536,"latitude_deg":11.9507352,"altitude":54,"angle":174,"satellites":40,"speed":27,"hex_longitude":"2d1ac6c0","hex_latitude":"071f8998","is_valid_coordinates":true} 
[2026-08-05 13:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195003136001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10654722939682816,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929299889713072128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785917982000,"timestamp_ms":1785917982000,"timestamp_seconds":1785917982,"priority":1,"record_length":96,"hex_timestamp":"0000019fd101c530"} 
[2026-08-05 13:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 13:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195003136001,"66":14048,"101":206,"83":41984,"24":27,"16":10654722939682816,"45":1929299889713072128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195003136001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:50:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10654722939682816,"km_value":10654722939682.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929299889713072128,"description":"Unknown IO ID 45"} 
[2026-08-05 13:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195003136001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1929299889713072128}} 
[2026-08-05 13:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":148443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:50:53] local.INFO: GPS data processed {"connection_id":148443,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:50:53] local.INFO: Acknowledgment sent {"connection_id":148443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:50:54] local.INFO: TCP Data received {"connection_id":148443,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd101c918012d1ac600071f86e0003600be28..."} 
[2026-08-05 13:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd101c918012d1ac600071f86e0003600be28..."} 
[2026-08-05 13:50:54] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd101c918012d1ac600071f86e0003600be28..."} 
[2026-08-05 13:50:54] local.INFO: Packet analysis {"connection_id":148443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd101"} 
[2026-08-05 13:50:54] local.INFO: Extracted packet for processing {"connection_id":148443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd101"} 
[2026-08-05 13:50:54] local.INFO: GPS Element Parsed {"raw_longitude":756729344,"raw_latitude":119506656,"longitude_deg":75.6729344,"latitude_deg":11.9506656,"altitude":54,"angle":190,"satellites":40,"speed":28,"hex_longitude":"2d1ac600","hex_latitude":"071f86e0","is_valid_coordinates":true} 
[2026-08-05 13:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195003392001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10654757299421184,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929440627201251328,"note":"Value kept but may cause issues"} 
[2026-08-05 13:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785917983000,"timestamp_ms":1785917983000,"timestamp_seconds":1785917983,"priority":1,"record_length":96,"hex_timestamp":"0000019fd101c918"} 
[2026-08-05 13:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 13:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195003392001,"66":14070,"101":206,"83":41984,"24":28,"16":10654757299421184,"45":1929440627201251328},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195003392001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:50:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:50:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10654757299421184,"km_value":10654757299421.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929440627201251328,"description":"Unknown IO ID 45"} 
[2026-08-05 13:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195003392001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1929440627201251328}} 
[2026-08-05 13:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":148443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:50:54] local.INFO: GPS data processed {"connection_id":148443,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:50:54] local.INFO: Acknowledgment sent {"connection_id":148443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:51:15] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:51:15] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:51:15] local.INFO: IMEI packet received {"connection_id":148655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":148655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:51:20] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:51:20] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:51:20] local.INFO: IMEI packet received {"connection_id":148655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":148655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:51:25] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:51:25] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:51:25] local.INFO: Packet analysis {"connection_id":148655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:51:25] local.INFO: Extracted packet for processing {"connection_id":148655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:51:25] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194912512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785917928000,"timestamp_ms":1785917928000,"timestamp_seconds":1785917928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100f240"} 
[2026-08-05 13:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 13:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194912512001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194912512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:51:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194912512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":148655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:51:25] local.INFO: GPS data processed {"connection_id":148655,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:51:25] local.INFO: Acknowledgment sent {"connection_id":148655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:51:38] local.INFO: TCP Data received {"connection_id":149650,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:51:38] local.INFO: Processing buffer {"connection_id":149650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:51:38] local.INFO: IMEI packet received {"connection_id":149650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":149650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:51:40] local.INFO: TCP Data received {"connection_id":149650,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:51:40] local.INFO: Processing buffer {"connection_id":149650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:51:40] local.INFO: IMEI packet received {"connection_id":149650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":149650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:51:41] local.INFO: TCP Data received {"connection_id":149650,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 13:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149650,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 13:51:41] local.INFO: Processing buffer {"connection_id":149650,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 13:51:41] local.INFO: IMEI packet received {"connection_id":149650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":149650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:51:56] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:51:56] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:51:56] local.INFO: Packet analysis {"connection_id":148655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:51:56] local.INFO: Extracted packet for processing {"connection_id":148655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194912512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785917928000,"timestamp_ms":1785917928000,"timestamp_seconds":1785917928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100f240"} 
[2026-08-05 13:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 13:51: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-08-05 13:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194912512001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194912512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:51:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194912512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":148655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:51:56] local.INFO: GPS data processed {"connection_id":148655,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:51:56] local.INFO: Acknowledgment sent {"connection_id":148655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:52:14] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:52:14] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:52:14] local.INFO: IMEI packet received {"connection_id":148444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":148444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:52:20] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:52:20] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:52:20] local.INFO: IMEI packet received {"connection_id":148444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":148444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:52:21] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:52:21] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:52:21] local.INFO: Packet analysis {"connection_id":148444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:52:21] local.INFO: Extracted packet for processing {"connection_id":148444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194912512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917928000,"timestamp_ms":1785917928000,"timestamp_seconds":1785917928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100f240"} 
[2026-08-05 13:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:52: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-08-05 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 13:52: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-08-05 13: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-08-05 13:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194912512001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194912512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:52:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194912512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":148444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:52:21] local.INFO: GPS data processed {"connection_id":148444,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:52:21] local.INFO: Acknowledgment sent {"connection_id":148444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:52:52] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:52:52] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:52:52] local.INFO: Packet analysis {"connection_id":148444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:52:52] local.INFO: Extracted packet for processing {"connection_id":148444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194912512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785917928000,"timestamp_ms":1785917928000,"timestamp_seconds":1785917928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100f240"} 
[2026-08-05 13:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 13:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194912512001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194912512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:52:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194912512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":148444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:52:52] local.INFO: GPS data processed {"connection_id":148444,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:52:52] local.INFO: Acknowledgment sent {"connection_id":148444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:53:14] local.INFO: TCP Data received {"connection_id":149651,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:53:14] local.INFO: Processing buffer {"connection_id":149651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:53:14] local.INFO: IMEI packet received {"connection_id":149651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":149651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:53:20] local.INFO: TCP Data received {"connection_id":149651,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:53:20] local.INFO: Processing buffer {"connection_id":149651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:53:20] local.INFO: IMEI packet received {"connection_id":149651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":149651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:53:21] local.INFO: TCP Data received {"connection_id":149651,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:53:21] local.INFO: Processing buffer {"connection_id":149651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:53:21] local.INFO: Packet analysis {"connection_id":149651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:53:21] local.INFO: Extracted packet for processing {"connection_id":149651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:53:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194912512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917928000,"timestamp_ms":1785917928000,"timestamp_seconds":1785917928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100f240"} 
[2026-08-05 13:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:53: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-08-05 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 13:53: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-08-05 13: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-08-05 13:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194912512001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194912512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:53:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194912512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":149651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:53:21] local.INFO: GPS data processed {"connection_id":149651,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:53:21] local.INFO: Acknowledgment sent {"connection_id":149651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:53:52] local.INFO: TCP Data received {"connection_id":149651,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:53:52] local.INFO: Processing buffer {"connection_id":149651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:53:52] local.INFO: Packet analysis {"connection_id":149651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:53:52] local.INFO: Extracted packet for processing {"connection_id":149651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:53:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194912512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785917928000,"timestamp_ms":1785917928000,"timestamp_seconds":1785917928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100f240"} 
[2026-08-05 13:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 13:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194912512001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194912512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:53:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194912512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":149651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:53:52] local.INFO: GPS data processed {"connection_id":149651,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:53:52] local.INFO: Acknowledgment sent {"connection_id":149651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:54:14] local.INFO: TCP Data received {"connection_id":148656,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:54:14] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:54:14] local.INFO: IMEI packet received {"connection_id":148656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":148656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:54:20] local.INFO: TCP Data received {"connection_id":148656,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:54:20] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:54:20] local.INFO: IMEI packet received {"connection_id":148656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":148656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:54:21] local.INFO: TCP Data received {"connection_id":148656,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:54:21] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd100f240012d7f92c005afd9e8000000e925..."} 
[2026-08-05 13:54:21] local.INFO: Packet analysis {"connection_id":148656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:54:21] local.INFO: Extracted packet for processing {"connection_id":148656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd100"} 
[2026-08-05 13:54:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194912512001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785917928000,"timestamp_ms":1785917928000,"timestamp_seconds":1785917928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd100f240"} 
[2026-08-05 13:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:54: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-08-05 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 13:54: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-08-05 13: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-08-05 13:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194912512001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194912512001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:54:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194912512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":148656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:54:21] local.INFO: GPS data processed {"connection_id":148656,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:54:21] local.INFO: Acknowledgment sent {"connection_id":148656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:54:52] local.INFO: TCP Data received {"connection_id":148656,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:54:52] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:54:52] local.INFO: Packet analysis {"connection_id":148656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:54:52] local.INFO: Extracted packet for processing {"connection_id":148656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:54:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194989568001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918229000,"timestamp_ms":1785918229000,"timestamp_seconds":1785918229,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1058a08"} 
[2026-08-05 13:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194989568001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194989568001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:54:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:54:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194989568001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":148656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:54:52] local.INFO: GPS data processed {"connection_id":148656,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:54:52] local.INFO: Acknowledgment sent {"connection_id":148656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:55:15] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:55:15] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:55:15] local.INFO: IMEI packet received {"connection_id":148446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":148446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:55:20] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:55:20] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:55:20] local.INFO: IMEI packet received {"connection_id":148446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":148446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:55:21] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:55:21] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:55:21] local.INFO: Packet analysis {"connection_id":148446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:55:21] local.INFO: Extracted packet for processing {"connection_id":148446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194989568001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785918229000,"timestamp_ms":1785918229000,"timestamp_seconds":1785918229,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1058a08"} 
[2026-08-05 13:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:55: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-08-05 13:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:55: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-08-05 13:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194989568001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194989568001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:55:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194989568001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":148446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:55:21] local.INFO: GPS data processed {"connection_id":148446,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:55:21] local.INFO: Acknowledgment sent {"connection_id":148446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:55:52] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:55:52] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:55:52] local.INFO: Packet analysis {"connection_id":148446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:55:52] local.INFO: Extracted packet for processing {"connection_id":148446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:55:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194989568001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918229000,"timestamp_ms":1785918229000,"timestamp_seconds":1785918229,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1058a08"} 
[2026-08-05 13:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194989568001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194989568001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:55:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194989568001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":148446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:55:52] local.INFO: GPS data processed {"connection_id":148446,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:55:52] local.INFO: Acknowledgment sent {"connection_id":148446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:56:14] local.INFO: TCP Data received {"connection_id":151065,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:56:14] local.INFO: Processing buffer {"connection_id":151065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:56:14] local.INFO: IMEI packet received {"connection_id":151065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":151065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:56:20] local.INFO: TCP Data received {"connection_id":151065,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:56:20] local.INFO: Processing buffer {"connection_id":151065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:56:20] local.INFO: IMEI packet received {"connection_id":151065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":151065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:56:21] local.INFO: TCP Data received {"connection_id":151065,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:56:21] local.INFO: Processing buffer {"connection_id":151065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:56:21] local.INFO: Packet analysis {"connection_id":151065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:56:21] local.INFO: Extracted packet for processing {"connection_id":151065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:56:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13: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-08-05 13:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194989568001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785918229000,"timestamp_ms":1785918229000,"timestamp_seconds":1785918229,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1058a08"} 
[2026-08-05 13:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:56: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-08-05 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:56: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-08-05 13: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-08-05 13:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:56: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-08-05 13:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194989568001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194989568001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:56:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194989568001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":151065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:56:21] local.INFO: GPS data processed {"connection_id":151065,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:56:21] local.INFO: Acknowledgment sent {"connection_id":151065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:56:44] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:56:44] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:56:44] local.INFO: IMEI packet received {"connection_id":148658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":148658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:56:44] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:56:44] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:56:44] local.INFO: IMEI packet received {"connection_id":148658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":148658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:56:45] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1074370012d1abd00071f41c80041011f2c..."} 
[2026-08-05 13:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1074370012d1abd00071f41c80041011f2c..."} 
[2026-08-05 13:56:45] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1074370012d1abd00071f41c80041011f2c..."} 
[2026-08-05 13:56:45] local.INFO: Packet analysis {"connection_id":148658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd107"} 
[2026-08-05 13:56:45] local.INFO: Extracted packet for processing {"connection_id":148658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd107"} 
[2026-08-05 13:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756727040,"raw_latitude":119488968,"longitude_deg":75.672704,"latitude_deg":11.9488968,"altitude":65,"angle":287,"satellites":44,"speed":22,"hex_longitude":"2d1abd00","hex_latitude":"071f41c8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195093504001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10662569844932608,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933029433149487104,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56: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-08-05 13:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785918342000,"timestamp_ms":1785918342000,"timestamp_seconds":1785918342,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1074370"} 
[2026-08-05 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-08-05 13:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 13:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3506892160,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:45] local.WARNING: Large IO value detected {"io_id":224,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 13:56:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2147950398,"corrected_to":0} 
[2026-08-05 13:56:45] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402104,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:45] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,225,159,12,45,66,70,44,10,4,64,43,224,1,240,18,227,209,31,113,205,27,249,246,152,239,54,2,37,7,73],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":246,"original":2147950398,"validated":0}]} 
[2026-08-05 13:56:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828159156196278272,"timestamp_seconds":4828159156196278.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 13:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195093504001,"66":14396,"101":206,"83":41984,"24":22,"16":10662569844932608,"45":1933029433149487104},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195093504001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:56:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10662569844932608,"km_value":10662569844932.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933029433149487104,"description":"Unknown IO ID 45"} 
[2026-08-05 13:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195093504001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1933029433149487104}} 
[2026-08-05 13:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":148658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:56:45] local.INFO: GPS data processed {"connection_id":148658,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:56:45] local.INFO: Acknowledgment sent {"connection_id":148658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:56:46] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1074b40012d1ab9c0071f43e0004101362c..."} 
[2026-08-05 13:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1074b40012d1ab9c0071f43e0004101362c..."} 
[2026-08-05 13:56:46] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1074b40012d1ab9c0071f43e0004101362c..."} 
[2026-08-05 13:56:46] local.INFO: Packet analysis {"connection_id":148658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd107"} 
[2026-08-05 13:56:46] local.INFO: Extracted packet for processing {"connection_id":148658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd107"} 
[2026-08-05 13:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756726208,"raw_latitude":119489504,"longitude_deg":75.6726208,"latitude_deg":11.9489504,"altitude":65,"angle":310,"satellites":44,"speed":18,"hex_longitude":"2d1ab9c0","hex_latitude":"071f43e0","is_valid_coordinates":true} 
[2026-08-05 13:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195095552001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10662617089572864,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926696246173616128,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56: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-08-05 13:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785918344000,"timestamp_ms":1785918344000,"timestamp_seconds":1785918344,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1074b40"} 
[2026-08-05 13:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 13:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195095552001,"66":14374,"101":206,"83":41984,"24":18,"16":10662617089572864,"45":1926696246173616128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195095552001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:56:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10662617089572864,"km_value":10662617089572.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926696246173616128,"description":"Unknown IO ID 45"} 
[2026-08-05 13:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195095552001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1926696246173616128}} 
[2026-08-05 13:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":148658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:56:46] local.INFO: GPS data processed {"connection_id":148658,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:56:46] local.INFO: Acknowledgment sent {"connection_id":148658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:56:52] local.INFO: TCP Data received {"connection_id":151065,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:56:52] local.INFO: Processing buffer {"connection_id":151065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:56:52] local.INFO: Packet analysis {"connection_id":151065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:56:52] local.INFO: Extracted packet for processing {"connection_id":151065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:56:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194989568001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918229000,"timestamp_ms":1785918229000,"timestamp_seconds":1785918229,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1058a08"} 
[2026-08-05 13:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194989568001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194989568001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:56:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194989568001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":151065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:56:52] local.INFO: GPS data processed {"connection_id":151065,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:56:52] local.INFO: Acknowledgment sent {"connection_id":151065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:57:14] local.INFO: TCP Data received {"connection_id":151066,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:57:14] local.INFO: Processing buffer {"connection_id":151066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:57:14] local.INFO: IMEI packet received {"connection_id":151066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":151066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:57:17] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1080aa8012d1a69c0071fd948003601282b..."} 
[2026-08-05 13:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1080aa8012d1a69c0071fd948003601282b..."} 
[2026-08-05 13:57:17] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1080aa8012d1a69c0071fd948003601282b..."} 
[2026-08-05 13:57:17] local.INFO: Packet analysis {"connection_id":148658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd108"} 
[2026-08-05 13:57:17] local.INFO: Extracted packet for processing {"connection_id":148658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd108"} 
[2026-08-05 13:57:17] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119527752,"longitude_deg":75.6705728,"latitude_deg":11.9527752,"altitude":54,"angle":296,"satellites":43,"speed":42,"hex_longitude":"2d1a69c0","hex_latitude":"071fd948","is_valid_coordinates":true} 
[2026-08-05 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-08-05 13:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195107840001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10665090990735360,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906148572883152896,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785918393000,"timestamp_ms":1785918393000,"timestamp_seconds":1785918393,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1080aa8"} 
[2026-08-05 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-08-05 13:57: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-08-05 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 13:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 13:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195107840001,"66":14048,"101":206,"83":41984,"24":42,"16":10665090990735360,"45":1906148572883152896},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195107840001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:57:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10665090990735360,"km_value":10665090990735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906148572883152896,"description":"Unknown IO ID 45"} 
[2026-08-05 13:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195107840001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1906148572883152896}} 
[2026-08-05 13:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":148658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:57:17] local.INFO: GPS data processed {"connection_id":148658,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:57:17] local.INFO: Acknowledgment sent {"connection_id":148658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:57:20] local.INFO: TCP Data received {"connection_id":151066,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:57:20] local.INFO: Processing buffer {"connection_id":151066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:57:20] local.INFO: IMEI packet received {"connection_id":151066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":151066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:57:21] local.INFO: TCP Data received {"connection_id":151066,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:57:21] local.INFO: Processing buffer {"connection_id":151066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:57:21] local.INFO: Packet analysis {"connection_id":151066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:57:21] local.INFO: Extracted packet for processing {"connection_id":151066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:57:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194989568001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785918229000,"timestamp_ms":1785918229000,"timestamp_seconds":1785918229,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1058a08"} 
[2026-08-05 13:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13: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-08-05 13:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:57: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-08-05 13:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194989568001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194989568001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:57:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194989568001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":151066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:57:21] local.INFO: GPS data processed {"connection_id":151066,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:57:21] local.INFO: Acknowledgment sent {"connection_id":151066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:57:40] local.INFO: TCP Data received {"connection_id":149652,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:57:40] local.INFO: Processing buffer {"connection_id":149652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:57:40] local.INFO: IMEI packet received {"connection_id":149652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":149652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:57:41] local.INFO: TCP Data received {"connection_id":149652,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:57:41] local.INFO: Processing buffer {"connection_id":149652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:57:41] local.INFO: IMEI packet received {"connection_id":149652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":149652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:57:44] local.INFO: TCP Data received {"connection_id":149652,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:57:44] local.INFO: Processing buffer {"connection_id":149652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:57:44] local.INFO: IMEI packet received {"connection_id":149652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":149652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:57:45] local.INFO: TCP Data received {"connection_id":149652,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1080e90012d1a6580071fda780036011b2b..."} 
[2026-08-05 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1080e90012d1a6580071fda780036011b2b..."} 
[2026-08-05 13:57:45] local.INFO: Processing buffer {"connection_id":149652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1080e90012d1a6580071fda780036011b2b..."} 
[2026-08-05 13:57:45] local.INFO: Packet analysis {"connection_id":149652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd108"} 
[2026-08-05 13:57:45] local.INFO: Extracted packet for processing {"connection_id":149652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd108"} 
[2026-08-05 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756704640,"raw_latitude":119528056,"longitude_deg":75.670464,"latitude_deg":11.9528056,"altitude":54,"angle":283,"satellites":43,"speed":42,"hex_longitude":"2d1a6580","hex_latitude":"071fda78","is_valid_coordinates":true} 
[2026-08-05 13:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195108608001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10665142530342912,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454372382720,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57: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-08-05 13:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785918394000,"timestamp_ms":1785918394000,"timestamp_seconds":1785918394,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1080e90"} 
[2026-08-05 13:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 13:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195108608001,"66":14048,"101":206,"83":41984,"24":42,"16":10665142530342912,"45":1903263454372382720},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195108608001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:57:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10665142530342912,"km_value":10665142530342.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454372382720,"description":"Unknown IO ID 45"} 
[2026-08-05 13:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195108608001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1903263454372382720}} 
[2026-08-05 13:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":149652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:57:45] local.INFO: GPS data processed {"connection_id":149652,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:57:45] local.INFO: Acknowledgment sent {"connection_id":149652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:57:52] local.INFO: TCP Data received {"connection_id":151066,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:57:52] local.INFO: Processing buffer {"connection_id":151066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:57:52] local.INFO: Packet analysis {"connection_id":151066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:57:52] local.INFO: Extracted packet for processing {"connection_id":151066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:57:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194989568001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918229000,"timestamp_ms":1785918229000,"timestamp_seconds":1785918229,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1058a08"} 
[2026-08-05 13:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194989568001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194989568001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:57:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194989568001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":151066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:57:52] local.INFO: GPS data processed {"connection_id":151066,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:57:52] local.INFO: Acknowledgment sent {"connection_id":151066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:58:14] local.INFO: TCP Data received {"connection_id":149653,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:58:14] local.INFO: Processing buffer {"connection_id":149653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:58:14] local.INFO: IMEI packet received {"connection_id":149653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":149653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:58:16] local.INFO: TCP Data received {"connection_id":149652,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd108e950012d19ca00071ff280003200e230..."} 
[2026-08-05 13:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd108e950012d19ca00071ff280003200e230..."} 
[2026-08-05 13:58:16] local.INFO: Processing buffer {"connection_id":149652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd108e950012d19ca00071ff280003200e230..."} 
[2026-08-05 13:58:16] local.INFO: Packet analysis {"connection_id":149652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd108"} 
[2026-08-05 13:58:16] local.INFO: Extracted packet for processing {"connection_id":149652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd108"} 
[2026-08-05 13:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119534208,"longitude_deg":75.6664832,"latitude_deg":11.9534208,"altitude":50,"angle":226,"satellites":48,"speed":12,"hex_longitude":"2d19ca00","hex_latitude":"071ff280","is_valid_coordinates":true} 
[2026-08-05 13:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195122944001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10667315783794688,"note":"Value kept but may cause issues"} 
[2026-08-05 13:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077102592,"note":"Value kept but may cause issues"} 
[2026-08-05 13:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785918450000,"timestamp_ms":1785918450000,"timestamp_seconds":1785918450,"priority":1,"record_length":96,"hex_timestamp":"0000019fd108e950"} 
[2026-08-05 13:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 13: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-05 13:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 13:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 13:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 13:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195122944001,"66":14559,"101":206,"83":41984,"24":12,"16":10667315783794688,"45":1858508933077102592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 13:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 13:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 13:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195122944001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:58:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 13:58:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 13:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10667315783794688,"km_value":10667315783794.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077102592,"description":"Unknown IO ID 45"} 
[2026-08-05 13:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195122944001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1858508933077102592}} 
[2026-08-05 13:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":149652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:58:16] local.INFO: GPS data processed {"connection_id":149652,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:58:16] local.INFO: Acknowledgment sent {"connection_id":149652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:58:20] local.INFO: TCP Data received {"connection_id":149653,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:58:20] local.INFO: Processing buffer {"connection_id":149653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:58:20] local.INFO: IMEI packet received {"connection_id":149653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":149653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:58:21] local.INFO: TCP Data received {"connection_id":149653,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:58:21] local.INFO: Processing buffer {"connection_id":149653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:58:21] local.INFO: Packet analysis {"connection_id":149653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:58:21] local.INFO: Extracted packet for processing {"connection_id":149653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194989568001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785918229000,"timestamp_ms":1785918229000,"timestamp_seconds":1785918229,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1058a08"} 
[2026-08-05 13:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13: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-08-05 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:58: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-08-05 13:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194989568001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194989568001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:58:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194989568001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":149653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:58:21] local.INFO: GPS data processed {"connection_id":149653,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:58:21] local.INFO: Acknowledgment sent {"connection_id":149653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:58:40] local.INFO: TCP Data received {"connection_id":151067,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:58:40] local.INFO: Processing buffer {"connection_id":151067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:58:40] local.INFO: IMEI packet received {"connection_id":151067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 13:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":151067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:58:41] local.INFO: TCP Data received {"connection_id":151067,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 13:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151067,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 13:58:41] local.INFO: Processing buffer {"connection_id":151067,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 13:58:41] local.INFO: IMEI packet received {"connection_id":151067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":151067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:58:42] local.INFO: TCP Data received {"connection_id":151067,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 13:58:42] local.INFO: Processing buffer {"connection_id":151067,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 13:58:42] local.INFO: IMEI packet received {"connection_id":151067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 13:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":151067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:58:52] local.INFO: TCP Data received {"connection_id":149653,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:58:52] local.INFO: Processing buffer {"connection_id":149653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:58:52] local.INFO: Packet analysis {"connection_id":149653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:58:52] local.INFO: Extracted packet for processing {"connection_id":149653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:58:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194989568001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918229000,"timestamp_ms":1785918229000,"timestamp_seconds":1785918229,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1058a08"} 
[2026-08-05 13:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194989568001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194989568001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:58:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:58:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194989568001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":149653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:58:52] local.INFO: GPS data processed {"connection_id":149653,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:58:52] local.INFO: Acknowledgment sent {"connection_id":149653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:59:14] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:59:14] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:59:14] local.INFO: IMEI packet received {"connection_id":148659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 13:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":148659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 13:59:20] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:59:20] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 13:59:20] local.INFO: IMEI packet received {"connection_id":148659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 13:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":148659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 13:59:21] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:59:21] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1058a08012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:59:21] local.INFO: Packet analysis {"connection_id":148659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:59:21] local.INFO: Extracted packet for processing {"connection_id":148659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd105"} 
[2026-08-05 13:59:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457194989568001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785918229000,"timestamp_ms":1785918229000,"timestamp_seconds":1785918229,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1058a08"} 
[2026-08-05 13:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:59: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-08-05 13:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 13:59: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-08-05 13:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:59: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-08-05 13:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457194989568001,"66":25538,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457194989568001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:59:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457194989568001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":148659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:59:21] local.INFO: GPS data processed {"connection_id":148659,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:59:21] local.INFO: Acknowledgment sent {"connection_id":148659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 13:59:52] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:59:52] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 13:59:52] local.INFO: Packet analysis {"connection_id":148659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 13:59:52] local.INFO: Extracted packet for processing {"connection_id":148659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 13:59:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 13:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 13:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195066624001,"note":"Value kept but may cause issues"} 
[2026-08-05 13:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 13:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 13:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 13:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918530000,"timestamp_ms":1785918530000,"timestamp_seconds":1785918530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10a21d0"} 
[2026-08-05 13:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 13:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 13:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 13:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 13:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 13:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 13:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 13:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 13:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 13:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 13:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 13:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 13:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195066624001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 13:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 13:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 13:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195066624001,"description":"Unknown IO ID 0"} 
[2026-08-05 13:59:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 13:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 13:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 13:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 13:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195066624001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 13:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":148659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 13:59:52] local.INFO: GPS data processed {"connection_id":148659,"processed":1,"errors":0,"total":1} 
[2026-08-05 13:59:52] local.INFO: Acknowledgment sent {"connection_id":148659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:00:15] local.INFO: TCP Data received {"connection_id":149655,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:00:15] local.INFO: Processing buffer {"connection_id":149655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:00:15] local.INFO: IMEI packet received {"connection_id":149655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":149655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:00:20] local.INFO: TCP Data received {"connection_id":149655,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:00:20] local.INFO: Processing buffer {"connection_id":149655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:00:20] local.INFO: IMEI packet received {"connection_id":149655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":149655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:00:20] local.INFO: TCP Data received {"connection_id":149655,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:00:20] local.INFO: Processing buffer {"connection_id":149655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:00:20] local.INFO: Packet analysis {"connection_id":149655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:00:20] local.INFO: Extracted packet for processing {"connection_id":149655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:00:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195066624001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785918530000,"timestamp_ms":1785918530000,"timestamp_seconds":1785918530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10a21d0"} 
[2026-08-05 14:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:00: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-08-05 14: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":194,"data_length":795,"current_offset":136} 
[2026-08-05 14:00: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-08-05 14: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-08-05 14:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195066624001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195066624001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:00:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195066624001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":149655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:00:20] local.INFO: GPS data processed {"connection_id":149655,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:00:20] local.INFO: Acknowledgment sent {"connection_id":149655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:00:52] local.INFO: TCP Data received {"connection_id":149655,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:00:52] local.INFO: Processing buffer {"connection_id":149655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:00:52] local.INFO: Packet analysis {"connection_id":149655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:00:52] local.INFO: Extracted packet for processing {"connection_id":149655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:00:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195066624001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918530000,"timestamp_ms":1785918530000,"timestamp_seconds":1785918530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10a21d0"} 
[2026-08-05 14:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 14:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195066624001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195066624001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:00:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195066624001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":149655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:00:52] local.INFO: GPS data processed {"connection_id":149655,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:00:52] local.INFO: Acknowledgment sent {"connection_id":149655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:01:14] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:01:14] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:01:14] local.INFO: IMEI packet received {"connection_id":148660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":148660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:01:20] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:01:20] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:01:20] local.INFO: IMEI packet received {"connection_id":148660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":148660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:01:21] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:01:21] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:01:21] local.INFO: Packet analysis {"connection_id":148660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:01:21] local.INFO: Extracted packet for processing {"connection_id":148660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195066624001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785918530000,"timestamp_ms":1785918530000,"timestamp_seconds":1785918530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10a21d0"} 
[2026-08-05 14:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:01: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-08-05 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 14:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195066624001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195066624001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:01:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195066624001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":148660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:01:21] local.INFO: GPS data processed {"connection_id":148660,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:01:21] local.INFO: Acknowledgment sent {"connection_id":148660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:01:52] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:01:52] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:01:52] local.INFO: Packet analysis {"connection_id":148660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:01:52] local.INFO: Extracted packet for processing {"connection_id":148660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:01:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195066624001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918530000,"timestamp_ms":1785918530000,"timestamp_seconds":1785918530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10a21d0"} 
[2026-08-05 14:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 14:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195066624001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195066624001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:01:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195066624001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":148660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:01:52] local.INFO: GPS data processed {"connection_id":148660,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:01:52] local.INFO: Acknowledgment sent {"connection_id":148660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:02:14] local.INFO: TCP Data received {"connection_id":149656,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:02:14] local.INFO: Processing buffer {"connection_id":149656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:02:14] local.INFO: IMEI packet received {"connection_id":149656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":149656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:02:20] local.INFO: TCP Data received {"connection_id":149656,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:02:20] local.INFO: Processing buffer {"connection_id":149656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:02:20] local.INFO: IMEI packet received {"connection_id":149656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":149656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:02:20] local.INFO: TCP Data received {"connection_id":149656,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:02:20] local.INFO: Processing buffer {"connection_id":149656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:02:20] local.INFO: Packet analysis {"connection_id":149656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:02:20] local.INFO: Extracted packet for processing {"connection_id":149656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:02:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195066624001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785918530000,"timestamp_ms":1785918530000,"timestamp_seconds":1785918530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10a21d0"} 
[2026-08-05 14:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:02: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-08-05 14:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 14:02: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-08-05 14:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195066624001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195066624001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:02:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195066624001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":149656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:02:21] local.INFO: GPS data processed {"connection_id":149656,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:02:21] local.INFO: Acknowledgment sent {"connection_id":149656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:02:52] local.INFO: TCP Data received {"connection_id":149656,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:02:52] local.INFO: Processing buffer {"connection_id":149656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:02:52] local.INFO: Packet analysis {"connection_id":149656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:02:52] local.INFO: Extracted packet for processing {"connection_id":149656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:02:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195066624001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918530000,"timestamp_ms":1785918530000,"timestamp_seconds":1785918530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10a21d0"} 
[2026-08-05 14:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 14:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195066624001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195066624001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:02:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195066624001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":149656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:02:52] local.INFO: GPS data processed {"connection_id":149656,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:02:52] local.INFO: Acknowledgment sent {"connection_id":149656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:03:14] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:03:14] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:03:14] local.INFO: IMEI packet received {"connection_id":148662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":148662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:03:20] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:03:20] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:03:20] local.INFO: IMEI packet received {"connection_id":148662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":148662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:03:20] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:03:20] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:03:20] local.INFO: Packet analysis {"connection_id":148662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:03:20] local.INFO: Extracted packet for processing {"connection_id":148662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:03:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195066624001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785918530000,"timestamp_ms":1785918530000,"timestamp_seconds":1785918530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10a21d0"} 
[2026-08-05 14:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:03: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-08-05 14:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 14:03: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-08-05 14:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:03: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-08-05 14:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195066624001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195066624001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:03:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195066624001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":148662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:03:20] local.INFO: GPS data processed {"connection_id":148662,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:03:20] local.INFO: Acknowledgment sent {"connection_id":148662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:03:45] local.INFO: TCP Data received {"connection_id":148663,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:03:45] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:03:45] local.INFO: IMEI packet received {"connection_id":148663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":148663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:03:45] local.INFO: TCP Data received {"connection_id":148663,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10b9100012d196840071fed20003c011d2e..."} 
[2026-08-05 14:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10b9100012d196840071fed20003c011d2e..."} 
[2026-08-05 14:03:45] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10b9100012d196840071fed20003c011d2e..."} 
[2026-08-05 14:03:45] local.INFO: Packet analysis {"connection_id":148663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10b"} 
[2026-08-05 14:03:45] local.INFO: Extracted packet for processing {"connection_id":148663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10b"} 
[2026-08-05 14:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195162368001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785918624000,"timestamp_ms":1785918624000,"timestamp_seconds":1785918624,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10b9100"} 
[2026-08-05 14:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-05 14:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195162368001,"66":13004,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195162368001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:03:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195162368001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":148663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:03:46] local.INFO: GPS data processed {"connection_id":148663,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:03:46] local.INFO: Acknowledgment sent {"connection_id":148663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:03:52] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:03:52] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:03:52] local.INFO: Packet analysis {"connection_id":148662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:03:52] local.INFO: Extracted packet for processing {"connection_id":148662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:03:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195066624001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918530000,"timestamp_ms":1785918530000,"timestamp_seconds":1785918530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10a21d0"} 
[2026-08-05 14:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 14:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195066624001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195066624001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:03:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195066624001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":148662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:03:52] local.INFO: GPS data processed {"connection_id":148662,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:03:52] local.INFO: Acknowledgment sent {"connection_id":148662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:04:17] local.INFO: TCP Data received {"connection_id":148663,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10be308012d196840071fed20003c011d2e..."} 
[2026-08-05 14:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10be308012d196840071fed20003c011d2e..."} 
[2026-08-05 14:04:17] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10be308012d196840071fed20003c011d2e..."} 
[2026-08-05 14:04:17] local.INFO: Packet analysis {"connection_id":148663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10b"} 
[2026-08-05 14:04:17] local.INFO: Extracted packet for processing {"connection_id":148663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10b"} 
[2026-08-05 14:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195167744001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785918645000,"timestamp_ms":1785918645000,"timestamp_seconds":1785918645,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10be308"} 
[2026-08-05 14:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:04: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-08-05 14: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-05 14:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195167744001,"66":12993,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195167744001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:04:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195167744001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":148663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:04:17] local.INFO: GPS data processed {"connection_id":148663,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:04:17] local.INFO: Acknowledgment sent {"connection_id":148663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:04:20] local.INFO: TCP Data received {"connection_id":151069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:04:20] local.INFO: Processing buffer {"connection_id":151069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:04:20] local.INFO: IMEI packet received {"connection_id":151069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":151069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:04:25] local.INFO: TCP Data received {"connection_id":151069,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:04:25] local.INFO: Processing buffer {"connection_id":151069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:04:25] local.INFO: IMEI packet received {"connection_id":151069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":151069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:04:26] local.INFO: TCP Data received {"connection_id":151069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:04:26] local.INFO: Processing buffer {"connection_id":151069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10a21d0012d7f92c005afd9e8000000e92a..."} 
[2026-08-05 14:04:26] local.INFO: Packet analysis {"connection_id":151069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:04:26] local.INFO: Extracted packet for processing {"connection_id":151069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10a"} 
[2026-08-05 14:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195066624001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785918530000,"timestamp_ms":1785918530000,"timestamp_seconds":1785918530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10a21d0"} 
[2026-08-05 14:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 14:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195066624001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195066624001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:04:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195066624001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":151069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:04:26] local.INFO: GPS data processed {"connection_id":151069,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:04:26] local.INFO: Acknowledgment sent {"connection_id":151069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:04:29] local.INFO: TCP Data received {"connection_id":151069,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:04:29] local.INFO: Processing buffer {"connection_id":151069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:04:29] local.INFO: Packet analysis {"connection_id":151069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:04:29] local.INFO: Extracted packet for processing {"connection_id":151069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195143680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785918831000,"timestamp_ms":1785918831000,"timestamp_seconds":1785918831,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10eb998"} 
[2026-08-05 14:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195143680001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195143680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:04:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195143680001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":151069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:04:29] local.INFO: GPS data processed {"connection_id":151069,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:04:29] local.INFO: Acknowledgment sent {"connection_id":151069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:04:40] local.INFO: TCP Data received {"connection_id":149657,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:04:40] local.INFO: Processing buffer {"connection_id":149657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:04:40] local.INFO: IMEI packet received {"connection_id":149657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":149657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:04:45] local.INFO: TCP Data received {"connection_id":149657,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:04:45] local.INFO: Processing buffer {"connection_id":149657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:04:45] local.INFO: IMEI packet received {"connection_id":149657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":149657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:04:45] local.INFO: TCP Data received {"connection_id":149657,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10c3510012d196840071fed20003c011d2d..."} 
[2026-08-05 14:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10c3510012d196840071fed20003c011d2d..."} 
[2026-08-05 14:04:45] local.INFO: Processing buffer {"connection_id":149657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10c3510012d196840071fed20003c011d2d..."} 
[2026-08-05 14:04:45] local.INFO: Packet analysis {"connection_id":149657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10c"} 
[2026-08-05 14:04:45] local.INFO: Extracted packet for processing {"connection_id":149657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10c"} 
[2026-08-05 14:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195173120001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785918666000,"timestamp_ms":1785918666000,"timestamp_seconds":1785918666,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10c3510"} 
[2026-08-05 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-08-05 14:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 14:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195173120001,"66":12961,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195173120001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:04:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195173120001,"power":12961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":149657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:04:46] local.INFO: GPS data processed {"connection_id":149657,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:04:46] local.INFO: Acknowledgment sent {"connection_id":149657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:05:14] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:05:14] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:05:14] local.INFO: IMEI packet received {"connection_id":148448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":148448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:05:17] local.INFO: TCP Data received {"connection_id":149657,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10c8718012d196840071fed20003c011d2e..."} 
[2026-08-05 14:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10c8718012d196840071fed20003c011d2e..."} 
[2026-08-05 14:05:17] local.INFO: Processing buffer {"connection_id":149657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10c8718012d196840071fed20003c011d2e..."} 
[2026-08-05 14:05:17] local.INFO: Packet analysis {"connection_id":149657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10c"} 
[2026-08-05 14:05:17] local.INFO: Extracted packet for processing {"connection_id":149657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10c"} 
[2026-08-05 14:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195178496001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785918687000,"timestamp_ms":1785918687000,"timestamp_seconds":1785918687,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10c8718"} 
[2026-08-05 14:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-05 14:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195178496001,"66":12950,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195178496001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:05:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195178496001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":149657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:05:17] local.INFO: GPS data processed {"connection_id":149657,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:05:17] local.INFO: Acknowledgment sent {"connection_id":149657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:05:19] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:05:19] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:05:19] local.INFO: IMEI packet received {"connection_id":148448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":148448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:05:21] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:05:21] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:05:21] local.INFO: Packet analysis {"connection_id":148448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:05:21] local.INFO: Extracted packet for processing {"connection_id":148448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:05:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195143680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785918831000,"timestamp_ms":1785918831000,"timestamp_seconds":1785918831,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10eb998"} 
[2026-08-05 14:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:05: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-08-05 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:05: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-08-05 14: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-08-05 14:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:05: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-08-05 14:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195143680001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195143680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:05:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195143680001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":148448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:05:21] local.INFO: GPS data processed {"connection_id":148448,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:05:21] local.INFO: Acknowledgment sent {"connection_id":148448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:05:39] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:05:39] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:05:39] local.INFO: IMEI packet received {"connection_id":148449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":148449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:05:45] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:05:45] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:05:45] local.INFO: IMEI packet received {"connection_id":148449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":148449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:05:46] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10cd920012d196840071fed20003c011d2f..."} 
[2026-08-05 14:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10cd920012d196840071fed20003c011d2f..."} 
[2026-08-05 14:05:46] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10cd920012d196840071fed20003c011d2f..."} 
[2026-08-05 14:05:46] local.INFO: Packet analysis {"connection_id":148449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10c"} 
[2026-08-05 14:05:46] local.INFO: Extracted packet for processing {"connection_id":148449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10c"} 
[2026-08-05 14:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195183872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785918708000,"timestamp_ms":1785918708000,"timestamp_seconds":1785918708,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10cd920"} 
[2026-08-05 14:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 14:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195183872001,"66":12885,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195183872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:05:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195183872001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":148449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:05:46] local.INFO: GPS data processed {"connection_id":148449,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:05:46] local.INFO: Acknowledgment sent {"connection_id":148449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:05:52] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:05:52] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:05:52] local.INFO: Packet analysis {"connection_id":148448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:05:52] local.INFO: Extracted packet for processing {"connection_id":148448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:05:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195143680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918831000,"timestamp_ms":1785918831000,"timestamp_seconds":1785918831,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10eb998"} 
[2026-08-05 14:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195143680001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195143680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:05:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195143680001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":148448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:05:52] local.INFO: GPS data processed {"connection_id":148448,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:05:52] local.INFO: Acknowledgment sent {"connection_id":148448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:06:14] local.INFO: TCP Data received {"connection_id":148664,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:06:14] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:06:14] local.INFO: IMEI packet received {"connection_id":148664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":148664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:06:17] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10d2b28012d196840071fed20003c011d30..."} 
[2026-08-05 14:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10d2b28012d196840071fed20003c011d30..."} 
[2026-08-05 14:06:17] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10d2b28012d196840071fed20003c011d30..."} 
[2026-08-05 14:06:17] local.INFO: Packet analysis {"connection_id":148449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10d"} 
[2026-08-05 14:06:17] local.INFO: Extracted packet for processing {"connection_id":148449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10d"} 
[2026-08-05 14:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":48,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195189248001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785918729000,"timestamp_ms":1785918729000,"timestamp_seconds":1785918729,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10d2b28"} 
[2026-08-05 14:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195189248001,"66":12885,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195189248001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:06:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195189248001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":148449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:06:17] local.INFO: GPS data processed {"connection_id":148449,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:06:17] local.INFO: Acknowledgment sent {"connection_id":148449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:06:20] local.INFO: TCP Data received {"connection_id":148664,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:06:20] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:06:20] local.INFO: IMEI packet received {"connection_id":148664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":148664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:06:21] local.INFO: TCP Data received {"connection_id":148664,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:06:21] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:06:21] local.INFO: Packet analysis {"connection_id":148664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:06:21] local.INFO: Extracted packet for processing {"connection_id":148664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195143680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785918831000,"timestamp_ms":1785918831000,"timestamp_seconds":1785918831,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10eb998"} 
[2026-08-05 14:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:06: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-08-05 14:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:06: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-08-05 14:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:06: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-08-05 14:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195143680001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195143680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:06:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195143680001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":148664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:06:21] local.INFO: GPS data processed {"connection_id":148664,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:06:21] local.INFO: Acknowledgment sent {"connection_id":148664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:06:39] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:06:39] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:06:39] local.INFO: IMEI packet received {"connection_id":148450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":148450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:06:45] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:06:45] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:06:45] local.INFO: IMEI packet received {"connection_id":148450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":148450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:06:45] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10d7d30012d196840071fed20003c011d2d..."} 
[2026-08-05 14:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10d7d30012d196840071fed20003c011d2d..."} 
[2026-08-05 14:06:45] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10d7d30012d196840071fed20003c011d2d..."} 
[2026-08-05 14:06:45] local.INFO: Packet analysis {"connection_id":148450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10d"} 
[2026-08-05 14:06:45] local.INFO: Extracted packet for processing {"connection_id":148450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10d"} 
[2026-08-05 14:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195194624001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785918750000,"timestamp_ms":1785918750000,"timestamp_seconds":1785918750,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10d7d30"} 
[2026-08-05 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-08-05 14:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195194624001,"66":12863,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195194624001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:06:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195194624001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":148450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:06:46] local.INFO: GPS data processed {"connection_id":148450,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:06:46] local.INFO: Acknowledgment sent {"connection_id":148450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:06:52] local.INFO: TCP Data received {"connection_id":148664,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:06:52] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:06:52] local.INFO: Packet analysis {"connection_id":148664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:06:52] local.INFO: Extracted packet for processing {"connection_id":148664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195143680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918831000,"timestamp_ms":1785918831000,"timestamp_seconds":1785918831,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10eb998"} 
[2026-08-05 14:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195143680001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195143680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:06:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195143680001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":148664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:06:52] local.INFO: GPS data processed {"connection_id":148664,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:06:52] local.INFO: Acknowledgment sent {"connection_id":148664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:07:14] local.INFO: TCP Data received {"connection_id":151070,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:07:14] local.INFO: Processing buffer {"connection_id":151070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:07:14] local.INFO: IMEI packet received {"connection_id":151070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":151070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:07:17] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10dcf38012d196840071fed20003c011d2e..."} 
[2026-08-05 14:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10dcf38012d196840071fed20003c011d2e..."} 
[2026-08-05 14:07:17] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10dcf38012d196840071fed20003c011d2e..."} 
[2026-08-05 14:07:17] local.INFO: Packet analysis {"connection_id":148450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10d"} 
[2026-08-05 14:07:17] local.INFO: Extracted packet for processing {"connection_id":148450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10d"} 
[2026-08-05 14:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195200000001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785918771000,"timestamp_ms":1785918771000,"timestamp_seconds":1785918771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10dcf38"} 
[2026-08-05 14:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:07: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-08-05 14: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 14:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195200000001,"66":11874,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195200000001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:07:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195200000001,"power":11874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":148450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:07:17] local.INFO: GPS data processed {"connection_id":148450,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:07:17] local.INFO: Acknowledgment sent {"connection_id":148450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:07:20] local.INFO: TCP Data received {"connection_id":151070,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:07:20] local.INFO: Processing buffer {"connection_id":151070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:07:20] local.INFO: IMEI packet received {"connection_id":151070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":151070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:07:21] local.INFO: TCP Data received {"connection_id":151070,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:07:21] local.INFO: Processing buffer {"connection_id":151070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:07:21] local.INFO: Packet analysis {"connection_id":151070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:07:21] local.INFO: Extracted packet for processing {"connection_id":151070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:07:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195143680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785918831000,"timestamp_ms":1785918831000,"timestamp_seconds":1785918831,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10eb998"} 
[2026-08-05 14:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14: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-08-05 14:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195143680001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195143680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:07:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195143680001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":151070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:07:21] local.INFO: GPS data processed {"connection_id":151070,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:07:21] local.INFO: Acknowledgment sent {"connection_id":151070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:07:40] local.INFO: TCP Data received {"connection_id":151071,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:07:40] local.INFO: Processing buffer {"connection_id":151071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:07:40] local.INFO: IMEI packet received {"connection_id":151071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":151071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:07:45] local.INFO: TCP Data received {"connection_id":151071,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:07:45] local.INFO: Processing buffer {"connection_id":151071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:07:45] local.INFO: IMEI packet received {"connection_id":151071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":151071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:07:50] local.INFO: TCP Data received {"connection_id":151071,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:07:50] local.INFO: Processing buffer {"connection_id":151071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:07:50] local.INFO: IMEI packet received {"connection_id":151071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":151071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:07:51] local.INFO: TCP Data received {"connection_id":151071,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10e2140012d196840071fed20003c011d2d..."} 
[2026-08-05 14:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10e2140012d196840071fed20003c011d2d..."} 
[2026-08-05 14:07:51] local.INFO: Processing buffer {"connection_id":151071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10e2140012d196840071fed20003c011d2d..."} 
[2026-08-05 14:07:51] local.INFO: Packet analysis {"connection_id":151071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:07:51] local.INFO: Extracted packet for processing {"connection_id":151071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195205376001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785918792000,"timestamp_ms":1785918792000,"timestamp_seconds":1785918792,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10e2140"} 
[2026-08-05 14:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-05 14:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195205376001,"66":12819,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195205376001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:07:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195205376001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":151071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:07:51] local.INFO: GPS data processed {"connection_id":151071,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:07:51] local.INFO: Acknowledgment sent {"connection_id":151071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:07:52] local.INFO: TCP Data received {"connection_id":151070,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:07:52] local.INFO: Processing buffer {"connection_id":151070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:07:52] local.INFO: Packet analysis {"connection_id":151070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:07:52] local.INFO: Extracted packet for processing {"connection_id":151070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:07:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195143680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918831000,"timestamp_ms":1785918831000,"timestamp_seconds":1785918831,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10eb998"} 
[2026-08-05 14:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195143680001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195143680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:07:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195143680001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":151070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:07:52] local.INFO: GPS data processed {"connection_id":151070,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:07:52] local.INFO: Acknowledgment sent {"connection_id":151070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:07:55] local.INFO: TCP Data received {"connection_id":151071,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10e7348012d196840071fed20003c011d2e..."} 
[2026-08-05 14:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10e7348012d196840071fed20003c011d2e..."} 
[2026-08-05 14:07:55] local.INFO: Processing buffer {"connection_id":151071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10e7348012d196840071fed20003c011d2e..."} 
[2026-08-05 14:07:55] local.INFO: Packet analysis {"connection_id":151071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:07:55] local.INFO: Extracted packet for processing {"connection_id":151071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195210752001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785918813000,"timestamp_ms":1785918813000,"timestamp_seconds":1785918813,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10e7348"} 
[2026-08-05 14:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3507238160,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503762416369664,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":209,"raw_value":856537155275155520,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978297404,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":32,"raw_value":16889723440070656,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245516612055469,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3875209216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300530170034986286,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195061504,"note":"Value kept but may cause issues"} 
[2026-08-05 14:07:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,230,159,207,45,64,237,60,46,10,66,125,43,1,240,85,227,209,31,4,113,205,135,104,32,239,50,2,37,7,164,251,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-08-05 14:07:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323769196363120640,"timestamp_seconds":4323769196363120.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 14:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195210752001,"66":12819,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195210752001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:07:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:07:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195210752001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":151071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:07:55] local.INFO: GPS data processed {"connection_id":151071,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:07:55] local.INFO: Acknowledgment sent {"connection_id":151071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:08:14] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:08:14] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:08:14] local.INFO: IMEI packet received {"connection_id":148451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":148451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:08:20] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:08:20] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:08:20] local.INFO: IMEI packet received {"connection_id":148451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":148451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:08:21] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:08:21] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:08:21] local.INFO: Packet analysis {"connection_id":148451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:08:21] local.INFO: Extracted packet for processing {"connection_id":148451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:08:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195143680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785918831000,"timestamp_ms":1785918831000,"timestamp_seconds":1785918831,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10eb998"} 
[2026-08-05 14:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:08: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-08-05 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:08: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-08-05 14: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-08-05 14:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195143680001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195143680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:08:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195143680001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":148451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:08:21] local.INFO: GPS data processed {"connection_id":148451,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:08:21] local.INFO: Acknowledgment sent {"connection_id":148451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:08:40] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:08:40] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:08:40] local.INFO: IMEI packet received {"connection_id":148452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":148452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:08:44] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:08:44] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:08:44] local.INFO: IMEI packet received {"connection_id":148452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":148452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:08:44] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd111f9a0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd111f9a0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:08:44] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd111f9a0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:08:44] local.INFO: Packet analysis {"connection_id":148452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd111"} 
[2026-08-05 14:08:44] local.INFO: Extracted packet for processing {"connection_id":148452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd111"} 
[2026-08-05 14:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195269888001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785919044000,"timestamp_ms":1785919044000,"timestamp_seconds":1785919044,"priority":1,"record_length":96,"hex_timestamp":"0000019fd111f9a0"} 
[2026-08-05 14:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 14:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195269888001,"66":12689,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195269888001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:08:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195269888001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":148452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:08:45] local.INFO: GPS data processed {"connection_id":148452,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:08:45] local.INFO: Acknowledgment sent {"connection_id":148452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:08:52] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:08:52] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:08:52] local.INFO: Packet analysis {"connection_id":148451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:08:52] local.INFO: Extracted packet for processing {"connection_id":148451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:08:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195143680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785918831000,"timestamp_ms":1785918831000,"timestamp_seconds":1785918831,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10eb998"} 
[2026-08-05 14:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195143680001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195143680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:08:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195143680001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":148451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:08:52] local.INFO: GPS data processed {"connection_id":148451,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:08:52] local.INFO: Acknowledgment sent {"connection_id":148451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:09:16] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1124ba8012d196840071fed20003c011d2f..."} 
[2026-08-05 14:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1124ba8012d196840071fed20003c011d2f..."} 
[2026-08-05 14:09:16] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1124ba8012d196840071fed20003c011d2f..."} 
[2026-08-05 14:09:16] local.INFO: Packet analysis {"connection_id":148452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd112"} 
[2026-08-05 14:09:16] local.INFO: Extracted packet for processing {"connection_id":148452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd112"} 
[2026-08-05 14:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195275264001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785919065000,"timestamp_ms":1785919065000,"timestamp_seconds":1785919065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1124ba8"} 
[2026-08-05 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-08-05 14:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 14:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195275264001,"66":12667,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195275264001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:09:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195275264001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":148452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:09:16] local.INFO: GPS data processed {"connection_id":148452,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:09:16] local.INFO: Acknowledgment sent {"connection_id":148452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:09:20] local.INFO: TCP Data received {"connection_id":149658,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:09:20] local.INFO: Processing buffer {"connection_id":149658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:09:20] local.INFO: IMEI packet received {"connection_id":149658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":149658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:09:25] local.INFO: TCP Data received {"connection_id":149658,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:09:25] local.INFO: Processing buffer {"connection_id":149658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:09:25] local.INFO: IMEI packet received {"connection_id":149658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":149658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:09:26] local.INFO: TCP Data received {"connection_id":149658,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:09:26] local.INFO: Processing buffer {"connection_id":149658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:09:26] local.INFO: Packet analysis {"connection_id":149658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:09:26] local.INFO: Extracted packet for processing {"connection_id":149658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195143680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785918831000,"timestamp_ms":1785918831000,"timestamp_seconds":1785918831,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10eb998"} 
[2026-08-05 14:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195143680001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195143680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:09:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195143680001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":149658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:09:26] local.INFO: GPS data processed {"connection_id":149658,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:09:26] local.INFO: Acknowledgment sent {"connection_id":149658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:09:32] local.INFO: TCP Data received {"connection_id":149658,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:09:32] local.INFO: Processing buffer {"connection_id":149658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd10eb998012d7f92c005afd9e8000000e925..."} 
[2026-08-05 14:09:32] local.INFO: Packet analysis {"connection_id":149658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:09:32] local.INFO: Extracted packet for processing {"connection_id":149658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd10e"} 
[2026-08-05 14:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":37,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195143680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785918831000,"timestamp_ms":1785918831000,"timestamp_seconds":1785918831,"priority":1,"record_length":96,"hex_timestamp":"0000019fd10eb998"} 
[2026-08-05 14:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":149658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":149658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":149658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195143680001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195143680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:09:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195143680001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":149658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:09:32] local.INFO: GPS data processed {"connection_id":149658,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:09:32] local.INFO: Acknowledgment sent {"connection_id":149658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:09:40] local.INFO: TCP Data received {"connection_id":151072,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:09:40] local.INFO: Processing buffer {"connection_id":151072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:09:40] local.INFO: IMEI packet received {"connection_id":151072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":151072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:09:45] local.INFO: TCP Data received {"connection_id":151072,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:09:45] local.INFO: Processing buffer {"connection_id":151072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:09:45] local.INFO: IMEI packet received {"connection_id":151072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":151072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:09:45] local.INFO: TCP Data received {"connection_id":151072,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1129db0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1129db0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:09:45] local.INFO: Processing buffer {"connection_id":151072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1129db0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:09:45] local.INFO: Packet analysis {"connection_id":151072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd112"} 
[2026-08-05 14:09:45] local.INFO: Extracted packet for processing {"connection_id":151072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd112"} 
[2026-08-05 14:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195280640001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14: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-08-05 14:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919086000,"timestamp_ms":1785919086000,"timestamp_seconds":1785919086,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1129db0"} 
[2026-08-05 14:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 14:09: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-08-05 14:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195280640001,"66":12667,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195280640001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:09:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195280640001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":151072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:09:45] local.INFO: GPS data processed {"connection_id":151072,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:09:45] local.INFO: Acknowledgment sent {"connection_id":151072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:10:14] local.INFO: TCP Data received {"connection_id":149659,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:10:14] local.INFO: Processing buffer {"connection_id":149659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:10:14] local.INFO: IMEI packet received {"connection_id":149659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":149659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:10:16] local.INFO: TCP Data received {"connection_id":151072,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd112efb8012d196840071fed20003c011d2e..."} 
[2026-08-05 14:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd112efb8012d196840071fed20003c011d2e..."} 
[2026-08-05 14:10:16] local.INFO: Processing buffer {"connection_id":151072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd112efb8012d196840071fed20003c011d2e..."} 
[2026-08-05 14:10:16] local.INFO: Packet analysis {"connection_id":151072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd112"} 
[2026-08-05 14:10:16] local.INFO: Extracted packet for processing {"connection_id":151072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd112"} 
[2026-08-05 14:10:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195286016001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785919107000,"timestamp_ms":1785919107000,"timestamp_seconds":1785919107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd112efb8"} 
[2026-08-05 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-08-05 14:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 14:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195286016001,"66":12613,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195286016001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:10:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:10:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195286016001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":151072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:10:17] local.INFO: GPS data processed {"connection_id":151072,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:10:17] local.INFO: Acknowledgment sent {"connection_id":151072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:10:20] local.INFO: TCP Data received {"connection_id":149659,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:10:20] local.INFO: Processing buffer {"connection_id":149659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:10:20] local.INFO: IMEI packet received {"connection_id":149659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":149659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:10:21] local.INFO: TCP Data received {"connection_id":149659,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:10:21] local.INFO: Processing buffer {"connection_id":149659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:10:21] local.INFO: Packet analysis {"connection_id":149659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:10:21] local.INFO: Extracted packet for processing {"connection_id":149659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:10:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":18,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195220736001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785919132000,"timestamp_ms":1785919132000,"timestamp_seconds":1785919132,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1135160"} 
[2026-08-05 14:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:10: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-08-05 14:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:10: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-08-05 14:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195220736001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195220736001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:10:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195220736001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":149659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:10:21] local.INFO: GPS data processed {"connection_id":149659,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:10:21] local.INFO: Acknowledgment sent {"connection_id":149659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:10:40] local.INFO: TCP Data received {"connection_id":151073,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:10:40] local.INFO: Processing buffer {"connection_id":151073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:10:40] local.INFO: IMEI packet received {"connection_id":151073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":151073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:10:45] local.INFO: TCP Data received {"connection_id":151073,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:10:45] local.INFO: Processing buffer {"connection_id":151073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:10:45] local.INFO: IMEI packet received {"connection_id":151073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":151073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:10:45] local.INFO: TCP Data received {"connection_id":151073,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11341c0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11341c0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:10:45] local.INFO: Processing buffer {"connection_id":151073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11341c0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:10:45] local.INFO: Packet analysis {"connection_id":151073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:10:45] local.INFO: Extracted packet for processing {"connection_id":151073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195291392001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919128000,"timestamp_ms":1785919128000,"timestamp_seconds":1785919128,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11341c0"} 
[2026-08-05 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-08-05 14:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 14:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195291392001,"66":12645,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195291392001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:10:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195291392001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":151073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:10:46] local.INFO: GPS data processed {"connection_id":151073,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:10:46] local.INFO: Acknowledgment sent {"connection_id":151073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:10:52] local.INFO: TCP Data received {"connection_id":149659,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:10:52] local.INFO: Processing buffer {"connection_id":149659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:10:52] local.INFO: Packet analysis {"connection_id":149659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:10:52] local.INFO: Extracted packet for processing {"connection_id":149659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:10:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":18,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195220736001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785919132000,"timestamp_ms":1785919132000,"timestamp_seconds":1785919132,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1135160"} 
[2026-08-05 14:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195220736001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195220736001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:10:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195220736001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":149659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:10:52] local.INFO: GPS data processed {"connection_id":149659,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:10:52] local.INFO: Acknowledgment sent {"connection_id":149659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:11:14] local.INFO: TCP Data received {"connection_id":148665,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:11:14] local.INFO: Processing buffer {"connection_id":148665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:11:14] local.INFO: IMEI packet received {"connection_id":148665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":148665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:11:17] local.INFO: TCP Data received {"connection_id":151073,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11393c8012d196840071fed20003c011d2d..."} 
[2026-08-05 14:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11393c8012d196840071fed20003c011d2d..."} 
[2026-08-05 14:11:17] local.INFO: Processing buffer {"connection_id":151073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11393c8012d196840071fed20003c011d2d..."} 
[2026-08-05 14:11:17] local.INFO: Packet analysis {"connection_id":151073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:11:17] local.INFO: Extracted packet for processing {"connection_id":151073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195296768001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785919149000,"timestamp_ms":1785919149000,"timestamp_seconds":1785919149,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11393c8"} 
[2026-08-05 14:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:11: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-08-05 14:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-05 14:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195296768001,"66":12374,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195296768001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:11:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195296768001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":151073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:11:17] local.INFO: GPS data processed {"connection_id":151073,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:11:17] local.INFO: Acknowledgment sent {"connection_id":151073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:11:20] local.INFO: TCP Data received {"connection_id":148665,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:11:20] local.INFO: Processing buffer {"connection_id":148665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:11:20] local.INFO: IMEI packet received {"connection_id":148665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":148665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:11:20] local.INFO: TCP Data received {"connection_id":148665,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:11:20] local.INFO: Processing buffer {"connection_id":148665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:11:20] local.INFO: Packet analysis {"connection_id":148665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:11:20] local.INFO: Extracted packet for processing {"connection_id":148665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:11:20] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":18,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195220736001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785919132000,"timestamp_ms":1785919132000,"timestamp_seconds":1785919132,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1135160"} 
[2026-08-05 14:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:11: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-08-05 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:11: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-08-05 14:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:11: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-08-05 14:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195220736001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195220736001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:11:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:11:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195220736001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":148665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:11:20] local.INFO: GPS data processed {"connection_id":148665,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:11:20] local.INFO: Acknowledgment sent {"connection_id":148665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:11:39] local.INFO: TCP Data received {"connection_id":148666,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:11:39] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:11:39] local.INFO: IMEI packet received {"connection_id":148666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":148666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:11:45] local.INFO: TCP Data received {"connection_id":148666,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:11:45] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:11:45] local.INFO: IMEI packet received {"connection_id":148666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":148666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:11:45] local.INFO: TCP Data received {"connection_id":148666,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd113e5d0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd113e5d0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:11:45] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd113e5d0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:11:45] local.INFO: Packet analysis {"connection_id":148666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:11:45] local.INFO: Extracted packet for processing {"connection_id":148666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195302144001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14: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-08-05 14:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919170000,"timestamp_ms":1785919170000,"timestamp_seconds":1785919170,"priority":1,"record_length":96,"hex_timestamp":"0000019fd113e5d0"} 
[2026-08-05 14:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 14:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195302144001,"66":12613,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195302144001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:11:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195302144001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":148666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:11:46] local.INFO: GPS data processed {"connection_id":148666,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:11:46] local.INFO: Acknowledgment sent {"connection_id":148666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:11:52] local.INFO: TCP Data received {"connection_id":148665,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:11:52] local.INFO: Processing buffer {"connection_id":148665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:11:52] local.INFO: Packet analysis {"connection_id":148665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:11:52] local.INFO: Extracted packet for processing {"connection_id":148665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:11:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":18,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195220736001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785919132000,"timestamp_ms":1785919132000,"timestamp_seconds":1785919132,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1135160"} 
[2026-08-05 14:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195220736001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195220736001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:11:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195220736001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":148665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:11:52] local.INFO: GPS data processed {"connection_id":148665,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:11:52] local.INFO: Acknowledgment sent {"connection_id":148665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:12:14] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:12:14] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:12:14] local.INFO: IMEI packet received {"connection_id":148453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":148453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:12:17] local.INFO: TCP Data received {"connection_id":148666,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11437d8012d196840071fed20003c011d16..."} 
[2026-08-05 14:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11437d8012d196840071fed20003c011d16..."} 
[2026-08-05 14:12:17] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11437d8012d196840071fed20003c011d16..."} 
[2026-08-05 14:12:17] local.INFO: Packet analysis {"connection_id":148666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd114"} 
[2026-08-05 14:12:17] local.INFO: Extracted packet for processing {"connection_id":148666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd114"} 
[2026-08-05 14:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":22,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195307520001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785919191000,"timestamp_ms":1785919191000,"timestamp_seconds":1785919191,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11437d8"} 
[2026-08-05 14:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:12: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-08-05 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 14:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195307520001,"66":12537,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195307520001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:12:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195307520001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":148666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:12:17] local.INFO: GPS data processed {"connection_id":148666,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:12:17] local.INFO: Acknowledgment sent {"connection_id":148666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:12:20] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:12:20] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:12:20] local.INFO: IMEI packet received {"connection_id":148453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":148453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:12:21] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:12:21] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1135160012d7f92c005afd9e8001200e92a..."} 
[2026-08-05 14:12:21] local.INFO: Packet analysis {"connection_id":148453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:12:21] local.INFO: Extracted packet for processing {"connection_id":148453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd113"} 
[2026-08-05 14:12:21] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":18,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195220736001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785919132000,"timestamp_ms":1785919132000,"timestamp_seconds":1785919132,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1135160"} 
[2026-08-05 14:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:12: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-08-05 14:12: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-08-05 14:12: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-08-05 14:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195220736001,"66":25495,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195220736001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:12:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195220736001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":148453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:12:21] local.INFO: GPS data processed {"connection_id":148453,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:12:21] local.INFO: Acknowledgment sent {"connection_id":148453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:12:45] local.INFO: TCP Data received {"connection_id":151074,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:12:45] local.INFO: Processing buffer {"connection_id":151074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:12:45] local.INFO: IMEI packet received {"connection_id":151074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":151074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:12:50] local.INFO: TCP Data received {"connection_id":151074,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:12:50] local.INFO: Processing buffer {"connection_id":151074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:12:50] local.INFO: IMEI packet received {"connection_id":151074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":151074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:12:51] local.INFO: TCP Data received {"connection_id":151074,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11489e0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11489e0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:12:51] local.INFO: Processing buffer {"connection_id":151074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11489e0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:12:51] local.INFO: Packet analysis {"connection_id":151074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd114"} 
[2026-08-05 14:12:51] local.INFO: Extracted packet for processing {"connection_id":151074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd114"} 
[2026-08-05 14:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195312896001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785919212000,"timestamp_ms":1785919212000,"timestamp_seconds":1785919212,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11489e0"} 
[2026-08-05 14:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 14:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195312896001,"66":12537,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195312896001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:12:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195312896001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":151074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:12:51] local.INFO: GPS data processed {"connection_id":151074,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:12:51] local.INFO: Acknowledgment sent {"connection_id":151074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:12:52] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1163f60012d7f92c005afd9e8000000e928..."} 
[2026-08-05 14:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1163f60012d7f92c005afd9e8000000e928..."} 
[2026-08-05 14:12:52] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1163f60012d7f92c005afd9e8000000e928..."} 
[2026-08-05 14:12:52] local.INFO: Packet analysis {"connection_id":148453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:12:52] local.INFO: Extracted packet for processing {"connection_id":148453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:12:52] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410664,"longitude_deg":76.333536,"latitude_deg":9.5410664,"altitude":0,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-08-05 14:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195297792001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785919324000,"timestamp_ms":1785919324000,"timestamp_seconds":1785919324,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1163f60"} 
[2026-08-05 14:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 14:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195297792001,"66":25430,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195297792001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:12:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:12:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195297792001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":148453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:12:52] local.INFO: GPS data processed {"connection_id":148453,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:12:52] local.INFO: Acknowledgment sent {"connection_id":148453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:12:55] local.INFO: TCP Data received {"connection_id":151074,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd114dbe8012d196840071fed20003c011d2f..."} 
[2026-08-05 14:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd114dbe8012d196840071fed20003c011d2f..."} 
[2026-08-05 14:12:55] local.INFO: Processing buffer {"connection_id":151074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd114dbe8012d196840071fed20003c011d2f..."} 
[2026-08-05 14:12:55] local.INFO: Packet analysis {"connection_id":151074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd114"} 
[2026-08-05 14:12:55] local.INFO: Extracted packet for processing {"connection_id":151074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd114"} 
[2026-08-05 14:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195318272001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785919233000,"timestamp_ms":1785919233000,"timestamp_seconds":1785919233,"priority":1,"record_length":96,"hex_timestamp":"0000019fd114dbe8"} 
[2026-08-05 14:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 14:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195318272001,"66":12558,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195318272001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:12:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195318272001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":151074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:12:55] local.INFO: GPS data processed {"connection_id":151074,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:12:55] local.INFO: Acknowledgment sent {"connection_id":151074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:13:06] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:13:06] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:13:06] local.INFO: IMEI packet received {"connection_id":148454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":148454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:13:10] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:13:10] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:13:10] local.INFO: IMEI packet received {"connection_id":148454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":148454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:13:15] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:13:15] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:13:15] local.INFO: IMEI packet received {"connection_id":148454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":148454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:13:16] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1164f00012d7f960005afdac00000011e28..."} 
[2026-08-05 14:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1164f00012d7f960005afdac00000011e28..."} 
[2026-08-05 14:13:16] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1164f00012d7f960005afdac00000011e28..."} 
[2026-08-05 14:13:16] local.INFO: Packet analysis {"connection_id":148454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:13:16] local.INFO: Extracted packet for processing {"connection_id":148454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410880,"longitude_deg":76.3336192,"latitude_deg":9.541088,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afdac0","is_valid_coordinates":true} 
[2026-08-05 14:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195346944001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467201594949632,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074266624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785919328000,"timestamp_ms":1785919328000,"timestamp_seconds":1785919328,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1164f00"} 
[2026-08-05 14:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:13: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-08-05 14:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 14:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:13: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-08-05 14:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195346944001,"66":21995,"250":206,"85":12544,"24":0,"16":370467201594949632,"45":9192620920074266624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195346944001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:13:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467201594949632,"km_value":370467201594949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074266624,"description":"Unknown IO ID 45"} 
[2026-08-05 14:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195346944001,"power":21995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074266624}} 
[2026-08-05 14:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":148454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:13:16] local.INFO: GPS data processed {"connection_id":148454,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:13:16] local.INFO: Acknowledgment sent {"connection_id":148454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:13:38] local.INFO: TCP Data received {"connection_id":151075,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:13:38] local.INFO: Processing buffer {"connection_id":151075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:13:38] local.INFO: IMEI packet received {"connection_id":151075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":151075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:13:39] local.INFO: TCP Data received {"connection_id":151075,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:13:39] local.INFO: Processing buffer {"connection_id":151075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:13:39] local.INFO: IMEI packet received {"connection_id":151075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":151075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:13:45] local.INFO: TCP Data received {"connection_id":151075,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:13:45] local.INFO: Processing buffer {"connection_id":151075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:13:45] local.INFO: IMEI packet received {"connection_id":151075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":151075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:13:45] local.INFO: TCP Data received {"connection_id":151075,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1152df0012d196840071fed20003c011d2f..."} 
[2026-08-05 14:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1152df0012d196840071fed20003c011d2f..."} 
[2026-08-05 14:13:45] local.INFO: Processing buffer {"connection_id":151075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1152df0012d196840071fed20003c011d2f..."} 
[2026-08-05 14:13:45] local.INFO: Packet analysis {"connection_id":151075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd115"} 
[2026-08-05 14:13:45] local.INFO: Extracted packet for processing {"connection_id":151075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd115"} 
[2026-08-05 14:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195323648001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919254000,"timestamp_ms":1785919254000,"timestamp_seconds":1785919254,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1152df0"} 
[2026-08-05 14:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3507679160,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252000,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978297404,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3875209216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:45] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,230,159,137,45,64,237,60,44,10,66,55,22,229,1,240,69,227,209,31,4,113,205,65,104,32,46,239,49,2,37,7,120,82,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 14:13:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323769204953055232,"timestamp_seconds":4323769204953055.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 14:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195323648001,"66":12548,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195323648001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:13:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195323648001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":151075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:13:45] local.INFO: GPS data processed {"connection_id":151075,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:13:45] local.INFO: Acknowledgment sent {"connection_id":151075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:13:47] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd116a108012d7f954005afda180000011e29..."} 
[2026-08-05 14:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd116a108012d7f954005afda180000011e29..."} 
[2026-08-05 14:13:47] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd116a108012d7f954005afda180000011e29..."} 
[2026-08-05 14:13:47] local.INFO: Packet analysis {"connection_id":148454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:13:47] local.INFO: Extracted packet for processing {"connection_id":148454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:13:47] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95410712,"longitude_deg":76.3336,"latitude_deg":9.5410712,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d7f9540","hex_latitude":"05afda18","is_valid_coordinates":true} 
[2026-08-05 14:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195347968001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467218774818816,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748631552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785919349000,"timestamp_ms":1785919349000,"timestamp_seconds":1785919349,"priority":1,"record_length":96,"hex_timestamp":"0000019fd116a108"} 
[2026-08-05 14:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":85,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-05 14:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:13: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-08-05 14:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195347968001,"66":27930,"250":206,"85":12544,"24":0,"16":370467218774818816,"45":9193535713748631552},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195347968001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:13:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:13:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467218774818816,"km_value":370467218774818.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748631552,"description":"Unknown IO ID 45"} 
[2026-08-05 14:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195347968001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748631552}} 
[2026-08-05 14:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":148454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:13:47] local.INFO: GPS data processed {"connection_id":148454,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:13:47] local.INFO: Acknowledgment sent {"connection_id":148454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:14:15] local.INFO: TCP Data received {"connection_id":148667,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:14:15] local.INFO: Processing buffer {"connection_id":148667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:14:15] local.INFO: IMEI packet received {"connection_id":148667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":148667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:14:17] local.INFO: TCP Data received {"connection_id":151075,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1157ff8012d196840071fed20003c011d2f..."} 
[2026-08-05 14:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1157ff8012d196840071fed20003c011d2f..."} 
[2026-08-05 14:14:17] local.INFO: Processing buffer {"connection_id":151075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1157ff8012d196840071fed20003c011d2f..."} 
[2026-08-05 14:14:17] local.INFO: Packet analysis {"connection_id":151075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd115"} 
[2026-08-05 14:14:17] local.INFO: Extracted packet for processing {"connection_id":151075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd115"} 
[2026-08-05 14:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195329024001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785919275000,"timestamp_ms":1785919275000,"timestamp_seconds":1785919275,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1157ff8"} 
[2026-08-05 14:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3507700160,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978297404,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3875209216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,230,159,219,45,64,237,60,47,10,66,137,44,55,1,240,249,227,209,31,4,113,205,147,104,32,239,48,2,37,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 14:14:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323769204953055232,"timestamp_seconds":4323769204953055.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 14:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195329024001,"66":12558,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195329024001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:14:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195329024001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":151075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:14:17] local.INFO: GPS data processed {"connection_id":151075,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:14:17] local.INFO: Acknowledgment sent {"connection_id":151075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:14:20] local.INFO: TCP Data received {"connection_id":148667,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:14:20] local.INFO: Processing buffer {"connection_id":148667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:14:20] local.INFO: IMEI packet received {"connection_id":148667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":148667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:14:20] local.INFO: TCP Data received {"connection_id":148667,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd116c048012d7f954005afd9b0000000e829..."} 
[2026-08-05 14:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd116c048012d7f954005afd9b0000000e829..."} 
[2026-08-05 14:14:20] local.INFO: Processing buffer {"connection_id":148667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd116c048012d7f954005afd9b0000000e829..."} 
[2026-08-05 14:14:20] local.INFO: Packet analysis {"connection_id":148667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:14:20] local.INFO: Extracted packet for processing {"connection_id":148667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:14:20] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95410608,"longitude_deg":76.3336,"latitude_deg":9.5410608,"altitude":0,"angle":232,"satellites":41,"speed":0,"hex_longitude":"2d7f9540","hex_latitude":"05afd9b0","is_valid_coordinates":true} 
[2026-08-05 14:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195353344001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467223069786112,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516055552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785919357000,"timestamp_ms":1785919357000,"timestamp_seconds":1785919357,"priority":1,"record_length":96,"hex_timestamp":"0000019fd116c048"} 
[2026-08-05 14:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 14:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195353344001,"66":27908,"250":206,"85":12544,"24":0,"16":370467223069786112,"45":9193324607516055552},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195353344001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:14:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467223069786112,"km_value":370467223069786.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516055552,"description":"Unknown IO ID 45"} 
[2026-08-05 14:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195353344001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516055552}} 
[2026-08-05 14:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":148667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:14:21] local.INFO: GPS data processed {"connection_id":148667,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:14:21] local.INFO: Acknowledgment sent {"connection_id":148667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:14:40] local.INFO: TCP Data received {"connection_id":148455,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:14:40] local.INFO: Processing buffer {"connection_id":148455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:14:40] local.INFO: IMEI packet received {"connection_id":148455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":148455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:14:40] local.INFO: TCP Data received {"connection_id":148455,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:14:40] local.INFO: Processing buffer {"connection_id":148455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:14:40] local.INFO: IMEI packet received {"connection_id":148455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":148455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:14:45] local.INFO: TCP Data received {"connection_id":148455,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:14:45] local.INFO: Processing buffer {"connection_id":148455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:14:45] local.INFO: IMEI packet received {"connection_id":148455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":148455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:14:45] local.INFO: TCP Data received {"connection_id":148455,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd115d200012d196840071fed20003c011d2f..."} 
[2026-08-05 14:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd115d200012d196840071fed20003c011d2f..."} 
[2026-08-05 14:14:45] local.INFO: Processing buffer {"connection_id":148455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd115d200012d196840071fed20003c011d2f..."} 
[2026-08-05 14:14:45] local.INFO: Packet analysis {"connection_id":148455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd115"} 
[2026-08-05 14:14:45] local.INFO: Extracted packet for processing {"connection_id":148455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd115"} 
[2026-08-05 14:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195334400001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919296000,"timestamp_ms":1785919296000,"timestamp_seconds":1785919296,"priority":1,"record_length":96,"hex_timestamp":"0000019fd115d200"} 
[2026-08-05 14:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3507721160,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252000,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978297404,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3875209216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,230,159,45,64,237,60,47,10,66,219,137,1,240,249,227,209,31,4,113,205,229,104,32,43,239,49,2,37,7,120,81,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 14:14:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323769204953055232,"timestamp_seconds":4323769204953055.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 14:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195334400001,"66":12558,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195334400001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:14:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195334400001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":148455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:14:45] local.INFO: GPS data processed {"connection_id":148455,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:14:45] local.INFO: Acknowledgment sent {"connection_id":148455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:14:52] local.INFO: TCP Data received {"connection_id":148667,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1171250012d7f95c005afd9b0000000f22a..."} 
[2026-08-05 14:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1171250012d7f95c005afd9b0000000f22a..."} 
[2026-08-05 14:14:52] local.INFO: Processing buffer {"connection_id":148667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1171250012d7f95c005afd9b0000000f22a..."} 
[2026-08-05 14:14:52] local.INFO: Packet analysis {"connection_id":148667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:14:52] local.INFO: Extracted packet for processing {"connection_id":148667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:14:52] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95410608,"longitude_deg":76.3336128,"latitude_deg":9.5410608,"altitude":0,"angle":242,"satellites":42,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afd9b0","is_valid_coordinates":true} 
[2026-08-05 14:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195355392001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467227364753408,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193324607516028928,"note":"Value kept but may cause issues"} 
[2026-08-05 14:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785919378000,"timestamp_ms":1785919378000,"timestamp_seconds":1785919378,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1171250"} 
[2026-08-05 14:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 14:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195355392001,"66":27821,"250":206,"85":12544,"24":0,"16":370467227364753408,"45":9193324607516028928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195355392001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:14:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:14:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467227364753408,"km_value":370467227364753.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193324607516028928,"description":"Unknown IO ID 45"} 
[2026-08-05 14:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195355392001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193324607516028928}} 
[2026-08-05 14:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":148667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:14:52] local.INFO: GPS data processed {"connection_id":148667,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:14:52] local.INFO: Acknowledgment sent {"connection_id":148667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:15:14] local.INFO: TCP Data received {"connection_id":149660,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:15:14] local.INFO: Processing buffer {"connection_id":149660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:15:14] local.INFO: IMEI packet received {"connection_id":149660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":149660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:15:16] local.INFO: TCP Data received {"connection_id":148455,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1162408012d196840071fed20003c011d2e..."} 
[2026-08-05 14:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1162408012d196840071fed20003c011d2e..."} 
[2026-08-05 14:15:16] local.INFO: Processing buffer {"connection_id":148455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1162408012d196840071fed20003c011d2e..."} 
[2026-08-05 14:15:16] local.INFO: Packet analysis {"connection_id":148455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:15:16] local.INFO: Extracted packet for processing {"connection_id":148455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195339776001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785919317000,"timestamp_ms":1785919317000,"timestamp_seconds":1785919317,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1162408"} 
[2026-08-05 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-08-05 14:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3507742160,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252000,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978297404,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579384,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3875209216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,230,159,127,45,64,237,60,47,10,66,219,1,240,14,227,209,31,4,113,205,55,104,32,22,239,48,2,37,7,120,82,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 14:15:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323769204953055232,"timestamp_seconds":4323769204953055.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 14:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195339776001,"66":12537,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195339776001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:15:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195339776001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":148455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:15:17] local.INFO: GPS data processed {"connection_id":148455,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:15:17] local.INFO: Acknowledgment sent {"connection_id":148455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:15:19] local.INFO: TCP Data received {"connection_id":149660,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:15:19] local.INFO: Processing buffer {"connection_id":149660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:15:19] local.INFO: IMEI packet received {"connection_id":149660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":149660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:15:20] local.INFO: TCP Data received {"connection_id":149660,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11729c0012d7f960005afd9980000005b2a..."} 
[2026-08-05 14:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11729c0012d7f960005afd9980000005b2a..."} 
[2026-08-05 14:15:20] local.INFO: Processing buffer {"connection_id":149660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11729c0012d7f960005afd9980000005b2a..."} 
[2026-08-05 14:15:20] local.INFO: Packet analysis {"connection_id":149660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:15:20] local.INFO: Extracted packet for processing {"connection_id":149660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:15:20] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410584,"longitude_deg":76.3336192,"latitude_deg":9.5410584,"altitude":0,"angle":91,"satellites":42,"speed":1,"hex_longitude":"2d7f9600","hex_latitude":"05afd998","is_valid_coordinates":true} 
[2026-08-05 14:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195360768001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467235954688000,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004384256,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785919384000,"timestamp_ms":1785919384000,"timestamp_seconds":1785919384,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11729c0"} 
[2026-08-05 14:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14: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-08-05 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195360768001,"66":28028,"250":206,"85":12544,"24":1,"16":370467235954688000,"45":9193465345004384256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195360768001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:15:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467235954688000,"km_value":370467235954688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004384256,"description":"Unknown IO ID 45"} 
[2026-08-05 14:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195360768001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193465345004384256}} 
[2026-08-05 14:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":149660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:15:20] local.INFO: GPS data processed {"connection_id":149660,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:15:20] local.INFO: Acknowledgment sent {"connection_id":149660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:15:25] local.INFO: TCP Data received {"connection_id":149660,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1177bc8012d7f950005afd9900000005b29..."} 
[2026-08-05 14:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1177bc8012d7f950005afd9900000005b29..."} 
[2026-08-05 14:15:25] local.INFO: Processing buffer {"connection_id":149660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1177bc8012d7f950005afd9900000005b29..."} 
[2026-08-05 14:15:25] local.INFO: Packet analysis {"connection_id":149660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:15:25] local.INFO: Extracted packet for processing {"connection_id":149660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763335936,"raw_latitude":95410576,"longitude_deg":76.3335936,"latitude_deg":9.5410576,"altitude":0,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d7f9500","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-08-05 14:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195362304001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467261724491776,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748555776,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785919405000,"timestamp_ms":1785919405000,"timestamp_seconds":1785919405,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1177bc8"} 
[2026-08-05 14:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 14:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195362304001,"66":27767,"250":206,"85":12544,"24":0,"16":370467261724491776,"45":9193535713748555776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195362304001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:15:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467261724491776,"km_value":370467261724491.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748555776,"description":"Unknown IO ID 45"} 
[2026-08-05 14:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195362304001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748555776}} 
[2026-08-05 14:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":149660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:15:25] local.INFO: GPS data processed {"connection_id":149660,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:15:25] local.INFO: Acknowledgment sent {"connection_id":149660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:15:39] local.INFO: TCP Data received {"connection_id":151076,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:15:39] local.INFO: Processing buffer {"connection_id":151076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:15:39] local.INFO: IMEI packet received {"connection_id":151076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":151076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:15:44] local.INFO: TCP Data received {"connection_id":151076,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:15:44] local.INFO: Processing buffer {"connection_id":151076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:15:44] local.INFO: IMEI packet received {"connection_id":151076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":151076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:15:44] local.INFO: TCP Data received {"connection_id":151076,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:15:44] local.INFO: Processing buffer {"connection_id":151076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:15:44] local.INFO: IMEI packet received {"connection_id":151076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":151076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:15:45] local.INFO: TCP Data received {"connection_id":151076,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1167610012d196840071fed20003c011d2e..."} 
[2026-08-05 14:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1167610012d196840071fed20003c011d2e..."} 
[2026-08-05 14:15:45] local.INFO: Processing buffer {"connection_id":151076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1167610012d196840071fed20003c011d2e..."} 
[2026-08-05 14:15:45] local.INFO: Packet analysis {"connection_id":151076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:15:45] local.INFO: Extracted packet for processing {"connection_id":151076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195345152001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919338000,"timestamp_ms":1785919338000,"timestamp_seconds":1785919338,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1167610"} 
[2026-08-05 14:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 14:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195345152001,"66":12548,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195345152001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:15:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195345152001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":151076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:15:45] local.INFO: GPS data processed {"connection_id":151076,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:15:45] local.INFO: Acknowledgment sent {"connection_id":151076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:15:50] local.INFO: TCP Data received {"connection_id":151076,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd116c818012d196840071fed20003c011d2f..."} 
[2026-08-05 14:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd116c818012d196840071fed20003c011d2f..."} 
[2026-08-05 14:15:50] local.INFO: Processing buffer {"connection_id":151076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd116c818012d196840071fed20003c011d2f..."} 
[2026-08-05 14:15:50] local.INFO: Packet analysis {"connection_id":151076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:15:50] local.INFO: Extracted packet for processing {"connection_id":151076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd116"} 
[2026-08-05 14:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195350528001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785919359000,"timestamp_ms":1785919359000,"timestamp_seconds":1785919359,"priority":1,"record_length":96,"hex_timestamp":"0000019fd116c818"} 
[2026-08-05 14:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3507784160,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978297404,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3875209216,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-05 14:15:50] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,230,159,36,45,64,237,60,46,10,66,210,47,127,1,240,14,227,209,31,4,113,205,219,104,32,239,49,2,37,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 14:15:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323769200658087936,"timestamp_seconds":4323769200658088.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 14:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195350528001,"66":12537,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195350528001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:15:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195350528001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":151076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:15:50] local.INFO: GPS data processed {"connection_id":151076,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:15:50] local.INFO: Acknowledgment sent {"connection_id":151076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:16:14] local.INFO: TCP Data received {"connection_id":149661,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:16:14] local.INFO: Processing buffer {"connection_id":149661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:16:14] local.INFO: IMEI packet received {"connection_id":149661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":149661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:16:20] local.INFO: TCP Data received {"connection_id":149661,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:16:20] local.INFO: Processing buffer {"connection_id":149661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:16:20] local.INFO: IMEI packet received {"connection_id":149661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":149661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:16:20] local.INFO: TCP Data received {"connection_id":149661,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd117cdd0012d7f95c005afd8f00000005b27..."} 
[2026-08-05 14:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd117cdd0012d7f95c005afd8f00000005b27..."} 
[2026-08-05 14:16:20] local.INFO: Processing buffer {"connection_id":149661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd117cdd0012d7f95c005afd8f00000005b27..."} 
[2026-08-05 14:16:20] local.INFO: Packet analysis {"connection_id":149661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:16:20] local.INFO: Extracted packet for processing {"connection_id":149661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:16:20] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95410416,"longitude_deg":76.3336128,"latitude_deg":9.5410416,"altitude":0,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afd8f0","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195367680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193254238771843072,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785919426000,"timestamp_ms":1785919426000,"timestamp_seconds":1785919426,"priority":1,"record_length":96,"hex_timestamp":"0000019fd117cdd0"} 
[2026-08-05 14:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 14:16: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-08-05 14: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-08-05 14:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195367680001,"66":28006,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193254238771843072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195367680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:16:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193254238771843072,"description":"Unknown IO ID 45"} 
[2026-08-05 14:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195367680001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193254238771843072}} 
[2026-08-05 14:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":149661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:16:20] local.INFO: GPS data processed {"connection_id":149661,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:16:20] local.INFO: Acknowledgment sent {"connection_id":149661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:16:21] local.INFO: TCP Data received {"connection_id":151076,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1171a20012d196840071fed20003c011d2f..."} 
[2026-08-05 14:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1171a20012d196840071fed20003c011d2f..."} 
[2026-08-05 14:16:21] local.INFO: Processing buffer {"connection_id":151076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1171a20012d196840071fed20003c011d2f..."} 
[2026-08-05 14:16:21] local.INFO: Packet analysis {"connection_id":151076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:16:21] local.INFO: Extracted packet for processing {"connection_id":151076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195355904001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785919380000,"timestamp_ms":1785919380000,"timestamp_seconds":1785919380,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1171a20"} 
[2026-08-05 14:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 14:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195355904001,"66":12504,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195355904001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:16:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:16:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195355904001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":151076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:16:21] local.INFO: GPS data processed {"connection_id":151076,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:16:21] local.INFO: Acknowledgment sent {"connection_id":151076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:16:45] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:16:45] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:16:45] local.INFO: IMEI packet received {"connection_id":148456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":148456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:16:47] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:16:47] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:16:47] local.INFO: IMEI packet received {"connection_id":148456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":148456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:16:48] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1176c28012d196840071fed20003c011d2f..."} 
[2026-08-05 14:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1176c28012d196840071fed20003c011d2f..."} 
[2026-08-05 14:16:48] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1176c28012d196840071fed20003c011d2f..."} 
[2026-08-05 14:16:48] local.INFO: Packet analysis {"connection_id":148456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:16:48] local.INFO: Extracted packet for processing {"connection_id":148456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195361280001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785919401000,"timestamp_ms":1785919401000,"timestamp_seconds":1785919401,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1176c28"} 
[2026-08-05 14:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195361280001,"66":12526,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195361280001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:16:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:16:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195361280001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":148456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:16:48] local.INFO: GPS data processed {"connection_id":148456,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:16:48] local.INFO: Acknowledgment sent {"connection_id":148456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:16:50] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd117be30012d196840071fed20003c011d2c..."} 
[2026-08-05 14:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd117be30012d196840071fed20003c011d2c..."} 
[2026-08-05 14:16:50] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd117be30012d196840071fed20003c011d2c..."} 
[2026-08-05 14:16:50] local.INFO: Packet analysis {"connection_id":148456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:16:50] local.INFO: Extracted packet for processing {"connection_id":148456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195366656001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785919422000,"timestamp_ms":1785919422000,"timestamp_seconds":1785919422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd117be30"} 
[2026-08-05 14:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 14:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195366656001,"66":11558,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195366656001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:16:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195366656001,"power":11558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":148456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:16:50] local.INFO: GPS data processed {"connection_id":148456,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:16:50] local.INFO: Acknowledgment sent {"connection_id":148456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:16:52] local.INFO: TCP Data received {"connection_id":149661,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:16:52] local.INFO: Processing buffer {"connection_id":149661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:16:52] local.INFO: Packet analysis {"connection_id":149661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:16:52] local.INFO: Extracted packet for processing {"connection_id":149661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:16:52] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95410392,"longitude_deg":76.3336128,"latitude_deg":9.5410392,"altitude":0,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 14:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373056001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004335104,"note":"Value kept but may cause issues"} 
[2026-08-05 14:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785919428000,"timestamp_ms":1785919428000,"timestamp_seconds":1785919428,"priority":1,"record_length":96,"hex_timestamp":"0000019fd117d5a0"} 
[2026-08-05 14:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373056001,"66":28006,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004335104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373056001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:16:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004335104,"description":"Unknown IO ID 45"} 
[2026-08-05 14:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373056001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004335104}} 
[2026-08-05 14:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":149661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:16:52] local.INFO: GPS data processed {"connection_id":149661,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:16:52] local.INFO: Acknowledgment sent {"connection_id":149661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:17:20] local.INFO: TCP Data received {"connection_id":148457,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:17:20] local.INFO: Processing buffer {"connection_id":148457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:17:20] local.INFO: IMEI packet received {"connection_id":148457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":148457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:17:21] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1181038012d196840071fed20003c011d2d..."} 
[2026-08-05 14:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1181038012d196840071fed20003c011d2d..."} 
[2026-08-05 14:17:21] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1181038012d196840071fed20003c011d2d..."} 
[2026-08-05 14:17:21] local.INFO: Packet analysis {"connection_id":148456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd118"} 
[2026-08-05 14:17:21] local.INFO: Extracted packet for processing {"connection_id":148456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd118"} 
[2026-08-05 14:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195372032001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785919443000,"timestamp_ms":1785919443000,"timestamp_seconds":1785919443,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1181038"} 
[2026-08-05 14:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 14:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195372032001,"66":12461,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195372032001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:17:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195372032001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":148456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:17:21] local.INFO: GPS data processed {"connection_id":148456,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:17:21] local.INFO: Acknowledgment sent {"connection_id":148456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:17:24] local.INFO: TCP Data received {"connection_id":148457,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:17:24] local.INFO: Processing buffer {"connection_id":148457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:17:24] local.INFO: IMEI packet received {"connection_id":148457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":148457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:17:25] local.INFO: TCP Data received {"connection_id":148457,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:17:25] local.INFO: Processing buffer {"connection_id":148457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:17:25] local.INFO: Packet analysis {"connection_id":148457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:17:25] local.INFO: Extracted packet for processing {"connection_id":148457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95410392,"longitude_deg":76.3336128,"latitude_deg":9.5410392,"altitude":0,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 14:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373056001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004335104,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785919428000,"timestamp_ms":1785919428000,"timestamp_seconds":1785919428,"priority":1,"record_length":96,"hex_timestamp":"0000019fd117d5a0"} 
[2026-08-05 14:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373056001,"66":28006,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004335104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373056001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:17:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004335104,"description":"Unknown IO ID 45"} 
[2026-08-05 14:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373056001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004335104}} 
[2026-08-05 14:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":148457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:17:25] local.INFO: GPS data processed {"connection_id":148457,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:17:25] local.INFO: Acknowledgment sent {"connection_id":148457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:17:31] local.INFO: TCP Data received {"connection_id":148457,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:17:31] local.INFO: Processing buffer {"connection_id":148457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:17:31] local.INFO: Packet analysis {"connection_id":148457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:17:31] local.INFO: Extracted packet for processing {"connection_id":148457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95410392,"longitude_deg":76.3336128,"latitude_deg":9.5410392,"altitude":0,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 14:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373056001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004335104,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785919428000,"timestamp_ms":1785919428000,"timestamp_seconds":1785919428,"priority":1,"record_length":96,"hex_timestamp":"0000019fd117d5a0"} 
[2026-08-05 14:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373056001,"66":28006,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004335104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373056001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:17:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004335104,"description":"Unknown IO ID 45"} 
[2026-08-05 14:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373056001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004335104}} 
[2026-08-05 14:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":148457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:17:31] local.INFO: GPS data processed {"connection_id":148457,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:17:31] local.INFO: Acknowledgment sent {"connection_id":148457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:17:40] local.INFO: TCP Data received {"connection_id":149662,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:17:40] local.INFO: Processing buffer {"connection_id":149662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:17:40] local.INFO: IMEI packet received {"connection_id":149662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":149662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:17:45] local.INFO: TCP Data received {"connection_id":149662,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:17:45] local.INFO: Processing buffer {"connection_id":149662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:17:45] local.INFO: IMEI packet received {"connection_id":149662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":149662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:17:45] local.INFO: TCP Data received {"connection_id":149662,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1186240012d196840071fed20003c011d2a..."} 
[2026-08-05 14:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1186240012d196840071fed20003c011d2a..."} 
[2026-08-05 14:17:45] local.INFO: Processing buffer {"connection_id":149662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1186240012d196840071fed20003c011d2a..."} 
[2026-08-05 14:17:45] local.INFO: Packet analysis {"connection_id":149662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd118"} 
[2026-08-05 14:17:45] local.INFO: Extracted packet for processing {"connection_id":149662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd118"} 
[2026-08-05 14:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195377408001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 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-08-05 14:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919464000,"timestamp_ms":1785919464000,"timestamp_seconds":1785919464,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1186240"} 
[2026-08-05 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-08-05 14:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195377408001,"66":12504,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195377408001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:17:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195377408001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":149662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:17:45] local.INFO: GPS data processed {"connection_id":149662,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:17:45] local.INFO: Acknowledgment sent {"connection_id":149662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:17:50] local.INFO: TCP Data received {"connection_id":149662,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd118b448012d196840071fed20003c011d2f..."} 
[2026-08-05 14:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd118b448012d196840071fed20003c011d2f..."} 
[2026-08-05 14:17:50] local.INFO: Processing buffer {"connection_id":149662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd118b448012d196840071fed20003c011d2f..."} 
[2026-08-05 14:17:50] local.INFO: Packet analysis {"connection_id":149662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd118"} 
[2026-08-05 14:17:50] local.INFO: Extracted packet for processing {"connection_id":149662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd118"} 
[2026-08-05 14:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195382784001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785919485000,"timestamp_ms":1785919485000,"timestamp_seconds":1785919485,"priority":1,"record_length":96,"hex_timestamp":"0000019fd118b448"} 
[2026-08-05 14:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195382784001,"66":12504,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195382784001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:17:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195382784001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":149662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:17:50] local.INFO: GPS data processed {"connection_id":149662,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:17:50] local.INFO: Acknowledgment sent {"connection_id":149662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:18:14] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:18:14] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:18:14] local.INFO: IMEI packet received {"connection_id":148668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":148668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:18:20] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:18:20] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:18:20] local.INFO: IMEI packet received {"connection_id":148668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":148668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:18:20] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:18:20] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:18:20] local.INFO: Packet analysis {"connection_id":148668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:18:20] local.INFO: Extracted packet for processing {"connection_id":148668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95410392,"longitude_deg":76.3336128,"latitude_deg":9.5410392,"altitude":0,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 14:18: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-08-05 14:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373056001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004335104,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785919428000,"timestamp_ms":1785919428000,"timestamp_seconds":1785919428,"priority":1,"record_length":96,"hex_timestamp":"0000019fd117d5a0"} 
[2026-08-05 14:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373056001,"66":28006,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004335104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373056001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:18:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004335104,"description":"Unknown IO ID 45"} 
[2026-08-05 14:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373056001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004335104}} 
[2026-08-05 14:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":148668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:18:20] local.INFO: GPS data processed {"connection_id":148668,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:18:20] local.INFO: Acknowledgment sent {"connection_id":148668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:18:21] local.INFO: TCP Data received {"connection_id":149662,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1190650012d196840071fed20003c011d2e..."} 
[2026-08-05 14:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1190650012d196840071fed20003c011d2e..."} 
[2026-08-05 14:18:21] local.INFO: Processing buffer {"connection_id":149662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1190650012d196840071fed20003c011d2e..."} 
[2026-08-05 14:18:21] local.INFO: Packet analysis {"connection_id":149662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd119"} 
[2026-08-05 14:18:21] local.INFO: Extracted packet for processing {"connection_id":149662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd119"} 
[2026-08-05 14:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195388160001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785919506000,"timestamp_ms":1785919506000,"timestamp_seconds":1785919506,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1190650"} 
[2026-08-05 14:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195388160001,"66":12526,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195388160001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:18:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:18:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195388160001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":149662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:18:21] local.INFO: GPS data processed {"connection_id":149662,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:18:21] local.INFO: Acknowledgment sent {"connection_id":149662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:18:40] local.INFO: TCP Data received {"connection_id":149663,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:18:40] local.INFO: Processing buffer {"connection_id":149663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:18:40] local.INFO: IMEI packet received {"connection_id":149663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":149663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:18:45] local.INFO: TCP Data received {"connection_id":149663,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:18:45] local.INFO: Processing buffer {"connection_id":149663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:18:45] local.INFO: IMEI packet received {"connection_id":149663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":149663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:18:45] local.INFO: TCP Data received {"connection_id":149663,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1195858012d196840071fed20003c011d2c..."} 
[2026-08-05 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1195858012d196840071fed20003c011d2c..."} 
[2026-08-05 14:18:45] local.INFO: Processing buffer {"connection_id":149663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1195858012d196840071fed20003c011d2c..."} 
[2026-08-05 14:18:45] local.INFO: Packet analysis {"connection_id":149663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd119"} 
[2026-08-05 14:18:45] local.INFO: Extracted packet for processing {"connection_id":149663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd119"} 
[2026-08-05 14:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195393536001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919527000,"timestamp_ms":1785919527000,"timestamp_seconds":1785919527,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1195858"} 
[2026-08-05 14:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 14:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195393536001,"66":12526,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195393536001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195393536001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":149663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:18:45] local.INFO: GPS data processed {"connection_id":149663,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:18:45] local.INFO: Acknowledgment sent {"connection_id":149663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:18:52] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:18:52] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:18:52] local.INFO: Packet analysis {"connection_id":148668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:18:52] local.INFO: Extracted packet for processing {"connection_id":148668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:18:52] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95410392,"longitude_deg":76.3336128,"latitude_deg":9.5410392,"altitude":0,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 14:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373056001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004335104,"note":"Value kept but may cause issues"} 
[2026-08-05 14:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785919428000,"timestamp_ms":1785919428000,"timestamp_seconds":1785919428,"priority":1,"record_length":96,"hex_timestamp":"0000019fd117d5a0"} 
[2026-08-05 14:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373056001,"66":28006,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004335104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373056001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:18:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004335104,"description":"Unknown IO ID 45"} 
[2026-08-05 14:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373056001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004335104}} 
[2026-08-05 14:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":148668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:18:52] local.INFO: GPS data processed {"connection_id":148668,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:18:52] local.INFO: Acknowledgment sent {"connection_id":148668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:19:15] local.INFO: TCP Data received {"connection_id":151077,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:19:15] local.INFO: Processing buffer {"connection_id":151077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:19:15] local.INFO: IMEI packet received {"connection_id":151077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":151077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:19:17] local.INFO: TCP Data received {"connection_id":149663,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd119aa60012d196840071fed20003c011d2d..."} 
[2026-08-05 14:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd119aa60012d196840071fed20003c011d2d..."} 
[2026-08-05 14:19:17] local.INFO: Processing buffer {"connection_id":149663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd119aa60012d196840071fed20003c011d2d..."} 
[2026-08-05 14:19:17] local.INFO: Packet analysis {"connection_id":149663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd119"} 
[2026-08-05 14:19:17] local.INFO: Extracted packet for processing {"connection_id":149663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd119"} 
[2026-08-05 14:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195398912001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785919548000,"timestamp_ms":1785919548000,"timestamp_seconds":1785919548,"priority":1,"record_length":96,"hex_timestamp":"0000019fd119aa60"} 
[2026-08-05 14:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 14:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195398912001,"66":12526,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195398912001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:19:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:19:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195398912001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":149663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:19:17] local.INFO: GPS data processed {"connection_id":149663,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:19:17] local.INFO: Acknowledgment sent {"connection_id":149663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:19:20] local.INFO: TCP Data received {"connection_id":151077,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:19:20] local.INFO: Processing buffer {"connection_id":151077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:19:20] local.INFO: IMEI packet received {"connection_id":151077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":151077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:19:21] local.INFO: TCP Data received {"connection_id":151077,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:19:21] local.INFO: Processing buffer {"connection_id":151077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd117d5a0012d7f95c005afd8d80000005b27..."} 
[2026-08-05 14:19:21] local.INFO: Packet analysis {"connection_id":151077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:19:21] local.INFO: Extracted packet for processing {"connection_id":151077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd117"} 
[2026-08-05 14:19:21] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95410392,"longitude_deg":76.3336128,"latitude_deg":9.5410392,"altitude":0,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afd8d8","is_valid_coordinates":true} 
[2026-08-05 14:19: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-08-05 14:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373056001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004335104,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785919428000,"timestamp_ms":1785919428000,"timestamp_seconds":1785919428,"priority":1,"record_length":96,"hex_timestamp":"0000019fd117d5a0"} 
[2026-08-05 14:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:19: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-08-05 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:19: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-08-05 14:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373056001,"66":28006,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004335104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373056001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:19:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004335104,"description":"Unknown IO ID 45"} 
[2026-08-05 14:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373056001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004335104}} 
[2026-08-05 14:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":151077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:19:21] local.INFO: GPS data processed {"connection_id":151077,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:19:21] local.INFO: Acknowledgment sent {"connection_id":151077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:19:40] local.INFO: TCP Data received {"connection_id":148669,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:19:40] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:19:40] local.INFO: IMEI packet received {"connection_id":148669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":148669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:19:45] local.INFO: TCP Data received {"connection_id":148669,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:19:45] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:19:45] local.INFO: IMEI packet received {"connection_id":148669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":148669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:19:46] local.INFO: TCP Data received {"connection_id":148669,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd119fc68012d196840071fed20003c011d2a..."} 
[2026-08-05 14:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd119fc68012d196840071fed20003c011d2a..."} 
[2026-08-05 14:19:46] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd119fc68012d196840071fed20003c011d2a..."} 
[2026-08-05 14:19:46] local.INFO: Packet analysis {"connection_id":148669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd119"} 
[2026-08-05 14:19:46] local.INFO: Extracted packet for processing {"connection_id":148669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd119"} 
[2026-08-05 14:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195404288001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785919569000,"timestamp_ms":1785919569000,"timestamp_seconds":1785919569,"priority":1,"record_length":96,"hex_timestamp":"0000019fd119fc68"} 
[2026-08-05 14:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 14:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195404288001,"66":12504,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195404288001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:19:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195404288001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":148669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:19:46] local.INFO: GPS data processed {"connection_id":148669,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:19:46] local.INFO: Acknowledgment sent {"connection_id":148669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:19:52] local.INFO: TCP Data received {"connection_id":151077,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:19:52] local.INFO: Processing buffer {"connection_id":151077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:19:52] local.INFO: Packet analysis {"connection_id":151077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:19:52] local.INFO: Extracted packet for processing {"connection_id":151077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:19:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373568001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004328960,"note":"Value kept but may cause issues"} 
[2026-08-05 14:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785919733000,"timestamp_ms":1785919733000,"timestamp_seconds":1785919733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c7d08"} 
[2026-08-05 14:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373568001,"66":26299,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004328960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373568001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:19:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004328960,"description":"Unknown IO ID 45"} 
[2026-08-05 14:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373568001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004328960}} 
[2026-08-05 14:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":151077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:19:52] local.INFO: GPS data processed {"connection_id":151077,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:19:52] local.INFO: Acknowledgment sent {"connection_id":151077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:20:14] local.INFO: TCP Data received {"connection_id":149664,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:20:14] local.INFO: Processing buffer {"connection_id":149664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:20:14] local.INFO: IMEI packet received {"connection_id":149664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":149664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:20:17] local.INFO: TCP Data received {"connection_id":148669,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11a4e70012d196840071fed20003c011d2e..."} 
[2026-08-05 14:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11a4e70012d196840071fed20003c011d2e..."} 
[2026-08-05 14:20:17] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11a4e70012d196840071fed20003c011d2e..."} 
[2026-08-05 14:20:17] local.INFO: Packet analysis {"connection_id":148669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11a"} 
[2026-08-05 14:20:17] local.INFO: Extracted packet for processing {"connection_id":148669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11a"} 
[2026-08-05 14:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195409664001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785919590000,"timestamp_ms":1785919590000,"timestamp_seconds":1785919590,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11a4e70"} 
[2026-08-05 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-08-05 14:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195409664001,"66":12515,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195409664001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:20:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195409664001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":148669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:20:17] local.INFO: GPS data processed {"connection_id":148669,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:20:17] local.INFO: Acknowledgment sent {"connection_id":148669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:20:21] local.INFO: TCP Data received {"connection_id":149664,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:20:21] local.INFO: Processing buffer {"connection_id":149664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:20:21] local.INFO: IMEI packet received {"connection_id":149664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":149664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:20:22] local.INFO: TCP Data received {"connection_id":149664,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:20:22] local.INFO: Processing buffer {"connection_id":149664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:20:22] local.INFO: Packet analysis {"connection_id":149664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:20:22] local.INFO: Extracted packet for processing {"connection_id":149664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373568001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004328960,"note":"Value kept but may cause issues"} 
[2026-08-05 14:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785919733000,"timestamp_ms":1785919733000,"timestamp_seconds":1785919733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c7d08"} 
[2026-08-05 14:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373568001,"66":26299,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004328960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373568001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:20:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:20:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004328960,"description":"Unknown IO ID 45"} 
[2026-08-05 14:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373568001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004328960}} 
[2026-08-05 14:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":149664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:20:22] local.INFO: GPS data processed {"connection_id":149664,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:20:22] local.INFO: Acknowledgment sent {"connection_id":149664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:20:37] local.INFO: TCP Data received {"connection_id":149665,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:20:37] local.INFO: Processing buffer {"connection_id":149665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:20:37] local.INFO: IMEI packet received {"connection_id":149665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":149665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:20:40] local.INFO: TCP Data received {"connection_id":149665,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:20:40] local.INFO: Processing buffer {"connection_id":149665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:20:40] local.INFO: IMEI packet received {"connection_id":149665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":149665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:20:45] local.INFO: TCP Data received {"connection_id":149665,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:20:45] local.INFO: Processing buffer {"connection_id":149665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:20:45] local.INFO: IMEI packet received {"connection_id":149665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":149665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:20:45] local.INFO: TCP Data received {"connection_id":149665,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11aa078012d196840071fed20003c011d2c..."} 
[2026-08-05 14:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11aa078012d196840071fed20003c011d2c..."} 
[2026-08-05 14:20:45] local.INFO: Processing buffer {"connection_id":149665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11aa078012d196840071fed20003c011d2c..."} 
[2026-08-05 14:20:45] local.INFO: Packet analysis {"connection_id":149665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11a"} 
[2026-08-05 14:20:45] local.INFO: Extracted packet for processing {"connection_id":149665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11a"} 
[2026-08-05 14:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195415040001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14: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-08-05 14:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919611000,"timestamp_ms":1785919611000,"timestamp_seconds":1785919611,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11aa078"} 
[2026-08-05 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-08-05 14:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-05 14:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195415040001,"66":11874,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195415040001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:20:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195415040001,"power":11874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":149665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:20:46] local.INFO: GPS data processed {"connection_id":149665,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:20:46] local.INFO: Acknowledgment sent {"connection_id":149665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:20:54] local.INFO: TCP Data received {"connection_id":149664,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:20:54] local.INFO: Processing buffer {"connection_id":149664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:20:54] local.INFO: Packet analysis {"connection_id":149664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:20:54] local.INFO: Extracted packet for processing {"connection_id":149664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373568001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004328960,"note":"Value kept but may cause issues"} 
[2026-08-05 14:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785919733000,"timestamp_ms":1785919733000,"timestamp_seconds":1785919733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c7d08"} 
[2026-08-05 14:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373568001,"66":26299,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004328960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373568001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:20:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:20:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004328960,"description":"Unknown IO ID 45"} 
[2026-08-05 14:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373568001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004328960}} 
[2026-08-05 14:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":149664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:20:54] local.INFO: GPS data processed {"connection_id":149664,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:20:54] local.INFO: Acknowledgment sent {"connection_id":149664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:21:17] local.INFO: TCP Data received {"connection_id":149665,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11aee98012d196840071fed20003c011d2d..."} 
[2026-08-05 14:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11aee98012d196840071fed20003c011d2d..."} 
[2026-08-05 14:21:17] local.INFO: Processing buffer {"connection_id":149665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11aee98012d196840071fed20003c011d2d..."} 
[2026-08-05 14:21:17] local.INFO: Packet analysis {"connection_id":149665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11a"} 
[2026-08-05 14:21:17] local.INFO: Extracted packet for processing {"connection_id":149665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11a"} 
[2026-08-05 14:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195420416001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785919631000,"timestamp_ms":1785919631000,"timestamp_seconds":1785919631,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11aee98"} 
[2026-08-05 14:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-05 14:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195420416001,"66":12461,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195420416001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:21:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195420416001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":149665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:21:17] local.INFO: GPS data processed {"connection_id":149665,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:21:17] local.INFO: Acknowledgment sent {"connection_id":149665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:21:20] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:21:20] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:21:20] local.INFO: IMEI packet received {"connection_id":148458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":148458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:21:25] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:21:25] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:21:25] local.INFO: IMEI packet received {"connection_id":148458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":148458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:21:26] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:21:26] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:21:26] local.INFO: Packet analysis {"connection_id":148458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:21:26] local.INFO: Extracted packet for processing {"connection_id":148458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373568001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004328960,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785919733000,"timestamp_ms":1785919733000,"timestamp_seconds":1785919733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c7d08"} 
[2026-08-05 14:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373568001,"66":26299,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004328960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373568001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:21:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004328960,"description":"Unknown IO ID 45"} 
[2026-08-05 14:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373568001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004328960}} 
[2026-08-05 14:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":148458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:21:26] local.INFO: GPS data processed {"connection_id":148458,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:21:26] local.INFO: Acknowledgment sent {"connection_id":148458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:21:31] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:21:31] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:21:31] local.INFO: Packet analysis {"connection_id":148458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:21:31] local.INFO: Extracted packet for processing {"connection_id":148458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373568001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004328960,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785919733000,"timestamp_ms":1785919733000,"timestamp_seconds":1785919733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c7d08"} 
[2026-08-05 14:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373568001,"66":26299,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004328960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373568001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:21:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004328960,"description":"Unknown IO ID 45"} 
[2026-08-05 14:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373568001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004328960}} 
[2026-08-05 14:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":148458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:21:31] local.INFO: GPS data processed {"connection_id":148458,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:21:31] local.INFO: Acknowledgment sent {"connection_id":148458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:21:39] local.INFO: TCP Data received {"connection_id":151078,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:21:39] local.INFO: Processing buffer {"connection_id":151078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:21:39] local.INFO: IMEI packet received {"connection_id":151078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":151078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:21:40] local.INFO: TCP Data received {"connection_id":151078,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:21:40] local.INFO: Processing buffer {"connection_id":151078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:21:40] local.INFO: IMEI packet received {"connection_id":151078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":151078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:21:45] local.INFO: TCP Data received {"connection_id":151078,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:21:45] local.INFO: Processing buffer {"connection_id":151078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:21:45] local.INFO: IMEI packet received {"connection_id":151078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":151078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:21:45] local.INFO: TCP Data received {"connection_id":151078,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11b40a0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11b40a0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:21:45] local.INFO: Processing buffer {"connection_id":151078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11b40a0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:21:45] local.INFO: Packet analysis {"connection_id":151078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11b"} 
[2026-08-05 14:21:45] local.INFO: Extracted packet for processing {"connection_id":151078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11b"} 
[2026-08-05 14:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195425536001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919652000,"timestamp_ms":1785919652000,"timestamp_seconds":1785919652,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11b40a0"} 
[2026-08-05 14:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195425536001,"66":12504,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195425536001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:21:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195425536001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":151078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:21:45] local.INFO: GPS data processed {"connection_id":151078,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:21:45] local.INFO: Acknowledgment sent {"connection_id":151078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:22:15] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:22:15] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:22:15] local.INFO: IMEI packet received {"connection_id":148670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":148670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:22:16] local.INFO: TCP Data received {"connection_id":151078,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11b9690012d196840071fed20003c011d2a..."} 
[2026-08-05 14:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11b9690012d196840071fed20003c011d2a..."} 
[2026-08-05 14:22:16] local.INFO: Processing buffer {"connection_id":151078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11b9690012d196840071fed20003c011d2a..."} 
[2026-08-05 14:22:16] local.INFO: Packet analysis {"connection_id":151078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11b"} 
[2026-08-05 14:22:16] local.INFO: Extracted packet for processing {"connection_id":151078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11b"} 
[2026-08-05 14:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195430912001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785919674000,"timestamp_ms":1785919674000,"timestamp_seconds":1785919674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11b9690"} 
[2026-08-05 14:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195430912001,"66":12504,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195430912001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:22:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:22:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195430912001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":151078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:22:17] local.INFO: GPS data processed {"connection_id":151078,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:22:17] local.INFO: Acknowledgment sent {"connection_id":151078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:22:20] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:22:20] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:22:20] local.INFO: IMEI packet received {"connection_id":148670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":148670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:22:21] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:22:21] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:22:21] local.INFO: Packet analysis {"connection_id":148670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:22:21] local.INFO: Extracted packet for processing {"connection_id":148670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:22:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373568001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004328960,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785919733000,"timestamp_ms":1785919733000,"timestamp_seconds":1785919733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c7d08"} 
[2026-08-05 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-08-05 14:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373568001,"66":26299,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004328960},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373568001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:22:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004328960,"description":"Unknown IO ID 45"} 
[2026-08-05 14:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373568001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004328960}} 
[2026-08-05 14:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":148670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:22:21] local.INFO: GPS data processed {"connection_id":148670,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:22:21] local.INFO: Acknowledgment sent {"connection_id":148670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:22:39] local.INFO: TCP Data received {"connection_id":151079,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:22:39] local.INFO: Processing buffer {"connection_id":151079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:22:39] local.INFO: IMEI packet received {"connection_id":151079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":151079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:22:44] local.INFO: TCP Data received {"connection_id":151079,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:22:44] local.INFO: Processing buffer {"connection_id":151079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:22:44] local.INFO: IMEI packet received {"connection_id":151079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":151079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:22:44] local.INFO: TCP Data received {"connection_id":151079,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:22:44] local.INFO: Processing buffer {"connection_id":151079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:22:44] local.INFO: IMEI packet received {"connection_id":151079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":151079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:22:45] local.INFO: TCP Data received {"connection_id":151079,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11be898012d196840071fed20003c011d29..."} 
[2026-08-05 14:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11be898012d196840071fed20003c011d29..."} 
[2026-08-05 14:22:45] local.INFO: Processing buffer {"connection_id":151079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11be898012d196840071fed20003c011d29..."} 
[2026-08-05 14:22:45] local.INFO: Packet analysis {"connection_id":151079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11b"} 
[2026-08-05 14:22:45] local.INFO: Extracted packet for processing {"connection_id":151079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11b"} 
[2026-08-05 14:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195436544001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 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-08-05 14:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919695000,"timestamp_ms":1785919695000,"timestamp_seconds":1785919695,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11be898"} 
[2026-08-05 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-08-05 14:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195436544001,"66":12504,"102":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195436544001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:22:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195436544001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":151079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:22:45] local.INFO: GPS data processed {"connection_id":151079,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:22:45] local.INFO: Acknowledgment sent {"connection_id":151079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:22:50] local.INFO: TCP Data received {"connection_id":151079,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c3aa0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c3aa0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:22:50] local.INFO: Processing buffer {"connection_id":151079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c3aa0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:22:50] local.INFO: Packet analysis {"connection_id":151079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:22:50] local.INFO: Extracted packet for processing {"connection_id":151079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195441920001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785919716000,"timestamp_ms":1785919716000,"timestamp_seconds":1785919716,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c3aa0"} 
[2026-08-05 14:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195441920001,"66":12504,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195441920001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:22:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195441920001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":151079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:22:50] local.INFO: GPS data processed {"connection_id":151079,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:22:50] local.INFO: Acknowledgment sent {"connection_id":151079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:22:52] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:22:52] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:22:52] local.INFO: Packet analysis {"connection_id":148670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:22:52] local.INFO: Extracted packet for processing {"connection_id":148670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:22:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373568001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004328960,"note":"Value kept but may cause issues"} 
[2026-08-05 14:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785919733000,"timestamp_ms":1785919733000,"timestamp_seconds":1785919733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c7d08"} 
[2026-08-05 14:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373568001,"66":26299,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004328960},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373568001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:22:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004328960,"description":"Unknown IO ID 45"} 
[2026-08-05 14:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373568001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004328960}} 
[2026-08-05 14:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":148670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:22:52] local.INFO: GPS data processed {"connection_id":148670,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:22:52] local.INFO: Acknowledgment sent {"connection_id":148670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:23:14] local.INFO: TCP Data received {"connection_id":151080,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:23:14] local.INFO: Processing buffer {"connection_id":151080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:23:14] local.INFO: IMEI packet received {"connection_id":151080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":151080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:23:20] local.INFO: TCP Data received {"connection_id":151080,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:23:20] local.INFO: Processing buffer {"connection_id":151080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:23:20] local.INFO: IMEI packet received {"connection_id":151080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":151080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:23:21] local.INFO: TCP Data received {"connection_id":151080,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:23:21] local.INFO: Processing buffer {"connection_id":151080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:23:21] local.INFO: Packet analysis {"connection_id":151080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:23:21] local.INFO: Extracted packet for processing {"connection_id":151080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373568001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004328960,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785919733000,"timestamp_ms":1785919733000,"timestamp_seconds":1785919733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c7d08"} 
[2026-08-05 14:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373568001,"66":26299,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004328960},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373568001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004328960,"description":"Unknown IO ID 45"} 
[2026-08-05 14:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373568001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004328960}} 
[2026-08-05 14:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":151080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:23:21] local.INFO: GPS data processed {"connection_id":151080,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:23:21] local.INFO: Acknowledgment sent {"connection_id":151080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:23:21] local.INFO: TCP Data received {"connection_id":151079,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c8ca8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c8ca8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:23:21] local.INFO: Processing buffer {"connection_id":151079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c8ca8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:23:21] local.INFO: Packet analysis {"connection_id":151079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:23:21] local.INFO: Extracted packet for processing {"connection_id":151079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195447296001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785919737000,"timestamp_ms":1785919737000,"timestamp_seconds":1785919737,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c8ca8"} 
[2026-08-05 14:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195447296001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195447296001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195447296001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":151079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:23:21] local.INFO: GPS data processed {"connection_id":151079,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:23:21] local.INFO: Acknowledgment sent {"connection_id":151079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:23:45] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:23:45] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:23:45] local.INFO: IMEI packet received {"connection_id":148459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":148459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:23:46] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:23:46] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:23:46] local.INFO: IMEI packet received {"connection_id":148459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":148459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:23:47] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11cdeb0012d196840071fed20003c011d2d..."} 
[2026-08-05 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11cdeb0012d196840071fed20003c011d2d..."} 
[2026-08-05 14:23:47] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11cdeb0012d196840071fed20003c011d2d..."} 
[2026-08-05 14:23:47] local.INFO: Packet analysis {"connection_id":148459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:23:47] local.INFO: Extracted packet for processing {"connection_id":148459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195452672001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785919758000,"timestamp_ms":1785919758000,"timestamp_seconds":1785919758,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11cdeb0"} 
[2026-08-05 14:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195452672001,"66":12504,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195452672001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:23:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195452672001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":148459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:23:47] local.INFO: GPS data processed {"connection_id":148459,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:23:47] local.INFO: Acknowledgment sent {"connection_id":148459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:23:50] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11d30b8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11d30b8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:23:50] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11d30b8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:23:50] local.INFO: Packet analysis {"connection_id":148459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11d"} 
[2026-08-05 14:23:50] local.INFO: Extracted packet for processing {"connection_id":148459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11d"} 
[2026-08-05 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195458048001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785919779000,"timestamp_ms":1785919779000,"timestamp_seconds":1785919779,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11d30b8"} 
[2026-08-05 14:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195458048001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195458048001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:23:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195458048001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":148459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:23:50] local.INFO: GPS data processed {"connection_id":148459,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:23:50] local.INFO: Acknowledgment sent {"connection_id":148459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:23:52] local.INFO: TCP Data received {"connection_id":151080,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:23:52] local.INFO: Processing buffer {"connection_id":151080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:23:52] local.INFO: Packet analysis {"connection_id":151080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:23:52] local.INFO: Extracted packet for processing {"connection_id":151080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:23:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373568001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004328960,"note":"Value kept but may cause issues"} 
[2026-08-05 14:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785919733000,"timestamp_ms":1785919733000,"timestamp_seconds":1785919733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c7d08"} 
[2026-08-05 14:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373568001,"66":26299,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004328960},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373568001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:23:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004328960,"description":"Unknown IO ID 45"} 
[2026-08-05 14:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373568001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004328960}} 
[2026-08-05 14:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":151080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:23:52] local.INFO: GPS data processed {"connection_id":151080,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:23:52] local.INFO: Acknowledgment sent {"connection_id":151080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:24:14] local.INFO: TCP Data received {"connection_id":148671,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:24:14] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:24:14] local.INFO: IMEI packet received {"connection_id":148671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":148671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:24:20] local.INFO: TCP Data received {"connection_id":148671,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:24:20] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:24:20] local.INFO: IMEI packet received {"connection_id":148671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":148671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:24:21] local.INFO: TCP Data received {"connection_id":148671,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:24:21] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11c7d08012d7f934005afda600000005b2a..."} 
[2026-08-05 14:24:21] local.INFO: Packet analysis {"connection_id":148671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:24:21] local.INFO: Extracted packet for processing {"connection_id":148671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11c"} 
[2026-08-05 14:24:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195373568001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004328960,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785919733000,"timestamp_ms":1785919733000,"timestamp_seconds":1785919733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11c7d08"} 
[2026-08-05 14:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195373568001,"66":26299,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9193465345004328960},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195373568001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:24:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004328960,"description":"Unknown IO ID 45"} 
[2026-08-05 14:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195373568001,"power":26299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004328960}} 
[2026-08-05 14:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":148671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:24:21] local.INFO: GPS data processed {"connection_id":148671,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:24:21] local.INFO: Acknowledgment sent {"connection_id":148671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:24:21] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11d82c0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11d82c0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:24:21] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11d82c0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:24:21] local.INFO: Packet analysis {"connection_id":148459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11d"} 
[2026-08-05 14:24:21] local.INFO: Extracted packet for processing {"connection_id":148459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11d"} 
[2026-08-05 14:24:21] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195463424001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785919800000,"timestamp_ms":1785919800000,"timestamp_seconds":1785919800,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11d82c0"} 
[2026-08-05 14:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195463424001,"66":12504,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195463424001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:24:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195463424001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":148459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:24:21] local.INFO: GPS data processed {"connection_id":148459,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:24:21] local.INFO: Acknowledgment sent {"connection_id":148459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:24:40] local.INFO: TCP Data received {"connection_id":151081,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:24:40] local.INFO: Processing buffer {"connection_id":151081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:24:40] local.INFO: IMEI packet received {"connection_id":151081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":151081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:24:45] local.INFO: TCP Data received {"connection_id":151081,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:24:45] local.INFO: Processing buffer {"connection_id":151081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:24:45] local.INFO: IMEI packet received {"connection_id":151081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":151081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:24:45] local.INFO: TCP Data received {"connection_id":151081,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11dd4c8012d196840071fed20003c011d2b..."} 
[2026-08-05 14:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11dd4c8012d196840071fed20003c011d2b..."} 
[2026-08-05 14:24:45] local.INFO: Processing buffer {"connection_id":151081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11dd4c8012d196840071fed20003c011d2b..."} 
[2026-08-05 14:24:45] local.INFO: Packet analysis {"connection_id":151081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11d"} 
[2026-08-05 14:24:45] local.INFO: Extracted packet for processing {"connection_id":151081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11d"} 
[2026-08-05 14:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195468800001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919821000,"timestamp_ms":1785919821000,"timestamp_seconds":1785919821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11dd4c8"} 
[2026-08-05 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-08-05 14:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195468800001,"66":12504,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195468800001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:24:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195468800001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":151081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:24:45] local.INFO: GPS data processed {"connection_id":151081,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:24:45] local.INFO: Acknowledgment sent {"connection_id":151081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:24:53] local.INFO: TCP Data received {"connection_id":148671,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:24:53] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:24:53] local.INFO: Packet analysis {"connection_id":148671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:24:53] local.INFO: Extracted packet for processing {"connection_id":148671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:24:53] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195451648001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785920034000,"timestamp_ms":1785920034000,"timestamp_seconds":1785920034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12114d0"} 
[2026-08-05 14:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 14:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195451648001,"66":26115,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195451648001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:24:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:24:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195451648001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":148671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:24:53] local.INFO: GPS data processed {"connection_id":148671,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:24:53] local.INFO: Acknowledgment sent {"connection_id":148671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:25:14] local.INFO: TCP Data received {"connection_id":151082,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:25:14] local.INFO: Processing buffer {"connection_id":151082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:25:14] local.INFO: IMEI packet received {"connection_id":151082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":151082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:25:16] local.INFO: TCP Data received {"connection_id":151081,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11e26d0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11e26d0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:25:16] local.INFO: Processing buffer {"connection_id":151081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11e26d0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:25:16] local.INFO: Packet analysis {"connection_id":151081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11e"} 
[2026-08-05 14:25:16] local.INFO: Extracted packet for processing {"connection_id":151081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11e"} 
[2026-08-05 14:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195474176001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785919842000,"timestamp_ms":1785919842000,"timestamp_seconds":1785919842,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11e26d0"} 
[2026-08-05 14:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195474176001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195474176001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:25:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:25:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195474176001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":151081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:25:17] local.INFO: GPS data processed {"connection_id":151081,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:25:17] local.INFO: Acknowledgment sent {"connection_id":151081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:25:20] local.INFO: TCP Data received {"connection_id":151082,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:25:20] local.INFO: Processing buffer {"connection_id":151082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:25:20] local.INFO: IMEI packet received {"connection_id":151082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":151082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:25:21] local.INFO: TCP Data received {"connection_id":151082,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:25:21] local.INFO: Processing buffer {"connection_id":151082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:25:21] local.INFO: Packet analysis {"connection_id":151082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:25:21] local.INFO: Extracted packet for processing {"connection_id":151082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:25:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195451648001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920034000,"timestamp_ms":1785920034000,"timestamp_seconds":1785920034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12114d0"} 
[2026-08-05 14:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:25: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-08-05 14:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 14:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195451648001,"66":26115,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195451648001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:25:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195451648001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":151082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:25:21] local.INFO: GPS data processed {"connection_id":151082,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:25:21] local.INFO: Acknowledgment sent {"connection_id":151082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:25:40] local.INFO: TCP Data received {"connection_id":149666,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:25:40] local.INFO: Processing buffer {"connection_id":149666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:25:40] local.INFO: IMEI packet received {"connection_id":149666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":149666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:25:45] local.INFO: TCP Data received {"connection_id":149666,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:25:45] local.INFO: Processing buffer {"connection_id":149666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:25:45] local.INFO: IMEI packet received {"connection_id":149666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":149666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:25:45] local.INFO: TCP Data received {"connection_id":149666,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd11e78d8012d196840071fed20003c011d2e..."} 
[2026-08-05 14:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd11e78d8012d196840071fed20003c011d2e..."} 
[2026-08-05 14:25:45] local.INFO: Processing buffer {"connection_id":149666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd11e78d8012d196840071fed20003c011d2e..."} 
[2026-08-05 14:25:45] local.INFO: Packet analysis {"connection_id":149666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd11e"} 
[2026-08-05 14:25:45] local.INFO: Extracted packet for processing {"connection_id":149666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd11e"} 
[2026-08-05 14:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195479552001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785919863000,"timestamp_ms":1785919863000,"timestamp_seconds":1785919863,"priority":1,"record_length":96,"hex_timestamp":"0000019fd11e78d8"} 
[2026-08-05 14:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195479552001,"66":12156,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195479552001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:25:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195479552001,"power":12156,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":149666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:25:45] local.INFO: GPS data processed {"connection_id":149666,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:25:45] local.INFO: Acknowledgment sent {"connection_id":149666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:25:52] local.INFO: TCP Data received {"connection_id":151082,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:25:52] local.INFO: Processing buffer {"connection_id":151082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:25:52] local.INFO: Packet analysis {"connection_id":151082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:25:52] local.INFO: Extracted packet for processing {"connection_id":151082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:25:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195451648001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785920034000,"timestamp_ms":1785920034000,"timestamp_seconds":1785920034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12114d0"} 
[2026-08-05 14:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 14:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195451648001,"66":26115,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195451648001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:25:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:25:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195451648001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":151082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:25:52] local.INFO: GPS data processed {"connection_id":151082,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:25:52] local.INFO: Acknowledgment sent {"connection_id":151082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:26:16] local.INFO: TCP Data received {"connection_id":149666,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd121ff30012d196840071fed20003c011d2c..."} 
[2026-08-05 14:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd121ff30012d196840071fed20003c011d2c..."} 
[2026-08-05 14:26:16] local.INFO: Processing buffer {"connection_id":149666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd121ff30012d196840071fed20003c011d2c..."} 
[2026-08-05 14:26:16] local.INFO: Packet analysis {"connection_id":149666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:26:16] local.INFO: Extracted packet for processing {"connection_id":149666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195538688001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785920094000,"timestamp_ms":1785920094000,"timestamp_seconds":1785920094,"priority":1,"record_length":96,"hex_timestamp":"0000019fd121ff30"} 
[2026-08-05 14:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195538688001,"66":12504,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195538688001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:26:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:26:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195538688001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":149666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:26:17] local.INFO: GPS data processed {"connection_id":149666,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:26:17] local.INFO: Acknowledgment sent {"connection_id":149666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:26:20] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:26:20] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:26:20] local.INFO: IMEI packet received {"connection_id":148672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":148672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:26:25] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:26:25] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:26:25] local.INFO: IMEI packet received {"connection_id":148672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":148672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:26:26] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:26:26] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:26:26] local.INFO: Packet analysis {"connection_id":148672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:26:26] local.INFO: Extracted packet for processing {"connection_id":148672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195451648001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785920034000,"timestamp_ms":1785920034000,"timestamp_seconds":1785920034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12114d0"} 
[2026-08-05 14:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 14:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195451648001,"66":26115,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195451648001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:26:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195451648001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":148672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:26:26] local.INFO: GPS data processed {"connection_id":148672,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:26:26] local.INFO: Acknowledgment sent {"connection_id":148672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:26:30] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:26:30] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:26:30] local.INFO: Packet analysis {"connection_id":148672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:26:30] local.INFO: Extracted packet for processing {"connection_id":148672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195451648001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785920034000,"timestamp_ms":1785920034000,"timestamp_seconds":1785920034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12114d0"} 
[2026-08-05 14:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 14:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195451648001,"66":26115,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195451648001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:26:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195451648001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":148672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:26:30] local.INFO: GPS data processed {"connection_id":148672,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:26:30] local.INFO: Acknowledgment sent {"connection_id":148672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:26:40] local.INFO: TCP Data received {"connection_id":149667,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:26:40] local.INFO: Processing buffer {"connection_id":149667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:26:40] local.INFO: IMEI packet received {"connection_id":149667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":149667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:26:45] local.INFO: TCP Data received {"connection_id":149667,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:26:45] local.INFO: Processing buffer {"connection_id":149667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:26:45] local.INFO: IMEI packet received {"connection_id":149667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":149667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:26:45] local.INFO: TCP Data received {"connection_id":149667,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1225138012d196840071fed20003c011d2d..."} 
[2026-08-05 14:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1225138012d196840071fed20003c011d2d..."} 
[2026-08-05 14:26:45] local.INFO: Processing buffer {"connection_id":149667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1225138012d196840071fed20003c011d2d..."} 
[2026-08-05 14:26:45] local.INFO: Packet analysis {"connection_id":149667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd122"} 
[2026-08-05 14:26:45] local.INFO: Extracted packet for processing {"connection_id":149667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd122"} 
[2026-08-05 14:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195544064001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785920115000,"timestamp_ms":1785920115000,"timestamp_seconds":1785920115,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1225138"} 
[2026-08-05 14:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 14:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195544064001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195544064001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:26:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:26:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195544064001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":149667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:26:45] local.INFO: GPS data processed {"connection_id":149667,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:26:45] local.INFO: Acknowledgment sent {"connection_id":149667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:27:14] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:27:14] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:27:14] local.INFO: IMEI packet received {"connection_id":148673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":148673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:27:17] local.INFO: TCP Data received {"connection_id":149667,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd122a340012d196840071fed20003c011d2d..."} 
[2026-08-05 14:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd122a340012d196840071fed20003c011d2d..."} 
[2026-08-05 14:27:17] local.INFO: Processing buffer {"connection_id":149667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd122a340012d196840071fed20003c011d2d..."} 
[2026-08-05 14:27:17] local.INFO: Packet analysis {"connection_id":149667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd122"} 
[2026-08-05 14:27:17] local.INFO: Extracted packet for processing {"connection_id":149667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd122"} 
[2026-08-05 14:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195549440001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785920136000,"timestamp_ms":1785920136000,"timestamp_seconds":1785920136,"priority":1,"record_length":96,"hex_timestamp":"0000019fd122a340"} 
[2026-08-05 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-08-05 14:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195549440001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195549440001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:27:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195549440001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":149667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:27:17] local.INFO: GPS data processed {"connection_id":149667,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:27:17] local.INFO: Acknowledgment sent {"connection_id":149667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:27:20] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:27:20] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:27:20] local.INFO: IMEI packet received {"connection_id":148673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":148673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:27:21] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:27:21] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:27:21] local.INFO: Packet analysis {"connection_id":148673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:27:21] local.INFO: Extracted packet for processing {"connection_id":148673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:27:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195451648001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920034000,"timestamp_ms":1785920034000,"timestamp_seconds":1785920034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12114d0"} 
[2026-08-05 14:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:27: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-08-05 14:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 14:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195451648001,"66":26115,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195451648001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:27:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195451648001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":148673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:27:21] local.INFO: GPS data processed {"connection_id":148673,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:27:21] local.INFO: Acknowledgment sent {"connection_id":148673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:27:37] local.INFO: TCP Data received {"connection_id":148460,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:27:37] local.INFO: Processing buffer {"connection_id":148460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:27:37] local.INFO: IMEI packet received {"connection_id":148460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":148460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:27:40] local.INFO: TCP Data received {"connection_id":148460,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:27:40] local.INFO: Processing buffer {"connection_id":148460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:27:40] local.INFO: IMEI packet received {"connection_id":148460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":148460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:27:45] local.INFO: TCP Data received {"connection_id":148460,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:27:45] local.INFO: Processing buffer {"connection_id":148460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:27:45] local.INFO: IMEI packet received {"connection_id":148460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":148460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:27:45] local.INFO: TCP Data received {"connection_id":148460,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd122f548012d196840071fed20003c011d2d..."} 
[2026-08-05 14:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd122f548012d196840071fed20003c011d2d..."} 
[2026-08-05 14:27:45] local.INFO: Processing buffer {"connection_id":148460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd122f548012d196840071fed20003c011d2d..."} 
[2026-08-05 14:27:45] local.INFO: Packet analysis {"connection_id":148460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd122"} 
[2026-08-05 14:27:45] local.INFO: Extracted packet for processing {"connection_id":148460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd122"} 
[2026-08-05 14:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195554816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785920157000,"timestamp_ms":1785920157000,"timestamp_seconds":1785920157,"priority":1,"record_length":96,"hex_timestamp":"0000019fd122f548"} 
[2026-08-05 14:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195554816001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195554816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:27:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195554816001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":148460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:27:46] local.INFO: GPS data processed {"connection_id":148460,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:27:46] local.INFO: Acknowledgment sent {"connection_id":148460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:27:53] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:27:53] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:27:53] local.INFO: Packet analysis {"connection_id":148673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:27:53] local.INFO: Extracted packet for processing {"connection_id":148673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:27:53] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195451648001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785920034000,"timestamp_ms":1785920034000,"timestamp_seconds":1785920034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12114d0"} 
[2026-08-05 14:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 14:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195451648001,"66":26115,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195451648001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:27:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:27:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195451648001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":148673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:27:53] local.INFO: GPS data processed {"connection_id":148673,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:27:53] local.INFO: Acknowledgment sent {"connection_id":148673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:28:16] local.INFO: TCP Data received {"connection_id":151083,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:28:16] local.INFO: Processing buffer {"connection_id":151083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:28:16] local.INFO: IMEI packet received {"connection_id":151083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":151083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:28:16] local.INFO: TCP Data received {"connection_id":148460,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1234750012d196840071fed20003c011d2b..."} 
[2026-08-05 14:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1234750012d196840071fed20003c011d2b..."} 
[2026-08-05 14:28:16] local.INFO: Processing buffer {"connection_id":148460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1234750012d196840071fed20003c011d2b..."} 
[2026-08-05 14:28:16] local.INFO: Packet analysis {"connection_id":148460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd123"} 
[2026-08-05 14:28:16] local.INFO: Extracted packet for processing {"connection_id":148460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd123"} 
[2026-08-05 14:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195560192001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785920178000,"timestamp_ms":1785920178000,"timestamp_seconds":1785920178,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1234750"} 
[2026-08-05 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-08-05 14:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195560192001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195560192001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:28:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195560192001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":148460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:28:17] local.INFO: GPS data processed {"connection_id":148460,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:28:17] local.INFO: Acknowledgment sent {"connection_id":148460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:28:20] local.INFO: TCP Data received {"connection_id":151083,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:28:20] local.INFO: Processing buffer {"connection_id":151083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:28:20] local.INFO: IMEI packet received {"connection_id":151083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":151083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:28:21] local.INFO: TCP Data received {"connection_id":151083,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:28:21] local.INFO: Processing buffer {"connection_id":151083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:28:21] local.INFO: Packet analysis {"connection_id":151083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:28:21] local.INFO: Extracted packet for processing {"connection_id":151083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195451648001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920034000,"timestamp_ms":1785920034000,"timestamp_seconds":1785920034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12114d0"} 
[2026-08-05 14:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:28: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-08-05 14: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 14:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195451648001,"66":26115,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195451648001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:28:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195451648001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":151083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:28:21] local.INFO: GPS data processed {"connection_id":151083,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:28:21] local.INFO: Acknowledgment sent {"connection_id":151083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:28:39] local.INFO: TCP Data received {"connection_id":149668,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:28:39] local.INFO: Processing buffer {"connection_id":149668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:28:39] local.INFO: IMEI packet received {"connection_id":149668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":149668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:28:40] local.INFO: TCP Data received {"connection_id":149668,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:28:40] local.INFO: Processing buffer {"connection_id":149668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:28:40] local.INFO: IMEI packet received {"connection_id":149668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":149668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:28:45] local.INFO: TCP Data received {"connection_id":149668,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:28:45] local.INFO: Processing buffer {"connection_id":149668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:28:45] local.INFO: IMEI packet received {"connection_id":149668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":149668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:28:45] local.INFO: TCP Data received {"connection_id":149668,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1239958012d196840071fed20003c011d2e..."} 
[2026-08-05 14:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1239958012d196840071fed20003c011d2e..."} 
[2026-08-05 14:28:45] local.INFO: Processing buffer {"connection_id":149668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1239958012d196840071fed20003c011d2e..."} 
[2026-08-05 14:28:45] local.INFO: Packet analysis {"connection_id":149668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd123"} 
[2026-08-05 14:28:45] local.INFO: Extracted packet for processing {"connection_id":149668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd123"} 
[2026-08-05 14:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195565568001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785920199000,"timestamp_ms":1785920199000,"timestamp_seconds":1785920199,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1239958"} 
[2026-08-05 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-08-05 14:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195565568001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195565568001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:28:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195565568001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":149668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:28:45] local.INFO: GPS data processed {"connection_id":149668,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:28:45] local.INFO: Acknowledgment sent {"connection_id":149668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:28:52] local.INFO: TCP Data received {"connection_id":151083,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:28:52] local.INFO: Processing buffer {"connection_id":151083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:28:52] local.INFO: Packet analysis {"connection_id":151083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:28:52] local.INFO: Extracted packet for processing {"connection_id":151083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:28:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195451648001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785920034000,"timestamp_ms":1785920034000,"timestamp_seconds":1785920034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12114d0"} 
[2026-08-05 14:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 14:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195451648001,"66":26115,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195451648001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:28:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195451648001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":151083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:28:52] local.INFO: GPS data processed {"connection_id":151083,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:28:52] local.INFO: Acknowledgment sent {"connection_id":151083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:29:14] local.INFO: TCP Data received {"connection_id":149669,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:29:14] local.INFO: Processing buffer {"connection_id":149669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:29:14] local.INFO: IMEI packet received {"connection_id":149669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":149669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:29:16] local.INFO: TCP Data received {"connection_id":149668,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd123eb60012d196840071fed20003c011d2d..."} 
[2026-08-05 14:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd123eb60012d196840071fed20003c011d2d..."} 
[2026-08-05 14:29:16] local.INFO: Processing buffer {"connection_id":149668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd123eb60012d196840071fed20003c011d2d..."} 
[2026-08-05 14:29:16] local.INFO: Packet analysis {"connection_id":149668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd123"} 
[2026-08-05 14:29:16] local.INFO: Extracted packet for processing {"connection_id":149668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd123"} 
[2026-08-05 14:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195570944001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785920220000,"timestamp_ms":1785920220000,"timestamp_seconds":1785920220,"priority":1,"record_length":96,"hex_timestamp":"0000019fd123eb60"} 
[2026-08-05 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-08-05 14:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195570944001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195570944001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:29:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195570944001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":149668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:29:17] local.INFO: GPS data processed {"connection_id":149668,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:29:17] local.INFO: Acknowledgment sent {"connection_id":149668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:29:20] local.INFO: TCP Data received {"connection_id":149669,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:29:20] local.INFO: Processing buffer {"connection_id":149669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:29:20] local.INFO: IMEI packet received {"connection_id":149669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":149669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:29:21] local.INFO: TCP Data received {"connection_id":149669,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:29:21] local.INFO: Processing buffer {"connection_id":149669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12114d0012d7f934005afda600000005b2b..."} 
[2026-08-05 14:29:21] local.INFO: Packet analysis {"connection_id":149669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:29:21] local.INFO: Extracted packet for processing {"connection_id":149669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd121"} 
[2026-08-05 14:29:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195451648001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920034000,"timestamp_ms":1785920034000,"timestamp_seconds":1785920034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12114d0"} 
[2026-08-05 14:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:29: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-08-05 14:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 14:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195451648001,"66":26115,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195451648001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:29:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195451648001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":149669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:29:21] local.INFO: GPS data processed {"connection_id":149669,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:29:21] local.INFO: Acknowledgment sent {"connection_id":149669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:29:39] local.INFO: TCP Data received {"connection_id":151084,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:29:39] local.INFO: Processing buffer {"connection_id":151084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:29:39] local.INFO: IMEI packet received {"connection_id":151084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":151084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:29:44] local.INFO: TCP Data received {"connection_id":151084,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:29:44] local.INFO: Processing buffer {"connection_id":151084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:29:44] local.INFO: IMEI packet received {"connection_id":151084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":151084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:29:44] local.INFO: TCP Data received {"connection_id":151084,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:29:44] local.INFO: Processing buffer {"connection_id":151084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:29:44] local.INFO: IMEI packet received {"connection_id":151084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":151084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:29:45] local.INFO: TCP Data received {"connection_id":151084,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1243980012d196840071fed20003c011d2e..."} 
[2026-08-05 14:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1243980012d196840071fed20003c011d2e..."} 
[2026-08-05 14:29:45] local.INFO: Processing buffer {"connection_id":151084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1243980012d196840071fed20003c011d2e..."} 
[2026-08-05 14:29:45] local.INFO: Packet analysis {"connection_id":151084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd124"} 
[2026-08-05 14:29:45] local.INFO: Extracted packet for processing {"connection_id":151084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd124"} 
[2026-08-05 14:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195576320001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785920240000,"timestamp_ms":1785920240000,"timestamp_seconds":1785920240,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1243980"} 
[2026-08-05 14:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195576320001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195576320001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:29:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195576320001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":151084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:29:45] local.INFO: GPS data processed {"connection_id":151084,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:29:45] local.INFO: Acknowledgment sent {"connection_id":151084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:29:50] local.INFO: TCP Data received {"connection_id":151084,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1248f70012d196840071fed20003c011d2d..."} 
[2026-08-05 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1248f70012d196840071fed20003c011d2d..."} 
[2026-08-05 14:29:50] local.INFO: Processing buffer {"connection_id":151084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1248f70012d196840071fed20003c011d2d..."} 
[2026-08-05 14:29:50] local.INFO: Packet analysis {"connection_id":151084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd124"} 
[2026-08-05 14:29:50] local.INFO: Extracted packet for processing {"connection_id":151084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd124"} 
[2026-08-05 14:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195581440001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785920262000,"timestamp_ms":1785920262000,"timestamp_seconds":1785920262,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1248f70"} 
[2026-08-05 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-08-05 14:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195581440001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195581440001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:29:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195581440001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":151084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:29:50] local.INFO: GPS data processed {"connection_id":151084,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:29:50] local.INFO: Acknowledgment sent {"connection_id":151084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:29:52] local.INFO: TCP Data received {"connection_id":149669,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:29:52] local.INFO: Processing buffer {"connection_id":149669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:29:52] local.INFO: Packet analysis {"connection_id":149669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:29:52] local.INFO: Extracted packet for processing {"connection_id":149669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:29:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":1,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195528704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785920335000,"timestamp_ms":1785920335000,"timestamp_seconds":1785920335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd125ac98"} 
[2026-08-05 14:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 14:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195528704001,"66":25941,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195528704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:29:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195528704001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":149669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:29:52] local.INFO: GPS data processed {"connection_id":149669,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:29:52] local.INFO: Acknowledgment sent {"connection_id":149669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:30:14] local.INFO: TCP Data received {"connection_id":148674,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:30:14] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:30:14] local.INFO: IMEI packet received {"connection_id":148674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":148674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:30:20] local.INFO: TCP Data received {"connection_id":148674,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:30:20] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:30:20] local.INFO: IMEI packet received {"connection_id":148674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":148674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:30:21] local.INFO: TCP Data received {"connection_id":148674,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:30:21] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:30:21] local.INFO: Packet analysis {"connection_id":148674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:30:21] local.INFO: Extracted packet for processing {"connection_id":148674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":1,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195528704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920335000,"timestamp_ms":1785920335000,"timestamp_seconds":1785920335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd125ac98"} 
[2026-08-05 14:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:30: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-08-05 14:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 14:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195528704001,"66":25941,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195528704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:30:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195528704001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":148674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:30:21] local.INFO: GPS data processed {"connection_id":148674,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:30:21] local.INFO: Acknowledgment sent {"connection_id":148674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:30:21] local.INFO: TCP Data received {"connection_id":151084,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd124e178012d196840071fed20003c011d27..."} 
[2026-08-05 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd124e178012d196840071fed20003c011d27..."} 
[2026-08-05 14:30:21] local.INFO: Processing buffer {"connection_id":151084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd124e178012d196840071fed20003c011d27..."} 
[2026-08-05 14:30:21] local.INFO: Packet analysis {"connection_id":151084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd124"} 
[2026-08-05 14:30:21] local.INFO: Extracted packet for processing {"connection_id":151084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd124"} 
[2026-08-05 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195587072001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920283000,"timestamp_ms":1785920283000,"timestamp_seconds":1785920283,"priority":1,"record_length":96,"hex_timestamp":"0000019fd124e178"} 
[2026-08-05 14:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195587072001,"66":11711,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195587072001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:30:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195587072001,"power":11711,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":151084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:30:21] local.INFO: GPS data processed {"connection_id":151084,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:30:21] local.INFO: Acknowledgment sent {"connection_id":151084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:30:39] local.INFO: TCP Data received {"connection_id":151085,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:30:39] local.INFO: Processing buffer {"connection_id":151085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:30:39] local.INFO: IMEI packet received {"connection_id":151085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":151085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:30:45] local.INFO: TCP Data received {"connection_id":151085,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:30:45] local.INFO: Processing buffer {"connection_id":151085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:30:45] local.INFO: IMEI packet received {"connection_id":151085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":151085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:30:45] local.INFO: TCP Data received {"connection_id":151085,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1253380012d196840071fed20003c011d2b..."} 
[2026-08-05 14:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1253380012d196840071fed20003c011d2b..."} 
[2026-08-05 14:30:45] local.INFO: Processing buffer {"connection_id":151085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1253380012d196840071fed20003c011d2b..."} 
[2026-08-05 14:30:45] local.INFO: Packet analysis {"connection_id":151085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:30:45] local.INFO: Extracted packet for processing {"connection_id":151085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:30:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195592448001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785920304000,"timestamp_ms":1785920304000,"timestamp_seconds":1785920304,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1253380"} 
[2026-08-05 14:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-05 14:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195592448001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195592448001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:30:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:30:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195592448001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":151085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:30:45] local.INFO: GPS data processed {"connection_id":151085,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:30:45] local.INFO: Acknowledgment sent {"connection_id":151085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:30:52] local.INFO: TCP Data received {"connection_id":148674,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:30:52] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:30:52] local.INFO: Packet analysis {"connection_id":148674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:30:52] local.INFO: Extracted packet for processing {"connection_id":148674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":1,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195528704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785920335000,"timestamp_ms":1785920335000,"timestamp_seconds":1785920335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd125ac98"} 
[2026-08-05 14:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 14:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195528704001,"66":25941,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195528704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:30:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195528704001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":148674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:30:52] local.INFO: GPS data processed {"connection_id":148674,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:30:52] local.INFO: Acknowledgment sent {"connection_id":148674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:31:16] local.INFO: TCP Data received {"connection_id":151085,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1258588012d196840071fed20003c011d2d..."} 
[2026-08-05 14:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1258588012d196840071fed20003c011d2d..."} 
[2026-08-05 14:31:16] local.INFO: Processing buffer {"connection_id":151085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1258588012d196840071fed20003c011d2d..."} 
[2026-08-05 14:31:16] local.INFO: Packet analysis {"connection_id":151085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:31:16] local.INFO: Extracted packet for processing {"connection_id":151085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195597824001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785920325000,"timestamp_ms":1785920325000,"timestamp_seconds":1785920325,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1258588"} 
[2026-08-05 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-08-05 14:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195597824001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195597824001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:31:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:31:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195597824001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":151085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:31:17] local.INFO: GPS data processed {"connection_id":151085,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:31:17] local.INFO: Acknowledgment sent {"connection_id":151085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:31:20] local.INFO: TCP Data received {"connection_id":149670,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:31:20] local.INFO: Processing buffer {"connection_id":149670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:31:20] local.INFO: IMEI packet received {"connection_id":149670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":149670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:31:25] local.INFO: TCP Data received {"connection_id":149670,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:31:25] local.INFO: Processing buffer {"connection_id":149670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:31:25] local.INFO: IMEI packet received {"connection_id":149670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":149670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:31:26] local.INFO: TCP Data received {"connection_id":149670,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:31:26] local.INFO: Processing buffer {"connection_id":149670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:31:26] local.INFO: Packet analysis {"connection_id":149670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:31:26] local.INFO: Extracted packet for processing {"connection_id":149670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":1,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195528704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785920335000,"timestamp_ms":1785920335000,"timestamp_seconds":1785920335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd125ac98"} 
[2026-08-05 14:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 14:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195528704001,"66":25941,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195528704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:31:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195528704001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":149670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:31:26] local.INFO: GPS data processed {"connection_id":149670,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:31:26] local.INFO: Acknowledgment sent {"connection_id":149670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:31:30] local.INFO: TCP Data received {"connection_id":149670,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:31:30] local.INFO: Processing buffer {"connection_id":149670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:31:30] local.INFO: Packet analysis {"connection_id":149670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:31:30] local.INFO: Extracted packet for processing {"connection_id":149670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":1,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195528704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785920335000,"timestamp_ms":1785920335000,"timestamp_seconds":1785920335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd125ac98"} 
[2026-08-05 14:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 14:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195528704001,"66":25941,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195528704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:31:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195528704001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":149670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:31:30] local.INFO: GPS data processed {"connection_id":149670,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:31:30] local.INFO: Acknowledgment sent {"connection_id":149670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:31:45] local.INFO: TCP Data received {"connection_id":149671,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:31:45] local.INFO: Processing buffer {"connection_id":149671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:31:45] local.INFO: IMEI packet received {"connection_id":149671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":149671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:31:50] local.INFO: TCP Data received {"connection_id":149671,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:31:50] local.INFO: Processing buffer {"connection_id":149671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:31:50] local.INFO: IMEI packet received {"connection_id":149671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":149671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:31:51] local.INFO: TCP Data received {"connection_id":149671,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd125d790012d196840071fed20003c011d2b..."} 
[2026-08-05 14:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd125d790012d196840071fed20003c011d2b..."} 
[2026-08-05 14:31:51] local.INFO: Processing buffer {"connection_id":149671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd125d790012d196840071fed20003c011d2b..."} 
[2026-08-05 14:31:51] local.INFO: Packet analysis {"connection_id":149671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:31:51] local.INFO: Extracted packet for processing {"connection_id":149671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195603200001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785920346000,"timestamp_ms":1785920346000,"timestamp_seconds":1785920346,"priority":1,"record_length":96,"hex_timestamp":"0000019fd125d790"} 
[2026-08-05 14:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:31: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-08-05 14:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195603200001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195603200001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:31:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195603200001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":149671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:31:51] local.INFO: GPS data processed {"connection_id":149671,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:31:51] local.INFO: Acknowledgment sent {"connection_id":149671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:31:51] local.INFO: TCP Data received {"connection_id":149671,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1262998012d196840071fed20003c011d29..."} 
[2026-08-05 14:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1262998012d196840071fed20003c011d29..."} 
[2026-08-05 14:31:51] local.INFO: Processing buffer {"connection_id":149671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1262998012d196840071fed20003c011d29..."} 
[2026-08-05 14:31:51] local.INFO: Packet analysis {"connection_id":149671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd126"} 
[2026-08-05 14:31:51] local.INFO: Extracted packet for processing {"connection_id":149671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd126"} 
[2026-08-05 14:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195608576001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785920367000,"timestamp_ms":1785920367000,"timestamp_seconds":1785920367,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1262998"} 
[2026-08-05 14:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:31: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-08-05 14:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195608576001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195608576001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:31:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195608576001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":149671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:31:52] local.INFO: GPS data processed {"connection_id":149671,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:31:52] local.INFO: Acknowledgment sent {"connection_id":149671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:32:15] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:32:15] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:32:15] local.INFO: IMEI packet received {"connection_id":148461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":148461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:32:20] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:32:20] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:32:20] local.INFO: IMEI packet received {"connection_id":148461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":148461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:32:21] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:32:21] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:32:21] local.INFO: Packet analysis {"connection_id":148461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:32:21] local.INFO: Extracted packet for processing {"connection_id":148461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:32:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":1,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195528704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920335000,"timestamp_ms":1785920335000,"timestamp_seconds":1785920335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd125ac98"} 
[2026-08-05 14:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 14:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195528704001,"66":25941,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195528704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:32:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195528704001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":148461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:32:21] local.INFO: GPS data processed {"connection_id":148461,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:32:21] local.INFO: Acknowledgment sent {"connection_id":148461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:32:23] local.INFO: TCP Data received {"connection_id":149671,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1267ba0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1267ba0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:32:23] local.INFO: Processing buffer {"connection_id":149671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1267ba0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:32:23] local.INFO: Packet analysis {"connection_id":149671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd126"} 
[2026-08-05 14:32:23] local.INFO: Extracted packet for processing {"connection_id":149671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd126"} 
[2026-08-05 14:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195613952001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785920388000,"timestamp_ms":1785920388000,"timestamp_seconds":1785920388,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1267ba0"} 
[2026-08-05 14:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195613952001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195613952001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:32:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195613952001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":149671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:32:23] local.INFO: GPS data processed {"connection_id":149671,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:32:23] local.INFO: Acknowledgment sent {"connection_id":149671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:32:40] local.INFO: TCP Data received {"connection_id":148462,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:32:40] local.INFO: Processing buffer {"connection_id":148462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:32:40] local.INFO: IMEI packet received {"connection_id":148462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":148462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:32:45] local.INFO: TCP Data received {"connection_id":148462,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:32:45] local.INFO: Processing buffer {"connection_id":148462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:32:45] local.INFO: IMEI packet received {"connection_id":148462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":148462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:32:45] local.INFO: TCP Data received {"connection_id":148462,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd126cda8012d196840071fed20003c011d2b..."} 
[2026-08-05 14:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd126cda8012d196840071fed20003c011d2b..."} 
[2026-08-05 14:32:45] local.INFO: Processing buffer {"connection_id":148462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd126cda8012d196840071fed20003c011d2b..."} 
[2026-08-05 14:32:45] local.INFO: Packet analysis {"connection_id":148462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd126"} 
[2026-08-05 14:32:45] local.INFO: Extracted packet for processing {"connection_id":148462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd126"} 
[2026-08-05 14:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195619328001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785920409000,"timestamp_ms":1785920409000,"timestamp_seconds":1785920409,"priority":1,"record_length":96,"hex_timestamp":"0000019fd126cda8"} 
[2026-08-05 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-08-05 14:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195619328001,"66":12385,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195619328001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:32:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195619328001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":148462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:32:45] local.INFO: GPS data processed {"connection_id":148462,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:32:45] local.INFO: Acknowledgment sent {"connection_id":148462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:32:52] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:32:52] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:32:52] local.INFO: Packet analysis {"connection_id":148461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:32:52] local.INFO: Extracted packet for processing {"connection_id":148461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:32:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":1,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195528704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785920335000,"timestamp_ms":1785920335000,"timestamp_seconds":1785920335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd125ac98"} 
[2026-08-05 14:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 14:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195528704001,"66":25941,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195528704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:32:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195528704001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":148461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:32:52] local.INFO: GPS data processed {"connection_id":148461,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:32:52] local.INFO: Acknowledgment sent {"connection_id":148461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:33:15] local.INFO: TCP Data received {"connection_id":151086,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:33:15] local.INFO: Processing buffer {"connection_id":151086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:33:15] local.INFO: IMEI packet received {"connection_id":151086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":151086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:33:16] local.INFO: TCP Data received {"connection_id":148462,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1271fb0012d196840071fed20003c011d2d..."} 
[2026-08-05 14:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1271fb0012d196840071fed20003c011d2d..."} 
[2026-08-05 14:33:16] local.INFO: Processing buffer {"connection_id":148462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1271fb0012d196840071fed20003c011d2d..."} 
[2026-08-05 14:33:16] local.INFO: Packet analysis {"connection_id":148462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd127"} 
[2026-08-05 14:33:16] local.INFO: Extracted packet for processing {"connection_id":148462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd127"} 
[2026-08-05 14:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195624704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785920430000,"timestamp_ms":1785920430000,"timestamp_seconds":1785920430,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1271fb0"} 
[2026-08-05 14:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 14:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195624704001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195624704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:33:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195624704001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":148462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:33:17] local.INFO: GPS data processed {"connection_id":148462,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:33:17] local.INFO: Acknowledgment sent {"connection_id":148462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:33:20] local.INFO: TCP Data received {"connection_id":151086,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:33:20] local.INFO: Processing buffer {"connection_id":151086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:33:20] local.INFO: IMEI packet received {"connection_id":151086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":151086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:33:20] local.INFO: TCP Data received {"connection_id":151086,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:33:20] local.INFO: Processing buffer {"connection_id":151086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:33:20] local.INFO: Packet analysis {"connection_id":151086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:33:20] local.INFO: Extracted packet for processing {"connection_id":151086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:33:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":1,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195528704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785920335000,"timestamp_ms":1785920335000,"timestamp_seconds":1785920335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd125ac98"} 
[2026-08-05 14:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:33: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-08-05 14:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 14:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195528704001,"66":25941,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195528704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:33:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:33:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195528704001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":151086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:33:20] local.INFO: GPS data processed {"connection_id":151086,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:33:20] local.INFO: Acknowledgment sent {"connection_id":151086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:33:40] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:33:40] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:33:40] local.INFO: IMEI packet received {"connection_id":148675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":148675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:33:45] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:33:45] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:33:45] local.INFO: IMEI packet received {"connection_id":148675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":148675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:33:45] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12771b8012d196840071fed20003c011d2d..."} 
[2026-08-05 14:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12771b8012d196840071fed20003c011d2d..."} 
[2026-08-05 14:33:45] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12771b8012d196840071fed20003c011d2d..."} 
[2026-08-05 14:33:45] local.INFO: Packet analysis {"connection_id":148675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd127"} 
[2026-08-05 14:33:45] local.INFO: Extracted packet for processing {"connection_id":148675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd127"} 
[2026-08-05 14:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195630080001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785920451000,"timestamp_ms":1785920451000,"timestamp_seconds":1785920451,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12771b8"} 
[2026-08-05 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-08-05 14:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195630080001,"66":12385,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195630080001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:33:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195630080001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":148675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:33:45] local.INFO: GPS data processed {"connection_id":148675,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:33:45] local.INFO: Acknowledgment sent {"connection_id":148675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:33:52] local.INFO: TCP Data received {"connection_id":151086,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:33:52] local.INFO: Processing buffer {"connection_id":151086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:33:52] local.INFO: Packet analysis {"connection_id":151086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:33:52] local.INFO: Extracted packet for processing {"connection_id":151086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:33:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":1,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195528704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785920335000,"timestamp_ms":1785920335000,"timestamp_seconds":1785920335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd125ac98"} 
[2026-08-05 14:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 14:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195528704001,"66":25941,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195528704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:33:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195528704001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":151086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:33:52] local.INFO: GPS data processed {"connection_id":151086,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:33:52] local.INFO: Acknowledgment sent {"connection_id":151086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:34:14] local.INFO: TCP Data received {"connection_id":148463,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:34:14] local.INFO: Processing buffer {"connection_id":148463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:34:14] local.INFO: IMEI packet received {"connection_id":148463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":148463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:34:16] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd127c3c0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd127c3c0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:34:16] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd127c3c0012d196840071fed20003c011d2e..."} 
[2026-08-05 14:34:16] local.INFO: Packet analysis {"connection_id":148675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd127"} 
[2026-08-05 14:34:16] local.INFO: Extracted packet for processing {"connection_id":148675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd127"} 
[2026-08-05 14:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195635456001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785920472000,"timestamp_ms":1785920472000,"timestamp_seconds":1785920472,"priority":1,"record_length":96,"hex_timestamp":"0000019fd127c3c0"} 
[2026-08-05 14:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 14:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195635456001,"66":12385,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195635456001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:34:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195635456001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":148675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:34:17] local.INFO: GPS data processed {"connection_id":148675,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:34:17] local.INFO: Acknowledgment sent {"connection_id":148675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:34:20] local.INFO: TCP Data received {"connection_id":148463,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:34:20] local.INFO: Processing buffer {"connection_id":148463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:34:20] local.INFO: IMEI packet received {"connection_id":148463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":148463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:34:21] local.INFO: TCP Data received {"connection_id":148463,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:34:21] local.INFO: Processing buffer {"connection_id":148463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd125ac98012d7f934005afda600001005b2b..."} 
[2026-08-05 14:34:21] local.INFO: Packet analysis {"connection_id":148463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:34:21] local.INFO: Extracted packet for processing {"connection_id":148463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd125"} 
[2026-08-05 14:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":1,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195528704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920335000,"timestamp_ms":1785920335000,"timestamp_seconds":1785920335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd125ac98"} 
[2026-08-05 14:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:34: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-08-05 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 14:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195528704001,"66":25941,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195528704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:34:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195528704001,"power":25941,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":148463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:34:21] local.INFO: GPS data processed {"connection_id":148463,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:34:21] local.INFO: Acknowledgment sent {"connection_id":148463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:34:37] local.INFO: TCP Data received {"connection_id":149672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:34:37] local.INFO: Processing buffer {"connection_id":149672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:34:37] local.INFO: IMEI packet received {"connection_id":149672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":149672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:34:40] local.INFO: TCP Data received {"connection_id":149672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:34:40] local.INFO: Processing buffer {"connection_id":149672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:34:40] local.INFO: IMEI packet received {"connection_id":149672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":149672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:34:45] local.INFO: TCP Data received {"connection_id":149672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:34:45] local.INFO: Processing buffer {"connection_id":149672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:34:45] local.INFO: IMEI packet received {"connection_id":149672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":149672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:34:45] local.INFO: TCP Data received {"connection_id":149672,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12811e0012d196840071fed20003c011d29..."} 
[2026-08-05 14:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12811e0012d196840071fed20003c011d29..."} 
[2026-08-05 14:34:45] local.INFO: Processing buffer {"connection_id":149672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12811e0012d196840071fed20003c011d29..."} 
[2026-08-05 14:34:45] local.INFO: Packet analysis {"connection_id":149672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd128"} 
[2026-08-05 14:34:45] local.INFO: Extracted packet for processing {"connection_id":149672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd128"} 
[2026-08-05 14:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195640832001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785920492000,"timestamp_ms":1785920492000,"timestamp_seconds":1785920492,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12811e0"} 
[2026-08-05 14:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 14:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195640832001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195640832001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:34:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195640832001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":149672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:34:45] local.INFO: GPS data processed {"connection_id":149672,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:34:45] local.INFO: Acknowledgment sent {"connection_id":149672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:34:52] local.INFO: TCP Data received {"connection_id":148463,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:34:52] local.INFO: Processing buffer {"connection_id":148463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:34:52] local.INFO: Packet analysis {"connection_id":148463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:34:52] local.INFO: Extracted packet for processing {"connection_id":148463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:34:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":22,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195605760001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785920636000,"timestamp_ms":1785920636000,"timestamp_seconds":1785920636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12a4460"} 
[2026-08-05 14:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195605760001,"66":25843,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195605760001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:34:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195605760001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":148463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:34:52] local.INFO: GPS data processed {"connection_id":148463,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:34:52] local.INFO: Acknowledgment sent {"connection_id":148463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:35:15] local.INFO: TCP Data received {"connection_id":149673,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:35:15] local.INFO: Processing buffer {"connection_id":149673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:35:15] local.INFO: IMEI packet received {"connection_id":149673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":149673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:35:16] local.INFO: TCP Data received {"connection_id":149672,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12863e8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12863e8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:35:16] local.INFO: Processing buffer {"connection_id":149672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12863e8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:35:16] local.INFO: Packet analysis {"connection_id":149672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd128"} 
[2026-08-05 14:35:16] local.INFO: Extracted packet for processing {"connection_id":149672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd128"} 
[2026-08-05 14:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195645952001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785920513000,"timestamp_ms":1785920513000,"timestamp_seconds":1785920513,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12863e8"} 
[2026-08-05 14:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195645952001,"66":12385,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195645952001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:35:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:35:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195645952001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":149672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:35:17] local.INFO: GPS data processed {"connection_id":149672,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:35:17] local.INFO: Acknowledgment sent {"connection_id":149672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:35:20] local.INFO: TCP Data received {"connection_id":149673,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:35:20] local.INFO: Processing buffer {"connection_id":149673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:35:20] local.INFO: IMEI packet received {"connection_id":149673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":149673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:35:20] local.INFO: TCP Data received {"connection_id":149673,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:35:20] local.INFO: Processing buffer {"connection_id":149673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:35:20] local.INFO: Packet analysis {"connection_id":149673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:35:20] local.INFO: Extracted packet for processing {"connection_id":149673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:35:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":22,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195605760001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785920636000,"timestamp_ms":1785920636000,"timestamp_seconds":1785920636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12a4460"} 
[2026-08-05 14:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195605760001,"66":25843,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195605760001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:35:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195605760001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":149673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:35:20] local.INFO: GPS data processed {"connection_id":149673,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:35:20] local.INFO: Acknowledgment sent {"connection_id":149673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:35:40] local.INFO: TCP Data received {"connection_id":151087,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:35:40] local.INFO: Processing buffer {"connection_id":151087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:35:40] local.INFO: IMEI packet received {"connection_id":151087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":151087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:35:40] local.INFO: TCP Data received {"connection_id":151087,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:35:40] local.INFO: Processing buffer {"connection_id":151087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:35:40] local.INFO: IMEI packet received {"connection_id":151087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":151087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:35:45] local.INFO: TCP Data received {"connection_id":151087,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:35:45] local.INFO: Processing buffer {"connection_id":151087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:35:45] local.INFO: IMEI packet received {"connection_id":151087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":151087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:35:45] local.INFO: TCP Data received {"connection_id":151087,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd128b5f0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd128b5f0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:35:45] local.INFO: Processing buffer {"connection_id":151087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd128b5f0012d196840071fed20003c011d2c..."} 
[2026-08-05 14:35:45] local.INFO: Packet analysis {"connection_id":151087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd128"} 
[2026-08-05 14:35:45] local.INFO: Extracted packet for processing {"connection_id":151087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd128"} 
[2026-08-05 14:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195651328001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785920534000,"timestamp_ms":1785920534000,"timestamp_seconds":1785920534,"priority":1,"record_length":96,"hex_timestamp":"0000019fd128b5f0"} 
[2026-08-05 14:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 14:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195651328001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195651328001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:35:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195651328001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":151087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:35:45] local.INFO: GPS data processed {"connection_id":151087,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:35:45] local.INFO: Acknowledgment sent {"connection_id":151087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:35:52] local.INFO: TCP Data received {"connection_id":149673,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:35:52] local.INFO: Processing buffer {"connection_id":149673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:35:52] local.INFO: Packet analysis {"connection_id":149673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:35:52] local.INFO: Extracted packet for processing {"connection_id":149673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:35:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":22,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195605760001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785920636000,"timestamp_ms":1785920636000,"timestamp_seconds":1785920636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12a4460"} 
[2026-08-05 14:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195605760001,"66":25843,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195605760001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:35:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195605760001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":149673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:35:52] local.INFO: GPS data processed {"connection_id":149673,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:35:52] local.INFO: Acknowledgment sent {"connection_id":149673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:36:14] local.INFO: TCP Data received {"connection_id":151088,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:36:14] local.INFO: Processing buffer {"connection_id":151088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:36:14] local.INFO: IMEI packet received {"connection_id":151088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":151088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:36:16] local.INFO: TCP Data received {"connection_id":151087,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12907f8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12907f8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:36:16] local.INFO: Processing buffer {"connection_id":151087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12907f8012d196840071fed20003c011d2c..."} 
[2026-08-05 14:36:16] local.INFO: Packet analysis {"connection_id":151087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd129"} 
[2026-08-05 14:36:16] local.INFO: Extracted packet for processing {"connection_id":151087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd129"} 
[2026-08-05 14:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195656704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785920555000,"timestamp_ms":1785920555000,"timestamp_seconds":1785920555,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12907f8"} 
[2026-08-05 14:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195656704001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195656704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:36:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195656704001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":151087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:36:17] local.INFO: GPS data processed {"connection_id":151087,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:36:17] local.INFO: Acknowledgment sent {"connection_id":151087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:36:20] local.INFO: TCP Data received {"connection_id":151088,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:36:20] local.INFO: Processing buffer {"connection_id":151088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:36:20] local.INFO: IMEI packet received {"connection_id":151088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":151088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:36:21] local.INFO: TCP Data received {"connection_id":151088,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:36:21] local.INFO: Processing buffer {"connection_id":151088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:36:21] local.INFO: Packet analysis {"connection_id":151088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:36:21] local.INFO: Extracted packet for processing {"connection_id":151088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:36:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":22,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195605760001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920636000,"timestamp_ms":1785920636000,"timestamp_seconds":1785920636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12a4460"} 
[2026-08-05 14:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:36: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-08-05 14: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195605760001,"66":25843,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195605760001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:36:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195605760001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":151088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:36:21] local.INFO: GPS data processed {"connection_id":151088,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:36:21] local.INFO: Acknowledgment sent {"connection_id":151088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:36:39] local.INFO: TCP Data received {"connection_id":149674,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:36:39] local.INFO: Processing buffer {"connection_id":149674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:36:39] local.INFO: IMEI packet received {"connection_id":149674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":149674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:36:46] local.INFO: TCP Data received {"connection_id":149674,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:36:46] local.INFO: Processing buffer {"connection_id":149674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:36:46] local.INFO: IMEI packet received {"connection_id":149674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":149674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:36:51] local.INFO: TCP Data received {"connection_id":149674,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1295de8012d196840071fed20003c011d29..."} 
[2026-08-05 14:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1295de8012d196840071fed20003c011d29..."} 
[2026-08-05 14:36:51] local.INFO: Processing buffer {"connection_id":149674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1295de8012d196840071fed20003c011d29..."} 
[2026-08-05 14:36:51] local.INFO: Packet analysis {"connection_id":149674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd129"} 
[2026-08-05 14:36:51] local.INFO: Extracted packet for processing {"connection_id":149674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd129"} 
[2026-08-05 14:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195662080001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785920577000,"timestamp_ms":1785920577000,"timestamp_seconds":1785920577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1295de8"} 
[2026-08-05 14:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 14:36: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-08-05 14:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195662080001,"66":12428,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195662080001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:36:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195662080001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":149674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:36:51] local.INFO: GPS data processed {"connection_id":149674,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:36:51] local.INFO: Acknowledgment sent {"connection_id":149674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:36:52] local.INFO: TCP Data received {"connection_id":151088,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:36:52] local.INFO: Processing buffer {"connection_id":151088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:36:52] local.INFO: Packet analysis {"connection_id":151088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:36:52] local.INFO: Extracted packet for processing {"connection_id":151088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:36:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":22,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195605760001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785920636000,"timestamp_ms":1785920636000,"timestamp_seconds":1785920636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12a4460"} 
[2026-08-05 14:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195605760001,"66":25843,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195605760001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:36:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:36:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195605760001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":151088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:36:52] local.INFO: GPS data processed {"connection_id":151088,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:36:52] local.INFO: Acknowledgment sent {"connection_id":151088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:37:14] local.INFO: TCP Data received {"connection_id":148676,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:37:14] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:37:14] local.INFO: IMEI packet received {"connection_id":148676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":148676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:37:20] local.INFO: TCP Data received {"connection_id":148676,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:37:20] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:37:20] local.INFO: IMEI packet received {"connection_id":148676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":148676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:37:21] local.INFO: TCP Data received {"connection_id":148676,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:37:21] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:37:21] local.INFO: Packet analysis {"connection_id":148676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:37:21] local.INFO: Extracted packet for processing {"connection_id":148676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":22,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195605760001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920636000,"timestamp_ms":1785920636000,"timestamp_seconds":1785920636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12a4460"} 
[2026-08-05 14:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:37: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-08-05 14: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195605760001,"66":25843,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195605760001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:37:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195605760001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":148676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:37:21] local.INFO: GPS data processed {"connection_id":148676,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:37:21] local.INFO: Acknowledgment sent {"connection_id":148676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:37:26] local.INFO: TCP Data received {"connection_id":149674,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd129aff0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd129aff0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:37:26] local.INFO: Processing buffer {"connection_id":149674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd129aff0012d196840071fed20003c011d2b..."} 
[2026-08-05 14:37:26] local.INFO: Packet analysis {"connection_id":149674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd129"} 
[2026-08-05 14:37:26] local.INFO: Extracted packet for processing {"connection_id":149674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd129"} 
[2026-08-05 14:37:26] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532832,"longitude_deg":75.6639808,"latitude_deg":11.9532832,"altitude":60,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195667712001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668539849474048,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785920598000,"timestamp_ms":1785920598000,"timestamp_seconds":1785920598,"priority":1,"record_length":96,"hex_timestamp":"0000019fd129aff0"} 
[2026-08-05 14:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 14:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195667712001,"66":12461,"103":206,"83":41984,"24":0,"16":10668539849474048,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195667712001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:37:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:37:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668539849474048,"km_value":10668539849474.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195667712001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":149674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:37:26] local.INFO: GPS data processed {"connection_id":149674,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:37:26] local.INFO: Acknowledgment sent {"connection_id":149674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:37:39] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:39] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:39] local.INFO: IMEI packet received {"connection_id":148464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":148464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:37:40] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:40] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:40] local.INFO: IMEI packet received {"connection_id":148464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":148464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:37:40] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:40] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:40] local.INFO: IMEI packet received {"connection_id":148464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":148464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:37:45] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:45] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:37:45] local.INFO: IMEI packet received {"connection_id":148464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":148464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:37:45] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12d0380012d196780071fed80003d00ca2c..."} 
[2026-08-05 14:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12d0380012d196780071fed80003d00ca2c..."} 
[2026-08-05 14:37:45] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12d0380012d196780071fed80003d00ca2c..."} 
[2026-08-05 14:37:45] local.INFO: Packet analysis {"connection_id":148464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12d"} 
[2026-08-05 14:37:45] local.INFO: Extracted packet for processing {"connection_id":148464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12d"} 
[2026-08-05 14:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532928,"longitude_deg":75.6639616,"latitude_deg":11.9532928,"altitude":61,"angle":202,"satellites":44,"speed":2,"hex_longitude":"2d196780","hex_latitude":"071fed80","is_valid_coordinates":true} 
[2026-08-05 14:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195726592001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668548439408640,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870689280,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785920816000,"timestamp_ms":1785920816000,"timestamp_seconds":1785920816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12d0380"} 
[2026-08-05 14:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-05 14:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195726592001,"66":13972,"102":206,"83":41984,"24":2,"16":10668548439408640,"45":1830783647870689280},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195726592001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:37:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668548439408640,"km_value":10668548439408.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870689280,"description":"Unknown IO ID 45"} 
[2026-08-05 14:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195726592001,"power":13972,"unknown_102":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1830783647870689280}} 
[2026-08-05 14:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":148464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:37:46] local.INFO: GPS data processed {"connection_id":148464,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:37:46] local.INFO: Acknowledgment sent {"connection_id":148464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:37:52] local.INFO: TCP Data received {"connection_id":148676,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:37:52] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:37:52] local.INFO: Packet analysis {"connection_id":148676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:37:52] local.INFO: Extracted packet for processing {"connection_id":148676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":22,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195605760001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785920636000,"timestamp_ms":1785920636000,"timestamp_seconds":1785920636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12a4460"} 
[2026-08-05 14:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195605760001,"66":25843,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195605760001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:37:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195605760001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":148676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:37:52] local.INFO: GPS data processed {"connection_id":148676,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:37:52] local.INFO: Acknowledgment sent {"connection_id":148676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:38:14] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:38:14] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:38:14] local.INFO: IMEI packet received {"connection_id":148677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":148677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:38:17] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12d1708012d196780071fed70003d00272c..."} 
[2026-08-05 14:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12d1708012d196780071fed70003d00272c..."} 
[2026-08-05 14:38:17] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12d1708012d196780071fed70003d00272c..."} 
[2026-08-05 14:38:17] local.INFO: Packet analysis {"connection_id":148464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12d"} 
[2026-08-05 14:38:17] local.INFO: Extracted packet for processing {"connection_id":148464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12d"} 
[2026-08-05 14:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532912,"longitude_deg":75.6639616,"latitude_deg":11.9532912,"altitude":61,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-05 14:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195728896001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10668561324310528,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638180864,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785920821000,"timestamp_ms":1785920821000,"timestamp_seconds":1785920821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12d1708"} 
[2026-08-05 14:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-05 14:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195728896001,"66":13993,"102":206,"83":41984,"24":0,"16":10668561324310528,"45":1830572541638180864},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 14:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195728896001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:38:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 14:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10668561324310528,"km_value":10668561324310.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638180864,"description":"Unknown IO ID 45"} 
[2026-08-05 14:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195728896001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638180864}} 
[2026-08-05 14:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":148464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:38:17] local.INFO: GPS data processed {"connection_id":148464,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:38:17] local.INFO: Acknowledgment sent {"connection_id":148464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:38:20] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:38:20] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:38:20] local.INFO: IMEI packet received {"connection_id":148677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":148677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:38:24] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:38:24] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:38:24] local.INFO: Packet analysis {"connection_id":148677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:38:24] local.INFO: Extracted packet for processing {"connection_id":148677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":22,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195605760001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785920636000,"timestamp_ms":1785920636000,"timestamp_seconds":1785920636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12a4460"} 
[2026-08-05 14:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195605760001,"66":25843,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195605760001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:38:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:38:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195605760001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":148677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:38:24] local.INFO: GPS data processed {"connection_id":148677,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:38:24] local.INFO: Acknowledgment sent {"connection_id":148677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:38:44] local.INFO: TCP Data received {"connection_id":151089,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:44] local.INFO: Processing buffer {"connection_id":151089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:44] local.INFO: IMEI packet received {"connection_id":151089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":151089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:38:44] local.INFO: TCP Data received {"connection_id":151089,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:44] local.INFO: Processing buffer {"connection_id":151089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:44] local.INFO: IMEI packet received {"connection_id":151089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":151089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:38:45] local.INFO: TCP Data received {"connection_id":151089,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:45] local.INFO: Processing buffer {"connection_id":151089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:45] local.INFO: IMEI packet received {"connection_id":151089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":151089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:38:45] local.INFO: TCP Data received {"connection_id":151089,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:45] local.INFO: Processing buffer {"connection_id":151089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:38:45] local.INFO: IMEI packet received {"connection_id":151089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":151089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:38:46] local.INFO: TCP Data received {"connection_id":151089,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12dbf00012d199dc0071fef60003c00562b..."} 
[2026-08-05 14:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12dbf00012d199dc0071fef60003c00562b..."} 
[2026-08-05 14:38:46] local.INFO: Processing buffer {"connection_id":151089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12dbf00012d199dc0071fef60003c00562b..."} 
[2026-08-05 14:38:46] local.INFO: Packet analysis {"connection_id":151089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12d"} 
[2026-08-05 14:38:46] local.INFO: Extracted packet for processing {"connection_id":151089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12d"} 
[2026-08-05 14:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756653504,"raw_latitude":119533408,"longitude_deg":75.6653504,"latitude_deg":11.9533408,"altitude":60,"angle":86,"satellites":43,"speed":14,"hex_longitude":"2d199dc0","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-08-05 14:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195740672001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10669248519077888,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844927765450553344,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38: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-08-05 14:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785920864000,"timestamp_ms":1785920864000,"timestamp_seconds":1785920864,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12dbf00"} 
[2026-08-05 14:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 14:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195740672001,"66":14189,"101":206,"83":41984,"24":14,"16":10669248519077888,"45":1844927765450553344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195740672001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:38:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10669248519077888,"km_value":10669248519077.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844927765450553344,"description":"Unknown IO ID 45"} 
[2026-08-05 14:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195740672001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1844927765450553344}} 
[2026-08-05 14:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":151089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:38:46] local.INFO: GPS data processed {"connection_id":151089,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:38:46] local.INFO: Acknowledgment sent {"connection_id":151089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:38:47] local.INFO: TCP Data received {"connection_id":151089,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12dc2e8012d199f40071fefb0003c00482b..."} 
[2026-08-05 14:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12dc2e8012d199f40071fefb0003c00482b..."} 
[2026-08-05 14:38:47] local.INFO: Processing buffer {"connection_id":151089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12dc2e8012d199f40071fefb0003c00482b..."} 
[2026-08-05 14:38:47] local.INFO: Packet analysis {"connection_id":151089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12d"} 
[2026-08-05 14:38:47] local.INFO: Extracted packet for processing {"connection_id":151089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12d"} 
[2026-08-05 14:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756653888,"raw_latitude":119533488,"longitude_deg":75.6653888,"latitude_deg":11.9533488,"altitude":60,"angle":72,"satellites":43,"speed":14,"hex_longitude":"2d199f40","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-08-05 14:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195741184001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10669265698947072,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845842559124856832,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785920865000,"timestamp_ms":1785920865000,"timestamp_seconds":1785920865,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12dc2e8"} 
[2026-08-05 14:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 14:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195741184001,"66":14233,"101":206,"83":41984,"24":14,"16":10669265698947072,"45":1845842559124856832},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195741184001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:38:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10669265698947072,"km_value":10669265698947.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845842559124856832,"description":"Unknown IO ID 45"} 
[2026-08-05 14:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195741184001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1845842559124856832}} 
[2026-08-05 14:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":151089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:38:47] local.INFO: GPS data processed {"connection_id":151089,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:38:47] local.INFO: Acknowledgment sent {"connection_id":151089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:38:58] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:38:58] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:38:58] local.INFO: Packet analysis {"connection_id":148677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:38:58] local.INFO: Extracted packet for processing {"connection_id":148677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":22,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195605760001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785920636000,"timestamp_ms":1785920636000,"timestamp_seconds":1785920636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12a4460"} 
[2026-08-05 14:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195605760001,"66":25843,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195605760001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:38:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195605760001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":148677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:38:58] local.INFO: GPS data processed {"connection_id":148677,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:38:58] local.INFO: Acknowledgment sent {"connection_id":148677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:39:18] local.INFO: TCP Data received {"connection_id":151089,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12e72b0012d19de00072009480030016326..."} 
[2026-08-05 14:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12e72b0012d19de00072009480030016326..."} 
[2026-08-05 14:39:18] local.INFO: Processing buffer {"connection_id":151089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12e72b0012d19de00072009480030016326..."} 
[2026-08-05 14:39:18] local.INFO: Packet analysis {"connection_id":151089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:39:18] local.INFO: Extracted packet for processing {"connection_id":151089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756669952,"raw_latitude":119540040,"longitude_deg":75.6669952,"latitude_deg":11.954004,"altitude":48,"angle":355,"satellites":38,"speed":8,"hex_longitude":"2d19de00","hex_latitude":"07200948","is_valid_coordinates":true} 
[2026-08-05 14:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195752704001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10670184821948416,"note":"Value kept but may cause issues"} 
[2026-08-05 14:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380156928,"note":"Value kept but may cause issues"} 
[2026-08-05 14:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785920910000,"timestamp_ms":1785920910000,"timestamp_seconds":1785920910,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12e72b0"} 
[2026-08-05 14:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-05 14:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195752704001,"66":13298,"101":206,"83":41984,"24":8,"16":10670184821948416,"45":1863927326380156928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195752704001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:39:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10670184821948416,"km_value":10670184821948.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380156928,"description":"Unknown IO ID 45"} 
[2026-08-05 14:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195752704001,"power":13298,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1863927326380156928}} 
[2026-08-05 14:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":151089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:39:18] local.INFO: GPS data processed {"connection_id":151089,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:39:18] local.INFO: Acknowledgment sent {"connection_id":151089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:39:20] local.INFO: TCP Data received {"connection_id":149675,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:39:20] local.INFO: Processing buffer {"connection_id":149675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:39:20] local.INFO: IMEI packet received {"connection_id":149675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":149675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:39:25] local.INFO: TCP Data received {"connection_id":149675,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:39:25] local.INFO: Processing buffer {"connection_id":149675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:39:25] local.INFO: IMEI packet received {"connection_id":149675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":149675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:39:28] local.INFO: TCP Data received {"connection_id":149675,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:39:28] local.INFO: Processing buffer {"connection_id":149675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12a4460012d7f934005afda600016005b2a..."} 
[2026-08-05 14:39:28] local.INFO: Packet analysis {"connection_id":149675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:39:28] local.INFO: Extracted packet for processing {"connection_id":149675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12a"} 
[2026-08-05 14:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":22,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195605760001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785920636000,"timestamp_ms":1785920636000,"timestamp_seconds":1785920636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12a4460"} 
[2026-08-05 14:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 14:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195605760001,"66":25843,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195605760001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:39:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195605760001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":149675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:39:28] local.INFO: GPS data processed {"connection_id":149675,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:39:28] local.INFO: Acknowledgment sent {"connection_id":149675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:39:36] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:36] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:36] local.INFO: IMEI packet received {"connection_id":148678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":148678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:39:37] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:37] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:37] local.INFO: IMEI packet received {"connection_id":148678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":148678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:39:39] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:39] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:39] local.INFO: IMEI packet received {"connection_id":148678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":148678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:39:44] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:44] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:39:44] local.INFO: IMEI packet received {"connection_id":148678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":148678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:39:45] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12e7698012d19dd8007200a100030014b28..."} 
[2026-08-05 14:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12e7698012d19dd8007200a100030014b28..."} 
[2026-08-05 14:39:45] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12e7698012d19dd8007200a100030014b28..."} 
[2026-08-05 14:39:45] local.INFO: Packet analysis {"connection_id":148678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:39:45] local.INFO: Extracted packet for processing {"connection_id":148678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756669824,"raw_latitude":119540240,"longitude_deg":75.6669824,"latitude_deg":11.954024,"altitude":48,"angle":331,"satellites":40,"speed":9,"hex_longitude":"2d19dd80","hex_latitude":"07200a10","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195752960001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10670197706850304,"note":"Value kept but may cause issues"} 
[2026-08-05 14:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380214272,"note":"Value kept but may cause issues"} 
[2026-08-05 14:39: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-08-05 14:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785920911000,"timestamp_ms":1785920911000,"timestamp_seconds":1785920911,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12e7698"} 
[2026-08-05 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-08-05 14:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-05 14:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195752960001,"66":14211,"101":206,"83":41984,"24":9,"16":10670197706850304,"45":1863927326380214272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195752960001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:39:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10670197706850304,"km_value":10670197706850.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380214272,"description":"Unknown IO ID 45"} 
[2026-08-05 14:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195752960001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1863927326380214272}} 
[2026-08-05 14:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":148678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:39:45] local.INFO: GPS data processed {"connection_id":148678,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:39:45] local.INFO: Acknowledgment sent {"connection_id":148678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:40:00] local.INFO: TCP Data received {"connection_id":149675,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:40:00] local.INFO: Processing buffer {"connection_id":149675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:40:00] local.INFO: Packet analysis {"connection_id":149675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:40:00] local.INFO: Extracted packet for processing {"connection_id":149675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195682816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785920937000,"timestamp_ms":1785920937000,"timestamp_seconds":1785920937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12edc28"} 
[2026-08-05 14:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-05 14:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":149675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":149675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":149675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195682816001,"66":25756,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195682816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:40:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195682816001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":149675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:40:00] local.INFO: GPS data processed {"connection_id":149675,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:40:00] local.INFO: Acknowledgment sent {"connection_id":149675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:40:14] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:40:14] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:40:14] local.INFO: IMEI packet received {"connection_id":148679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":148679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:40:16] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12f4d70012d1a0b0007203f30003c004129..."} 
[2026-08-05 14:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12f4d70012d1a0b0007203f30003c004129..."} 
[2026-08-05 14:40:16] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12f4d70012d1a0b0007203f30003c004129..."} 
[2026-08-05 14:40:16] local.INFO: Packet analysis {"connection_id":148678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12f"} 
[2026-08-05 14:40:16] local.INFO: Extracted packet for processing {"connection_id":148678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12f"} 
[2026-08-05 14:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756681472,"raw_latitude":119553840,"longitude_deg":75.6681472,"latitude_deg":11.955384,"altitude":60,"angle":65,"satellites":41,"speed":18,"hex_longitude":"2d1a0b00","hex_latitude":"07203f30","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195764736001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10671443247366144,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872301206940135424,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785920966000,"timestamp_ms":1785920966000,"timestamp_seconds":1785920966,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12f4d70"} 
[2026-08-05 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-08-05 14:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-05 14:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195764736001,"66":14341,"101":206,"83":41984,"24":18,"16":10671443247366144,"45":1872301206940135424},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195764736001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:40:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10671443247366144,"km_value":10671443247366.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872301206940135424,"description":"Unknown IO ID 45"} 
[2026-08-05 14:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195764736001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1872301206940135424}} 
[2026-08-05 14:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":148678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:40:16] local.INFO: GPS data processed {"connection_id":148678,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:40:16] local.INFO: Acknowledgment sent {"connection_id":148678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:40:20] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:40:20] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:40:20] local.INFO: IMEI packet received {"connection_id":148679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":148679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:40:20] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:40:20] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:40:20] local.INFO: Packet analysis {"connection_id":148679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:40:20] local.INFO: Extracted packet for processing {"connection_id":148679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:40:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195682816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785920937000,"timestamp_ms":1785920937000,"timestamp_seconds":1785920937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12edc28"} 
[2026-08-05 14:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-05 14:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195682816001,"66":25756,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195682816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:40:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195682816001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":148679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:40:20] local.INFO: GPS data processed {"connection_id":148679,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:40:20] local.INFO: Acknowledgment sent {"connection_id":148679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:40:39] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:40:39] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:40:39] local.INFO: IMEI packet received {"connection_id":148465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":148465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:40:44] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:40:44] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:40:44] local.INFO: IMEI packet received {"connection_id":148465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":148465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:40:44] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 14:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 14:40:44] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 14:40:44] local.INFO: IMEI packet received {"connection_id":148465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":148465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:40:45] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12f5d10012d1a130007204178003e004e2a..."} 
[2026-08-05 14:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12f5d10012d1a130007204178003e004e2a..."} 
[2026-08-05 14:40:45] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fd1..."} 
[2026-08-05 14:40:45] local.INFO: IMEI packet received {"connection_id":148465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":148465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:40:48] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12f7c50012d1a2700072043d0003d00622b..."} 
[2026-08-05 14:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12f7c50012d1a2700072043d0003d00622b..."} 
[2026-08-05 14:40:48] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd12f5d10012d1a130007204178003e004e2a..."} 
[2026-08-05 14:40:48] local.INFO: Packet analysis {"connection_id":148465,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd12f"} 
[2026-08-05 14:40:48] local.INFO: Extracted packet for processing {"connection_id":148465,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12f"} 
[2026-08-05 14:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756683520,"raw_latitude":119554424,"longitude_deg":75.668352,"latitude_deg":11.9554424,"altitude":62,"angle":78,"satellites":42,"speed":25,"hex_longitude":"2d1a1300","hex_latitude":"07204178","is_valid_coordinates":true} 
[2026-08-05 14:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195767296001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10671546326581248,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876593700335726592,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785920970000,"timestamp_ms":1785920970000,"timestamp_seconds":1785920970,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12f5d10"} 
[2026-08-05 14:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:40: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-08-05 14:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84752329806913563,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13230845062023680,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3509501160,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13465701,"corrected_to":0} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503762446647296,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1074208797,"corrected_to":0} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3905814528,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,233,159,38,45,192,51,52,41,10,66,26,128,47,48,231,1,240,247,227,232,209,32,4,113,205,196,204,96,43,239,55,2,37,7,206],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":247,"original":13465701,"validated":0},{"io_id":205,"original":2019885262,"validated":0},{"io_id":204,"original":1074208797,"validated":0}]} 
[2026-08-05 14:40:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323527286626320384,"timestamp_seconds":4323527286626320.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 14:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195767296001,"66":14298,"101":206,"83":41984,"24":25,"16":10671546326581248,"45":1876593700335726592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195767296001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:40:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:40:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10671546326581248,"km_value":10671546326581.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876593700335726592,"description":"Unknown IO ID 45"} 
[2026-08-05 14:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195767296001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1876593700335726592}} 
[2026-08-05 14:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":148465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:40:48] local.INFO: GPS data processed {"connection_id":148465,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:40:48] local.INFO: Acknowledgment sent {"connection_id":148465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:40:48] local.INFO: Packet analysis {"connection_id":148465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12f"} 
[2026-08-05 14:40:48] local.INFO: Extracted packet for processing {"connection_id":148465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12f"} 
[2026-08-05 14:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756688640,"raw_latitude":119555024,"longitude_deg":75.668864,"latitude_deg":11.9555024,"altitude":61,"angle":98,"satellites":43,"speed":22,"hex_longitude":"2d1a2700","hex_latitude":"072043d0","is_valid_coordinates":true} 
[2026-08-05 14:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195768320001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10671791139717120,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878845500149561344,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785920978000,"timestamp_ms":1785920978000,"timestamp_seconds":1785920978,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12f7c50"} 
[2026-08-05 14:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:40: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-08-05 14:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-05 14:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195768320001,"66":14341,"101":206,"83":41984,"24":22,"16":10671791139717120,"45":1878845500149561344},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195768320001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:40:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:40:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10671791139717120,"km_value":10671791139717.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878845500149561344,"description":"Unknown IO ID 45"} 
[2026-08-05 14:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195768320001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1878845500149561344}} 
[2026-08-05 14:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":148465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:40:48] local.INFO: GPS data processed {"connection_id":148465,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:40:48] local.INFO: Acknowledgment sent {"connection_id":148465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:40:49] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12f97a8012d1a384007204200003d005428..."} 
[2026-08-05 14:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12f97a8012d1a384007204200003d005428..."} 
[2026-08-05 14:40:49] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12f97a8012d1a384007204200003d005428..."} 
[2026-08-05 14:40:49] local.INFO: Packet analysis {"connection_id":148465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12f"} 
[2026-08-05 14:40:49] local.INFO: Extracted packet for processing {"connection_id":148465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12f"} 
[2026-08-05 14:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756693056,"raw_latitude":119554560,"longitude_deg":75.6693056,"latitude_deg":11.955456,"altitude":61,"angle":84,"satellites":40,"speed":25,"hex_longitude":"2d1a3840","hex_latitude":"07204200","is_valid_coordinates":true} 
[2026-08-05 14:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195770368001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10672001593114624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884474999683928064,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785920985000,"timestamp_ms":1785920985000,"timestamp_seconds":1785920985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12f97a8"} 
[2026-08-05 14:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6976253636,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3509511160,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503762449072128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024952,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3908239360,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84752333028139037,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.WARNING: Large IO value detected {"io_id":96,"raw_value":13510967107258624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:49] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,101,83,24,241,157,16,233,159,93,45,65,62,42,10,66,77,63,60,41,38,192,1,240,163,227,209,32,4,113,205,26,231,213,48,44,239,52,2,37,7,50,206,184,96],"length":529,"final_offset":659,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-05 14:40:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395621173138161664,"timestamp_seconds":4395621173138161.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 14:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195770368001,"66":14374,"101":206,"83":41984,"24":25,"16":10672001593114624,"45":1884474999683928064},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195770368001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:40:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10672001593114624,"km_value":10672001593114.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884474999683928064,"description":"Unknown IO ID 45"} 
[2026-08-05 14:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195770368001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1884474999683928064}} 
[2026-08-05 14:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":148465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:40:49] local.INFO: GPS data processed {"connection_id":148465,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:40:49] local.INFO: Acknowledgment sent {"connection_id":148465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:40:51] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:40:51] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:40:51] local.INFO: Packet analysis {"connection_id":148679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:40:51] local.INFO: Extracted packet for processing {"connection_id":148679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:40:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195682816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785920937000,"timestamp_ms":1785920937000,"timestamp_seconds":1785920937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12edc28"} 
[2026-08-05 14:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-05 14:40: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-08-05 14:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195682816001,"66":25756,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195682816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:40:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195682816001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":148679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:40:51] local.INFO: GPS data processed {"connection_id":148679,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:40:51] local.INFO: Acknowledgment sent {"connection_id":148679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:41:20] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:41:20] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:41:20] local.INFO: IMEI packet received {"connection_id":148680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":148680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:41:22] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13062c8012d1a99c007205da80049001e28..."} 
[2026-08-05 14:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13062c8012d1a99c007205da80049001e28..."} 
[2026-08-05 14:41:22] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13062c8012d1a99c007205da80049001e28..."} 
[2026-08-05 14:41:22] local.INFO: Packet analysis {"connection_id":148465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd130"} 
[2026-08-05 14:41:22] local.INFO: Extracted packet for processing {"connection_id":148465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd130"} 
[2026-08-05 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756718016,"raw_latitude":119561640,"longitude_deg":75.6718016,"latitude_deg":11.956164,"altitude":73,"angle":30,"satellites":40,"speed":14,"hex_longitude":"2d1a99c0","hex_latitude":"07205da8","is_valid_coordinates":true} 
[2026-08-05 14:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195784960001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10673384572583936,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916140934565427200,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785921037000,"timestamp_ms":1785921037000,"timestamp_seconds":1785921037,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13062c8"} 
[2026-08-05 14:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-05 14:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195784960001,"66":14298,"101":206,"83":41984,"24":14,"16":10673384572583936,"45":1916140934565427200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195784960001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:41:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10673384572583936,"km_value":10673384572583.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916140934565427200,"description":"Unknown IO ID 45"} 
[2026-08-05 14:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195784960001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1916140934565427200}} 
[2026-08-05 14:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":148465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:41:22] local.INFO: GPS data processed {"connection_id":148465,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:41:22] local.INFO: Acknowledgment sent {"connection_id":148465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:41:25] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:41:25] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:41:25] local.INFO: IMEI packet received {"connection_id":148680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":148680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:41:26] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:41:26] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:41:26] local.INFO: Packet analysis {"connection_id":148680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:41:26] local.INFO: Extracted packet for processing {"connection_id":148680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195682816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785920937000,"timestamp_ms":1785920937000,"timestamp_seconds":1785920937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12edc28"} 
[2026-08-05 14:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-05 14:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195682816001,"66":25756,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195682816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:41:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195682816001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":148680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:41:26] local.INFO: GPS data processed {"connection_id":148680,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:41:26] local.INFO: Acknowledgment sent {"connection_id":148680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:41:30] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:41:30] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:41:30] local.INFO: Packet analysis {"connection_id":148680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:41:30] local.INFO: Extracted packet for processing {"connection_id":148680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195682816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785920937000,"timestamp_ms":1785920937000,"timestamp_seconds":1785920937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12edc28"} 
[2026-08-05 14:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-05 14:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195682816001,"66":25756,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195682816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:41:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195682816001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":148680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:41:30] local.INFO: GPS data processed {"connection_id":148680,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:41:30] local.INFO: Acknowledgment sent {"connection_id":148680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:41:40] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:41:40] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:41:40] local.INFO: IMEI packet received {"connection_id":148466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":148466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:41:51] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 14:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 14:41:51] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 14:41:51] local.INFO: IMEI packet received {"connection_id":148466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":148466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:41:52] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13066b0012d1a99c007205f100049000528..."} 
[2026-08-05 14:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13066b0012d1a99c007205f100049000528..."} 
[2026-08-05 14:41:52] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fd1..."} 
[2026-08-05 14:41:52] local.INFO: IMEI packet received {"connection_id":148466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":148466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:41:53] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1307268012d1a9a40072063c0004a001928..."} 
[2026-08-05 14:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1307268012d1a9a40072063c0004a001928..."} 
[2026-08-05 14:41:53] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd13066b0012d1a99c007205f100049000528..."} 
[2026-08-05 14:41:53] local.INFO: Packet analysis {"connection_id":148466,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd130"} 
[2026-08-05 14:41:53] local.INFO: Extracted packet for processing {"connection_id":148466,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd130"} 
[2026-08-05 14:41:53] local.INFO: GPS Element Parsed {"raw_longitude":756718016,"raw_latitude":119562000,"longitude_deg":75.6718016,"latitude_deg":11.9562,"altitude":73,"angle":5,"satellites":40,"speed":14,"hex_longitude":"2d1a99c0","hex_latitude":"07205f10","is_valid_coordinates":true} 
[2026-08-05 14:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195785472001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10673401752453120,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916774253263169536,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785921038000,"timestamp_ms":1785921038000,"timestamp_seconds":1785921038,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13066b0"} 
[2026-08-05 14:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-05 14:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195785472001,"66":14265,"101":206,"83":41984,"24":14,"16":10673401752453120,"45":1916774253263169536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195785472001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10673401752453120,"km_value":10673401752453.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916774253263169536,"description":"Unknown IO ID 45"} 
[2026-08-05 14:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195785472001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1916774253263169536}} 
[2026-08-05 14:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":148466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:41:53] local.INFO: GPS data processed {"connection_id":148466,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:41:53] local.INFO: Acknowledgment sent {"connection_id":148466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:41:53] local.INFO: Packet analysis {"connection_id":148466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd130"} 
[2026-08-05 14:41:53] local.INFO: Extracted packet for processing {"connection_id":148466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd130"} 
[2026-08-05 14:41:53] local.INFO: GPS Element Parsed {"raw_longitude":756718144,"raw_latitude":119563200,"longitude_deg":75.6718144,"latitude_deg":11.95632,"altitude":74,"angle":25,"satellites":40,"speed":15,"hex_longitude":"2d1a9a40","hex_latitude":"072063c0","is_valid_coordinates":true} 
[2026-08-05 14:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195785728001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10673461881995264,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916774253263261696,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785921041000,"timestamp_ms":1785921041000,"timestamp_seconds":1785921041,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1307268"} 
[2026-08-05 14:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 14:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195785728001,"66":13928,"101":206,"83":41984,"24":15,"16":10673461881995264,"45":1916774253263261696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195785728001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10673461881995264,"km_value":10673461881995.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916774253263261696,"description":"Unknown IO ID 45"} 
[2026-08-05 14:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195785728001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1916774253263261696}} 
[2026-08-05 14:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":148466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:41:54] local.INFO: GPS data processed {"connection_id":148466,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:41:54] local.INFO: Acknowledgment sent {"connection_id":148466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:41:54] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1307650012d1a9b40072064f0004a002c28..."} 
[2026-08-05 14:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1307650012d1a9b40072064f0004a002c28..."} 
[2026-08-05 14:41:54] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1307650012d1a9b40072064f0004a002c28..."} 
[2026-08-05 14:41:54] local.INFO: Packet analysis {"connection_id":148466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd130"} 
[2026-08-05 14:41:54] local.INFO: Extracted packet for processing {"connection_id":148466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd130"} 
[2026-08-05 14:41:54] local.INFO: GPS Element Parsed {"raw_longitude":756718400,"raw_latitude":119563504,"longitude_deg":75.67184,"latitude_deg":11.9563504,"altitude":74,"angle":44,"satellites":40,"speed":14,"hex_longitude":"2d1a9b40","hex_latitude":"072064f0","is_valid_coordinates":true} 
[2026-08-05 14:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195786496001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10673479061864448,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916914990751924224,"note":"Value kept but may cause issues"} 
[2026-08-05 14:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785921042000,"timestamp_ms":1785921042000,"timestamp_seconds":1785921042,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1307650"} 
[2026-08-05 14:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 14:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195786496001,"66":14363,"101":206,"83":41984,"24":14,"16":10673479061864448,"45":1916914990751924224},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195786496001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:41:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:41:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10673479061864448,"km_value":10673479061864.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916914990751924224,"description":"Unknown IO ID 45"} 
[2026-08-05 14:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195786496001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1916914990751924224}} 
[2026-08-05 14:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":148466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:41:54] local.INFO: GPS data processed {"connection_id":148466,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:41:54] local.INFO: Acknowledgment sent {"connection_id":148466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:42:15] local.INFO: TCP Data received {"connection_id":148681,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:42:15] local.INFO: Processing buffer {"connection_id":148681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:42:15] local.INFO: IMEI packet received {"connection_id":148681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":148681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:42:20] local.INFO: TCP Data received {"connection_id":148681,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:42:20] local.INFO: Processing buffer {"connection_id":148681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:42:20] local.INFO: IMEI packet received {"connection_id":148681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":148681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:42:21] local.INFO: TCP Data received {"connection_id":148681,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:42:21] local.INFO: Processing buffer {"connection_id":148681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:42:21] local.INFO: Packet analysis {"connection_id":148681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:42:21] local.INFO: Extracted packet for processing {"connection_id":148681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:42:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195682816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920937000,"timestamp_ms":1785920937000,"timestamp_seconds":1785920937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12edc28"} 
[2026-08-05 14:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:42: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-08-05 14:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-05 14:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195682816001,"66":25756,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195682816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:42:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195682816001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":148681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:42:21] local.INFO: GPS data processed {"connection_id":148681,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:42:21] local.INFO: Acknowledgment sent {"connection_id":148681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:42:40] local.INFO: TCP Data received {"connection_id":151090,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:42:40] local.INFO: Processing buffer {"connection_id":151090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:42:40] local.INFO: IMEI packet received {"connection_id":151090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":151090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:42:45] local.INFO: TCP Data received {"connection_id":151090,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:42:45] local.INFO: Processing buffer {"connection_id":151090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:42:45] local.INFO: IMEI packet received {"connection_id":151090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":151090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:42:45] local.INFO: TCP Data received {"connection_id":151090,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1310ea8012d1ae24007205e800047006f29..."} 
[2026-08-05 14:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1310ea8012d1ae24007205e800047006f29..."} 
[2026-08-05 14:42:45] local.INFO: Processing buffer {"connection_id":151090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1310ea8012d1ae24007205e800047006f29..."} 
[2026-08-05 14:42:45] local.INFO: Packet analysis {"connection_id":151090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd131"} 
[2026-08-05 14:42:45] local.INFO: Extracted packet for processing {"connection_id":151090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd131"} 
[2026-08-05 14:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756736576,"raw_latitude":119561856,"longitude_deg":75.6736576,"latitude_deg":11.9561856,"altitude":71,"angle":111,"satellites":41,"speed":16,"hex_longitude":"2d1ae240","hex_latitude":"07205e80","is_valid_coordinates":true} 
[2026-08-05 14:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195796480001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10674462609375232,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976609730560,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42: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-08-05 14:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785921081000,"timestamp_ms":1785921081000,"timestamp_seconds":1785921081,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1310ea8"} 
[2026-08-05 14:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 14:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3509643160,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:45] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":14337,"corrected_to":0} 
[2026-08-05 14:42:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 14:42:45] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2147950696,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:45] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:45] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3963289600,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:45] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,236,159,6,45,192,96,71,38,10,66,2,97,39,247,64,1,240,227,209,32,4,113,205,12,239,221,176,41,54,37,7,72,22],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":247,"original":14337,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-05 14:42:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116236678755778560,"timestamp_seconds":5116236678755779.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 14:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195796480001,"66":14080,"101":206,"83":41984,"24":16,"16":10674462609375232,"45":1936758976609730560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195796480001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:42:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10674462609375232,"km_value":10674462609375.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976609730560,"description":"Unknown IO ID 45"} 
[2026-08-05 14:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195796480001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1936758976609730560}} 
[2026-08-05 14:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":151090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:42:46] local.INFO: GPS data processed {"connection_id":151090,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:42:46] local.INFO: Acknowledgment sent {"connection_id":151090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:42:52] local.INFO: TCP Data received {"connection_id":148681,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:42:52] local.INFO: Processing buffer {"connection_id":148681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:42:52] local.INFO: Packet analysis {"connection_id":148681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:42:52] local.INFO: Extracted packet for processing {"connection_id":148681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:42:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195682816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785920937000,"timestamp_ms":1785920937000,"timestamp_seconds":1785920937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12edc28"} 
[2026-08-05 14:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-05 14:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195682816001,"66":25756,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195682816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:42:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195682816001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":148681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:42:52] local.INFO: GPS data processed {"connection_id":148681,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:42:52] local.INFO: Acknowledgment sent {"connection_id":148681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:43:15] local.INFO: TCP Data received {"connection_id":149676,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:43:15] local.INFO: Processing buffer {"connection_id":149676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:43:15] local.INFO: IMEI packet received {"connection_id":149676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":149676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:43:20] local.INFO: TCP Data received {"connection_id":149676,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:43:20] local.INFO: Processing buffer {"connection_id":149676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:43:20] local.INFO: IMEI packet received {"connection_id":149676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":149676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:43:22] local.INFO: TCP Data received {"connection_id":151090,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1311290012d1ae3c007205e800047005b29..."} 
[2026-08-05 14:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1311290012d1ae3c007205e800047005b29..."} 
[2026-08-05 14:43:22] local.INFO: Processing buffer {"connection_id":151090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1311290012d1ae3c007205e800047005b29..."} 
[2026-08-05 14:43:22] local.INFO: Packet analysis {"connection_id":151090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd131"} 
[2026-08-05 14:43:22] local.INFO: Extracted packet for processing {"connection_id":151090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd131"} 
[2026-08-05 14:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756736960,"raw_latitude":119561856,"longitude_deg":75.673696,"latitude_deg":11.9561856,"altitude":71,"angle":91,"satellites":41,"speed":16,"hex_longitude":"2d1ae3c0","hex_latitude":"07205e80","is_valid_coordinates":true} 
[2026-08-05 14:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195796736001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10674479789244416,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937181189074747392,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785921082000,"timestamp_ms":1785921082000,"timestamp_seconds":1785921082,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1311290"} 
[2026-08-05 14:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 14:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:22] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3509645160,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 14:43:22] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3963551744,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,236,159,10,45,192,95,71,39,66,6,96,38,2,1,240,187,227,209,32,4,113,205,13,243,222,152,41,239,55,37,7,15],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-05 14:43:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116211398578274304,"timestamp_seconds":5116211398578274.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 14:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195796736001,"66":14048,"101":206,"83":41984,"24":16,"16":10674479789244416,"45":1937181189074747392},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195796736001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:43:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:43:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10674479789244416,"km_value":10674479789244.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937181189074747392,"description":"Unknown IO ID 45"} 
[2026-08-05 14:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195796736001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1937181189074747392}} 
[2026-08-05 14:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":151090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:43:22] local.INFO: GPS data processed {"connection_id":151090,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:43:22] local.INFO: Acknowledgment sent {"connection_id":151090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:43:23] local.INFO: TCP Data received {"connection_id":149676,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:43:23] local.INFO: Processing buffer {"connection_id":149676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:43:23] local.INFO: Packet analysis {"connection_id":149676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:43:23] local.INFO: Extracted packet for processing {"connection_id":149676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195682816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785920937000,"timestamp_ms":1785920937000,"timestamp_seconds":1785920937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12edc28"} 
[2026-08-05 14:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-05 14:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195682816001,"66":25756,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195682816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:43:23] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:43:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195682816001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":149676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:43:23] local.INFO: GPS data processed {"connection_id":149676,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:43:23] local.INFO: Acknowledgment sent {"connection_id":149676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:43:40] local.INFO: TCP Data received {"connection_id":151091,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:43:40] local.INFO: Processing buffer {"connection_id":151091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:43:40] local.INFO: IMEI packet received {"connection_id":151091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":151091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:43:46] local.INFO: TCP Data received {"connection_id":151091,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:43:46] local.INFO: Processing buffer {"connection_id":151091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:43:46] local.INFO: IMEI packet received {"connection_id":151091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":151091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:43:47] local.INFO: TCP Data received {"connection_id":151091,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1314558012d1b01c0072061880047004928..."} 
[2026-08-05 14:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1314558012d1b01c0072061880047004928..."} 
[2026-08-05 14:43:47] local.INFO: Processing buffer {"connection_id":151091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1314558012d1b01c0072061880047004928..."} 
[2026-08-05 14:43:47] local.INFO: Packet analysis {"connection_id":151091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd131"} 
[2026-08-05 14:43:47] local.INFO: Extracted packet for processing {"connection_id":151091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd131"} 
[2026-08-05 14:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756744640,"raw_latitude":119562632,"longitude_deg":75.674464,"latitude_deg":11.9562632,"altitude":71,"angle":73,"satellites":40,"speed":19,"hex_longitude":"2d1b01c0","hex_latitude":"07206188","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195796992001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10674844861464576,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937603401539813376,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785921095000,"timestamp_ms":1785921095000,"timestamp_seconds":1785921095,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1314558"} 
[2026-08-05 14:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 14:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195796992001,"66":14483,"101":206,"83":41984,"24":19,"16":10674844861464576,"45":1937603401539813376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195796992001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:43:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10674844861464576,"km_value":10674844861464.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937603401539813376,"description":"Unknown IO ID 45"} 
[2026-08-05 14:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195796992001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1937603401539813376}} 
[2026-08-05 14:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":151091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:43:47] local.INFO: GPS data processed {"connection_id":151091,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:43:47] local.INFO: Acknowledgment sent {"connection_id":151091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:43:56] local.INFO: TCP Data received {"connection_id":149676,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:43:56] local.INFO: Processing buffer {"connection_id":149676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:43:56] local.INFO: Packet analysis {"connection_id":149676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:43:56] local.INFO: Extracted packet for processing {"connection_id":149676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195682816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785920937000,"timestamp_ms":1785920937000,"timestamp_seconds":1785920937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12edc28"} 
[2026-08-05 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-08-05 14:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-05 14: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-08-05 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-08-05 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-08-05 14:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195682816001,"66":25756,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195682816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:43:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195682816001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":149676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:43:56] local.INFO: GPS data processed {"connection_id":149676,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:43:56] local.INFO: Acknowledgment sent {"connection_id":149676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:44:15] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:44:15] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:44:15] local.INFO: IMEI packet received {"connection_id":148467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":148467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:44:20] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:44:20] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:44:20] local.INFO: IMEI packet received {"connection_id":148467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":148467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:44:21] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:44:21] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd12edc28012d7f934005afda600000005b2d..."} 
[2026-08-05 14:44:21] local.INFO: Packet analysis {"connection_id":148467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:44:21] local.INFO: Extracted packet for processing {"connection_id":148467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd12e"} 
[2026-08-05 14:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195682816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785920937000,"timestamp_ms":1785920937000,"timestamp_seconds":1785920937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd12edc28"} 
[2026-08-05 14:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:44: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-08-05 14:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-05 14:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195682816001,"66":25756,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195682816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:44:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195682816001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":148467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:44:21] local.INFO: GPS data processed {"connection_id":148467,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:44:21] local.INFO: Acknowledgment sent {"connection_id":148467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:44:24] local.INFO: TCP Data received {"connection_id":151091,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1317438012d1b16c0072069980048003626..."} 
[2026-08-05 14:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1317438012d1b16c0072069980048003626..."} 
[2026-08-05 14:44:24] local.INFO: Processing buffer {"connection_id":151091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1317438012d1b16c0072069980048003626..."} 
[2026-08-05 14:44:24] local.INFO: Packet analysis {"connection_id":151091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd131"} 
[2026-08-05 14:44:24] local.INFO: Extracted packet for processing {"connection_id":151091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd131"} 
[2026-08-05 14:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756750016,"raw_latitude":119564696,"longitude_deg":75.6750016,"latitude_deg":11.9564696,"altitude":72,"angle":54,"satellites":38,"speed":7,"hex_longitude":"2d1b16c0","hex_latitude":"07206998","is_valid_coordinates":true} 
[2026-08-05 14:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195800320001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10675124034338816,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946047650841331712,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785921107000,"timestamp_ms":1785921107000,"timestamp_seconds":1785921107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1317438"} 
[2026-08-05 14:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 14:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195800320001,"66":14428,"101":206,"83":41984,"24":7,"16":10675124034338816,"45":1946047650841331712},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195800320001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:44:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10675124034338816,"km_value":10675124034338.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946047650841331712,"description":"Unknown IO ID 45"} 
[2026-08-05 14:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195800320001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1946047650841331712}} 
[2026-08-05 14:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":151091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:44:24] local.INFO: GPS data processed {"connection_id":151091,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:44:24] local.INFO: Acknowledgment sent {"connection_id":151091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:44:40] local.INFO: TCP Data received {"connection_id":151092,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:44:40] local.INFO: Processing buffer {"connection_id":151092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:44:40] local.INFO: IMEI packet received {"connection_id":151092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":151092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:44:45] local.INFO: TCP Data received {"connection_id":151092,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:44:45] local.INFO: Processing buffer {"connection_id":151092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:44:45] local.INFO: IMEI packet received {"connection_id":151092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":151092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:44:47] local.INFO: TCP Data received {"connection_id":151092,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1317c08012d1b17c007206aa00048002025..."} 
[2026-08-05 14:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1317c08012d1b17c007206aa00048002025..."} 
[2026-08-05 14:44:47] local.INFO: Processing buffer {"connection_id":151092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1317c08012d1b17c007206aa00048002025..."} 
[2026-08-05 14:44:47] local.INFO: Packet analysis {"connection_id":151092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd131"} 
[2026-08-05 14:44:47] local.INFO: Extracted packet for processing {"connection_id":151092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd131"} 
[2026-08-05 14:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756750272,"raw_latitude":119564960,"longitude_deg":75.6750272,"latitude_deg":11.956496,"altitude":72,"angle":32,"satellites":37,"speed":6,"hex_longitude":"2d1b17c0","hex_latitude":"07206aa0","is_valid_coordinates":true} 
[2026-08-05 14:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195803392001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10675141214208000,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1951958625352783872,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785921109000,"timestamp_ms":1785921109000,"timestamp_seconds":1785921109,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1317c08"} 
[2026-08-05 14:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 14:44: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-08-05 14:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195803392001,"66":13917,"101":206,"83":41984,"24":6,"16":10675141214208000,"45":1951958625352783872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195803392001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:44:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10675141214208000,"km_value":10675141214208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1951958625352783872,"description":"Unknown IO ID 45"} 
[2026-08-05 14:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195803392001,"power":13917,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1951958625352783872}} 
[2026-08-05 14:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":151092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:44:47] local.INFO: GPS data processed {"connection_id":151092,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:44:47] local.INFO: Acknowledgment sent {"connection_id":151092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:44:52] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:44:52] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:44:52] local.INFO: Packet analysis {"connection_id":148467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:44:52] local.INFO: Extracted packet for processing {"connection_id":148467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:44:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195759872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785921238000,"timestamp_ms":1785921238000,"timestamp_seconds":1785921238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13373f0"} 
[2026-08-05 14:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 14:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195759872001,"66":25702,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195759872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:44:52] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195759872001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":148467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:44:52] local.INFO: GPS data processed {"connection_id":148467,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:44:52] local.INFO: Acknowledgment sent {"connection_id":148467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:45:15] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:45:15] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:45:15] local.INFO: IMEI packet received {"connection_id":148468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":148468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:45:18] local.INFO: TCP Data received {"connection_id":151092,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd133dd68012d1b0dc0072066d0005000f02b..."} 
[2026-08-05 14:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd133dd68012d1b0dc0072066d0005000f02b..."} 
[2026-08-05 14:45:18] local.INFO: Processing buffer {"connection_id":151092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd133dd68012d1b0dc0072066d0005000f02b..."} 
[2026-08-05 14:45:18] local.INFO: Packet analysis {"connection_id":151092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:45:18] local.INFO: Extracted packet for processing {"connection_id":151092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756747712,"raw_latitude":119563984,"longitude_deg":75.6747712,"latitude_deg":11.9563984,"altitude":80,"angle":240,"satellites":43,"speed":15,"hex_longitude":"2d1b0dc0","hex_latitude":"072066d0","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195842560001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10675330192769024,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1951184569166800896,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785921265000,"timestamp_ms":1785921265000,"timestamp_seconds":1785921265,"priority":1,"record_length":96,"hex_timestamp":"0000019fd133dd68"} 
[2026-08-05 14:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 14:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195842560001,"66":14374,"106":206,"83":41984,"24":15,"16":10675330192769024,"45":1951184569166800896},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 14:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195842560001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:45:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 14:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10675330192769024,"km_value":10675330192769.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1951184569166800896,"description":"Unknown IO ID 45"} 
[2026-08-05 14:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195842560001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1951184569166800896}} 
[2026-08-05 14:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":151092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:45:18] local.INFO: GPS data processed {"connection_id":151092,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:45:18] local.INFO: Acknowledgment sent {"connection_id":151092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:45:20] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:45:20] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:45:20] local.INFO: IMEI packet received {"connection_id":148468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":148468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:45:20] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:45:20] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:45:20] local.INFO: Packet analysis {"connection_id":148468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:45:20] local.INFO: Extracted packet for processing {"connection_id":148468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:45:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195759872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785921238000,"timestamp_ms":1785921238000,"timestamp_seconds":1785921238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13373f0"} 
[2026-08-05 14:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:45: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-08-05 14:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 14:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195759872001,"66":25702,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195759872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:45:20] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195759872001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":148468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:45:20] local.INFO: GPS data processed {"connection_id":148468,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:45:20] local.INFO: Acknowledgment sent {"connection_id":148468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:45:39] local.INFO: TCP Data received {"connection_id":149677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:45:39] local.INFO: Processing buffer {"connection_id":149677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:45:39] local.INFO: IMEI packet received {"connection_id":149677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":149677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:45:45] local.INFO: TCP Data received {"connection_id":149677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:45:45] local.INFO: Processing buffer {"connection_id":149677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:45:45] local.INFO: IMEI packet received {"connection_id":149677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":149677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:45:45] local.INFO: TCP Data received {"connection_id":149677,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd133fca8012d1b01c007206178005001012c..."} 
[2026-08-05 14:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd133fca8012d1b01c007206178005001012c..."} 
[2026-08-05 14:45:45] local.INFO: Processing buffer {"connection_id":149677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd133fca8012d1b01c007206178005001012c..."} 
[2026-08-05 14:45:45] local.INFO: Packet analysis {"connection_id":149677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:45:45] local.INFO: Extracted packet for processing {"connection_id":149677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756744640,"raw_latitude":119562616,"longitude_deg":75.674464,"latitude_deg":11.9562616,"altitude":80,"angle":257,"satellites":44,"speed":16,"hex_longitude":"2d1b01c0","hex_latitude":"07206178","is_valid_coordinates":true} 
[2026-08-05 14:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195843840001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10675493401526272,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949425350562205696,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45: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-08-05 14:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785921273000,"timestamp_ms":1785921273000,"timestamp_seconds":1785921273,"priority":1,"record_length":96,"hex_timestamp":"0000019fd133fca8"} 
[2026-08-05 14:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 14:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195843840001,"66":14450,"106":206,"83":41984,"24":16,"16":10675493401526272,"45":1949425350562205696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 14:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195843840001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:45:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 14:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10675493401526272,"km_value":10675493401526.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949425350562205696,"description":"Unknown IO ID 45"} 
[2026-08-05 14:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195843840001,"power":14450,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1949425350562205696}} 
[2026-08-05 14:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":149677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:45:46] local.INFO: GPS data processed {"connection_id":149677,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:45:46] local.INFO: Acknowledgment sent {"connection_id":149677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:45:52] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:45:52] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:45:52] local.INFO: Packet analysis {"connection_id":148468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:45:52] local.INFO: Extracted packet for processing {"connection_id":148468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:45:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195759872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785921238000,"timestamp_ms":1785921238000,"timestamp_seconds":1785921238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13373f0"} 
[2026-08-05 14:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 14:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195759872001,"66":25702,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195759872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:45:52] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195759872001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":148468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:45:52] local.INFO: GPS data processed {"connection_id":148468,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:45:52] local.INFO: Acknowledgment sent {"connection_id":148468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:46:14] local.INFO: TCP Data received {"connection_id":149678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:46:14] local.INFO: Processing buffer {"connection_id":149678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:46:14] local.INFO: IMEI packet received {"connection_id":149678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":149678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:46:17] local.INFO: TCP Data received {"connection_id":149677,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd134eaf0012d1a9a8007205e18004d00d22b..."} 
[2026-08-05 14:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd134eaf0012d1a9a8007205e18004d00d22b..."} 
[2026-08-05 14:46:17] local.INFO: Processing buffer {"connection_id":149677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd134eaf0012d1a9a8007205e18004d00d22b..."} 
[2026-08-05 14:46:17] local.INFO: Packet analysis {"connection_id":149677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd134"} 
[2026-08-05 14:46:17] local.INFO: Extracted packet for processing {"connection_id":149677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd134"} 
[2026-08-05 14:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756718208,"raw_latitude":119561752,"longitude_deg":75.6718208,"latitude_deg":11.9561752,"altitude":77,"angle":210,"satellites":43,"speed":15,"hex_longitude":"2d1a9a80","hex_latitude":"07205e18","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195860992001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10676957985374208,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917196465728468992,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785921334000,"timestamp_ms":1785921334000,"timestamp_seconds":1785921334,"priority":1,"record_length":96,"hex_timestamp":"0000019fd134eaf0"} 
[2026-08-05 14:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 14:46: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-08-05 14: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-08-05 14:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195860992001,"66":14374,"106":206,"83":41984,"24":15,"16":10676957985374208,"45":1917196465728468992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 14:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195860992001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:46:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 14:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10676957985374208,"km_value":10676957985374.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917196465728468992,"description":"Unknown IO ID 45"} 
[2026-08-05 14:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195860992001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1917196465728468992}} 
[2026-08-05 14:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":149677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:46:17] local.INFO: GPS data processed {"connection_id":149677,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:46:17] local.INFO: Acknowledgment sent {"connection_id":149677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:46:20] local.INFO: TCP Data received {"connection_id":149678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:46:20] local.INFO: Processing buffer {"connection_id":149678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:46:20] local.INFO: IMEI packet received {"connection_id":149678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":149678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:46:20] local.INFO: TCP Data received {"connection_id":149678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:46:20] local.INFO: Processing buffer {"connection_id":149678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:46:20] local.INFO: Packet analysis {"connection_id":149678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:46:20] local.INFO: Extracted packet for processing {"connection_id":149678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:46:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195759872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785921238000,"timestamp_ms":1785921238000,"timestamp_seconds":1785921238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13373f0"} 
[2026-08-05 14:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:46: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-08-05 14:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 14:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195759872001,"66":25702,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195759872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:46:20] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195759872001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":149678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:46:20] local.INFO: GPS data processed {"connection_id":149678,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:46:20] local.INFO: Acknowledgment sent {"connection_id":149678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:46:44] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:46:44] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:46:44] local.INFO: IMEI packet received {"connection_id":148469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":148469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:46:47] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:46:47] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:46:47] local.INFO: IMEI packet received {"connection_id":148469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":148469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:46:48] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.43","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fd1..."} 
[2026-08-05 14:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fd1..."} 
[2026-08-05 14:46:48] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fd1..."} 
[2026-08-05 14:46:48] local.INFO: IMEI packet received {"connection_id":148469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":148469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:46:51] local.INFO: TCP Data received {"connection_id":149678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:46:51] local.INFO: Processing buffer {"connection_id":149678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:46:51] local.INFO: Packet analysis {"connection_id":149678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:46:51] local.INFO: Extracted packet for processing {"connection_id":149678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:46:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195759872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785921238000,"timestamp_ms":1785921238000,"timestamp_seconds":1785921238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13373f0"} 
[2026-08-05 14:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:46: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-08-05 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 14:46: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-08-05 14:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195759872001,"66":25702,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195759872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:46:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195759872001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":149678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:46:51] local.INFO: GPS data processed {"connection_id":149678,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:46:51] local.INFO: Acknowledgment sent {"connection_id":149678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:46:52] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd134f6a8012d1a960007205bb0004d01002b..."} 
[2026-08-05 14:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd134f6a8012d1a960007205bb0004d01002b..."} 
[2026-08-05 14:46:52] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd134eed8012d1a994007205d08004d00e62b..."} 
[2026-08-05 14:46:52] local.INFO: Packet analysis {"connection_id":148469,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd134"} 
[2026-08-05 14:46:52] local.INFO: Extracted packet for processing {"connection_id":148469,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd134"} 
[2026-08-05 14:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756717888,"raw_latitude":119561480,"longitude_deg":75.6717888,"latitude_deg":11.956148,"altitude":77,"angle":230,"satellites":43,"speed":14,"hex_longitude":"2d1a9940","hex_latitude":"07205d08","is_valid_coordinates":true} 
[2026-08-05 14:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195861504001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10676975165243392,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916985359495731200,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785921335000,"timestamp_ms":1785921335000,"timestamp_seconds":1785921335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd134eed8"} 
[2026-08-05 14:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 14:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195861504001,"66":14374,"106":206,"83":41984,"24":14,"16":10676975165243392,"45":1916985359495731200},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 14:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195861504001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:46:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 14:46:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10676975165243392,"km_value":10676975165243.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916985359495731200,"description":"Unknown IO ID 45"} 
[2026-08-05 14:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195861504001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1916985359495731200}} 
[2026-08-05 14:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":148469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:46:52] local.INFO: GPS data processed {"connection_id":148469,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:46:52] local.INFO: Acknowledgment sent {"connection_id":148469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:46:52] local.INFO: Packet analysis {"connection_id":148469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd134"} 
[2026-08-05 14:46:52] local.INFO: Extracted packet for processing {"connection_id":148469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd134"} 
[2026-08-05 14:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756717056,"raw_latitude":119561136,"longitude_deg":75.6717056,"latitude_deg":11.9561136,"altitude":77,"angle":256,"satellites":43,"speed":18,"hex_longitude":"2d1a9600","hex_latitude":"07205bb0","is_valid_coordinates":true} 
[2026-08-05 14:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195861760001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10677018114916352,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916633515774773248,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785921337000,"timestamp_ms":1785921337000,"timestamp_seconds":1785921337,"priority":1,"record_length":96,"hex_timestamp":"0000019fd134f6a8"} 
[2026-08-05 14:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 14:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195861760001,"66":14428,"106":206,"83":41984,"24":18,"16":10677018114916352,"45":1916633515774773248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 14:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195861760001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:46:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 14:46:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10677018114916352,"km_value":10677018114916.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916633515774773248,"description":"Unknown IO ID 45"} 
[2026-08-05 14:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195861760001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1916633515774773248}} 
[2026-08-05 14:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":148469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:46:52] local.INFO: GPS data processed {"connection_id":148469,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:46:52] local.INFO: Acknowledgment sent {"connection_id":148469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:46:55] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1350a30012d1a8bc007205988004e00f229..."} 
[2026-08-05 14:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1350a30012d1a8bc007205988004e00f229..."} 
[2026-08-05 14:46:55] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1350a30012d1a8bc007205988004e00f229..."} 
[2026-08-05 14:46:55] local.INFO: Packet analysis {"connection_id":148469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd135"} 
[2026-08-05 14:46:55] local.INFO: Extracted packet for processing {"connection_id":148469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd135"} 
[2026-08-05 14:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756714432,"raw_latitude":119560584,"longitude_deg":75.6714432,"latitude_deg":11.9560584,"altitude":78,"angle":242,"satellites":41,"speed":15,"hex_longitude":"2d1a8bc0","hex_latitude":"07205988","is_valid_coordinates":true} 
[2026-08-05 14:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195862272001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10677151258902528,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915718722100375552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785921342000,"timestamp_ms":1785921342000,"timestamp_seconds":1785921342,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1350a30"} 
[2026-08-05 14:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 14:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195862272001,"66":14396,"106":206,"83":41984,"24":15,"16":10677151258902528,"45":1915718722100375552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 14:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195862272001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:46:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 14:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10677151258902528,"km_value":10677151258902.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915718722100375552,"description":"Unknown IO ID 45"} 
[2026-08-05 14:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195862272001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1915718722100375552}} 
[2026-08-05 14:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":148469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:46:55] local.INFO: GPS data processed {"connection_id":148469,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:46:55] local.INFO: Acknowledgment sent {"connection_id":148469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:47:14] local.INFO: TCP Data received {"connection_id":151093,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:47:14] local.INFO: Processing buffer {"connection_id":151093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:47:14] local.INFO: IMEI packet received {"connection_id":151093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":151093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:47:20] local.INFO: TCP Data received {"connection_id":151093,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:47:20] local.INFO: Processing buffer {"connection_id":151093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:47:20] local.INFO: IMEI packet received {"connection_id":151093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":151093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:47:20] local.INFO: TCP Data received {"connection_id":151093,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:47:20] local.INFO: Processing buffer {"connection_id":151093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:47:20] local.INFO: Packet analysis {"connection_id":151093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:47:20] local.INFO: Extracted packet for processing {"connection_id":151093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:47:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195759872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785921238000,"timestamp_ms":1785921238000,"timestamp_seconds":1785921238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13373f0"} 
[2026-08-05 14:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:47: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-08-05 14:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 14:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195759872001,"66":25702,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195759872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:47:20] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195759872001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":151093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:47:20] local.INFO: GPS data processed {"connection_id":151093,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:47:20] local.INFO: Acknowledgment sent {"connection_id":151093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:47:39] local.INFO: TCP Data received {"connection_id":149679,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:39] local.INFO: Processing buffer {"connection_id":149679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:39] local.INFO: IMEI packet received {"connection_id":149679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":149679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:47:39] local.INFO: TCP Data received {"connection_id":149679,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:39] local.INFO: Processing buffer {"connection_id":149679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:39] local.INFO: IMEI packet received {"connection_id":149679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":149679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:47:40] local.INFO: TCP Data received {"connection_id":149679,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:40] local.INFO: Processing buffer {"connection_id":149679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:40] local.INFO: IMEI packet received {"connection_id":149679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":149679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:47:40] local.INFO: TCP Data received {"connection_id":149679,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:40] local.INFO: Processing buffer {"connection_id":149679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:47:40] local.INFO: IMEI packet received {"connection_id":149679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":149679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:47:41] local.INFO: TCP Data received {"connection_id":149679,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd135d550012d1a0bc007203ef8004600f92a..."} 
[2026-08-05 14:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd135d550012d1a0bc007203ef8004600f92a..."} 
[2026-08-05 14:47:41] local.INFO: Processing buffer {"connection_id":149679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd135d550012d1a0bc007203ef8004600f92a..."} 
[2026-08-05 14:47:41] local.INFO: Packet analysis {"connection_id":149679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd135"} 
[2026-08-05 14:47:41] local.INFO: Extracted packet for processing {"connection_id":149679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd135"} 
[2026-08-05 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756681664,"raw_latitude":119553784,"longitude_deg":75.6681664,"latitude_deg":11.9553784,"altitude":70,"angle":249,"satellites":42,"speed":31,"hex_longitude":"2d1a0bc0","hex_latitude":"07203ef8","is_valid_coordinates":true} 
[2026-08-05 14:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195875072001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10678907900526592,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883278731032895488,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785921394000,"timestamp_ms":1785921394000,"timestamp_seconds":1785921394,"priority":1,"record_length":96,"hex_timestamp":"0000019fd135d550"} 
[2026-08-05 14:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 14:47: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-08-05 14:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":149679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":149679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":149679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195875072001,"66":14428,"101":206,"83":41984,"24":31,"16":10678907900526592,"45":1883278731032895488},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195875072001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:47:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10678907900526592,"km_value":10678907900526.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883278731032895488,"description":"Unknown IO ID 45"} 
[2026-08-05 14:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195875072001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1883278731032895488}} 
[2026-08-05 14:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":149679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:47:41] local.INFO: GPS data processed {"connection_id":149679,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:47:41] local.INFO: Acknowledgment sent {"connection_id":149679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:47:43] local.INFO: TCP Data received {"connection_id":149679,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd135e108012d1a03c0072039f0004600e829..."} 
[2026-08-05 14:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd135e108012d1a03c0072039f0004600e829..."} 
[2026-08-05 14:47:43] local.INFO: Processing buffer {"connection_id":149679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd135e108012d1a03c0072039f0004600e829..."} 
[2026-08-05 14:47:43] local.INFO: Packet analysis {"connection_id":149679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd135"} 
[2026-08-05 14:47:43] local.INFO: Extracted packet for processing {"connection_id":149679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd135"} 
[2026-08-05 14:47:43] local.INFO: GPS Element Parsed {"raw_longitude":756679616,"raw_latitude":119552496,"longitude_deg":75.6679616,"latitude_deg":11.9552496,"altitude":70,"angle":232,"satellites":41,"speed":32,"hex_longitude":"2d1a03c0","hex_latitude":"072039f0","is_valid_coordinates":true} 
[2026-08-05 14:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195876864001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10679028159610880,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876804806568245248,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785921397000,"timestamp_ms":1785921397000,"timestamp_seconds":1785921397,"priority":1,"record_length":96,"hex_timestamp":"0000019fd135e108"} 
[2026-08-05 14:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 14:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195876864001,"66":14298,"101":206,"83":41984,"24":32,"16":10679028159610880,"45":1876804806568245248},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195876864001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:47:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:47:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10679028159610880,"km_value":10679028159610.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876804806568245248,"description":"Unknown IO ID 45"} 
[2026-08-05 14:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195876864001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1876804806568245248}} 
[2026-08-05 14:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":149679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:47:43] local.INFO: GPS data processed {"connection_id":149679,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:47:43] local.INFO: Acknowledgment sent {"connection_id":149679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:47:51] local.INFO: TCP Data received {"connection_id":151093,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:47:51] local.INFO: Processing buffer {"connection_id":151093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:47:51] local.INFO: Packet analysis {"connection_id":151093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:47:51] local.INFO: Extracted packet for processing {"connection_id":151093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:47:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195759872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785921238000,"timestamp_ms":1785921238000,"timestamp_seconds":1785921238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13373f0"} 
[2026-08-05 14:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:47: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-08-05 14:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 14:47: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-08-05 14:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195759872001,"66":25702,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195759872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:47:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:47:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195759872001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":151093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:47:51] local.INFO: GPS data processed {"connection_id":151093,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:47:51] local.INFO: Acknowledgment sent {"connection_id":151093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:48:14] local.INFO: TCP Data received {"connection_id":149679,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1367d48012d19bcc007203ef8002b015e2a..."} 
[2026-08-05 14:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1367d48012d19bcc007203ef8002b015e2a..."} 
[2026-08-05 14:48:14] local.INFO: Processing buffer {"connection_id":149679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1367d48012d19bcc007203ef8002b015e2a..."} 
[2026-08-05 14:48:14] local.INFO: Packet analysis {"connection_id":149679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd136"} 
[2026-08-05 14:48:14] local.INFO: Extracted packet for processing {"connection_id":149679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd136"} 
[2026-08-05 14:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119553784,"longitude_deg":75.666144,"latitude_deg":11.9553784,"altitude":43,"angle":350,"satellites":42,"speed":40,"hex_longitude":"2d19bcc0","hex_latitude":"07203ef8","is_valid_coordinates":true} 
[2026-08-05 14:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195885056001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10680273700126720,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614382454784,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48: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-08-05 14:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785921437000,"timestamp_ms":1785921437000,"timestamp_seconds":1785921437,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1367d48"} 
[2026-08-05 14:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 14:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195885056001,"66":14450,"101":206,"83":41984,"24":40,"16":10680273700126720,"45":1857875614382454784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 14:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195885056001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:48:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 14:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10680273700126720,"km_value":10680273700126.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614382454784,"description":"Unknown IO ID 45"} 
[2026-08-05 14:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195885056001,"power":14450,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1857875614382454784}} 
[2026-08-05 14:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":149679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:48:14] local.INFO: GPS data processed {"connection_id":149679,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:48:14] local.INFO: Acknowledgment sent {"connection_id":149679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:48:14] local.INFO: TCP Data received {"connection_id":151094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:48:14] local.INFO: Processing buffer {"connection_id":151094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:48:14] local.INFO: IMEI packet received {"connection_id":151094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":151094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:48:20] local.INFO: TCP Data received {"connection_id":151094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:48:20] local.INFO: Processing buffer {"connection_id":151094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:48:20] local.INFO: IMEI packet received {"connection_id":151094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":151094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:48:20] local.INFO: TCP Data received {"connection_id":151094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:48:20] local.INFO: Processing buffer {"connection_id":151094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:48:20] local.INFO: Packet analysis {"connection_id":151094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:48:20] local.INFO: Extracted packet for processing {"connection_id":151094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:48:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195759872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785921238000,"timestamp_ms":1785921238000,"timestamp_seconds":1785921238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13373f0"} 
[2026-08-05 14:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:48: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-08-05 14:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 14:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195759872001,"66":25702,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195759872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:48:20] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195759872001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":151094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:48:20] local.INFO: GPS data processed {"connection_id":151094,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:48:20] local.INFO: Acknowledgment sent {"connection_id":151094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:48:40] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:48:40] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:48:40] local.INFO: IMEI packet received {"connection_id":148470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":148470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:48:43] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:48:43] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:48:43] local.INFO: IMEI packet received {"connection_id":148470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":148470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:48:43] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd136f660012d19b9000720a9700035014e2c..."} 
[2026-08-05 14:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd136f660012d19b9000720a9700035014e2c..."} 
[2026-08-05 14:48:43] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd136f660012d19b9000720a9700035014e2c..."} 
[2026-08-05 14:48:43] local.INFO: Packet analysis {"connection_id":148470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd136"} 
[2026-08-05 14:48:43] local.INFO: Extracted packet for processing {"connection_id":148470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd136"} 
[2026-08-05 14:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119581040,"longitude_deg":75.666048,"latitude_deg":11.958104,"altitude":53,"angle":334,"satellites":44,"speed":15,"hex_longitude":"2d19b900","hex_latitude":"0720a970","is_valid_coordinates":true} 
[2026-08-05 14:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195895552001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10681678154432512,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740679168,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785921468000,"timestamp_ms":1785921468000,"timestamp_seconds":1785921468,"priority":1,"record_length":96,"hex_timestamp":"0000019fd136f660"} 
[2026-08-05 14:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":158,"data_length":795,"current_offset":136} 
[2026-08-05 14:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195895552001,"66":14494,"103":206,"83":41984,"24":15,"16":10681678154432512,"45":1853653489740679168},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195895552001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:48:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:48:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10681678154432512,"km_value":10681678154432.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740679168,"description":"Unknown IO ID 45"} 
[2026-08-05 14:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195895552001,"power":14494,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1853653489740679168}} 
[2026-08-05 14:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":148470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:48:44] local.INFO: GPS data processed {"connection_id":148470,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:48:44] local.INFO: Acknowledgment sent {"connection_id":148470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:48:51] local.INFO: TCP Data received {"connection_id":151094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:48:51] local.INFO: Processing buffer {"connection_id":151094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:48:51] local.INFO: Packet analysis {"connection_id":151094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:48:51] local.INFO: Extracted packet for processing {"connection_id":151094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:48:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195759872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785921238000,"timestamp_ms":1785921238000,"timestamp_seconds":1785921238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13373f0"} 
[2026-08-05 14:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:48: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-08-05 14:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 14:48: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-08-05 14:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195759872001,"66":25702,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195759872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:48:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195759872001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":151094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:48:51] local.INFO: GPS data processed {"connection_id":151094,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:48:51] local.INFO: Acknowledgment sent {"connection_id":151094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:49:15] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd136fa48012d19b7800720aa88003501382b..."} 
[2026-08-05 14:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd136fa48012d19b7800720aa88003501382b..."} 
[2026-08-05 14:49:15] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd136fa48012d19b7800720aa88003501382b..."} 
[2026-08-05 14:49:15] local.INFO: Packet analysis {"connection_id":148470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd136"} 
[2026-08-05 14:49:15] local.INFO: Extracted packet for processing {"connection_id":148470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd136"} 
[2026-08-05 14:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756660096,"raw_latitude":119581320,"longitude_deg":75.6660096,"latitude_deg":11.958132,"altitude":53,"angle":312,"satellites":43,"speed":17,"hex_longitude":"2d19b780","hex_latitude":"0720aa88","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195895808001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10681699629268992,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752252416000,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785921469000,"timestamp_ms":1785921469000,"timestamp_seconds":1785921469,"priority":1,"record_length":96,"hex_timestamp":"0000019fd136fa48"} 
[2026-08-05 14:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":158,"data_length":795,"current_offset":136} 
[2026-08-05 14:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195895808001,"66":13993,"103":206,"83":41984,"24":17,"16":10681699629268992,"45":1853512752252416000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195895808001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:49:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10681699629268992,"km_value":10681699629268.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752252416000,"description":"Unknown IO ID 45"} 
[2026-08-05 14:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195895808001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1853512752252416000}} 
[2026-08-05 14:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":148470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:49:15] local.INFO: GPS data processed {"connection_id":148470,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:49:15] local.INFO: Acknowledgment sent {"connection_id":148470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:49:20] local.INFO: TCP Data received {"connection_id":151095,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:49:20] local.INFO: Processing buffer {"connection_id":151095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:49:20] local.INFO: IMEI packet received {"connection_id":151095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":151095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:49:25] local.INFO: TCP Data received {"connection_id":151095,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:49:25] local.INFO: Processing buffer {"connection_id":151095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:49:25] local.INFO: IMEI packet received {"connection_id":151095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":151095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:49:25] local.INFO: TCP Data received {"connection_id":151095,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:49:25] local.INFO: Processing buffer {"connection_id":151095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:49:25] local.INFO: Packet analysis {"connection_id":151095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:49:25] local.INFO: Extracted packet for processing {"connection_id":151095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195759872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785921238000,"timestamp_ms":1785921238000,"timestamp_seconds":1785921238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13373f0"} 
[2026-08-05 14:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 14:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195759872001,"66":25702,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195759872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:49:25] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195759872001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":151095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:49:25] local.INFO: GPS data processed {"connection_id":151095,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:49:25] local.INFO: Acknowledgment sent {"connection_id":151095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:49:30] local.INFO: TCP Data received {"connection_id":151095,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:49:30] local.INFO: Processing buffer {"connection_id":151095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13373f0012d7f934005afda600000005b2d..."} 
[2026-08-05 14:49:30] local.INFO: Packet analysis {"connection_id":151095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:49:30] local.INFO: Extracted packet for processing {"connection_id":151095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd133"} 
[2026-08-05 14:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195759872001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785921238000,"timestamp_ms":1785921238000,"timestamp_seconds":1785921238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13373f0"} 
[2026-08-05 14:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 14:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195759872001,"66":25702,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195759872001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:49:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195759872001,"power":25702,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":151095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:49:30] local.INFO: GPS data processed {"connection_id":151095,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:49:30] local.INFO: Acknowledgment sent {"connection_id":151095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:49:41] local.INFO: TCP Data received {"connection_id":149680,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:49:41] local.INFO: Processing buffer {"connection_id":149680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:49:41] local.INFO: IMEI packet received {"connection_id":149680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":149680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:49:42] local.INFO: TCP Data received {"connection_id":149680,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:49:42] local.INFO: Processing buffer {"connection_id":149680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:49:42] local.INFO: IMEI packet received {"connection_id":149680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":149680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:49:43] local.INFO: TCP Data received {"connection_id":149680,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:49:43] local.INFO: Processing buffer {"connection_id":149680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:49:43] local.INFO: IMEI packet received {"connection_id":149680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":149680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:49:44] local.INFO: TCP Data received {"connection_id":149680,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380000012d18de800720f760003f013a2b..."} 
[2026-08-05 14:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380000012d18de800720f760003f013a2b..."} 
[2026-08-05 14:49:44] local.INFO: Processing buffer {"connection_id":149680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380000012d18de800720f760003f013a2b..."} 
[2026-08-05 14:49:44] local.INFO: Packet analysis {"connection_id":149680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:49:44] local.INFO: Extracted packet for processing {"connection_id":149680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756604544,"raw_latitude":119600992,"longitude_deg":75.6604544,"latitude_deg":11.9600992,"altitude":63,"angle":314,"satellites":43,"speed":37,"hex_longitude":"2d18de80","hex_latitude":"0720f760","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195911424001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10684710401343488,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796091857007126528,"note":"Value kept but may cause issues"} 
[2026-08-05 14:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785921536000,"timestamp_ms":1785921536000,"timestamp_seconds":1785921536,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380000"} 
[2026-08-05 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-08-05 14:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 14:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195911424001,"66":14070,"103":206,"83":41984,"24":37,"16":10684710401343488,"45":1796091857007126528},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195911424001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:49:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:49:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10684710401343488,"km_value":10684710401343.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796091857007126528,"description":"Unknown IO ID 45"} 
[2026-08-05 14:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195911424001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1796091857007126528}} 
[2026-08-05 14:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":149680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:49:44] local.INFO: GPS data processed {"connection_id":149680,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:49:44] local.INFO: Acknowledgment sent {"connection_id":149680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:50:15] local.INFO: TCP Data received {"connection_id":148682,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:50:15] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:50:15] local.INFO: IMEI packet received {"connection_id":148682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":148682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:50:15] local.INFO: TCP Data received {"connection_id":149680,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380fa0012d18d540072101800040014d2d..."} 
[2026-08-05 14:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380fa0012d18d540072101800040014d2d..."} 
[2026-08-05 14:50:15] local.INFO: Processing buffer {"connection_id":149680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380fa0012d18d540072101800040014d2d..."} 
[2026-08-05 14:50:15] local.INFO: Packet analysis {"connection_id":149680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:50:15] local.INFO: Extracted packet for processing {"connection_id":149680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756602176,"raw_latitude":119603584,"longitude_deg":75.6602176,"latitude_deg":11.9603584,"altitude":64,"angle":333,"satellites":45,"speed":33,"hex_longitude":"2d18d540","hex_latitude":"07210180","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195913216001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10684877905068032,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792010469846245376,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785921540000,"timestamp_ms":1785921540000,"timestamp_seconds":1785921540,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380fa0"} 
[2026-08-05 14:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 14:50: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-08-05 14: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-08-05 14:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195913216001,"66":14374,"103":206,"83":41984,"24":33,"16":10684877905068032,"45":1792010469846245376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 14:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195913216001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:50:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 14:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10684877905068032,"km_value":10684877905068.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792010469846245376,"description":"Unknown IO ID 45"} 
[2026-08-05 14:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195913216001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1792010469846245376}} 
[2026-08-05 14:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":149680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:50:16] local.INFO: GPS data processed {"connection_id":149680,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:50:16] local.INFO: Acknowledgment sent {"connection_id":149680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:50:20] local.INFO: TCP Data received {"connection_id":148682,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:50:20] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:50:20] local.INFO: IMEI packet received {"connection_id":148682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":148682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:50:20] local.INFO: TCP Data received {"connection_id":148682,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:50:20] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:50:20] local.INFO: Packet analysis {"connection_id":148682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:50:20] local.INFO: Extracted packet for processing {"connection_id":148682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:50:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":12,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195836928001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785921539000,"timestamp_ms":1785921539000,"timestamp_seconds":1785921539,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380bb8"} 
[2026-08-05 14:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:50: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-08-05 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195836928001,"66":25691,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195836928001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:50:20] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:50:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195836928001,"power":25691,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":148682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:50:20] local.INFO: GPS data processed {"connection_id":148682,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:50:20] local.INFO: Acknowledgment sent {"connection_id":148682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:50:39] local.INFO: TCP Data received {"connection_id":151096,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:50:39] local.INFO: Processing buffer {"connection_id":151096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:50:39] local.INFO: IMEI packet received {"connection_id":151096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":151096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:50:43] local.INFO: TCP Data received {"connection_id":151096,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:50:43] local.INFO: Processing buffer {"connection_id":151096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:50:43] local.INFO: IMEI packet received {"connection_id":151096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":151096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:50:44] local.INFO: TCP Data received {"connection_id":151096,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:50:44] local.INFO: Processing buffer {"connection_id":151096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:50:44] local.INFO: IMEI packet received {"connection_id":151096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":151096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:50:45] local.INFO: TCP Data received {"connection_id":151096,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd138d6d8012d188200072180b0004e01192d..."} 
[2026-08-05 14:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd138d6d8012d188200072180b0004e01192d..."} 
[2026-08-05 14:50:45] local.INFO: Processing buffer {"connection_id":151096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd138d6d8012d188200072180b0004e01192d..."} 
[2026-08-05 14:50:45] local.INFO: Packet analysis {"connection_id":151096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:50:45] local.INFO: Extracted packet for processing {"connection_id":151096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756580864,"raw_latitude":119636144,"longitude_deg":75.6580864,"latitude_deg":11.9636144,"altitude":78,"angle":281,"satellites":45,"speed":37,"hex_longitude":"2d188200","hex_latitude":"072180b0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195924480001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10686939489370112,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396181909504,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785921591000,"timestamp_ms":1785921591000,"timestamp_seconds":1785921591,"priority":1,"record_length":96,"hex_timestamp":"0000019fd138d6d8"} 
[2026-08-05 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-08-05 14:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 14:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195924480001,"66":14080,"105":206,"83":41984,"24":37,"16":10686939489370112,"45":1775966396181909504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 14:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195924480001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:50:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 14:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10686939489370112,"km_value":10686939489370.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396181909504,"description":"Unknown IO ID 45"} 
[2026-08-05 14:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195924480001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1775966396181909504}} 
[2026-08-05 14:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":151096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:50:45] local.INFO: GPS data processed {"connection_id":151096,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:50:45] local.INFO: Acknowledgment sent {"connection_id":151096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:50:51] local.INFO: TCP Data received {"connection_id":148682,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:50:51] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:50:51] local.INFO: Packet analysis {"connection_id":148682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:50:51] local.INFO: Extracted packet for processing {"connection_id":148682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:50:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":12,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195836928001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785921539000,"timestamp_ms":1785921539000,"timestamp_seconds":1785921539,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380bb8"} 
[2026-08-05 14:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:50: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-08-05 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195836928001,"66":25691,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195836928001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:50:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:50:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195836928001,"power":25691,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":148682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:50:51] local.INFO: GPS data processed {"connection_id":148682,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:50:51] local.INFO: Acknowledgment sent {"connection_id":148682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:51:14] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:51:14] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:51:14] local.INFO: IMEI packet received {"connection_id":148471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":148471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:51:16] local.INFO: TCP Data received {"connection_id":151096,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd138dea8012d187a4007218170004e010d2d..."} 
[2026-08-05 14:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd138dea8012d187a4007218170004e010d2d..."} 
[2026-08-05 14:51:16] local.INFO: Processing buffer {"connection_id":151096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd138dea8012d187a4007218170004e010d2d..."} 
[2026-08-05 14:51:16] local.INFO: Packet analysis {"connection_id":151096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:51:16] local.INFO: Extracted packet for processing {"connection_id":151096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:51:16] local.INFO: GPS Element Parsed {"raw_longitude":756578880,"raw_latitude":119636336,"longitude_deg":75.657888,"latitude_deg":11.9636336,"altitude":78,"angle":269,"satellites":45,"speed":39,"hex_longitude":"2d187a40","hex_latitude":"07218170","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195927296001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10687033978650624,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765974034509508608,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785921593000,"timestamp_ms":1785921593000,"timestamp_seconds":1785921593,"priority":1,"record_length":96,"hex_timestamp":"0000019fd138dea8"} 
[2026-08-05 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-08-05 14:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 14:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:16] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":15360,"corrected_to":0} 
[2026-08-05 14:51:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3510131160,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:16] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3741319168,"corrected_to":0} 
[2026-08-05 14:51:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-05 14:51:16] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4784483,"corrected_to":0} 
[2026-08-05 14:51:16] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4137549824,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:16] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,247,159,171,45,128,116,77,44,10,66,106,164,113,125,64,1,240,60,227,246,209,33,4,205,31,97,196,200,42,239,56,2,37,7,72],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":247,"original":15360,"validated":0},{"io_id":246,"original":3741319168,"validated":0},{"io_id":205,"original":1785331918,"validated":0},{"io_id":200,"original":4784483,"validated":0}]} 
[2026-08-05 14:51:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620801491001737216,"timestamp_seconds":5620801491001737.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 14:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195927296001,"66":13472,"105":206,"83":41984,"24":39,"16":10687033978650624,"45":1765974034509508608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 14:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195927296001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:51:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 14:51:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10687033978650624,"km_value":10687033978650.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765974034509508608,"description":"Unknown IO ID 45"} 
[2026-08-05 14:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195927296001,"power":13472,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1765974034509508608}} 
[2026-08-05 14:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":151096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:51:16] local.INFO: GPS data processed {"connection_id":151096,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:51:16] local.INFO: Acknowledgment sent {"connection_id":151096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:51:20] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:51:20] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:51:20] local.INFO: IMEI packet received {"connection_id":148471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":148471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:51:21] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:51:21] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:51:21] local.INFO: Packet analysis {"connection_id":148471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:51:21] local.INFO: Extracted packet for processing {"connection_id":148471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:51:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":12,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195836928001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785921539000,"timestamp_ms":1785921539000,"timestamp_seconds":1785921539,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380bb8"} 
[2026-08-05 14:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:51: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-08-05 14: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":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:51: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-08-05 14: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-08-05 14:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195836928001,"66":25691,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195836928001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:51:21] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195836928001,"power":25691,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":148471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:51:21] local.INFO: GPS data processed {"connection_id":148471,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:51:21] local.INFO: Acknowledgment sent {"connection_id":148471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:51:39] local.INFO: TCP Data received {"connection_id":151097,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:51:39] local.INFO: Processing buffer {"connection_id":151097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:51:39] local.INFO: IMEI packet received {"connection_id":151097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":151097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:51:44] local.INFO: TCP Data received {"connection_id":151097,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:51:44] local.INFO: Processing buffer {"connection_id":151097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:51:44] local.INFO: IMEI packet received {"connection_id":151097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":151097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:51:45] local.INFO: TCP Data received {"connection_id":151097,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13986a0012d181ac00721a300004f00d32c..."} 
[2026-08-05 14:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13986a0012d181ac00721a300004f00d32c..."} 
[2026-08-05 14:51:45] local.INFO: Processing buffer {"connection_id":151097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13986a0012d181ac00721a300004f00d32c..."} 
[2026-08-05 14:51:45] local.INFO: Packet analysis {"connection_id":151097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd139"} 
[2026-08-05 14:51:45] local.INFO: Extracted packet for processing {"connection_id":151097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd139"} 
[2026-08-05 14:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119644928,"longitude_deg":75.6554432,"latitude_deg":11.9644928,"altitude":79,"angle":211,"satellites":44,"speed":14,"hex_longitude":"2d181ac0","hex_latitude":"0721a300","is_valid_coordinates":true} 
[2026-08-05 14:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195938560001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10688322468839424,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480654798848,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785921636000,"timestamp_ms":1785921636000,"timestamp_seconds":1785921636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13986a0"} 
[2026-08-05 14:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":92,"data_length":795,"current_offset":136} 
[2026-08-05 14:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195938560001,"66":14450,"105":206,"83":41984,"24":14,"16":10688322468839424,"45":1737052480654798848},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 14:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195938560001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:51:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 14:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10688322468839424,"km_value":10688322468839.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480654798848,"description":"Unknown IO ID 45"} 
[2026-08-05 14:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195938560001,"power":14450,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737052480654798848}} 
[2026-08-05 14:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":151097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:51:45] local.INFO: GPS data processed {"connection_id":151097,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:51:45] local.INFO: Acknowledgment sent {"connection_id":151097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:51:54] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:51:54] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:51:54] local.INFO: Packet analysis {"connection_id":148471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:51:54] local.INFO: Extracted packet for processing {"connection_id":148471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":12,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195836928001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785921539000,"timestamp_ms":1785921539000,"timestamp_seconds":1785921539,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380bb8"} 
[2026-08-05 14:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195836928001,"66":25691,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195836928001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:51:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:51:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195836928001,"power":25691,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":148471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:51:54] local.INFO: GPS data processed {"connection_id":148471,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:51:54] local.INFO: Acknowledgment sent {"connection_id":148471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:52:14] local.INFO: TCP Data received {"connection_id":149681,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:52:14] local.INFO: Processing buffer {"connection_id":149681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:52:14] local.INFO: IMEI packet received {"connection_id":149681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":149681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:52:16] local.INFO: TCP Data received {"connection_id":151097,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd139a9c8012d18130007219530005000bd2a..."} 
[2026-08-05 14:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd139a9c8012d18130007219530005000bd2a..."} 
[2026-08-05 14:52:17] local.INFO: Processing buffer {"connection_id":151097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd139a9c8012d18130007219530005000bd2a..."} 
[2026-08-05 14:52:17] local.INFO: Packet analysis {"connection_id":151097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd139"} 
[2026-08-05 14:52:17] local.INFO: Extracted packet for processing {"connection_id":151097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd139"} 
[2026-08-05 14:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756552448,"raw_latitude":119641392,"longitude_deg":75.6552448,"latitude_deg":11.9641392,"altitude":80,"angle":189,"satellites":42,"speed":13,"hex_longitude":"2d181300","hex_latitude":"07219530","is_valid_coordinates":true} 
[2026-08-05 14:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195938816001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10688515742367744,"note":"Value kept but may cause issues"} 
[2026-08-05 14:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743166382080,"note":"Value kept but may cause issues"} 
[2026-08-05 14:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785921645000,"timestamp_ms":1785921645000,"timestamp_seconds":1785921645,"priority":1,"record_length":96,"hex_timestamp":"0000019fd139a9c8"} 
[2026-08-05 14:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":114,"data_length":795,"current_offset":136} 
[2026-08-05 14:52: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-08-05 14:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195938816001,"66":14135,"107":206,"83":41984,"24":13,"16":10688515742367744,"45":1736911743166382080},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 14:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195938816001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:52:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 14:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10688515742367744,"km_value":10688515742367.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743166382080,"description":"Unknown IO ID 45"} 
[2026-08-05 14:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195938816001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1736911743166382080}} 
[2026-08-05 14:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":151097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:52:17] local.INFO: GPS data processed {"connection_id":151097,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:52:17] local.INFO: Acknowledgment sent {"connection_id":151097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:52:20] local.INFO: TCP Data received {"connection_id":149681,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:52:20] local.INFO: Processing buffer {"connection_id":149681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:52:20] local.INFO: IMEI packet received {"connection_id":149681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":149681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:52:21] local.INFO: TCP Data received {"connection_id":149681,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:52:21] local.INFO: Processing buffer {"connection_id":149681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:52:21] local.INFO: Packet analysis {"connection_id":149681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:52:21] local.INFO: Extracted packet for processing {"connection_id":149681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":12,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195836928001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785921539000,"timestamp_ms":1785921539000,"timestamp_seconds":1785921539,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380bb8"} 
[2026-08-05 14:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:52: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-08-05 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:52: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-08-05 14: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-08-05 14:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195836928001,"66":25691,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195836928001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:52:21] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195836928001,"power":25691,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":149681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:52:21] local.INFO: GPS data processed {"connection_id":149681,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:52:21] local.INFO: Acknowledgment sent {"connection_id":149681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:52:42] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:42] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:42] local.INFO: IMEI packet received {"connection_id":148683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":148683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:52:42] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:42] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:42] local.INFO: IMEI packet received {"connection_id":148683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":148683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:52:43] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:43] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:43] local.INFO: IMEI packet received {"connection_id":148683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":148683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:52:44] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:44] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:52:44] local.INFO: IMEI packet received {"connection_id":148683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":148683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:52:52] local.INFO: TCP Data received {"connection_id":149681,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:52:52] local.INFO: Processing buffer {"connection_id":149681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:52:52] local.INFO: Packet analysis {"connection_id":149681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:52:52] local.INFO: Extracted packet for processing {"connection_id":149681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":12,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195836928001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785921539000,"timestamp_ms":1785921539000,"timestamp_seconds":1785921539,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380bb8"} 
[2026-08-05 14:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195836928001,"66":25691,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195836928001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:52:52] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195836928001,"power":25691,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":149681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:52:52] local.INFO: GPS data processed {"connection_id":149681,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:52:52] local.INFO: Acknowledgment sent {"connection_id":149681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:53:14] local.INFO: TCP Data received {"connection_id":151098,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:53:14] local.INFO: Processing buffer {"connection_id":151098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:53:14] local.INFO: IMEI packet received {"connection_id":151098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":151098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:53:20] local.INFO: TCP Data received {"connection_id":151098,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:53:20] local.INFO: Processing buffer {"connection_id":151098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:53:20] local.INFO: IMEI packet received {"connection_id":151098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":151098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:53:21] local.INFO: TCP Data received {"connection_id":151098,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:53:21] local.INFO: Processing buffer {"connection_id":151098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:53:21] local.INFO: Packet analysis {"connection_id":151098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:53:21] local.INFO: Extracted packet for processing {"connection_id":151098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:53:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":12,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195836928001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785921539000,"timestamp_ms":1785921539000,"timestamp_seconds":1785921539,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380bb8"} 
[2026-08-05 14:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:53: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-08-05 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:53: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-08-05 14: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-08-05 14:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195836928001,"66":25691,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195836928001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:53:21] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195836928001,"power":25691,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":151098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:53:21] local.INFO: GPS data processed {"connection_id":151098,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:53:21] local.INFO: Acknowledgment sent {"connection_id":151098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:53:51] local.INFO: TCP Data received {"connection_id":151098,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:53:51] local.INFO: Processing buffer {"connection_id":151098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:53:51] local.INFO: Packet analysis {"connection_id":151098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:53:51] local.INFO: Extracted packet for processing {"connection_id":151098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:53:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":12,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195836928001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785921539000,"timestamp_ms":1785921539000,"timestamp_seconds":1785921539,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380bb8"} 
[2026-08-05 14:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:53: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-08-05 14: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":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195836928001,"66":25691,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195836928001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:53:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195836928001,"power":25691,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":151098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:53:51] local.INFO: GPS data processed {"connection_id":151098,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:53:51] local.INFO: Acknowledgment sent {"connection_id":151098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:54:20] local.INFO: TCP Data received {"connection_id":151099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:54:20] local.INFO: Processing buffer {"connection_id":151099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:54:20] local.INFO: IMEI packet received {"connection_id":151099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":151099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:54:26] local.INFO: TCP Data received {"connection_id":151099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:54:26] local.INFO: Processing buffer {"connection_id":151099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:54:26] local.INFO: IMEI packet received {"connection_id":151099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":151099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:54:26] local.INFO: TCP Data received {"connection_id":151099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:54:26] local.INFO: Processing buffer {"connection_id":151099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:54:26] local.INFO: Packet analysis {"connection_id":151099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:54:26] local.INFO: Extracted packet for processing {"connection_id":151099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":12,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195836928001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785921539000,"timestamp_ms":1785921539000,"timestamp_seconds":1785921539,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380bb8"} 
[2026-08-05 14:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195836928001,"66":25691,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195836928001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:54:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195836928001,"power":25691,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":151099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:54:26] local.INFO: GPS data processed {"connection_id":151099,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:54:26] local.INFO: Acknowledgment sent {"connection_id":151099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:54:30] local.INFO: TCP Data received {"connection_id":151099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:54:30] local.INFO: Processing buffer {"connection_id":151099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1380bb8012d7f934005afda60000c005b2e..."} 
[2026-08-05 14:54:30] local.INFO: Packet analysis {"connection_id":151099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:54:30] local.INFO: Extracted packet for processing {"connection_id":151099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd138"} 
[2026-08-05 14:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":12,"angle":91,"satellites":46,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195836928001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785921539000,"timestamp_ms":1785921539000,"timestamp_seconds":1785921539,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1380bb8"} 
[2026-08-05 14:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 14:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195836928001,"66":25691,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195836928001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:54:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195836928001,"power":25691,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":151099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:54:30] local.INFO: GPS data processed {"connection_id":151099,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:54:30] local.INFO: Acknowledgment sent {"connection_id":151099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:55:14] local.INFO: TCP Data received {"connection_id":148473,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:55:14] local.INFO: Processing buffer {"connection_id":148473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:55:14] local.INFO: IMEI packet received {"connection_id":148473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":148473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:55:20] local.INFO: TCP Data received {"connection_id":148473,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:55:20] local.INFO: Processing buffer {"connection_id":148473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:55:20] local.INFO: IMEI packet received {"connection_id":148473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":148473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:55:20] local.INFO: TCP Data received {"connection_id":148473,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:55:20] local.INFO: Processing buffer {"connection_id":148473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:55:20] local.INFO: Packet analysis {"connection_id":148473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:55:20] local.INFO: Extracted packet for processing {"connection_id":148473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:55:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195913984001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785921840000,"timestamp_ms":1785921840000,"timestamp_seconds":1785921840,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13ca380"} 
[2026-08-05 14:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:55: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-08-05 14:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 14:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195913984001,"66":25625,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195913984001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:55:20] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195913984001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":148473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:55:20] local.INFO: GPS data processed {"connection_id":148473,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:55:20] local.INFO: Acknowledgment sent {"connection_id":148473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:55:51] local.INFO: TCP Data received {"connection_id":148473,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:55:51] local.INFO: Processing buffer {"connection_id":148473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:55:51] local.INFO: Packet analysis {"connection_id":148473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:55:51] local.INFO: Extracted packet for processing {"connection_id":148473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:55:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195913984001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785921840000,"timestamp_ms":1785921840000,"timestamp_seconds":1785921840,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13ca380"} 
[2026-08-05 14:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:55: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-08-05 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 14:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195913984001,"66":25625,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195913984001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:55:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:55:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195913984001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":148473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:55:51] local.INFO: GPS data processed {"connection_id":148473,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:55:51] local.INFO: Acknowledgment sent {"connection_id":148473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:56:14] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:56:14] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:56:14] local.INFO: IMEI packet received {"connection_id":148684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":148684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:56:20] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:56:20] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:56:20] local.INFO: IMEI packet received {"connection_id":148684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":148684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:56:21] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:56:21] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:56:21] local.INFO: Packet analysis {"connection_id":148684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:56:21] local.INFO: Extracted packet for processing {"connection_id":148684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:56:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14: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-08-05 14:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195913984001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785921840000,"timestamp_ms":1785921840000,"timestamp_seconds":1785921840,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13ca380"} 
[2026-08-05 14:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:56: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-08-05 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 14:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14: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-08-05 14:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:56: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-08-05 14:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195913984001,"66":25625,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195913984001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:56:21] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195913984001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":148684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:56:21] local.INFO: GPS data processed {"connection_id":148684,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:56:21] local.INFO: Acknowledgment sent {"connection_id":148684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:56:52] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:56:52] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:56:52] local.INFO: Packet analysis {"connection_id":148684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:56:52] local.INFO: Extracted packet for processing {"connection_id":148684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:56:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195913984001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785921840000,"timestamp_ms":1785921840000,"timestamp_seconds":1785921840,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13ca380"} 
[2026-08-05 14:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 14:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195913984001,"66":25625,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195913984001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:56:52] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195913984001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":148684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:56:52] local.INFO: GPS data processed {"connection_id":148684,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:56:52] local.INFO: Acknowledgment sent {"connection_id":148684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:57:20] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:57:20] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:57:20] local.INFO: IMEI packet received {"connection_id":148685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":148685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:57:25] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:57:25] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:57:25] local.INFO: IMEI packet received {"connection_id":148685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":148685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:57:26] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:57:26] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:57:26] local.INFO: Packet analysis {"connection_id":148685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:57:26] local.INFO: Extracted packet for processing {"connection_id":148685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195913984001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785921840000,"timestamp_ms":1785921840000,"timestamp_seconds":1785921840,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13ca380"} 
[2026-08-05 14:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 14:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195913984001,"66":25625,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195913984001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:57:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195913984001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":148685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:57:26] local.INFO: GPS data processed {"connection_id":148685,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:57:26] local.INFO: Acknowledgment sent {"connection_id":148685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:57:30] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:57:30] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:57:30] local.INFO: Packet analysis {"connection_id":148685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:57:30] local.INFO: Extracted packet for processing {"connection_id":148685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195913984001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785921840000,"timestamp_ms":1785921840000,"timestamp_seconds":1785921840,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13ca380"} 
[2026-08-05 14:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 14:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195913984001,"66":25625,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195913984001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:57:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195913984001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":148685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:57:30] local.INFO: GPS data processed {"connection_id":148685,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:57:30] local.INFO: Acknowledgment sent {"connection_id":148685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:57:49] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:57:49] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:57:49] local.INFO: IMEI packet received {"connection_id":148686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":148686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:57:49] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13e9398012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13e9398012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:57:49] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13e9398012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:57:49] local.INFO: Packet analysis {"connection_id":148686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13e"} 
[2026-08-05 14:57:49] local.INFO: Extracted packet for processing {"connection_id":148686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13e"} 
[2026-08-05 14:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196018176001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 14:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446548480,"note":"Value kept but may cause issues"} 
[2026-08-05 14:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785921967000,"timestamp_ms":1785921967000,"timestamp_seconds":1785921967,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13e9398"} 
[2026-08-05 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-08-05 14:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 14:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196018176001,"66":13135,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739585755446548480},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 14:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196018176001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:57:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 14:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446548480,"description":"Unknown IO ID 45"} 
[2026-08-05 14:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196018176001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446548480}} 
[2026-08-05 14:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":148686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:57:50] local.INFO: GPS data processed {"connection_id":148686,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:57:50] local.INFO: Acknowledgment sent {"connection_id":148686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:58:15] local.INFO: TCP Data received {"connection_id":148474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:58:15] local.INFO: Processing buffer {"connection_id":148474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:58:15] local.INFO: IMEI packet received {"connection_id":148474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":148474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:58:20] local.INFO: TCP Data received {"connection_id":148474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:58:20] local.INFO: Processing buffer {"connection_id":148474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:58:20] local.INFO: IMEI packet received {"connection_id":148474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":148474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:58:20] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13ee5a0012d1823400721b5c8004c01222e..."} 
[2026-08-05 14:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13ee5a0012d1823400721b5c8004c01222e..."} 
[2026-08-05 14:58:21] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13ee5a0012d1823400721b5c8004c01222e..."} 
[2026-08-05 14:58:21] local.INFO: Packet analysis {"connection_id":148686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13e"} 
[2026-08-05 14:58:21] local.INFO: Extracted packet for processing {"connection_id":148686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13e"} 
[2026-08-05 14:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196023552001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785921988000,"timestamp_ms":1785921988000,"timestamp_seconds":1785921988,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13ee5a0"} 
[2026-08-05 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-08-05 14:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 14:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196023552001,"66":13080,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 14:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196023552001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:58:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 14:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 14:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196023552001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 14:58:21] local.INFO: TCP Data received {"connection_id":148474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:58:21] local.INFO: Processing buffer {"connection_id":148474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:58:21] local.INFO: Packet analysis {"connection_id":148474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:58:21] local.INFO: Extracted packet for processing {"connection_id":148474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 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-08-05 14:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195913984001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785921840000,"timestamp_ms":1785921840000,"timestamp_seconds":1785921840,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13ca380"} 
[2026-08-05 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-08-05 14:58: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-08-05 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":91,"data_length":795,"current_offset":136} 
[2026-08-05 14:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 14:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:58: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-08-05 14:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195913984001,"66":25625,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195913984001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:58:21] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195913984001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":148474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:58:21] local.INFO: GPS data processed {"connection_id":148474,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:58:21] local.INFO: Acknowledgment sent {"connection_id":148474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":148686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:58:21] local.INFO: GPS data processed {"connection_id":148686,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:58:21] local.INFO: Acknowledgment sent {"connection_id":148686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:58:45] local.INFO: TCP Data received {"connection_id":151103,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:58:45] local.INFO: Processing buffer {"connection_id":151103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:58:45] local.INFO: IMEI packet received {"connection_id":151103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":151103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:58:50] local.INFO: TCP Data received {"connection_id":151103,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:58:50] local.INFO: Processing buffer {"connection_id":151103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:58:50] local.INFO: IMEI packet received {"connection_id":151103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":151103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:58:50] local.INFO: TCP Data received {"connection_id":151103,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13f37a8012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13f37a8012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:58:50] local.INFO: Processing buffer {"connection_id":151103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13f37a8012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:58:50] local.INFO: Packet analysis {"connection_id":151103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13f"} 
[2026-08-05 14:58:50] local.INFO: Extracted packet for processing {"connection_id":151103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13f"} 
[2026-08-05 14:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 14:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196028928001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785922009000,"timestamp_ms":1785922009000,"timestamp_seconds":1785922009,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13f37a8"} 
[2026-08-05 14:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":24,"data_length":795,"current_offset":136} 
[2026-08-05 14:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196028928001,"66":13015,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 14:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196028928001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:58:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 14:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 14:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196028928001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 14:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":151103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:58:50] local.INFO: GPS data processed {"connection_id":151103,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:58:50] local.INFO: Acknowledgment sent {"connection_id":151103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:58:51] local.INFO: TCP Data received {"connection_id":148474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:58:51] local.INFO: Processing buffer {"connection_id":148474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:58:51] local.INFO: Packet analysis {"connection_id":148474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:58:51] local.INFO: Extracted packet for processing {"connection_id":148474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:58:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195913984001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785921840000,"timestamp_ms":1785921840000,"timestamp_seconds":1785921840,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13ca380"} 
[2026-08-05 14:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:58: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-08-05 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 14:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195913984001,"66":25625,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195913984001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:58:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195913984001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":148474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:58:51] local.INFO: GPS data processed {"connection_id":148474,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:58:51] local.INFO: Acknowledgment sent {"connection_id":148474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:58:51] local.INFO: TCP Data received {"connection_id":151103,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13f89b0012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13f89b0012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:58:51] local.INFO: Processing buffer {"connection_id":151103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13f89b0012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:58:51] local.INFO: Packet analysis {"connection_id":151103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13f"} 
[2026-08-05 14:58:51] local.INFO: Extracted packet for processing {"connection_id":151103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13f"} 
[2026-08-05 14:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 14:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196034304001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 14:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785922030000,"timestamp_ms":1785922030000,"timestamp_seconds":1785922030,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13f89b0"} 
[2026-08-05 14:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 14:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196034304001,"66":13037,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 14:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196034304001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:58:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 14:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 14:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196034304001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 14:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":151103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:58:52] local.INFO: GPS data processed {"connection_id":151103,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:58:52] local.INFO: Acknowledgment sent {"connection_id":151103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:59:14] local.INFO: TCP Data received {"connection_id":151104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:59:14] local.INFO: Processing buffer {"connection_id":151104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:59:14] local.INFO: IMEI packet received {"connection_id":151104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 14:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":151104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:59:19] local.INFO: TCP Data received {"connection_id":151104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:59:19] local.INFO: Processing buffer {"connection_id":151104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 14:59:19] local.INFO: IMEI packet received {"connection_id":151104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 14:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":151104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:59:20] local.INFO: TCP Data received {"connection_id":151104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:59:20] local.INFO: Processing buffer {"connection_id":151104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13ca380012d7f934005afda600000005b2c..."} 
[2026-08-05 14:59:20] local.INFO: Packet analysis {"connection_id":151104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:59:20] local.INFO: Extracted packet for processing {"connection_id":151104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13c"} 
[2026-08-05 14:59:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195913984001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785921840000,"timestamp_ms":1785921840000,"timestamp_seconds":1785921840,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13ca380"} 
[2026-08-05 14:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:59: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-08-05 14:59: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":91,"data_length":795,"current_offset":136} 
[2026-08-05 14:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195913984001,"66":25625,"199":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 14:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195913984001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:59:20] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 14:59:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195913984001,"power":25625,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":151104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:59:20] local.INFO: GPS data processed {"connection_id":151104,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:59:20] local.INFO: Acknowledgment sent {"connection_id":151104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:59:27] local.INFO: TCP Data received {"connection_id":151103,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd13fdbb8012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd13fdbb8012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:59:27] local.INFO: Processing buffer {"connection_id":151103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd13fdbb8012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:59:27] local.INFO: Packet analysis {"connection_id":151103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd13f"} 
[2026-08-05 14:59:27] local.INFO: Extracted packet for processing {"connection_id":151103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd13f"} 
[2026-08-05 14:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 14:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196039680001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785922051000,"timestamp_ms":1785922051000,"timestamp_seconds":1785922051,"priority":1,"record_length":96,"hex_timestamp":"0000019fd13fdbb8"} 
[2026-08-05 14:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-05 14:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":151103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":151103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":151103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196039680001,"66":13015,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 14:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196039680001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:59:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 14:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 14:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196039680001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 14:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":151103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:59:27] local.INFO: GPS data processed {"connection_id":151103,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:59:27] local.INFO: Acknowledgment sent {"connection_id":151103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:59:40] local.INFO: TCP Data received {"connection_id":149682,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:59:40] local.INFO: Processing buffer {"connection_id":149682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:59:40] local.INFO: IMEI packet received {"connection_id":149682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 14:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":149682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 14:59:45] local.INFO: TCP Data received {"connection_id":149682,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:59:45] local.INFO: Processing buffer {"connection_id":149682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 14:59:45] local.INFO: IMEI packet received {"connection_id":149682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 14:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":149682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 14:59:46] local.INFO: TCP Data received {"connection_id":149682,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14031a8012d1823400721b5c8004c012230..."} 
[2026-08-05 14:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14031a8012d1823400721b5c8004c012230..."} 
[2026-08-05 14:59:46] local.INFO: Processing buffer {"connection_id":149682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14031a8012d1823400721b5c8004c012230..."} 
[2026-08-05 14:59:46] local.INFO: Packet analysis {"connection_id":149682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd140"} 
[2026-08-05 14:59:46] local.INFO: Extracted packet for processing {"connection_id":149682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd140"} 
[2026-08-05 14:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":48,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 14:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196045056001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785922073000,"timestamp_ms":1785922073000,"timestamp_seconds":1785922073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14031a8"} 
[2026-08-05 14:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 14:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196045056001,"66":13004,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 14:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196045056001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:59:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 14:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 14:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196045056001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 14:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":149682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:59:46] local.INFO: GPS data processed {"connection_id":149682,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:59:46] local.INFO: Acknowledgment sent {"connection_id":149682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:59:50] local.INFO: TCP Data received {"connection_id":149682,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14083b0012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14083b0012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:59:50] local.INFO: Processing buffer {"connection_id":149682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14083b0012d1823400721b5c8004c01222f..."} 
[2026-08-05 14:59:50] local.INFO: Packet analysis {"connection_id":149682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd140"} 
[2026-08-05 14:59:50] local.INFO: Extracted packet for processing {"connection_id":149682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd140"} 
[2026-08-05 14:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 14:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196050688001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785922094000,"timestamp_ms":1785922094000,"timestamp_seconds":1785922094,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14083b0"} 
[2026-08-05 14:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 14: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-05 14:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 14:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 14:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 14:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 14:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196050688001,"66":12993,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 14:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 14:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 14:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196050688001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:59:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 14:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 14:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 14:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196050688001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 14:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":149682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:59:50] local.INFO: GPS data processed {"connection_id":149682,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:59:50] local.INFO: Acknowledgment sent {"connection_id":149682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 14:59:51] local.INFO: TCP Data received {"connection_id":151104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 14:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 14:59:51] local.INFO: Processing buffer {"connection_id":151104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 14:59:51] local.INFO: Packet analysis {"connection_id":151104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 14:59:51] local.INFO: Extracted packet for processing {"connection_id":151104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 14:59:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 14:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 14:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195991040001,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 14:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 14:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785922141000,"timestamp_ms":1785922141000,"timestamp_seconds":1785922141,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1413b48"} 
[2026-08-05 14:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 14:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 14: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 14:59: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-08-05 14:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 14:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 14:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 14:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 14:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 14:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 14:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 14:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 14:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195991040001,"66":25582,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 14:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 14:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 14:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195991040001,"description":"Unknown IO ID 0"} 
[2026-08-05 14:59:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 14:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 14:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 14:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 14:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195991040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 14:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":151104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 14:59:51] local.INFO: GPS data processed {"connection_id":151104,"processed":1,"errors":0,"total":1} 
[2026-08-05 14:59:51] local.INFO: Acknowledgment sent {"connection_id":151104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:00:14] local.INFO: TCP Data received {"connection_id":148475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:00:14] local.INFO: Processing buffer {"connection_id":148475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:00:14] local.INFO: IMEI packet received {"connection_id":148475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":148475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:00:20] local.INFO: TCP Data received {"connection_id":148475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:00:20] local.INFO: Processing buffer {"connection_id":148475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:00:20] local.INFO: IMEI packet received {"connection_id":148475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":148475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:00:20] local.INFO: TCP Data received {"connection_id":148475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:00:20] local.INFO: Processing buffer {"connection_id":148475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:00:20] local.INFO: Packet analysis {"connection_id":148475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:00:20] local.INFO: Extracted packet for processing {"connection_id":148475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195991040001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785922141000,"timestamp_ms":1785922141000,"timestamp_seconds":1785922141,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1413b48"} 
[2026-08-05 15:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:00: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-08-05 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:00: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-08-05 15: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-08-05 15:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195991040001,"66":25582,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195991040001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:00:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195991040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":148475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:00:20] local.INFO: GPS data processed {"connection_id":148475,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:00:20] local.INFO: Acknowledgment sent {"connection_id":148475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:00:21] local.INFO: TCP Data received {"connection_id":149682,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd140d5b8012d1823400721b5c8004c012231..."} 
[2026-08-05 15:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd140d5b8012d1823400721b5c8004c012231..."} 
[2026-08-05 15:00:21] local.INFO: Processing buffer {"connection_id":149682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd140d5b8012d1823400721b5c8004c012231..."} 
[2026-08-05 15:00:21] local.INFO: Packet analysis {"connection_id":149682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd140"} 
[2026-08-05 15:00:21] local.INFO: Extracted packet for processing {"connection_id":149682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd140"} 
[2026-08-05 15:00:21] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196056064001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785922115000,"timestamp_ms":1785922115000,"timestamp_seconds":1785922115,"priority":1,"record_length":96,"hex_timestamp":"0000019fd140d5b8"} 
[2026-08-05 15:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 15:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196056064001,"66":12961,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196056064001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:00:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196056064001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":149682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:00:21] local.INFO: GPS data processed {"connection_id":149682,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:00:21] local.INFO: Acknowledgment sent {"connection_id":149682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:00:36] local.INFO: TCP Data received {"connection_id":151105,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:00:36] local.INFO: Processing buffer {"connection_id":151105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:00:36] local.INFO: IMEI packet received {"connection_id":151105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":151105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:00:40] local.INFO: TCP Data received {"connection_id":151105,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:00:40] local.INFO: Processing buffer {"connection_id":151105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:00:40] local.INFO: IMEI packet received {"connection_id":151105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":151105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:00:45] local.INFO: TCP Data received {"connection_id":151105,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:00:45] local.INFO: Processing buffer {"connection_id":151105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:00:45] local.INFO: IMEI packet received {"connection_id":151105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":151105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:00:45] local.INFO: TCP Data received {"connection_id":151105,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14123d8012d1823400721b5c8004c012231..."} 
[2026-08-05 15:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14123d8012d1823400721b5c8004c012231..."} 
[2026-08-05 15:00:45] local.INFO: Processing buffer {"connection_id":151105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14123d8012d1823400721b5c8004c012231..."} 
[2026-08-05 15:00:45] local.INFO: Packet analysis {"connection_id":151105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:00:45] local.INFO: Extracted packet for processing {"connection_id":151105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196061440001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785922135000,"timestamp_ms":1785922135000,"timestamp_seconds":1785922135,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14123d8"} 
[2026-08-05 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-08-05 15:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-05 15:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196061440001,"66":12950,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196061440001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:00:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196061440001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":151105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:00:45] local.INFO: GPS data processed {"connection_id":151105,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:00:45] local.INFO: Acknowledgment sent {"connection_id":151105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:00:51] local.INFO: TCP Data received {"connection_id":148475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:00:51] local.INFO: Processing buffer {"connection_id":148475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:00:51] local.INFO: Packet analysis {"connection_id":148475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:00:51] local.INFO: Extracted packet for processing {"connection_id":148475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:00:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195991040001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785922141000,"timestamp_ms":1785922141000,"timestamp_seconds":1785922141,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1413b48"} 
[2026-08-05 15:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:00: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-08-05 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:00: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-08-05 15:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195991040001,"66":25582,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195991040001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:00:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195991040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":148475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:00:51] local.INFO: GPS data processed {"connection_id":148475,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:00:51] local.INFO: Acknowledgment sent {"connection_id":148475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:01:16] local.INFO: TCP Data received {"connection_id":151105,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14175e0012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14175e0012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:01:16] local.INFO: Processing buffer {"connection_id":151105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14175e0012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:01:16] local.INFO: Packet analysis {"connection_id":151105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:01:16] local.INFO: Extracted packet for processing {"connection_id":151105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196066560001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785922156000,"timestamp_ms":1785922156000,"timestamp_seconds":1785922156,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14175e0"} 
[2026-08-05 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-08-05 15:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 15:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196066560001,"66":12863,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196066560001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:01:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:01:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196066560001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":151105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:01:17] local.INFO: GPS data processed {"connection_id":151105,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:01:17] local.INFO: Acknowledgment sent {"connection_id":151105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:01:19] local.INFO: TCP Data received {"connection_id":151106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:01:19] local.INFO: Processing buffer {"connection_id":151106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:01:19] local.INFO: IMEI packet received {"connection_id":151106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":151106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:01:24] local.INFO: TCP Data received {"connection_id":151106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:01:24] local.INFO: Processing buffer {"connection_id":151106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:01:24] local.INFO: IMEI packet received {"connection_id":151106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":151106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:01:25] local.INFO: TCP Data received {"connection_id":151106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:01:25] local.INFO: Processing buffer {"connection_id":151106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:01:25] local.INFO: Packet analysis {"connection_id":151106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:01:25] local.INFO: Extracted packet for processing {"connection_id":151106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:01:25] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195991040001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785922141000,"timestamp_ms":1785922141000,"timestamp_seconds":1785922141,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1413b48"} 
[2026-08-05 15:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195991040001,"66":25582,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195991040001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:01:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195991040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":151106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:01:25] local.INFO: GPS data processed {"connection_id":151106,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:01:25] local.INFO: Acknowledgment sent {"connection_id":151106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:01:30] local.INFO: TCP Data received {"connection_id":151106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:01:30] local.INFO: Processing buffer {"connection_id":151106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:01:30] local.INFO: Packet analysis {"connection_id":151106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:01:30] local.INFO: Extracted packet for processing {"connection_id":151106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195991040001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785922141000,"timestamp_ms":1785922141000,"timestamp_seconds":1785922141,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1413b48"} 
[2026-08-05 15:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195991040001,"66":25582,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195991040001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:01:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:01:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195991040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":151106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:01:30] local.INFO: GPS data processed {"connection_id":151106,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:01:30] local.INFO: Acknowledgment sent {"connection_id":151106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:01:40] local.INFO: TCP Data received {"connection_id":151107,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:01:40] local.INFO: Processing buffer {"connection_id":151107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:01:40] local.INFO: IMEI packet received {"connection_id":151107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":151107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:01:40] local.INFO: TCP Data received {"connection_id":151107,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:01:40] local.INFO: Processing buffer {"connection_id":151107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:01:40] local.INFO: IMEI packet received {"connection_id":151107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":151107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:01:45] local.INFO: TCP Data received {"connection_id":151107,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:01:45] local.INFO: Processing buffer {"connection_id":151107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:01:45] local.INFO: IMEI packet received {"connection_id":151107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":151107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:01:45] local.INFO: TCP Data received {"connection_id":151107,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd141c7e8012d1823400721b5c8004c012230..."} 
[2026-08-05 15:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd141c7e8012d1823400721b5c8004c012230..."} 
[2026-08-05 15:01:45] local.INFO: Processing buffer {"connection_id":151107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd141c7e8012d1823400721b5c8004c012230..."} 
[2026-08-05 15:01:45] local.INFO: Packet analysis {"connection_id":151107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:01:45] local.INFO: Extracted packet for processing {"connection_id":151107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":48,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196071936001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785922177000,"timestamp_ms":1785922177000,"timestamp_seconds":1785922177,"priority":1,"record_length":96,"hex_timestamp":"0000019fd141c7e8"} 
[2026-08-05 15:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 15:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196071936001,"66":12885,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196071936001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:01:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196071936001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":151107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:01:45] local.INFO: GPS data processed {"connection_id":151107,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:01:45] local.INFO: Acknowledgment sent {"connection_id":151107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:02:15] local.INFO: TCP Data received {"connection_id":149683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:02:15] local.INFO: Processing buffer {"connection_id":149683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:02:15] local.INFO: IMEI packet received {"connection_id":149683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":149683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:02:17] local.INFO: TCP Data received {"connection_id":151107,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14219f0012d1823400721b5c8004c012231..."} 
[2026-08-05 15:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14219f0012d1823400721b5c8004c012231..."} 
[2026-08-05 15:02:17] local.INFO: Processing buffer {"connection_id":151107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14219f0012d1823400721b5c8004c012231..."} 
[2026-08-05 15:02:17] local.INFO: Packet analysis {"connection_id":151107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd142"} 
[2026-08-05 15:02:17] local.INFO: Extracted packet for processing {"connection_id":151107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd142"} 
[2026-08-05 15:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196077312001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785922198000,"timestamp_ms":1785922198000,"timestamp_seconds":1785922198,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14219f0"} 
[2026-08-05 15:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 15:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196077312001,"66":12874,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196077312001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:02:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196077312001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":151107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:02:17] local.INFO: GPS data processed {"connection_id":151107,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:02:17] local.INFO: Acknowledgment sent {"connection_id":151107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:02:20] local.INFO: TCP Data received {"connection_id":149683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:02:20] local.INFO: Processing buffer {"connection_id":149683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:02:20] local.INFO: IMEI packet received {"connection_id":149683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":149683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:02:20] local.INFO: TCP Data received {"connection_id":149683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:02:20] local.INFO: Processing buffer {"connection_id":149683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:02:20] local.INFO: Packet analysis {"connection_id":149683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:02:20] local.INFO: Extracted packet for processing {"connection_id":149683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:02:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195991040001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785922141000,"timestamp_ms":1785922141000,"timestamp_seconds":1785922141,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1413b48"} 
[2026-08-05 15:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:02: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-08-05 15:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195991040001,"66":25582,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195991040001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:02:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195991040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":149683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:02:20] local.INFO: GPS data processed {"connection_id":149683,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:02:20] local.INFO: Acknowledgment sent {"connection_id":149683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:02:25] local.INFO: TCP Data received {"connection_id":149683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:02:25] local.INFO: Processing buffer {"connection_id":149683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:02:25] local.INFO: Packet analysis {"connection_id":149683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:02:25] local.INFO: Extracted packet for processing {"connection_id":149683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195991040001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785922141000,"timestamp_ms":1785922141000,"timestamp_seconds":1785922141,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1413b48"} 
[2026-08-05 15:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195991040001,"66":25582,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195991040001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:02:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195991040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":149683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:02:25] local.INFO: GPS data processed {"connection_id":149683,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:02:25] local.INFO: Acknowledgment sent {"connection_id":149683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:02:40] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:02:40] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:02:40] local.INFO: IMEI packet received {"connection_id":148476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":148476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:02:43] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:02:43] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:02:43] local.INFO: IMEI packet received {"connection_id":148476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":148476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:02:44] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:02:44] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:02:44] local.INFO: IMEI packet received {"connection_id":148476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":148476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:02:45] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1426bf8012d1823400721b5c8004c01222d..."} 
[2026-08-05 15:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1426bf8012d1823400721b5c8004c01222d..."} 
[2026-08-05 15:02:45] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1426bf8012d1823400721b5c8004c01222d..."} 
[2026-08-05 15:02:45] local.INFO: Packet analysis {"connection_id":148476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd142"} 
[2026-08-05 15:02:45] local.INFO: Extracted packet for processing {"connection_id":148476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd142"} 
[2026-08-05 15:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196082688001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785922219000,"timestamp_ms":1785922219000,"timestamp_seconds":1785922219,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1426bf8"} 
[2026-08-05 15:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-05 15:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196082688001,"66":12863,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196082688001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:02:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196082688001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":148476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:02:45] local.INFO: GPS data processed {"connection_id":148476,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:02:45] local.INFO: Acknowledgment sent {"connection_id":148476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:02:50] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd142be00012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd142be00012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:02:50] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd142be00012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:02:50] local.INFO: Packet analysis {"connection_id":148476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd142"} 
[2026-08-05 15:02:50] local.INFO: Extracted packet for processing {"connection_id":148476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd142"} 
[2026-08-05 15:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196088064001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785922240000,"timestamp_ms":1785922240000,"timestamp_seconds":1785922240,"priority":1,"record_length":96,"hex_timestamp":"0000019fd142be00"} 
[2026-08-05 15:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 15:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196088064001,"66":12798,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196088064001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:02:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196088064001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":148476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:02:50] local.INFO: GPS data processed {"connection_id":148476,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:02:50] local.INFO: Acknowledgment sent {"connection_id":148476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:02:56] local.INFO: TCP Data received {"connection_id":149683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:02:56] local.INFO: Processing buffer {"connection_id":149683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:02:56] local.INFO: Packet analysis {"connection_id":149683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:02:56] local.INFO: Extracted packet for processing {"connection_id":149683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195991040001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785922141000,"timestamp_ms":1785922141000,"timestamp_seconds":1785922141,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1413b48"} 
[2026-08-05 15:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:02: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-08-05 15: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-08-05 15:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195991040001,"66":25582,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195991040001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:02:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195991040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":149683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:02:56] local.INFO: GPS data processed {"connection_id":149683,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:02:56] local.INFO: Acknowledgment sent {"connection_id":149683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:03:14] local.INFO: TCP Data received {"connection_id":149684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:03:14] local.INFO: Processing buffer {"connection_id":149684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:03:14] local.INFO: IMEI packet received {"connection_id":149684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":149684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:03:19] local.INFO: TCP Data received {"connection_id":149684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:03:19] local.INFO: Processing buffer {"connection_id":149684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:03:19] local.INFO: IMEI packet received {"connection_id":149684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":149684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:03:20] local.INFO: TCP Data received {"connection_id":149684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:03:20] local.INFO: Processing buffer {"connection_id":149684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:03:20] local.INFO: Packet analysis {"connection_id":149684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:03:20] local.INFO: Extracted packet for processing {"connection_id":149684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:03:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195991040001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785922141000,"timestamp_ms":1785922141000,"timestamp_seconds":1785922141,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1413b48"} 
[2026-08-05 15:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:03: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-08-05 15:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:03: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-08-05 15:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195991040001,"66":25582,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195991040001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:03:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195991040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":149684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:03:20] local.INFO: GPS data processed {"connection_id":149684,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:03:20] local.INFO: Acknowledgment sent {"connection_id":149684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:03:21] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1431008012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1431008012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:03:21] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1431008012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:03:21] local.INFO: Packet analysis {"connection_id":148476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd143"} 
[2026-08-05 15:03:21] local.INFO: Extracted packet for processing {"connection_id":148476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd143"} 
[2026-08-05 15:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196093440001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785922261000,"timestamp_ms":1785922261000,"timestamp_seconds":1785922261,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1431008"} 
[2026-08-05 15:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 15:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196093440001,"66":12809,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196093440001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:03:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196093440001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":148476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:03:21] local.INFO: GPS data processed {"connection_id":148476,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:03:21] local.INFO: Acknowledgment sent {"connection_id":148476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:03:39] local.INFO: TCP Data received {"connection_id":151108,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:03:39] local.INFO: Processing buffer {"connection_id":151108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:03:39] local.INFO: IMEI packet received {"connection_id":151108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":151108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:03:45] local.INFO: TCP Data received {"connection_id":151108,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:03:45] local.INFO: Processing buffer {"connection_id":151108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:03:45] local.INFO: IMEI packet received {"connection_id":151108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":151108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:03:46] local.INFO: TCP Data received {"connection_id":151108,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1436210012d1823400721b5c8004c01222d..."} 
[2026-08-05 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1436210012d1823400721b5c8004c01222d..."} 
[2026-08-05 15:03:46] local.INFO: Processing buffer {"connection_id":151108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1436210012d1823400721b5c8004c01222d..."} 
[2026-08-05 15:03:46] local.INFO: Packet analysis {"connection_id":151108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd143"} 
[2026-08-05 15:03:46] local.INFO: Extracted packet for processing {"connection_id":151108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd143"} 
[2026-08-05 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196098816001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785922282000,"timestamp_ms":1785922282000,"timestamp_seconds":1785922282,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1436210"} 
[2026-08-05 15:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3510707160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4671842503657792320,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049783372,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4981026,"corrected_to":0} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879111108473261,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4224516096,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429067477636948529,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,251,159,190,45,64,181,76,46,10,66,107,25,1,240,74,227,209,33,4,113,205,117,35,200,47,239,50,2,37,7,164],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":200,"original":4981026,"validated":0}]} 
[2026-08-05 15:03:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476696202823073792,"timestamp_seconds":5476696202823074.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 15:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196098816001,"66":12819,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196098816001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:03:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196098816001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":151108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:03:46] local.INFO: GPS data processed {"connection_id":151108,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:03:46] local.INFO: Acknowledgment sent {"connection_id":151108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:03:52] local.INFO: TCP Data received {"connection_id":149684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:03:52] local.INFO: Processing buffer {"connection_id":149684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:03:52] local.INFO: Packet analysis {"connection_id":149684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:03:52] local.INFO: Extracted packet for processing {"connection_id":149684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:03:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195991040001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785922141000,"timestamp_ms":1785922141000,"timestamp_seconds":1785922141,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1413b48"} 
[2026-08-05 15:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195991040001,"66":25582,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195991040001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:03:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195991040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":149684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:03:52] local.INFO: GPS data processed {"connection_id":149684,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:03:52] local.INFO: Acknowledgment sent {"connection_id":149684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:04:14] local.INFO: TCP Data received {"connection_id":149685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:04:14] local.INFO: Processing buffer {"connection_id":149685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:04:14] local.INFO: IMEI packet received {"connection_id":149685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":149685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:04:17] local.INFO: TCP Data received {"connection_id":151108,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd143b418012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd143b418012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:04:17] local.INFO: Processing buffer {"connection_id":151108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd143b418012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:04:17] local.INFO: Packet analysis {"connection_id":151108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd143"} 
[2026-08-05 15:04:17] local.INFO: Extracted packet for processing {"connection_id":151108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd143"} 
[2026-08-05 15:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196104192001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785922303000,"timestamp_ms":1785922303000,"timestamp_seconds":1785922303,"priority":1,"record_length":96,"hex_timestamp":"0000019fd143b418"} 
[2026-08-05 15:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3510728160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503762765676544,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4693832736213312320,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049783372,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":21393344592609280,"corrected_to":0} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854281301347923,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4224516096,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429067477636948529,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84750507667038645,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:17] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,251,159,45,64,181,76,46,10,66,190,107,1,240,63,227,209,33,4,113,205,199,35,200,48,239,50,2,37,7,164,69,184],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0},{"io_id":200,"original":21393344592609280,"validated":0}]} 
[2026-08-05 15:04:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476696198528106496,"timestamp_seconds":5476696198528106.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 15:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196104192001,"66":12809,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196104192001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:04:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196104192001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":151108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:04:17] local.INFO: GPS data processed {"connection_id":151108,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:04:17] local.INFO: Acknowledgment sent {"connection_id":151108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:04:20] local.INFO: TCP Data received {"connection_id":149685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:04:20] local.INFO: Processing buffer {"connection_id":149685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:04:20] local.INFO: IMEI packet received {"connection_id":149685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":149685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:04:20] local.INFO: TCP Data received {"connection_id":149685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:04:20] local.INFO: Processing buffer {"connection_id":149685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1413b48012d7f934005afda600000005b31..."} 
[2026-08-05 15:04:20] local.INFO: Packet analysis {"connection_id":149685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:04:20] local.INFO: Extracted packet for processing {"connection_id":149685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd141"} 
[2026-08-05 15:04:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457195991040001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785922141000,"timestamp_ms":1785922141000,"timestamp_seconds":1785922141,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1413b48"} 
[2026-08-05 15:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:04: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-08-05 15:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:04: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-08-05 15:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457195991040001,"66":25582,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457195991040001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:04:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:04:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457195991040001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":149685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:04:20] local.INFO: GPS data processed {"connection_id":149685,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:04:20] local.INFO: Acknowledgment sent {"connection_id":149685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:04:39] local.INFO: TCP Data received {"connection_id":151109,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:04:39] local.INFO: Processing buffer {"connection_id":151109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:04:39] local.INFO: IMEI packet received {"connection_id":151109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":151109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:04:45] local.INFO: TCP Data received {"connection_id":151109,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:04:45] local.INFO: Processing buffer {"connection_id":151109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:04:45] local.INFO: IMEI packet received {"connection_id":151109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":151109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:04:45] local.INFO: TCP Data received {"connection_id":151109,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1440620012d1823400721b5c8004c012230..."} 
[2026-08-05 15:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1440620012d1823400721b5c8004c012230..."} 
[2026-08-05 15:04:45] local.INFO: Processing buffer {"connection_id":151109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1440620012d1823400721b5c8004c012230..."} 
[2026-08-05 15:04:45] local.INFO: Packet analysis {"connection_id":151109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd144"} 
[2026-08-05 15:04:45] local.INFO: Extracted packet for processing {"connection_id":151109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd144"} 
[2026-08-05 15:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":48,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196109568001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785922324000,"timestamp_ms":1785922324000,"timestamp_seconds":1785922324,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1440620"} 
[2026-08-05 15:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3510749160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4716922480396608320,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049783372,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4981026,"corrected_to":0} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4224516096,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429067477636948527,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:45] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,251,159,98,45,64,181,76,10,66,46,190,1,240,254,227,209,33,4,113,205,25,35,200,49,239,50,2,37,7,164],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":200,"original":4981026,"validated":0}]} 
[2026-08-05 15:04:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476696202823073792,"timestamp_seconds":5476696202823074.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 15:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196109568001,"66":12798,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196109568001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:04:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196109568001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":151109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:04:45] local.INFO: GPS data processed {"connection_id":151109,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:04:45] local.INFO: Acknowledgment sent {"connection_id":151109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:04:51] local.INFO: TCP Data received {"connection_id":149685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:04:51] local.INFO: Processing buffer {"connection_id":149685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:04:51] local.INFO: Packet analysis {"connection_id":149685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:04:51] local.INFO: Extracted packet for processing {"connection_id":149685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:04:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196068096001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785922442000,"timestamp_ms":1785922442000,"timestamp_seconds":1785922442,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145d310"} 
[2026-08-05 15:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:04: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-08-05 15: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":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:04: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-08-05 15:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196068096001,"66":25615,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196068096001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:04:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196068096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":149685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:04:51] local.INFO: GPS data processed {"connection_id":149685,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:04:51] local.INFO: Acknowledgment sent {"connection_id":149685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:05:14] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:05:14] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:05:14] local.INFO: IMEI packet received {"connection_id":148477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":148477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:05:16] local.INFO: TCP Data received {"connection_id":151109,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1445828012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1445828012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:05:16] local.INFO: Processing buffer {"connection_id":151109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1445828012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:05:16] local.INFO: Packet analysis {"connection_id":151109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd144"} 
[2026-08-05 15:05:16] local.INFO: Extracted packet for processing {"connection_id":151109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd144"} 
[2026-08-05 15:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196114944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785922345000,"timestamp_ms":1785922345000,"timestamp_seconds":1785922345,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1445828"} 
[2026-08-05 15:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 15:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196114944001,"66":12776,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196114944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:05:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:05:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196114944001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":151109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:05:17] local.INFO: GPS data processed {"connection_id":151109,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:05:17] local.INFO: Acknowledgment sent {"connection_id":151109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:05:20] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:05:20] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:05:20] local.INFO: IMEI packet received {"connection_id":148477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":148477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:05:20] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:05:20] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:05:20] local.INFO: Packet analysis {"connection_id":148477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:05:20] local.INFO: Extracted packet for processing {"connection_id":148477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:05:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196068096001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785922442000,"timestamp_ms":1785922442000,"timestamp_seconds":1785922442,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145d310"} 
[2026-08-05 15:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:05: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-08-05 15: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":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:05: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-08-05 15:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196068096001,"66":25615,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196068096001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:05:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196068096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":148477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:05:20] local.INFO: GPS data processed {"connection_id":148477,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:05:20] local.INFO: Acknowledgment sent {"connection_id":148477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:05:45] local.INFO: TCP Data received {"connection_id":151110,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:05:45] local.INFO: Processing buffer {"connection_id":151110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:05:45] local.INFO: IMEI packet received {"connection_id":151110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":151110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:05:50] local.INFO: TCP Data received {"connection_id":151110,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:05:50] local.INFO: Processing buffer {"connection_id":151110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:05:50] local.INFO: IMEI packet received {"connection_id":151110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":151110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:05:50] local.INFO: TCP Data received {"connection_id":151110,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd144ae18012d1823400721b5c8004c01222d..."} 
[2026-08-05 15:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd144ae18012d1823400721b5c8004c01222d..."} 
[2026-08-05 15:05:50] local.INFO: Processing buffer {"connection_id":151110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd144ae18012d1823400721b5c8004c01222d..."} 
[2026-08-05 15:05:50] local.INFO: Packet analysis {"connection_id":151110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd144"} 
[2026-08-05 15:05:50] local.INFO: Extracted packet for processing {"connection_id":151110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd144"} 
[2026-08-05 15:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196120320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785922367000,"timestamp_ms":1785922367000,"timestamp_seconds":1785922367,"priority":1,"record_length":96,"hex_timestamp":"0000019fd144ae18"} 
[2026-08-05 15:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 15:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196120320001,"66":12743,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196120320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:05:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196120320001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":151110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:05:50] local.INFO: GPS data processed {"connection_id":151110,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:05:50] local.INFO: Acknowledgment sent {"connection_id":151110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:05:51] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:05:51] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:05:51] local.INFO: Packet analysis {"connection_id":148477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:05:51] local.INFO: Extracted packet for processing {"connection_id":148477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:05:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196068096001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785922442000,"timestamp_ms":1785922442000,"timestamp_seconds":1785922442,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145d310"} 
[2026-08-05 15:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:05: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-08-05 15:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:05: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-08-05 15:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196068096001,"66":25615,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196068096001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196068096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":148477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:05:51] local.INFO: GPS data processed {"connection_id":148477,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:05:51] local.INFO: Acknowledgment sent {"connection_id":148477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:05:51] local.INFO: TCP Data received {"connection_id":151110,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1450020012d1823400721b5c8004c01222c..."} 
[2026-08-05 15:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1450020012d1823400721b5c8004c01222c..."} 
[2026-08-05 15:05:51] local.INFO: Processing buffer {"connection_id":151110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1450020012d1823400721b5c8004c01222c..."} 
[2026-08-05 15:05:51] local.INFO: Packet analysis {"connection_id":151110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:05:51] local.INFO: Extracted packet for processing {"connection_id":151110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196125952001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785922388000,"timestamp_ms":1785922388000,"timestamp_seconds":1785922388,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1450020"} 
[2026-08-05 15:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-05 15:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196125952001,"66":12765,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196125952001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196125952001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":151110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:05:52] local.INFO: GPS data processed {"connection_id":151110,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:05:52] local.INFO: Acknowledgment sent {"connection_id":151110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:06:14] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:06:14] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:06:14] local.INFO: IMEI packet received {"connection_id":148478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":148478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:06:20] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:06:20] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:06:20] local.INFO: IMEI packet received {"connection_id":148478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":148478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:06:20] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:06:21] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:06:21] local.INFO: Packet analysis {"connection_id":148478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:06:21] local.INFO: Extracted packet for processing {"connection_id":148478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196068096001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785922442000,"timestamp_ms":1785922442000,"timestamp_seconds":1785922442,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145d310"} 
[2026-08-05 15:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:06: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-08-05 15:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:06: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-08-05 15:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196068096001,"66":25615,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196068096001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:06:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196068096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":148478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:06:21] local.INFO: GPS data processed {"connection_id":148478,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:06:21] local.INFO: Acknowledgment sent {"connection_id":148478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:06:23] local.INFO: TCP Data received {"connection_id":151110,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1454e40012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1454e40012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:06:23] local.INFO: Processing buffer {"connection_id":151110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1454e40012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:06:23] local.INFO: Packet analysis {"connection_id":151110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:06:23] local.INFO: Extracted packet for processing {"connection_id":151110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196131328001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785922408000,"timestamp_ms":1785922408000,"timestamp_seconds":1785922408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1454e40"} 
[2026-08-05 15:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:06: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-08-05 15:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-05 15:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196131328001,"66":12722,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196131328001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:06:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196131328001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":151110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:06:23] local.INFO: GPS data processed {"connection_id":151110,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:06:23] local.INFO: Acknowledgment sent {"connection_id":151110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:06:40] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:06:40] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:06:40] local.INFO: IMEI packet received {"connection_id":148687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":148687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:06:40] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:06:40] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:06:40] local.INFO: IMEI packet received {"connection_id":148687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":148687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:06:45] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:06:45] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:06:45] local.INFO: IMEI packet received {"connection_id":148687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":148687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:06:45] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145a048012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145a048012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:06:45] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145a048012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:06:45] local.INFO: Packet analysis {"connection_id":148687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:06:45] local.INFO: Extracted packet for processing {"connection_id":148687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196136448001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15: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-08-05 15:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785922429000,"timestamp_ms":1785922429000,"timestamp_seconds":1785922429,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145a048"} 
[2026-08-05 15:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 15:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196136448001,"66":12689,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196136448001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:06:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196136448001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":148687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:06:45] local.INFO: GPS data processed {"connection_id":148687,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:06:45] local.INFO: Acknowledgment sent {"connection_id":148687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:06:52] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:06:52] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:06:52] local.INFO: Packet analysis {"connection_id":148478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:06:52] local.INFO: Extracted packet for processing {"connection_id":148478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196068096001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785922442000,"timestamp_ms":1785922442000,"timestamp_seconds":1785922442,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145d310"} 
[2026-08-05 15:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196068096001,"66":25615,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196068096001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:06:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196068096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":148478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:06:52] local.INFO: GPS data processed {"connection_id":148478,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:06:52] local.INFO: Acknowledgment sent {"connection_id":148478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:07:16] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145f250012d1823400721b5c8004c012230..."} 
[2026-08-05 15:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145f250012d1823400721b5c8004c012230..."} 
[2026-08-05 15:07:16] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145f250012d1823400721b5c8004c012230..."} 
[2026-08-05 15:07:16] local.INFO: Packet analysis {"connection_id":148687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:07:16] local.INFO: Extracted packet for processing {"connection_id":148687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":48,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196141824001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785922450000,"timestamp_ms":1785922450000,"timestamp_seconds":1785922450,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145f250"} 
[2026-08-05 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-08-05 15:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 15:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196141824001,"66":12722,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196141824001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:07:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196141824001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":148687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:07:17] local.INFO: GPS data processed {"connection_id":148687,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:07:17] local.INFO: Acknowledgment sent {"connection_id":148687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:07:20] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:07:20] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:07:20] local.INFO: IMEI packet received {"connection_id":148688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":148688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:07:25] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:07:25] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:07:25] local.INFO: IMEI packet received {"connection_id":148688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":148688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:07:25] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:07:25] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:07:25] local.INFO: Packet analysis {"connection_id":148688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:07:25] local.INFO: Extracted packet for processing {"connection_id":148688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196068096001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785922442000,"timestamp_ms":1785922442000,"timestamp_seconds":1785922442,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145d310"} 
[2026-08-05 15:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196068096001,"66":25615,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196068096001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:07:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196068096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":148688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:07:25] local.INFO: GPS data processed {"connection_id":148688,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:07:25] local.INFO: Acknowledgment sent {"connection_id":148688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:07:30] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:07:30] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:07:30] local.INFO: Packet analysis {"connection_id":148688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:07:30] local.INFO: Extracted packet for processing {"connection_id":148688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196068096001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785922442000,"timestamp_ms":1785922442000,"timestamp_seconds":1785922442,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145d310"} 
[2026-08-05 15:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196068096001,"66":25615,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196068096001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:07:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196068096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":148688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:07:30] local.INFO: GPS data processed {"connection_id":148688,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:07:30] local.INFO: Acknowledgment sent {"connection_id":148688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:07:39] local.INFO: TCP Data received {"connection_id":151111,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:07:39] local.INFO: Processing buffer {"connection_id":151111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:07:39] local.INFO: IMEI packet received {"connection_id":151111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":151111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:07:43] local.INFO: TCP Data received {"connection_id":151111,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:07:43] local.INFO: Processing buffer {"connection_id":151111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:07:43] local.INFO: IMEI packet received {"connection_id":151111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":151111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:07:43] local.INFO: TCP Data received {"connection_id":151111,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1464458012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1464458012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:07:43] local.INFO: Processing buffer {"connection_id":151111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1464458012d1823400721b5c8004c01222e..."} 
[2026-08-05 15:07:43] local.INFO: Packet analysis {"connection_id":151111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd146"} 
[2026-08-05 15:07:43] local.INFO: Extracted packet for processing {"connection_id":151111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd146"} 
[2026-08-05 15:07:43] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196147200001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785922471000,"timestamp_ms":1785922471000,"timestamp_seconds":1785922471,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1464458"} 
[2026-08-05 15:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 15:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196147200001,"66":12689,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196147200001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:07:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:07:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196147200001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":151111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:07:43] local.INFO: GPS data processed {"connection_id":151111,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:07:43] local.INFO: Acknowledgment sent {"connection_id":151111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:08:14] local.INFO: TCP Data received {"connection_id":151111,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1469660012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1469660012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:08:14] local.INFO: Processing buffer {"connection_id":151111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1469660012d1823400721b5c8004c01222f..."} 
[2026-08-05 15:08:14] local.INFO: Packet analysis {"connection_id":151111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd146"} 
[2026-08-05 15:08:14] local.INFO: Extracted packet for processing {"connection_id":151111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd146"} 
[2026-08-05 15:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 15:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196152576001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785922492000,"timestamp_ms":1785922492000,"timestamp_seconds":1785922492,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1469660"} 
[2026-08-05 15:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 15:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196152576001,"66":12689,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196152576001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:08:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:08:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196152576001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":151111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:08:15] local.INFO: GPS data processed {"connection_id":151111,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:08:15] local.INFO: Acknowledgment sent {"connection_id":151111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:08:15] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:08:15] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:08:15] local.INFO: IMEI packet received {"connection_id":148479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":148479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:08:20] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:08:20] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:08:20] local.INFO: IMEI packet received {"connection_id":148479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":148479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:08:21] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:08:21] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:08:21] local.INFO: Packet analysis {"connection_id":148479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:08:21] local.INFO: Extracted packet for processing {"connection_id":148479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:08:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196068096001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785922442000,"timestamp_ms":1785922442000,"timestamp_seconds":1785922442,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145d310"} 
[2026-08-05 15:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:08: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-08-05 15: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:08: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-08-05 15: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-08-05 15:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196068096001,"66":25615,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196068096001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:08:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196068096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":148479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:08:21] local.INFO: GPS data processed {"connection_id":148479,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:08:21] local.INFO: Acknowledgment sent {"connection_id":148479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:08:39] local.INFO: TCP Data received {"connection_id":149686,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:08:39] local.INFO: Processing buffer {"connection_id":149686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:08:39] local.INFO: IMEI packet received {"connection_id":149686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":149686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:08:44] local.INFO: TCP Data received {"connection_id":149686,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:08:45] local.INFO: Processing buffer {"connection_id":149686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:08:45] local.INFO: IMEI packet received {"connection_id":149686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":149686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:08:45] local.INFO: TCP Data received {"connection_id":149686,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd146e868012d1823400721b5c8004c012231..."} 
[2026-08-05 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd146e868012d1823400721b5c8004c012231..."} 
[2026-08-05 15:08:45] local.INFO: Processing buffer {"connection_id":149686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd146e868012d1823400721b5c8004c012231..."} 
[2026-08-05 15:08:45] local.INFO: Packet analysis {"connection_id":149686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd146"} 
[2026-08-05 15:08:45] local.INFO: Extracted packet for processing {"connection_id":149686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd146"} 
[2026-08-05 15:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649736,"longitude_deg":75.6556608,"latitude_deg":11.9649736,"altitude":76,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196157952001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691432025161728,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785922513000,"timestamp_ms":1785922513000,"timestamp_seconds":1785922513,"priority":1,"record_length":96,"hex_timestamp":"0000019fd146e868"} 
[2026-08-05 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-08-05 15:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 15:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196157952001,"66":12461,"105":206,"83":41984,"24":0,"16":10691432025161728,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196157952001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:08:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691432025161728,"km_value":10691432025161.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196157952001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":149686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:08:45] local.INFO: GPS data processed {"connection_id":149686,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:08:45] local.INFO: Acknowledgment sent {"connection_id":149686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:08:52] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:08:52] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:08:52] local.INFO: Packet analysis {"connection_id":148479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:08:52] local.INFO: Extracted packet for processing {"connection_id":148479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:08:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196068096001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785922442000,"timestamp_ms":1785922442000,"timestamp_seconds":1785922442,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145d310"} 
[2026-08-05 15:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196068096001,"66":25615,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196068096001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:08:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196068096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":148479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:08:52] local.INFO: GPS data processed {"connection_id":148479,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:08:52] local.INFO: Acknowledgment sent {"connection_id":148479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:09:15] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:09:15] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:09:15] local.INFO: IMEI packet received {"connection_id":148480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":148480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:09:19] local.INFO: TCP Data received {"connection_id":149686,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd146ffd8012d1822400721b3e0004a00ce32..."} 
[2026-08-05 15:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd146ffd8012d1822400721b3e0004a00ce32..."} 
[2026-08-05 15:09:19] local.INFO: Processing buffer {"connection_id":149686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd146ffd8012d1822400721b3e0004a00ce32..."} 
[2026-08-05 15:09:19] local.INFO: Packet analysis {"connection_id":149686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd146"} 
[2026-08-05 15:09:19] local.INFO: Extracted packet for processing {"connection_id":149686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd146"} 
[2026-08-05 15:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649248,"longitude_deg":75.6556352,"latitude_deg":11.9649248,"altitude":74,"angle":206,"satellites":50,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-08-05 15:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196163328001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691457794965504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469653504,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785922519000,"timestamp_ms":1785922519000,"timestamp_seconds":1785922519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd146ffd8"} 
[2026-08-05 15:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196163328001,"66":12613,"105":206,"83":41984,"24":1,"16":10691457794965504,"45":1739304280469653504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196163328001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:09:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691457794965504,"km_value":10691457794965.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469653504,"description":"Unknown IO ID 45"} 
[2026-08-05 15:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196163328001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739304280469653504}} 
[2026-08-05 15:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":149686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:09:19] local.INFO: GPS data processed {"connection_id":149686,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:09:19] local.INFO: Acknowledgment sent {"connection_id":149686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:09:20] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:09:20] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:09:20] local.INFO: IMEI packet received {"connection_id":148480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":148480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:09:21] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:09:21] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd145d310012d7f934005afda600000005b30..."} 
[2026-08-05 15:09:21] local.INFO: Packet analysis {"connection_id":148480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:09:21] local.INFO: Extracted packet for processing {"connection_id":148480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd145"} 
[2026-08-05 15:09:21] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":48,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196068096001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785922442000,"timestamp_ms":1785922442000,"timestamp_seconds":1785922442,"priority":1,"record_length":96,"hex_timestamp":"0000019fd145d310"} 
[2026-08-05 15:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:09: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-08-05 15:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:09: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-08-05 15:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196068096001,"66":25615,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196068096001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:09:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196068096001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":148480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:09:21] local.INFO: GPS data processed {"connection_id":148480,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:09:21] local.INFO: Acknowledgment sent {"connection_id":148480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:09:39] local.INFO: TCP Data received {"connection_id":149687,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:09:39] local.INFO: Processing buffer {"connection_id":149687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:09:39] local.INFO: IMEI packet received {"connection_id":149687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":149687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:09:45] local.INFO: TCP Data received {"connection_id":149687,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:09:45] local.INFO: Processing buffer {"connection_id":149687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:09:45] local.INFO: IMEI packet received {"connection_id":149687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":149687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:09:45] local.INFO: TCP Data received {"connection_id":149687,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14751e0012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14751e0012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:09:45] local.INFO: Processing buffer {"connection_id":149687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14751e0012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:09:45] local.INFO: Packet analysis {"connection_id":149687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd147"} 
[2026-08-05 15:09:45] local.INFO: Extracted packet for processing {"connection_id":149687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd147"} 
[2026-08-05 15:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-05 15:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196164864001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691462089932800,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492817920,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785922540000,"timestamp_ms":1785922540000,"timestamp_seconds":1785922540,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14751e0"} 
[2026-08-05 15:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 15:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196164864001,"66":12287,"105":206,"83":41984,"24":0,"16":10691462089932800,"45":1739022805492817920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196164864001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:09:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691462089932800,"km_value":10691462089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492817920,"description":"Unknown IO ID 45"} 
[2026-08-05 15:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196164864001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492817920}} 
[2026-08-05 15:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":149687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:09:45] local.INFO: GPS data processed {"connection_id":149687,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:09:45] local.INFO: Acknowledgment sent {"connection_id":149687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:09:52] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:09:52] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:09:52] local.INFO: Packet analysis {"connection_id":148480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14a"} 
[2026-08-05 15:09:52] local.INFO: Extracted packet for processing {"connection_id":148480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14a"} 
[2026-08-05 15:09:52] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":4,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196145152001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785922743000,"timestamp_ms":1785922743000,"timestamp_seconds":1785922743,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14a6ad8"} 
[2026-08-05 15:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196145152001,"66":25604,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196145152001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:09:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196145152001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":148480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:09:52] local.INFO: GPS data processed {"connection_id":148480,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:09:52] local.INFO: Acknowledgment sent {"connection_id":148480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:10:14] local.INFO: TCP Data received {"connection_id":149688,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:10:14] local.INFO: Processing buffer {"connection_id":149688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:10:14] local.INFO: IMEI packet received {"connection_id":149688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":149688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:10:16] local.INFO: TCP Data received {"connection_id":149687,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd147a3e8012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd147a3e8012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:10:16] local.INFO: Processing buffer {"connection_id":149687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd147a3e8012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:10:16] local.INFO: Packet analysis {"connection_id":149687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd147"} 
[2026-08-05 15:10:16] local.INFO: Extracted packet for processing {"connection_id":149687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd147"} 
[2026-08-05 15:10:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-05 15:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196170240001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691462089932800,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785922561000,"timestamp_ms":1785922561000,"timestamp_seconds":1785922561,"priority":1,"record_length":96,"hex_timestamp":"0000019fd147a3e8"} 
[2026-08-05 15:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 15:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196170240001,"66":12580,"105":206,"83":41984,"24":0,"16":10691462089932800,"45":1738882068004450304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196170240001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:10:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:10:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691462089932800,"km_value":10691462089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196170240001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-08-05 15:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":149687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:10:17] local.INFO: GPS data processed {"connection_id":149687,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:10:17] local.INFO: Acknowledgment sent {"connection_id":149687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:10:20] local.INFO: TCP Data received {"connection_id":149688,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:10:20] local.INFO: Processing buffer {"connection_id":149688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:10:20] local.INFO: IMEI packet received {"connection_id":149688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":149688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:10:20] local.INFO: TCP Data received {"connection_id":149688,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:10:20] local.INFO: Processing buffer {"connection_id":149688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:10:20] local.INFO: Packet analysis {"connection_id":149688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14a"} 
[2026-08-05 15:10:20] local.INFO: Extracted packet for processing {"connection_id":149688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14a"} 
[2026-08-05 15:10:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":4,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196145152001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785922743000,"timestamp_ms":1785922743000,"timestamp_seconds":1785922743,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14a6ad8"} 
[2026-08-05 15:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:10: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-08-05 15: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:10: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-08-05 15: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-08-05 15:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196145152001,"66":25604,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196145152001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:10:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196145152001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":149688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:10:20] local.INFO: GPS data processed {"connection_id":149688,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:10:20] local.INFO: Acknowledgment sent {"connection_id":149688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:10:39] local.INFO: TCP Data received {"connection_id":148689,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:10:39] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:10:39] local.INFO: IMEI packet received {"connection_id":148689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":148689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:10:45] local.INFO: TCP Data received {"connection_id":148689,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:10:45] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:10:45] local.INFO: IMEI packet received {"connection_id":148689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":148689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:10:45] local.INFO: TCP Data received {"connection_id":148689,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd147f5f0012d1821c00721b3b0004a00d52e..."} 
[2026-08-05 15:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd147f5f0012d1821c00721b3b0004a00d52e..."} 
[2026-08-05 15:10:45] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd147f5f0012d1821c00721b3b0004a00d52e..."} 
[2026-08-05 15:10:45] local.INFO: Packet analysis {"connection_id":148689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd147"} 
[2026-08-05 15:10:45] local.INFO: Extracted packet for processing {"connection_id":148689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd147"} 
[2026-08-05 15:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-05 15:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196175616001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691462089932800,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785922582000,"timestamp_ms":1785922582000,"timestamp_seconds":1785922582,"priority":1,"record_length":96,"hex_timestamp":"0000019fd147f5f0"} 
[2026-08-05 15:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-05 15:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196175616001,"66":12558,"105":206,"83":41984,"24":0,"16":10691462089932800,"45":1738882068004450304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196175616001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:10:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691462089932800,"km_value":10691462089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196175616001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-08-05 15:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":148689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:10:45] local.INFO: GPS data processed {"connection_id":148689,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:10:45] local.INFO: Acknowledgment sent {"connection_id":148689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:10:51] local.INFO: TCP Data received {"connection_id":149688,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:10:51] local.INFO: Processing buffer {"connection_id":149688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:10:51] local.INFO: Packet analysis {"connection_id":149688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14a"} 
[2026-08-05 15:10:51] local.INFO: Extracted packet for processing {"connection_id":149688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14a"} 
[2026-08-05 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":4,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196145152001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785922743000,"timestamp_ms":1785922743000,"timestamp_seconds":1785922743,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14a6ad8"} 
[2026-08-05 15:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:10: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-08-05 15: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:10: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-08-05 15:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196145152001,"66":25604,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196145152001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196145152001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":149688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:10:52] local.INFO: GPS data processed {"connection_id":149688,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:10:52] local.INFO: Acknowledgment sent {"connection_id":149688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:11:16] local.INFO: TCP Data received {"connection_id":148689,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14847f8012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14847f8012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:11:16] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14847f8012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:11:16] local.INFO: Packet analysis {"connection_id":148689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd148"} 
[2026-08-05 15:11:16] local.INFO: Extracted packet for processing {"connection_id":148689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd148"} 
[2026-08-05 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-05 15:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196180992001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691462089932800,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785922603000,"timestamp_ms":1785922603000,"timestamp_seconds":1785922603,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14847f8"} 
[2026-08-05 15:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3511043160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385889052341704,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049783372,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 15:11:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4981026,"corrected_to":0} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4224516096,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,251,159,163,45,192,179,74,47,10,66,81,255,64,1,240,69,227,209,33,4,113,205,150,35,200,239,49,2,37,7,76,106,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4981026,"validated":0}]} 
[2026-08-05 15:11:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332496352351879168,"timestamp_seconds":5332496352351879.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 15:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196180992001,"66":12645,"105":206,"83":41984,"24":0,"16":10691462089932800,"45":1738882068004450304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196180992001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:11:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691462089932800,"km_value":10691462089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196180992001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-08-05 15:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":148689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:11:17] local.INFO: GPS data processed {"connection_id":148689,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:11:17] local.INFO: Acknowledgment sent {"connection_id":148689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:11:20] local.INFO: TCP Data received {"connection_id":148481,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:11:20] local.INFO: Processing buffer {"connection_id":148481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:11:20] local.INFO: IMEI packet received {"connection_id":148481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":148481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:11:25] local.INFO: TCP Data received {"connection_id":148481,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:11:25] local.INFO: Processing buffer {"connection_id":148481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:11:25] local.INFO: IMEI packet received {"connection_id":148481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":148481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:11:25] local.INFO: TCP Data received {"connection_id":148481,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:11:25] local.INFO: Processing buffer {"connection_id":148481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:11:25] local.INFO: Packet analysis {"connection_id":148481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14a"} 
[2026-08-05 15:11:25] local.INFO: Extracted packet for processing {"connection_id":148481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14a"} 
[2026-08-05 15:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":4,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196145152001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785922743000,"timestamp_ms":1785922743000,"timestamp_seconds":1785922743,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14a6ad8"} 
[2026-08-05 15:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196145152001,"66":25604,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196145152001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:11:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196145152001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":148481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:11:25] local.INFO: GPS data processed {"connection_id":148481,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:11:25] local.INFO: Acknowledgment sent {"connection_id":148481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:11:30] local.INFO: TCP Data received {"connection_id":148481,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:11:30] local.INFO: Processing buffer {"connection_id":148481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14a6ad8012d7f934005afda600004005b2c..."} 
[2026-08-05 15:11:30] local.INFO: Packet analysis {"connection_id":148481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14a"} 
[2026-08-05 15:11:30] local.INFO: Extracted packet for processing {"connection_id":148481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14a"} 
[2026-08-05 15:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":4,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196145152001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785922743000,"timestamp_ms":1785922743000,"timestamp_seconds":1785922743,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14a6ad8"} 
[2026-08-05 15:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196145152001,"66":25604,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196145152001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:11:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196145152001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":148481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:11:30] local.INFO: GPS data processed {"connection_id":148481,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:11:30] local.INFO: Acknowledgment sent {"connection_id":148481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:11:39] local.INFO: TCP Data received {"connection_id":149689,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:11:39] local.INFO: Processing buffer {"connection_id":149689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:11:39] local.INFO: IMEI packet received {"connection_id":149689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":149689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:11:45] local.INFO: TCP Data received {"connection_id":149689,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:11:45] local.INFO: Processing buffer {"connection_id":149689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:11:45] local.INFO: IMEI packet received {"connection_id":149689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":149689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:11:45] local.INFO: TCP Data received {"connection_id":149689,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1489a00012d1821c00721b3b0004a00d52e..."} 
[2026-08-05 15:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1489a00012d1821c00721b3b0004a00d52e..."} 
[2026-08-05 15:11:45] local.INFO: Processing buffer {"connection_id":149689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1489a00012d1821c00721b3b0004a00d52e..."} 
[2026-08-05 15:11:45] local.INFO: Packet analysis {"connection_id":149689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd148"} 
[2026-08-05 15:11:45] local.INFO: Extracted packet for processing {"connection_id":149689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd148"} 
[2026-08-05 15:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196186368001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691462089932800,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785922624000,"timestamp_ms":1785922624000,"timestamp_seconds":1785922624,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1489a00"} 
[2026-08-05 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-08-05 15:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-05 15:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196186368001,"66":12613,"105":206,"83":41984,"24":0,"16":10691462089932800,"45":1738882068004450304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196186368001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:11:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691462089932800,"km_value":10691462089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196186368001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-08-05 15:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":149689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:11:45] local.INFO: GPS data processed {"connection_id":149689,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:11:45] local.INFO: Acknowledgment sent {"connection_id":149689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:12:14] local.INFO: TCP Data received {"connection_id":149690,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:14] local.INFO: Processing buffer {"connection_id":149690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:14] local.INFO: IMEI packet received {"connection_id":149690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":149690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:12:14] local.INFO: TCP Data received {"connection_id":149690,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:14] local.INFO: Processing buffer {"connection_id":149690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:14] local.INFO: IMEI packet received {"connection_id":149690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":149690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:12:15] local.INFO: TCP Data received {"connection_id":149690,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:15] local.INFO: Processing buffer {"connection_id":149690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:15] local.INFO: IMEI packet received {"connection_id":149690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":149690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:12:16] local.INFO: TCP Data received {"connection_id":149689,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14c2058012d1821c00721b3b0004a00d52c..."} 
[2026-08-05 15:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14c2058012d1821c00721b3b0004a00d52c..."} 
[2026-08-05 15:12:16] local.INFO: Processing buffer {"connection_id":149689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14c2058012d1821c00721b3b0004a00d52c..."} 
[2026-08-05 15:12:16] local.INFO: Packet analysis {"connection_id":149689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14c"} 
[2026-08-05 15:12:16] local.INFO: Extracted packet for processing {"connection_id":149689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14c"} 
[2026-08-05 15:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196245504001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691462089932800,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785922855000,"timestamp_ms":1785922855000,"timestamp_seconds":1785922855,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14c2058"} 
[2026-08-05 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-08-05 15:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 15:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196245504001,"66":12548,"105":206,"83":41984,"24":0,"16":10691462089932800,"45":1738882068004450304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196245504001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:12:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:12:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691462089932800,"km_value":10691462089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196245504001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-08-05 15:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":149689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:12:16] local.INFO: GPS data processed {"connection_id":149689,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:12:16] local.INFO: Acknowledgment sent {"connection_id":149689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:12:20] local.INFO: TCP Data received {"connection_id":149690,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:20] local.INFO: Processing buffer {"connection_id":149690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:12:20] local.INFO: IMEI packet received {"connection_id":149690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":149690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:12:20] local.INFO: TCP Data received {"connection_id":149690,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14cc080012d7f934005afda600000005b2f..."} 
[2026-08-05 15:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14cc080012d7f934005afda600000005b2f..."} 
[2026-08-05 15:12:20] local.INFO: Processing buffer {"connection_id":149690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14cc080012d7f934005afda600000005b2f..."} 
[2026-08-05 15:12:20] local.INFO: Packet analysis {"connection_id":149690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14c"} 
[2026-08-05 15:12:20] local.INFO: Extracted packet for processing {"connection_id":149690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14c"} 
[2026-08-05 15:12:20] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410784,"longitude_deg":76.3335488,"latitude_deg":9.5410784,"altitude":0,"angle":91,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afda60","is_valid_coordinates":true} 
[2026-08-05 15:12: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-08-05 15:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196222208001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467287494295552,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785922896000,"timestamp_ms":1785922896000,"timestamp_seconds":1785922896,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14cc080"} 
[2026-08-05 15:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 15:12: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-08-05 15:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196222208001,"66":25549,"250":206,"85":12544,"24":0,"16":370467287494295552,"45":9192761657562652672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196222208001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:12:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467287494295552,"km_value":370467287494295.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196222208001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":149690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:12:20] local.INFO: GPS data processed {"connection_id":149690,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:12:20] local.INFO: Acknowledgment sent {"connection_id":149690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:12:45] local.INFO: TCP Data received {"connection_id":151112,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:12:45] local.INFO: Processing buffer {"connection_id":151112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:12:45] local.INFO: IMEI packet received {"connection_id":151112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":151112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:12:50] local.INFO: TCP Data received {"connection_id":151112,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:12:50] local.INFO: Processing buffer {"connection_id":151112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:12:50] local.INFO: IMEI packet received {"connection_id":151112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":151112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:12:50] local.INFO: TCP Data received {"connection_id":151112,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14c7260012d1821c00721b3b0004a00d52c..."} 
[2026-08-05 15:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14c7260012d1821c00721b3b0004a00d52c..."} 
[2026-08-05 15:12:50] local.INFO: Processing buffer {"connection_id":151112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14c7260012d1821c00721b3b0004a00d52c..."} 
[2026-08-05 15:12:50] local.INFO: Packet analysis {"connection_id":151112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14c"} 
[2026-08-05 15:12:50] local.INFO: Extracted packet for processing {"connection_id":151112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14c"} 
[2026-08-05 15:12:50] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196250880001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691462089932800,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785922876000,"timestamp_ms":1785922876000,"timestamp_seconds":1785922876,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14c7260"} 
[2026-08-05 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-08-05 15:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3511301160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4224974848,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:50] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,251,159,206,45,192,179,74,42,10,66,124,1,240,4,227,209,33,113,205,134,176,46,239,49,2,37,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 15:12:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332496343761944576,"timestamp_seconds":5332496343761945.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 15:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196250880001,"66":12548,"105":206,"83":41984,"24":0,"16":10691462089932800,"45":1738882068004450304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196250880001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:12:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:12:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691462089932800,"km_value":10691462089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196250880001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-08-05 15:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":151112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:12:50] local.INFO: GPS data processed {"connection_id":151112,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:12:50] local.INFO: Acknowledgment sent {"connection_id":151112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:12:51] local.INFO: TCP Data received {"connection_id":149690,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14cc850012d7f934005afd8400000006b2f..."} 
[2026-08-05 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14cc850012d7f934005afd8400000006b2f..."} 
[2026-08-05 15:12:51] local.INFO: Processing buffer {"connection_id":149690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14cc850012d7f934005afd8400000006b2f..."} 
[2026-08-05 15:12:51] local.INFO: Packet analysis {"connection_id":149690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14c"} 
[2026-08-05 15:12:51] local.INFO: Extracted packet for processing {"connection_id":149690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14c"} 
[2026-08-05 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":763335488,"raw_latitude":95410240,"longitude_deg":76.3335488,"latitude_deg":9.541024,"altitude":0,"angle":107,"satellites":47,"speed":0,"hex_longitude":"2d7f9340","hex_latitude":"05afd840","is_valid_coordinates":true} 
[2026-08-05 15:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196261376001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467291789262848,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562652672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785922898000,"timestamp_ms":1785922898000,"timestamp_seconds":1785922898,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14cc850"} 
[2026-08-05 15:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 15:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196261376001,"66":25375,"250":206,"85":12544,"24":0,"16":370467291789262848,"45":9192761657562652672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196261376001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:12:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467291789262848,"km_value":370467291789262.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562652672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196261376001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192761657562652672}} 
[2026-08-05 15:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":149690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:12:51] local.INFO: GPS data processed {"connection_id":149690,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:12:51] local.INFO: Acknowledgment sent {"connection_id":149690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:12:55] local.INFO: TCP Data received {"connection_id":151112,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14cc468012d1821c00721b3b0004a00d52d..."} 
[2026-08-05 15:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14cc468012d1821c00721b3b0004a00d52d..."} 
[2026-08-05 15:12:55] local.INFO: Processing buffer {"connection_id":151112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14cc468012d1821c00721b3b0004a00d52d..."} 
[2026-08-05 15:12:55] local.INFO: Packet analysis {"connection_id":151112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14c"} 
[2026-08-05 15:12:55] local.INFO: Extracted packet for processing {"connection_id":151112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14c"} 
[2026-08-05 15:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-05 15:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196256256001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691462089932800,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785922897000,"timestamp_ms":1785922897000,"timestamp_seconds":1785922897,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14cc468"} 
[2026-08-05 15:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3511322160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4224974848,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:12:55] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,251,159,32,45,192,179,74,44,10,66,206,42,124,1,240,14,227,209,33,4,113,205,216,176,46,239,49,2,37,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 15:12:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332496343761944576,"timestamp_seconds":5332496343761945.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 15:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196256256001,"66":12526,"105":206,"83":41984,"24":0,"16":10691462089932800,"45":1738882068004450304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196256256001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:12:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691462089932800,"km_value":10691462089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196256256001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-08-05 15:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":151112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:12:55] local.INFO: GPS data processed {"connection_id":151112,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:12:55] local.INFO: Acknowledgment sent {"connection_id":151112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:13:15] local.INFO: TCP Data received {"connection_id":148690,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:13:15] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:13:15] local.INFO: IMEI packet received {"connection_id":148690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":148690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:13:20] local.INFO: TCP Data received {"connection_id":148690,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:13:20] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:13:20] local.INFO: IMEI packet received {"connection_id":148690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":148690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:13:20] local.INFO: TCP Data received {"connection_id":148690,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14d02e8012d7f944005afd8000000012630..."} 
[2026-08-05 15:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14d02e8012d7f944005afd8000000012630..."} 
[2026-08-05 15:13:20] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14d02e8012d7f944005afd8000000012630..."} 
[2026-08-05 15:13:20] local.INFO: Packet analysis {"connection_id":148690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:13:20] local.INFO: Extracted packet for processing {"connection_id":148690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:13:20] local.INFO: GPS Element Parsed {"raw_longitude":763335744,"raw_latitude":95410176,"longitude_deg":76.3335744,"latitude_deg":9.5410176,"altitude":0,"angle":294,"satellites":48,"speed":1,"hex_longitude":"2d7f9440","hex_latitude":"05afd800","is_valid_coordinates":true} 
[2026-08-05 15:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196261888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467304674164736,"note":"Value kept but may cause issues"} 
[2026-08-05 15:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192761657562513408,"note":"Value kept but may cause issues"} 
[2026-08-05 15:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785922913000,"timestamp_ms":1785922913000,"timestamp_seconds":1785922913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14d02e8"} 
[2026-08-05 15:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 15:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196261888001,"66":27745,"250":206,"85":12544,"24":1,"16":370467304674164736,"45":9192761657562513408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196261888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:13:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467304674164736,"km_value":370467304674164.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192761657562513408,"description":"Unknown IO ID 45"} 
[2026-08-05 15:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196261888001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9192761657562513408}} 
[2026-08-05 15:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":148690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:13:20] local.INFO: GPS data processed {"connection_id":148690,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:13:20] local.INFO: Acknowledgment sent {"connection_id":148690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:13:39] local.INFO: TCP Data received {"connection_id":151113,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:13:39] local.INFO: Processing buffer {"connection_id":151113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:13:39] local.INFO: IMEI packet received {"connection_id":151113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":151113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:13:40] local.INFO: TCP Data received {"connection_id":151113,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:13:40] local.INFO: Processing buffer {"connection_id":151113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:13:40] local.INFO: IMEI packet received {"connection_id":151113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":151113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:13:45] local.INFO: TCP Data received {"connection_id":151113,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:13:45] local.INFO: Processing buffer {"connection_id":151113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:13:45] local.INFO: IMEI packet received {"connection_id":151113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":151113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:13:45] local.INFO: TCP Data received {"connection_id":151113,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14d1670012d1821c00721b3b0004a00d52d..."} 
[2026-08-05 15:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14d1670012d1821c00721b3b0004a00d52d..."} 
[2026-08-05 15:13:45] local.INFO: Processing buffer {"connection_id":151113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14d1670012d1821c00721b3b0004a00d52d..."} 
[2026-08-05 15:13:45] local.INFO: Packet analysis {"connection_id":151113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:13:45] local.INFO: Extracted packet for processing {"connection_id":151113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-05 15:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196261632001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691462089932800,"note":"Value kept but may cause issues"} 
[2026-08-05 15:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785922918000,"timestamp_ms":1785922918000,"timestamp_seconds":1785922918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14d1670"} 
[2026-08-05 15:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196261632001,"66":12537,"105":206,"83":41984,"24":0,"16":10691462089932800,"45":1738882068004450304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196261632001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:13:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691462089932800,"km_value":10691462089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196261632001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-08-05 15:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":151113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:13:45] local.INFO: GPS data processed {"connection_id":151113,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:13:45] local.INFO: Acknowledgment sent {"connection_id":151113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:13:51] local.INFO: TCP Data received {"connection_id":148690,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14d54f0012d7f944005afd8280000013130..."} 
[2026-08-05 15:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14d54f0012d7f944005afd8280000013130..."} 
[2026-08-05 15:13:51] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14d54f0012d7f944005afd8280000013130..."} 
[2026-08-05 15:13:51] local.INFO: Packet analysis {"connection_id":148690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:13:51] local.INFO: Extracted packet for processing {"connection_id":148690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:13:51] local.INFO: GPS Element Parsed {"raw_longitude":763335744,"raw_latitude":95410216,"longitude_deg":76.3335744,"latitude_deg":9.5410216,"altitude":0,"angle":305,"satellites":48,"speed":0,"hex_longitude":"2d7f9440","hex_latitude":"05afd828","is_valid_coordinates":true} 
[2026-08-05 15:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196265728001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467317559066624,"note":"Value kept but may cause issues"} 
[2026-08-05 15:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193043132539207680,"note":"Value kept but may cause issues"} 
[2026-08-05 15:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785922934000,"timestamp_ms":1785922934000,"timestamp_seconds":1785922934,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14d54f0"} 
[2026-08-05 15:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 15:13: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-08-05 15:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196265728001,"66":27713,"250":206,"85":12544,"24":0,"16":370467317559066624,"45":9193043132539207680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196265728001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:13:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467317559066624,"km_value":370467317559066.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193043132539207680,"description":"Unknown IO ID 45"} 
[2026-08-05 15:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196265728001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193043132539207680}} 
[2026-08-05 15:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":148690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:13:51] local.INFO: GPS data processed {"connection_id":148690,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:13:51] local.INFO: Acknowledgment sent {"connection_id":148690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:14:15] local.INFO: TCP Data received {"connection_id":151114,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:14:15] local.INFO: Processing buffer {"connection_id":151114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:14:15] local.INFO: IMEI packet received {"connection_id":151114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":151114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:14:16] local.INFO: TCP Data received {"connection_id":151114,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:14:16] local.INFO: Processing buffer {"connection_id":151114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:14:16] local.INFO: IMEI packet received {"connection_id":151114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":151114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:14:16] local.INFO: TCP Data received {"connection_id":151113,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14d6878012d1821c00721b3b0004a00d530..."} 
[2026-08-05 15:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14d6878012d1821c00721b3b0004a00d530..."} 
[2026-08-05 15:14:16] local.INFO: Processing buffer {"connection_id":151113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14d6878012d1821c00721b3b0004a00d530..."} 
[2026-08-05 15:14:16] local.INFO: Packet analysis {"connection_id":151113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:14:16] local.INFO: Extracted packet for processing {"connection_id":151113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:14:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":48,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-05 15:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196267008001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691462089932800,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785922939000,"timestamp_ms":1785922939000,"timestamp_seconds":1785922939,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14d6878"} 
[2026-08-05 15:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 15:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196267008001,"66":12526,"105":206,"83":41984,"24":0,"16":10691462089932800,"45":1738882068004450304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196267008001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:14:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:14:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691462089932800,"km_value":10691462089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196267008001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-08-05 15:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":151113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:14:17] local.INFO: GPS data processed {"connection_id":151113,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:14:17] local.INFO: Acknowledgment sent {"connection_id":151113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:14:19] local.INFO: TCP Data received {"connection_id":151114,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:14:19] local.INFO: Processing buffer {"connection_id":151114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:14:19] local.INFO: IMEI packet received {"connection_id":151114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":151114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:14:20] local.INFO: TCP Data received {"connection_id":151114,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14da6f8012d7f93c005afd8900000013131..."} 
[2026-08-05 15:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14da6f8012d7f93c005afd8900000013131..."} 
[2026-08-05 15:14:20] local.INFO: Processing buffer {"connection_id":151114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14da6f8012d7f93c005afd8900000013131..."} 
[2026-08-05 15:14:20] local.INFO: Packet analysis {"connection_id":151114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:14:20] local.INFO: Extracted packet for processing {"connection_id":151114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:14:20] local.INFO: GPS Element Parsed {"raw_longitude":763335616,"raw_latitude":95410320,"longitude_deg":76.3335616,"latitude_deg":9.541032,"altitude":0,"angle":305,"satellites":49,"speed":0,"hex_longitude":"2d7f93c0","hex_latitude":"05afd890","is_valid_coordinates":true} 
[2026-08-05 15:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196271104001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467334738935808,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193043132539217920,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785922955000,"timestamp_ms":1785922955000,"timestamp_seconds":1785922955,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14da6f8"} 
[2026-08-05 15:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 15:14: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-08-05 15:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196271104001,"66":27767,"250":206,"85":12544,"24":0,"16":370467334738935808,"45":9193043132539217920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196271104001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:14:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467334738935808,"km_value":370467334738935.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193043132539217920,"description":"Unknown IO ID 45"} 
[2026-08-05 15:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196271104001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193043132539217920}} 
[2026-08-05 15:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":151114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:14:20] local.INFO: GPS data processed {"connection_id":151114,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:14:20] local.INFO: Acknowledgment sent {"connection_id":151114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:14:39] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:14:39] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:14:39] local.INFO: IMEI packet received {"connection_id":148482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":148482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:14:43] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:14:43] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:14:43] local.INFO: IMEI packet received {"connection_id":148482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":148482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:14:43] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14dbe68012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14dbe68012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:14:43] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14dbe68012d1821c00721b3b0004a00d52f..."} 
[2026-08-05 15:14:43] local.INFO: Packet analysis {"connection_id":148482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:14:43] local.INFO: Extracted packet for processing {"connection_id":148482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14d"} 
[2026-08-05 15:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-05 15:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196272384001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691462089932800,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785922961000,"timestamp_ms":1785922961000,"timestamp_seconds":1785922961,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14dbe68"} 
[2026-08-05 15:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 15:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196272384001,"66":12461,"105":206,"83":41984,"24":0,"16":10691462089932800,"45":1738882068004450304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196272384001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:14:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:14:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691462089932800,"km_value":10691462089932.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196272384001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-08-05 15:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":148482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:14:43] local.INFO: GPS data processed {"connection_id":148482,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:14:43] local.INFO: Acknowledgment sent {"connection_id":148482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:14:51] local.INFO: TCP Data received {"connection_id":151114,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14ecbf0012d7f9b8005afd5b0000400b231..."} 
[2026-08-05 15:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14ecbf0012d7f9b8005afd5b0000400b231..."} 
[2026-08-05 15:14:51] local.INFO: Processing buffer {"connection_id":151114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14ecbf0012d7f9b8005afd5b0000400b231..."} 
[2026-08-05 15:14:51] local.INFO: Packet analysis {"connection_id":151114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14e"} 
[2026-08-05 15:14:51] local.INFO: Extracted packet for processing {"connection_id":151114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14e"} 
[2026-08-05 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95409584,"longitude_deg":76.33376,"latitude_deg":9.5409584,"altitude":4,"angle":178,"satellites":49,"speed":5,"hex_longitude":"2d7f9b80","hex_latitude":"05afd5b0","is_valid_coordinates":true} 
[2026-08-05 15:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196295168001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467553782267904,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195224563608674304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785923030000,"timestamp_ms":1785923030000,"timestamp_seconds":1785923030,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14ecbf0"} 
[2026-08-05 15:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-05 15:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196295168001,"66":28050,"250":206,"85":12544,"24":5,"16":370467553782267904,"45":9195224563608674304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196295168001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:14:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467553782267904,"km_value":370467553782267.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195224563608674304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196295168001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9195224563608674304}} 
[2026-08-05 15:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":151114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:14:51] local.INFO: GPS data processed {"connection_id":151114,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:14:51] local.INFO: Acknowledgment sent {"connection_id":151114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:15:14] local.INFO: TCP Data received {"connection_id":148691,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:15:14] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:15:14] local.INFO: IMEI packet received {"connection_id":148691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":148691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:15:14] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14e0c88012d181f400721b100004b00dd2c..."} 
[2026-08-05 15:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14e0c88012d181f400721b100004b00dd2c..."} 
[2026-08-05 15:15:14] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14e0c88012d181f400721b100004b00dd2c..."} 
[2026-08-05 15:15:14] local.INFO: Packet analysis {"connection_id":148482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14e"} 
[2026-08-05 15:15:14] local.INFO: Extracted packet for processing {"connection_id":148482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14e"} 
[2026-08-05 15:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648512,"longitude_deg":75.6555584,"latitude_deg":11.9648512,"altitude":75,"angle":221,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b100","is_valid_coordinates":true} 
[2026-08-05 15:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196278016001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691513629540352,"note":"Value kept but may cause issues"} 
[2026-08-05 15:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785922981000,"timestamp_ms":1785922981000,"timestamp_seconds":1785922981,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14e0c88"} 
[2026-08-05 15:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196278016001,"66":12428,"105":206,"83":41984,"24":0,"16":10691513629540352,"45":1738882068004450304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196278016001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:15:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691513629540352,"km_value":10691513629540.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196278016001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-08-05 15:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":148482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:15:14] local.INFO: GPS data processed {"connection_id":148482,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:15:14] local.INFO: Acknowledgment sent {"connection_id":148482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:15:21] local.INFO: TCP Data received {"connection_id":148691,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:15:21] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:15:21] local.INFO: IMEI packet received {"connection_id":148691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":148691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:15:22] local.INFO: TCP Data received {"connection_id":148691,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14ecfd8012d7f9c0005afd528000500a333..."} 
[2026-08-05 15:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14ecfd8012d7f9c0005afd528000500a333..."} 
[2026-08-05 15:15:22] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14ecfd8012d7f9c0005afd528000500a333..."} 
[2026-08-05 15:15:22] local.INFO: Packet analysis {"connection_id":148691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14e"} 
[2026-08-05 15:15:22] local.INFO: Extracted packet for processing {"connection_id":148691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14e"} 
[2026-08-05 15:15:22] local.INFO: GPS Element Parsed {"raw_longitude":763337728,"raw_latitude":95409448,"longitude_deg":76.3337728,"latitude_deg":9.5409448,"altitude":5,"angle":163,"satellites":51,"speed":3,"hex_longitude":"2d7f9c00","hex_latitude":"05afd528","is_valid_coordinates":true} 
[2026-08-05 15:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196295680001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467562372202496,"note":"Value kept but may cause issues"} 
[2026-08-05 15:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826120208384,"note":"Value kept but may cause issues"} 
[2026-08-05 15:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785923031000,"timestamp_ms":1785923031000,"timestamp_seconds":1785923031,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14ecfd8"} 
[2026-08-05 15:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-05 15:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196295680001,"66":28050,"250":206,"85":12544,"24":3,"16":370467562372202496,"45":9195083826120208384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196295680001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:15:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:15:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467562372202496,"km_value":370467562372202.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826120208384,"description":"Unknown IO ID 45"} 
[2026-08-05 15:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196295680001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9195083826120208384}} 
[2026-08-05 15:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":148691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:15:22] local.INFO: GPS data processed {"connection_id":148691,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:15:22] local.INFO: Acknowledgment sent {"connection_id":148691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:15:39] local.INFO: TCP Data received {"connection_id":148692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:15:39] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:15:39] local.INFO: IMEI packet received {"connection_id":148692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":148692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:15:44] local.INFO: TCP Data received {"connection_id":148692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:15:44] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:15:44] local.INFO: IMEI packet received {"connection_id":148692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":148692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:15:45] local.INFO: TCP Data received {"connection_id":148692,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14e5e90012d181f400721b100004b00dd2b..."} 
[2026-08-05 15:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14e5e90012d181f400721b100004b00dd2b..."} 
[2026-08-05 15:15:45] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14e5e90012d181f400721b100004b00dd2b..."} 
[2026-08-05 15:15:45] local.INFO: Packet analysis {"connection_id":148692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14e"} 
[2026-08-05 15:15:45] local.INFO: Extracted packet for processing {"connection_id":148692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14e"} 
[2026-08-05 15:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648512,"longitude_deg":75.6555584,"latitude_deg":11.9648512,"altitude":75,"angle":221,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b100","is_valid_coordinates":true} 
[2026-08-05 15:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196283136001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691513629540352,"note":"Value kept but may cause issues"} 
[2026-08-05 15:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562497536,"note":"Value kept but may cause issues"} 
[2026-08-05 15: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-08-05 15:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923002000,"timestamp_ms":1785923002000,"timestamp_seconds":1785923002,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14e5e90"} 
[2026-08-05 15:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 15:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196283136001,"66":12461,"105":206,"83":41984,"24":0,"16":10691513629540352,"45":1738178380562497536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196283136001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:15:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691513629540352,"km_value":10691513629540.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562497536,"description":"Unknown IO ID 45"} 
[2026-08-05 15:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196283136001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562497536}} 
[2026-08-05 15:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":148692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:15:45] local.INFO: GPS data processed {"connection_id":148692,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:15:45] local.INFO: Acknowledgment sent {"connection_id":148692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:15:53] local.INFO: TCP Data received {"connection_id":148691,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14f21e0012d7f9d0005afd370000800a333..."} 
[2026-08-05 15:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14f21e0012d7f9d0005afd370000800a333..."} 
[2026-08-05 15:15:53] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14f21e0012d7f9d0005afd370000800a333..."} 
[2026-08-05 15:15:53] local.INFO: Packet analysis {"connection_id":148691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:15:53] local.INFO: Extracted packet for processing {"connection_id":148691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:15:53] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95409008,"longitude_deg":76.3337984,"latitude_deg":9.5409008,"altitude":8,"angle":163,"satellites":51,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd370","is_valid_coordinates":true} 
[2026-08-05 15:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196295936001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467592436973568,"note":"Value kept but may cause issues"} 
[2026-08-05 15:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195224563608528896,"note":"Value kept but may cause issues"} 
[2026-08-05 15:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785923052000,"timestamp_ms":1785923052000,"timestamp_seconds":1785923052,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14f21e0"} 
[2026-08-05 15:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-05 15:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196295936001,"66":27930,"250":206,"85":12544,"24":0,"16":370467592436973568,"45":9195224563608528896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196295936001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:15:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:15:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467592436973568,"km_value":370467592436973.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195224563608528896,"description":"Unknown IO ID 45"} 
[2026-08-05 15:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196295936001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195224563608528896}} 
[2026-08-05 15:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":148691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:15:53] local.INFO: GPS data processed {"connection_id":148691,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:15:53] local.INFO: Acknowledgment sent {"connection_id":148691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:16:16] local.INFO: TCP Data received {"connection_id":148692,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14eb098012d181f400721b100004b00dd2c..."} 
[2026-08-05 15:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14eb098012d181f400721b100004b00dd2c..."} 
[2026-08-05 15:16:16] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14eb098012d181f400721b100004b00dd2c..."} 
[2026-08-05 15:16:16] local.INFO: Packet analysis {"connection_id":148692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14e"} 
[2026-08-05 15:16:16] local.INFO: Extracted packet for processing {"connection_id":148692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14e"} 
[2026-08-05 15:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648512,"longitude_deg":75.6555584,"latitude_deg":11.9648512,"altitude":75,"angle":221,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b100","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196288512001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691513629540352,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562497536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923023000,"timestamp_ms":1785923023000,"timestamp_seconds":1785923023,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14eb098"} 
[2026-08-05 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-08-05 15:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196288512001,"66":12504,"105":206,"83":41984,"24":0,"16":10691513629540352,"45":1738178380562497536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196288512001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:16:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:16:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691513629540352,"km_value":10691513629540.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562497536,"description":"Unknown IO ID 45"} 
[2026-08-05 15:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196288512001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562497536}} 
[2026-08-05 15:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":148692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:16:16] local.INFO: GPS data processed {"connection_id":148692,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:16:16] local.INFO: Acknowledgment sent {"connection_id":148692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:16:20] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:16:20] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:16:20] local.INFO: IMEI packet received {"connection_id":148483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":148483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:16:25] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:16:25] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:16:25] local.INFO: IMEI packet received {"connection_id":148483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":148483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:16:25] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14f4cd8012d7f9d0005afd348000800a330..."} 
[2026-08-05 15:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14f4cd8012d7f9d0005afd348000800a330..."} 
[2026-08-05 15:16:25] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14f4cd8012d7f9d0005afd348000800a330..."} 
[2026-08-05 15:16:25] local.INFO: Packet analysis {"connection_id":148483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:16:25] local.INFO: Extracted packet for processing {"connection_id":148483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408968,"longitude_deg":76.3337984,"latitude_deg":9.5408968,"altitude":8,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd348","is_valid_coordinates":true} 
[2026-08-05 15:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196301312001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467596731940864,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585126912,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785923063000,"timestamp_ms":1785923063000,"timestamp_seconds":1785923063,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14f4cd8"} 
[2026-08-05 15:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 15:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196301312001,"66":27974,"250":206,"85":12544,"24":0,"16":370467596731940864,"45":9195506038585126912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196301312001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:16:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467596731940864,"km_value":370467596731940.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585126912,"description":"Unknown IO ID 45"} 
[2026-08-05 15:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196301312001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585126912}} 
[2026-08-05 15:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":148483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:16:25] local.INFO: GPS data processed {"connection_id":148483,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:16:25] local.INFO: Acknowledgment sent {"connection_id":148483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:16:39] local.INFO: TCP Data received {"connection_id":151115,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:16:39] local.INFO: Processing buffer {"connection_id":151115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:16:39] local.INFO: IMEI packet received {"connection_id":151115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":151115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:16:45] local.INFO: TCP Data received {"connection_id":151115,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:16:45] local.INFO: Processing buffer {"connection_id":151115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:16:45] local.INFO: IMEI packet received {"connection_id":151115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":151115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:16:45] local.INFO: TCP Data received {"connection_id":151115,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14f02a0012d181ec00721afc0004d00d72a..."} 
[2026-08-05 15:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14f02a0012d181ec00721afc0004d00d72a..."} 
[2026-08-05 15:16:45] local.INFO: Processing buffer {"connection_id":151115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14f02a0012d181ec00721afc0004d00d72a..."} 
[2026-08-05 15:16:45] local.INFO: Packet analysis {"connection_id":151115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:16:45] local.INFO: Extracted packet for processing {"connection_id":151115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196293888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562497536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923044000,"timestamp_ms":1785923044000,"timestamp_seconds":1785923044,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14f02a0"} 
[2026-08-05 15:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196293888001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738178380562497536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196293888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:16:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562497536,"description":"Unknown IO ID 45"} 
[2026-08-05 15:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196293888001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562497536}} 
[2026-08-05 15:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":151115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:16:45] local.INFO: GPS data processed {"connection_id":151115,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:16:45] local.INFO: Acknowledgment sent {"connection_id":151115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:16:58] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1506230012d7f9c8005afd358000600a332..."} 
[2026-08-05 15:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1506230012d7f9c8005afd358000600a332..."} 
[2026-08-05 15:16:58] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1506230012d7f9c8005afd358000600a332..."} 
[2026-08-05 15:16:58] local.INFO: Packet analysis {"connection_id":148483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd150"} 
[2026-08-05 15:16:58] local.INFO: Extracted packet for processing {"connection_id":148483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd150"} 
[2026-08-05 15:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95408984,"longitude_deg":76.3337856,"latitude_deg":9.5408984,"altitude":6,"angle":163,"satellites":50,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd358","is_valid_coordinates":true} 
[2026-08-05 15:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196304128001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467596731940864,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585116672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785923134000,"timestamp_ms":1785923134000,"timestamp_seconds":1785923134,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1506230"} 
[2026-08-05 15:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 15:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196304128001,"66":26832,"250":206,"85":12544,"24":0,"16":370467596731940864,"45":9195506038585116672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196304128001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:16:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:16:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467596731940864,"km_value":370467596731940.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585116672,"description":"Unknown IO ID 45"} 
[2026-08-05 15:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196304128001,"power":26832,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585116672}} 
[2026-08-05 15:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":148483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:16:58] local.INFO: GPS data processed {"connection_id":148483,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:16:58] local.INFO: Acknowledgment sent {"connection_id":148483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:17:15] local.INFO: TCP Data received {"connection_id":148693,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:17:15] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:17:15] local.INFO: IMEI packet received {"connection_id":148693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":148693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:17:16] local.INFO: TCP Data received {"connection_id":151115,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14f54a8012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14f54a8012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:17:16] local.INFO: Processing buffer {"connection_id":151115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14f54a8012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:17:16] local.INFO: Packet analysis {"connection_id":151115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:17:16] local.INFO: Extracted packet for processing {"connection_id":151115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:17:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196299264001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923065000,"timestamp_ms":1785923065000,"timestamp_seconds":1785923065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14f54a8"} 
[2026-08-05 15:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196299264001,"66":12504,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196299264001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:17:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:17:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196299264001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":151115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:17:17] local.INFO: GPS data processed {"connection_id":151115,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:17:17] local.INFO: Acknowledgment sent {"connection_id":151115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:17:18] local.INFO: TCP Data received {"connection_id":148693,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:17:18] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:17:18] local.INFO: IMEI packet received {"connection_id":148693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":148693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:17:18] local.INFO: TCP Data received {"connection_id":148693,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd150bc08012d7f9cc005afd3a0000500a333..."} 
[2026-08-05 15:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd150bc08012d7f9cc005afd3a0000500a333..."} 
[2026-08-05 15:17:18] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd150bc08012d7f9cc005afd3a0000500a333..."} 
[2026-08-05 15:17:18] local.INFO: Packet analysis {"connection_id":148693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd150"} 
[2026-08-05 15:17:18] local.INFO: Extracted packet for processing {"connection_id":148693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd150"} 
[2026-08-05 15:17:18] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95409056,"longitude_deg":76.333792,"latitude_deg":9.5409056,"altitude":5,"angle":163,"satellites":51,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd3a0","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196322304001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467601026908160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096765440,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785923157000,"timestamp_ms":1785923157000,"timestamp_seconds":1785923157,"priority":1,"record_length":96,"hex_timestamp":"0000019fd150bc08"} 
[2026-08-05 15:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-05 15:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196322304001,"66":26408,"250":206,"85":12544,"24":0,"16":370467601026908160,"45":9195365301096765440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196322304001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:17:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467601026908160,"km_value":370467601026908.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096765440,"description":"Unknown IO ID 45"} 
[2026-08-05 15:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196322304001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096765440}} 
[2026-08-05 15:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":148693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:17:19] local.INFO: GPS data processed {"connection_id":148693,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:17:19] local.INFO: Acknowledgment sent {"connection_id":148693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:17:39] local.INFO: TCP Data received {"connection_id":149691,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:17:39] local.INFO: Processing buffer {"connection_id":149691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:17:39] local.INFO: IMEI packet received {"connection_id":149691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":149691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:17:44] local.INFO: TCP Data received {"connection_id":149691,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:17:45] local.INFO: Processing buffer {"connection_id":149691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:17:45] local.INFO: IMEI packet received {"connection_id":149691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":149691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:17:45] local.INFO: TCP Data received {"connection_id":149691,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14fa6b0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14fa6b0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:17:45] local.INFO: Processing buffer {"connection_id":149691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14fa6b0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:17:45] local.INFO: Packet analysis {"connection_id":149691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:17:45] local.INFO: Extracted packet for processing {"connection_id":149691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196304640001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923086000,"timestamp_ms":1785923086000,"timestamp_seconds":1785923086,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14fa6b0"} 
[2026-08-05 15:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196304640001,"66":12504,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196304640001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:17:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196304640001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":149691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:17:45] local.INFO: GPS data processed {"connection_id":149691,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:17:45] local.INFO: Acknowledgment sent {"connection_id":149691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:17:49] local.INFO: TCP Data received {"connection_id":148693,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1510e10012d7f9d0005afd3e8000500a333..."} 
[2026-08-05 15:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1510e10012d7f9d0005afd3e8000500a333..."} 
[2026-08-05 15:17:49] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1510e10012d7f9d0005afd3e8000500a333..."} 
[2026-08-05 15:17:49] local.INFO: Packet analysis {"connection_id":148693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:17:49] local.INFO: Extracted packet for processing {"connection_id":148693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:17:49] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95409128,"longitude_deg":76.3337984,"latitude_deg":9.5409128,"altitude":5,"angle":163,"satellites":51,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd3e8","is_valid_coordinates":true} 
[2026-08-05 15:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196328192001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467605321875456,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840961536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785923178000,"timestamp_ms":1785923178000,"timestamp_seconds":1785923178,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1510e10"} 
[2026-08-05 15:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:17: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":40,"data_length":795,"current_offset":136} 
[2026-08-05 15:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196328192001,"66":26267,"250":206,"85":12544,"24":0,"16":370467605321875456,"45":9195435669840961536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196328192001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:17:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:17:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467605321875456,"km_value":370467605321875.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840961536,"description":"Unknown IO ID 45"} 
[2026-08-05 15:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196328192001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840961536}} 
[2026-08-05 15:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":148693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:17:49] local.INFO: GPS data processed {"connection_id":148693,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:17:49] local.INFO: Acknowledgment sent {"connection_id":148693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:18:14] local.INFO: TCP Data received {"connection_id":151116,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:18:14] local.INFO: Processing buffer {"connection_id":151116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:18:14] local.INFO: IMEI packet received {"connection_id":151116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":151116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:18:16] local.INFO: TCP Data received {"connection_id":149691,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd14ff8b8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd14ff8b8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:18:16] local.INFO: Processing buffer {"connection_id":149691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd14ff8b8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:18:16] local.INFO: Packet analysis {"connection_id":149691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:18:16] local.INFO: Extracted packet for processing {"connection_id":149691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd14f"} 
[2026-08-05 15:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196310016001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923107000,"timestamp_ms":1785923107000,"timestamp_seconds":1785923107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd14ff8b8"} 
[2026-08-05 15:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196310016001,"66":12504,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196310016001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:18:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196310016001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":149691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:18:16] local.INFO: GPS data processed {"connection_id":149691,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:18:16] local.INFO: Acknowledgment sent {"connection_id":149691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:18:19] local.INFO: TCP Data received {"connection_id":151116,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:18:19] local.INFO: Processing buffer {"connection_id":151116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:18:19] local.INFO: IMEI packet received {"connection_id":151116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":151116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:18:20] local.INFO: TCP Data received {"connection_id":151116,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1516400012d7f9cc005afd3e8000600a332..."} 
[2026-08-05 15:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1516400012d7f9cc005afd3e8000600a332..."} 
[2026-08-05 15:18:20] local.INFO: Processing buffer {"connection_id":151116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1516400012d7f9cc005afd3e8000600a332..."} 
[2026-08-05 15:18:20] local.INFO: Packet analysis {"connection_id":151116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:18:20] local.INFO: Extracted packet for processing {"connection_id":151116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95409128,"longitude_deg":76.333792,"latitude_deg":9.5409128,"altitude":6,"angle":163,"satellites":50,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd3e8","is_valid_coordinates":true} 
[2026-08-05 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196333568001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467613911810048,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585157632,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785923200000,"timestamp_ms":1785923200000,"timestamp_seconds":1785923200,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1516400"} 
[2026-08-05 15:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-05 15:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196333568001,"66":26115,"250":206,"85":12544,"24":0,"16":370467613911810048,"45":9195506038585157632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196333568001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:18:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467613911810048,"km_value":370467613911810.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585157632,"description":"Unknown IO ID 45"} 
[2026-08-05 15:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196333568001,"power":26115,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585157632}} 
[2026-08-05 15:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":151116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:18:20] local.INFO: GPS data processed {"connection_id":151116,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:18:20] local.INFO: Acknowledgment sent {"connection_id":151116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:18:39] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:18:39] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:18:39] local.INFO: IMEI packet received {"connection_id":148484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":148484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:18:44] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:18:44] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:18:44] local.INFO: IMEI packet received {"connection_id":148484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":148484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:18:45] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1504ac0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1504ac0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:18:45] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1504ac0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:18:45] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd150"} 
[2026-08-05 15:18:45] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd150"} 
[2026-08-05 15:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196315392001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923128000,"timestamp_ms":1785923128000,"timestamp_seconds":1785923128,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1504ac0"} 
[2026-08-05 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-08-05 15:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196315392001,"66":12504,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196315392001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:18:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196315392001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:18:45] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:18:45] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:18:51] local.INFO: TCP Data received {"connection_id":151116,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd151b608012d7f9cc005afd440000600a333..."} 
[2026-08-05 15:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd151b608012d7f9cc005afd440000600a333..."} 
[2026-08-05 15:18:51] local.INFO: Processing buffer {"connection_id":151116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd151b608012d7f9cc005afd440000600a333..."} 
[2026-08-05 15:18:51] local.INFO: Packet analysis {"connection_id":151116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:18:51] local.INFO: Extracted packet for processing {"connection_id":151116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:18:51] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95409216,"longitude_deg":76.333792,"latitude_deg":9.5409216,"altitude":6,"angle":163,"satellites":51,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd440","is_valid_coordinates":true} 
[2026-08-05 15:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196339200001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467626796711936,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840979968,"note":"Value kept but may cause issues"} 
[2026-08-05 15:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785923221000,"timestamp_ms":1785923221000,"timestamp_seconds":1785923221,"priority":1,"record_length":96,"hex_timestamp":"0000019fd151b608"} 
[2026-08-05 15:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 15:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196339200001,"66":25962,"250":206,"85":12544,"24":0,"16":370467626796711936,"45":9195435669840979968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196339200001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:18:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467626796711936,"km_value":370467626796711.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840979968,"description":"Unknown IO ID 45"} 
[2026-08-05 15:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196339200001,"power":25962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840979968}} 
[2026-08-05 15:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":151116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:18:51] local.INFO: GPS data processed {"connection_id":151116,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:18:51] local.INFO: Acknowledgment sent {"connection_id":151116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:19:14] local.INFO: TCP Data received {"connection_id":149692,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:19:14] local.INFO: Processing buffer {"connection_id":149692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:19:14] local.INFO: IMEI packet received {"connection_id":149692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":149692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:19:15] local.INFO: TCP Data received {"connection_id":149692,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:19:15] local.INFO: Processing buffer {"connection_id":149692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:19:15] local.INFO: IMEI packet received {"connection_id":149692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":149692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:19:16] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1509cc8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1509cc8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:19:16] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1509cc8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:19:16] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd150"} 
[2026-08-05 15:19:16] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd150"} 
[2026-08-05 15:19:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196320768001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923149000,"timestamp_ms":1785923149000,"timestamp_seconds":1785923149,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1509cc8"} 
[2026-08-05 15:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196320768001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196320768001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:19:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:19:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196320768001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:19:16] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:19:16] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:19:20] local.INFO: TCP Data received {"connection_id":149692,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:19:20] local.INFO: Processing buffer {"connection_id":149692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:19:20] local.INFO: IMEI packet received {"connection_id":149692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":149692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:19:20] local.INFO: TCP Data received {"connection_id":149692,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1520810012d7f9d0005afd480000700a333..."} 
[2026-08-05 15:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1520810012d7f9d0005afd480000700a333..."} 
[2026-08-05 15:19:20] local.INFO: Processing buffer {"connection_id":149692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1520810012d7f9d0005afd480000700a333..."} 
[2026-08-05 15:19:20] local.INFO: Packet analysis {"connection_id":149692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:19:20] local.INFO: Extracted packet for processing {"connection_id":149692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:19:20] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95409280,"longitude_deg":76.3337984,"latitude_deg":9.540928,"altitude":7,"angle":163,"satellites":51,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd480","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196344576001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467635386646528,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669841002496,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785923242000,"timestamp_ms":1785923242000,"timestamp_seconds":1785923242,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1520810"} 
[2026-08-05 15:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-05 15:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196344576001,"66":25756,"250":206,"85":12544,"24":0,"16":370467635386646528,"45":9195435669841002496},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196344576001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:19:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467635386646528,"km_value":370467635386646.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669841002496,"description":"Unknown IO ID 45"} 
[2026-08-05 15:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196344576001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669841002496}} 
[2026-08-05 15:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":149692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:19:20] local.INFO: GPS data processed {"connection_id":149692,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:19:20] local.INFO: Acknowledgment sent {"connection_id":149692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:19:39] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:19:39] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:19:39] local.INFO: IMEI packet received {"connection_id":148694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":148694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:19:44] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:19:44] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:19:44] local.INFO: IMEI packet received {"connection_id":148694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":148694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:19:45] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd150eed0012d181ec00721afc0004d00d72c..."} 
[2026-08-05 15:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd150eed0012d181ec00721afc0004d00d72c..."} 
[2026-08-05 15:19:45] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd150eed0012d181ec00721afc0004d00d72c..."} 
[2026-08-05 15:19:45] local.INFO: Packet analysis {"connection_id":148694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd150"} 
[2026-08-05 15:19:45] local.INFO: Extracted packet for processing {"connection_id":148694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd150"} 
[2026-08-05 15:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196326144001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923170000,"timestamp_ms":1785923170000,"timestamp_seconds":1785923170,"priority":1,"record_length":96,"hex_timestamp":"0000019fd150eed0"} 
[2026-08-05 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-08-05 15:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196326144001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196326144001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:19:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196326144001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":148694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:19:45] local.INFO: GPS data processed {"connection_id":148694,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:19:45] local.INFO: Acknowledgment sent {"connection_id":148694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:19:51] local.INFO: TCP Data received {"connection_id":149692,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1525a18012d7f9d0005afd4b0000700a331..."} 
[2026-08-05 15:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1525a18012d7f9d0005afd4b0000700a331..."} 
[2026-08-05 15:19:51] local.INFO: Processing buffer {"connection_id":149692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1525a18012d7f9d0005afd4b0000700a331..."} 
[2026-08-05 15:19:51] local.INFO: Packet analysis {"connection_id":149692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:19:51] local.INFO: Extracted packet for processing {"connection_id":149692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:19:51] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95409328,"longitude_deg":76.3337984,"latitude_deg":9.5409328,"altitude":7,"angle":163,"satellites":49,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd4b0","is_valid_coordinates":true} 
[2026-08-05 15:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196349952001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467635386646528,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585196544,"note":"Value kept but may cause issues"} 
[2026-08-05 15:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785923263000,"timestamp_ms":1785923263000,"timestamp_seconds":1785923263,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1525a18"} 
[2026-08-05 15:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":156,"data_length":795,"current_offset":136} 
[2026-08-05 15:19: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-08-05 15:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196349952001,"66":25615,"250":206,"85":12544,"24":0,"16":370467635386646528,"45":9195506038585196544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196349952001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:19:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:19:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467635386646528,"km_value":370467635386646.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585196544,"description":"Unknown IO ID 45"} 
[2026-08-05 15:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196349952001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585196544}} 
[2026-08-05 15:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":149692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:19:51] local.INFO: GPS data processed {"connection_id":149692,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:19:51] local.INFO: Acknowledgment sent {"connection_id":149692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:20:16] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15140d8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15140d8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:20:16] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15140d8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:20:16] local.INFO: Packet analysis {"connection_id":148694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:20:16] local.INFO: Extracted packet for processing {"connection_id":148694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196331520001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923191000,"timestamp_ms":1785923191000,"timestamp_seconds":1785923191,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15140d8"} 
[2026-08-05 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-08-05 15:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196331520001,"66":12504,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196331520001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:20:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196331520001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":148694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:20:16] local.INFO: GPS data processed {"connection_id":148694,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:20:16] local.INFO: Acknowledgment sent {"connection_id":148694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:20:20] local.INFO: TCP Data received {"connection_id":148695,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:20:20] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:20:20] local.INFO: IMEI packet received {"connection_id":148695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":148695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:20:25] local.INFO: TCP Data received {"connection_id":148695,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:20:25] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:20:25] local.INFO: IMEI packet received {"connection_id":148695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":148695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:20:25] local.INFO: TCP Data received {"connection_id":148695,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd152ac20012d7f9cc005afd458000800a331..."} 
[2026-08-05 15:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd152ac20012d7f9cc005afd458000800a331..."} 
[2026-08-05 15:20:25] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd152ac20012d7f9cc005afd458000800a331..."} 
[2026-08-05 15:20:25] local.INFO: Packet analysis {"connection_id":148695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:20:25] local.INFO: Extracted packet for processing {"connection_id":148695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95409240,"longitude_deg":76.333792,"latitude_deg":9.540924,"altitude":8,"angle":163,"satellites":49,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd458","is_valid_coordinates":true} 
[2026-08-05 15:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196355328001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467643976581120,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038585208832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785923284000,"timestamp_ms":1785923284000,"timestamp_seconds":1785923284,"priority":1,"record_length":96,"hex_timestamp":"0000019fd152ac20"} 
[2026-08-05 15:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196355328001,"66":27887,"250":206,"85":12544,"24":0,"16":370467643976581120,"45":9195506038585208832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196355328001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:20:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467643976581120,"km_value":370467643976581.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038585208832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196355328001,"power":27887,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038585208832}} 
[2026-08-05 15:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":148695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:20:25] local.INFO: GPS data processed {"connection_id":148695,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:20:25] local.INFO: Acknowledgment sent {"connection_id":148695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:20:29] local.INFO: TCP Data received {"connection_id":148695,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd152ac20012d7f9cc005afd458000800a331..."} 
[2026-08-05 15:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd152ac20012d7f9cc005afd458000800a331..."} 
[2026-08-05 15:20:29] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd152ac20012d7f9cc005afd458000800a331..."} 
[2026-08-05 15:20:29] local.INFO: Packet analysis {"connection_id":148695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:20:29] local.INFO: Extracted packet for processing {"connection_id":148695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95409240,"longitude_deg":76.333792,"latitude_deg":9.540924,"altitude":8,"angle":163,"satellites":49,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd458","is_valid_coordinates":true} 
[2026-08-05 15:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196360704001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467643976581120,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669841008640,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785923284000,"timestamp_ms":1785923284000,"timestamp_seconds":1785923284,"priority":1,"record_length":96,"hex_timestamp":"0000019fd152ac20"} 
[2026-08-05 15:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 15:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196360704001,"66":27887,"250":206,"85":12544,"24":0,"16":370467643976581120,"45":9195435669841008640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196360704001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:20:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467643976581120,"km_value":370467643976581.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669841008640,"description":"Unknown IO ID 45"} 
[2026-08-05 15:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196360704001,"power":27887,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669841008640}} 
[2026-08-05 15:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":148695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":595999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:20:30] local.INFO: GPS data processed {"connection_id":148695,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:20:30] local.INFO: Acknowledgment sent {"connection_id":148695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:20:39] local.INFO: TCP Data received {"connection_id":151117,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:20:39] local.INFO: Processing buffer {"connection_id":151117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:20:39] local.INFO: IMEI packet received {"connection_id":151117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":151117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:20:40] local.INFO: TCP Data received {"connection_id":151117,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:20:40] local.INFO: Processing buffer {"connection_id":151117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:20:40] local.INFO: IMEI packet received {"connection_id":151117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":151117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:20:45] local.INFO: TCP Data received {"connection_id":151117,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:20:45] local.INFO: Processing buffer {"connection_id":151117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:20:45] local.INFO: IMEI packet received {"connection_id":151117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":151117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:20:45] local.INFO: TCP Data received {"connection_id":151117,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15192e0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15192e0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:20:45] local.INFO: Processing buffer {"connection_id":151117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15192e0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:20:45] local.INFO: Packet analysis {"connection_id":151117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:20:45] local.INFO: Extracted packet for processing {"connection_id":151117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196336896001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923212000,"timestamp_ms":1785923212000,"timestamp_seconds":1785923212,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15192e0"} 
[2026-08-05 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-08-05 15:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196336896001,"66":12504,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196336896001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:20:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196336896001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":151117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:20:45] local.INFO: GPS data processed {"connection_id":151117,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:20:45] local.INFO: Acknowledgment sent {"connection_id":151117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:21:15] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:21:15] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:21:15] local.INFO: IMEI packet received {"connection_id":148485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":148485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:21:16] local.INFO: TCP Data received {"connection_id":151117,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd151e4e8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd151e4e8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:21:16] local.INFO: Processing buffer {"connection_id":151117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd151e4e8012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:21:16] local.INFO: Packet analysis {"connection_id":151117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:21:16] local.INFO: Extracted packet for processing {"connection_id":151117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd151"} 
[2026-08-05 15:21:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196342272001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923233000,"timestamp_ms":1785923233000,"timestamp_seconds":1785923233,"priority":1,"record_length":96,"hex_timestamp":"0000019fd151e4e8"} 
[2026-08-05 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-08-05 15:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196342272001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196342272001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:21:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:21:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196342272001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":151117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:21:16] local.INFO: GPS data processed {"connection_id":151117,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:21:16] local.INFO: Acknowledgment sent {"connection_id":151117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:21:20] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:21:20] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:21:20] local.INFO: IMEI packet received {"connection_id":148485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":148485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:21:20] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1532150012d7f9c0005afd480000a00a332..."} 
[2026-08-05 15:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1532150012d7f9c0005afd480000a00a332..."} 
[2026-08-05 15:21:20] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1532150012d7f9c0005afd480000a00a332..."} 
[2026-08-05 15:21:20] local.INFO: Packet analysis {"connection_id":148485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:21:20] local.INFO: Extracted packet for processing {"connection_id":148485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:21:20] local.INFO: GPS Element Parsed {"raw_longitude":763337728,"raw_latitude":95409280,"longitude_deg":76.3337728,"latitude_deg":9.540928,"altitude":10,"angle":163,"satellites":50,"speed":0,"hex_longitude":"2d7f9c00","hex_latitude":"05afd480","is_valid_coordinates":true} 
[2026-08-05 15:21: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-08-05 15:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196360704001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467643976581120,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669841008640,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785923314000,"timestamp_ms":1785923314000,"timestamp_seconds":1785923314,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1532150"} 
[2026-08-05 15:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 15:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196360704001,"66":25973,"250":206,"85":12544,"24":0,"16":370467643976581120,"45":9195435669841008640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196360704001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:21:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:21:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467643976581120,"km_value":370467643976581.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669841008640,"description":"Unknown IO ID 45"} 
[2026-08-05 15:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196360704001,"power":25973,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669841008640}} 
[2026-08-05 15:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":148485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:21:20] local.INFO: GPS data processed {"connection_id":148485,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:21:20] local.INFO: Acknowledgment sent {"connection_id":148485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:21:43] local.INFO: TCP Data received {"connection_id":151118,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:21:43] local.INFO: Processing buffer {"connection_id":151118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:21:43] local.INFO: IMEI packet received {"connection_id":151118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":151118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:21:44] local.INFO: TCP Data received {"connection_id":151118,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:21:44] local.INFO: Processing buffer {"connection_id":151118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:21:44] local.INFO: IMEI packet received {"connection_id":151118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":151118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:21:49] local.INFO: TCP Data received {"connection_id":151118,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:21:49] local.INFO: Processing buffer {"connection_id":151118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:21:49] local.INFO: IMEI packet received {"connection_id":151118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":151118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:21:50] local.INFO: TCP Data received {"connection_id":151118,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15236f0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15236f0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:21:50] local.INFO: Processing buffer {"connection_id":151118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15236f0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:21:50] local.INFO: Packet analysis {"connection_id":151118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:21:50] local.INFO: Extracted packet for processing {"connection_id":151118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196347648001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785923254000,"timestamp_ms":1785923254000,"timestamp_seconds":1785923254,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15236f0"} 
[2026-08-05 15:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196347648001,"66":12504,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196347648001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:21:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196347648001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":151118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:21:50] local.INFO: GPS data processed {"connection_id":151118,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:21:50] local.INFO: Acknowledgment sent {"connection_id":151118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:21:51] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15330f0012d7f9d0005afd180000a00b732..."} 
[2026-08-05 15:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15330f0012d7f9d0005afd180000a00b732..."} 
[2026-08-05 15:21:51] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15330f0012d7f9d0005afd180000a00b732..."} 
[2026-08-05 15:21:51] local.INFO: Packet analysis {"connection_id":148485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:21:51] local.INFO: Extracted packet for processing {"connection_id":148485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:21:51] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408512,"longitude_deg":76.3337984,"latitude_deg":9.5408512,"altitude":10,"angle":183,"satellites":50,"speed":2,"hex_longitude":"2d7f9d00","hex_latitude":"05afd180","is_valid_coordinates":true} 
[2026-08-05 15:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196368384001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467669746384896,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195224563608485888,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785923318000,"timestamp_ms":1785923318000,"timestamp_seconds":1785923318,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15330f0"} 
[2026-08-05 15:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 15:21:51] 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-08-05 15:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196368384001,"66":25832,"250":206,"85":12544,"24":2,"16":370467669746384896,"45":9195224563608485888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196368384001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:21:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467669746384896,"km_value":370467669746384.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195224563608485888,"description":"Unknown IO ID 45"} 
[2026-08-05 15:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196368384001,"power":25832,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9195224563608485888}} 
[2026-08-05 15:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":148485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:21:52] local.INFO: GPS data processed {"connection_id":148485,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:21:52] local.INFO: Acknowledgment sent {"connection_id":148485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:21:55] local.INFO: TCP Data received {"connection_id":151118,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15288f8012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15288f8012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:21:55] local.INFO: Processing buffer {"connection_id":151118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15288f8012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:21:55] local.INFO: Packet analysis {"connection_id":151118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:21:55] local.INFO: Extracted packet for processing {"connection_id":151118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196353024001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785923275000,"timestamp_ms":1785923275000,"timestamp_seconds":1785923275,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15288f8"} 
[2026-08-05 15:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196353024001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196353024001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:21:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:21:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196353024001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":151118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:21:55] local.INFO: GPS data processed {"connection_id":151118,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:21:55] local.INFO: Acknowledgment sent {"connection_id":151118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:22:14] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:22:14] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:22:14] local.INFO: IMEI packet received {"connection_id":148486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":148486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:22:20] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:22:20] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:22:20] local.INFO: IMEI packet received {"connection_id":148486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":148486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:22:20] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15382f8012d7f9cc005afd0d0000b00b731..."} 
[2026-08-05 15:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15382f8012d7f9cc005afd0d0000b00b731..."} 
[2026-08-05 15:22:20] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15382f8012d7f9cc005afd0d0000b00b731..."} 
[2026-08-05 15:22:20] local.INFO: Packet analysis {"connection_id":148486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:22:20] local.INFO: Extracted packet for processing {"connection_id":148486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:22:20] local.INFO: GPS Element Parsed {"raw_longitude":763337920,"raw_latitude":95408336,"longitude_deg":76.333792,"latitude_deg":9.5408336,"altitude":11,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f9cc0","hex_latitude":"05afd0d0","is_valid_coordinates":true} 
[2026-08-05 15:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196369408001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467678336319488,"note":"Value kept but may cause issues"} 
[2026-08-05 15:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584999936,"note":"Value kept but may cause issues"} 
[2026-08-05 15:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785923339000,"timestamp_ms":1785923339000,"timestamp_seconds":1785923339,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15382f8"} 
[2026-08-05 15:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 15:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:22: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-08-05 15:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196369408001,"66":25647,"250":206,"85":12544,"24":0,"16":370467678336319488,"45":9195506038584999936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196369408001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:22:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:22:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467678336319488,"km_value":370467678336319.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584999936,"description":"Unknown IO ID 45"} 
[2026-08-05 15:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196369408001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584999936}} 
[2026-08-05 15:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":148486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:22:20] local.INFO: GPS data processed {"connection_id":148486,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:22:20] local.INFO: Acknowledgment sent {"connection_id":148486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:22:39] local.INFO: TCP Data received {"connection_id":148696,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:22:39] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:22:39] local.INFO: IMEI packet received {"connection_id":148696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":148696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:22:44] local.INFO: TCP Data received {"connection_id":148696,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:22:44] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:22:44] local.INFO: IMEI packet received {"connection_id":148696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":148696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:22:45] local.INFO: TCP Data received {"connection_id":148696,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd152db00012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd152db00012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:22:45] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd152db00012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:22:45] local.INFO: Packet analysis {"connection_id":148696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:22:45] local.INFO: Extracted packet for processing {"connection_id":148696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd152"} 
[2026-08-05 15:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196358400001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923296000,"timestamp_ms":1785923296000,"timestamp_seconds":1785923296,"priority":1,"record_length":96,"hex_timestamp":"0000019fd152db00"} 
[2026-08-05 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-08-05 15:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196358400001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196358400001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:22:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196358400001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":148696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:22:45] local.INFO: GPS data processed {"connection_id":148696,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:22:45] local.INFO: Acknowledgment sent {"connection_id":148696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:22:52] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:22:52] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:22:52] local.INFO: Packet analysis {"connection_id":148486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:22:52] local.INFO: Extracted packet for processing {"connection_id":148486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:22:52] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408328,"longitude_deg":76.3337984,"latitude_deg":9.5408328,"altitude":11,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd0c8","is_valid_coordinates":true} 
[2026-08-05 15:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196374784001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840777216,"note":"Value kept but may cause issues"} 
[2026-08-05 15:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785923345000,"timestamp_ms":1785923345000,"timestamp_seconds":1785923345,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1539a68"} 
[2026-08-05 15:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 15:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196374784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195435669840777216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196374784001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:22:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840777216,"description":"Unknown IO ID 45"} 
[2026-08-05 15:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196374784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840777216}} 
[2026-08-05 15:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":148486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:22:52] local.INFO: GPS data processed {"connection_id":148486,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:22:52] local.INFO: Acknowledgment sent {"connection_id":148486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:23:16] local.INFO: TCP Data received {"connection_id":148696,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1532d08012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1532d08012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:23:16] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1532d08012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:23:16] local.INFO: Packet analysis {"connection_id":148696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:23:16] local.INFO: Extracted packet for processing {"connection_id":148696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196363776001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923317000,"timestamp_ms":1785923317000,"timestamp_seconds":1785923317,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1532d08"} 
[2026-08-05 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-08-05 15:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196363776001,"66":12504,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196363776001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:23:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196363776001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":148696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:23:16] local.INFO: GPS data processed {"connection_id":148696,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:23:16] local.INFO: Acknowledgment sent {"connection_id":148696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:23:20] local.INFO: TCP Data received {"connection_id":149693,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:23:20] local.INFO: Processing buffer {"connection_id":149693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:23:20] local.INFO: IMEI packet received {"connection_id":149693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":149693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:23:25] local.INFO: TCP Data received {"connection_id":149693,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:23:25] local.INFO: Processing buffer {"connection_id":149693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:23:25] local.INFO: IMEI packet received {"connection_id":149693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":149693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:23:25] local.INFO: TCP Data received {"connection_id":149693,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:23:25] local.INFO: Processing buffer {"connection_id":149693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:23:25] local.INFO: Packet analysis {"connection_id":149693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:23:25] local.INFO: Extracted packet for processing {"connection_id":149693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408328,"longitude_deg":76.3337984,"latitude_deg":9.5408328,"altitude":11,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd0c8","is_valid_coordinates":true} 
[2026-08-05 15:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196374784001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840777216,"note":"Value kept but may cause issues"} 
[2026-08-05 15:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785923345000,"timestamp_ms":1785923345000,"timestamp_seconds":1785923345,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1539a68"} 
[2026-08-05 15:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 15:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196374784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195435669840777216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196374784001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:23:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840777216,"description":"Unknown IO ID 45"} 
[2026-08-05 15:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196374784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840777216}} 
[2026-08-05 15:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":149693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:23:25] local.INFO: GPS data processed {"connection_id":149693,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:23:25] local.INFO: Acknowledgment sent {"connection_id":149693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:23:30] local.INFO: TCP Data received {"connection_id":149693,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:23:30] local.INFO: Processing buffer {"connection_id":149693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:23:30] local.INFO: Packet analysis {"connection_id":149693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:23:30] local.INFO: Extracted packet for processing {"connection_id":149693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408328,"longitude_deg":76.3337984,"latitude_deg":9.5408328,"altitude":11,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd0c8","is_valid_coordinates":true} 
[2026-08-05 15:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196374784001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840777216,"note":"Value kept but may cause issues"} 
[2026-08-05 15:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785923345000,"timestamp_ms":1785923345000,"timestamp_seconds":1785923345,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1539a68"} 
[2026-08-05 15:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 15:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196374784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195435669840777216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196374784001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:23:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:23:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840777216,"description":"Unknown IO ID 45"} 
[2026-08-05 15:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196374784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840777216}} 
[2026-08-05 15:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":149693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:23:30] local.INFO: GPS data processed {"connection_id":149693,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:23:30] local.INFO: Acknowledgment sent {"connection_id":149693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:23:39] local.INFO: TCP Data received {"connection_id":148487,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:23:39] local.INFO: Processing buffer {"connection_id":148487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:23:39] local.INFO: IMEI packet received {"connection_id":148487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":148487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:23:44] local.INFO: TCP Data received {"connection_id":148487,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:23:44] local.INFO: Processing buffer {"connection_id":148487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:23:44] local.INFO: IMEI packet received {"connection_id":148487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":148487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:23:45] local.INFO: TCP Data received {"connection_id":148487,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1537f10012d181ec00721afc0004d00d72e..."} 
[2026-08-05 15:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1537f10012d181ec00721afc0004d00d72e..."} 
[2026-08-05 15:23:45] local.INFO: Processing buffer {"connection_id":148487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1537f10012d181ec00721afc0004d00d72e..."} 
[2026-08-05 15:23:45] local.INFO: Packet analysis {"connection_id":148487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:23:45] local.INFO: Extracted packet for processing {"connection_id":148487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196369152001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15: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-08-05 15:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923338000,"timestamp_ms":1785923338000,"timestamp_seconds":1785923338,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1537f10"} 
[2026-08-05 15:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196369152001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196369152001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:23:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196369152001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":148487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:23:45] local.INFO: GPS data processed {"connection_id":148487,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:23:45] local.INFO: Acknowledgment sent {"connection_id":148487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:24:15] local.INFO: TCP Data received {"connection_id":151119,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:24:15] local.INFO: Processing buffer {"connection_id":151119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:24:15] local.INFO: IMEI packet received {"connection_id":151119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":151119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:24:20] local.INFO: TCP Data received {"connection_id":151119,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:24:20] local.INFO: Processing buffer {"connection_id":151119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:24:20] local.INFO: IMEI packet received {"connection_id":151119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":151119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:24:20] local.INFO: TCP Data received {"connection_id":151119,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:24:20] local.INFO: Processing buffer {"connection_id":151119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1539a68012d7f9d0005afd0c8000b00b732..."} 
[2026-08-05 15:24:20] local.INFO: Packet analysis {"connection_id":151119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:24:20] local.INFO: Extracted packet for processing {"connection_id":151119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd153"} 
[2026-08-05 15:24:20] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95408328,"longitude_deg":76.3337984,"latitude_deg":9.5408328,"altitude":11,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9d00","hex_latitude":"05afd0c8","is_valid_coordinates":true} 
[2026-08-05 15:24: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-08-05 15:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196374784001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195435669840777216,"note":"Value kept but may cause issues"} 
[2026-08-05 15:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785923345000,"timestamp_ms":1785923345000,"timestamp_seconds":1785923345,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1539a68"} 
[2026-08-05 15:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 15:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196374784001,"66":25625,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195435669840777216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196374784001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:24:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195435669840777216,"description":"Unknown IO ID 45"} 
[2026-08-05 15:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196374784001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195435669840777216}} 
[2026-08-05 15:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":151119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:24:20] local.INFO: GPS data processed {"connection_id":151119,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:24:20] local.INFO: Acknowledgment sent {"connection_id":151119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:24:34] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:24:34] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:24:34] local.INFO: IMEI packet received {"connection_id":148697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":148697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:24:39] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:24:39] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:24:39] local.INFO: IMEI packet received {"connection_id":148697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":148697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:24:40] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd157fb80012d181ec00721afc0004d00d72e..."} 
[2026-08-05 15:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd157fb80012d181ec00721afc0004d00d72e..."} 
[2026-08-05 15:24:40] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd157fb80012d181ec00721afc0004d00d72e..."} 
[2026-08-05 15:24:40] local.INFO: Packet analysis {"connection_id":148697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd157"} 
[2026-08-05 15:24:40] local.INFO: Extracted packet for processing {"connection_id":148697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd157"} 
[2026-08-05 15:24:40] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196444416001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785923632000,"timestamp_ms":1785923632000,"timestamp_seconds":1785923632,"priority":1,"record_length":96,"hex_timestamp":"0000019fd157fb80"} 
[2026-08-05 15:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196444416001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196444416001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:24:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:24:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196444416001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":148697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:24:40] local.INFO: GPS data processed {"connection_id":148697,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:24:40] local.INFO: Acknowledgment sent {"connection_id":148697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:24:52] local.INFO: TCP Data received {"connection_id":151119,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:24:52] local.INFO: Processing buffer {"connection_id":151119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:24:52] local.INFO: Packet analysis {"connection_id":151119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:24:52] local.INFO: Extracted packet for processing {"connection_id":151119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:24:52] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":13,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196376320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584952832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785923648000,"timestamp_ms":1785923648000,"timestamp_seconds":1785923648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1583a00"} 
[2026-08-05 15:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196376320001,"66":25702,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195506038584952832},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196376320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:24:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:24:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584952832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196376320001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584952832}} 
[2026-08-05 15:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":151119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:24:52] local.INFO: GPS data processed {"connection_id":151119,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:24:52] local.INFO: Acknowledgment sent {"connection_id":151119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:25:11] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1584d88012d181ec00721afc0004d00d72e..."} 
[2026-08-05 15:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1584d88012d181ec00721afc0004d00d72e..."} 
[2026-08-05 15:25:11] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1584d88012d181ec00721afc0004d00d72e..."} 
[2026-08-05 15:25:11] local.INFO: Packet analysis {"connection_id":148697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:25:11] local.INFO: Extracted packet for processing {"connection_id":148697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196449792001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785923653000,"timestamp_ms":1785923653000,"timestamp_seconds":1785923653,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1584d88"} 
[2026-08-05 15:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196449792001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196449792001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196449792001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":148697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:25:11] local.INFO: GPS data processed {"connection_id":148697,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:25:11] local.INFO: Acknowledgment sent {"connection_id":148697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:25:14] local.INFO: TCP Data received {"connection_id":149694,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:25:14] local.INFO: Processing buffer {"connection_id":149694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:25:14] local.INFO: IMEI packet received {"connection_id":149694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":149694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:25:20] local.INFO: TCP Data received {"connection_id":149694,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:25:20] local.INFO: Processing buffer {"connection_id":149694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:25:20] local.INFO: IMEI packet received {"connection_id":149694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":149694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:25:20] local.INFO: TCP Data received {"connection_id":149694,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:25:20] local.INFO: Processing buffer {"connection_id":149694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:25:20] local.INFO: Packet analysis {"connection_id":149694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:25:20] local.INFO: Extracted packet for processing {"connection_id":149694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:25:20] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":13,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196376320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584952832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785923648000,"timestamp_ms":1785923648000,"timestamp_seconds":1785923648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1583a00"} 
[2026-08-05 15:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:25: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-08-05 15:25: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-08-05 15:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196376320001,"66":25702,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195506038584952832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196376320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:25:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584952832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196376320001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584952832}} 
[2026-08-05 15:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":149694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:25:20] local.INFO: GPS data processed {"connection_id":149694,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:25:20] local.INFO: Acknowledgment sent {"connection_id":149694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:25:39] local.INFO: TCP Data received {"connection_id":151120,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:25:39] local.INFO: Processing buffer {"connection_id":151120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:25:39] local.INFO: IMEI packet received {"connection_id":151120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":151120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:25:44] local.INFO: TCP Data received {"connection_id":151120,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:25:44] local.INFO: Processing buffer {"connection_id":151120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:25:44] local.INFO: IMEI packet received {"connection_id":151120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":151120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:25:45] local.INFO: TCP Data received {"connection_id":151120,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1589f90012d181ec00721afc0004d00d72f..."} 
[2026-08-05 15:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1589f90012d181ec00721afc0004d00d72f..."} 
[2026-08-05 15:25:45] local.INFO: Processing buffer {"connection_id":151120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1589f90012d181ec00721afc0004d00d72f..."} 
[2026-08-05 15:25:45] local.INFO: Packet analysis {"connection_id":151120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:25:45] local.INFO: Extracted packet for processing {"connection_id":151120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196455168001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923674000,"timestamp_ms":1785923674000,"timestamp_seconds":1785923674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1589f90"} 
[2026-08-05 15:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196455168001,"66":12428,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196455168001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:25:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196455168001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":151120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:25:45] local.INFO: GPS data processed {"connection_id":151120,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:25:45] local.INFO: Acknowledgment sent {"connection_id":151120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:25:51] local.INFO: TCP Data received {"connection_id":149694,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:25:51] local.INFO: Processing buffer {"connection_id":149694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:25:51] local.INFO: Packet analysis {"connection_id":149694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:25:51] local.INFO: Extracted packet for processing {"connection_id":149694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:25:51] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":13,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196376320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584952832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785923648000,"timestamp_ms":1785923648000,"timestamp_seconds":1785923648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1583a00"} 
[2026-08-05 15:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:25: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-08-05 15:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196376320001,"66":25702,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195506038584952832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196376320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:25:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584952832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196376320001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584952832}} 
[2026-08-05 15:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":149694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:25:51] local.INFO: GPS data processed {"connection_id":149694,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:25:51] local.INFO: Acknowledgment sent {"connection_id":149694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:26:14] local.INFO: TCP Data received {"connection_id":148488,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:26:14] local.INFO: Processing buffer {"connection_id":148488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:26:14] local.INFO: IMEI packet received {"connection_id":148488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":148488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:26:16] local.INFO: TCP Data received {"connection_id":151120,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd158f198012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd158f198012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:26:16] local.INFO: Processing buffer {"connection_id":151120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd158f198012d181ec00721afc0004d00d72d..."} 
[2026-08-05 15:26:16] local.INFO: Packet analysis {"connection_id":151120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:26:16] local.INFO: Extracted packet for processing {"connection_id":151120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196460544001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923695000,"timestamp_ms":1785923695000,"timestamp_seconds":1785923695,"priority":1,"record_length":96,"hex_timestamp":"0000019fd158f198"} 
[2026-08-05 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-08-05 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 15:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196460544001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196460544001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196460544001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":151120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:26:16] local.INFO: GPS data processed {"connection_id":151120,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:26:16] local.INFO: Acknowledgment sent {"connection_id":151120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:26:20] local.INFO: TCP Data received {"connection_id":148488,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:26:20] local.INFO: Processing buffer {"connection_id":148488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:26:20] local.INFO: IMEI packet received {"connection_id":148488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":148488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:26:20] local.INFO: TCP Data received {"connection_id":148488,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:26:20] local.INFO: Processing buffer {"connection_id":148488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:26:20] local.INFO: Packet analysis {"connection_id":148488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:26:20] local.INFO: Extracted packet for processing {"connection_id":148488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":13,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196376320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584952832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785923648000,"timestamp_ms":1785923648000,"timestamp_seconds":1785923648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1583a00"} 
[2026-08-05 15:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:26: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-08-05 15:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196376320001,"66":25702,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195506038584952832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196376320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584952832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196376320001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584952832}} 
[2026-08-05 15:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":148488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:26:20] local.INFO: GPS data processed {"connection_id":148488,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:26:20] local.INFO: Acknowledgment sent {"connection_id":148488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:26:39] local.INFO: TCP Data received {"connection_id":149695,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:26:39] local.INFO: Processing buffer {"connection_id":149695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:26:39] local.INFO: IMEI packet received {"connection_id":149695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":149695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:26:44] local.INFO: TCP Data received {"connection_id":149695,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:26:44] local.INFO: Processing buffer {"connection_id":149695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:26:44] local.INFO: IMEI packet received {"connection_id":149695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":149695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:26:45] local.INFO: TCP Data received {"connection_id":149695,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15943a0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15943a0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:26:45] local.INFO: Processing buffer {"connection_id":149695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15943a0012d181ec00721afc0004d00d72b..."} 
[2026-08-05 15:26:45] local.INFO: Packet analysis {"connection_id":149695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd159"} 
[2026-08-05 15:26:45] local.INFO: Extracted packet for processing {"connection_id":149695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd159"} 
[2026-08-05 15:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 15:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196465920001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923716000,"timestamp_ms":1785923716000,"timestamp_seconds":1785923716,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15943a0"} 
[2026-08-05 15:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196465920001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196465920001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:26:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:26:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196465920001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":149695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:26:45] local.INFO: GPS data processed {"connection_id":149695,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:26:45] local.INFO: Acknowledgment sent {"connection_id":149695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:26:51] local.INFO: TCP Data received {"connection_id":148488,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:26:51] local.INFO: Processing buffer {"connection_id":148488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:26:51] local.INFO: Packet analysis {"connection_id":148488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:26:51] local.INFO: Extracted packet for processing {"connection_id":148488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:26:51] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":13,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196376320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584952832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785923648000,"timestamp_ms":1785923648000,"timestamp_seconds":1785923648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1583a00"} 
[2026-08-05 15:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:26: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-08-05 15:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196376320001,"66":25702,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195506038584952832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196376320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:26:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:26:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584952832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196376320001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584952832}} 
[2026-08-05 15:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":148488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:26:51] local.INFO: GPS data processed {"connection_id":148488,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:26:51] local.INFO: Acknowledgment sent {"connection_id":148488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:27:16] local.INFO: TCP Data received {"connection_id":149695,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15995a8012d181ec00721afc0004d00d72c..."} 
[2026-08-05 15:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15995a8012d181ec00721afc0004d00d72c..."} 
[2026-08-05 15:27:16] local.INFO: Processing buffer {"connection_id":149695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15995a8012d181ec00721afc0004d00d72c..."} 
[2026-08-05 15:27:16] local.INFO: Packet analysis {"connection_id":149695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd159"} 
[2026-08-05 15:27:16] local.INFO: Extracted packet for processing {"connection_id":149695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd159"} 
[2026-08-05 15:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648192,"longitude_deg":75.6555456,"latitude_deg":11.9648192,"altitude":77,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196471296001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691530809409536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923737000,"timestamp_ms":1785923737000,"timestamp_seconds":1785923737,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15995a8"} 
[2026-08-05 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-08-05 15:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196471296001,"66":12461,"105":206,"83":41984,"24":0,"16":10691530809409536,"45":1738037643074060288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196471296001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:27:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:27:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691530809409536,"km_value":10691530809409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196471296001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":149695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:27:16] local.INFO: GPS data processed {"connection_id":149695,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:27:16] local.INFO: Acknowledgment sent {"connection_id":149695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:27:20] local.INFO: TCP Data received {"connection_id":151121,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:27:20] local.INFO: Processing buffer {"connection_id":151121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:27:20] local.INFO: IMEI packet received {"connection_id":151121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":151121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:27:25] local.INFO: TCP Data received {"connection_id":151121,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:27:25] local.INFO: Processing buffer {"connection_id":151121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:27:25] local.INFO: IMEI packet received {"connection_id":151121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":151121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:27:25] local.INFO: TCP Data received {"connection_id":151121,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:27:25] local.INFO: Processing buffer {"connection_id":151121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:27:25] local.INFO: Packet analysis {"connection_id":151121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:27:25] local.INFO: Extracted packet for processing {"connection_id":151121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":13,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196376320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584952832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785923648000,"timestamp_ms":1785923648000,"timestamp_seconds":1785923648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1583a00"} 
[2026-08-05 15:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196376320001,"66":25702,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195506038584952832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196376320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:27:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584952832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196376320001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584952832}} 
[2026-08-05 15:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":151121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:27:25] local.INFO: GPS data processed {"connection_id":151121,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:27:25] local.INFO: Acknowledgment sent {"connection_id":151121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:27:30] local.INFO: TCP Data received {"connection_id":151121,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:27:30] local.INFO: Processing buffer {"connection_id":151121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:27:30] local.INFO: Packet analysis {"connection_id":151121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:27:30] local.INFO: Extracted packet for processing {"connection_id":151121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":13,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196376320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584952832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785923648000,"timestamp_ms":1785923648000,"timestamp_seconds":1785923648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1583a00"} 
[2026-08-05 15:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196376320001,"66":25702,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195506038584952832},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196376320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:27:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584952832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196376320001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584952832}} 
[2026-08-05 15:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":151121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:27:30] local.INFO: GPS data processed {"connection_id":151121,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:27:30] local.INFO: Acknowledgment sent {"connection_id":151121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:27:39] local.INFO: TCP Data received {"connection_id":148698,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:27:39] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:27:39] local.INFO: IMEI packet received {"connection_id":148698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":148698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:27:44] local.INFO: TCP Data received {"connection_id":148698,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:27:44] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:27:44] local.INFO: IMEI packet received {"connection_id":148698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":148698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:27:45] local.INFO: TCP Data received {"connection_id":148698,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd159dbf8012d181e400721ae20004e00c72c..."} 
[2026-08-05 15:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd159dbf8012d181e400721ae20004e00c72c..."} 
[2026-08-05 15:27:45] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd159dbf8012d181e400721ae20004e00c72c..."} 
[2026-08-05 15:27:45] local.INFO: Packet analysis {"connection_id":148698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd159"} 
[2026-08-05 15:27:45] local.INFO: Extracted packet for processing {"connection_id":148698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd159"} 
[2026-08-05 15:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647776,"longitude_deg":75.6555328,"latitude_deg":11.9647776,"altitude":78,"angle":199,"satellites":44,"speed":2,"hex_longitude":"2d181e40","hex_latitude":"0721ae20","is_valid_coordinates":true} 
[2026-08-05 15:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196476672001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691552284246016,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074060288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923755000,"timestamp_ms":1785923755000,"timestamp_seconds":1785923755,"priority":1,"record_length":96,"hex_timestamp":"0000019fd159dbf8"} 
[2026-08-05 15:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196476672001,"66":12428,"105":206,"83":41984,"24":2,"16":10691552284246016,"45":1738037643074060288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196476672001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:27:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691552284246016,"km_value":10691552284246.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074060288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196476672001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738037643074060288}} 
[2026-08-05 15:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":148698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:27:45] local.INFO: GPS data processed {"connection_id":148698,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:27:45] local.INFO: Acknowledgment sent {"connection_id":148698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:28:15] local.INFO: TCP Data received {"connection_id":148699,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:28:15] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:28:15] local.INFO: IMEI packet received {"connection_id":148699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":148699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:28:16] local.INFO: TCP Data received {"connection_id":148698,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15a2e00012d181e400721ae00004e00ca2b..."} 
[2026-08-05 15:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15a2e00012d181e400721ae00004e00ca2b..."} 
[2026-08-05 15:28:16] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15a2e00012d181e400721ae00004e00ca2b..."} 
[2026-08-05 15:28:16] local.INFO: Packet analysis {"connection_id":148698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15a"} 
[2026-08-05 15:28:16] local.INFO: Extracted packet for processing {"connection_id":148698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15a"} 
[2026-08-05 15:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196481280001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585598464,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923776000,"timestamp_ms":1785923776000,"timestamp_seconds":1785923776,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15a2e00"} 
[2026-08-05 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-08-05 15:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 15:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196481280001,"66":12428,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585598464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196481280001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:28:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585598464,"description":"Unknown IO ID 45"} 
[2026-08-05 15:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196481280001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585598464}} 
[2026-08-05 15:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":148698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:28:16] local.INFO: GPS data processed {"connection_id":148698,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:28:16] local.INFO: Acknowledgment sent {"connection_id":148698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:28:20] local.INFO: TCP Data received {"connection_id":148699,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:28:20] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:28:20] local.INFO: IMEI packet received {"connection_id":148699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":148699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:28:21] local.INFO: TCP Data received {"connection_id":148699,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:28:21] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:28:21] local.INFO: Packet analysis {"connection_id":148699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:28:21] local.INFO: Extracted packet for processing {"connection_id":148699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":13,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196376320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584952832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785923648000,"timestamp_ms":1785923648000,"timestamp_seconds":1785923648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1583a00"} 
[2026-08-05 15:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196376320001,"66":25702,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195506038584952832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196376320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:28:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584952832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196376320001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584952832}} 
[2026-08-05 15:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":148699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:28:21] local.INFO: GPS data processed {"connection_id":148699,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:28:21] local.INFO: Acknowledgment sent {"connection_id":148699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:28:39] local.INFO: TCP Data received {"connection_id":151122,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:28:39] local.INFO: Processing buffer {"connection_id":151122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:28:39] local.INFO: IMEI packet received {"connection_id":151122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":151122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:28:40] local.INFO: TCP Data received {"connection_id":151122,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:28:40] local.INFO: Processing buffer {"connection_id":151122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:28:40] local.INFO: IMEI packet received {"connection_id":151122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":151122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:28:44] local.INFO: TCP Data received {"connection_id":151122,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:28:44] local.INFO: Processing buffer {"connection_id":151122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:28:44] local.INFO: IMEI packet received {"connection_id":151122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":151122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:28:45] local.INFO: TCP Data received {"connection_id":151122,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15a8008012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15a8008012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:28:45] local.INFO: Processing buffer {"connection_id":151122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15a8008012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:28:45] local.INFO: Packet analysis {"connection_id":151122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15a"} 
[2026-08-05 15:28:45] local.INFO: Extracted packet for processing {"connection_id":151122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15a"} 
[2026-08-05 15:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196486656001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923797000,"timestamp_ms":1785923797000,"timestamp_seconds":1785923797,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15a8008"} 
[2026-08-05 15:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 15:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196486656001,"66":12439,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196486656001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:28:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196486656001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":151122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:28:45] local.INFO: GPS data processed {"connection_id":151122,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:28:45] local.INFO: Acknowledgment sent {"connection_id":151122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:28:52] local.INFO: TCP Data received {"connection_id":148699,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:28:52] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:28:52] local.INFO: Packet analysis {"connection_id":148699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:28:52] local.INFO: Extracted packet for processing {"connection_id":148699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:28:52] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":13,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196376320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584952832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785923648000,"timestamp_ms":1785923648000,"timestamp_seconds":1785923648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1583a00"} 
[2026-08-05 15:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196376320001,"66":25702,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195506038584952832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196376320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:28:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584952832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196376320001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584952832}} 
[2026-08-05 15:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":148699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:28:52] local.INFO: GPS data processed {"connection_id":148699,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:28:52] local.INFO: Acknowledgment sent {"connection_id":148699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:29:15] local.INFO: TCP Data received {"connection_id":149696,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:29:15] local.INFO: Processing buffer {"connection_id":149696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:29:15] local.INFO: IMEI packet received {"connection_id":149696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":149696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:29:16] local.INFO: TCP Data received {"connection_id":151122,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15ad210012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15ad210012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:29:16] local.INFO: Processing buffer {"connection_id":151122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15ad210012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:29:16] local.INFO: Packet analysis {"connection_id":151122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15a"} 
[2026-08-05 15:29:16] local.INFO: Extracted packet for processing {"connection_id":151122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15a"} 
[2026-08-05 15:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196492032001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923818000,"timestamp_ms":1785923818000,"timestamp_seconds":1785923818,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15ad210"} 
[2026-08-05 15:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 15:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196492032001,"66":12461,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196492032001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:29:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196492032001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":151122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:29:16] local.INFO: GPS data processed {"connection_id":151122,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:29:16] local.INFO: Acknowledgment sent {"connection_id":151122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:29:20] local.INFO: TCP Data received {"connection_id":149696,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:29:20] local.INFO: Processing buffer {"connection_id":149696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:29:20] local.INFO: IMEI packet received {"connection_id":149696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":149696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:29:21] local.INFO: TCP Data received {"connection_id":149696,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:29:21] local.INFO: Processing buffer {"connection_id":149696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1583a00012d7f9c4005afd0a0000d00b732..."} 
[2026-08-05 15:29:21] local.INFO: Packet analysis {"connection_id":149696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:29:21] local.INFO: Extracted packet for processing {"connection_id":149696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd158"} 
[2026-08-05 15:29:21] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":13,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196376320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038584952832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785923648000,"timestamp_ms":1785923648000,"timestamp_seconds":1785923648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1583a00"} 
[2026-08-05 15:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 15:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196376320001,"66":25702,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195506038584952832},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196376320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:29:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038584952832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196376320001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195506038584952832}} 
[2026-08-05 15:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":149696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:29:21] local.INFO: GPS data processed {"connection_id":149696,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:29:21] local.INFO: Acknowledgment sent {"connection_id":149696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:29:42] local.INFO: TCP Data received {"connection_id":149697,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:29:42] local.INFO: Processing buffer {"connection_id":149697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:29:42] local.INFO: IMEI packet received {"connection_id":149697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":149697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:29:44] local.INFO: TCP Data received {"connection_id":149697,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:29:44] local.INFO: Processing buffer {"connection_id":149697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:29:44] local.INFO: IMEI packet received {"connection_id":149697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":149697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:29:49] local.INFO: TCP Data received {"connection_id":149697,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:29:49] local.INFO: Processing buffer {"connection_id":149697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:29:49] local.INFO: IMEI packet received {"connection_id":149697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":149697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:29:50] local.INFO: TCP Data received {"connection_id":149697,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15b2418012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15b2418012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:29:50] local.INFO: Processing buffer {"connection_id":149697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15b2418012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:29:50] local.INFO: Packet analysis {"connection_id":149697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15b"} 
[2026-08-05 15:29:50] local.INFO: Extracted packet for processing {"connection_id":149697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15b"} 
[2026-08-05 15:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196497408001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785923839000,"timestamp_ms":1785923839000,"timestamp_seconds":1785923839,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15b2418"} 
[2026-08-05 15:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196497408001,"66":12439,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196497408001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:29:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196497408001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":149697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:29:50] local.INFO: GPS data processed {"connection_id":149697,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:29:50] local.INFO: Acknowledgment sent {"connection_id":149697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:29:52] local.INFO: TCP Data received {"connection_id":149696,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:29:52] local.INFO: Processing buffer {"connection_id":149696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:29:52] local.INFO: Packet analysis {"connection_id":149696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:29:52] local.INFO: Extracted packet for processing {"connection_id":149696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:29:52] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":15,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196453888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785923949000,"timestamp_ms":1785923949000,"timestamp_seconds":1785923949,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cd1c8"} 
[2026-08-05 15:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-05 15:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196453888001,"66":25680,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196453888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:29:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196453888001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":149696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:29:52] local.INFO: GPS data processed {"connection_id":149696,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:29:52] local.INFO: Acknowledgment sent {"connection_id":149696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:29:55] local.INFO: TCP Data received {"connection_id":149697,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15b7620012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15b7620012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:29:55] local.INFO: Processing buffer {"connection_id":149697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15b7620012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:29:55] local.INFO: Packet analysis {"connection_id":149697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15b"} 
[2026-08-05 15:29:55] local.INFO: Extracted packet for processing {"connection_id":149697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15b"} 
[2026-08-05 15:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196502784001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785923860000,"timestamp_ms":1785923860000,"timestamp_seconds":1785923860,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15b7620"} 
[2026-08-05 15:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 15:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196502784001,"66":12374,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196502784001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:29:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196502784001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":149697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:29:55] local.INFO: GPS data processed {"connection_id":149697,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:29:55] local.INFO: Acknowledgment sent {"connection_id":149697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:30:20] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:30:20] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:30:20] local.INFO: IMEI packet received {"connection_id":148489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":148489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:30:25] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:30:25] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:30:25] local.INFO: IMEI packet received {"connection_id":148489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":148489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:30:25] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:30:25] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:30:25] local.INFO: Packet analysis {"connection_id":148489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:30:25] local.INFO: Extracted packet for processing {"connection_id":148489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":15,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196453888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785923949000,"timestamp_ms":1785923949000,"timestamp_seconds":1785923949,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cd1c8"} 
[2026-08-05 15:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 15:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196453888001,"66":25680,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196453888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:30:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196453888001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":148489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:30:25] local.INFO: GPS data processed {"connection_id":148489,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:30:25] local.INFO: Acknowledgment sent {"connection_id":148489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:30:39] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:30:39] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:30:39] local.INFO: IMEI packet received {"connection_id":148490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":148490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:30:45] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:30:45] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:30:45] local.INFO: IMEI packet received {"connection_id":148490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":148490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:30:45] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15bc828012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15bc828012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:30:45] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15bc828012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:30:45] local.INFO: Packet analysis {"connection_id":148490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15b"} 
[2026-08-05 15:30:45] local.INFO: Extracted packet for processing {"connection_id":148490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15b"} 
[2026-08-05 15:30:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196508160001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923881000,"timestamp_ms":1785923881000,"timestamp_seconds":1785923881,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15bc828"} 
[2026-08-05 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-08-05 15:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 15:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196508160001,"66":12385,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196508160001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:30:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:30:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196508160001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":148490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:30:46] local.INFO: GPS data processed {"connection_id":148490,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:30:46] local.INFO: Acknowledgment sent {"connection_id":148490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:30:56] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:30:56] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:30:56] local.INFO: Packet analysis {"connection_id":148489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:30:56] local.INFO: Extracted packet for processing {"connection_id":148489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":15,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196453888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785923949000,"timestamp_ms":1785923949000,"timestamp_seconds":1785923949,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cd1c8"} 
[2026-08-05 15:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 15:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196453888001,"66":25680,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196453888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:30:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196453888001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":148489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:30:56] local.INFO: GPS data processed {"connection_id":148489,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:30:56] local.INFO: Acknowledgment sent {"connection_id":148489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:31:15] local.INFO: TCP Data received {"connection_id":149698,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:31:15] local.INFO: Processing buffer {"connection_id":149698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:31:15] local.INFO: IMEI packet received {"connection_id":149698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":149698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:31:17] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15c1a30012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15c1a30012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:31:17] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15c1a30012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:31:17] local.INFO: Packet analysis {"connection_id":148490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:31:17] local.INFO: Extracted packet for processing {"connection_id":148490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196513536001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785923902000,"timestamp_ms":1785923902000,"timestamp_seconds":1785923902,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15c1a30"} 
[2026-08-05 15:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 15:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196513536001,"66":12428,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196513536001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:31:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196513536001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":148490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:31:17] local.INFO: GPS data processed {"connection_id":148490,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:31:17] local.INFO: Acknowledgment sent {"connection_id":148490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:31:20] local.INFO: TCP Data received {"connection_id":149698,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:31:20] local.INFO: Processing buffer {"connection_id":149698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:31:20] local.INFO: IMEI packet received {"connection_id":149698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":149698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:31:20] local.INFO: TCP Data received {"connection_id":149698,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:31:20] local.INFO: Processing buffer {"connection_id":149698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:31:20] local.INFO: Packet analysis {"connection_id":149698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:31:20] local.INFO: Extracted packet for processing {"connection_id":149698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:31:20] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":15,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196453888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785923949000,"timestamp_ms":1785923949000,"timestamp_seconds":1785923949,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cd1c8"} 
[2026-08-05 15:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 15:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196453888001,"66":25680,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196453888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:31:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196453888001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":149698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:31:20] local.INFO: GPS data processed {"connection_id":149698,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:31:20] local.INFO: Acknowledgment sent {"connection_id":149698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:31:39] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:31:39] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:31:39] local.INFO: IMEI packet received {"connection_id":148700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":148700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:31:44] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:31:44] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:31:44] local.INFO: IMEI packet received {"connection_id":148700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":148700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:31:45] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15c6c38012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15c6c38012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:31:45] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15c6c38012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:31:45] local.INFO: Packet analysis {"connection_id":148700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:31:45] local.INFO: Extracted packet for processing {"connection_id":148700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196518912001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923923000,"timestamp_ms":1785923923000,"timestamp_seconds":1785923923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15c6c38"} 
[2026-08-05 15:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 15:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196518912001,"66":12406,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196518912001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:31:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196518912001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":148700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:31:45] local.INFO: GPS data processed {"connection_id":148700,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:31:45] local.INFO: Acknowledgment sent {"connection_id":148700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:31:54] local.INFO: TCP Data received {"connection_id":149698,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:31:54] local.INFO: Processing buffer {"connection_id":149698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:31:54] local.INFO: Packet analysis {"connection_id":149698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:31:54] local.INFO: Extracted packet for processing {"connection_id":149698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":15,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196453888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785923949000,"timestamp_ms":1785923949000,"timestamp_seconds":1785923949,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cd1c8"} 
[2026-08-05 15:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 15:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196453888001,"66":25680,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196453888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:31:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196453888001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":149698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:31:54] local.INFO: GPS data processed {"connection_id":149698,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:31:54] local.INFO: Acknowledgment sent {"connection_id":149698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:32:15] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:32:15] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:32:15] local.INFO: IMEI packet received {"connection_id":148701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":148701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:32:16] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cbe40012d181e400721ae00004e00ca2f..."} 
[2026-08-05 15:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cbe40012d181e400721ae00004e00ca2f..."} 
[2026-08-05 15:32:16] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cbe40012d181e400721ae00004e00ca2f..."} 
[2026-08-05 15:32:16] local.INFO: Packet analysis {"connection_id":148700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:32:16] local.INFO: Extracted packet for processing {"connection_id":148700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":47,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196524288001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923944000,"timestamp_ms":1785923944000,"timestamp_seconds":1785923944,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cbe40"} 
[2026-08-05 15:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 15:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196524288001,"66":12385,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196524288001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:32:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:32:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196524288001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":148700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:32:17] local.INFO: GPS data processed {"connection_id":148700,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:32:17] local.INFO: Acknowledgment sent {"connection_id":148700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:32:20] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:32:20] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:32:20] local.INFO: IMEI packet received {"connection_id":148701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":148701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:32:20] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:32:20] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:32:20] local.INFO: Packet analysis {"connection_id":148701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:32:20] local.INFO: Extracted packet for processing {"connection_id":148701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":15,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196453888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785923949000,"timestamp_ms":1785923949000,"timestamp_seconds":1785923949,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cd1c8"} 
[2026-08-05 15:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 15:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196453888001,"66":25680,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196453888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:32:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196453888001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":148701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:32:20] local.INFO: GPS data processed {"connection_id":148701,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:32:20] local.INFO: Acknowledgment sent {"connection_id":148701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:32:39] local.INFO: TCP Data received {"connection_id":151123,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:32:39] local.INFO: Processing buffer {"connection_id":151123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:32:39] local.INFO: IMEI packet received {"connection_id":151123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":151123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:32:44] local.INFO: TCP Data received {"connection_id":151123,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:32:44] local.INFO: Processing buffer {"connection_id":151123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:32:44] local.INFO: IMEI packet received {"connection_id":151123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":151123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:32:45] local.INFO: TCP Data received {"connection_id":151123,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15d1048012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15d1048012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:32:45] local.INFO: Processing buffer {"connection_id":151123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15d1048012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:32:45] local.INFO: Packet analysis {"connection_id":151123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15d"} 
[2026-08-05 15:32:45] local.INFO: Extracted packet for processing {"connection_id":151123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15d"} 
[2026-08-05 15:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196529664001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785923965000,"timestamp_ms":1785923965000,"timestamp_seconds":1785923965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15d1048"} 
[2026-08-05 15:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 15:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196529664001,"66":12428,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196529664001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:32:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196529664001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":151123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:32:45] local.INFO: GPS data processed {"connection_id":151123,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:32:45] local.INFO: Acknowledgment sent {"connection_id":151123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:32:51] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:32:51] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:32:51] local.INFO: Packet analysis {"connection_id":148701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:32:51] local.INFO: Extracted packet for processing {"connection_id":148701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:32:51] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":15,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196453888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785923949000,"timestamp_ms":1785923949000,"timestamp_seconds":1785923949,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cd1c8"} 
[2026-08-05 15:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-05 15:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196453888001,"66":25680,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196453888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:32:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196453888001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":148701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:32:51] local.INFO: GPS data processed {"connection_id":148701,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:32:51] local.INFO: Acknowledgment sent {"connection_id":148701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:33:14] local.INFO: TCP Data received {"connection_id":148702,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:33:14] local.INFO: Processing buffer {"connection_id":148702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:33:14] local.INFO: IMEI packet received {"connection_id":148702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":148702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:33:16] local.INFO: TCP Data received {"connection_id":151123,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15d6250012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15d6250012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:33:16] local.INFO: Processing buffer {"connection_id":151123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15d6250012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:33:16] local.INFO: Packet analysis {"connection_id":151123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15d"} 
[2026-08-05 15:33:16] local.INFO: Extracted packet for processing {"connection_id":151123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15d"} 
[2026-08-05 15:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196535040001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785923986000,"timestamp_ms":1785923986000,"timestamp_seconds":1785923986,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15d6250"} 
[2026-08-05 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-08-05 15:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 15:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196535040001,"66":12428,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196535040001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:33:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196535040001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":151123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:33:16] local.INFO: GPS data processed {"connection_id":151123,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:33:16] local.INFO: Acknowledgment sent {"connection_id":151123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:33:20] local.INFO: TCP Data received {"connection_id":148702,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:33:20] local.INFO: Processing buffer {"connection_id":148702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:33:20] local.INFO: IMEI packet received {"connection_id":148702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":148702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:33:20] local.INFO: TCP Data received {"connection_id":148702,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:33:20] local.INFO: Processing buffer {"connection_id":148702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:33:20] local.INFO: Packet analysis {"connection_id":148702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:33:20] local.INFO: Extracted packet for processing {"connection_id":148702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":15,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196453888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785923949000,"timestamp_ms":1785923949000,"timestamp_seconds":1785923949,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cd1c8"} 
[2026-08-05 15:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 15:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196453888001,"66":25680,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196453888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:33:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:33:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196453888001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":148702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:33:20] local.INFO: GPS data processed {"connection_id":148702,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:33:20] local.INFO: Acknowledgment sent {"connection_id":148702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:33:39] local.INFO: TCP Data received {"connection_id":149699,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:33:39] local.INFO: Processing buffer {"connection_id":149699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:33:39] local.INFO: IMEI packet received {"connection_id":149699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":149699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:33:44] local.INFO: TCP Data received {"connection_id":149699,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:33:45] local.INFO: Processing buffer {"connection_id":149699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:33:45] local.INFO: IMEI packet received {"connection_id":149699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":149699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:33:45] local.INFO: TCP Data received {"connection_id":149699,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15db458012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15db458012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:33:45] local.INFO: Processing buffer {"connection_id":149699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15db458012d181e400721ae00004e00ca2c..."} 
[2026-08-05 15:33:45] local.INFO: Packet analysis {"connection_id":149699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15d"} 
[2026-08-05 15:33:45] local.INFO: Extracted packet for processing {"connection_id":149699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15d"} 
[2026-08-05 15:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196540416001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785924007000,"timestamp_ms":1785924007000,"timestamp_seconds":1785924007,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15db458"} 
[2026-08-05 15:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 15:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196540416001,"66":12439,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196540416001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:33:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196540416001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":149699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:33:45] local.INFO: GPS data processed {"connection_id":149699,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:33:45] local.INFO: Acknowledgment sent {"connection_id":149699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:33:51] local.INFO: TCP Data received {"connection_id":148702,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:33:51] local.INFO: Processing buffer {"connection_id":148702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:33:51] local.INFO: Packet analysis {"connection_id":148702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:33:51] local.INFO: Extracted packet for processing {"connection_id":148702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:33:51] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":15,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196453888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785923949000,"timestamp_ms":1785923949000,"timestamp_seconds":1785923949,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cd1c8"} 
[2026-08-05 15:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 15:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196453888001,"66":25680,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196453888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:33:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196453888001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":148702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:33:51] local.INFO: GPS data processed {"connection_id":148702,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:33:51] local.INFO: Acknowledgment sent {"connection_id":148702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:34:16] local.INFO: TCP Data received {"connection_id":149699,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15e0660012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15e0660012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:34:16] local.INFO: Processing buffer {"connection_id":149699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15e0660012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:34:16] local.INFO: Packet analysis {"connection_id":149699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15e"} 
[2026-08-05 15:34:16] local.INFO: Extracted packet for processing {"connection_id":149699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15e"} 
[2026-08-05 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196545792001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785924028000,"timestamp_ms":1785924028000,"timestamp_seconds":1785924028,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15e0660"} 
[2026-08-05 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-08-05 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 15:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196545792001,"66":12428,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196545792001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196545792001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":149699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:34:16] local.INFO: GPS data processed {"connection_id":149699,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:34:16] local.INFO: Acknowledgment sent {"connection_id":149699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:34:20] local.INFO: TCP Data received {"connection_id":148491,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:34:20] local.INFO: Processing buffer {"connection_id":148491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:34:20] local.INFO: IMEI packet received {"connection_id":148491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":148491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:34:25] local.INFO: TCP Data received {"connection_id":148491,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:34:25] local.INFO: Processing buffer {"connection_id":148491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:34:25] local.INFO: IMEI packet received {"connection_id":148491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":148491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:34:25] local.INFO: TCP Data received {"connection_id":148491,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:34:25] local.INFO: Processing buffer {"connection_id":148491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:34:25] local.INFO: Packet analysis {"connection_id":148491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:34:25] local.INFO: Extracted packet for processing {"connection_id":148491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":15,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196453888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785923949000,"timestamp_ms":1785923949000,"timestamp_seconds":1785923949,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cd1c8"} 
[2026-08-05 15:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 15:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196453888001,"66":25680,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196453888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:34:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196453888001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":148491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:34:25] local.INFO: GPS data processed {"connection_id":148491,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:34:25] local.INFO: Acknowledgment sent {"connection_id":148491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:34:30] local.INFO: TCP Data received {"connection_id":148491,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:34:30] local.INFO: Processing buffer {"connection_id":148491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15cd1c8012d7f9c4005afd0a0000f00b732..."} 
[2026-08-05 15:34:30] local.INFO: Packet analysis {"connection_id":148491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:34:30] local.INFO: Extracted packet for processing {"connection_id":148491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15c"} 
[2026-08-05 15:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":15,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196453888001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785923949000,"timestamp_ms":1785923949000,"timestamp_seconds":1785923949,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15cd1c8"} 
[2026-08-05 15:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 15:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196453888001,"66":25680,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196453888001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:34:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196453888001,"power":25680,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":148491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:34:30] local.INFO: GPS data processed {"connection_id":148491,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:34:30] local.INFO: Acknowledgment sent {"connection_id":148491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:34:39] local.INFO: TCP Data received {"connection_id":151124,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:34:39] local.INFO: Processing buffer {"connection_id":151124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:34:39] local.INFO: IMEI packet received {"connection_id":151124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":151124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:34:44] local.INFO: TCP Data received {"connection_id":151124,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:34:44] local.INFO: Processing buffer {"connection_id":151124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:34:44] local.INFO: IMEI packet received {"connection_id":151124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":151124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:34:47] local.INFO: TCP Data received {"connection_id":151124,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15e5868012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15e5868012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:34:47] local.INFO: Processing buffer {"connection_id":151124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15e5868012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:34:47] local.INFO: Packet analysis {"connection_id":151124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15e"} 
[2026-08-05 15:34:47] local.INFO: Extracted packet for processing {"connection_id":151124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15e"} 
[2026-08-05 15:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196551168001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785924049000,"timestamp_ms":1785924049000,"timestamp_seconds":1785924049,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15e5868"} 
[2026-08-05 15:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 15:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196551168001,"66":12406,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196551168001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:34:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196551168001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":151124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:34:47] local.INFO: GPS data processed {"connection_id":151124,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:34:47] local.INFO: Acknowledgment sent {"connection_id":151124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:35:15] local.INFO: TCP Data received {"connection_id":149700,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:35:15] local.INFO: Processing buffer {"connection_id":149700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:35:15] local.INFO: IMEI packet received {"connection_id":149700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":149700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:35:20] local.INFO: TCP Data received {"connection_id":149700,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:35:20] local.INFO: Processing buffer {"connection_id":149700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:35:20] local.INFO: IMEI packet received {"connection_id":149700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":149700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:35:20] local.INFO: TCP Data received {"connection_id":151124,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15eaa70012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15eaa70012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:35:20] local.INFO: Processing buffer {"connection_id":151124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15eaa70012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:35:20] local.INFO: Packet analysis {"connection_id":151124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15e"} 
[2026-08-05 15:35:20] local.INFO: Extracted packet for processing {"connection_id":151124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15e"} 
[2026-08-05 15:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196556544001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785924070000,"timestamp_ms":1785924070000,"timestamp_seconds":1785924070,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15eaa70"} 
[2026-08-05 15:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 15:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196556544001,"66":12439,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196556544001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:35:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196556544001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:35:20] local.INFO: TCP Data received {"connection_id":149700,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:35:20] local.INFO: Processing buffer {"connection_id":149700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:35:20] local.INFO: Packet analysis {"connection_id":149700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:35:20] local.INFO: Extracted packet for processing {"connection_id":149700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:35:20] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":11,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196530944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785924249000,"timestamp_ms":1785924249000,"timestamp_seconds":1785924249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16165a8"} 
[2026-08-05 15:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 15:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196530944001,"66":25647,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196530944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:35:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196530944001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":149700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:35:21] local.INFO: GPS data processed {"connection_id":149700,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:35:21] local.INFO: Acknowledgment sent {"connection_id":149700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":151124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:35:21] local.INFO: GPS data processed {"connection_id":151124,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:35:21] local.INFO: Acknowledgment sent {"connection_id":151124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:35:39] local.INFO: TCP Data received {"connection_id":148703,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:35:39] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:35:39] local.INFO: IMEI packet received {"connection_id":148703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":148703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:35:40] local.INFO: TCP Data received {"connection_id":148703,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:35:40] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:35:40] local.INFO: IMEI packet received {"connection_id":148703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":148703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:35:44] local.INFO: TCP Data received {"connection_id":148703,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:35:44] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:35:44] local.INFO: IMEI packet received {"connection_id":148703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":148703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:35:45] local.INFO: TCP Data received {"connection_id":148703,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15efc78012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15efc78012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:35:45] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15efc78012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:35:45] local.INFO: Packet analysis {"connection_id":148703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15e"} 
[2026-08-05 15:35:45] local.INFO: Extracted packet for processing {"connection_id":148703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15e"} 
[2026-08-05 15:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196561920001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785924091000,"timestamp_ms":1785924091000,"timestamp_seconds":1785924091,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15efc78"} 
[2026-08-05 15:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 15:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196561920001,"66":12385,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196561920001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:35:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196561920001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":148703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:35:45] local.INFO: GPS data processed {"connection_id":148703,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:35:45] local.INFO: Acknowledgment sent {"connection_id":148703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:35:51] local.INFO: TCP Data received {"connection_id":149700,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:35:51] local.INFO: Processing buffer {"connection_id":149700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:35:51] local.INFO: Packet analysis {"connection_id":149700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:35:51] local.INFO: Extracted packet for processing {"connection_id":149700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:35:51] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":11,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196530944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785924249000,"timestamp_ms":1785924249000,"timestamp_seconds":1785924249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16165a8"} 
[2026-08-05 15:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 15:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196530944001,"66":25647,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196530944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:35:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196530944001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":149700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:35:51] local.INFO: GPS data processed {"connection_id":149700,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:35:51] local.INFO: Acknowledgment sent {"connection_id":149700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:36:15] local.INFO: TCP Data received {"connection_id":149701,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:36:15] local.INFO: Processing buffer {"connection_id":149701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:36:15] local.INFO: IMEI packet received {"connection_id":149701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":149701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:36:16] local.INFO: TCP Data received {"connection_id":148703,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15f4e80012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15f4e80012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:36:16] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15f4e80012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:36:16] local.INFO: Packet analysis {"connection_id":148703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15f"} 
[2026-08-05 15:36:16] local.INFO: Extracted packet for processing {"connection_id":148703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15f"} 
[2026-08-05 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196567296001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785924112000,"timestamp_ms":1785924112000,"timestamp_seconds":1785924112,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15f4e80"} 
[2026-08-05 15:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 15:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196567296001,"66":12406,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196567296001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:36:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196567296001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":148703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:36:16] local.INFO: GPS data processed {"connection_id":148703,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:36:16] local.INFO: Acknowledgment sent {"connection_id":148703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:36:20] local.INFO: TCP Data received {"connection_id":149701,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:36:20] local.INFO: Processing buffer {"connection_id":149701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:36:20] local.INFO: IMEI packet received {"connection_id":149701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":149701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:36:21] local.INFO: TCP Data received {"connection_id":149701,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:36:21] local.INFO: Processing buffer {"connection_id":149701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:36:21] local.INFO: Packet analysis {"connection_id":149701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:36:21] local.INFO: Extracted packet for processing {"connection_id":149701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:36:21] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":11,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196530944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785924249000,"timestamp_ms":1785924249000,"timestamp_seconds":1785924249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16165a8"} 
[2026-08-05 15:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 15:36: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-08-05 15: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-08-05 15:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196530944001,"66":25647,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196530944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:36:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196530944001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":149701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:36:21] local.INFO: GPS data processed {"connection_id":149701,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:36:21] local.INFO: Acknowledgment sent {"connection_id":149701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:36:39] local.INFO: TCP Data received {"connection_id":149702,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:36:39] local.INFO: Processing buffer {"connection_id":149702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:36:39] local.INFO: IMEI packet received {"connection_id":149702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":149702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:36:43] local.INFO: TCP Data received {"connection_id":149702,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:36:43] local.INFO: Processing buffer {"connection_id":149702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:36:43] local.INFO: IMEI packet received {"connection_id":149702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":149702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:36:44] local.INFO: TCP Data received {"connection_id":149702,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:36:44] local.INFO: Processing buffer {"connection_id":149702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:36:44] local.INFO: IMEI packet received {"connection_id":149702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":149702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:36:46] local.INFO: TCP Data received {"connection_id":149702,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15fa088012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15fa088012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:36:46] local.INFO: Processing buffer {"connection_id":149702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15fa088012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:36:46] local.INFO: Packet analysis {"connection_id":149702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15f"} 
[2026-08-05 15:36:46] local.INFO: Extracted packet for processing {"connection_id":149702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15f"} 
[2026-08-05 15:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196572672001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785924133000,"timestamp_ms":1785924133000,"timestamp_seconds":1785924133,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15fa088"} 
[2026-08-05 15:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 15:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196572672001,"66":12406,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196572672001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:36:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196572672001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":149702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:36:46] local.INFO: GPS data processed {"connection_id":149702,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:36:46] local.INFO: Acknowledgment sent {"connection_id":149702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:36:52] local.INFO: TCP Data received {"connection_id":149701,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:36:52] local.INFO: Processing buffer {"connection_id":149701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:36:52] local.INFO: Packet analysis {"connection_id":149701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:36:52] local.INFO: Extracted packet for processing {"connection_id":149701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:36:52] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":11,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196530944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785924249000,"timestamp_ms":1785924249000,"timestamp_seconds":1785924249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16165a8"} 
[2026-08-05 15:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 15:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196530944001,"66":25647,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196530944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:36:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:36:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196530944001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":149701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:36:52] local.INFO: GPS data processed {"connection_id":149701,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:36:52] local.INFO: Acknowledgment sent {"connection_id":149701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:37:14] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:37:14] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:37:14] local.INFO: IMEI packet received {"connection_id":148704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":148704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:37:17] local.INFO: TCP Data received {"connection_id":149702,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd15ff290012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd15ff290012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:37:17] local.INFO: Processing buffer {"connection_id":149702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd15ff290012d181e400721ae00004e00ca2e..."} 
[2026-08-05 15:37:17] local.INFO: Packet analysis {"connection_id":149702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd15f"} 
[2026-08-05 15:37:17] local.INFO: Extracted packet for processing {"connection_id":149702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd15f"} 
[2026-08-05 15:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196578048001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785924154000,"timestamp_ms":1785924154000,"timestamp_seconds":1785924154,"priority":1,"record_length":96,"hex_timestamp":"0000019fd15ff290"} 
[2026-08-05 15:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 15:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196578048001,"66":12406,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196578048001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:37:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:37:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196578048001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":149702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:37:17] local.INFO: GPS data processed {"connection_id":149702,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:37:17] local.INFO: Acknowledgment sent {"connection_id":149702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:37:20] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:37:20] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:37:20] local.INFO: IMEI packet received {"connection_id":148704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":148704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:37:21] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:37:21] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:37:21] local.INFO: Packet analysis {"connection_id":148704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:37:21] local.INFO: Extracted packet for processing {"connection_id":148704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":11,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196530944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785924249000,"timestamp_ms":1785924249000,"timestamp_seconds":1785924249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16165a8"} 
[2026-08-05 15:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 15:37: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-08-05 15:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196530944001,"66":25647,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196530944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:37:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196530944001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":148704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:37:21] local.INFO: GPS data processed {"connection_id":148704,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:37:21] local.INFO: Acknowledgment sent {"connection_id":148704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:37:43] local.INFO: TCP Data received {"connection_id":151125,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:37:43] local.INFO: Processing buffer {"connection_id":151125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:37:43] local.INFO: IMEI packet received {"connection_id":151125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":151125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:37:44] local.INFO: TCP Data received {"connection_id":151125,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:37:44] local.INFO: Processing buffer {"connection_id":151125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:37:44] local.INFO: IMEI packet received {"connection_id":151125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":151125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:37:45] local.INFO: TCP Data received {"connection_id":151125,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:37:45] local.INFO: Processing buffer {"connection_id":151125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:37:45] local.INFO: IMEI packet received {"connection_id":151125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":151125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:37:46] local.INFO: TCP Data received {"connection_id":151125,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16378e8012d181e400721ae00004e00ca2b..."} 
[2026-08-05 15:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16378e8012d181e400721ae00004e00ca2b..."} 
[2026-08-05 15:37:46] local.INFO: Processing buffer {"connection_id":151125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16378e8012d181e400721ae00004e00ca2b..."} 
[2026-08-05 15:37:46] local.INFO: Packet analysis {"connection_id":151125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd163"} 
[2026-08-05 15:37:46] local.INFO: Extracted packet for processing {"connection_id":151125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd163"} 
[2026-08-05 15:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196637184001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785924385000,"timestamp_ms":1785924385000,"timestamp_seconds":1785924385,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16378e8"} 
[2026-08-05 15:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 15:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196637184001,"66":13917,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196637184001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:37:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196637184001,"power":13917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":151125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:37:46] local.INFO: GPS data processed {"connection_id":151125,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:37:46] local.INFO: Acknowledgment sent {"connection_id":151125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:37:50] local.INFO: TCP Data received {"connection_id":151125,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd163caf0012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd163caf0012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:37:50] local.INFO: Processing buffer {"connection_id":151125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd163caf0012d181e400721ae00004e00ca2d..."} 
[2026-08-05 15:37:50] local.INFO: Packet analysis {"connection_id":151125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd163"} 
[2026-08-05 15:37:50] local.INFO: Extracted packet for processing {"connection_id":151125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd163"} 
[2026-08-05 15:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647744,"longitude_deg":75.6555328,"latitude_deg":11.9647744,"altitude":78,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-05 15:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196642560001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691556579213312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785924406000,"timestamp_ms":1785924406000,"timestamp_seconds":1785924406,"priority":1,"record_length":96,"hex_timestamp":"0000019fd163caf0"} 
[2026-08-05 15:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-05 15:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196642560001,"66":13939,"105":206,"83":41984,"24":0,"16":10691556579213312,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196642560001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:37:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691556579213312,"km_value":10691556579213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196642560001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":151125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:37:50] local.INFO: GPS data processed {"connection_id":151125,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:37:50] local.INFO: Acknowledgment sent {"connection_id":151125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:37:52] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:37:52] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:37:52] local.INFO: Packet analysis {"connection_id":148704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:37:52] local.INFO: Extracted packet for processing {"connection_id":148704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":11,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196530944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785924249000,"timestamp_ms":1785924249000,"timestamp_seconds":1785924249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16165a8"} 
[2026-08-05 15:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 15:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196530944001,"66":25647,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196530944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:37:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196530944001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":148704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:37:52] local.INFO: GPS data processed {"connection_id":148704,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:37:52] local.INFO: Acknowledgment sent {"connection_id":148704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:38:14] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:38:14] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:38:14] local.INFO: IMEI packet received {"connection_id":148492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":148492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:38:20] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:38:20] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:38:20] local.INFO: IMEI packet received {"connection_id":148492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":148492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:38:20] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:38:20] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:38:20] local.INFO: Packet analysis {"connection_id":148492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:38:20] local.INFO: Extracted packet for processing {"connection_id":148492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:38:20] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":11,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196530944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785924249000,"timestamp_ms":1785924249000,"timestamp_seconds":1785924249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16165a8"} 
[2026-08-05 15:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":80,"data_length":795,"current_offset":136} 
[2026-08-05 15:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196530944001,"66":25647,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196530944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:38:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196530944001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":148492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:38:20] local.INFO: GPS data processed {"connection_id":148492,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:38:20] local.INFO: Acknowledgment sent {"connection_id":148492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:38:21] local.INFO: TCP Data received {"connection_id":151125,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd163ea30012d181e000721acd0004c00ba2c..."} 
[2026-08-05 15:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd163ea30012d181e000721acd0004c00ba2c..."} 
[2026-08-05 15:38:21] local.INFO: Processing buffer {"connection_id":151125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd163ea30012d181e000721acd0004c00ba2c..."} 
[2026-08-05 15:38:21] local.INFO: Packet analysis {"connection_id":151125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd163"} 
[2026-08-05 15:38:21] local.INFO: Extracted packet for processing {"connection_id":151125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd163"} 
[2026-08-05 15:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647440,"longitude_deg":75.6555264,"latitude_deg":11.964744,"altitude":76,"angle":186,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721acd0","is_valid_coordinates":true} 
[2026-08-05 15:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196647936001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691569464115200,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585590272,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785924414000,"timestamp_ms":1785924414000,"timestamp_seconds":1785924414,"priority":1,"record_length":96,"hex_timestamp":"0000019fd163ea30"} 
[2026-08-05 15:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-05 15:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196647936001,"66":13928,"105":206,"83":41984,"24":0,"16":10691569464115200,"45":1737896905585590272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196647936001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:38:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691569464115200,"km_value":10691569464115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585590272,"description":"Unknown IO ID 45"} 
[2026-08-05 15:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196647936001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585590272}} 
[2026-08-05 15:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":151125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:38:21] local.INFO: GPS data processed {"connection_id":151125,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:38:21] local.INFO: Acknowledgment sent {"connection_id":151125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:38:39] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:38:39] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:38:39] local.INFO: IMEI packet received {"connection_id":148705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":148705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:38:44] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:38:44] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:38:44] local.INFO: IMEI packet received {"connection_id":148705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":148705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:38:45] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd163f9d0012d181dc00721abf0004c00cc2e..."} 
[2026-08-05 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd163f9d0012d181dc00721abf0004c00cc2e..."} 
[2026-08-05 15:38:45] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd163f9d0012d181dc00721abf0004c00cc2e..."} 
[2026-08-05 15:38:45] local.INFO: Packet analysis {"connection_id":148705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd163"} 
[2026-08-05 15:38:45] local.INFO: Extracted packet for processing {"connection_id":148705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd163"} 
[2026-08-05 15:38:45] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647216,"longitude_deg":75.65552,"latitude_deg":11.9647216,"altitude":76,"angle":204,"satellites":46,"speed":5,"hex_longitude":"2d181dc0","hex_latitude":"0721abf0","is_valid_coordinates":true} 
[2026-08-05 15:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196649984001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10691582349017088,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841334784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38: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-08-05 15:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785924418000,"timestamp_ms":1785924418000,"timestamp_seconds":1785924418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd163f9d0"} 
[2026-08-05 15:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 15:38: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-08-05 15:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196649984001,"66":14080,"107":206,"83":41984,"24":5,"16":10691582349017088,"45":1737826536841334784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196649984001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:38:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:38:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10691582349017088,"km_value":10691582349017.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841334784,"description":"Unknown IO ID 45"} 
[2026-08-05 15:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196649984001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737826536841334784}} 
[2026-08-05 15:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":148705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:38:45] local.INFO: GPS data processed {"connection_id":148705,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:38:45] local.INFO: Acknowledgment sent {"connection_id":148705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:38:53] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:38:53] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:38:53] local.INFO: Packet analysis {"connection_id":148492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:38:53] local.INFO: Extracted packet for processing {"connection_id":148492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:38:53] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":11,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196530944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785924249000,"timestamp_ms":1785924249000,"timestamp_seconds":1785924249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16165a8"} 
[2026-08-05 15:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 15:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196530944001,"66":25647,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196530944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:38:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:38:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196530944001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":148492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:38:53] local.INFO: GPS data processed {"connection_id":148492,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:38:53] local.INFO: Acknowledgment sent {"connection_id":148492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:39:17] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1651310012d17f80007218290004c01392f..."} 
[2026-08-05 15:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1651310012d17f80007218290004c01392f..."} 
[2026-08-05 15:39:17] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1651310012d17f80007218290004c01392f..."} 
[2026-08-05 15:39:17] local.INFO: Packet analysis {"connection_id":148705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd165"} 
[2026-08-05 15:39:17] local.INFO: Extracted packet for processing {"connection_id":148705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd165"} 
[2026-08-05 15:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756545536,"raw_latitude":119636624,"longitude_deg":75.6545536,"latitude_deg":11.9636624,"altitude":76,"angle":313,"satellites":47,"speed":5,"hex_longitude":"2d17f800","hex_latitude":"07218290","is_valid_coordinates":true} 
[2026-08-05 15:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196669184001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10692295313588224,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727341593956073472,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785924490000,"timestamp_ms":1785924490000,"timestamp_seconds":1785924490,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1651310"} 
[2026-08-05 15:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 15:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196669184001,"66":14167,"107":206,"83":41984,"24":5,"16":10692295313588224,"45":1727341593956073472},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196669184001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:39:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10692295313588224,"km_value":10692295313588.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727341593956073472,"description":"Unknown IO ID 45"} 
[2026-08-05 15:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196669184001,"power":14167,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1727341593956073472}} 
[2026-08-05 15:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":148705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:39:17] local.INFO: GPS data processed {"connection_id":148705,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:39:17] local.INFO: Acknowledgment sent {"connection_id":148705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:39:20] local.INFO: TCP Data received {"connection_id":149703,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:39:20] local.INFO: Processing buffer {"connection_id":149703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:39:20] local.INFO: IMEI packet received {"connection_id":149703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":149703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:39:25] local.INFO: TCP Data received {"connection_id":149703,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:39:25] local.INFO: Processing buffer {"connection_id":149703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:39:25] local.INFO: IMEI packet received {"connection_id":149703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":149703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:39:26] local.INFO: TCP Data received {"connection_id":149703,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:39:26] local.INFO: Processing buffer {"connection_id":149703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:39:26] local.INFO: Packet analysis {"connection_id":149703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:39:26] local.INFO: Extracted packet for processing {"connection_id":149703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":11,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196530944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785924249000,"timestamp_ms":1785924249000,"timestamp_seconds":1785924249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16165a8"} 
[2026-08-05 15:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 15:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196530944001,"66":25647,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196530944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:39:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196530944001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":149703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:39:26] local.INFO: GPS data processed {"connection_id":149703,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:39:26] local.INFO: Acknowledgment sent {"connection_id":149703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:39:30] local.INFO: TCP Data received {"connection_id":149703,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:39:30] local.INFO: Processing buffer {"connection_id":149703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16165a8012d7f9c4005afd0a0000b00b731..."} 
[2026-08-05 15:39:30] local.INFO: Packet analysis {"connection_id":149703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:39:30] local.INFO: Extracted packet for processing {"connection_id":149703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd161"} 
[2026-08-05 15:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":11,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196530944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785924249000,"timestamp_ms":1785924249000,"timestamp_seconds":1785924249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16165a8"} 
[2026-08-05 15:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 15:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196530944001,"66":25647,"27":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196530944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:39:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196530944001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":149703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:39:30] local.INFO: GPS data processed {"connection_id":149703,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:39:30] local.INFO: Acknowledgment sent {"connection_id":149703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:39:36] local.INFO: TCP Data received {"connection_id":148706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:36] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:36] local.INFO: IMEI packet received {"connection_id":148706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":148706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:39:38] local.INFO: TCP Data received {"connection_id":148706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:38] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:38] local.INFO: IMEI packet received {"connection_id":148706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":148706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:39:39] local.INFO: TCP Data received {"connection_id":148706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:39] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:39] local.INFO: IMEI packet received {"connection_id":148706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":148706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:39:44] local.INFO: TCP Data received {"connection_id":148706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:44] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:39:44] local.INFO: IMEI packet received {"connection_id":148706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":148706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:39:45] local.INFO: TCP Data received {"connection_id":148706,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16545d8012d17f580072184c0004d012e2f..."} 
[2026-08-05 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16545d8012d17f580072184c0004d012e2f..."} 
[2026-08-05 15:39:45] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16545d8012d17f580072184c0004d012e2f..."} 
[2026-08-05 15:39:45] local.INFO: Packet analysis {"connection_id":148706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd165"} 
[2026-08-05 15:39:45] local.INFO: Extracted packet for processing {"connection_id":148706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd165"} 
[2026-08-05 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756544896,"raw_latitude":119637184,"longitude_deg":75.6544896,"latitude_deg":11.9637184,"altitude":77,"angle":302,"satellites":47,"speed":6,"hex_longitude":"2d17f580","hex_latitude":"072184c0","is_valid_coordinates":true} 
[2026-08-05 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196669440001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10692342558228480,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727130487723560960,"note":"Value kept but may cause issues"} 
[2026-08-05 15:39: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-08-05 15:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785924503000,"timestamp_ms":1785924503000,"timestamp_seconds":1785924503,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16545d8"} 
[2026-08-05 15:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-05 15:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196669440001,"66":14233,"107":206,"83":41984,"24":6,"16":10692342558228480,"45":1727130487723560960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196669440001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:39:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10692342558228480,"km_value":10692342558228.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727130487723560960,"description":"Unknown IO ID 45"} 
[2026-08-05 15:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196669440001,"power":14233,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1727130487723560960}} 
[2026-08-05 15:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":148706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:39:45] local.INFO: GPS data processed {"connection_id":148706,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:39:45] local.INFO: Acknowledgment sent {"connection_id":148706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:40:15] local.INFO: TCP Data received {"connection_id":151126,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:40:15] local.INFO: Processing buffer {"connection_id":151126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:40:15] local.INFO: IMEI packet received {"connection_id":151126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":151126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:40:16] local.INFO: TCP Data received {"connection_id":148706,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1656518012d17ef4007218798004d01222f..."} 
[2026-08-05 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1656518012d17ef4007218798004d01222f..."} 
[2026-08-05 15:40:16] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1656518012d17ef4007218798004d01222f..."} 
[2026-08-05 15:40:16] local.INFO: Packet analysis {"connection_id":148706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd165"} 
[2026-08-05 15:40:16] local.INFO: Extracted packet for processing {"connection_id":148706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd165"} 
[2026-08-05 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756543296,"raw_latitude":119637912,"longitude_deg":75.6543296,"latitude_deg":11.9637912,"altitude":77,"angle":290,"satellites":47,"speed":11,"hex_longitude":"2d17ef40","hex_latitude":"07218798","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196672768001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10692428457574400,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726426800281927680,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785924511000,"timestamp_ms":1785924511000,"timestamp_seconds":1785924511,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1656518"} 
[2026-08-05 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-08-05 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-05 15:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196672768001,"66":14157,"107":206,"83":41984,"24":11,"16":10692428457574400,"45":1726426800281927680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196672768001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:40:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10692428457574400,"km_value":10692428457574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726426800281927680,"description":"Unknown IO ID 45"} 
[2026-08-05 15:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196672768001,"power":14157,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1726426800281927680}} 
[2026-08-05 15:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":148706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:40:16] local.INFO: GPS data processed {"connection_id":148706,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:40:16] local.INFO: Acknowledgment sent {"connection_id":148706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:40:20] local.INFO: TCP Data received {"connection_id":151126,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:40:20] local.INFO: Processing buffer {"connection_id":151126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:40:20] local.INFO: IMEI packet received {"connection_id":151126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":151126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:40:20] local.INFO: TCP Data received {"connection_id":151126,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd165fd70012d7f9c4005afd0a0000a00b732..."} 
[2026-08-05 15:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd165fd70012d7f9c4005afd0a0000a00b732..."} 
[2026-08-05 15:40:20] local.INFO: Processing buffer {"connection_id":151126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd165fd70012d7f9c4005afd0a0000a00b732..."} 
[2026-08-05 15:40:20] local.INFO: Packet analysis {"connection_id":151126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd165"} 
[2026-08-05 15:40:20] local.INFO: Extracted packet for processing {"connection_id":151126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd165"} 
[2026-08-05 15:40:20] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":10,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196607744001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785924550000,"timestamp_ms":1785924550000,"timestamp_seconds":1785924550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd165fd70"} 
[2026-08-05 15:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 15:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196607744001,"66":25615,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196607744001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:40:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196607744001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":151126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:40:20] local.INFO: GPS data processed {"connection_id":151126,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:40:20] local.INFO: Acknowledgment sent {"connection_id":151126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:40:38] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:38] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:38] local.INFO: IMEI packet received {"connection_id":148493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":148493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:40:39] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:39] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:39] local.INFO: IMEI packet received {"connection_id":148493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":148493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:40:40] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:40] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:40] local.INFO: IMEI packet received {"connection_id":148493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":148493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:40:42] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:42] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:40:42] local.INFO: IMEI packet received {"connection_id":148493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":148493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:40:43] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16695c8012d17b48007219e50004601152b..."} 
[2026-08-05 15:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16695c8012d17b48007219e50004601152b..."} 
[2026-08-05 15:40:43] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16695c8012d17b48007219e50004601152b..."} 
[2026-08-05 15:40:43] local.INFO: Packet analysis {"connection_id":148493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:40:43] local.INFO: Extracted packet for processing {"connection_id":148493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:40:43] local.INFO: GPS Element Parsed {"raw_longitude":756528256,"raw_latitude":119643728,"longitude_deg":75.6528256,"latitude_deg":11.9643728,"altitude":70,"angle":277,"satellites":43,"speed":13,"hex_longitude":"2d17b480","hex_latitude":"07219e50","is_valid_coordinates":true} 
[2026-08-05 15:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196692992001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10693253091295232,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710523464099311616,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785924589000,"timestamp_ms":1785924589000,"timestamp_seconds":1785924589,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16695c8"} 
[2026-08-05 15:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 15:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196692992001,"66":14265,"107":206,"83":41984,"24":13,"16":10693253091295232,"45":1710523464099311616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196692992001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:40:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:40:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10693253091295232,"km_value":10693253091295.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710523464099311616,"description":"Unknown IO ID 45"} 
[2026-08-05 15:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196692992001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1710523464099311616}} 
[2026-08-05 15:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":148493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:40:43] local.INFO: GPS data processed {"connection_id":148493,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:40:43] local.INFO: Acknowledgment sent {"connection_id":148493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:40:51] local.INFO: TCP Data received {"connection_id":151126,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16614e0012d7f9c4005afd0a0000a00b732..."} 
[2026-08-05 15:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16614e0012d7f9c4005afd0a0000a00b732..."} 
[2026-08-05 15:40:51] local.INFO: Processing buffer {"connection_id":151126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16614e0012d7f9c4005afd0a0000a00b732..."} 
[2026-08-05 15:40:51] local.INFO: Packet analysis {"connection_id":151126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:40:51] local.INFO: Extracted packet for processing {"connection_id":151126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:40:51] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95408288,"longitude_deg":76.3337792,"latitude_deg":9.5408288,"altitude":10,"angle":183,"satellites":50,"speed":0,"hex_longitude":"2d7f9c40","hex_latitude":"05afd0a0","is_valid_coordinates":true} 
[2026-08-05 15:40: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-08-05 15:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196684800001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467682631286784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932352409600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785924556000,"timestamp_ms":1785924556000,"timestamp_seconds":1785924556,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16614e0"} 
[2026-08-05 15:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 15: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:40: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-08-05 15:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196684800001,"66":25615,"250":206,"85":12544,"24":0,"16":370467682631286784,"45":9195294932352409600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196684800001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:40:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467682631286784,"km_value":370467682631286.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932352409600,"description":"Unknown IO ID 45"} 
[2026-08-05 15:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196684800001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195294932352409600}} 
[2026-08-05 15:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":151126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:40:51] local.INFO: GPS data processed {"connection_id":151126,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:40:51] local.INFO: Acknowledgment sent {"connection_id":151126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:41:14] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd166a568012d17af8007219f88004501242b..."} 
[2026-08-05 15:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd166a568012d17af8007219f88004501242b..."} 
[2026-08-05 15:41:14] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd166a568012d17af8007219f88004501242b..."} 
[2026-08-05 15:41:14] local.INFO: Packet analysis {"connection_id":148493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:14] local.INFO: Extracted packet for processing {"connection_id":148493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756526976,"raw_latitude":119644040,"longitude_deg":75.6526976,"latitude_deg":11.964404,"altitude":69,"angle":292,"satellites":43,"speed":11,"hex_longitude":"2d17af80","hex_latitude":"07219f88","is_valid_coordinates":true} 
[2026-08-05 15:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196694784001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10693317515804672,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708130926797410304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785924593000,"timestamp_ms":1785924593000,"timestamp_seconds":1785924593,"priority":1,"record_length":96,"hex_timestamp":"0000019fd166a568"} 
[2026-08-05 15:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 15:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196694784001,"66":14363,"107":206,"83":41984,"24":11,"16":10693317515804672,"45":1708130926797410304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196694784001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:41:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10693317515804672,"km_value":10693317515804.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708130926797410304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196694784001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1708130926797410304}} 
[2026-08-05 15:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":148493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:41:14] local.INFO: GPS data processed {"connection_id":148493,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:41:14] local.INFO: Acknowledgment sent {"connection_id":148493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:41:15] local.INFO: TCP Data received {"connection_id":149704,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:41:15] local.INFO: Processing buffer {"connection_id":149704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:41:15] local.INFO: IMEI packet received {"connection_id":149704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":149704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:41:20] local.INFO: TCP Data received {"connection_id":149704,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:41:20] local.INFO: Processing buffer {"connection_id":149704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:41:20] local.INFO: IMEI packet received {"connection_id":149704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":149704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:41:20] local.INFO: TCP Data received {"connection_id":149704,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd166f388012d7fa2c005afcb88000b00b933..."} 
[2026-08-05 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd166f388012d7fa2c005afcb88000b00b933..."} 
[2026-08-05 15:41:20] local.INFO: Processing buffer {"connection_id":149704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd166f388012d7fa2c005afcb88000b00b933..."} 
[2026-08-05 15:41:20] local.INFO: Packet analysis {"connection_id":149704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:20] local.INFO: Extracted packet for processing {"connection_id":149704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:20] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406984,"longitude_deg":76.3339456,"latitude_deg":9.5406984,"altitude":11,"angle":185,"satellites":51,"speed":8,"hex_longitude":"2d7fa2c0","hex_latitude":"05afcb88","is_valid_coordinates":true} 
[2026-08-05 15:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196700672001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467807185338368,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700750336,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785924613000,"timestamp_ms":1785924613000,"timestamp_seconds":1785924613,"priority":1,"record_length":96,"hex_timestamp":"0000019fd166f388"} 
[2026-08-05 15:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 15:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196700672001,"66":28028,"27":206,"85":12544,"24":8,"16":370467807185338368,"45":9197124519700750336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196700672001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467807185338368,"km_value":370467807185338.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700750336,"description":"Unknown IO ID 45"} 
[2026-08-05 15:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196700672001,"power":28028,"unknown_27":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9197124519700750336}} 
[2026-08-05 15:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":149704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:41:20] local.INFO: GPS data processed {"connection_id":149704,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:41:20] local.INFO: Acknowledgment sent {"connection_id":149704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:41:46] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:41:46] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:41:46] local.INFO: IMEI packet received {"connection_id":148494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":148494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:41:46] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 15:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 15:41:46] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 15:41:46] local.INFO: IMEI packet received {"connection_id":148494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":148494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:41:51] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:41:51] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-05 15:41:51] local.INFO: IMEI packet received {"connection_id":148494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":148494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:41:51] local.INFO: TCP Data received {"connection_id":149704,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd166f770012d7fa28005afcaa0000b00c733..."} 
[2026-08-05 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd166f770012d7fa28005afcaa0000b00c733..."} 
[2026-08-05 15:41:51] local.INFO: Processing buffer {"connection_id":149704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd166f770012d7fa28005afcaa0000b00c733..."} 
[2026-08-05 15:41:51] local.INFO: Packet analysis {"connection_id":149704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:51] local.INFO: Extracted packet for processing {"connection_id":149704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95406752,"longitude_deg":76.3339392,"latitude_deg":9.5406752,"altitude":11,"angle":199,"satellites":51,"speed":10,"hex_longitude":"2d7fa280","hex_latitude":"05afcaa0","is_valid_coordinates":true} 
[2026-08-05 15:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196700928001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467815775272960,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700695040,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785924614000,"timestamp_ms":1785924614000,"timestamp_seconds":1785924614,"priority":1,"record_length":96,"hex_timestamp":"0000019fd166f770"} 
[2026-08-05 15:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 15:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196700928001,"66":28028,"27":206,"85":12544,"24":10,"16":370467815775272960,"45":9197124519700695040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196700928001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:41:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467815775272960,"km_value":370467815775272.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700695040,"description":"Unknown IO ID 45"} 
[2026-08-05 15:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196700928001,"power":28028,"unknown_27":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9197124519700695040}} 
[2026-08-05 15:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":149704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:41:51] local.INFO: GPS data processed {"connection_id":149704,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:41:51] local.INFO: Acknowledgment sent {"connection_id":149704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:41:52] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.36","data_length":1348,"data_hex":"000000000000030f8e0a0000019fd166ad38012d17ae000721a070004501302b..."} 
[2026-08-05 15:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fd166ad38012d17ae000721a070004501302b..."} 
[2026-08-05 15:41:52] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":1365,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fd1..."} 
[2026-08-05 15:41:52] local.INFO: IMEI packet received {"connection_id":148494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":148494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:41:52] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.36","data_length":242,"data_hex":"0000000000019fd16610f8012d17d08007219910004d01152f000a0000000a00..."} 
[2026-08-05 15:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":242,"packet_hex":"0000000000019fd16610f8012d17d08007219910004d01152f000a0000000a00..."} 
[2026-08-05 15:41:52] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd166ad38012d17ae000721a070004501302b..."} 
[2026-08-05 15:41:52] local.INFO: Packet analysis {"connection_id":148494,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:52] local.INFO: Extracted packet for processing {"connection_id":148494,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:52] local.INFO: GPS Element Parsed {"raw_longitude":756526592,"raw_latitude":119644272,"longitude_deg":75.6526592,"latitude_deg":11.9644272,"altitude":69,"angle":304,"satellites":43,"speed":7,"hex_longitude":"2d17ae00","hex_latitude":"0721a070","is_valid_coordinates":true} 
[2026-08-05 15:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196695808001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10693338990641152,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706723551913936896,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785924595000,"timestamp_ms":1785924595000,"timestamp_seconds":1785924595,"priority":1,"record_length":96,"hex_timestamp":"0000019fd166ad38"} 
[2026-08-05 15:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 15:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196695808001,"66":14396,"107":206,"83":41984,"24":7,"16":10693338990641152,"45":1706723551913936896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196695808001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:41:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10693338990641152,"km_value":10693338990641.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706723551913936896,"description":"Unknown IO ID 45"} 
[2026-08-05 15:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196695808001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1706723551913936896}} 
[2026-08-05 15:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":148494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:41:52] local.INFO: GPS data processed {"connection_id":148494,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:41:52] local.INFO: Acknowledgment sent {"connection_id":148494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:41:52] local.INFO: Packet analysis {"connection_id":148494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:52] local.INFO: Extracted packet for processing {"connection_id":148494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:52] local.INFO: GPS Element Parsed {"raw_longitude":756526336,"raw_latitude":119644792,"longitude_deg":75.6526336,"latitude_deg":11.9644792,"altitude":67,"angle":344,"satellites":44,"speed":5,"hex_longitude":"2d17ad00","hex_latitude":"0721a278","is_valid_coordinates":true} 
[2026-08-05 15:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196696320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10693364760444928,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706301339448930304,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785924600000,"timestamp_ms":1785924600000,"timestamp_seconds":1785924600,"priority":1,"record_length":96,"hex_timestamp":"0000019fd166c0c0"} 
[2026-08-05 15:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 15:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196696320001,"66":14233,"107":206,"83":41984,"24":5,"16":10693364760444928,"45":1706301339448930304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196696320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:41:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10693364760444928,"km_value":10693364760444.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706301339448930304,"description":"Unknown IO ID 45"} 
[2026-08-05 15:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196696320001,"power":14233,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1706301339448930304}} 
[2026-08-05 15:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":148494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:41:52] local.INFO: GPS data processed {"connection_id":148494,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:41:52] local.INFO: Acknowledgment sent {"connection_id":148494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:41:55] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd166c890012d17acc00721a418004300032b..."} 
[2026-08-05 15:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd166c890012d17acc00721a418004300032b..."} 
[2026-08-05 15:41:55] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd166c890012d17acc00721a418004300032b..."} 
[2026-08-05 15:41:55] local.INFO: Packet analysis {"connection_id":148494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:55] local.INFO: Extracted packet for processing {"connection_id":148494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd166"} 
[2026-08-05 15:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756526272,"raw_latitude":119645208,"longitude_deg":75.6526272,"latitude_deg":11.9645208,"altitude":67,"angle":3,"satellites":43,"speed":12,"hex_longitude":"2d17acc0","hex_latitude":"0721a418","is_valid_coordinates":true} 
[2026-08-05 15:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196697600001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10693386235281408,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706019864472352768,"note":"Value kept but may cause issues"} 
[2026-08-05 15:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785924602000,"timestamp_ms":1785924602000,"timestamp_seconds":1785924602,"priority":1,"record_length":96,"hex_timestamp":"0000019fd166c890"} 
[2026-08-05 15:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-05 15:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196697600001,"66":14298,"107":206,"83":41984,"24":12,"16":10693386235281408,"45":1706019864472352768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196697600001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:41:55] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10693386235281408,"km_value":10693386235281.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706019864472352768,"description":"Unknown IO ID 45"} 
[2026-08-05 15:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196697600001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1706019864472352768}} 
[2026-08-05 15:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":148494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:41:55] local.INFO: GPS data processed {"connection_id":148494,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:41:55] local.INFO: Acknowledgment sent {"connection_id":148494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:42:15] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:42:15] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:42:15] local.INFO: IMEI packet received {"connection_id":148707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":148707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:42:20] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:42:20] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:42:20] local.INFO: IMEI packet received {"connection_id":148707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":148707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:42:20] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1670328012d7fa20005afc7f0000b00bc34..."} 
[2026-08-05 15:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1670328012d7fa20005afc7f0000b00bc34..."} 
[2026-08-05 15:42:20] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1670328012d7fa20005afc7f0000b00bc34..."} 
[2026-08-05 15:42:20] local.INFO: Packet analysis {"connection_id":148707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd167"} 
[2026-08-05 15:42:20] local.INFO: Extracted packet for processing {"connection_id":148707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd167"} 
[2026-08-05 15:42:20] local.INFO: GPS Element Parsed {"raw_longitude":763339264,"raw_latitude":95406064,"longitude_deg":76.3339264,"latitude_deg":9.5406064,"altitude":11,"angle":188,"satellites":52,"speed":10,"hex_longitude":"2d7fa200","hex_latitude":"05afc7f0","is_valid_coordinates":true} 
[2026-08-05 15:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196701184001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467850135011328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956457984,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785924617000,"timestamp_ms":1785924617000,"timestamp_seconds":1785924617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1670328"} 
[2026-08-05 15:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 15:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196701184001,"66":27865,"27":206,"85":12544,"24":10,"16":370467850135011328,"45":9197054150956457984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196701184001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:42:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467850135011328,"km_value":370467850135011.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956457984,"description":"Unknown IO ID 45"} 
[2026-08-05 15:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196701184001,"power":27865,"unknown_27":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9197054150956457984}} 
[2026-08-05 15:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":148707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:42:20] local.INFO: GPS data processed {"connection_id":148707,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:42:20] local.INFO: Acknowledgment sent {"connection_id":148707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:42:39] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:42:39] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:42:39] local.INFO: IMEI packet received {"connection_id":148495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":148495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:42:40] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:42:40] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:42:40] local.INFO: IMEI packet received {"connection_id":148495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":148495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:42:45] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:42:45] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:42:45] local.INFO: IMEI packet received {"connection_id":148495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":148495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:42:46] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1684378012d17abc0072218b00055014a28..."} 
[2026-08-05 15:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1684378012d17abc0072218b00055014a28..."} 
[2026-08-05 15:42:46] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1684378012d17abc0072218b00055014a28..."} 
[2026-08-05 15:42:46] local.INFO: Packet analysis {"connection_id":148495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd168"} 
[2026-08-05 15:42:46] local.INFO: Extracted packet for processing {"connection_id":148495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd168"} 
[2026-08-05 15:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756526016,"raw_latitude":119675056,"longitude_deg":75.6526016,"latitude_deg":11.9675056,"altitude":85,"angle":330,"satellites":40,"speed":11,"hex_longitude":"2d17abc0","hex_latitude":"072218b0","is_valid_coordinates":true} 
[2026-08-05 15:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196722688001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10694863704031232,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705879126991675392,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785924699000,"timestamp_ms":1785924699000,"timestamp_seconds":1785924699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1684378"} 
[2026-08-05 15:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6976268160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":254,"raw_value":2768240640,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3513238160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":20549147211860736,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503762810372096,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4195352650,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4269473792,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84749987975995870,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:46] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,107,83,24,241,157,16,254,159,55,45,128,21,85,39,10,66,28,13,81,41,1,240,38,227,209,33,4,113,205,12,198,166,144,42,239,56,2,37,7,73,206,40],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-05 15:42:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6125271698000052224,"timestamp_seconds":6125271698000052.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 15:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196722688001,"66":14341,"107":206,"83":41984,"24":11,"16":10694863704031232,"45":1705879126991675392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196722688001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:42:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10694863704031232,"km_value":10694863704031.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705879126991675392,"description":"Unknown IO ID 45"} 
[2026-08-05 15:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196722688001,"power":14341,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1705879126991675392}} 
[2026-08-05 15:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":148495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:42:46] local.INFO: GPS data processed {"connection_id":148495,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:42:46] local.INFO: Acknowledgment sent {"connection_id":148495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:42:51] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1673dc0012d7fa08005afbe00000900b033..."} 
[2026-08-05 15:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1673dc0012d7fa08005afbe00000900b033..."} 
[2026-08-05 15:42:51] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1673dc0012d7fa08005afbe00000900b033..."} 
[2026-08-05 15:42:51] local.INFO: Packet analysis {"connection_id":148707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd167"} 
[2026-08-05 15:42:51] local.INFO: Extracted packet for processing {"connection_id":148707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd167"} 
[2026-08-05 15:42:51] local.INFO: GPS Element Parsed {"raw_longitude":763338880,"raw_latitude":95403520,"longitude_deg":76.333888,"latitude_deg":9.540352,"altitude":9,"angle":176,"satellites":51,"speed":1,"hex_longitude":"2d7fa080","hex_latitude":"05afbe00","is_valid_coordinates":true} 
[2026-08-05 15:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196701952001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370467978984030208,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467926528,"note":"Value kept but may cause issues"} 
[2026-08-05 15:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785924632000,"timestamp_ms":1785924632000,"timestamp_seconds":1785924632,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1673dc0"} 
[2026-08-05 15:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 15:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196701952001,"66":28093,"27":206,"85":12544,"24":1,"16":370467978984030208,"45":9196913413467926528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196701952001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:42:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370467978984030208,"km_value":370467978984030.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467926528,"description":"Unknown IO ID 45"} 
[2026-08-05 15:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196701952001,"power":28093,"unknown_27":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9196913413467926528}} 
[2026-08-05 15:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":148707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:42:51] local.INFO: GPS data processed {"connection_id":148707,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:42:51] local.INFO: Acknowledgment sent {"connection_id":148707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:43:14] local.INFO: TCP Data received {"connection_id":151127,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:43:14] local.INFO: Processing buffer {"connection_id":151127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:43:14] local.INFO: IMEI packet received {"connection_id":151127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":151127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:43:15] local.INFO: TCP Data received {"connection_id":151127,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:43:15] local.INFO: Processing buffer {"connection_id":151127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:43:15] local.INFO: IMEI packet received {"connection_id":151127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":151127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:43:17] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1684760012d17ab00072219800055013928..."} 
[2026-08-05 15:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1684760012d17ab00072219800055013928..."} 
[2026-08-05 15:43:17] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1684760012d17ab00072219800055013928..."} 
[2026-08-05 15:43:17] local.INFO: Packet analysis {"connection_id":148495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd168"} 
[2026-08-05 15:43:17] local.INFO: Extracted packet for processing {"connection_id":148495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd168"} 
[2026-08-05 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756525824,"raw_latitude":119675264,"longitude_deg":75.6525824,"latitude_deg":11.9675264,"altitude":85,"angle":313,"satellites":40,"speed":12,"hex_longitude":"2d17ab00","hex_latitude":"07221980","is_valid_coordinates":true} 
[2026-08-05 15:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196722944001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10694876588933120,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705668020759212032,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785924700000,"timestamp_ms":1785924700000,"timestamp_seconds":1785924700,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1684760"} 
[2026-08-05 15:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6976268226,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3372220416,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3513239160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503762810634240,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3892391191,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4270915584,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84749970796126705,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.WARNING: Large IO value detected {"io_id":80,"raw_value":20549207307848704,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:17] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,107,83,24,241,157,16,254,159,63,45,128,23,85,40,10,66,55,21,39,28,1,240,27,227,209,34,4,113,205,14,221,168,41,239,56,2,37,7,73,13,206,144,80],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-05 15:43:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6125258503860453376,"timestamp_seconds":6125258503860453.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 15:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196722944001,"66":14298,"107":206,"83":41984,"24":12,"16":10694876588933120,"45":1705668020759212032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196722944001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:43:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10694876588933120,"km_value":10694876588933.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705668020759212032,"description":"Unknown IO ID 45"} 
[2026-08-05 15:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196722944001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1705668020759212032}} 
[2026-08-05 15:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":148495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:43:17] local.INFO: GPS data processed {"connection_id":148495,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:43:17] local.INFO: Acknowledgment sent {"connection_id":148495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:43:20] local.INFO: TCP Data received {"connection_id":151127,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:43:20] local.INFO: Processing buffer {"connection_id":151127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:43:20] local.INFO: IMEI packet received {"connection_id":151127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":151127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:43:20] local.INFO: TCP Data received {"connection_id":151127,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16902e0012d7f3c8005afb868000a010532..."} 
[2026-08-05 15:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16902e0012d7f3c8005afb868000a010532..."} 
[2026-08-05 15:43:20] local.INFO: Processing buffer {"connection_id":151127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16902e0012d7f3c8005afb868000a010532..."} 
[2026-08-05 15:43:20] local.INFO: Packet analysis {"connection_id":151127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:43:20] local.INFO: Extracted packet for processing {"connection_id":151127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:43:20] local.INFO: GPS Element Parsed {"raw_longitude":763313280,"raw_latitude":95402088,"longitude_deg":76.331328,"latitude_deg":9.5402088,"altitude":10,"angle":261,"satellites":50,"speed":10,"hex_longitude":"2d7f3c80","hex_latitude":"05afb868","is_valid_coordinates":true} 
[2026-08-05 15:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196731648001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370469267474219008,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178476802492473344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785924748000,"timestamp_ms":1785924748000,"timestamp_seconds":1785924748,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16902e0"} 
[2026-08-05 15:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 15:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196731648001,"66":27919,"250":206,"85":12544,"24":10,"16":370469267474219008,"45":9178476802492473344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196731648001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:43:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370469267474219008,"km_value":370469267474219.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178476802492473344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196731648001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9178476802492473344}} 
[2026-08-05 15:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":151127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:43:20] local.INFO: GPS data processed {"connection_id":151127,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:43:20] local.INFO: Acknowledgment sent {"connection_id":151127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:43:39] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:43:39] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:43:39] local.INFO: IMEI packet received {"connection_id":148708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":148708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:43:44] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:43:44] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:43:44] local.INFO: IMEI packet received {"connection_id":148708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":148708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:43:45] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1684f30012d17a94007221ab80057012c24..."} 
[2026-08-05 15:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1684f30012d17a94007221ab80057012c24..."} 
[2026-08-05 15:43:45] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1684f30012d17a94007221ab80057012c24..."} 
[2026-08-05 15:43:45] local.INFO: Packet analysis {"connection_id":148708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd168"} 
[2026-08-05 15:43:45] local.INFO: Extracted packet for processing {"connection_id":148708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd168"} 
[2026-08-05 15:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756525376,"raw_latitude":119675576,"longitude_deg":75.6525376,"latitude_deg":11.9675576,"altitude":87,"angle":300,"satellites":36,"speed":10,"hex_longitude":"2d17a940","hex_latitude":"07221ab8","is_valid_coordinates":true} 
[2026-08-05 15:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196723200001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10694906653704192,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705456914526732288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43: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-08-05 15:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785924702000,"timestamp_ms":1785924702000,"timestamp_seconds":1785924702,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1684f30"} 
[2026-08-05 15:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-05 15:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196723200001,"66":14396,"107":206,"83":41984,"24":10,"16":10694906653704192,"45":1705456914526732288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196723200001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:43:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10694906653704192,"km_value":10694906653704.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705456914526732288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196723200001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1705456914526732288}} 
[2026-08-05 15:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":148708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:43:45] local.INFO: GPS data processed {"connection_id":148708,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:43:45] local.INFO: Acknowledgment sent {"connection_id":148708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:43:51] local.INFO: TCP Data received {"connection_id":151127,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1691e38012d7f394005afb6b0000a00ce31..."} 
[2026-08-05 15:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1691e38012d7f394005afb6b0000a00ce31..."} 
[2026-08-05 15:43:51] local.INFO: Processing buffer {"connection_id":151127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1691e38012d7f394005afb6b0000a00ce31..."} 
[2026-08-05 15:43:51] local.INFO: Packet analysis {"connection_id":151127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:43:51] local.INFO: Extracted packet for processing {"connection_id":151127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:43:51] local.INFO: GPS Element Parsed {"raw_longitude":763312448,"raw_latitude":95401648,"longitude_deg":76.3312448,"latitude_deg":9.5401648,"altitude":10,"angle":206,"satellites":49,"speed":10,"hex_longitude":"2d7f3940","hex_latitude":"05afb6b0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196735488001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370469319013826560,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168343703330777088,"note":"Value kept but may cause issues"} 
[2026-08-05 15:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785924755000,"timestamp_ms":1785924755000,"timestamp_seconds":1785924755,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1691e38"} 
[2026-08-05 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-08-05 15:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196735488001,"66":27800,"250":206,"85":12544,"24":10,"16":370469319013826560,"45":9168343703330777088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-05 15:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196735488001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:43:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-05 15:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370469319013826560,"km_value":370469319013826.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168343703330777088,"description":"Unknown IO ID 45"} 
[2026-08-05 15:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196735488001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9168343703330777088}} 
[2026-08-05 15:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":151127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:43:51] local.INFO: GPS data processed {"connection_id":151127,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:43:51] local.INFO: Acknowledgment sent {"connection_id":151127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:44:14] local.INFO: TCP Data received {"connection_id":149705,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:14] local.INFO: Processing buffer {"connection_id":149705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:14] local.INFO: IMEI packet received {"connection_id":149705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":149705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:44:16] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1695cb8012d177bc0072231a80064011e2c..."} 
[2026-08-05 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1695cb8012d177bc0072231a80064011e2c..."} 
[2026-08-05 15:44:16] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1695cb8012d177bc0072231a80064011e2c..."} 
[2026-08-05 15:44:16] local.INFO: Packet analysis {"connection_id":148708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:44:16] local.INFO: Extracted packet for processing {"connection_id":148708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:44:16] local.INFO: GPS Element Parsed {"raw_longitude":756513728,"raw_latitude":119681448,"longitude_deg":75.6513728,"latitude_deg":11.9681448,"altitude":100,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d177bc0","hex_latitude":"072231a8","is_valid_coordinates":true} 
[2026-08-05 15:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196736000001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10695555193765888,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1692860909320468480,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785924771000,"timestamp_ms":1785924771000,"timestamp_seconds":1785924771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1695cb8"} 
[2026-08-05 15:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 15:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196736000001,"66":14341,"105":206,"83":41984,"24":0,"16":10695555193765888,"45":1692860909320468480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196736000001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:44:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:44:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10695555193765888,"km_value":10695555193765.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1692860909320468480,"description":"Unknown IO ID 45"} 
[2026-08-05 15:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196736000001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1692860909320468480}} 
[2026-08-05 15:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":148708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:44:16] local.INFO: GPS data processed {"connection_id":148708,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:44:16] local.INFO: Acknowledgment sent {"connection_id":148708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:44:17] local.INFO: TCP Data received {"connection_id":149705,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:17] local.INFO: Processing buffer {"connection_id":149705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:17] local.INFO: IMEI packet received {"connection_id":149705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":149705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:44:18] local.INFO: TCP Data received {"connection_id":149705,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:18] local.INFO: Processing buffer {"connection_id":149705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:18] local.INFO: IMEI packet received {"connection_id":149705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":149705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:44:19] local.INFO: TCP Data received {"connection_id":149705,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:19] local.INFO: Processing buffer {"connection_id":149705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:44:19] local.INFO: IMEI packet received {"connection_id":149705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":149705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:44:20] local.INFO: TCP Data received {"connection_id":149705,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd169d1e8012d7f2bc005af57800004014e33..."} 
[2026-08-05 15:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd169d1e8012d7f2bc005af57800004014e33..."} 
[2026-08-05 15:44:20] local.INFO: Processing buffer {"connection_id":149705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd169d1e8012d7f2bc005af57800004014e33..."} 
[2026-08-05 15:44:20] local.INFO: Packet analysis {"connection_id":149705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:44:20] local.INFO: Extracted packet for processing {"connection_id":149705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:44:20] local.INFO: GPS Element Parsed {"raw_longitude":763308992,"raw_latitude":95377280,"longitude_deg":76.3308992,"latitude_deg":9.537728,"altitude":4,"angle":334,"satellites":51,"speed":13,"hex_longitude":"2d7f2bc0","hex_latitude":"05af5780","is_valid_coordinates":true} 
[2026-08-05 15:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196748800001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370470594619113472,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163840103696990208,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785924801000,"timestamp_ms":1785924801000,"timestamp_seconds":1785924801,"priority":1,"record_length":96,"hex_timestamp":"0000019fd169d1e8"} 
[2026-08-05 15:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 15:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196748800001,"66":27908,"28":206,"85":12544,"24":13,"16":370470594619113472,"45":9163840103696990208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 15:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196748800001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:44:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 15:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370470594619113472,"km_value":370470594619113.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163840103696990208,"description":"Unknown IO ID 45"} 
[2026-08-05 15:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196748800001,"power":27908,"unknown_28":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9163840103696990208}} 
[2026-08-05 15:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":149705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:44:20] local.INFO: GPS data processed {"connection_id":149705,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:44:20] local.INFO: Acknowledgment sent {"connection_id":149705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:44:23] local.INFO: TCP Data received {"connection_id":149705,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd169d9b8012d7f2b0005af59d00004016131..."} 
[2026-08-05 15:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd169d9b8012d7f2b0005af59d00004016131..."} 
[2026-08-05 15:44:23] local.INFO: Processing buffer {"connection_id":149705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd169d9b8012d7f2b0005af59d00004016131..."} 
[2026-08-05 15:44:23] local.INFO: Packet analysis {"connection_id":149705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:44:23] local.INFO: Extracted packet for processing {"connection_id":149705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763308800,"raw_latitude":95377872,"longitude_deg":76.33088,"latitude_deg":9.5377872,"altitude":4,"angle":353,"satellites":49,"speed":14,"hex_longitude":"2d7f2b00","hex_latitude":"05af59d0","is_valid_coordinates":true} 
[2026-08-05 15:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196749056001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370470628978851840,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163628997464522752,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785924803000,"timestamp_ms":1785924803000,"timestamp_seconds":1785924803,"priority":1,"record_length":96,"hex_timestamp":"0000019fd169d9b8"} 
[2026-08-05 15:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 15:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196749056001,"66":27865,"28":206,"85":12544,"24":14,"16":370470628978851840,"45":9163628997464522752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 15:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196749056001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:44:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 15:44:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370470628978851840,"km_value":370470628978851.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163628997464522752,"description":"Unknown IO ID 45"} 
[2026-08-05 15:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196749056001,"power":27865,"unknown_28":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9163628997464522752}} 
[2026-08-05 15:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":149705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:44:23] local.INFO: GPS data processed {"connection_id":149705,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:44:23] local.INFO: Acknowledgment sent {"connection_id":149705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:44:39] local.INFO: TCP Data received {"connection_id":149706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:44:39] local.INFO: Processing buffer {"connection_id":149706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:44:39] local.INFO: IMEI packet received {"connection_id":149706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":149706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:44:39] local.INFO: TCP Data received {"connection_id":149706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:44:39] local.INFO: Processing buffer {"connection_id":149706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:44:39] local.INFO: IMEI packet received {"connection_id":149706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":149706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:44:44] local.INFO: TCP Data received {"connection_id":149706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:44:44] local.INFO: Processing buffer {"connection_id":149706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:44:44] local.INFO: IMEI packet received {"connection_id":149706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":149706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:44:45] local.INFO: TCP Data received {"connection_id":149706,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd169aec0012d177bc0072231a80064011e2b..."} 
[2026-08-05 15:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd169aec0012d177bc0072231a80064011e2b..."} 
[2026-08-05 15:44:45] local.INFO: Processing buffer {"connection_id":149706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd169aec0012d177bc0072231a80064011e2b..."} 
[2026-08-05 15:44:45] local.INFO: Packet analysis {"connection_id":149706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:44:45] local.INFO: Extracted packet for processing {"connection_id":149706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756513728,"raw_latitude":119681448,"longitude_deg":75.6513728,"latitude_deg":11.9681448,"altitude":100,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d177bc0","hex_latitude":"072231a8","is_valid_coordinates":true} 
[2026-08-05 15:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196741376001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10695555193765888,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1692157221878736896,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785924792000,"timestamp_ms":1785924792000,"timestamp_seconds":1785924792,"priority":1,"record_length":96,"hex_timestamp":"0000019fd169aec0"} 
[2026-08-05 15:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":5,"data_length":795,"current_offset":136} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6976268429,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3513294160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503762822430720,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84749925698970146,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":120,"raw_value":25615683807086848,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247722,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4282253312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:45] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,255,159,10,45,64,48,101,41,66,251,47,100,215,128,1,240,224,227,209,34,4,113,205,11,176,150,120,239,54,107,2,37,7,93,206],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-05 15:44:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7206074053096898560,"timestamp_seconds":7206074053096899.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 15:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196741376001,"66":14004,"105":206,"83":41984,"24":0,"16":10695555193765888,"45":1692157221878736896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196741376001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:44:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10695555193765888,"km_value":10695555193765.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1692157221878736896,"description":"Unknown IO ID 45"} 
[2026-08-05 15:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196741376001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1692157221878736896}} 
[2026-08-05 15:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":149706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:44:45] local.INFO: GPS data processed {"connection_id":149706,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:44:45] local.INFO: Acknowledgment sent {"connection_id":149706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:44:54] local.INFO: TCP Data received {"connection_id":149705,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd169e188012d7f2a0005af5ca80004015631..."} 
[2026-08-05 15:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd169e188012d7f2a0005af5ca80004015631..."} 
[2026-08-05 15:44:54] local.INFO: Processing buffer {"connection_id":149705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd169e188012d7f2a0005af5ca80004015631..."} 
[2026-08-05 15:44:54] local.INFO: Packet analysis {"connection_id":149705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:44:54] local.INFO: Extracted packet for processing {"connection_id":149705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd169"} 
[2026-08-05 15:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763308544,"raw_latitude":95378600,"longitude_deg":76.3308544,"latitude_deg":9.53786,"altitude":4,"angle":342,"satellites":49,"speed":16,"hex_longitude":"2d7f2a00","hex_latitude":"05af5ca8","is_valid_coordinates":true} 
[2026-08-05 15:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196749568001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370470663338590208,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163417891232141312,"note":"Value kept but may cause issues"} 
[2026-08-05 15:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785924805000,"timestamp_ms":1785924805000,"timestamp_seconds":1785924805,"priority":1,"record_length":96,"hex_timestamp":"0000019fd169e188"} 
[2026-08-05 15:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 15:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196749568001,"66":27843,"28":206,"85":12544,"24":16,"16":370470663338590208,"45":9163417891232141312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 15:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196749568001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:44:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 15:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370470663338590208,"km_value":370470663338590.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163417891232141312,"description":"Unknown IO ID 45"} 
[2026-08-05 15:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196749568001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":16,"odometer":null,"unknown_45":9163417891232141312}} 
[2026-08-05 15:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":149705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:44:54] local.INFO: GPS data processed {"connection_id":149705,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:44:54] local.INFO: Acknowledgment sent {"connection_id":149705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:45:16] local.INFO: TCP Data received {"connection_id":149706,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16aeb28012d179b0007222190006100762c..."} 
[2026-08-05 15:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16aeb28012d179b0007222190006100762c..."} 
[2026-08-05 15:45:16] local.INFO: Processing buffer {"connection_id":149706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16aeb28012d179b0007222190006100762c..."} 
[2026-08-05 15:45:16] local.INFO: Packet analysis {"connection_id":149706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16a"} 
[2026-08-05 15:45:16] local.INFO: Extracted packet for processing {"connection_id":149706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16a"} 
[2026-08-05 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756521728,"raw_latitude":119677328,"longitude_deg":75.6521728,"latitude_deg":11.9677328,"altitude":97,"angle":118,"satellites":44,"speed":6,"hex_longitude":"2d179b00","hex_latitude":"07222190","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196767232001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10696195143892992,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700812577411561472,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785924873000,"timestamp_ms":1785924873000,"timestamp_seconds":1785924873,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16aeb28"} 
[2026-08-05 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-08-05 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 15:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196767232001,"66":12428,"105":206,"83":41984,"24":6,"16":10696195143892992,"45":1700812577411561472},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196767232001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:45:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:45:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10696195143892992,"km_value":10696195143892.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700812577411561472,"description":"Unknown IO ID 45"} 
[2026-08-05 15:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196767232001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1700812577411561472}} 
[2026-08-05 15:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":149706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:45:16] local.INFO: GPS data processed {"connection_id":149706,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:45:16] local.INFO: Acknowledgment sent {"connection_id":149706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:45:20] local.INFO: TCP Data received {"connection_id":149707,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:45:20] local.INFO: Processing buffer {"connection_id":149707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:45:20] local.INFO: IMEI packet received {"connection_id":149707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":149707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:45:24] local.INFO: TCP Data received {"connection_id":149707,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:45:24] local.INFO: Processing buffer {"connection_id":149707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:45:24] local.INFO: IMEI packet received {"connection_id":149707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":149707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:45:25] local.INFO: TCP Data received {"connection_id":149707,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16a00c8012d7f23c005af6d780006014532..."} 
[2026-08-05 15:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16a00c8012d7f23c005af6d780006014532..."} 
[2026-08-05 15:45:25] local.INFO: Processing buffer {"connection_id":149707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16a00c8012d7f23c005af6d780006014532..."} 
[2026-08-05 15:45:25] local.INFO: Packet analysis {"connection_id":149707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16a"} 
[2026-08-05 15:45:25] local.INFO: Extracted packet for processing {"connection_id":149707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16a"} 
[2026-08-05 15:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763306944,"raw_latitude":95382904,"longitude_deg":76.3306944,"latitude_deg":9.5382904,"altitude":6,"angle":325,"satellites":50,"speed":26,"hex_longitude":"2d7f23c0","hex_latitude":"05af6d78","is_valid_coordinates":true} 
[2026-08-05 15:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196750080001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370470886676889600,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163136416255617024,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785924813000,"timestamp_ms":1785924813000,"timestamp_seconds":1785924813,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16a00c8"} 
[2026-08-05 15:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 15:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196750080001,"66":27930,"28":206,"85":12544,"24":26,"16":370470886676889600,"45":9163136416255617024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 15:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196750080001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:45:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 15:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370470886676889600,"km_value":370470886676889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163136416255617024,"description":"Unknown IO ID 45"} 
[2026-08-05 15:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196750080001,"power":27930,"unknown_28":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9163136416255617024}} 
[2026-08-05 15:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":149707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:45:25] local.INFO: GPS data processed {"connection_id":149707,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:45:25] local.INFO: Acknowledgment sent {"connection_id":149707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:45:29] local.INFO: TCP Data received {"connection_id":149707,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16a0898012d7f204005af71700006013731..."} 
[2026-08-05 15:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16a0898012d7f204005af71700006013731..."} 
[2026-08-05 15:45:29] local.INFO: Processing buffer {"connection_id":149707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16a0898012d7f204005af71700006013731..."} 
[2026-08-05 15:45:29] local.INFO: Packet analysis {"connection_id":149707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16a"} 
[2026-08-05 15:45:29] local.INFO: Extracted packet for processing {"connection_id":149707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16a"} 
[2026-08-05 15:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763306048,"raw_latitude":95383920,"longitude_deg":76.3306048,"latitude_deg":9.538392,"altitude":6,"angle":311,"satellites":49,"speed":27,"hex_longitude":"2d7f2040","hex_latitude":"05af7170","is_valid_coordinates":true} 
[2026-08-05 15:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196752128001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370470955396366336,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161377197652277248,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785924815000,"timestamp_ms":1785924815000,"timestamp_seconds":1785924815,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16a0898"} 
[2026-08-05 15:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 15:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196752128001,"66":27767,"28":206,"85":12544,"24":27,"16":370470955396366336,"45":9161377197652277248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-05 15:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196752128001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:45:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-05 15:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370470955396366336,"km_value":370470955396366.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161377197652277248,"description":"Unknown IO ID 45"} 
[2026-08-05 15:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196752128001,"power":27767,"unknown_28":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9161377197652277248}} 
[2026-08-05 15:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":149707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:45:29] local.INFO: GPS data processed {"connection_id":149707,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:45:29] local.INFO: Acknowledgment sent {"connection_id":149707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:45:39] local.INFO: TCP Data received {"connection_id":151128,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:39] local.INFO: Processing buffer {"connection_id":151128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:39] local.INFO: IMEI packet received {"connection_id":151128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":151128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:45:39] local.INFO: TCP Data received {"connection_id":151128,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:39] local.INFO: Processing buffer {"connection_id":151128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:39] local.INFO: IMEI packet received {"connection_id":151128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":151128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:45:41] local.INFO: TCP Data received {"connection_id":151128,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:41] local.INFO: Processing buffer {"connection_id":151128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:41] local.INFO: IMEI packet received {"connection_id":151128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":151128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:45:44] local.INFO: TCP Data received {"connection_id":151128,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:44] local.INFO: Processing buffer {"connection_id":151128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:45:44] local.INFO: IMEI packet received {"connection_id":151128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":151128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:45:45] local.INFO: TCP Data received {"connection_id":151128,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16af6e0012d179d00072220d8006100692c..."} 
[2026-08-05 15:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16af6e0012d179d00072220d8006100692c..."} 
[2026-08-05 15:45:45] local.INFO: Processing buffer {"connection_id":151128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16af6e0012d179d00072220d8006100692c..."} 
[2026-08-05 15:45:45] local.INFO: Packet analysis {"connection_id":151128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16a"} 
[2026-08-05 15:45:45] local.INFO: Extracted packet for processing {"connection_id":151128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16a"} 
[2026-08-05 15:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756522240,"raw_latitude":119677144,"longitude_deg":75.652224,"latitude_deg":11.9677144,"altitude":97,"angle":105,"satellites":44,"speed":5,"hex_longitude":"2d179d00","hex_latitude":"072220d8","is_valid_coordinates":true} 
[2026-08-05 15:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196767488001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10696216618729472,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700953314899890176,"note":"Value kept but may cause issues"} 
[2026-08-05 15:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785924876000,"timestamp_ms":1785924876000,"timestamp_seconds":1785924876,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16af6e0"} 
[2026-08-05 15:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 15:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196767488001,"66":12428,"105":206,"83":41984,"24":5,"16":10696216618729472,"45":1700953314899890176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196767488001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:45:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10696216618729472,"km_value":10696216618729.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700953314899890176,"description":"Unknown IO ID 45"} 
[2026-08-05 15:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196767488001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1700953314899890176}} 
[2026-08-05 15:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":151128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:45:45] local.INFO: GPS data processed {"connection_id":151128,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:45:45] local.INFO: Acknowledgment sent {"connection_id":151128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:46:15] local.INFO: TCP Data received {"connection_id":149708,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:46:15] local.INFO: Processing buffer {"connection_id":149708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:46:15] local.INFO: IMEI packet received {"connection_id":149708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":149708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:46:15] local.INFO: TCP Data received {"connection_id":149708,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:46:15] local.INFO: Processing buffer {"connection_id":149708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:46:15] local.INFO: IMEI packet received {"connection_id":149708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":149708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:46:16] local.INFO: TCP Data received {"connection_id":149708,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16b7f98012d7ea18005af5018000c00b132..."} 
[2026-08-05 15:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16b7f98012d7ea18005af5018000c00b132..."} 
[2026-08-05 15:46:16] local.INFO: Processing buffer {"connection_id":149708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16b7f98012d7ea18005af5018000c00b132..."} 
[2026-08-05 15:46:16] local.INFO: Packet analysis {"connection_id":149708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16b"} 
[2026-08-05 15:46:16] local.INFO: Extracted packet for processing {"connection_id":149708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16b"} 
[2026-08-05 15:46:16] local.INFO: GPS Element Parsed {"raw_longitude":763273600,"raw_latitude":95375384,"longitude_deg":76.32736,"latitude_deg":9.5375384,"altitude":12,"angle":177,"satellites":50,"speed":26,"hex_longitude":"2d7ea180","hex_latitude":"05af5018","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196772352001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370473016980668416,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124081763238463488,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785924911000,"timestamp_ms":1785924911000,"timestamp_seconds":1785924911,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16b7f98"} 
[2026-08-05 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-08-05 15:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:46: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-08-05 15:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196772352001,"66":27876,"27":206,"85":12544,"24":26,"16":370473016980668416,"45":9124081763238463488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-05 15:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196772352001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:46:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-05 15:46:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370473016980668416,"km_value":370473016980668.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124081763238463488,"description":"Unknown IO ID 45"} 
[2026-08-05 15:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196772352001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9124081763238463488}} 
[2026-08-05 15:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":149708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:46:16] local.INFO: GPS data processed {"connection_id":149708,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:46:16] local.INFO: Acknowledgment sent {"connection_id":149708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:46:17] local.INFO: TCP Data received {"connection_id":151128,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16ba2c0012d17a940072204e8005e00c029..."} 
[2026-08-05 15:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16ba2c0012d17a940072204e8005e00c029..."} 
[2026-08-05 15:46:17] local.INFO: Processing buffer {"connection_id":151128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16ba2c0012d17a940072204e8005e00c029..."} 
[2026-08-05 15:46:17] local.INFO: Packet analysis {"connection_id":151128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16b"} 
[2026-08-05 15:46:17] local.INFO: Extracted packet for processing {"connection_id":151128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16b"} 
[2026-08-05 15:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756525376,"raw_latitude":119669992,"longitude_deg":75.6525376,"latitude_deg":11.9669992,"altitude":94,"angle":192,"satellites":41,"speed":10,"hex_longitude":"2d17a940","hex_latitude":"072204e8","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196778752001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10696680475197440,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705034702060521472,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785924920000,"timestamp_ms":1785924920000,"timestamp_seconds":1785924920,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16ba2c0"} 
[2026-08-05 15:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196778752001,"66":12439,"105":206,"83":41984,"24":10,"16":10696680475197440,"45":1705034702060521472},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196778752001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:46:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10696680475197440,"km_value":10696680475197.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705034702060521472,"description":"Unknown IO ID 45"} 
[2026-08-05 15:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196778752001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1705034702060521472}} 
[2026-08-05 15:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":151128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:46:17] local.INFO: GPS data processed {"connection_id":151128,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:46:17] local.INFO: Acknowledgment sent {"connection_id":151128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:46:44] local.INFO: TCP Data received {"connection_id":148709,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:46:44] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:46:44] local.INFO: IMEI packet received {"connection_id":148709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":148709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:46:47] local.INFO: TCP Data received {"connection_id":149708,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16bba30012d7ea30005af2c50000d00b231..."} 
[2026-08-05 15:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16bba30012d7ea30005af2c50000d00b231..."} 
[2026-08-05 15:46:47] local.INFO: Processing buffer {"connection_id":149708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16bba30012d7ea30005af2c50000d00b231..."} 
[2026-08-05 15:46:47] local.INFO: Packet analysis {"connection_id":149708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16b"} 
[2026-08-05 15:46:47] local.INFO: Extracted packet for processing {"connection_id":149708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16b"} 
[2026-08-05 15:46:47] local.INFO: GPS Element Parsed {"raw_longitude":763273984,"raw_latitude":95366224,"longitude_deg":76.3273984,"latitude_deg":9.5366224,"altitude":13,"angle":178,"satellites":49,"speed":30,"hex_longitude":"2d7ea300","hex_latitude":"05af2c50","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196777216001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370473463657267200,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124715081933789184,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785924926000,"timestamp_ms":1785924926000,"timestamp_seconds":1785924926,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16bba30"} 
[2026-08-05 15:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 15:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196777216001,"66":28093,"29":206,"85":12544,"24":30,"16":370473463657267200,"45":9124715081933789184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-05 15:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196777216001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:46:47] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-05 15:46:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370473463657267200,"km_value":370473463657267.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124715081933789184,"description":"Unknown IO ID 45"} 
[2026-08-05 15:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196777216001,"power":28093,"unknown_29":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9124715081933789184}} 
[2026-08-05 15:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":149708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:46:47] local.INFO: GPS data processed {"connection_id":149708,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:46:47] local.INFO: Acknowledgment sent {"connection_id":149708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:46:50] local.INFO: TCP Data received {"connection_id":148709,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:46:50] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:46:50] local.INFO: IMEI packet received {"connection_id":148709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":148709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:46:51] local.INFO: TCP Data received {"connection_id":148709,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16bd1a0012d17a6800721f510005b00b42a..."} 
[2026-08-05 15:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16bd1a0012d17a6800721f510005b00b42a..."} 
[2026-08-05 15:46:51] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16bd1a0012d17a6800721f510005b00b42a..."} 
[2026-08-05 15:46:51] local.INFO: Packet analysis {"connection_id":148709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16b"} 
[2026-08-05 15:46:51] local.INFO: Extracted packet for processing {"connection_id":148709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16b"} 
[2026-08-05 15:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756524672,"raw_latitude":119665936,"longitude_deg":75.6524672,"latitude_deg":11.9665936,"altitude":91,"angle":180,"satellites":42,"speed":14,"hex_longitude":"2d17a680","hex_latitude":"0721f510","is_valid_coordinates":true} 
[2026-08-05 15:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196779520001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10696882338660352,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704964333316139008,"note":"Value kept but may cause issues"} 
[2026-08-05 15:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785924932000,"timestamp_ms":1785924932000,"timestamp_seconds":1785924932,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16bd1a0"} 
[2026-08-05 15:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 15:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196779520001,"66":12504,"105":206,"83":41984,"24":14,"16":10696882338660352,"45":1704964333316139008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196779520001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:46:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10696882338660352,"km_value":10696882338660.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704964333316139008,"description":"Unknown IO ID 45"} 
[2026-08-05 15:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196779520001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1704964333316139008}} 
[2026-08-05 15:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":148709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:46:51] local.INFO: GPS data processed {"connection_id":148709,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:46:51] local.INFO: Acknowledgment sent {"connection_id":148709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:47:15] local.INFO: TCP Data received {"connection_id":149709,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:47:15] local.INFO: Processing buffer {"connection_id":149709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:47:15] local.INFO: IMEI packet received {"connection_id":149709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":149709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:47:20] local.INFO: TCP Data received {"connection_id":149709,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:47:20] local.INFO: Processing buffer {"connection_id":149709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:47:20] local.INFO: IMEI packet received {"connection_id":149709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":149709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:47:21] local.INFO: TCP Data received {"connection_id":149709,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16c75b0012d7ea18005aec118000d016530..."} 
[2026-08-05 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16c75b0012d7ea18005aec118000d016530..."} 
[2026-08-05 15:47:21] local.INFO: Processing buffer {"connection_id":149709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16c75b0012d7ea18005aec118000d016530..."} 
[2026-08-05 15:47:21] local.INFO: Packet analysis {"connection_id":149709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16c"} 
[2026-08-05 15:47:21] local.INFO: Extracted packet for processing {"connection_id":149709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16c"} 
[2026-08-05 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":763273600,"raw_latitude":95338776,"longitude_deg":76.32736,"latitude_deg":9.5338776,"altitude":13,"angle":357,"satellites":48,"speed":11,"hex_longitude":"2d7ea180","hex_latitude":"05aec118","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196792576001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370475001255559168,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124644713180037120,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785924974000,"timestamp_ms":1785924974000,"timestamp_seconds":1785924974,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16c75b0"} 
[2026-08-05 15:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:47: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-08-05 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 15:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196792576001,"66":27887,"29":206,"85":12544,"24":11,"16":370475001255559168,"45":9124644713180037120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-05 15:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196792576001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:47:21] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-05 15:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370475001255559168,"km_value":370475001255559.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124644713180037120,"description":"Unknown IO ID 45"} 
[2026-08-05 15:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196792576001,"power":27887,"unknown_29":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9124644713180037120}} 
[2026-08-05 15:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":149709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:47:21] local.INFO: GPS data processed {"connection_id":149709,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:47:21] local.INFO: Acknowledgment sent {"connection_id":149709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:47:22] local.INFO: TCP Data received {"connection_id":148709,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16bd970012d17a7000721f1e8005a00a72a..."} 
[2026-08-05 15:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16bd970012d17a7000721f1e8005a00a72a..."} 
[2026-08-05 15:47:22] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16bd970012d17a7000721f1e8005a00a72a..."} 
[2026-08-05 15:47:22] local.INFO: Packet analysis {"connection_id":148709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16b"} 
[2026-08-05 15:47:22] local.INFO: Extracted packet for processing {"connection_id":148709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16b"} 
[2026-08-05 15:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756524800,"raw_latitude":119665128,"longitude_deg":75.65248,"latitude_deg":11.9665128,"altitude":90,"angle":167,"satellites":42,"speed":15,"hex_longitude":"2d17a700","hex_latitude":"0721f1e8","is_valid_coordinates":true} 
[2026-08-05 15:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196782592001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10696920993366016,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704190277129146368,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785924934000,"timestamp_ms":1785924934000,"timestamp_seconds":1785924934,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16bd970"} 
[2026-08-05 15:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196782592001,"66":12504,"105":206,"83":41984,"24":15,"16":10696920993366016,"45":1704190277129146368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196782592001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:47:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10696920993366016,"km_value":10696920993366.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704190277129146368,"description":"Unknown IO ID 45"} 
[2026-08-05 15:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196782592001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1704190277129146368}} 
[2026-08-05 15:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":148709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:47:22] local.INFO: GPS data processed {"connection_id":148709,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:47:22] local.INFO: Acknowledgment sent {"connection_id":148709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:47:36] local.INFO: TCP Data received {"connection_id":148710,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:36] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:36] local.INFO: IMEI packet received {"connection_id":148710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":148710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:47:37] local.INFO: TCP Data received {"connection_id":148710,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:37] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:37] local.INFO: IMEI packet received {"connection_id":148710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":148710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:47:39] local.INFO: TCP Data received {"connection_id":148710,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:39] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:39] local.INFO: IMEI packet received {"connection_id":148710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":148710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:47:44] local.INFO: TCP Data received {"connection_id":148710,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:44] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:47:44] local.INFO: IMEI packet received {"connection_id":148710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":148710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:47:45] local.INFO: TCP Data received {"connection_id":148710,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16c17f0012d17ab400721ddd0005200b829..."} 
[2026-08-05 15:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16c17f0012d17ab400721ddd0005200b829..."} 
[2026-08-05 15:47:45] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16c17f0012d17ab400721ddd0005200b829..."} 
[2026-08-05 15:47:45] local.INFO: Packet analysis {"connection_id":148710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16c"} 
[2026-08-05 15:47:45] local.INFO: Extracted packet for processing {"connection_id":148710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16c"} 
[2026-08-05 15:47:45] local.INFO: GPS Element Parsed {"raw_longitude":756525888,"raw_latitude":119659984,"longitude_deg":75.6525888,"latitude_deg":11.9659984,"altitude":82,"angle":184,"satellites":41,"speed":11,"hex_longitude":"2d17ab40","hex_latitude":"0721ddd0","is_valid_coordinates":true} 
[2026-08-05 15:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196783104001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10697178691403776,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704331014617294848,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47: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-08-05 15:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785924950000,"timestamp_ms":1785924950000,"timestamp_seconds":1785924950,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16c17f0"} 
[2026-08-05 15:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 15:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196783104001,"66":12472,"107":206,"83":41984,"24":11,"16":10697178691403776,"45":1704331014617294848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196783104001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:47:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:47:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10697178691403776,"km_value":10697178691403.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704331014617294848,"description":"Unknown IO ID 45"} 
[2026-08-05 15:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196783104001,"power":12472,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1704331014617294848}} 
[2026-08-05 15:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":148710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:47:45] local.INFO: GPS data processed {"connection_id":148710,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:47:45] local.INFO: Acknowledgment sent {"connection_id":148710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:47:55] local.INFO: TCP Data received {"connection_id":149709,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16c8168012d7ea10005aec438000c015231..."} 
[2026-08-05 15:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16c8168012d7ea10005aec438000c015231..."} 
[2026-08-05 15:47:55] local.INFO: Processing buffer {"connection_id":149709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16c8168012d7ea10005aec438000c015231..."} 
[2026-08-05 15:47:55] local.INFO: Packet analysis {"connection_id":149709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16c"} 
[2026-08-05 15:47:55] local.INFO: Extracted packet for processing {"connection_id":149709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16c"} 
[2026-08-05 15:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763273472,"raw_latitude":95339576,"longitude_deg":76.3273472,"latitude_deg":9.5339576,"altitude":12,"angle":338,"satellites":49,"speed":9,"hex_longitude":"2d7ea100","hex_latitude":"05aec438","is_valid_coordinates":true} 
[2026-08-05 15:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196793344001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370475044205232128,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124715081924417536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785924977000,"timestamp_ms":1785924977000,"timestamp_seconds":1785924977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16c8168"} 
[2026-08-05 15:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 15:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:47: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-08-05 15:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196793344001,"66":27908,"29":206,"85":12544,"24":9,"16":370475044205232128,"45":9124715081924417536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-05 15:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196793344001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:47:55] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-05 15:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370475044205232128,"km_value":370475044205232.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124715081924417536,"description":"Unknown IO ID 45"} 
[2026-08-05 15:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196793344001,"power":27908,"unknown_29":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9124715081924417536}} 
[2026-08-05 15:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":149709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:47:55] local.INFO: GPS data processed {"connection_id":149709,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:47:55] local.INFO: Acknowledgment sent {"connection_id":149709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:48:16] local.INFO: TCP Data received {"connection_id":148710,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16d2578012d17ae000721a2900057006929..."} 
[2026-08-05 15:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16d2578012d17ae000721a2900057006929..."} 
[2026-08-05 15:48:16] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16d2578012d17ae000721a2900057006929..."} 
[2026-08-05 15:48:16] local.INFO: Packet analysis {"connection_id":148710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16d"} 
[2026-08-05 15:48:16] local.INFO: Extracted packet for processing {"connection_id":148710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16d"} 
[2026-08-05 15:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756526592,"raw_latitude":119644816,"longitude_deg":75.6526592,"latitude_deg":11.9644816,"altitude":87,"angle":105,"satellites":41,"speed":8,"hex_longitude":"2d17ae00","hex_latitude":"0721a290","is_valid_coordinates":true} 
[2026-08-05 15:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196804608001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10697938900615168,"note":"Value kept but may cause issues"} 
[2026-08-05 15:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706019864472375296,"note":"Value kept but may cause issues"} 
[2026-08-05 15:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785925019000,"timestamp_ms":1785925019000,"timestamp_seconds":1785925019,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16d2578"} 
[2026-08-05 15:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-05 15:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196804608001,"66":14113,"107":206,"83":41984,"24":8,"16":10697938900615168,"45":1706019864472375296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 15:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196804608001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:48:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 15:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10697938900615168,"km_value":10697938900615.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706019864472375296,"description":"Unknown IO ID 45"} 
[2026-08-05 15:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196804608001,"power":14113,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1706019864472375296}} 
[2026-08-05 15:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":148710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:48:16] local.INFO: GPS data processed {"connection_id":148710,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:48:17] local.INFO: Acknowledgment sent {"connection_id":148710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:48:17] local.INFO: TCP Data received {"connection_id":148711,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:48:17] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:48:17] local.INFO: IMEI packet received {"connection_id":148711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":148711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:48:20] local.INFO: TCP Data received {"connection_id":148711,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:48:20] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:48:20] local.INFO: IMEI packet received {"connection_id":148711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":148711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:48:24] local.INFO: TCP Data received {"connection_id":148711,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:48:24] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:48:24] local.INFO: IMEI packet received {"connection_id":148711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":148711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:48:25] local.INFO: TCP Data received {"connection_id":148711,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16c8550012d7ea0c005aec4f8000d014531..."} 
[2026-08-05 15:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16c8550012d7ea0c005aec4f8000d014531..."} 
[2026-08-05 15:48:25] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16c8550012d7ea0c005aec4f8000d014531..."} 
[2026-08-05 15:48:25] local.INFO: Packet analysis {"connection_id":148711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16c"} 
[2026-08-05 15:48:25] local.INFO: Extracted packet for processing {"connection_id":148711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16c"} 
[2026-08-05 15:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763273408,"raw_latitude":95339768,"longitude_deg":76.3273408,"latitude_deg":9.5339768,"altitude":13,"angle":325,"satellites":49,"speed":7,"hex_longitude":"2d7ea0c0","hex_latitude":"05aec4f8","is_valid_coordinates":true} 
[2026-08-05 15:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196794112001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370475052795166720,"note":"Value kept but may cause issues"} 
[2026-08-05 15:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124574344436267008,"note":"Value kept but may cause issues"} 
[2026-08-05 15:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785924978000,"timestamp_ms":1785924978000,"timestamp_seconds":1785924978,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16c8550"} 
[2026-08-05 15:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 15:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196794112001,"66":27908,"29":206,"85":12544,"24":7,"16":370475052795166720,"45":9124574344436267008},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-05 15:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196794112001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:48:25] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-05 15:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370475052795166720,"km_value":370475052795166.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124574344436267008,"description":"Unknown IO ID 45"} 
[2026-08-05 15:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196794112001,"power":27908,"unknown_29":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9124574344436267008}} 
[2026-08-05 15:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":148711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:48:25] local.INFO: GPS data processed {"connection_id":148711,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:48:25] local.INFO: Acknowledgment sent {"connection_id":148711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:48:37] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:37] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:37] local.INFO: IMEI packet received {"connection_id":148496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":148496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:48:38] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:38] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:38] local.INFO: IMEI packet received {"connection_id":148496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":148496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:48:39] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:39] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:39] local.INFO: IMEI packet received {"connection_id":148496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":148496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:48:40] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:40] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:48:40] local.INFO: IMEI packet received {"connection_id":148496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":148496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:48:57] local.INFO: TCP Data received {"connection_id":148711,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16e13c0012d7e9e8005b04a90000e000030..."} 
[2026-08-05 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16e13c0012d7e9e8005b04a90000e000030..."} 
[2026-08-05 15:48:57] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16e13c0012d7e9e8005b04a90000e000030..."} 
[2026-08-05 15:48:57] local.INFO: Packet analysis {"connection_id":148711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:48:57] local.INFO: Extracted packet for processing {"connection_id":148711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763272832,"raw_latitude":95439504,"longitude_deg":76.3272832,"latitude_deg":9.5439504,"altitude":14,"angle":0,"satellites":48,"speed":58,"hex_longitude":"2d7e9e80","hex_latitude":"05b04a90","is_valid_coordinates":true} 
[2026-08-05 15:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196818688001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370479897518276608,"note":"Value kept but may cause issues"} 
[2026-08-05 15:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123589182040743936,"note":"Value kept but may cause issues"} 
[2026-08-05 15:48: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-08-05 15:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785925080000,"timestamp_ms":1785925080000,"timestamp_seconds":1785925080,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16e13c0"} 
[2026-08-05 15:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 15:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196818688001,"66":27984,"251":206,"85":12544,"24":58,"16":370479897518276608,"45":9123589182040743936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-05 15:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196818688001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:48:57] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-05 15:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370479897518276608,"km_value":370479897518276.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123589182040743936,"description":"Unknown IO ID 45"} 
[2026-08-05 15:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196818688001,"power":27984,"unknown_251":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9123589182040743936}} 
[2026-08-05 15:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":148711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:48:57] local.INFO: GPS data processed {"connection_id":148711,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:48:57] local.INFO: Acknowledgment sent {"connection_id":148711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:49:16] local.INFO: TCP Data received {"connection_id":149710,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:49:16] local.INFO: Processing buffer {"connection_id":149710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:49:16] local.INFO: IMEI packet received {"connection_id":149710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":149710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:49:17] local.INFO: TCP Data received {"connection_id":149710,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:49:17] local.INFO: Processing buffer {"connection_id":149710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:49:17] local.INFO: IMEI packet received {"connection_id":149710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":149710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:49:25] local.INFO: TCP Data received {"connection_id":149710,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:49:25] local.INFO: Processing buffer {"connection_id":149710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:49:25] local.INFO: IMEI packet received {"connection_id":149710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":149710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:49:26] local.INFO: TCP Data received {"connection_id":149710,"ip":"42.106.6.20","data_length":1348,"data_hex":"000000000000030f8e0a0000019fd16e2f18012d7e9f4005b072a0000e000032..."} 
[2026-08-05 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149710,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fd16e2f18012d7e9f4005b072a0000e000032..."} 
[2026-08-05 15:49:26] local.INFO: Processing buffer {"connection_id":149710,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fd16e2f18012d7e9f4005b072a0000e000032..."} 
[2026-08-05 15:49:26] local.INFO: Packet analysis {"connection_id":149710,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:49:26] local.INFO: Extracted packet for processing {"connection_id":149710,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763273024,"raw_latitude":95449760,"longitude_deg":76.3273024,"latitude_deg":9.544976,"altitude":14,"angle":0,"satellites":50,"speed":58,"hex_longitude":"2d7e9f40","hex_latitude":"05b072a0","is_valid_coordinates":true} 
[2026-08-05 15:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196820480001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370480395734482944,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123870657020071936,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785925087000,"timestamp_ms":1785925087000,"timestamp_seconds":1785925087,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16e2f18"} 
[2026-08-05 15:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 15:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196820480001,"66":27865,"251":206,"85":12544,"24":58,"16":370480395734482944,"45":9123870657020071936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-05 15:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196820480001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:49:26] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-05 15:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370480395734482944,"km_value":370480395734482.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123870657020071936,"description":"Unknown IO ID 45"} 
[2026-08-05 15:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196820480001,"power":27865,"unknown_251":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9123870657020071936}} 
[2026-08-05 15:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":149710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:49:26] local.INFO: GPS data processed {"connection_id":149710,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:49:26] local.INFO: Acknowledgment sent {"connection_id":149710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:49:26] local.INFO: Packet analysis {"connection_id":149710,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:49:26] local.INFO: Incomplete packet, waiting for more data {"connection_id":149710,"needed":795,"available":553} 
[2026-08-05 15:49:28] local.INFO: TCP Data received {"connection_id":149710,"ip":"42.106.6.20","data_length":1037,"data_hex":"0000000000019fd16d8338012d7e97c005af88d00012000032002a0000000a00..."} 
[2026-08-05 15:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149710,"packet_length":1037,"packet_hex":"0000000000019fd16d8338012d7e97c005af88d00012000032002a0000000a00..."} 
[2026-08-05 15:49:28] local.INFO: Processing buffer {"connection_id":149710,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd16e4a70012d7e9fc005b09ad8000e000132..."} 
[2026-08-05 15:49:28] local.INFO: Packet analysis {"connection_id":149710,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:49:28] local.INFO: Extracted packet for processing {"connection_id":149710,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763273152,"raw_latitude":95460056,"longitude_deg":76.3273152,"latitude_deg":9.5460056,"altitude":14,"angle":1,"satellites":50,"speed":58,"hex_longitude":"2d7e9fc0","hex_latitude":"05b09ad8","is_valid_coordinates":true} 
[2026-08-05 15:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196822272001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370480898245656576,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124081763255230464,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785925094000,"timestamp_ms":1785925094000,"timestamp_seconds":1785925094,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16e4a70"} 
[2026-08-05 15:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 15:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196822272001,"66":27995,"92":206,"85":12544,"24":58,"16":370480898245656576,"45":9124081763255230464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-08-05 15:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196822272001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:49:28] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-05 15:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370480898245656576,"km_value":370480898245656.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124081763255230464,"description":"Unknown IO ID 45"} 
[2026-08-05 15:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196822272001,"power":27995,"unknown_92":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9124081763255230464}} 
[2026-08-05 15:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":149710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:49:28] local.INFO: GPS data processed {"connection_id":149710,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:49:28] local.INFO: Acknowledgment sent {"connection_id":149710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:49:28] local.INFO: Packet analysis {"connection_id":149710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:49:28] local.INFO: Extracted packet for processing {"connection_id":149710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763273472,"raw_latitude":95470384,"longitude_deg":76.3273472,"latitude_deg":9.5470384,"altitude":14,"angle":1,"satellites":50,"speed":58,"hex_longitude":"2d7ea100","hex_latitude":"05b0c330","is_valid_coordinates":true} 
[2026-08-05 15:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196824064001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370481396461862912,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124222500746221568,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785925101000,"timestamp_ms":1785925101000,"timestamp_seconds":1785925101,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16e65c8"} 
[2026-08-05 15:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 15:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":149710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":149710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":149710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196824064001,"66":27995,"92":206,"85":12544,"24":58,"16":370481396461862912,"45":9124222500746221568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-08-05 15:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196824064001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:49:28] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-05 15:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370481396461862912,"km_value":370481396461862.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124222500746221568,"description":"Unknown IO ID 45"} 
[2026-08-05 15:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196824064001,"power":27995,"unknown_92":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9124222500746221568}} 
[2026-08-05 15:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":149710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:49:28] local.INFO: GPS data processed {"connection_id":149710,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:49:28] local.INFO: Acknowledgment sent {"connection_id":149710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:49:59] local.INFO: TCP Data received {"connection_id":149710,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16e8120012d7ea20005b0ea78000f000131..."} 
[2026-08-05 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16e8120012d7ea20005b0ea78000f000131..."} 
[2026-08-05 15:49:59] local.INFO: Processing buffer {"connection_id":149710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16e8120012d7ea20005b0ea78000f000131..."} 
[2026-08-05 15:49:59] local.INFO: Packet analysis {"connection_id":149710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:49:59] local.INFO: Extracted packet for processing {"connection_id":149710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763273728,"raw_latitude":95480440,"longitude_deg":76.3273728,"latitude_deg":9.548044,"altitude":15,"angle":1,"satellites":49,"speed":56,"hex_longitude":"2d7ea200","hex_latitude":"05b0ea78","is_valid_coordinates":true} 
[2026-08-05 15:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196825856001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370481886088134656,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124574344469753856,"note":"Value kept but may cause issues"} 
[2026-08-05 15:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785925108000,"timestamp_ms":1785925108000,"timestamp_seconds":1785925108,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16e8120"} 
[2026-08-05 15:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 15:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196825856001,"66":27930,"92":206,"85":12544,"24":56,"16":370481886088134656,"45":9124574344469753856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-08-05 15:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196825856001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:49:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-05 15:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370481886088134656,"km_value":370481886088134.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124574344469753856,"description":"Unknown IO ID 45"} 
[2026-08-05 15:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196825856001,"power":27930,"unknown_92":206,"unknown_85":12544,"ignition":56,"odometer":null,"unknown_45":9124574344469753856}} 
[2026-08-05 15:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":149710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:49:59] local.INFO: GPS data processed {"connection_id":149710,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:49:59] local.INFO: Acknowledgment sent {"connection_id":149710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:50:15] local.INFO: TCP Data received {"connection_id":151129,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:50:15] local.INFO: Processing buffer {"connection_id":151129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:50:15] local.INFO: IMEI packet received {"connection_id":151129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":151129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:50:19] local.INFO: TCP Data received {"connection_id":151129,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:50:19] local.INFO: Processing buffer {"connection_id":151129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:50:19] local.INFO: IMEI packet received {"connection_id":151129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":151129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:50:19] local.INFO: TCP Data received {"connection_id":151129,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16e9c78012d7ea24005b10fa0000e000030..."} 
[2026-08-05 15:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16e9c78012d7ea24005b10fa0000e000030..."} 
[2026-08-05 15:50:19] local.INFO: Processing buffer {"connection_id":151129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16e9c78012d7ea24005b10fa0000e000030..."} 
[2026-08-05 15:50:19] local.INFO: Packet analysis {"connection_id":151129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:50:19] local.INFO: Extracted packet for processing {"connection_id":151129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:50:19] local.INFO: GPS Element Parsed {"raw_longitude":763273792,"raw_latitude":95489952,"longitude_deg":76.3273792,"latitude_deg":9.5489952,"altitude":14,"angle":0,"satellites":48,"speed":51,"hex_longitude":"2d7ea240","hex_latitude":"05b10fa0","is_valid_coordinates":true} 
[2026-08-05 15:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196827648001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370482345649635328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124855819449038848,"note":"Value kept but may cause issues"} 
[2026-08-05 15:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785925115000,"timestamp_ms":1785925115000,"timestamp_seconds":1785925115,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16e9c78"} 
[2026-08-05 15:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 15:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196827648001,"66":27919,"92":206,"85":12544,"24":51,"16":370482345649635328,"45":9124855819449038848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-08-05 15:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196827648001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:50:19] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-05 15:50:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370482345649635328,"km_value":370482345649635.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124855819449038848,"description":"Unknown IO ID 45"} 
[2026-08-05 15:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196827648001,"power":27919,"unknown_92":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9124855819449038848}} 
[2026-08-05 15:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":151129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:50:19] local.INFO: GPS data processed {"connection_id":151129,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:50:19] local.INFO: Acknowledgment sent {"connection_id":151129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:50:51] local.INFO: TCP Data received {"connection_id":151129,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd16eb7d0012d7ea2c005b13270000f000032..."} 
[2026-08-05 15:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd16eb7d0012d7ea2c005b13270000f000032..."} 
[2026-08-05 15:50:51] local.INFO: Processing buffer {"connection_id":151129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd16eb7d0012d7ea2c005b13270000f000032..."} 
[2026-08-05 15:50:51] local.INFO: Packet analysis {"connection_id":151129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:50:51] local.INFO: Extracted packet for processing {"connection_id":151129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd16e"} 
[2026-08-05 15:50:51] local.INFO: GPS Element Parsed {"raw_longitude":763273920,"raw_latitude":95498864,"longitude_deg":76.327392,"latitude_deg":9.5498864,"altitude":15,"angle":0,"satellites":50,"speed":49,"hex_longitude":"2d7ea2c0","hex_latitude":"05b13270","is_valid_coordinates":true} 
[2026-08-05 15:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196829440001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370482779441332224,"note":"Value kept but may cause issues"} 
[2026-08-05 15:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124926188195651584,"note":"Value kept but may cause issues"} 
[2026-08-05 15:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785925122000,"timestamp_ms":1785925122000,"timestamp_seconds":1785925122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd16eb7d0"} 
[2026-08-05 15:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196829440001,"66":27930,"92":206,"85":12544,"24":49,"16":370482779441332224,"45":9124926188195651584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-08-05 15:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196829440001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:50:51] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-05 15:50:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370482779441332224,"km_value":370482779441332.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124926188195651584,"description":"Unknown IO ID 45"} 
[2026-08-05 15:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196829440001,"power":27930,"unknown_92":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9124926188195651584}} 
[2026-08-05 15:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":151129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:50:51] local.INFO: GPS data processed {"connection_id":151129,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:50:51] local.INFO: Acknowledgment sent {"connection_id":151129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:51:22] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:51:22] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:51:22] local.INFO: IMEI packet received {"connection_id":148498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":148498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:51:24] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:51:24] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:51:24] local.INFO: IMEI packet received {"connection_id":148498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":148498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:51:30] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:51:30] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:51:30] local.INFO: IMEI packet received {"connection_id":148498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":148498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:51:31] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1701760012d7eb8c005b2ce50000f016631..."} 
[2026-08-05 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1701760012d7eb8c005b2ce50000f016631..."} 
[2026-08-05 15:51:31] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1701760012d7eb8c005b2ce50000f016631..."} 
[2026-08-05 15:51:31] local.INFO: Packet analysis {"connection_id":148498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd170"} 
[2026-08-05 15:51:31] local.INFO: Extracted packet for processing {"connection_id":148498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd170"} 
[2026-08-05 15:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763279552,"raw_latitude":95604304,"longitude_deg":76.3279552,"latitude_deg":9.5604304,"altitude":15,"angle":358,"satellites":49,"speed":48,"hex_longitude":"2d7eb8c0","hex_latitude":"05b2ce50","is_valid_coordinates":true} 
[2026-08-05 15:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196852224001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370487903337316352,"note":"Value kept but may cause issues"} 
[2026-08-05 15:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131540850175166464,"note":"Value kept but may cause issues"} 
[2026-08-05 15:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785925212000,"timestamp_ms":1785925212000,"timestamp_seconds":1785925212,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1701760"} 
[2026-08-05 15:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 15:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196852224001,"66":27919,"58":206,"85":12544,"24":48,"16":370487903337316352,"45":9131540850175166464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-05 15:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196852224001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:51:31] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-05 15:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370487903337316352,"km_value":370487903337316.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131540850175166464,"description":"Unknown IO ID 45"} 
[2026-08-05 15:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196852224001,"power":27919,"unknown_58":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9131540850175166464}} 
[2026-08-05 15:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":148498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:51:31] local.INFO: GPS data processed {"connection_id":148498,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:51:31] local.INFO: Acknowledgment sent {"connection_id":148498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:52:15] local.INFO: TCP Data received {"connection_id":148714,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:52:15] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:52:15] local.INFO: IMEI packet received {"connection_id":148714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":148714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:52:15] local.INFO: TCP Data received {"connection_id":148714,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:52:15] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:52:15] local.INFO: IMEI packet received {"connection_id":148714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":148714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:52:20] local.INFO: TCP Data received {"connection_id":148714,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:52:20] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:52:20] local.INFO: IMEI packet received {"connection_id":148714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":148714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:52:21] local.INFO: TCP Data received {"connection_id":148714,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17036a0012d7eb80005b2f448000e016632..."} 
[2026-08-05 15:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17036a0012d7eb80005b2f448000e016632..."} 
[2026-08-05 15:52:21] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17036a0012d7eb80005b2f448000e016632..."} 
[2026-08-05 15:52:21] local.INFO: Packet analysis {"connection_id":148714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd170"} 
[2026-08-05 15:52:21] local.INFO: Extracted packet for processing {"connection_id":148714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd170"} 
[2026-08-05 15:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763279360,"raw_latitude":95614024,"longitude_deg":76.327936,"latitude_deg":9.5614024,"altitude":14,"angle":358,"satellites":50,"speed":48,"hex_longitude":"2d7eb800","hex_latitude":"05b2f448","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196854272001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370488375783718912,"note":"Value kept but may cause issues"} 
[2026-08-05 15:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131259375200915456,"note":"Value kept but may cause issues"} 
[2026-08-05 15:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785925220000,"timestamp_ms":1785925220000,"timestamp_seconds":1785925220,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17036a0"} 
[2026-08-05 15:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:52: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-08-05 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196854272001,"66":27887,"58":206,"85":12544,"24":48,"16":370488375783718912,"45":9131259375200915456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-05 15:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196854272001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:52:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-05 15:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370488375783718912,"km_value":370488375783718.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131259375200915456,"description":"Unknown IO ID 45"} 
[2026-08-05 15:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196854272001,"power":27887,"unknown_58":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9131259375200915456}} 
[2026-08-05 15:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":148714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:52:22] local.INFO: GPS data processed {"connection_id":148714,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:52:22] local.INFO: Acknowledgment sent {"connection_id":148714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:52:26] local.INFO: TCP Data received {"connection_id":148714,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17055e0012d7eb6c005b31a30000e016533..."} 
[2026-08-05 15:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17055e0012d7eb6c005b31a30000e016533..."} 
[2026-08-05 15:52:26] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17055e0012d7eb6c005b31a30000e016533..."} 
[2026-08-05 15:52:26] local.INFO: Packet analysis {"connection_id":148714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd170"} 
[2026-08-05 15:52:26] local.INFO: Extracted packet for processing {"connection_id":148714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd170"} 
[2026-08-05 15:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95623728,"longitude_deg":76.327904,"latitude_deg":9.5623728,"altitude":14,"angle":357,"satellites":51,"speed":48,"hex_longitude":"2d7eb6c0","hex_latitude":"05b31a30","is_valid_coordinates":true} 
[2026-08-05 15:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196856320001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370488848230121472,"note":"Value kept but may cause issues"} 
[2026-08-05 15:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131048268970870784,"note":"Value kept but may cause issues"} 
[2026-08-05 15:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785925228000,"timestamp_ms":1785925228000,"timestamp_seconds":1785925228,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17055e0"} 
[2026-08-05 15:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 15:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196856320001,"66":27908,"58":206,"85":12544,"24":48,"16":370488848230121472,"45":9131048268970870784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-05 15:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196856320001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:52:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-05 15:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370488848230121472,"km_value":370488848230121.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131048268970870784,"description":"Unknown IO ID 45"} 
[2026-08-05 15:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196856320001,"power":27908,"unknown_58":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9131048268970870784}} 
[2026-08-05 15:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":148714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:52:26] local.INFO: GPS data processed {"connection_id":148714,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:52:26] local.INFO: Acknowledgment sent {"connection_id":148714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:52:57] local.INFO: TCP Data received {"connection_id":148714,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd171c128012d7ea60005b4dee0000c016533..."} 
[2026-08-05 15:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd171c128012d7ea60005b4dee0000c016533..."} 
[2026-08-05 15:52:57] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd171c128012d7ea60005b4dee0000c016533..."} 
[2026-08-05 15:52:57] local.INFO: Packet analysis {"connection_id":148714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd171"} 
[2026-08-05 15:52:57] local.INFO: Extracted packet for processing {"connection_id":148714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd171"} 
[2026-08-05 15:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763274752,"raw_latitude":95739616,"longitude_deg":76.3274752,"latitude_deg":9.5739616,"altitude":12,"angle":357,"satellites":51,"speed":54,"hex_longitude":"2d7ea600","hex_latitude":"05b4dee0","is_valid_coordinates":true} 
[2026-08-05 15:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196880384001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370494470342311936,"note":"Value kept but may cause issues"} 
[2026-08-05 15:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126474300629016576,"note":"Value kept but may cause issues"} 
[2026-08-05 15:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785925321000,"timestamp_ms":1785925321000,"timestamp_seconds":1785925321,"priority":1,"record_length":96,"hex_timestamp":"0000019fd171c128"} 
[2026-08-05 15:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 15:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196880384001,"66":27843,"122":206,"85":12544,"24":54,"16":370494470342311936,"45":9126474300629016576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-05 15:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196880384001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:52:57] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-05 15:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370494470342311936,"km_value":370494470342311.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126474300629016576,"description":"Unknown IO ID 45"} 
[2026-08-05 15:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196880384001,"power":27843,"unknown_122":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9126474300629016576}} 
[2026-08-05 15:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":148714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:52:57] local.INFO: GPS data processed {"connection_id":148714,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:52:57] local.INFO: Acknowledgment sent {"connection_id":148714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:53:15] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:53:15] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:53:15] local.INFO: IMEI packet received {"connection_id":148499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":148499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:53:20] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:53:20] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:53:20] local.INFO: IMEI packet received {"connection_id":148499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":148499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:53:20] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd171dc80012d7ea4c005b50458000c016731..."} 
[2026-08-05 15:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd171dc80012d7ea4c005b50458000c016731..."} 
[2026-08-05 15:53:20] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd171dc80012d7ea4c005b50458000c016731..."} 
[2026-08-05 15:53:20] local.INFO: Packet analysis {"connection_id":148499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd171"} 
[2026-08-05 15:53:20] local.INFO: Extracted packet for processing {"connection_id":148499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd171"} 
[2026-08-05 15:53:20] local.INFO: GPS Element Parsed {"raw_longitude":763274432,"raw_latitude":95749208,"longitude_deg":76.3274432,"latitude_deg":9.5749208,"altitude":12,"angle":359,"satellites":49,"speed":54,"hex_longitude":"2d7ea4c0","hex_latitude":"05b50458","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196882176001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370494934198779904,"note":"Value kept but may cause issues"} 
[2026-08-05 15:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125981719422230528,"note":"Value kept but may cause issues"} 
[2026-08-05 15:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785925328000,"timestamp_ms":1785925328000,"timestamp_seconds":1785925328,"priority":1,"record_length":96,"hex_timestamp":"0000019fd171dc80"} 
[2026-08-05 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-08-05 15:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 15:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196882176001,"66":27908,"122":206,"85":12544,"24":54,"16":370494934198779904,"45":9125981719422230528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-05 15:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196882176001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:53:20] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-05 15:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370494934198779904,"km_value":370494934198779.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125981719422230528,"description":"Unknown IO ID 45"} 
[2026-08-05 15:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196882176001,"power":27908,"unknown_122":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9125981719422230528}} 
[2026-08-05 15:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":148499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:53:20] local.INFO: GPS data processed {"connection_id":148499,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:53:20] local.INFO: Acknowledgment sent {"connection_id":148499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:53:44] local.INFO: TCP Data received {"connection_id":151131,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:53:44] local.INFO: Processing buffer {"connection_id":151131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:53:44] local.INFO: IMEI packet received {"connection_id":151131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":151131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:53:45] local.INFO: TCP Data received {"connection_id":151131,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd171e450012d1823800721b880004c014e2c..."} 
[2026-08-05 15:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd171e450012d1823800721b880004c014e2c..."} 
[2026-08-05 15:53:45] local.INFO: Processing buffer {"connection_id":151131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd171e450012d1823800721b880004c014e2c..."} 
[2026-08-05 15:53:45] local.INFO: Packet analysis {"connection_id":151131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd171"} 
[2026-08-05 15:53:45] local.INFO: Extracted packet for processing {"connection_id":151131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd171"} 
[2026-08-05 15:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196879104001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785925330000,"timestamp_ms":1785925330000,"timestamp_seconds":1785925330,"priority":1,"record_length":96,"hex_timestamp":"0000019fd171e450"} 
[2026-08-05 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-08-05 15:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 15:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196879104001,"66":12972,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196879104001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:53:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196879104001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":151131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:53:45] local.INFO: GPS data processed {"connection_id":151131,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:53:45] local.INFO: Acknowledgment sent {"connection_id":151131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:53:51] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd171f7d8012d7ea40005b52910000c016631..."} 
[2026-08-05 15:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd171f7d8012d7ea40005b52910000c016631..."} 
[2026-08-05 15:53:51] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd171f7d8012d7ea40005b52910000c016631..."} 
[2026-08-05 15:53:51] local.INFO: Packet analysis {"connection_id":148499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd171"} 
[2026-08-05 15:53:51] local.INFO: Extracted packet for processing {"connection_id":148499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd171"} 
[2026-08-05 15:53:51] local.INFO: GPS Element Parsed {"raw_longitude":763274240,"raw_latitude":95758608,"longitude_deg":76.327424,"latitude_deg":9.5758608,"altitude":12,"angle":358,"satellites":49,"speed":52,"hex_longitude":"2d7ea400","hex_latitude":"05b52910","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196883968001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370495389465313280,"note":"Value kept but may cause issues"} 
[2026-08-05 15:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125629875703797760,"note":"Value kept but may cause issues"} 
[2026-08-05 15:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785925335000,"timestamp_ms":1785925335000,"timestamp_seconds":1785925335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd171f7d8"} 
[2026-08-05 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-08-05 15:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 15:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196883968001,"66":27930,"122":206,"85":12544,"24":52,"16":370495389465313280,"45":9125629875703797760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-05 15:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196883968001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:53:51] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-05 15:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370495389465313280,"km_value":370495389465313.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125629875703797760,"description":"Unknown IO ID 45"} 
[2026-08-05 15:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196883968001,"power":27930,"unknown_122":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9125629875703797760}} 
[2026-08-05 15:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":148499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:53:51] local.INFO: GPS data processed {"connection_id":148499,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:53:51] local.INFO: Acknowledgment sent {"connection_id":148499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:54:15] local.INFO: TCP Data received {"connection_id":148715,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:54:15] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:54:15] local.INFO: IMEI packet received {"connection_id":148715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":148715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:54:15] local.INFO: TCP Data received {"connection_id":148715,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:54:15] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:54:15] local.INFO: IMEI packet received {"connection_id":148715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":148715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:54:16] local.INFO: TCP Data received {"connection_id":151131,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1723658012d1823800721b880004c014e2e..."} 
[2026-08-05 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1723658012d1823800721b880004c014e2e..."} 
[2026-08-05 15:54:16] local.INFO: Processing buffer {"connection_id":151131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1723658012d1823800721b880004c014e2e..."} 
[2026-08-05 15:54:16] local.INFO: Packet analysis {"connection_id":151131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:54:16] local.INFO: Extracted packet for processing {"connection_id":151131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196884480001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785925351000,"timestamp_ms":1785925351000,"timestamp_seconds":1785925351,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1723658"} 
[2026-08-05 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-08-05 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-05 15:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196884480001,"66":12950,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196884480001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:54:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:54:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196884480001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":151131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:54:17] local.INFO: GPS data processed {"connection_id":151131,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:54:17] local.INFO: Acknowledgment sent {"connection_id":151131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:54:20] local.INFO: TCP Data received {"connection_id":148715,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:54:20] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:54:20] local.INFO: IMEI packet received {"connection_id":148715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":148715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:54:21] local.INFO: TCP Data received {"connection_id":148715,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1721718012d7ea44005b551b8000e000133..."} 
[2026-08-05 15:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1721718012d7ea44005b551b8000e000133..."} 
[2026-08-05 15:54:21] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1721718012d7ea44005b551b8000e000133..."} 
[2026-08-05 15:54:21] local.INFO: Packet analysis {"connection_id":148715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:54:21] local.INFO: Extracted packet for processing {"connection_id":148715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:54:21] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95769016,"longitude_deg":76.3274304,"latitude_deg":9.5769016,"altitude":14,"angle":1,"satellites":51,"speed":50,"hex_longitude":"2d7ea440","hex_latitude":"05b551b8","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196885760001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370495896271454208,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125418769473671168,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785925343000,"timestamp_ms":1785925343000,"timestamp_seconds":1785925343,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1721718"} 
[2026-08-05 15:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:54: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-08-05 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 15:54: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-08-05 15: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-08-05 15:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196885760001,"66":27995,"122":206,"85":12544,"24":50,"16":370495896271454208,"45":9125418769473671168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-05 15:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196885760001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:54:21] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-05 15:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370495896271454208,"km_value":370495896271454.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125418769473671168,"description":"Unknown IO ID 45"} 
[2026-08-05 15:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196885760001,"power":27995,"unknown_122":206,"unknown_85":12544,"ignition":50,"odometer":null,"unknown_45":9125418769473671168}} 
[2026-08-05 15:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":148715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:54:21] local.INFO: GPS data processed {"connection_id":148715,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:54:21] local.INFO: Acknowledgment sent {"connection_id":148715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:54:39] local.INFO: TCP Data received {"connection_id":148716,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:54:39] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:54:39] local.INFO: IMEI packet received {"connection_id":148716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":148716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:54:44] local.INFO: TCP Data received {"connection_id":148716,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:54:44] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:54:44] local.INFO: IMEI packet received {"connection_id":148716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":148716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:54:45] local.INFO: TCP Data received {"connection_id":148716,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1728860012d1823800721b880004c014e2d..."} 
[2026-08-05 15:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1728860012d1823800721b880004c014e2d..."} 
[2026-08-05 15:54:45] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1728860012d1823800721b880004c014e2d..."} 
[2026-08-05 15:54:45] local.INFO: Packet analysis {"connection_id":148716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:54:45] local.INFO: Extracted packet for processing {"connection_id":148716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196889856001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785925372000,"timestamp_ms":1785925372000,"timestamp_seconds":1785925372,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1728860"} 
[2026-08-05 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-08-05 15:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 15: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-08-05 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-08-05 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-08-05 15:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196889856001,"66":12939,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196889856001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:54:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196889856001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":148716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:54:45] local.INFO: GPS data processed {"connection_id":148716,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:54:45] local.INFO: Acknowledgment sent {"connection_id":148716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:54:52] local.INFO: TCP Data received {"connection_id":148715,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1723658012d7ea84005b574e8000e000933..."} 
[2026-08-05 15:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1723658012d7ea84005b574e8000e000933..."} 
[2026-08-05 15:54:52] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1723658012d7ea84005b574e8000e000933..."} 
[2026-08-05 15:54:52] local.INFO: Packet analysis {"connection_id":148715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:54:52] local.INFO: Extracted packet for processing {"connection_id":148715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:54:52] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":95778024,"longitude_deg":76.3275328,"latitude_deg":9.5778024,"altitude":14,"angle":9,"satellites":51,"speed":41,"hex_longitude":"2d7ea840","hex_latitude":"05b574e8","is_valid_coordinates":true} 
[2026-08-05 15:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196887808001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370496334358118400,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138220513280,"note":"Value kept but may cause issues"} 
[2026-08-05 15:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785925351000,"timestamp_ms":1785925351000,"timestamp_seconds":1785925351,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1723658"} 
[2026-08-05 15:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 15:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196887808001,"66":27745,"122":206,"85":12544,"24":41,"16":370496334358118400,"45":9125489138220513280},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-05 15:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196887808001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:54:52] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-05 15:54:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370496334358118400,"km_value":370496334358118.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138220513280,"description":"Unknown IO ID 45"} 
[2026-08-05 15:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196887808001,"power":27745,"unknown_122":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9125489138220513280}} 
[2026-08-05 15:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":148715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:54:52] local.INFO: GPS data processed {"connection_id":148715,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:54:52] local.INFO: Acknowledgment sent {"connection_id":148715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:55:15] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:55:15] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:55:15] local.INFO: IMEI packet received {"connection_id":148500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":148500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:55:16] local.INFO: TCP Data received {"connection_id":148716,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd172da68012d1823800721b880004c014e2c..."} 
[2026-08-05 15:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd172da68012d1823800721b880004c014e2c..."} 
[2026-08-05 15:55:16] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd172da68012d1823800721b880004c014e2c..."} 
[2026-08-05 15:55:16] local.INFO: Packet analysis {"connection_id":148716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:55:16] local.INFO: Extracted packet for processing {"connection_id":148716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 15:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196895232001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785925393000,"timestamp_ms":1785925393000,"timestamp_seconds":1785925393,"priority":1,"record_length":96,"hex_timestamp":"0000019fd172da68"} 
[2026-08-05 15:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 15:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196895232001,"66":12939,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196895232001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:55:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:55:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196895232001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":148716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:55:16] local.INFO: GPS data processed {"connection_id":148716,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:55:16] local.INFO: Acknowledgment sent {"connection_id":148716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:55:20] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:55:20] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:55:20] local.INFO: IMEI packet received {"connection_id":148500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":148500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:55:21] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1726150012d7eac0005b59980000f000633..."} 
[2026-08-05 15:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1726150012d7eac0005b59980000f000633..."} 
[2026-08-05 15:55:21] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1726150012d7eac0005b59980000f000633..."} 
[2026-08-05 15:55:21] local.INFO: Packet analysis {"connection_id":148500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:55:21] local.INFO: Extracted packet for processing {"connection_id":148500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd172"} 
[2026-08-05 15:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763276288,"raw_latitude":95787392,"longitude_deg":76.3276288,"latitude_deg":9.5787392,"altitude":15,"angle":6,"satellites":51,"speed":27,"hex_longitude":"2d7eac00","hex_latitude":"05b59980","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196889856001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370496793919619072,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615038129661952,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785925362000,"timestamp_ms":1785925362000,"timestamp_seconds":1785925362,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1726150"} 
[2026-08-05 15:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:55: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-08-05 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 15:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196889856001,"66":27930,"122":206,"85":12544,"24":27,"16":370496793919619072,"45":9126615038129661952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-08-05 15:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196889856001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:55:21] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-05 15:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370496793919619072,"km_value":370496793919619.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615038129661952,"description":"Unknown IO ID 45"} 
[2026-08-05 15:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196889856001,"power":27930,"unknown_122":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9126615038129661952}} 
[2026-08-05 15:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":148500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:55:21] local.INFO: GPS data processed {"connection_id":148500,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:55:21] local.INFO: Acknowledgment sent {"connection_id":148500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:55:39] local.INFO: TCP Data received {"connection_id":149711,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:55:39] local.INFO: Processing buffer {"connection_id":149711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:55:39] local.INFO: IMEI packet received {"connection_id":149711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":149711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:55:44] local.INFO: TCP Data received {"connection_id":149711,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:55:44] local.INFO: Processing buffer {"connection_id":149711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:55:44] local.INFO: IMEI packet received {"connection_id":149711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":149711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:55:45] local.INFO: TCP Data received {"connection_id":149711,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1732c70012d1823800721b880004c014e2d..."} 
[2026-08-05 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1732c70012d1823800721b880004c014e2d..."} 
[2026-08-05 15:55:45] local.INFO: Processing buffer {"connection_id":149711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1732c70012d1823800721b880004c014e2d..."} 
[2026-08-05 15:55:45] local.INFO: Packet analysis {"connection_id":149711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd173"} 
[2026-08-05 15:55:45] local.INFO: Extracted packet for processing {"connection_id":149711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd173"} 
[2026-08-05 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 15:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196900608001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785925414000,"timestamp_ms":1785925414000,"timestamp_seconds":1785925414,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1732c70"} 
[2026-08-05 15:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 15:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196900608001,"66":12885,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196900608001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:55:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196900608001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":149711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:55:45] local.INFO: GPS data processed {"connection_id":149711,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:55:45] local.INFO: Acknowledgment sent {"connection_id":149711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:55:52] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1745d20012d7eae8005b763600010000133..."} 
[2026-08-05 15:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1745d20012d7eae8005b763600010000133..."} 
[2026-08-05 15:55:52] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1745d20012d7eae8005b763600010000133..."} 
[2026-08-05 15:55:52] local.INFO: Packet analysis {"connection_id":148500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:55:52] local.INFO: Extracted packet for processing {"connection_id":148500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:55:52] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95904608,"longitude_deg":76.3276928,"latitude_deg":9.5904608,"altitude":16,"angle":1,"satellites":51,"speed":43,"hex_longitude":"2d7eae80","hex_latitude":"05b76360","is_valid_coordinates":true} 
[2026-08-05 15:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196923648001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370502501931155456,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128022413043142656,"note":"Value kept but may cause issues"} 
[2026-08-05 15:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785925492000,"timestamp_ms":1785925492000,"timestamp_seconds":1785925492,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1745d20"} 
[2026-08-05 15:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 15:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196923648001,"66":27876,"121":206,"85":12544,"24":43,"16":370502501931155456,"45":9128022413043142656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-05 15:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196923648001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:55:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-05 15:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370502501931155456,"km_value":370502501931155.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128022413043142656,"description":"Unknown IO ID 45"} 
[2026-08-05 15:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196923648001,"power":27876,"unknown_121":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9128022413043142656}} 
[2026-08-05 15:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":148500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:55:52] local.INFO: GPS data processed {"connection_id":148500,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:55:52] local.INFO: Acknowledgment sent {"connection_id":148500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:56:16] local.INFO: TCP Data received {"connection_id":149711,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1737e78012d1823800721b880004c014e2f..."} 
[2026-08-05 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1737e78012d1823800721b880004c014e2f..."} 
[2026-08-05 15:56:16] local.INFO: Processing buffer {"connection_id":149711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1737e78012d1823800721b880004c014e2f..."} 
[2026-08-05 15:56:16] local.INFO: Packet analysis {"connection_id":149711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd173"} 
[2026-08-05 15:56:16] local.INFO: Extracted packet for processing {"connection_id":149711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd173"} 
[2026-08-05 15:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196905984001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785925435000,"timestamp_ms":1785925435000,"timestamp_seconds":1785925435,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1737e78"} 
[2026-08-05 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-08-05 15:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 15:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 15:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196905984001,"66":12863,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196905984001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:56:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196905984001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":149711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:56:16] local.INFO: GPS data processed {"connection_id":149711,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:56:16] local.INFO: Acknowledgment sent {"connection_id":149711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:56:20] local.INFO: TCP Data received {"connection_id":148717,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:56:20] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:56:20] local.INFO: IMEI packet received {"connection_id":148717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":148717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:56:21] local.INFO: TCP Data received {"connection_id":148717,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:56:21] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:56:21] local.INFO: IMEI packet received {"connection_id":148717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":148717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:56:24] local.INFO: TCP Data received {"connection_id":148717,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:56:24] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:56:24] local.INFO: IMEI packet received {"connection_id":148717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":148717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:56:31] local.INFO: TCP Data received {"connection_id":148717,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1747c60012d7eaf4005b787b80010000132..."} 
[2026-08-05 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1747c60012d7eaf4005b787b80010000132..."} 
[2026-08-05 15:56:31] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1747c60012d7eaf4005b787b80010000132..."} 
[2026-08-05 15:56:31] local.INFO: Packet analysis {"connection_id":148717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:56:31] local.INFO: Extracted packet for processing {"connection_id":148717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763277120,"raw_latitude":95913912,"longitude_deg":76.327712,"latitude_deg":9.5913912,"altitude":16,"angle":1,"satellites":50,"speed":49,"hex_longitude":"2d7eaf40","hex_latitude":"05b787b8","is_valid_coordinates":true} 
[2026-08-05 15:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196925952001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370502952902721536,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128374256766509056,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785925500000,"timestamp_ms":1785925500000,"timestamp_seconds":1785925500,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1747c60"} 
[2026-08-05 15:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:56: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":228,"data_length":795,"current_offset":136} 
[2026-08-05 15:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196925952001,"66":27908,"121":206,"85":12544,"24":49,"16":370502952902721536,"45":9128374256766509056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-05 15:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196925952001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:56:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-05 15:56:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370502952902721536,"km_value":370502952902721.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128374256766509056,"description":"Unknown IO ID 45"} 
[2026-08-05 15:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196925952001,"power":27908,"unknown_121":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9128374256766509056}} 
[2026-08-05 15:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":148717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:56:31] local.INFO: GPS data processed {"connection_id":148717,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:56:31] local.INFO: Acknowledgment sent {"connection_id":148717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:56:32] local.INFO: TCP Data received {"connection_id":148717,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17497b8012d7eb00005b7abe8000d000132..."} 
[2026-08-05 15:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17497b8012d7eb00005b7abe8000d000132..."} 
[2026-08-05 15:56:32] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17497b8012d7eb00005b7abe8000d000132..."} 
[2026-08-05 15:56:32] local.INFO: Packet analysis {"connection_id":148717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:56:32] local.INFO: Extracted packet for processing {"connection_id":148717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763277312,"raw_latitude":95923176,"longitude_deg":76.3277312,"latitude_deg":9.5923176,"altitude":13,"angle":1,"satellites":50,"speed":55,"hex_longitude":"2d7eb000","hex_latitude":"05b7abe8","is_valid_coordinates":true} 
[2026-08-05 15:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196928000001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370503399579320320,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128585363001423872,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785925507000,"timestamp_ms":1785925507000,"timestamp_seconds":1785925507,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17497b8"} 
[2026-08-05 15:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 15:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196928000001,"66":27919,"121":206,"85":12544,"24":55,"16":370503399579320320,"45":9128585363001423872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-05 15:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196928000001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:56:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-05 15:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370503399579320320,"km_value":370503399579320.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128585363001423872,"description":"Unknown IO ID 45"} 
[2026-08-05 15:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196928000001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":55,"odometer":null,"unknown_45":9128585363001423872}} 
[2026-08-05 15:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":148717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:56:32] local.INFO: GPS data processed {"connection_id":148717,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:56:32] local.INFO: Acknowledgment sent {"connection_id":148717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:56:39] local.INFO: TCP Data received {"connection_id":151132,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:56:39] local.INFO: Processing buffer {"connection_id":151132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:56:39] local.INFO: IMEI packet received {"connection_id":151132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":151132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:56:40] local.INFO: TCP Data received {"connection_id":151132,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:56:40] local.INFO: Processing buffer {"connection_id":151132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:56:40] local.INFO: IMEI packet received {"connection_id":151132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":151132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:56:44] local.INFO: TCP Data received {"connection_id":151132,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:56:44] local.INFO: Processing buffer {"connection_id":151132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:56:44] local.INFO: IMEI packet received {"connection_id":151132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":151132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:56:45] local.INFO: TCP Data received {"connection_id":151132,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd173d080012d1823800721b880004c014e2d..."} 
[2026-08-05 15:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd173d080012d1823800721b880004c014e2d..."} 
[2026-08-05 15:56:45] local.INFO: Processing buffer {"connection_id":151132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd173d080012d1823800721b880004c014e2d..."} 
[2026-08-05 15:56:45] local.INFO: Packet analysis {"connection_id":151132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd173"} 
[2026-08-05 15:56:45] local.INFO: Extracted packet for processing {"connection_id":151132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd173"} 
[2026-08-05 15:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 15:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196911360001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785925456000,"timestamp_ms":1785925456000,"timestamp_seconds":1785925456,"priority":1,"record_length":96,"hex_timestamp":"0000019fd173d080"} 
[2026-08-05 15:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 15:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196911360001,"66":12852,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196911360001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:56:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196911360001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":151132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:56:45] local.INFO: GPS data processed {"connection_id":151132,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:56:45] local.INFO: Acknowledgment sent {"connection_id":151132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:57:14] local.INFO: TCP Data received {"connection_id":149712,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:57:14] local.INFO: Processing buffer {"connection_id":149712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:57:14] local.INFO: IMEI packet received {"connection_id":149712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":149712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:57:14] local.INFO: TCP Data received {"connection_id":149712,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:57:14] local.INFO: Processing buffer {"connection_id":149712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:57:14] local.INFO: IMEI packet received {"connection_id":149712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":149712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:57:16] local.INFO: TCP Data received {"connection_id":151132,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1742288012d1823800721b880004c014e2c..."} 
[2026-08-05 15:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1742288012d1823800721b880004c014e2c..."} 
[2026-08-05 15:57:16] local.INFO: Processing buffer {"connection_id":151132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1742288012d1823800721b880004c014e2c..."} 
[2026-08-05 15:57:16] local.INFO: Packet analysis {"connection_id":151132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:57:16] local.INFO: Extracted packet for processing {"connection_id":151132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196916736001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785925477000,"timestamp_ms":1785925477000,"timestamp_seconds":1785925477,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1742288"} 
[2026-08-05 15:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 15:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196916736001,"66":12841,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196916736001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:57:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196916736001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":151132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:57:16] local.INFO: GPS data processed {"connection_id":151132,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:57:16] local.INFO: Acknowledgment sent {"connection_id":151132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:57:20] local.INFO: TCP Data received {"connection_id":149712,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:57:20] local.INFO: Processing buffer {"connection_id":149712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:57:20] local.INFO: IMEI packet received {"connection_id":149712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":149712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:57:20] local.INFO: TCP Data received {"connection_id":149712,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd174b310012d7eb10005b7d250000b000332..."} 
[2026-08-05 15:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd174b310012d7eb10005b7d250000b000332..."} 
[2026-08-05 15:57:20] local.INFO: Processing buffer {"connection_id":149712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd174b310012d7eb10005b7d250000b000332..."} 
[2026-08-05 15:57:20] local.INFO: Packet analysis {"connection_id":149712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:57:20] local.INFO: Extracted packet for processing {"connection_id":149712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:57:20] local.INFO: GPS Element Parsed {"raw_longitude":763277568,"raw_latitude":95933008,"longitude_deg":76.3277568,"latitude_deg":9.5933008,"altitude":11,"angle":3,"satellites":50,"speed":55,"hex_longitude":"2d7eb100","hex_latitude":"05b7d250","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196929792001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370503876320690176,"note":"Value kept but may cause issues"} 
[2026-08-05 15:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128796469236328448,"note":"Value kept but may cause issues"} 
[2026-08-05 15:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785925514000,"timestamp_ms":1785925514000,"timestamp_seconds":1785925514,"priority":1,"record_length":96,"hex_timestamp":"0000019fd174b310"} 
[2026-08-05 15:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 15:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196929792001,"66":27876,"121":206,"85":12544,"24":55,"16":370503876320690176,"45":9128796469236328448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-05 15:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196929792001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:57:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-05 15:57:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370503876320690176,"km_value":370503876320690.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128796469236328448,"description":"Unknown IO ID 45"} 
[2026-08-05 15:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196929792001,"power":27876,"unknown_121":206,"unknown_85":12544,"ignition":55,"odometer":null,"unknown_45":9128796469236328448}} 
[2026-08-05 15:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":149712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:57:20] local.INFO: GPS data processed {"connection_id":149712,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:57:20] local.INFO: Acknowledgment sent {"connection_id":149712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:57:39] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:57:39] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:57:39] local.INFO: IMEI packet received {"connection_id":148501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":148501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:57:42] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:57:42] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:57:42] local.INFO: IMEI packet received {"connection_id":148501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":148501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:57:44] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:57:44] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:57:44] local.INFO: IMEI packet received {"connection_id":148501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":148501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:57:45] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1747490012d1823800721b880004c014e2e..."} 
[2026-08-05 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1747490012d1823800721b880004c014e2e..."} 
[2026-08-05 15:57:45] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1747490012d1823800721b880004c014e2e..."} 
[2026-08-05 15:57:45] local.INFO: Packet analysis {"connection_id":148501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:57:45] local.INFO: Extracted packet for processing {"connection_id":148501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":46,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 15:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196922112001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15: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-08-05 15:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785925498000,"timestamp_ms":1785925498000,"timestamp_seconds":1785925498,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1747490"} 
[2026-08-05 15:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-05 15:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196922112001,"66":12841,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196922112001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:57:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196922112001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":148501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:57:45] local.INFO: GPS data processed {"connection_id":148501,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:57:45] local.INFO: Acknowledgment sent {"connection_id":148501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:57:51] local.INFO: TCP Data received {"connection_id":149712,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1761a70012d7ed94005b98be80008000934..."} 
[2026-08-05 15:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1761a70012d7ed94005b98be80008000934..."} 
[2026-08-05 15:57:51] local.INFO: Processing buffer {"connection_id":149712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1761a70012d7ed94005b98be80008000934..."} 
[2026-08-05 15:57:51] local.INFO: Packet analysis {"connection_id":149712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd176"} 
[2026-08-05 15:57:51] local.INFO: Extracted packet for processing {"connection_id":149712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd176"} 
[2026-08-05 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":763287872,"raw_latitude":96046056,"longitude_deg":76.3287872,"latitude_deg":9.6046056,"altitude":8,"angle":9,"satellites":52,"speed":40,"hex_longitude":"2d7ed940","hex_latitude":"05b98be8","is_valid_coordinates":true} 
[2026-08-05 15:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196952576001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370509391058698240,"note":"Value kept but may cause issues"} 
[2026-08-05 15:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138577724706054144,"note":"Value kept but may cause issues"} 
[2026-08-05 15:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785925606000,"timestamp_ms":1785925606000,"timestamp_seconds":1785925606,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1761a70"} 
[2026-08-05 15:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 15:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196952576001,"66":27865,"127":206,"85":12544,"24":40,"16":370509391058698240,"45":9138577724706054144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-05 15:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196952576001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:57:51] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-05 15:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370509391058698240,"km_value":370509391058698.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138577724706054144,"description":"Unknown IO ID 45"} 
[2026-08-05 15:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196952576001,"power":27865,"unknown_127":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9138577724706054144}} 
[2026-08-05 15:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":149712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:57:51] local.INFO: GPS data processed {"connection_id":149712,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:57:51] local.INFO: Acknowledgment sent {"connection_id":149712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:58:13] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:58:13] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:58:13] local.INFO: IMEI packet received {"connection_id":148502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":148502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:58:14] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:58:14] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:58:14] local.INFO: IMEI packet received {"connection_id":148502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":148502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:58:16] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd174c698012d1823800721b880004c014e2f..."} 
[2026-08-05 15:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd174c698012d1823800721b880004c014e2f..."} 
[2026-08-05 15:58:16] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd174c698012d1823800721b880004c014e2f..."} 
[2026-08-05 15:58:16] local.INFO: Packet analysis {"connection_id":148501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:58:16] local.INFO: Extracted packet for processing {"connection_id":148501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd174"} 
[2026-08-05 15:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 15:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196927488001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785925519000,"timestamp_ms":1785925519000,"timestamp_seconds":1785925519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd174c698"} 
[2026-08-05 15:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-05 15:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196927488001,"66":12809,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196927488001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:58:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:58:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196927488001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":148501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:58:16] local.INFO: GPS data processed {"connection_id":148501,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:58:16] local.INFO: Acknowledgment sent {"connection_id":148501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:58:20] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:58:20] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:58:20] local.INFO: IMEI packet received {"connection_id":148502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":148502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:58:20] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1764180012d7edf8005b9ae600007000932..."} 
[2026-08-05 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1764180012d7edf8005b9ae600007000932..."} 
[2026-08-05 15:58:20] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1764180012d7edf8005b9ae600007000932..."} 
[2026-08-05 15:58:20] local.INFO: Packet analysis {"connection_id":148502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd176"} 
[2026-08-05 15:58:20] local.INFO: Extracted packet for processing {"connection_id":148502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd176"} 
[2026-08-05 15:58:20] local.INFO: GPS Element Parsed {"raw_longitude":763289472,"raw_latitude":96054880,"longitude_deg":76.3289472,"latitude_deg":9.605488,"altitude":7,"angle":9,"satellites":50,"speed":29,"hex_longitude":"2d7edf80","hex_latitude":"05b9ae60","is_valid_coordinates":true} 
[2026-08-05 15: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-08-05 15:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196955136001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370509824850395136,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140407312057100288,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785925616000,"timestamp_ms":1785925616000,"timestamp_seconds":1785925616,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1764180"} 
[2026-08-05 15:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 15:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15: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-08-05 15:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196955136001,"66":27995,"127":206,"85":12544,"24":29,"16":370509824850395136,"45":9140407312057100288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-05 15:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196955136001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:58:20] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-05 15:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370509824850395136,"km_value":370509824850395.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140407312057100288,"description":"Unknown IO ID 45"} 
[2026-08-05 15:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196955136001,"power":27995,"unknown_127":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9140407312057100288}} 
[2026-08-05 15:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":148502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:58:20] local.INFO: GPS data processed {"connection_id":148502,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:58:20] local.INFO: Acknowledgment sent {"connection_id":148502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:58:44] local.INFO: TCP Data received {"connection_id":149713,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:58:44] local.INFO: Processing buffer {"connection_id":149713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:58:44] local.INFO: IMEI packet received {"connection_id":149713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":149713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:58:45] local.INFO: TCP Data received {"connection_id":149713,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:58:45] local.INFO: Processing buffer {"connection_id":149713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:58:45] local.INFO: IMEI packet received {"connection_id":149713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":149713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:58:46] local.INFO: TCP Data received {"connection_id":149713,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17518a0012d1823800721b880004c014e2d..."} 
[2026-08-05 15:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17518a0012d1823800721b880004c014e2d..."} 
[2026-08-05 15:58:46] local.INFO: Processing buffer {"connection_id":149713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17518a0012d1823800721b880004c014e2d..."} 
[2026-08-05 15:58:46] local.INFO: Packet analysis {"connection_id":149713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd175"} 
[2026-08-05 15:58:46] local.INFO: Extracted packet for processing {"connection_id":149713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd175"} 
[2026-08-05 15:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 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-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196932864001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785925540000,"timestamp_ms":1785925540000,"timestamp_seconds":1785925540,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17518a0"} 
[2026-08-05 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-08-05 15:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3513965160,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":209,"raw_value":8252951875324224384,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3095396428,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951032,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429832737729891885,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,3,159,116,45,128,184,76,46,10,66,34,44,208,1,240,52,227,209,33,4,113,205,35,239,50,2,38,7,164,132],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 15:58:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476744585629663232,"timestamp_seconds":5476744585629663.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 15:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196932864001,"66":12776,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196932864001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:58:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196932864001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":149713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:58:46] local.INFO: GPS data processed {"connection_id":149713,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:58:46] local.INFO: Acknowledgment sent {"connection_id":149713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:58:50] local.INFO: TCP Data received {"connection_id":149713,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1756aa8012d1823800721b880004c014e30..."} 
[2026-08-05 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1756aa8012d1823800721b880004c014e30..."} 
[2026-08-05 15:58:50] local.INFO: Processing buffer {"connection_id":149713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1756aa8012d1823800721b880004c014e30..."} 
[2026-08-05 15:58:50] local.INFO: Packet analysis {"connection_id":149713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd175"} 
[2026-08-05 15:58:50] local.INFO: Extracted packet for processing {"connection_id":149713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd175"} 
[2026-08-05 15:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":48,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 15:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196938240001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785925561000,"timestamp_ms":1785925561000,"timestamp_seconds":1785925561,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1756aa8"} 
[2026-08-05 15:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 15:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196938240001,"66":12439,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196938240001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:58:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196938240001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":149713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:58:50] local.INFO: GPS data processed {"connection_id":149713,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:58:50] local.INFO: Acknowledgment sent {"connection_id":149713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:58:51] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1767448012d7ee58005b9d1c80009000931..."} 
[2026-08-05 15:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1767448012d7ee58005b9d1c80009000931..."} 
[2026-08-05 15:58:51] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1767448012d7ee58005b9d1c80009000931..."} 
[2026-08-05 15:58:51] local.INFO: Packet analysis {"connection_id":148502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd176"} 
[2026-08-05 15:58:51] local.INFO: Extracted packet for processing {"connection_id":148502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd176"} 
[2026-08-05 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":763291008,"raw_latitude":96063944,"longitude_deg":76.3291008,"latitude_deg":9.6063944,"altitude":9,"angle":9,"satellites":49,"speed":30,"hex_longitude":"2d7ee580","hex_latitude":"05b9d1c8","is_valid_coordinates":true} 
[2026-08-05 15:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196957696001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370510271526993920,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142166530663800832,"note":"Value kept but may cause issues"} 
[2026-08-05 15:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785925629000,"timestamp_ms":1785925629000,"timestamp_seconds":1785925629,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1767448"} 
[2026-08-05 15:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 15:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196957696001,"66":27930,"127":206,"85":12544,"24":30,"16":370510271526993920,"45":9142166530663800832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-05 15:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196957696001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:58:51] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-05 15:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370510271526993920,"km_value":370510271526993.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142166530663800832,"description":"Unknown IO ID 45"} 
[2026-08-05 15:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196957696001,"power":27930,"unknown_127":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9142166530663800832}} 
[2026-08-05 15:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":148502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:58:51] local.INFO: GPS data processed {"connection_id":148502,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:58:51] local.INFO: Acknowledgment sent {"connection_id":148502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:59:14] local.INFO: TCP Data received {"connection_id":151133,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:59:14] local.INFO: Processing buffer {"connection_id":151133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:59:14] local.INFO: IMEI packet received {"connection_id":151133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 15:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":151133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:59:20] local.INFO: TCP Data received {"connection_id":151133,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:59:20] local.INFO: Processing buffer {"connection_id":151133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 15:59:20] local.INFO: IMEI packet received {"connection_id":151133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 15:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":151133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:59:21] local.INFO: TCP Data received {"connection_id":149713,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd175bcb0012d1823800721b880004c014e2f..."} 
[2026-08-05 15:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd175bcb0012d1823800721b880004c014e2f..."} 
[2026-08-05 15:59:21] local.INFO: Processing buffer {"connection_id":149713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd175bcb0012d1823800721b880004c014e2f..."} 
[2026-08-05 15:59:21] local.INFO: Packet analysis {"connection_id":149713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd175"} 
[2026-08-05 15:59:21] local.INFO: Extracted packet for processing {"connection_id":149713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd175"} 
[2026-08-05 15:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650432,"longitude_deg":75.6556672,"latitude_deg":11.9650432,"altitude":76,"angle":334,"satellites":47,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-08-05 15:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196943616001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10699914585571328,"note":"Value kept but may cause issues"} 
[2026-08-05 15:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214009344,"note":"Value kept but may cause issues"} 
[2026-08-05 15:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785925582000,"timestamp_ms":1785925582000,"timestamp_seconds":1785925582,"priority":1,"record_length":96,"hex_timestamp":"0000019fd175bcb0"} 
[2026-08-05 15:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 15:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 15:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 15:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 15:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196943616001,"66":12776,"105":206,"83":41984,"24":0,"16":10699914585571328,"45":1739374649214009344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 15:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 15:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196943616001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 15:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10699914585571328,"km_value":10699914585571.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214009344,"description":"Unknown IO ID 45"} 
[2026-08-05 15:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196943616001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214009344}} 
[2026-08-05 15:59:21] local.INFO: TCP Data received {"connection_id":151133,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd176a710012d7eec0005b9f948000800092e..."} 
[2026-08-05 15:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd176a710012d7eec0005b9f948000800092e..."} 
[2026-08-05 15:59:21] local.INFO: Processing buffer {"connection_id":151133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd176a710012d7eec0005b9f948000800092e..."} 
[2026-08-05 15:59:21] local.INFO: Packet analysis {"connection_id":151133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd176"} 
[2026-08-05 15:59:21] local.INFO: Extracted packet for processing {"connection_id":151133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd176"} 
[2026-08-05 15:59:21] local.INFO: GPS Element Parsed {"raw_longitude":763292672,"raw_latitude":96074056,"longitude_deg":76.3292672,"latitude_deg":9.6074056,"altitude":8,"angle":9,"satellites":46,"speed":31,"hex_longitude":"2d7eec00","hex_latitude":"05b9f948","is_valid_coordinates":true} 
[2026-08-05 15:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196961024001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370510765448232960,"note":"Value kept but may cause issues"} 
[2026-08-05 15:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143855380526385152,"note":"Value kept but may cause issues"} 
[2026-08-05 15:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785925642000,"timestamp_ms":1785925642000,"timestamp_seconds":1785925642,"priority":1,"record_length":96,"hex_timestamp":"0000019fd176a710"} 
[2026-08-05 15:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:59: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-08-05 15:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 15:59: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-08-05 15:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196961024001,"66":27908,"127":206,"85":12544,"24":31,"16":370510765448232960,"45":9143855380526385152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-05 15:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196961024001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370510765448232960,"km_value":370510765448232.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143855380526385152,"description":"Unknown IO ID 45"} 
[2026-08-05 15:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196961024001,"power":27908,"unknown_127":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9143855380526385152}} 
[2026-08-05 15:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":151133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:59:21] local.INFO: GPS data processed {"connection_id":151133,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:59:21] local.INFO: Acknowledgment sent {"connection_id":151133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":149713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:59:21] local.INFO: GPS data processed {"connection_id":149713,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:59:21] local.INFO: Acknowledgment sent {"connection_id":149713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 15:59:39] local.INFO: TCP Data received {"connection_id":151134,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:39] local.INFO: Processing buffer {"connection_id":151134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:39] local.INFO: IMEI packet received {"connection_id":151134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 15:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":151134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 15:59:39] local.INFO: TCP Data received {"connection_id":151134,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:39] local.INFO: Processing buffer {"connection_id":151134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:39] local.INFO: IMEI packet received {"connection_id":151134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":151134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:59:40] local.INFO: TCP Data received {"connection_id":151134,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:40] local.INFO: Processing buffer {"connection_id":151134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:40] local.INFO: IMEI packet received {"connection_id":151134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":151134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:59:40] local.INFO: TCP Data received {"connection_id":151134,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:40] local.INFO: Processing buffer {"connection_id":151134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 15:59:40] local.INFO: IMEI packet received {"connection_id":151134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 15:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":151134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 15:59:52] local.INFO: TCP Data received {"connection_id":151133,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd176d9d8012d7ef20005ba1cf8000800092e..."} 
[2026-08-05 15:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd176d9d8012d7ef20005ba1cf8000800092e..."} 
[2026-08-05 15:59:52] local.INFO: Processing buffer {"connection_id":151133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd176d9d8012d7ef20005ba1cf8000800092e..."} 
[2026-08-05 15:59:52] local.INFO: Packet analysis {"connection_id":151133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd176"} 
[2026-08-05 15:59:52] local.INFO: Extracted packet for processing {"connection_id":151133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd176"} 
[2026-08-05 15:59:52] local.INFO: GPS Element Parsed {"raw_longitude":763294208,"raw_latitude":96083192,"longitude_deg":76.3294208,"latitude_deg":9.6083192,"altitude":8,"angle":9,"satellites":46,"speed":24,"hex_longitude":"2d7ef200","hex_latitude":"05ba1cf8","is_valid_coordinates":true} 
[2026-08-05 15:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 15:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196964352001,"note":"Value kept but may cause issues"} 
[2026-08-05 15:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370511216419799040,"note":"Value kept but may cause issues"} 
[2026-08-05 15:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145684967877593088,"note":"Value kept but may cause issues"} 
[2026-08-05 15:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 15:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785925655000,"timestamp_ms":1785925655000,"timestamp_seconds":1785925655,"priority":1,"record_length":96,"hex_timestamp":"0000019fd176d9d8"} 
[2026-08-05 15:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 15:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 15:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 15:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 15:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 15:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 15:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 15:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 15:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 15:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 15:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 15:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 15:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196964352001,"66":27767,"127":206,"85":12544,"24":24,"16":370511216419799040,"45":9145684967877593088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-05 15:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 15:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 15:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196964352001,"description":"Unknown IO ID 0"} 
[2026-08-05 15:59:52] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-05 15:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 15:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370511216419799040,"km_value":370511216419799.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 15:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145684967877593088,"description":"Unknown IO ID 45"} 
[2026-08-05 15:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196964352001,"power":27767,"unknown_127":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9145684967877593088}} 
[2026-08-05 15:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":151133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 15:59:52] local.INFO: GPS data processed {"connection_id":151133,"processed":1,"errors":0,"total":1} 
[2026-08-05 15:59:52] local.INFO: Acknowledgment sent {"connection_id":151133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:00:14] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:00:14] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:00:14] local.INFO: IMEI packet received {"connection_id":148503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":148503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:00:15] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:00:15] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:00:15] local.INFO: IMEI packet received {"connection_id":148503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":148503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:00:20] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:00:20] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:00:20] local.INFO: IMEI packet received {"connection_id":148503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":148503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:00:20] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1772be0012d7ef68005ba39680009000531..."} 
[2026-08-05 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1772be0012d7ef68005ba39680009000531..."} 
[2026-08-05 16:00:20] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1772be0012d7ef68005ba39680009000531..."} 
[2026-08-05 16:00:20] local.INFO: Packet analysis {"connection_id":148503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd177"} 
[2026-08-05 16:00:20] local.INFO: Extracted packet for processing {"connection_id":148503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd177"} 
[2026-08-05 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":763295360,"raw_latitude":96090472,"longitude_deg":76.329536,"latitude_deg":9.6090472,"altitude":9,"angle":5,"satellites":49,"speed":18,"hex_longitude":"2d7ef680","hex_latitude":"05ba3968","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196967680001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370511572902084608,"note":"Value kept but may cause issues"} 
[2026-08-05 16:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147373817740195840,"note":"Value kept but may cause issues"} 
[2026-08-05 16:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785925676000,"timestamp_ms":1785925676000,"timestamp_seconds":1785925676,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1772be0"} 
[2026-08-05 16:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 16:00: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-08-05 16: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-08-05 16:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196967680001,"66":27821,"128":206,"85":12544,"24":18,"16":370511572902084608,"45":9147373817740195840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-08-05 16:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196967680001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:00:20] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-05 16:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370511572902084608,"km_value":370511572902084.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147373817740195840,"description":"Unknown IO ID 45"} 
[2026-08-05 16:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196967680001,"power":27821,"unknown_128":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":9147373817740195840}} 
[2026-08-05 16:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":148503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:00:20] local.INFO: GPS data processed {"connection_id":148503,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:00:20] local.INFO: Acknowledgment sent {"connection_id":148503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:00:51] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1776e48012d7efc4005ba5dd8000900072f..."} 
[2026-08-05 16:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1776e48012d7efc4005ba5dd8000900072f..."} 
[2026-08-05 16:00:51] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1776e48012d7efc4005ba5dd8000900072f..."} 
[2026-08-05 16:00:51] local.INFO: Packet analysis {"connection_id":148503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd177"} 
[2026-08-05 16:00:51] local.INFO: Extracted packet for processing {"connection_id":148503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd177"} 
[2026-08-05 16:00:51] local.INFO: GPS Element Parsed {"raw_longitude":763296832,"raw_latitude":96099800,"longitude_deg":76.3296832,"latitude_deg":9.60998,"altitude":9,"angle":7,"satellites":47,"speed":25,"hex_longitude":"2d7efc40","hex_latitude":"05ba5dd8","is_valid_coordinates":true} 
[2026-08-05 16:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196973056001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370512032463585280,"note":"Value kept but may cause issues"} 
[2026-08-05 16:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148640455137257472,"note":"Value kept but may cause issues"} 
[2026-08-05 16:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785925693000,"timestamp_ms":1785925693000,"timestamp_seconds":1785925693,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1776e48"} 
[2026-08-05 16:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 16:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196973056001,"66":27658,"128":206,"85":12544,"24":25,"16":370512032463585280,"45":9148640455137257472},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-08-05 16:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196973056001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:00:51] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-05 16:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370512032463585280,"km_value":370512032463585.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148640455137257472,"description":"Unknown IO ID 45"} 
[2026-08-05 16:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196973056001,"power":27658,"unknown_128":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9148640455137257472}} 
[2026-08-05 16:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":148503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:00:51] local.INFO: GPS data processed {"connection_id":148503,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:00:51] local.INFO: Acknowledgment sent {"connection_id":148503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:01:19] local.INFO: TCP Data received {"connection_id":148718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:01:19] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:01:19] local.INFO: IMEI packet received {"connection_id":148718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":148718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:01:19] local.INFO: TCP Data received {"connection_id":148718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:01:19] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:01:19] local.INFO: IMEI packet received {"connection_id":148718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":148718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:01:33] local.INFO: TCP Data received {"connection_id":148718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:01:33] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:01:33] local.INFO: IMEI packet received {"connection_id":148718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":148718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:01:34] local.INFO: TCP Data received {"connection_id":148718,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd177c050012d7f004005ba7bd80008000730..."} 
[2026-08-05 16:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd177c050012d7f004005ba7bd80008000730..."} 
[2026-08-05 16:01:34] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd177c050012d7f004005ba7bd80008000730..."} 
[2026-08-05 16:01:34] local.INFO: Packet analysis {"connection_id":148718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd177"} 
[2026-08-05 16:01:34] local.INFO: Extracted packet for processing {"connection_id":148718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd177"} 
[2026-08-05 16:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763297856,"raw_latitude":96107480,"longitude_deg":76.3297856,"latitude_deg":9.610748,"altitude":8,"angle":7,"satellites":48,"speed":10,"hex_longitude":"2d7f0040","hex_latitude":"05ba7bd8","is_valid_coordinates":true} 
[2026-08-05 16:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196977408001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370512410420707328,"note":"Value kept but may cause issues"} 
[2026-08-05 16:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150258936255731712,"note":"Value kept but may cause issues"} 
[2026-08-05 16:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785925714000,"timestamp_ms":1785925714000,"timestamp_seconds":1785925714,"priority":1,"record_length":96,"hex_timestamp":"0000019fd177c050"} 
[2026-08-05 16:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 16:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196977408001,"66":28028,"128":206,"85":12544,"24":10,"16":370512410420707328,"45":9150258936255731712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-08-05 16:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196977408001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:01:34] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-05 16:01:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370512410420707328,"km_value":370512410420707.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150258936255731712,"description":"Unknown IO ID 45"} 
[2026-08-05 16:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196977408001,"power":28028,"unknown_128":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9150258936255731712}} 
[2026-08-05 16:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":148718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:01:34] local.INFO: GPS data processed {"connection_id":148718,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:01:34] local.INFO: Acknowledgment sent {"connection_id":148718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:02:15] local.INFO: TCP Data received {"connection_id":149714,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:02:15] local.INFO: Processing buffer {"connection_id":149714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:02:15] local.INFO: IMEI packet received {"connection_id":149714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":149714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:02:20] local.INFO: TCP Data received {"connection_id":149714,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:02:20] local.INFO: Processing buffer {"connection_id":149714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:02:20] local.INFO: IMEI packet received {"connection_id":149714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":149714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:02:20] local.INFO: TCP Data received {"connection_id":149714,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1781258012d7f014005ba84580009000532..."} 
[2026-08-05 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1781258012d7f014005ba84580009000532..."} 
[2026-08-05 16:02:20] local.INFO: Processing buffer {"connection_id":149714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1781258012d7f014005ba84580009000532..."} 
[2026-08-05 16:02:20] local.INFO: Packet analysis {"connection_id":149714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd178"} 
[2026-08-05 16:02:20] local.INFO: Extracted packet for processing {"connection_id":149714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd178"} 
[2026-08-05 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":763298112,"raw_latitude":96109656,"longitude_deg":76.3298112,"latitude_deg":9.6109656,"altitude":9,"angle":5,"satellites":50,"speed":2,"hex_longitude":"2d7f0140","hex_latitude":"05ba8458","is_valid_coordinates":true} 
[2026-08-05 16:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457196982784001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370512522089857024,"note":"Value kept but may cause issues"} 
[2026-08-05 16:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151384836164540416,"note":"Value kept but may cause issues"} 
[2026-08-05 16:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785925735000,"timestamp_ms":1785925735000,"timestamp_seconds":1785925735,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1781258"} 
[2026-08-05 16:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 16:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457196982784001,"66":28104,"120":206,"85":12544,"24":2,"16":370512522089857024,"45":9151384836164540416},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-05 16:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457196982784001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370512522089857024,"km_value":370512522089857.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151384836164540416,"description":"Unknown IO ID 45"} 
[2026-08-05 16:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457196982784001,"power":28104,"unknown_120":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9151384836164540416}} 
[2026-08-05 16:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":149714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:02:20] local.INFO: GPS data processed {"connection_id":149714,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:02:20] local.INFO: Acknowledgment sent {"connection_id":149714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:02:51] local.INFO: TCP Data received {"connection_id":149714,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17aa298012d7f318005bb87f00009000432..."} 
[2026-08-05 16:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17aa298012d7f318005bb87f00009000432..."} 
[2026-08-05 16:02:51] local.INFO: Processing buffer {"connection_id":149714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17aa298012d7f318005bb87f00009000432..."} 
[2026-08-05 16:02:51] local.INFO: Packet analysis {"connection_id":149714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17a"} 
[2026-08-05 16:02:51] local.INFO: Extracted packet for processing {"connection_id":149714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17a"} 
[2026-08-05 16:02:51] local.INFO: GPS Element Parsed {"raw_longitude":763310464,"raw_latitude":96176112,"longitude_deg":76.3310464,"latitude_deg":9.6176112,"altitude":9,"angle":4,"satellites":50,"speed":26,"hex_longitude":"2d7f3180","hex_latitude":"05bb87f0","is_valid_coordinates":true} 
[2026-08-05 16:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197028352001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370515820624740352,"note":"Value kept but may cause issues"} 
[2026-08-05 16:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163769735155030016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785925903000,"timestamp_ms":1785925903000,"timestamp_seconds":1785925903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17aa298"} 
[2026-08-05 16:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197028352001,"66":27908,"120":206,"85":12544,"24":26,"16":370515820624740352,"45":9163769735155030016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-05 16:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197028352001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:02:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-05 16:02:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370515820624740352,"km_value":370515820624740.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163769735155030016,"description":"Unknown IO ID 45"} 
[2026-08-05 16:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197028352001,"power":27908,"unknown_120":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9163769735155030016}} 
[2026-08-05 16:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":149714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:02:51] local.INFO: GPS data processed {"connection_id":149714,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:02:51] local.INFO: Acknowledgment sent {"connection_id":149714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:03:17] local.INFO: TCP Data received {"connection_id":148505,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:03:17] local.INFO: Processing buffer {"connection_id":148505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:03:17] local.INFO: IMEI packet received {"connection_id":148505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":148505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:03:20] local.INFO: TCP Data received {"connection_id":148505,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:03:20] local.INFO: Processing buffer {"connection_id":148505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:03:20] local.INFO: IMEI packet received {"connection_id":148505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":148505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:03:21] local.INFO: TCP Data received {"connection_id":148505,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17acd90012d7f364005bbaa500009000830..."} 
[2026-08-05 16:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17acd90012d7f364005bbaa500009000830..."} 
[2026-08-05 16:03:21] local.INFO: Processing buffer {"connection_id":148505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17acd90012d7f364005bbaa500009000830..."} 
[2026-08-05 16:03:21] local.INFO: Packet analysis {"connection_id":148505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17a"} 
[2026-08-05 16:03:21] local.INFO: Extracted packet for processing {"connection_id":148505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17a"} 
[2026-08-05 16:03:21] local.INFO: GPS Element Parsed {"raw_longitude":763311680,"raw_latitude":96184912,"longitude_deg":76.331168,"latitude_deg":9.6184912,"altitude":9,"angle":8,"satellites":48,"speed":36,"hex_longitude":"2d7f3640","hex_latitude":"05bbaa50","is_valid_coordinates":true} 
[2026-08-05 16:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197031168001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370516254416437248,"note":"Value kept but may cause issues"} 
[2026-08-05 16:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165247478785110016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785925914000,"timestamp_ms":1785925914000,"timestamp_seconds":1785925914,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17acd90"} 
[2026-08-05 16:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:03: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-08-05 16:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:03: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-08-05 16:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197031168001,"66":27919,"120":206,"85":12544,"24":36,"16":370516254416437248,"45":9165247478785110016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-05 16:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197031168001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:03:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-05 16:03:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370516254416437248,"km_value":370516254416437.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165247478785110016,"description":"Unknown IO ID 45"} 
[2026-08-05 16:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197031168001,"power":27919,"unknown_120":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9165247478785110016}} 
[2026-08-05 16:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":148505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:03:21] local.INFO: GPS data processed {"connection_id":148505,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:03:21] local.INFO: Acknowledgment sent {"connection_id":148505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:03:22] local.INFO: TCP Data received {"connection_id":148505,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17af4a0012d7f3cc005bbcf200009000c31..."} 
[2026-08-05 16:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17af4a0012d7f3cc005bbcf200009000c31..."} 
[2026-08-05 16:03:22] local.INFO: Processing buffer {"connection_id":148505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17af4a0012d7f3cc005bbcf200009000c31..."} 
[2026-08-05 16:03:22] local.INFO: Packet analysis {"connection_id":148505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17a"} 
[2026-08-05 16:03:22] local.INFO: Extracted packet for processing {"connection_id":148505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17a"} 
[2026-08-05 16:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":96194336,"longitude_deg":76.3313344,"latitude_deg":9.6194336,"altitude":9,"angle":12,"satellites":49,"speed":38,"hex_longitude":"2d7f3cc0","hex_latitude":"05bbcf20","is_valid_coordinates":true} 
[2026-08-05 16:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197033984001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370516718272905216,"note":"Value kept but may cause issues"} 
[2026-08-05 16:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166584484926738432,"note":"Value kept but may cause issues"} 
[2026-08-05 16:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785925924000,"timestamp_ms":1785925924000,"timestamp_seconds":1785925924,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17af4a0"} 
[2026-08-05 16:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197033984001,"66":27745,"120":206,"85":12544,"24":38,"16":370516718272905216,"45":9166584484926738432},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-05 16:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197033984001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:03:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-05 16:03:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370516718272905216,"km_value":370516718272905.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166584484926738432,"description":"Unknown IO ID 45"} 
[2026-08-05 16:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197033984001,"power":27745,"unknown_120":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9166584484926738432}} 
[2026-08-05 16:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":148505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:03:22] local.INFO: GPS data processed {"connection_id":148505,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:03:22] local.INFO: Acknowledgment sent {"connection_id":148505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:03:53] local.INFO: TCP Data received {"connection_id":148505,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17b1bb0012d7f454005bbf4b80009000931..."} 
[2026-08-05 16:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17b1bb0012d7f454005bbf4b80009000931..."} 
[2026-08-05 16:03:53] local.INFO: Processing buffer {"connection_id":148505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17b1bb0012d7f454005bbf4b80009000931..."} 
[2026-08-05 16:03:53] local.INFO: Packet analysis {"connection_id":148505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:03:53] local.INFO: Extracted packet for processing {"connection_id":148505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:03:53] local.INFO: GPS Element Parsed {"raw_longitude":763315520,"raw_latitude":96203960,"longitude_deg":76.331552,"latitude_deg":9.620396,"altitude":9,"angle":9,"satellites":49,"speed":40,"hex_longitude":"2d7f4540","hex_latitude":"05bbf4b8","is_valid_coordinates":true} 
[2026-08-05 16:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197036544001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370517195014275072,"note":"Value kept but may cause issues"} 
[2026-08-05 16:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072277770240,"note":"Value kept but may cause issues"} 
[2026-08-05 16:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785925934000,"timestamp_ms":1785925934000,"timestamp_seconds":1785925934,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17b1bb0"} 
[2026-08-05 16:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 16:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197036544001,"66":27865,"120":206,"85":12544,"24":40,"16":370517195014275072,"45":9168414072277770240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-05 16:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197036544001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:03:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-05 16:03:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370517195014275072,"km_value":370517195014275.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072277770240,"description":"Unknown IO ID 45"} 
[2026-08-05 16:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197036544001,"power":27865,"unknown_120":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9168414072277770240}} 
[2026-08-05 16:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":148505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:03:53] local.INFO: GPS data processed {"connection_id":148505,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:03:53] local.INFO: Acknowledgment sent {"connection_id":148505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:04:21] local.INFO: TCP Data received {"connection_id":151136,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:04:21] local.INFO: Processing buffer {"connection_id":151136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:04:21] local.INFO: IMEI packet received {"connection_id":151136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":151136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:04:21] local.INFO: TCP Data received {"connection_id":151136,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:04:21] local.INFO: Processing buffer {"connection_id":151136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:04:21] local.INFO: IMEI packet received {"connection_id":151136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":151136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:04:25] local.INFO: TCP Data received {"connection_id":151136,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:04:25] local.INFO: Processing buffer {"connection_id":151136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:04:25] local.INFO: IMEI packet received {"connection_id":151136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":151136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:04:25] local.INFO: TCP Data received {"connection_id":151136,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17b3ed8012d7f4b8005bc19180009000b31..."} 
[2026-08-05 16:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17b3ed8012d7f4b8005bc19180009000b31..."} 
[2026-08-05 16:04:25] local.INFO: Processing buffer {"connection_id":151136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17b3ed8012d7f4b8005bc19180009000b31..."} 
[2026-08-05 16:04:25] local.INFO: Packet analysis {"connection_id":151136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:04:25] local.INFO: Extracted packet for processing {"connection_id":151136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763317120,"raw_latitude":96213272,"longitude_deg":76.331712,"latitude_deg":9.6213272,"altitude":9,"angle":11,"satellites":49,"speed":42,"hex_longitude":"2d7f4b80","hex_latitude":"05bc1918","is_valid_coordinates":true} 
[2026-08-05 16:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197039104001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370517654575775744,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170806609582274560,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785925943000,"timestamp_ms":1785925943000,"timestamp_seconds":1785925943,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17b3ed8"} 
[2026-08-05 16:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 16:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197039104001,"66":27767,"120":206,"85":12544,"24":42,"16":370517654575775744,"45":9170806609582274560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-05 16:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197039104001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:04:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-05 16:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370517654575775744,"km_value":370517654575775.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170806609582274560,"description":"Unknown IO ID 45"} 
[2026-08-05 16:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197039104001,"power":27767,"unknown_120":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9170806609582274560}} 
[2026-08-05 16:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":151136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:04:25] local.INFO: GPS data processed {"connection_id":151136,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:04:25] local.INFO: Acknowledgment sent {"connection_id":151136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:04:30] local.INFO: TCP Data received {"connection_id":151136,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17b6200012d7f51c005bc3e180009000930..."} 
[2026-08-05 16:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17b6200012d7f51c005bc3e180009000930..."} 
[2026-08-05 16:04:30] local.INFO: Processing buffer {"connection_id":151136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17b6200012d7f51c005bc3e180009000930..."} 
[2026-08-05 16:04:30] local.INFO: Packet analysis {"connection_id":151136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:04:30] local.INFO: Extracted packet for processing {"connection_id":151136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763318720,"raw_latitude":96222744,"longitude_deg":76.331872,"latitude_deg":9.6222744,"altitude":9,"angle":9,"satellites":48,"speed":43,"hex_longitude":"2d7f51c0","hex_latitude":"05bc3e18","is_valid_coordinates":true} 
[2026-08-05 16:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197041408001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370518118432243712,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172565828189100032,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785925952000,"timestamp_ms":1785925952000,"timestamp_seconds":1785925952,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17b6200"} 
[2026-08-05 16:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 16:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197041408001,"66":27865,"120":206,"85":12544,"24":43,"16":370518118432243712,"45":9172565828189100032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-05 16:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197041408001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:04:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-05 16:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370518118432243712,"km_value":370518118432243.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172565828189100032,"description":"Unknown IO ID 45"} 
[2026-08-05 16:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197041408001,"power":27865,"unknown_120":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9172565828189100032}} 
[2026-08-05 16:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":151136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:04:30] local.INFO: GPS data processed {"connection_id":151136,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:04:30] local.INFO: Acknowledgment sent {"connection_id":151136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:04:44] local.INFO: TCP Data received {"connection_id":151137,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:04:44] local.INFO: Processing buffer {"connection_id":151137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:04:44] local.INFO: IMEI packet received {"connection_id":151137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":151137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:04:49] local.INFO: TCP Data received {"connection_id":151137,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:04:49] local.INFO: Processing buffer {"connection_id":151137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:04:49] local.INFO: IMEI packet received {"connection_id":151137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":151137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:04:50] local.INFO: TCP Data received {"connection_id":151137,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17b0ff8012d1827000721a080004e008625..."} 
[2026-08-05 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17b0ff8012d1827000721a080004e008625..."} 
[2026-08-05 16:04:50] local.INFO: Processing buffer {"connection_id":151137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17b0ff8012d1827000721a080004e008625..."} 
[2026-08-05 16:04:50] local.INFO: Packet analysis {"connection_id":151137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:04:50] local.INFO: Extracted packet for processing {"connection_id":151137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119644288,"longitude_deg":75.6557568,"latitude_deg":11.9644288,"altitude":78,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721a080","is_valid_coordinates":true} 
[2026-08-05 16:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197032960001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10700266772889600,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630923776,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785925931000,"timestamp_ms":1785925931000,"timestamp_seconds":1785925931,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17b0ff8"} 
[2026-08-05 16:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 16:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197032960001,"66":12504,"105":206,"83":41984,"24":0,"16":10700266772889600,"45":1740359811630923776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197032960001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:04:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10700266772889600,"km_value":10700266772889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630923776,"description":"Unknown IO ID 45"} 
[2026-08-05 16:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197032960001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740359811630923776}} 
[2026-08-05 16:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":151137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:04:50] local.INFO: GPS data processed {"connection_id":151137,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:04:50] local.INFO: Acknowledgment sent {"connection_id":151137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:04:55] local.INFO: TCP Data received {"connection_id":151137,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17b6200012d1827000721a080004e00862a..."} 
[2026-08-05 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17b6200012d1827000721a080004e00862a..."} 
[2026-08-05 16:04:55] local.INFO: Processing buffer {"connection_id":151137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17b6200012d1827000721a080004e00862a..."} 
[2026-08-05 16:04:55] local.INFO: Packet analysis {"connection_id":151137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:04:55] local.INFO: Extracted packet for processing {"connection_id":151137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119644288,"longitude_deg":75.6557568,"latitude_deg":11.9644288,"altitude":78,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721a080","is_valid_coordinates":true} 
[2026-08-05 16:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197038336001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10700266772889600,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630923776,"note":"Value kept but may cause issues"} 
[2026-08-05 16:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785925952000,"timestamp_ms":1785925952000,"timestamp_seconds":1785925952,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17b6200"} 
[2026-08-05 16:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 16:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197038336001,"66":12461,"105":206,"83":41984,"24":0,"16":10700266772889600,"45":1740359811630923776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197038336001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:04:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10700266772889600,"km_value":10700266772889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630923776,"description":"Unknown IO ID 45"} 
[2026-08-05 16:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197038336001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740359811630923776}} 
[2026-08-05 16:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":151137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:04:55] local.INFO: GPS data processed {"connection_id":151137,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:04:55] local.INFO: Acknowledgment sent {"connection_id":151137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:05:16] local.INFO: TCP Data received {"connection_id":149715,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:05:16] local.INFO: Processing buffer {"connection_id":149715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:05:16] local.INFO: IMEI packet received {"connection_id":149715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":149715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:05:20] local.INFO: TCP Data received {"connection_id":149715,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:05:20] local.INFO: Processing buffer {"connection_id":149715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:05:20] local.INFO: IMEI packet received {"connection_id":149715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":149715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:05:20] local.INFO: TCP Data received {"connection_id":149715,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17b8528012d7f56c005bc63680009000330..."} 
[2026-08-05 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17b8528012d7f56c005bc63680009000330..."} 
[2026-08-05 16:05:20] local.INFO: Processing buffer {"connection_id":149715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17b8528012d7f56c005bc63680009000330..."} 
[2026-08-05 16:05:20] local.INFO: Packet analysis {"connection_id":149715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:05:20] local.INFO: Extracted packet for processing {"connection_id":149715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:05:20] local.INFO: GPS Element Parsed {"raw_longitude":763320000,"raw_latitude":96232296,"longitude_deg":76.332,"latitude_deg":9.6232296,"altitude":9,"angle":3,"satellites":48,"speed":39,"hex_longitude":"2d7f56c0","hex_latitude":"05bc6368","is_valid_coordinates":true} 
[2026-08-05 16:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197043712001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370518586583678976,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174325046795966464,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785925961000,"timestamp_ms":1785925961000,"timestamp_seconds":1785925961,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17b8528"} 
[2026-08-05 16:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 16:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197043712001,"66":27767,"121":206,"85":12544,"24":39,"16":370518586583678976,"45":9174325046795966464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-05 16:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197043712001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:05:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-05 16:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370518586583678976,"km_value":370518586583679.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174325046795966464,"description":"Unknown IO ID 45"} 
[2026-08-05 16:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197043712001,"power":27767,"unknown_121":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9174325046795966464}} 
[2026-08-05 16:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":149715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:05:20] local.INFO: GPS data processed {"connection_id":149715,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:05:20] local.INFO: Acknowledgment sent {"connection_id":149715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:05:23] local.INFO: TCP Data received {"connection_id":149715,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17bac38012d7f5a4005bc8798000a00082f..."} 
[2026-08-05 16:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17bac38012d7f5a4005bc8798000a00082f..."} 
[2026-08-05 16:05:23] local.INFO: Processing buffer {"connection_id":149715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17bac38012d7f5a4005bc8798000a00082f..."} 
[2026-08-05 16:05:23] local.INFO: Packet analysis {"connection_id":149715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:05:23] local.INFO: Extracted packet for processing {"connection_id":149715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:05:23] local.INFO: GPS Element Parsed {"raw_longitude":763320896,"raw_latitude":96241560,"longitude_deg":76.3320896,"latitude_deg":9.624156,"altitude":10,"angle":8,"satellites":47,"speed":38,"hex_longitude":"2d7f5a40","hex_latitude":"05bc8798","is_valid_coordinates":true} 
[2026-08-05 16:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197046016001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370519037555245056,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175732421681965056,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785925971000,"timestamp_ms":1785925971000,"timestamp_seconds":1785925971,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17bac38"} 
[2026-08-05 16:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 16:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197046016001,"66":27919,"121":206,"85":12544,"24":38,"16":370519037555245056,"45":9175732421681965056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-05 16:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197046016001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:05:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-05 16:05:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370519037555245056,"km_value":370519037555245.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175732421681965056,"description":"Unknown IO ID 45"} 
[2026-08-05 16:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197046016001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9175732421681965056}} 
[2026-08-05 16:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":149715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:05:23] local.INFO: GPS data processed {"connection_id":149715,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:05:23] local.INFO: Acknowledgment sent {"connection_id":149715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:05:37] local.INFO: TCP Data received {"connection_id":148507,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:05:37] local.INFO: Processing buffer {"connection_id":148507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:05:37] local.INFO: IMEI packet received {"connection_id":148507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":148507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:05:39] local.INFO: TCP Data received {"connection_id":148507,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:05:39] local.INFO: Processing buffer {"connection_id":148507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:05:39] local.INFO: IMEI packet received {"connection_id":148507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":148507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:05:44] local.INFO: TCP Data received {"connection_id":148507,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:05:44] local.INFO: Processing buffer {"connection_id":148507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:05:44] local.INFO: IMEI packet received {"connection_id":148507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":148507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:05:45] local.INFO: TCP Data received {"connection_id":148507,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17bb408012d1827000721a080004e008626..."} 
[2026-08-05 16:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17bb408012d1827000721a080004e008626..."} 
[2026-08-05 16:05:45] local.INFO: Processing buffer {"connection_id":148507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17bb408012d1827000721a080004e008626..."} 
[2026-08-05 16:05:45] local.INFO: Packet analysis {"connection_id":148507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:05:45] local.INFO: Extracted packet for processing {"connection_id":148507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119644288,"longitude_deg":75.6557568,"latitude_deg":11.9644288,"altitude":78,"angle":134,"satellites":38,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721a080","is_valid_coordinates":true} 
[2026-08-05 16:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197043712001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10700266772889600,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630923776,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785925973000,"timestamp_ms":1785925973000,"timestamp_seconds":1785925973,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17bb408"} 
[2026-08-05 16:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 16:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197043712001,"66":12461,"105":206,"83":41984,"24":0,"16":10700266772889600,"45":1740359811630923776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197043712001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:05:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10700266772889600,"km_value":10700266772889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630923776,"description":"Unknown IO ID 45"} 
[2026-08-05 16:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197043712001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740359811630923776}} 
[2026-08-05 16:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":148507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:05:45] local.INFO: GPS data processed {"connection_id":148507,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:05:45] local.INFO: Acknowledgment sent {"connection_id":148507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:05:54] local.INFO: TCP Data received {"connection_id":149715,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17bcf60012d7f604005bcab58000a000a30..."} 
[2026-08-05 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17bcf60012d7f604005bcab58000a000a30..."} 
[2026-08-05 16:05:54] local.INFO: Processing buffer {"connection_id":149715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17bcf60012d7f604005bcab58000a000a30..."} 
[2026-08-05 16:05:54] local.INFO: Packet analysis {"connection_id":149715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:05:54] local.INFO: Extracted packet for processing {"connection_id":149715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:05:54] local.INFO: GPS Element Parsed {"raw_longitude":763322432,"raw_latitude":96250712,"longitude_deg":76.3322432,"latitude_deg":9.6250712,"altitude":10,"angle":10,"satellites":48,"speed":44,"hex_longitude":"2d7f6040","hex_latitude":"05bcab58","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197048576001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370519488526811136,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176717584102823936,"note":"Value kept but may cause issues"} 
[2026-08-05 16:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785925980000,"timestamp_ms":1785925980000,"timestamp_seconds":1785925980,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17bcf60"} 
[2026-08-05 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-08-05 16:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197048576001,"66":27930,"121":206,"85":12544,"24":44,"16":370519488526811136,"45":9176717584102823936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-05 16:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197048576001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:05:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-05 16:05:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370519488526811136,"km_value":370519488526811.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176717584102823936,"description":"Unknown IO ID 45"} 
[2026-08-05 16:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197048576001,"power":27930,"unknown_121":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9176717584102823936}} 
[2026-08-05 16:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":149715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:05:54] local.INFO: GPS data processed {"connection_id":149715,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:05:54] local.INFO: Acknowledgment sent {"connection_id":149715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:06:14] local.INFO: TCP Data received {"connection_id":151138,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:06:14] local.INFO: Processing buffer {"connection_id":151138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:06:14] local.INFO: IMEI packet received {"connection_id":151138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":151138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:06:16] local.INFO: TCP Data received {"connection_id":148507,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17c0610012d1827000721a080004e008629..."} 
[2026-08-05 16:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17c0610012d1827000721a080004e008629..."} 
[2026-08-05 16:06:16] local.INFO: Processing buffer {"connection_id":148507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17c0610012d1827000721a080004e008629..."} 
[2026-08-05 16:06:16] local.INFO: Packet analysis {"connection_id":148507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:06:16] local.INFO: Extracted packet for processing {"connection_id":148507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119644288,"longitude_deg":75.6557568,"latitude_deg":11.9644288,"altitude":78,"angle":134,"satellites":41,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721a080","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197049088001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10700266772889600,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630923776,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785925994000,"timestamp_ms":1785925994000,"timestamp_seconds":1785925994,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17c0610"} 
[2026-08-05 16:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 16:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197049088001,"66":12428,"105":206,"83":41984,"24":0,"16":10700266772889600,"45":1740359811630923776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197049088001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:06:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10700266772889600,"km_value":10700266772889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630923776,"description":"Unknown IO ID 45"} 
[2026-08-05 16:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197049088001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740359811630923776}} 
[2026-08-05 16:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":148507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:06:16] local.INFO: GPS data processed {"connection_id":148507,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:06:16] local.INFO: Acknowledgment sent {"connection_id":148507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:06:27] local.INFO: TCP Data received {"connection_id":151138,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:06:27] local.INFO: Processing buffer {"connection_id":151138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:06:27] local.INFO: IMEI packet received {"connection_id":151138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":151138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:06:29] local.INFO: TCP Data received {"connection_id":151138,"ip":"42.106.6.20","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fd1..."} 
[2026-08-05 16:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151138,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fd1..."} 
[2026-08-05 16:06:29] local.INFO: Processing buffer {"connection_id":151138,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fd1..."} 
[2026-08-05 16:06:29] local.INFO: IMEI packet received {"connection_id":151138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":151138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:06:30] local.INFO: TCP Data received {"connection_id":151138,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17c1d80012d7f6f4005bcf4380008000a2e..."} 
[2026-08-05 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17c1d80012d7f6f4005bcf4380008000a2e..."} 
[2026-08-05 16:06:30] local.INFO: Processing buffer {"connection_id":151138,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd17bf288012d7f67c005bcd0900009000d30..."} 
[2026-08-05 16:06:30] local.INFO: Packet analysis {"connection_id":151138,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:06:30] local.INFO: Extracted packet for processing {"connection_id":151138,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17b"} 
[2026-08-05 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763324352,"raw_latitude":96260240,"longitude_deg":76.3324352,"latitude_deg":9.626024,"altitude":9,"angle":13,"satellites":48,"speed":38,"hex_longitude":"2d7f67c0","hex_latitude":"05bcd090","is_valid_coordinates":true} 
[2026-08-05 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197050880001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370519960973213696,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178406433965430784,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785925989000,"timestamp_ms":1785925989000,"timestamp_seconds":1785925989,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17bf288"} 
[2026-08-05 16:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197050880001,"66":27919,"121":206,"85":12544,"24":38,"16":370519960973213696,"45":9178406433965430784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197050880001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370519960973213696,"km_value":370519960973213.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178406433965430784,"description":"Unknown IO ID 45"} 
[2026-08-05 16:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197050880001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9178406433965430784}} 
[2026-08-05 16:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":151138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:06:30] local.INFO: GPS data processed {"connection_id":151138,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:06:30] local.INFO: Acknowledgment sent {"connection_id":151138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:06:30] local.INFO: Packet analysis {"connection_id":151138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:06:30] local.INFO: Extracted packet for processing {"connection_id":151138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763326272,"raw_latitude":96269368,"longitude_deg":76.3326272,"latitude_deg":9.6269368,"altitude":8,"angle":10,"satellites":46,"speed":29,"hex_longitude":"2d7f6f40","hex_latitude":"05bcf438","is_valid_coordinates":true} 
[2026-08-05 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197053184001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370520411944779776,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180517496293199872,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785926000000,"timestamp_ms":1785926000000,"timestamp_seconds":1785926000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17c1d80"} 
[2026-08-05 16:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197053184001,"66":28006,"119":206,"85":12544,"24":29,"16":370520411944779776,"45":9180517496293199872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197053184001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370520411944779776,"km_value":370520411944779.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180517496293199872,"description":"Unknown IO ID 45"} 
[2026-08-05 16:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197053184001,"power":28006,"unknown_119":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9180517496293199872}} 
[2026-08-05 16:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":151138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:06:30] local.INFO: GPS data processed {"connection_id":151138,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:06:30] local.INFO: Acknowledgment sent {"connection_id":151138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:06:30] local.INFO: TCP Data received {"connection_id":151138,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17c6f88012d7f724005bd1168001200052d..."} 
[2026-08-05 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17c6f88012d7f724005bd1168001200052d..."} 
[2026-08-05 16:06:30] local.INFO: Processing buffer {"connection_id":151138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17c6f88012d7f724005bd1168001200052d..."} 
[2026-08-05 16:06:30] local.INFO: Packet analysis {"connection_id":151138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:06:30] local.INFO: Extracted packet for processing {"connection_id":151138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763327040,"raw_latitude":96276840,"longitude_deg":76.332704,"latitude_deg":9.627684,"altitude":18,"angle":5,"satellites":45,"speed":0,"hex_longitude":"2d7f7240","hex_latitude":"05bd1168","is_valid_coordinates":true} 
[2026-08-05 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197056000001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370520781311967232,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9182628558620866560,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785926021000,"timestamp_ms":1785926021000,"timestamp_seconds":1785926021,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17c6f88"} 
[2026-08-05 16:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 16:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197056000001,"66":27995,"121":206,"85":12544,"24":0,"16":370520781311967232,"45":9182628558620866560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-05 16:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197056000001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-05 16:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370520781311967232,"km_value":370520781311967.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9182628558620866560,"description":"Unknown IO ID 45"} 
[2026-08-05 16:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197056000001,"power":27995,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9182628558620866560}} 
[2026-08-05 16:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":151138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:06:30] local.INFO: GPS data processed {"connection_id":151138,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:06:30] local.INFO: Acknowledgment sent {"connection_id":151138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:06:39] local.INFO: TCP Data received {"connection_id":149716,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:06:39] local.INFO: Processing buffer {"connection_id":149716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:06:39] local.INFO: IMEI packet received {"connection_id":149716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":149716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:06:40] local.INFO: TCP Data received {"connection_id":149716,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:06:40] local.INFO: Processing buffer {"connection_id":149716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:06:40] local.INFO: IMEI packet received {"connection_id":149716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":149716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:06:44] local.INFO: TCP Data received {"connection_id":149716,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:06:44] local.INFO: Processing buffer {"connection_id":149716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:06:44] local.INFO: IMEI packet received {"connection_id":149716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":149716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:06:45] local.INFO: TCP Data received {"connection_id":149716,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17c5818012d1827000721a080004e008628..."} 
[2026-08-05 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17c5818012d1827000721a080004e008628..."} 
[2026-08-05 16:06:45] local.INFO: Processing buffer {"connection_id":149716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17c5818012d1827000721a080004e008628..."} 
[2026-08-05 16:06:45] local.INFO: Packet analysis {"connection_id":149716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:06:45] local.INFO: Extracted packet for processing {"connection_id":149716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119644288,"longitude_deg":75.6557568,"latitude_deg":11.9644288,"altitude":78,"angle":134,"satellites":40,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721a080","is_valid_coordinates":true} 
[2026-08-05 16:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197054464001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10700266772889600,"note":"Value kept but may cause issues"} 
[2026-08-05 16:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630923776,"note":"Value kept but may cause issues"} 
[2026-08-05 16: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-08-05 16:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926015000,"timestamp_ms":1785926015000,"timestamp_seconds":1785926015,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17c5818"} 
[2026-08-05 16:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 16:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197054464001,"66":12428,"105":206,"83":41984,"24":0,"16":10700266772889600,"45":1740359811630923776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197054464001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:06:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10700266772889600,"km_value":10700266772889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630923776,"description":"Unknown IO ID 45"} 
[2026-08-05 16:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197054464001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740359811630923776}} 
[2026-08-05 16:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":149716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:06:45] local.INFO: GPS data processed {"connection_id":149716,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:06:45] local.INFO: Acknowledgment sent {"connection_id":149716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:07:16] local.INFO: TCP Data received {"connection_id":149716,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17caa20012d1827000721a080004e00862a..."} 
[2026-08-05 16:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17caa20012d1827000721a080004e00862a..."} 
[2026-08-05 16:07:16] local.INFO: Processing buffer {"connection_id":149716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17caa20012d1827000721a080004e00862a..."} 
[2026-08-05 16:07:16] local.INFO: Packet analysis {"connection_id":149716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:07:16] local.INFO: Extracted packet for processing {"connection_id":149716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119644288,"longitude_deg":75.6557568,"latitude_deg":11.9644288,"altitude":78,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721a080","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197059840001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10700266772889600,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630923776,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785926036000,"timestamp_ms":1785926036000,"timestamp_seconds":1785926036,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17caa20"} 
[2026-08-05 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-08-05 16:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 16:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197059840001,"66":12385,"105":206,"83":41984,"24":0,"16":10700266772889600,"45":1740359811630923776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197059840001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:07:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10700266772889600,"km_value":10700266772889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630923776,"description":"Unknown IO ID 45"} 
[2026-08-05 16:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197059840001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740359811630923776}} 
[2026-08-05 16:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":149716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:07:16] local.INFO: GPS data processed {"connection_id":149716,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:07:16] local.INFO: Acknowledgment sent {"connection_id":149716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:07:20] local.INFO: TCP Data received {"connection_id":148720,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:07:20] local.INFO: Processing buffer {"connection_id":148720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:07:20] local.INFO: IMEI packet received {"connection_id":148720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":148720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:07:20] local.INFO: TCP Data received {"connection_id":148720,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:07:20] local.INFO: Processing buffer {"connection_id":148720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:07:20] local.INFO: IMEI packet received {"connection_id":148720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":148720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:07:21] local.INFO: TCP Data received {"connection_id":148720,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17eb590012d7fb38005be6088000c000a31..."} 
[2026-08-05 16:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17eb590012d7fb38005be6088000c000a31..."} 
[2026-08-05 16:07:21] local.INFO: Processing buffer {"connection_id":148720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17eb590012d7fb38005be6088000c000a31..."} 
[2026-08-05 16:07:21] local.INFO: Packet analysis {"connection_id":148720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17e"} 
[2026-08-05 16:07:21] local.INFO: Extracted packet for processing {"connection_id":148720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17e"} 
[2026-08-05 16:07:21] local.INFO: GPS Element Parsed {"raw_longitude":763343744,"raw_latitude":96362632,"longitude_deg":76.3343744,"latitude_deg":9.6362632,"altitude":12,"angle":10,"satellites":49,"speed":45,"hex_longitude":"2d7fb380","hex_latitude":"05be6088","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197097472001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370525033329590272,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868900965924864,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785926170000,"timestamp_ms":1785926170000,"timestamp_seconds":1785926170,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17eb590"} 
[2026-08-05 16:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:07: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-08-05 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:07: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-08-05 16: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-08-05 16:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197097472001,"66":27865,"179":206,"85":12288,"24":45,"16":370525033329590272,"45":9199868900965924864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-05 16:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197097472001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:07:21] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-05 16:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370525033329590272,"km_value":370525033329590.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868900965924864,"description":"Unknown IO ID 45"} 
[2026-08-05 16:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197097472001,"power":27865,"unknown_179":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9199868900965924864}} 
[2026-08-05 16:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":148720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:07:21] local.INFO: GPS data processed {"connection_id":148720,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:07:21] local.INFO: Acknowledgment sent {"connection_id":148720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:07:25] local.INFO: TCP Data received {"connection_id":148720,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17ed8b8012d7fba8005be86c0000e000a31..."} 
[2026-08-05 16:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17ed8b8012d7fba8005be86c0000e000a31..."} 
[2026-08-05 16:07:25] local.INFO: Processing buffer {"connection_id":148720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17ed8b8012d7fba8005be86c0000e000a31..."} 
[2026-08-05 16:07:25] local.INFO: Packet analysis {"connection_id":148720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17e"} 
[2026-08-05 16:07:25] local.INFO: Extracted packet for processing {"connection_id":148720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17e"} 
[2026-08-05 16:07:25] local.INFO: GPS Element Parsed {"raw_longitude":763345536,"raw_latitude":96372416,"longitude_deg":76.3345536,"latitude_deg":9.6372416,"altitude":14,"angle":10,"satellites":49,"speed":43,"hex_longitude":"2d7fba80","hex_latitude":"05be86c0","is_valid_coordinates":true} 
[2026-08-05 16:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197099520001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370525514365927424,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201839225805244416,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785926179000,"timestamp_ms":1785926179000,"timestamp_seconds":1785926179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17ed8b8"} 
[2026-08-05 16:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 16:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197099520001,"66":27908,"179":206,"85":12288,"24":43,"16":370525514365927424,"45":9201839225805244416},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-05 16:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197099520001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:07:25] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-05 16:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370525514365927424,"km_value":370525514365927.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201839225805244416,"description":"Unknown IO ID 45"} 
[2026-08-05 16:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197099520001,"power":27908,"unknown_179":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9201839225805244416}} 
[2026-08-05 16:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":148720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:07:25] local.INFO: GPS data processed {"connection_id":148720,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:07:25] local.INFO: Acknowledgment sent {"connection_id":148720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:07:39] local.INFO: TCP Data received {"connection_id":148721,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:07:39] local.INFO: Processing buffer {"connection_id":148721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:07:39] local.INFO: IMEI packet received {"connection_id":148721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":148721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:07:44] local.INFO: TCP Data received {"connection_id":148721,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:07:44] local.INFO: Processing buffer {"connection_id":148721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:07:44] local.INFO: IMEI packet received {"connection_id":148721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":148721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:07:45] local.INFO: TCP Data received {"connection_id":148721,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17cfc28012d1827000721a080004e00862c..."} 
[2026-08-05 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17cfc28012d1827000721a080004e00862c..."} 
[2026-08-05 16:07:45] local.INFO: Processing buffer {"connection_id":148721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17cfc28012d1827000721a080004e00862c..."} 
[2026-08-05 16:07:45] local.INFO: Packet analysis {"connection_id":148721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:07:45] local.INFO: Extracted packet for processing {"connection_id":148721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17c"} 
[2026-08-05 16:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119644288,"longitude_deg":75.6557568,"latitude_deg":11.9644288,"altitude":78,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721a080","is_valid_coordinates":true} 
[2026-08-05 16:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197065216001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10700266772889600,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630923776,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926057000,"timestamp_ms":1785926057000,"timestamp_seconds":1785926057,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17cfc28"} 
[2026-08-05 16:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 16:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197065216001,"66":12385,"105":206,"83":41984,"24":0,"16":10700266772889600,"45":1740359811630923776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197065216001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:07:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10700266772889600,"km_value":10700266772889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630923776,"description":"Unknown IO ID 45"} 
[2026-08-05 16:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197065216001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740359811630923776}} 
[2026-08-05 16:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":148721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:07:45] local.INFO: GPS data processed {"connection_id":148721,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:07:45] local.INFO: Acknowledgment sent {"connection_id":148721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:07:56] local.INFO: TCP Data received {"connection_id":148720,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17ef7f8012d7fc0c005bea910000e000932..."} 
[2026-08-05 16:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17ef7f8012d7fc0c005bea910000e000932..."} 
[2026-08-05 16:07:56] local.INFO: Processing buffer {"connection_id":148720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17ef7f8012d7fc0c005bea910000e000932..."} 
[2026-08-05 16:07:56] local.INFO: Packet analysis {"connection_id":148720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17e"} 
[2026-08-05 16:07:56] local.INFO: Extracted packet for processing {"connection_id":148720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17e"} 
[2026-08-05 16:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763347136,"raw_latitude":96381200,"longitude_deg":76.3347136,"latitude_deg":9.63812,"altitude":14,"angle":9,"satellites":50,"speed":46,"hex_longitude":"2d7fc0c0","hex_latitude":"05bea910","is_valid_coordinates":true} 
[2026-08-05 16:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197101824001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370525948157624320,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9203809550644723712,"note":"Value kept but may cause issues"} 
[2026-08-05 16:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785926187000,"timestamp_ms":1785926187000,"timestamp_seconds":1785926187,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17ef7f8"} 
[2026-08-05 16:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197101824001,"66":27952,"179":206,"85":12288,"24":46,"16":370525948157624320,"45":9203809550644723712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-05 16:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197101824001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:07:56] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-05 16:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370525948157624320,"km_value":370525948157624.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9203809550644723712,"description":"Unknown IO ID 45"} 
[2026-08-05 16:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197101824001,"power":27952,"unknown_179":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9203809550644723712}} 
[2026-08-05 16:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":148720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:07:56] local.INFO: GPS data processed {"connection_id":148720,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:07:56] local.INFO: Acknowledgment sent {"connection_id":148720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:08:15] local.INFO: TCP Data received {"connection_id":149717,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:08:15] local.INFO: Processing buffer {"connection_id":149717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:08:15] local.INFO: IMEI packet received {"connection_id":149717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":149717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:08:16] local.INFO: TCP Data received {"connection_id":148721,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17fc700012d187180072181f8004f00552d..."} 
[2026-08-05 16:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17fc700012d187180072181f8004f00552d..."} 
[2026-08-05 16:08:16] local.INFO: Processing buffer {"connection_id":148721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17fc700012d187180072181f8004f00552d..."} 
[2026-08-05 16:08:16] local.INFO: Packet analysis {"connection_id":148721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17f"} 
[2026-08-05 16:08:16] local.INFO: Extracted packet for processing {"connection_id":148721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17f"} 
[2026-08-05 16:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119636472,"longitude_deg":75.657664,"latitude_deg":11.9636472,"altitude":79,"angle":85,"satellites":45,"speed":30,"hex_longitude":"2d187180","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-08-05 16:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197116416001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10701280385171456,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758022366417537024,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785926240000,"timestamp_ms":1785926240000,"timestamp_seconds":1785926240,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17fc700"} 
[2026-08-05 16:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-05 16:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197116416001,"66":12993,"106":206,"83":41984,"24":30,"16":10701280385171456,"45":1758022366417537024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 16:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197116416001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:08:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 16:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10701280385171456,"km_value":10701280385171.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758022366417537024,"description":"Unknown IO ID 45"} 
[2026-08-05 16:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197116416001,"power":12993,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1758022366417537024}} 
[2026-08-05 16:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":148721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:08:16] local.INFO: GPS data processed {"connection_id":148721,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:08:16] local.INFO: Acknowledgment sent {"connection_id":148721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:08:17] local.INFO: TCP Data received {"connection_id":149717,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:08:17] local.INFO: Processing buffer {"connection_id":149717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:08:17] local.INFO: IMEI packet received {"connection_id":149717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":149717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:08:18] local.INFO: TCP Data received {"connection_id":149717,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17f1738012d7fc74005becf58000b000831..."} 
[2026-08-05 16:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17f1738012d7fc74005becf58000b000831..."} 
[2026-08-05 16:08:18] local.INFO: Processing buffer {"connection_id":149717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17f1738012d7fc74005becf58000b000831..."} 
[2026-08-05 16:08:18] local.INFO: Packet analysis {"connection_id":149717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17f"} 
[2026-08-05 16:08:18] local.INFO: Extracted packet for processing {"connection_id":149717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17f"} 
[2026-08-05 16:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763348800,"raw_latitude":96391000,"longitude_deg":76.33488,"latitude_deg":9.6391,"altitude":11,"angle":8,"satellites":49,"speed":53,"hex_longitude":"2d7fc740","hex_latitude":"05becf58","is_valid_coordinates":true} 
[2026-08-05 16:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197103872001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370526429193961472,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9205568769251414016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785926195000,"timestamp_ms":1785926195000,"timestamp_seconds":1785926195,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17f1738"} 
[2026-08-05 16:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-05 16:08:18] 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-08-05 16:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:08: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-08-05 16:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197103872001,"66":27930,"227":206,"85":12288,"24":53,"16":370526429193961472,"45":9205568769251414016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-05 16:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197103872001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:08:18] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-05 16:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370526429193961472,"km_value":370526429193961.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9205568769251414016,"description":"Unknown IO ID 45"} 
[2026-08-05 16:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197103872001,"power":27930,"unknown_227":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9205568769251414016}} 
[2026-08-05 16:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":149717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:08:18] local.INFO: GPS data processed {"connection_id":149717,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:08:18] local.INFO: Acknowledgment sent {"connection_id":149717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:08:39] local.INFO: TCP Data received {"connection_id":149718,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:08:39] local.INFO: Processing buffer {"connection_id":149718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:08:39] local.INFO: IMEI packet received {"connection_id":149718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":149718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:08:40] local.INFO: TCP Data received {"connection_id":149718,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:08:40] local.INFO: Processing buffer {"connection_id":149718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:08:40] local.INFO: IMEI packet received {"connection_id":149718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":149718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:08:44] local.INFO: TCP Data received {"connection_id":149718,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:08:44] local.INFO: Processing buffer {"connection_id":149718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:08:44] local.INFO: IMEI packet received {"connection_id":149718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":149718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:08:46] local.INFO: TCP Data received {"connection_id":149718,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd17fde70012d188340072181d8004e00652d..."} 
[2026-08-05 16:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd17fde70012d188340072181d8004e00652d..."} 
[2026-08-05 16:08:46] local.INFO: Processing buffer {"connection_id":149718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd17fde70012d188340072181d8004e00652d..."} 
[2026-08-05 16:08:46] local.INFO: Packet analysis {"connection_id":149718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd17f"} 
[2026-08-05 16:08:46] local.INFO: Extracted packet for processing {"connection_id":149718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd17f"} 
[2026-08-05 16:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756581184,"raw_latitude":119636440,"longitude_deg":75.6581184,"latitude_deg":11.963644,"altitude":78,"angle":101,"satellites":45,"speed":29,"hex_longitude":"2d188340","hex_latitude":"072181d8","is_valid_coordinates":true} 
[2026-08-05 16:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197117440001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10701499428503552,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697393866752,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785926246000,"timestamp_ms":1785926246000,"timestamp_seconds":1785926246,"priority":1,"record_length":96,"hex_timestamp":"0000019fd17fde70"} 
[2026-08-05 16:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 16:08: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-08-05 16:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197117440001,"66":13015,"106":206,"83":41984,"24":29,"16":10701499428503552,"45":1761329697393866752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 16:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197117440001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:08:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 16:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10701499428503552,"km_value":10701499428503.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697393866752,"description":"Unknown IO ID 45"} 
[2026-08-05 16:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197117440001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1761329697393866752}} 
[2026-08-05 16:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":149718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:08:46] local.INFO: GPS data processed {"connection_id":149718,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:08:46] local.INFO: Acknowledgment sent {"connection_id":149718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:08:49] local.INFO: TCP Data received {"connection_id":149717,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1804400012d80098005c069d8000a000932..."} 
[2026-08-05 16:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1804400012d80098005c069d8000a000932..."} 
[2026-08-05 16:08:49] local.INFO: Processing buffer {"connection_id":149717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1804400012d80098005c069d8000a000932..."} 
[2026-08-05 16:08:49] local.INFO: Packet analysis {"connection_id":149717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:08:49] local.INFO: Extracted packet for processing {"connection_id":149717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:08:49] local.INFO: GPS Element Parsed {"raw_longitude":763365760,"raw_latitude":96496088,"longitude_deg":76.336576,"latitude_deg":9.6496088,"altitude":10,"angle":9,"satellites":50,"speed":54,"hex_longitude":"2d800980","hex_latitude":"05c069d8","is_valid_coordinates":true} 
[2026-08-05 16:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197123840001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370531587449683968,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9222597955968227328,"note":"Value kept but may cause issues"} 
[2026-08-05 16:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785926272000,"timestamp_ms":1785926272000,"timestamp_seconds":1785926272,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1804400"} 
[2026-08-05 16:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:08: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-08-05 16: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-05 16:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197123840001,"66":27908,"235":206,"85":12288,"24":54,"16":370531587449683968,"45":-9222597955968227328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-05 16:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197123840001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:08:49] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-05 16:08:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370531587449683968,"km_value":370531587449683.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9222597955968227328,"description":"Unknown IO ID 45"} 
[2026-08-05 16:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197123840001,"power":27908,"unknown_235":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":-9222597955968227328}} 
[2026-08-05 16:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":149717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:08:49] local.INFO: GPS data processed {"connection_id":149717,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:08:49] local.INFO: Acknowledgment sent {"connection_id":149717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:09:14] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:09:14] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:09:14] local.INFO: IMEI packet received {"connection_id":148722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":148722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:09:14] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:09:14] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:09:14] local.INFO: IMEI packet received {"connection_id":148722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":148722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:09:16] local.INFO: TCP Data received {"connection_id":149718,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd180d0a0012d18eb000720e768003d00982b..."} 
[2026-08-05 16:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd180d0a0012d18eb000720e768003d00982b..."} 
[2026-08-05 16:09:16] local.INFO: Processing buffer {"connection_id":149718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd180d0a0012d18eb000720e768003d00982b..."} 
[2026-08-05 16:09:16] local.INFO: Packet analysis {"connection_id":149718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:09:16] local.INFO: Extracted packet for processing {"connection_id":149718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756607744,"raw_latitude":119596904,"longitude_deg":75.6607744,"latitude_deg":11.9596904,"altitude":61,"angle":152,"satellites":43,"speed":36,"hex_longitude":"2d18eb00","hex_latitude":"0720e768","is_valid_coordinates":true} 
[2026-08-05 16:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197133824001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10703986214567936,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793277107241189376,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785926308000,"timestamp_ms":1785926308000,"timestamp_seconds":1785926308,"priority":1,"record_length":96,"hex_timestamp":"0000019fd180d0a0"} 
[2026-08-05 16:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3514860160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249567858226706408,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2158084097,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2147950880,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409944066,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:16] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,7,159,185,45,248,62,42,10,66,6,177,128,253,63,173,192,1,240,101,227,209,33,4,113,205,37,138,210,144,44,239,50,2,38,67,120,86,206],"length":575,"final_offset":705,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-05 16:09:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467726046177001472,"timestamp_seconds":4467726046177001.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 16:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197133824001,"66":12558,"103":206,"83":41984,"24":36,"16":10703986214567936,"45":1793277107241189376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197133824001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:09:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10703986214567936,"km_value":10703986214567.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793277107241189376,"description":"Unknown IO ID 45"} 
[2026-08-05 16:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197133824001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1793277107241189376}} 
[2026-08-05 16:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":149718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:09:17] local.INFO: GPS data processed {"connection_id":149718,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:09:17] local.INFO: Acknowledgment sent {"connection_id":149718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:09:27] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:09:27] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:09:27] local.INFO: IMEI packet received {"connection_id":148722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":148722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:09:28] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1805f58012d800f8005c08e600009000932..."} 
[2026-08-05 16:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1805f58012d800f8005c08e600009000932..."} 
[2026-08-05 16:09:28] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1805f58012d800f8005c08e600009000932..."} 
[2026-08-05 16:09:28] local.INFO: Packet analysis {"connection_id":148722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:09:28] local.INFO: Extracted packet for processing {"connection_id":148722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:09:28] local.INFO: GPS Element Parsed {"raw_longitude":763367296,"raw_latitude":96505440,"longitude_deg":76.3367296,"latitude_deg":9.650544,"altitude":9,"angle":9,"satellites":50,"speed":53,"hex_longitude":"2d800f80","hex_latitude":"05c08e60","is_valid_coordinates":true} 
[2026-08-05 16:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197125632001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370532047011184640,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220697999873026048,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785926279000,"timestamp_ms":1785926279000,"timestamp_seconds":1785926279,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1805f58"} 
[2026-08-05 16:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197125632001,"66":28017,"235":206,"85":12288,"24":53,"16":370532047011184640,"45":-9220697999873026048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-05 16:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197125632001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:09:28] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-05 16:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370532047011184640,"km_value":370532047011184.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220697999873026048,"description":"Unknown IO ID 45"} 
[2026-08-05 16:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197125632001,"power":28017,"unknown_235":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":-9220697999873026048}} 
[2026-08-05 16:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":148722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:09:28] local.INFO: GPS data processed {"connection_id":148722,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:09:28] local.INFO: Acknowledgment sent {"connection_id":148722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:09:44] local.INFO: TCP Data received {"connection_id":151139,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:09:44] local.INFO: Processing buffer {"connection_id":151139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:09:44] local.INFO: IMEI packet received {"connection_id":151139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":151139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:09:49] local.INFO: TCP Data received {"connection_id":151139,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:09:49] local.INFO: Processing buffer {"connection_id":151139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:09:49] local.INFO: IMEI packet received {"connection_id":151139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":151139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:09:50] local.INFO: TCP Data received {"connection_id":151139,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd180e428012d18f6000720d7f8003b00882c..."} 
[2026-08-05 16:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd180e428012d18f6000720d7f8003b00882c..."} 
[2026-08-05 16:09:50] local.INFO: Processing buffer {"connection_id":151139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd180e428012d18f6000720d7f8003b00882c..."} 
[2026-08-05 16:09:50] local.INFO: Packet analysis {"connection_id":151139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:09:50] local.INFO: Extracted packet for processing {"connection_id":151139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756610560,"raw_latitude":119592952,"longitude_deg":75.661056,"latitude_deg":11.9592952,"altitude":59,"angle":136,"satellites":44,"speed":39,"hex_longitude":"2d18f600","hex_latitude":"0720d7f8","is_valid_coordinates":true} 
[2026-08-05 16:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197134848001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10704218142801920,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795528907054082048,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785926313000,"timestamp_ms":1785926313000,"timestamp_seconds":1785926313,"priority":1,"record_length":96,"hex_timestamp":"0000019fd180e428"} 
[2026-08-05 16:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3514862160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249578303587165976,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2158852097,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2147950859,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":34,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409944066,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:50] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,7,159,193,45,243,62,43,10,66,185,248,42,6,177,128,1,240,47,227,209,33,4,113,205,38,161,211,96,41,239,2,34,120,86,206],"length":575,"final_offset":705,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-05 16:09:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395680546766979072,"timestamp_seconds":4395680546766979.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 16:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197134848001,"66":12537,"103":206,"83":41984,"24":39,"16":10704218142801920,"45":1795528907054082048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197134848001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:09:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10704218142801920,"km_value":10704218142801.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795528907054082048,"description":"Unknown IO ID 45"} 
[2026-08-05 16:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197134848001,"power":12537,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1795528907054082048}} 
[2026-08-05 16:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":151139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:09:50] local.INFO: GPS data processed {"connection_id":151139,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:09:50] local.INFO: Acknowledgment sent {"connection_id":151139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:09:55] local.INFO: TCP Data received {"connection_id":151139,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd180efe0012d18ff000720d100003a007c2b..."} 
[2026-08-05 16:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd180efe0012d18ff000720d100003a007c2b..."} 
[2026-08-05 16:09:55] local.INFO: Processing buffer {"connection_id":151139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd180efe0012d18ff000720d100003a007c2b..."} 
[2026-08-05 16:09:55] local.INFO: Packet analysis {"connection_id":151139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:09:55] local.INFO: Extracted packet for processing {"connection_id":151139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756612864,"raw_latitude":119591168,"longitude_deg":75.6612864,"latitude_deg":11.9591168,"altitude":58,"angle":124,"satellites":43,"speed":38,"hex_longitude":"2d18ff00","hex_latitude":"0720d100","is_valid_coordinates":true} 
[2026-08-05 16:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197136128001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10704355581755392,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798625131796887552,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785926316000,"timestamp_ms":1785926316000,"timestamp_seconds":1785926316,"priority":1,"record_length":96,"hex_timestamp":"0000019fd180efe0"} 
[2026-08-05 16:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 16:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197136128001,"66":13276,"103":206,"83":41984,"24":38,"16":10704355581755392,"45":1798625131796887552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197136128001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:09:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10704355581755392,"km_value":10704355581755.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798625131796887552,"description":"Unknown IO ID 45"} 
[2026-08-05 16:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197136128001,"power":13276,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1798625131796887552}} 
[2026-08-05 16:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":151139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:09:55] local.INFO: GPS data processed {"connection_id":151139,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:09:55] local.INFO: Acknowledgment sent {"connection_id":151139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:09:59] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1807ab0012d80150005c0b328000a000731..."} 
[2026-08-05 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1807ab0012d80150005c0b328000a000731..."} 
[2026-08-05 16:09:59] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1807ab0012d80150005c0b328000a000731..."} 
[2026-08-05 16:09:59] local.INFO: Packet analysis {"connection_id":148722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:09:59] local.INFO: Extracted packet for processing {"connection_id":148722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd180"} 
[2026-08-05 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763368704,"raw_latitude":96514856,"longitude_deg":76.3368704,"latitude_deg":9.6514856,"altitude":10,"angle":7,"satellites":49,"speed":54,"hex_longitude":"2d801500","hex_latitude":"05c0b328","is_valid_coordinates":true} 
[2026-08-05 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197127424001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370532510867652608,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219009150010368000,"note":"Value kept but may cause issues"} 
[2026-08-05 16:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785926286000,"timestamp_ms":1785926286000,"timestamp_seconds":1785926286,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1807ab0"} 
[2026-08-05 16:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-05 16:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197127424001,"66":27919,"235":206,"85":12288,"24":54,"16":370532510867652608,"45":-9219009150010368000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-05 16:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197127424001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:09:59] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-05 16:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370532510867652608,"km_value":370532510867652.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219009150010368000,"description":"Unknown IO ID 45"} 
[2026-08-05 16:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197127424001,"power":27919,"unknown_235":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":-9219009150010368000}} 
[2026-08-05 16:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":148722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:09:59] local.INFO: GPS data processed {"connection_id":148722,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:09:59] local.INFO: Acknowledgment sent {"connection_id":148722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:10:14] local.INFO: TCP Data received {"connection_id":151140,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:10:14] local.INFO: Processing buffer {"connection_id":151140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:10:14] local.INFO: IMEI packet received {"connection_id":151140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":151140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:10:18] local.INFO: TCP Data received {"connection_id":151140,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:10:18] local.INFO: Processing buffer {"connection_id":151140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:10:18] local.INFO: IMEI packet received {"connection_id":151140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":151140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:10:18] local.INFO: TCP Data received {"connection_id":151140,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd181b718012d8050c005c25198000a000730..."} 
[2026-08-05 16:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd181b718012d8050c005c25198000a000730..."} 
[2026-08-05 16:10:18] local.INFO: Processing buffer {"connection_id":151140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd181b718012d8050c005c25198000a000730..."} 
[2026-08-05 16:10:18] local.INFO: Packet analysis {"connection_id":151140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:10:18] local.INFO: Extracted packet for processing {"connection_id":151140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:10:18] local.INFO: GPS Element Parsed {"raw_longitude":763384000,"raw_latitude":96620952,"longitude_deg":76.3384,"latitude_deg":9.6620952,"altitude":10,"angle":7,"satellites":48,"speed":58,"hex_longitude":"2d8050c0","hex_latitude":"05c25198","is_valid_coordinates":true} 
[2026-08-05 16:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197148160001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370537707778080768,"note":"Value kept but may cause issues"} 
[2026-08-05 16:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202331757613305856,"note":"Value kept but may cause issues"} 
[2026-08-05 16:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785926367000,"timestamp_ms":1785926367000,"timestamp_seconds":1785926367,"priority":1,"record_length":96,"hex_timestamp":"0000019fd181b718"} 
[2026-08-05 16:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:10: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-08-05 16:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197148160001,"66":27843,"234":206,"85":12288,"24":58,"16":370537707778080768,"45":-9202331757613305856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-05 16:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197148160001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:10:18] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-05 16:10:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370537707778080768,"km_value":370537707778080.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202331757613305856,"description":"Unknown IO ID 45"} 
[2026-08-05 16:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197148160001,"power":27843,"unknown_234":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":-9202331757613305856}} 
[2026-08-05 16:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":151140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:10:18] local.INFO: GPS data processed {"connection_id":151140,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:10:18] local.INFO: Acknowledgment sent {"connection_id":151140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:10:39] local.INFO: TCP Data received {"connection_id":148508,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:10:39] local.INFO: Processing buffer {"connection_id":148508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:10:39] local.INFO: IMEI packet received {"connection_id":148508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":148508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:10:45] local.INFO: TCP Data received {"connection_id":148508,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:10:45] local.INFO: Processing buffer {"connection_id":148508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:10:45] local.INFO: IMEI packet received {"connection_id":148508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":148508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:10:45] local.INFO: TCP Data received {"connection_id":148508,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd181e9e0012d19504007209cd8002f00d82c..."} 
[2026-08-05 16:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd181e9e0012d19504007209cd8002f00d82c..."} 
[2026-08-05 16:10:45] local.INFO: Processing buffer {"connection_id":148508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd181e9e0012d19504007209cd8002f00d82c..."} 
[2026-08-05 16:10:45] local.INFO: Packet analysis {"connection_id":148508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:10:45] local.INFO: Extracted packet for processing {"connection_id":148508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119577816,"longitude_deg":75.6633664,"latitude_deg":11.9577816,"altitude":47,"angle":216,"satellites":44,"speed":10,"hex_longitude":"2d195040","hex_latitude":"07209cd8","is_valid_coordinates":true} 
[2026-08-05 16:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197153024001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10705863115276288,"note":"Value kept but may cause issues"} 
[2026-08-05 16:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824309723417917440,"note":"Value kept but may cause issues"} 
[2026-08-05 16:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926380000,"timestamp_ms":1785926380000,"timestamp_seconds":1785926380,"priority":1,"record_length":96,"hex_timestamp":"0000019fd181e9e0"} 
[2026-08-05 16:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-05 16:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197153024001,"66":13993,"103":206,"83":41984,"24":10,"16":10705863115276288,"45":1824309723417917440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197153024001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:10:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10705863115276288,"km_value":10705863115276.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824309723417917440,"description":"Unknown IO ID 45"} 
[2026-08-05 16:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197153024001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1824309723417917440}} 
[2026-08-05 16:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":148508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:10:45] local.INFO: GPS data processed {"connection_id":148508,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:10:45] local.INFO: Acknowledgment sent {"connection_id":148508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:10:49] local.INFO: TCP Data received {"connection_id":151140,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd181ce88012d80554005c27410000b000731..."} 
[2026-08-05 16:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd181ce88012d80554005c27410000b000731..."} 
[2026-08-05 16:10:49] local.INFO: Processing buffer {"connection_id":151140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd181ce88012d80554005c27410000b000731..."} 
[2026-08-05 16:10:49] local.INFO: Packet analysis {"connection_id":151140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:10:49] local.INFO: Extracted packet for processing {"connection_id":151140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:10:49] local.INFO: GPS Element Parsed {"raw_longitude":763385152,"raw_latitude":96629776,"longitude_deg":76.3385152,"latitude_deg":9.6629776,"altitude":11,"angle":7,"satellites":49,"speed":59,"hex_longitude":"2d805540","hex_latitude":"05c27410","is_valid_coordinates":true} 
[2026-08-05 16:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197149952001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370538137274810368,"note":"Value kept but may cause issues"} 
[2026-08-05 16:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200642907750426624,"note":"Value kept but may cause issues"} 
[2026-08-05 16:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785926373000,"timestamp_ms":1785926373000,"timestamp_seconds":1785926373,"priority":1,"record_length":96,"hex_timestamp":"0000019fd181ce88"} 
[2026-08-05 16:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:10: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-08-05 16: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":195,"data_length":795,"current_offset":136} 
[2026-08-05 16:10: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-08-05 16:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197149952001,"66":27745,"234":206,"85":12288,"24":59,"16":370538137274810368,"45":-9200642907750426624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-05 16:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197149952001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:10:49] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-05 16:10:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370538137274810368,"km_value":370538137274810.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200642907750426624,"description":"Unknown IO ID 45"} 
[2026-08-05 16:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197149952001,"power":27745,"unknown_234":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":-9200642907750426624}} 
[2026-08-05 16:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":151140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:10:49] local.INFO: GPS data processed {"connection_id":151140,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:10:49] local.INFO: Acknowledgment sent {"connection_id":151140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:11:15] local.INFO: TCP Data received {"connection_id":148723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:11:15] local.INFO: Processing buffer {"connection_id":148723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:11:15] local.INFO: IMEI packet received {"connection_id":148723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":148723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:11:16] local.INFO: TCP Data received {"connection_id":148508,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd181edc8012d19500007209bb8002f00bf2c..."} 
[2026-08-05 16:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd181edc8012d19500007209bb8002f00bf2c..."} 
[2026-08-05 16:11:16] local.INFO: Processing buffer {"connection_id":148508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd181edc8012d19500007209bb8002f00bf2c..."} 
[2026-08-05 16:11:16] local.INFO: Packet analysis {"connection_id":148508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:11:16] local.INFO: Extracted packet for processing {"connection_id":148508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119577528,"longitude_deg":75.66336,"latitude_deg":11.9577528,"altitude":47,"angle":191,"satellites":44,"speed":11,"hex_longitude":"2d195000","hex_latitude":"07209bb8","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197153280001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10705876000178176,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248441149440,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785926381000,"timestamp_ms":1785926381000,"timestamp_seconds":1785926381,"priority":1,"record_length":96,"hex_timestamp":"0000019fd181edc8"} 
[2026-08-05 16:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 16:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197153280001,"66":13993,"103":206,"83":41984,"24":11,"16":10705876000178176,"45":1824028248441149440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197153280001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:11:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10705876000178176,"km_value":10705876000178.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248441149440,"description":"Unknown IO ID 45"} 
[2026-08-05 16:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197153280001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1824028248441149440}} 
[2026-08-05 16:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":148508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:11:16] local.INFO: GPS data processed {"connection_id":148508,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:11:16] local.INFO: Acknowledgment sent {"connection_id":148508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:11:18] local.INFO: TCP Data received {"connection_id":148723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:11:18] local.INFO: Processing buffer {"connection_id":148723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:11:18] local.INFO: IMEI packet received {"connection_id":148723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":148723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:11:19] local.INFO: TCP Data received {"connection_id":148723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:11:19] local.INFO: Processing buffer {"connection_id":148723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:11:19] local.INFO: IMEI packet received {"connection_id":148723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":148723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:11:20] local.INFO: TCP Data received {"connection_id":148723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd181e5f8012d8059c005c296e0000b000633..."} 
[2026-08-05 16:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd181e5f8012d8059c005c296e0000b000633..."} 
[2026-08-05 16:11:20] local.INFO: Processing buffer {"connection_id":148723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd181e5f8012d8059c005c296e0000b000633..."} 
[2026-08-05 16:11:20] local.INFO: Packet analysis {"connection_id":148723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:11:20] local.INFO: Extracted packet for processing {"connection_id":148723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:11:20] local.INFO: GPS Element Parsed {"raw_longitude":763386304,"raw_latitude":96638688,"longitude_deg":76.3386304,"latitude_deg":9.6638688,"altitude":11,"angle":6,"satellites":51,"speed":59,"hex_longitude":"2d8059c0","hex_latitude":"05c296e0","is_valid_coordinates":true} 
[2026-08-05 16:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197151488001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370538575361474560,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199376270352969728,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785926379000,"timestamp_ms":1785926379000,"timestamp_seconds":1785926379,"priority":1,"record_length":96,"hex_timestamp":"0000019fd181e5f8"} 
[2026-08-05 16:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 16:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197151488001,"66":27974,"234":206,"85":12288,"24":59,"16":370538575361474560,"45":-9199376270352969728},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-05 16:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197151488001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:11:20] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-05 16:11:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370538575361474560,"km_value":370538575361474.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199376270352969728,"description":"Unknown IO ID 45"} 
[2026-08-05 16:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197151488001,"power":27974,"unknown_234":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":-9199376270352969728}} 
[2026-08-05 16:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":148723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:11:20] local.INFO: GPS data processed {"connection_id":148723,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:11:20] local.INFO: Acknowledgment sent {"connection_id":148723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:11:25] local.INFO: TCP Data received {"connection_id":148723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd181fd68012d805e0005c2b970000b000732..."} 
[2026-08-05 16:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd181fd68012d805e0005c2b970000b000732..."} 
[2026-08-05 16:11:25] local.INFO: Processing buffer {"connection_id":148723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd181fd68012d805e0005c2b970000b000732..."} 
[2026-08-05 16:11:25] local.INFO: Packet analysis {"connection_id":148723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:11:25] local.INFO: Extracted packet for processing {"connection_id":148723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763387392,"raw_latitude":96647536,"longitude_deg":76.3387392,"latitude_deg":9.6647536,"altitude":11,"angle":7,"satellites":50,"speed":58,"hex_longitude":"2d805e00","hex_latitude":"05c2b970","is_valid_coordinates":true} 
[2026-08-05 16:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197153024001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370539004858204160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198109632955490304,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785926385000,"timestamp_ms":1785926385000,"timestamp_seconds":1785926385,"priority":1,"record_length":96,"hex_timestamp":"0000019fd181fd68"} 
[2026-08-05 16:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 16:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197153024001,"66":27821,"234":206,"85":12288,"24":58,"16":370539004858204160,"45":-9198109632955490304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-05 16:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197153024001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:11:25] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-05 16:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370539004858204160,"km_value":370539004858204.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198109632955490304,"description":"Unknown IO ID 45"} 
[2026-08-05 16:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197153024001,"power":27821,"unknown_234":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":-9198109632955490304}} 
[2026-08-05 16:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":148723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:11:25] local.INFO: GPS data processed {"connection_id":148723,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:11:25] local.INFO: Acknowledgment sent {"connection_id":148723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:11:39] local.INFO: TCP Data received {"connection_id":149719,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:11:39] local.INFO: Processing buffer {"connection_id":149719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:11:39] local.INFO: IMEI packet received {"connection_id":149719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":149719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:11:43] local.INFO: TCP Data received {"connection_id":149719,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:11:43] local.INFO: Processing buffer {"connection_id":149719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:11:43] local.INFO: IMEI packet received {"connection_id":149719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":149719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:11:44] local.INFO: TCP Data received {"connection_id":149719,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd181fd68012d194fc007209670002e00ad2b..."} 
[2026-08-05 16:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd181fd68012d194fc007209670002e00ad2b..."} 
[2026-08-05 16:11:44] local.INFO: Processing buffer {"connection_id":149719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd181fd68012d194fc007209670002e00ad2b..."} 
[2026-08-05 16:11:44] local.INFO: Packet analysis {"connection_id":149719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:11:44] local.INFO: Extracted packet for processing {"connection_id":149719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd181"} 
[2026-08-05 16:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756633536,"raw_latitude":119576176,"longitude_deg":75.6633536,"latitude_deg":11.9576176,"altitude":46,"angle":173,"satellites":43,"speed":12,"hex_longitude":"2d194fc0","hex_latitude":"07209670","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197153536001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10705944719654912,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879696898048,"note":"Value kept but may cause issues"} 
[2026-08-05 16:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785926385000,"timestamp_ms":1785926385000,"timestamp_seconds":1785926385,"priority":1,"record_length":96,"hex_timestamp":"0000019fd181fd68"} 
[2026-08-05 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-08-05 16:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 16:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197153536001,"66":13961,"103":206,"83":41984,"24":12,"16":10705944719654912,"45":1823957879696898048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197153536001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:11:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10705944719654912,"km_value":10705944719654.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879696898048,"description":"Unknown IO ID 45"} 
[2026-08-05 16:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197153536001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1823957879696898048}} 
[2026-08-05 16:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":149719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:11:44] local.INFO: GPS data processed {"connection_id":149719,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:11:44] local.INFO: Acknowledgment sent {"connection_id":149719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:12:11] local.INFO: TCP Data received {"connection_id":148723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18214d8012d80628005c2dbd8000b000733..."} 
[2026-08-05 16:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18214d8012d80628005c2dbd8000b000733..."} 
[2026-08-05 16:12:11] local.INFO: Processing buffer {"connection_id":148723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18214d8012d80628005c2dbd8000b000733..."} 
[2026-08-05 16:12:11] local.INFO: Packet analysis {"connection_id":148723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd182"} 
[2026-08-05 16:12:11] local.INFO: Extracted packet for processing {"connection_id":148723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd182"} 
[2026-08-05 16:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763388544,"raw_latitude":96656344,"longitude_deg":76.3388544,"latitude_deg":9.6656344,"altitude":11,"angle":7,"satellites":51,"speed":58,"hex_longitude":"2d806280","hex_latitude":"05c2dbd8","is_valid_coordinates":true} 
[2026-08-05 16:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197154560001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370539434354933760,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196913364302204928,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785926391000,"timestamp_ms":1785926391000,"timestamp_seconds":1785926391,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18214d8"} 
[2026-08-05 16:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 16:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197154560001,"66":27984,"234":206,"85":12288,"24":58,"16":370539434354933760,"45":-9196913364302204928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-05 16:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197154560001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:12:11] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-05 16:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370539434354933760,"km_value":370539434354933.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196913364302204928,"description":"Unknown IO ID 45"} 
[2026-08-05 16:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197154560001,"power":27984,"unknown_234":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":-9196913364302204928}} 
[2026-08-05 16:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":148723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:12:11] local.INFO: GPS data processed {"connection_id":148723,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:12:11] local.INFO: Acknowledgment sent {"connection_id":148723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:12:15] local.INFO: TCP Data received {"connection_id":149719,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1824f70012d19504007209428003000a42a..."} 
[2026-08-05 16:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1824f70012d19504007209428003000a42a..."} 
[2026-08-05 16:12:15] local.INFO: Processing buffer {"connection_id":149719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1824f70012d19504007209428003000a42a..."} 
[2026-08-05 16:12:15] local.INFO: Packet analysis {"connection_id":149719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd182"} 
[2026-08-05 16:12:15] local.INFO: Extracted packet for processing {"connection_id":149719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd182"} 
[2026-08-05 16:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119575592,"longitude_deg":75.6633664,"latitude_deg":11.9575592,"altitude":48,"angle":164,"satellites":42,"speed":0,"hex_longitude":"2d195040","hex_latitude":"07209428","is_valid_coordinates":true} 
[2026-08-05 16:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197154560001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10705974784425984,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823887510952374272,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785926406000,"timestamp_ms":1785926406000,"timestamp_seconds":1785926406,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1824f70"} 
[2026-08-05 16:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-05 16:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197154560001,"66":14080,"103":206,"83":41984,"24":0,"16":10705974784425984,"45":1823887510952374272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197154560001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:12:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10705974784425984,"km_value":10705974784425.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823887510952374272,"description":"Unknown IO ID 45"} 
[2026-08-05 16:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197154560001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1823887510952374272}} 
[2026-08-05 16:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":149719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:12:15] local.INFO: GPS data processed {"connection_id":149719,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:12:15] local.INFO: Acknowledgment sent {"connection_id":149719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:12:23] local.INFO: TCP Data received {"connection_id":151141,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:12:23] local.INFO: Processing buffer {"connection_id":151141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:12:23] local.INFO: IMEI packet received {"connection_id":151141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":151141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:12:24] local.INFO: TCP Data received {"connection_id":151141,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:12:24] local.INFO: Processing buffer {"connection_id":151141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:12:24] local.INFO: IMEI packet received {"connection_id":151141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":151141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:12:30] local.INFO: TCP Data received {"connection_id":151141,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:12:30] local.INFO: Processing buffer {"connection_id":151141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:12:30] local.INFO: IMEI packet received {"connection_id":151141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":151141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:12:31] local.INFO: TCP Data received {"connection_id":151141,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd183b6d0012d80884005c433380009000131..."} 
[2026-08-05 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd183b6d0012d80884005c433380009000131..."} 
[2026-08-05 16:12:31] local.INFO: Processing buffer {"connection_id":151141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd183b6d0012d80884005c433380009000131..."} 
[2026-08-05 16:12:31] local.INFO: Packet analysis {"connection_id":151141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd183"} 
[2026-08-05 16:12:31] local.INFO: Extracted packet for processing {"connection_id":151141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd183"} 
[2026-08-05 16:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763398208,"raw_latitude":96744248,"longitude_deg":76.3398208,"latitude_deg":9.6744248,"altitude":9,"angle":1,"satellites":49,"speed":23,"hex_longitude":"2d808840","hex_latitude":"05c43338","is_valid_coordinates":true} 
[2026-08-05 16:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197179392001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370543742207131648,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183824777862770688,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785926498000,"timestamp_ms":1785926498000,"timestamp_seconds":1785926498,"priority":1,"record_length":96,"hex_timestamp":"0000019fd183b6d0"} 
[2026-08-05 16:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":119,"data_length":795,"current_offset":136} 
[2026-08-05 16:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197179392001,"66":27876,"234":206,"85":12288,"24":23,"16":370543742207131648,"45":-9183824777862770688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-05 16:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197179392001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:12:31] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-05 16:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370543742207131648,"km_value":370543742207131.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183824777862770688,"description":"Unknown IO ID 45"} 
[2026-08-05 16:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197179392001,"power":27876,"unknown_234":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-9183824777862770688}} 
[2026-08-05 16:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":151141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:12:31] local.INFO: GPS data processed {"connection_id":151141,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:12:31] local.INFO: Acknowledgment sent {"connection_id":151141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:12:39] local.INFO: TCP Data received {"connection_id":149720,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:12:39] local.INFO: Processing buffer {"connection_id":149720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:12:39] local.INFO: IMEI packet received {"connection_id":149720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":149720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:12:44] local.INFO: TCP Data received {"connection_id":149720,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:12:44] local.INFO: Processing buffer {"connection_id":149720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:12:44] local.INFO: IMEI packet received {"connection_id":149720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":149720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:12:45] local.INFO: TCP Data received {"connection_id":149720,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd182a178012d19504007209428003000a420..."} 
[2026-08-05 16:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd182a178012d19504007209428003000a420..."} 
[2026-08-05 16:12:45] local.INFO: Processing buffer {"connection_id":149720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd182a178012d19504007209428003000a420..."} 
[2026-08-05 16:12:45] local.INFO: Packet analysis {"connection_id":149720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd182"} 
[2026-08-05 16:12:45] local.INFO: Extracted packet for processing {"connection_id":149720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd182"} 
[2026-08-05 16:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119575592,"longitude_deg":75.6633664,"latitude_deg":11.9575592,"altitude":48,"angle":164,"satellites":32,"speed":0,"hex_longitude":"2d195040","hex_latitude":"07209428","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197159936001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10705974784425984,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248440580096,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926427000,"timestamp_ms":1785926427000,"timestamp_seconds":1785926427,"priority":1,"record_length":96,"hex_timestamp":"0000019fd182a178"} 
[2026-08-05 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-08-05 16:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 16:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3514945160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:45] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2179332097,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2646081583,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-05 16:12:45] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531192,"note":"Value kept but may cause issues"} 
[2026-08-05 16:12:45] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,9,159,253,45,192,150,46,43,10,66,237,155,47,44,8,233,64,1,240,169,227,209,32,4,113,205,11,222,239,54,2,38,7,48],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-05 16:12:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458945014116122624,"timestamp_seconds":3458945014116122.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 16:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197159936001,"66":14298,"103":206,"83":41984,"24":0,"16":10705974784425984,"45":1824028248440580096},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197159936001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:12:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10705974784425984,"km_value":10705974784425.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248440580096,"description":"Unknown IO ID 45"} 
[2026-08-05 16:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197159936001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1824028248440580096}} 
[2026-08-05 16:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":149720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:12:45] local.INFO: GPS data processed {"connection_id":149720,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:12:45] local.INFO: Acknowledgment sent {"connection_id":149720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:13:14] local.INFO: TCP Data received {"connection_id":148724,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:13:14] local.INFO: Processing buffer {"connection_id":148724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:13:14] local.INFO: IMEI packet received {"connection_id":148724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":148724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:13:17] local.INFO: TCP Data received {"connection_id":149720,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18481f0012d195cc007203040003a00db2a..."} 
[2026-08-05 16:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18481f0012d195cc007203040003a00db2a..."} 
[2026-08-05 16:13:17] local.INFO: Processing buffer {"connection_id":149720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18481f0012d195cc007203040003a00db2a..."} 
[2026-08-05 16:13:17] local.INFO: Packet analysis {"connection_id":149720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd184"} 
[2026-08-05 16:13:17] local.INFO: Extracted packet for processing {"connection_id":149720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd184"} 
[2026-08-05 16:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756636864,"raw_latitude":119550016,"longitude_deg":75.6636864,"latitude_deg":11.9550016,"altitude":58,"angle":219,"satellites":42,"speed":13,"hex_longitude":"2d195cc0","hex_latitude":"07203040","is_valid_coordinates":true} 
[2026-08-05 16:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197196544001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10707473728012288,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827898529363873792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785926550000,"timestamp_ms":1785926550000,"timestamp_seconds":1785926550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18481f0"} 
[2026-08-05 16:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 16:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197196544001,"66":14363,"103":206,"83":41984,"24":13,"16":10707473728012288,"45":1827898529363873792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197196544001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:13:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10707473728012288,"km_value":10707473728012.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827898529363873792,"description":"Unknown IO ID 45"} 
[2026-08-05 16:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197196544001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1827898529363873792}} 
[2026-08-05 16:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":149720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:13:17] local.INFO: GPS data processed {"connection_id":149720,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:13:17] local.INFO: Acknowledgment sent {"connection_id":149720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:13:20] local.INFO: TCP Data received {"connection_id":148724,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:13:20] local.INFO: Processing buffer {"connection_id":148724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:13:20] local.INFO: IMEI packet received {"connection_id":148724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":148724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:13:20] local.INFO: TCP Data received {"connection_id":148724,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd183c670012d80874005c43d500009015b31..."} 
[2026-08-05 16:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd183c670012d80874005c43d500009015b31..."} 
[2026-08-05 16:13:20] local.INFO: Processing buffer {"connection_id":148724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd183c670012d80874005c43d500009015b31..."} 
[2026-08-05 16:13:20] local.INFO: Packet analysis {"connection_id":148724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd183"} 
[2026-08-05 16:13:20] local.INFO: Extracted packet for processing {"connection_id":148724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd183"} 
[2026-08-05 16:13:20] local.INFO: GPS Element Parsed {"raw_longitude":763397952,"raw_latitude":96746832,"longitude_deg":76.3397952,"latitude_deg":9.6746832,"altitude":9,"angle":347,"satellites":49,"speed":27,"hex_longitude":"2d808740","hex_latitude":"05c43d50","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197183488001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370543871056150528,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185021046511421440,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785926502000,"timestamp_ms":1785926502000,"timestamp_seconds":1785926502,"priority":1,"record_length":96,"hex_timestamp":"0000019fd183c670"} 
[2026-08-05 16:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 16:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197183488001,"66":27876,"234":206,"85":12288,"24":27,"16":370543871056150528,"45":-9185021046511421440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-05 16:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197183488001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:13:20] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-05 16:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370543871056150528,"km_value":370543871056150.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185021046511421440,"description":"Unknown IO ID 45"} 
[2026-08-05 16:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197183488001,"power":27876,"unknown_234":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":-9185021046511421440}} 
[2026-08-05 16:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":148724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:13:21] local.INFO: GPS data processed {"connection_id":148724,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:13:21] local.INFO: Acknowledgment sent {"connection_id":148724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:13:37] local.INFO: TCP Data received {"connection_id":149721,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:13:37] local.INFO: Processing buffer {"connection_id":149721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:13:37] local.INFO: IMEI packet received {"connection_id":149721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":149721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:13:40] local.INFO: TCP Data received {"connection_id":149721,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:13:40] local.INFO: Processing buffer {"connection_id":149721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:13:40] local.INFO: IMEI packet received {"connection_id":149721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":149721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:13:44] local.INFO: TCP Data received {"connection_id":149721,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:13:44] local.INFO: Processing buffer {"connection_id":149721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:13:44] local.INFO: IMEI packet received {"connection_id":149721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":149721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:13:45] local.INFO: TCP Data received {"connection_id":149721,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18485d8012d195c8007202ed8003a00c52c..."} 
[2026-08-05 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18485d8012d195c8007202ed8003a00c52c..."} 
[2026-08-05 16:13:45] local.INFO: Processing buffer {"connection_id":149721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18485d8012d195c8007202ed8003a00c52c..."} 
[2026-08-05 16:13:45] local.INFO: Packet analysis {"connection_id":149721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd184"} 
[2026-08-05 16:13:45] local.INFO: Extracted packet for processing {"connection_id":149721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd184"} 
[2026-08-05 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756636800,"raw_latitude":119549656,"longitude_deg":75.66368,"latitude_deg":11.9549656,"altitude":58,"angle":197,"satellites":44,"speed":13,"hex_longitude":"2d195c80","hex_latitude":"07202ed8","is_valid_coordinates":true} 
[2026-08-05 16:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197196800001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10707490907881472,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827546685642915840,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926551000,"timestamp_ms":1785926551000,"timestamp_seconds":1785926551,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18485d8"} 
[2026-08-05 16:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 16:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197196800001,"66":14363,"103":206,"83":41984,"24":13,"16":10707490907881472,"45":1827546685642915840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197196800001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:13:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10707490907881472,"km_value":10707490907881.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827546685642915840,"description":"Unknown IO ID 45"} 
[2026-08-05 16:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197196800001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1827546685642915840}} 
[2026-08-05 16:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":149721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:13:45] local.INFO: GPS data processed {"connection_id":149721,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:13:45] local.INFO: Acknowledgment sent {"connection_id":149721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:13:52] local.INFO: TCP Data received {"connection_id":148724,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd183ce40012d80858005c44288000a014f31..."} 
[2026-08-05 16:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd183ce40012d80858005c44288000a014f31..."} 
[2026-08-05 16:13:52] local.INFO: Processing buffer {"connection_id":148724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd183ce40012d80858005c44288000a014f31..."} 
[2026-08-05 16:13:52] local.INFO: Packet analysis {"connection_id":148724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd183"} 
[2026-08-05 16:13:52] local.INFO: Extracted packet for processing {"connection_id":148724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd183"} 
[2026-08-05 16:13:52] local.INFO: GPS Element Parsed {"raw_longitude":763397504,"raw_latitude":96748168,"longitude_deg":76.3397504,"latitude_deg":9.6748168,"altitude":10,"angle":335,"satellites":49,"speed":28,"hex_longitude":"2d808580","hex_latitude":"05c44288","is_valid_coordinates":true} 
[2026-08-05 16:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197184512001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370543939775627264,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185302521487470592,"note":"Value kept but may cause issues"} 
[2026-08-05 16:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785926504000,"timestamp_ms":1785926504000,"timestamp_seconds":1785926504,"priority":1,"record_length":96,"hex_timestamp":"0000019fd183ce40"} 
[2026-08-05 16:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 16:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197184512001,"66":27463,"234":206,"85":12288,"24":28,"16":370543939775627264,"45":-9185302521487470592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-05 16:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197184512001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:13:52] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-05 16:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370543939775627264,"km_value":370543939775627.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185302521487470592,"description":"Unknown IO ID 45"} 
[2026-08-05 16:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197184512001,"power":27463,"unknown_234":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":-9185302521487470592}} 
[2026-08-05 16:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":148724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:13:52] local.INFO: GPS data processed {"connection_id":148724,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:13:52] local.INFO: Acknowledgment sent {"connection_id":148724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:14:14] local.INFO: TCP Data received {"connection_id":149722,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:14:14] local.INFO: Processing buffer {"connection_id":149722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:14:14] local.INFO: IMEI packet received {"connection_id":149722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":149722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:14:17] local.INFO: TCP Data received {"connection_id":149721,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1852dd0012d195600071ff2880040006f2d..."} 
[2026-08-05 16:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1852dd0012d195600071ff2880040006f2d..."} 
[2026-08-05 16:14:17] local.INFO: Processing buffer {"connection_id":149721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1852dd0012d195600071ff2880040006f2d..."} 
[2026-08-05 16:14:17] local.INFO: Packet analysis {"connection_id":149721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:14:17] local.INFO: Extracted packet for processing {"connection_id":149721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756635136,"raw_latitude":119534216,"longitude_deg":75.6635136,"latitude_deg":11.9534216,"altitude":64,"angle":111,"satellites":45,"speed":19,"hex_longitude":"2d195600","hex_latitude":"071ff288","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197207552001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708354196307968,"note":"Value kept but may cause issues"} 
[2026-08-05 16:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567127703552,"note":"Value kept but may cause issues"} 
[2026-08-05 16:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785926594000,"timestamp_ms":1785926594000,"timestamp_seconds":1785926594,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1852dd0"} 
[2026-08-05 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-08-05 16:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 16:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197207552001,"66":13080,"102":206,"83":41984,"24":19,"16":10708354196307968,"45":1824661567127703552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 16:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197207552001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:14:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 16:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708354196307968,"km_value":10708354196307.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567127703552,"description":"Unknown IO ID 45"} 
[2026-08-05 16:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197207552001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1824661567127703552}} 
[2026-08-05 16:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":149721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:14:17] local.INFO: GPS data processed {"connection_id":149721,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:14:17] local.INFO: Acknowledgment sent {"connection_id":149721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:14:19] local.INFO: TCP Data received {"connection_id":149722,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:14:19] local.INFO: Processing buffer {"connection_id":149722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:14:19] local.INFO: IMEI packet received {"connection_id":149722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":149722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:14:39] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:14:39] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:14:39] local.INFO: IMEI packet received {"connection_id":148509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":148509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:14:44] local.INFO: TCP Data received {"connection_id":149722,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd183f938012d8072c005c46288000901472f..."} 
[2026-08-05 16:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd183f938012d8072c005c46288000901472f..."} 
[2026-08-05 16:14:44] local.INFO: Processing buffer {"connection_id":149722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd183f938012d8072c005c46288000901472f..."} 
[2026-08-05 16:14:44] local.INFO: Packet analysis {"connection_id":149722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd183"} 
[2026-08-05 16:14:44] local.INFO: Extracted packet for processing {"connection_id":149722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd183"} 
[2026-08-05 16:14:44] local.INFO: GPS Element Parsed {"raw_longitude":763392704,"raw_latitude":96756360,"longitude_deg":76.3392704,"latitude_deg":9.675636,"altitude":9,"angle":327,"satellites":47,"speed":40,"hex_longitude":"2d8072c0","hex_latitude":"05c46288","is_valid_coordinates":true} 
[2026-08-05 16:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197185024001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370544399337127936,"note":"Value kept but may cause issues"} 
[2026-08-05 16:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185795102696372224,"note":"Value kept but may cause issues"} 
[2026-08-05 16:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785926515000,"timestamp_ms":1785926515000,"timestamp_seconds":1785926515,"priority":1,"record_length":96,"hex_timestamp":"0000019fd183f938"} 
[2026-08-05 16:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-05 16:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197185024001,"66":27843,"235":206,"85":12288,"24":40,"16":370544399337127936,"45":-9185795102696372224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-05 16:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197185024001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:14:44] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-05 16:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370544399337127936,"km_value":370544399337127.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185795102696372224,"description":"Unknown IO ID 45"} 
[2026-08-05 16:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197185024001,"power":27843,"unknown_235":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-9185795102696372224}} 
[2026-08-05 16:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":149722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:14:44] local.INFO: GPS data processed {"connection_id":149722,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:14:44] local.INFO: Acknowledgment sent {"connection_id":149722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:14:45] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:14:45] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:14:45] local.INFO: IMEI packet received {"connection_id":148509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":148509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:14:45] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1854928012d196240071feeb0003f00642c..."} 
[2026-08-05 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1854928012d196240071feeb0003f00642c..."} 
[2026-08-05 16:14:45] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1854928012d196240071feeb0003f00642c..."} 
[2026-08-05 16:14:45] local.INFO: Packet analysis {"connection_id":148509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:14:45] local.INFO: Extracted packet for processing {"connection_id":148509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756638272,"raw_latitude":119533232,"longitude_deg":75.6638272,"latitude_deg":11.9533232,"altitude":63,"angle":100,"satellites":44,"speed":15,"hex_longitude":"2d196240","hex_latitude":"071feeb0","is_valid_coordinates":true} 
[2026-08-05 16:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197208064001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708508815130624,"note":"Value kept but may cause issues"} 
[2026-08-05 16:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825646729546074112,"note":"Value kept but may cause issues"} 
[2026-08-05 16:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926601000,"timestamp_ms":1785926601000,"timestamp_seconds":1785926601,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1854928"} 
[2026-08-05 16:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-05 16:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197208064001,"66":12526,"102":206,"83":41984,"24":15,"16":10708508815130624,"45":1825646729546074112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 16:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197208064001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:14:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 16:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708508815130624,"km_value":10708508815130.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825646729546074112,"description":"Unknown IO ID 45"} 
[2026-08-05 16:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197208064001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1825646729546074112}} 
[2026-08-05 16:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":148509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:14:45] local.INFO: GPS data processed {"connection_id":148509,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:14:45] local.INFO: Acknowledgment sent {"connection_id":148509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:15:14] local.INFO: TCP Data received {"connection_id":148725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:15:14] local.INFO: Processing buffer {"connection_id":148725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:15:14] local.INFO: IMEI packet received {"connection_id":148725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":148725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:15:16] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18554e0012d196580071fee68003e00592c..."} 
[2026-08-05 16:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18554e0012d196580071fee68003e00592c..."} 
[2026-08-05 16:15:16] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18554e0012d196580071fee68003e00592c..."} 
[2026-08-05 16:15:16] local.INFO: Packet analysis {"connection_id":148509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:15:16] local.INFO: Extracted packet for processing {"connection_id":148509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533160,"longitude_deg":75.6639104,"latitude_deg":11.953316,"altitude":62,"angle":89,"satellites":44,"speed":8,"hex_longitude":"2d196580","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-08-05 16:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197209856001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708551764803584,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829094798010527744,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785926604000,"timestamp_ms":1785926604000,"timestamp_seconds":1785926604,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18554e0"} 
[2026-08-05 16:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 16:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197209856001,"66":13080,"102":206,"83":41984,"24":8,"16":10708551764803584,"45":1829094798010527744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 16:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197209856001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:15:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 16:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708551764803584,"km_value":10708551764803.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829094798010527744,"description":"Unknown IO ID 45"} 
[2026-08-05 16:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197209856001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1829094798010527744}} 
[2026-08-05 16:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":148509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:15:17] local.INFO: GPS data processed {"connection_id":148509,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:15:17] local.INFO: Acknowledgment sent {"connection_id":148509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:15:20] local.INFO: TCP Data received {"connection_id":148725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:15:20] local.INFO: Processing buffer {"connection_id":148725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:15:20] local.INFO: IMEI packet received {"connection_id":148725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":148725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:15:21] local.INFO: TCP Data received {"connection_id":148725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd185e568012d7fb5c005c563780008014430..."} 
[2026-08-05 16:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd185e568012d7fb5c005c563780008014430..."} 
[2026-08-05 16:15:21] local.INFO: Processing buffer {"connection_id":148725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd185e568012d7fb5c005c563780008014430..."} 
[2026-08-05 16:15:21] local.INFO: Packet analysis {"connection_id":148725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:15:21] local.INFO: Extracted packet for processing {"connection_id":148725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763344320,"raw_latitude":96822136,"longitude_deg":76.334432,"latitude_deg":9.6822136,"altitude":8,"angle":324,"satellites":48,"speed":22,"hex_longitude":"2d7fb5c0","hex_latitude":"05c56378","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197214720001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370548355002007552,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9208172412897071104,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785926641000,"timestamp_ms":1785926641000,"timestamp_seconds":1785926641,"priority":1,"record_length":96,"hex_timestamp":"0000019fd185e568"} 
[2026-08-05 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-08-05 16:15: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-08-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197214720001,"66":27930,"98":206,"85":12288,"24":22,"16":370548355002007552,"45":9208172412897071104},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-05 16:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197214720001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:15:21] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-05 16:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370548355002007552,"km_value":370548355002007.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9208172412897071104,"description":"Unknown IO ID 45"} 
[2026-08-05 16:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197214720001,"power":27930,"unknown_98":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":9208172412897071104}} 
[2026-08-05 16:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":148725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:15:21] local.INFO: GPS data processed {"connection_id":148725,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:15:21] local.INFO: Acknowledgment sent {"connection_id":148725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:15:39] local.INFO: TCP Data received {"connection_id":151142,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:15:39] local.INFO: Processing buffer {"connection_id":151142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:15:39] local.INFO: IMEI packet received {"connection_id":151142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":151142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:15:44] local.INFO: TCP Data received {"connection_id":151142,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:15:44] local.INFO: Processing buffer {"connection_id":151142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:15:44] local.INFO: IMEI packet received {"connection_id":151142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":151142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:15:45] local.INFO: TCP Data received {"connection_id":151142,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd185a6e8012d196740071fee48003e005d2d..."} 
[2026-08-05 16:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd185a6e8012d196740071fee48003e005d2d..."} 
[2026-08-05 16:15:45] local.INFO: Processing buffer {"connection_id":151142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd185a6e8012d196740071fee48003e005d2d..."} 
[2026-08-05 16:15:45] local.INFO: Packet analysis {"connection_id":151142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:15:45] local.INFO: Extracted packet for processing {"connection_id":151142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197210624001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684818944,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926625000,"timestamp_ms":1785926625000,"timestamp_seconds":1785926625,"priority":1,"record_length":96,"hex_timestamp":"0000019fd185a6e8"} 
[2026-08-05 16:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-05 16:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197210624001,"66":13091,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830009591684818944},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197210624001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:15:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684818944,"description":"Unknown IO ID 45"} 
[2026-08-05 16:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197210624001,"power":13091,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684818944}} 
[2026-08-05 16:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":151142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:15:45] local.INFO: GPS data processed {"connection_id":151142,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:15:45] local.INFO: Acknowledgment sent {"connection_id":151142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:15:53] local.INFO: TCP Data received {"connection_id":148725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1861830012d7f9fc005c581400007014331..."} 
[2026-08-05 16:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1861830012d7f9fc005c581400007014331..."} 
[2026-08-05 16:15:53] local.INFO: Processing buffer {"connection_id":148725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1861830012d7f9fc005c581400007014331..."} 
[2026-08-05 16:15:53] local.INFO: Packet analysis {"connection_id":148725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:15:53] local.INFO: Extracted packet for processing {"connection_id":148725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":96829760,"longitude_deg":76.3338688,"latitude_deg":9.682976,"altitude":7,"angle":323,"satellites":49,"speed":35,"hex_longitude":"2d7f9fc0","hex_latitude":"05c58140","is_valid_coordinates":true} 
[2026-08-05 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197220096001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370548810268540928,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9202472544620476416,"note":"Value kept but may cause issues"} 
[2026-08-05 16:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785926654000,"timestamp_ms":1785926654000,"timestamp_seconds":1785926654,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1861830"} 
[2026-08-05 16:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197220096001,"66":27995,"89":206,"85":12288,"24":35,"16":370548810268540928,"45":9202472544620476416},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-05 16:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197220096001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:15:53] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-05 16:15:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370548810268540928,"km_value":370548810268540.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9202472544620476416,"description":"Unknown IO ID 45"} 
[2026-08-05 16:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197220096001,"power":27995,"unknown_89":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9202472544620476416}} 
[2026-08-05 16:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":148725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:15:53] local.INFO: GPS data processed {"connection_id":148725,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:15:53] local.INFO: Acknowledgment sent {"connection_id":148725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:16:14] local.INFO: TCP Data received {"connection_id":149723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:16:14] local.INFO: Processing buffer {"connection_id":149723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:16:14] local.INFO: IMEI packet received {"connection_id":149723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":149723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:16:16] local.INFO: TCP Data received {"connection_id":151142,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd185f8f0012d196740071fee48003e005d2f..."} 
[2026-08-05 16:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd185f8f0012d196740071fee48003e005d2f..."} 
[2026-08-05 16:16:16] local.INFO: Processing buffer {"connection_id":151142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd185f8f0012d196740071fee48003e005d2f..."} 
[2026-08-05 16:16:16] local.INFO: Packet analysis {"connection_id":151142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:16:16] local.INFO: Extracted packet for processing {"connection_id":151142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd185"} 
[2026-08-05 16:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197216000001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785926646000,"timestamp_ms":1785926646000,"timestamp_seconds":1785926646,"priority":1,"record_length":96,"hex_timestamp":"0000019fd185f8f0"} 
[2026-08-05 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-08-05 16:16: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-08-05 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 16:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197216000001,"66":13059,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197216000001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:16:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:16:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197216000001,"power":13059,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":151142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:16:16] local.INFO: GPS data processed {"connection_id":151142,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:16:16] local.INFO: Acknowledgment sent {"connection_id":151142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:16:20] local.INFO: TCP Data received {"connection_id":149723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:16:20] local.INFO: Processing buffer {"connection_id":149723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:16:20] local.INFO: IMEI packet received {"connection_id":149723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":149723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:16:21] local.INFO: TCP Data received {"connection_id":149723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1863f40012d7f8a4005c59ec80007014631..."} 
[2026-08-05 16:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1863f40012d7f8a4005c59ec80007014631..."} 
[2026-08-05 16:16:21] local.INFO: Processing buffer {"connection_id":149723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1863f40012d7f8a4005c59ec80007014631..."} 
[2026-08-05 16:16:21] local.INFO: Packet analysis {"connection_id":149723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:16:21] local.INFO: Extracted packet for processing {"connection_id":149723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:16:21] local.INFO: GPS Element Parsed {"raw_longitude":763333184,"raw_latitude":96837320,"longitude_deg":76.3333184,"latitude_deg":9.683732,"altitude":7,"angle":326,"satellites":49,"speed":38,"hex_longitude":"2d7f8a40","hex_latitude":"05c59ec8","is_valid_coordinates":true} 
[2026-08-05 16:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197223424001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370549261240107008,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280095134793728,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785926664000,"timestamp_ms":1785926664000,"timestamp_seconds":1785926664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1863f40"} 
[2026-08-05 16:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:16: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-08-05 16: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 16:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197223424001,"66":27876,"89":206,"85":12288,"24":38,"16":370549261240107008,"45":9196280095134793728},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-05 16:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197223424001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:16:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-05 16:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370549261240107008,"km_value":370549261240107.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280095134793728,"description":"Unknown IO ID 45"} 
[2026-08-05 16:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197223424001,"power":27876,"unknown_89":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9196280095134793728}} 
[2026-08-05 16:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":149723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:16:21] local.INFO: GPS data processed {"connection_id":149723,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:16:21] local.INFO: Acknowledgment sent {"connection_id":149723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:16:39] local.INFO: TCP Data received {"connection_id":148726,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:16:39] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:16:39] local.INFO: IMEI packet received {"connection_id":148726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":148726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:16:44] local.INFO: TCP Data received {"connection_id":148726,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:16:44] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:16:44] local.INFO: IMEI packet received {"connection_id":148726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":148726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:16:45] local.INFO: TCP Data received {"connection_id":148726,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1864af8012d196740071fee48003e005d2c..."} 
[2026-08-05 16:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1864af8012d196740071fee48003e005d2c..."} 
[2026-08-05 16:16:45] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1864af8012d196740071fee48003e005d2c..."} 
[2026-08-05 16:16:45] local.INFO: Packet analysis {"connection_id":148726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:16:45] local.INFO: Extracted packet for processing {"connection_id":148726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197221376001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926667000,"timestamp_ms":1785926667000,"timestamp_seconds":1785926667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1864af8"} 
[2026-08-05 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-08-05 16:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 16:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303151705017720,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3515163160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:45] local.WARNING: Large IO value detected {"io_id":102,"raw_value":58075809043709969,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2234372097,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4068999232,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-05 16:16:45] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147950580,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,11,159,166,45,64,238,62,10,66,84,128,44,102,73,1,240,227,209,31,4,113,205,19,38,82,80,239,51,2,7,17],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-05 16:16:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467673286796378112,"timestamp_seconds":4467673286796378.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 16:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197221376001,"66":13015,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197221376001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:16:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197221376001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":148726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:16:45] local.INFO: GPS data processed {"connection_id":148726,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:16:45] local.INFO: Acknowledgment sent {"connection_id":148726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:16:52] local.INFO: TCP Data received {"connection_id":149723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1866268012d7f758005c5bac00007014331..."} 
[2026-08-05 16:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1866268012d7f758005c5bac00007014331..."} 
[2026-08-05 16:16:52] local.INFO: Processing buffer {"connection_id":149723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1866268012d7f758005c5bac00007014331..."} 
[2026-08-05 16:16:52] local.INFO: Packet analysis {"connection_id":149723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:16:52] local.INFO: Extracted packet for processing {"connection_id":149723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:16:52] local.INFO: GPS Element Parsed {"raw_longitude":763327872,"raw_latitude":96844480,"longitude_deg":76.3327872,"latitude_deg":9.684448,"altitude":7,"angle":323,"satellites":49,"speed":37,"hex_longitude":"2d7f7580","hex_latitude":"05c5bac0","is_valid_coordinates":true} 
[2026-08-05 16:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197225984001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370549690736836608,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190228383137449984,"note":"Value kept but may cause issues"} 
[2026-08-05 16:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785926673000,"timestamp_ms":1785926673000,"timestamp_seconds":1785926673,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1866268"} 
[2026-08-05 16:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 16:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197225984001,"66":27974,"89":206,"85":12288,"24":37,"16":370549690736836608,"45":9190228383137449984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-05 16:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197225984001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:16:52] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-05 16:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370549690736836608,"km_value":370549690736836.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190228383137449984,"description":"Unknown IO ID 45"} 
[2026-08-05 16:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197225984001,"power":27974,"unknown_89":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9190228383137449984}} 
[2026-08-05 16:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":149723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:16:52] local.INFO: GPS data processed {"connection_id":149723,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:16:52] local.INFO: Acknowledgment sent {"connection_id":149723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:17:16] local.INFO: TCP Data received {"connection_id":148726,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1869d00012d196740071fee48003e005d2d..."} 
[2026-08-05 16:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1869d00012d196740071fee48003e005d2d..."} 
[2026-08-05 16:17:16] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1869d00012d196740071fee48003e005d2d..."} 
[2026-08-05 16:17:16] local.INFO: Packet analysis {"connection_id":148726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:17:16] local.INFO: Extracted packet for processing {"connection_id":148726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:17:16] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197226752001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785926688000,"timestamp_ms":1785926688000,"timestamp_seconds":1785926688,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1869d00"} 
[2026-08-05 16:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 16:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197226752001,"66":12939,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197226752001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:17:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:17:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197226752001,"power":12939,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":148726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:17:16] local.INFO: GPS data processed {"connection_id":148726,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:17:16] local.INFO: Acknowledgment sent {"connection_id":148726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:17:19] local.INFO: TCP Data received {"connection_id":151143,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:17:19] local.INFO: Processing buffer {"connection_id":151143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:17:19] local.INFO: IMEI packet received {"connection_id":151143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":151143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:17:19] local.INFO: TCP Data received {"connection_id":151143,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:17:19] local.INFO: Processing buffer {"connection_id":151143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:17:19] local.INFO: IMEI packet received {"connection_id":151143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":151143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:17:24] local.INFO: TCP Data received {"connection_id":151143,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:17:24] local.INFO: Processing buffer {"connection_id":151143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:17:24] local.INFO: IMEI packet received {"connection_id":151143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":151143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:17:25] local.INFO: TCP Data received {"connection_id":151143,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1868978012d7f5fc005c5d7700008014331..."} 
[2026-08-05 16:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1868978012d7f5fc005c5d7700008014331..."} 
[2026-08-05 16:17:25] local.INFO: Processing buffer {"connection_id":151143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1868978012d7f5fc005c5d7700008014331..."} 
[2026-08-05 16:17:25] local.INFO: Packet analysis {"connection_id":151143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:17:25] local.INFO: Extracted packet for processing {"connection_id":151143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763322304,"raw_latitude":96851824,"longitude_deg":76.3322304,"latitude_deg":9.6851824,"altitude":8,"angle":323,"satellites":49,"speed":31,"hex_longitude":"2d7f5fc0","hex_latitude":"05c5d770","is_valid_coordinates":true} 
[2026-08-05 16:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197228288001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370550137413435392,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184387777372536832,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785926683000,"timestamp_ms":1785926683000,"timestamp_seconds":1785926683,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1868978"} 
[2026-08-05 16:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 16:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197228288001,"66":27919,"89":206,"85":12288,"24":31,"16":370550137413435392,"45":9184387777372536832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-05 16:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197228288001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:17:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-05 16:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370550137413435392,"km_value":370550137413435.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184387777372536832,"description":"Unknown IO ID 45"} 
[2026-08-05 16:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197228288001,"power":27919,"unknown_89":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9184387777372536832}} 
[2026-08-05 16:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":151143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:17:25] local.INFO: GPS data processed {"connection_id":151143,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:17:25] local.INFO: Acknowledgment sent {"connection_id":151143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:17:39] local.INFO: TCP Data received {"connection_id":151144,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:17:39] local.INFO: Processing buffer {"connection_id":151144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:17:39] local.INFO: IMEI packet received {"connection_id":151144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":151144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:17:44] local.INFO: TCP Data received {"connection_id":151144,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:17:44] local.INFO: Processing buffer {"connection_id":151144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:17:44] local.INFO: IMEI packet received {"connection_id":151144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":151144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:17:45] local.INFO: TCP Data received {"connection_id":151144,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd186ef08012d196740071fee48003e005d2c..."} 
[2026-08-05 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd186ef08012d196740071fee48003e005d2c..."} 
[2026-08-05 16:17:45] local.INFO: Processing buffer {"connection_id":151144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd186ef08012d196740071fee48003e005d2c..."} 
[2026-08-05 16:17:45] local.INFO: Packet analysis {"connection_id":151144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:17:45] local.INFO: Extracted packet for processing {"connection_id":151144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197232128001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926709000,"timestamp_ms":1785926709000,"timestamp_seconds":1785926709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd186ef08"} 
[2026-08-05 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-08-05 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 16:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197232128001,"66":12928,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197232128001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:17:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197232128001,"power":12928,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":151144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:17:45] local.INFO: GPS data processed {"connection_id":151144,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:17:45] local.INFO: Acknowledgment sent {"connection_id":151144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:17:57] local.INFO: TCP Data received {"connection_id":151143,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd186cbe0012d7f4ac005c5f4a0000601452e..."} 
[2026-08-05 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd186cbe0012d7f4ac005c5f4a0000601452e..."} 
[2026-08-05 16:17:57] local.INFO: Processing buffer {"connection_id":151143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd186cbe0012d7f4ac005c5f4a0000601452e..."} 
[2026-08-05 16:17:57] local.INFO: Packet analysis {"connection_id":151143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:17:57] local.INFO: Extracted packet for processing {"connection_id":151143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd186"} 
[2026-08-05 16:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763316928,"raw_latitude":96859296,"longitude_deg":76.3316928,"latitude_deg":9.6859296,"altitude":6,"angle":325,"satellites":46,"speed":23,"hex_longitude":"2d7f4ac0","hex_latitude":"05c5f4a0","is_valid_coordinates":true} 
[2026-08-05 16:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197230848001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370550579795066880,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178265696630960128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785926700000,"timestamp_ms":1785926700000,"timestamp_seconds":1785926700,"priority":1,"record_length":96,"hex_timestamp":"0000019fd186cbe0"} 
[2026-08-05 16:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197230848001,"66":27908,"89":206,"85":12288,"24":23,"16":370550579795066880,"45":9178265696630960128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-05 16:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197230848001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:17:57] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-05 16:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370550579795066880,"km_value":370550579795066.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178265696630960128,"description":"Unknown IO ID 45"} 
[2026-08-05 16:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197230848001,"power":27908,"unknown_89":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9178265696630960128}} 
[2026-08-05 16:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":151143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:17:57] local.INFO: GPS data processed {"connection_id":151143,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:17:57] local.INFO: Acknowledgment sent {"connection_id":151143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:18:14] local.INFO: TCP Data received {"connection_id":149724,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:18:14] local.INFO: Processing buffer {"connection_id":149724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:18:14] local.INFO: IMEI packet received {"connection_id":149724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":149724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:18:16] local.INFO: TCP Data received {"connection_id":151144,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1874110012d196740071fee48003e005d2d..."} 
[2026-08-05 16:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1874110012d196740071fee48003e005d2d..."} 
[2026-08-05 16:18:16] local.INFO: Processing buffer {"connection_id":151144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1874110012d196740071fee48003e005d2d..."} 
[2026-08-05 16:18:16] local.INFO: Packet analysis {"connection_id":151144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd187"} 
[2026-08-05 16:18:16] local.INFO: Extracted packet for processing {"connection_id":151144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd187"} 
[2026-08-05 16:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197237504001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785926730000,"timestamp_ms":1785926730000,"timestamp_seconds":1785926730,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1874110"} 
[2026-08-05 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-08-05 16:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-05 16:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197237504001,"66":12950,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197237504001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:18:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197237504001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":151144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:18:16] local.INFO: GPS data processed {"connection_id":151144,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:18:16] local.INFO: Acknowledgment sent {"connection_id":151144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:18:19] local.INFO: TCP Data received {"connection_id":149724,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:18:19] local.INFO: Processing buffer {"connection_id":149724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:18:19] local.INFO: IMEI packet received {"connection_id":149724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":149724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:18:20] local.INFO: TCP Data received {"connection_id":149724,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd188b810012d7e5fc005c6d8000008013334..."} 
[2026-08-05 16:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd188b810012d7e5fc005c6d8000008013334..."} 
[2026-08-05 16:18:20] local.INFO: Processing buffer {"connection_id":149724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd188b810012d7e5fc005c6d8000008013334..."} 
[2026-08-05 16:18:20] local.INFO: Packet analysis {"connection_id":149724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd188"} 
[2026-08-05 16:18:20] local.INFO: Extracted packet for processing {"connection_id":149724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd188"} 
[2026-08-05 16:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763256768,"raw_latitude":96917504,"longitude_deg":76.3256768,"latitude_deg":9.6917504,"altitude":8,"angle":307,"satellites":52,"speed":34,"hex_longitude":"2d7e5fc0","hex_latitude":"05c6d800","is_valid_coordinates":true} 
[2026-08-05 16:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197265152001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-05 16:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370554672898899968,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114581983165585408,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-05 16:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785926826000,"timestamp_ms":1785926826000,"timestamp_seconds":1785926826,"priority":1,"record_length":96,"hex_timestamp":"0000019fd188b810"} 
[2026-08-05 16:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197265152001,"66":27974,"200":0,"85":12288,"24":34,"16":370554672898899968,"45":9114581983165585408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-05 16:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197265152001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370554672898899968,"km_value":370554672898899.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114581983165585408,"description":"Unknown IO ID 45"} 
[2026-08-05 16:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197265152001,"power":27974,"gsm_signal":0,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9114581983165585408}} 
[2026-08-05 16:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":149724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:18:20] local.INFO: GPS data processed {"connection_id":149724,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:18:20] local.INFO: Acknowledgment sent {"connection_id":149724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:18:44] local.INFO: TCP Data received {"connection_id":149725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:18:44] local.INFO: Processing buffer {"connection_id":149725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:18:44] local.INFO: IMEI packet received {"connection_id":149725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":149725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:18:49] local.INFO: TCP Data received {"connection_id":149725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:18:49] local.INFO: Processing buffer {"connection_id":149725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:18:49] local.INFO: IMEI packet received {"connection_id":149725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":149725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:18:50] local.INFO: TCP Data received {"connection_id":149725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1879318012d196740071fee48003e005d29..."} 
[2026-08-05 16:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1879318012d196740071fee48003e005d29..."} 
[2026-08-05 16:18:50] local.INFO: Processing buffer {"connection_id":149725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1879318012d196740071fee48003e005d29..."} 
[2026-08-05 16:18:50] local.INFO: Packet analysis {"connection_id":149725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd187"} 
[2026-08-05 16:18:50] local.INFO: Extracted packet for processing {"connection_id":149725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd187"} 
[2026-08-05 16:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197242880001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785926751000,"timestamp_ms":1785926751000,"timestamp_seconds":1785926751,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1879318"} 
[2026-08-05 16:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 16:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197242880001,"66":12950,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197242880001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:18:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197242880001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":149725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:18:50] local.INFO: GPS data processed {"connection_id":149725,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:18:50] local.INFO: Acknowledgment sent {"connection_id":149725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:18:50] local.INFO: TCP Data received {"connection_id":149724,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd188e6f0012d7e430005c6ec500007012f33..."} 
[2026-08-05 16:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd188e6f0012d7e430005c6ec500007012f33..."} 
[2026-08-05 16:18:50] local.INFO: Processing buffer {"connection_id":149724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd188e6f0012d7e430005c6ec500007012f33..."} 
[2026-08-05 16:18:50] local.INFO: Packet analysis {"connection_id":149724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd188"} 
[2026-08-05 16:18:50] local.INFO: Extracted packet for processing {"connection_id":149724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd188"} 
[2026-08-05 16:18:50] local.INFO: GPS Element Parsed {"raw_longitude":763249408,"raw_latitude":96922704,"longitude_deg":76.3249408,"latitude_deg":9.6922704,"altitude":7,"angle":303,"satellites":51,"speed":28,"hex_longitude":"2d7e4300","hex_latitude":"05c6ec50","is_valid_coordinates":true} 
[2026-08-05 16:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197267456001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-05 16:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370555106690596864,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106208102609846272,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-05 16:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785926838000,"timestamp_ms":1785926838000,"timestamp_seconds":1785926838,"priority":1,"record_length":96,"hex_timestamp":"0000019fd188e6f0"} 
[2026-08-05 16:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 16:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:18: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-08-05 16:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197267456001,"66":27919,"200":0,"85":12288,"24":28,"16":370555106690596864,"45":9106208102609846272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-05 16:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197267456001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:18:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370555106690596864,"km_value":370555106690596.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106208102609846272,"description":"Unknown IO ID 45"} 
[2026-08-05 16:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197267456001,"power":27919,"gsm_signal":0,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9106208102609846272}} 
[2026-08-05 16:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":149724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:18:50] local.INFO: GPS data processed {"connection_id":149724,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:18:50] local.INFO: Acknowledgment sent {"connection_id":149724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:18:55] local.INFO: TCP Data received {"connection_id":149725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd187e520012d196740071fee48003e005d2c..."} 
[2026-08-05 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd187e520012d196740071fee48003e005d2c..."} 
[2026-08-05 16:18:55] local.INFO: Processing buffer {"connection_id":149725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd187e520012d196740071fee48003e005d2c..."} 
[2026-08-05 16:18:55] local.INFO: Packet analysis {"connection_id":149725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd187"} 
[2026-08-05 16:18:55] local.INFO: Extracted packet for processing {"connection_id":149725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd187"} 
[2026-08-05 16:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197248256001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785926772000,"timestamp_ms":1785926772000,"timestamp_seconds":1785926772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd187e520"} 
[2026-08-05 16:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 16:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":149725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":149725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":149725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197248256001,"66":12917,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197248256001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:18:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197248256001,"power":12917,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":149725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:18:55] local.INFO: GPS data processed {"connection_id":149725,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:18:55] local.INFO: Acknowledgment sent {"connection_id":149725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:19:12] local.INFO: TCP Data received {"connection_id":149726,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:19:12] local.INFO: Processing buffer {"connection_id":149726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:19:12] local.INFO: IMEI packet received {"connection_id":149726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":149726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:19:15] local.INFO: TCP Data received {"connection_id":149726,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:19:15] local.INFO: Processing buffer {"connection_id":149726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:19:15] local.INFO: IMEI packet received {"connection_id":149726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":149726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:19:20] local.INFO: TCP Data received {"connection_id":149726,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:19:20] local.INFO: Processing buffer {"connection_id":149726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:19:20] local.INFO: IMEI packet received {"connection_id":149726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":149726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:19:20] local.INFO: TCP Data received {"connection_id":149726,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18911e8012d7e240005c702500007013033..."} 
[2026-08-05 16:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18911e8012d7e240005c702500007013033..."} 
[2026-08-05 16:19:20] local.INFO: Processing buffer {"connection_id":149726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18911e8012d7e240005c702500007013033..."} 
[2026-08-05 16:19:20] local.INFO: Packet analysis {"connection_id":149726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd189"} 
[2026-08-05 16:19:20] local.INFO: Extracted packet for processing {"connection_id":149726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd189"} 
[2026-08-05 16:19:20] local.INFO: GPS Element Parsed {"raw_longitude":763241472,"raw_latitude":96928336,"longitude_deg":76.3241472,"latitude_deg":9.6928336,"altitude":7,"angle":304,"satellites":51,"speed":41,"hex_longitude":"2d7e2400","hex_latitude":"05c70250","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197270528001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:19:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-05 16:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370555570547064832,"note":"Value kept but may cause issues"} 
[2026-08-05 16:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098115697030746112,"note":"Value kept but may cause issues"} 
[2026-08-05 16:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-05 16:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785926849000,"timestamp_ms":1785926849000,"timestamp_seconds":1785926849,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18911e8"} 
[2026-08-05 16:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197270528001,"66":27930,"200":0,"85":12288,"24":41,"16":370555570547064832,"45":9098115697030746112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-05 16:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197270528001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370555570547064832,"km_value":370555570547064.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098115697030746112,"description":"Unknown IO ID 45"} 
[2026-08-05 16:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197270528001,"power":27930,"gsm_signal":0,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9098115697030746112}} 
[2026-08-05 16:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":149726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:19:20] local.INFO: GPS data processed {"connection_id":149726,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:19:20] local.INFO: Acknowledgment sent {"connection_id":149726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:19:38] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:19:38] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:19:38] local.INFO: IMEI packet received {"connection_id":148510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":148510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:19:39] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:19:39] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:19:39] local.INFO: IMEI packet received {"connection_id":148510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":148510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:19:44] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:19:44] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:19:44] local.INFO: IMEI packet received {"connection_id":148510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":148510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:19:45] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1883728012d196740071fee48003e005d29..."} 
[2026-08-05 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1883728012d196740071fee48003e005d29..."} 
[2026-08-05 16:19:45] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1883728012d196740071fee48003e005d29..."} 
[2026-08-05 16:19:45] local.INFO: Packet analysis {"connection_id":148510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd188"} 
[2026-08-05 16:19:45] local.INFO: Extracted packet for processing {"connection_id":148510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd188"} 
[2026-08-05 16:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197253632001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926793000,"timestamp_ms":1785926793000,"timestamp_seconds":1785926793,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1883728"} 
[2026-08-05 16:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16: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-08-05 16:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 16:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197253632001,"66":12885,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197253632001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:19:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197253632001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":148510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:19:45] local.INFO: GPS data processed {"connection_id":148510,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:19:45] local.INFO: Acknowledgment sent {"connection_id":148510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:19:52] local.INFO: TCP Data received {"connection_id":149726,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18a65c0012d7d224005c82e200007015f35..."} 
[2026-08-05 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18a65c0012d7d224005c82e200007015f35..."} 
[2026-08-05 16:19:52] local.INFO: Processing buffer {"connection_id":149726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18a65c0012d7d224005c82e200007015f35..."} 
[2026-08-05 16:19:52] local.INFO: Packet analysis {"connection_id":149726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:19:52] local.INFO: Extracted packet for processing {"connection_id":149726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:19:52] local.INFO: GPS Element Parsed {"raw_longitude":763175488,"raw_latitude":97005088,"longitude_deg":76.3175488,"latitude_deg":9.7005088,"altitude":7,"angle":351,"satellites":53,"speed":53,"hex_longitude":"2d7d2240","hex_latitude":"05c82e20","is_valid_coordinates":true} 
[2026-08-05 16:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197293824001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370560672968212480,"note":"Value kept but may cause issues"} 
[2026-08-05 16:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016128593920,"note":"Value kept but may cause issues"} 
[2026-08-05 16:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785926936000,"timestamp_ms":1785926936000,"timestamp_seconds":1785926936,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18a65c0"} 
[2026-08-05 16:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197293824001,"66":27821,"199":206,"85":12288,"24":53,"16":370560672968212480,"45":9018599016128593920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-05 16:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197293824001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:19:52] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-05 16:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370560672968212480,"km_value":370560672968212.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016128593920,"description":"Unknown IO ID 45"} 
[2026-08-05 16:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197293824001,"power":27821,"trip_odometer":0.206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9018599016128593920}} 
[2026-08-05 16:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":149726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:19:52] local.INFO: GPS data processed {"connection_id":149726,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:19:52] local.INFO: Acknowledgment sent {"connection_id":149726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:20:15] local.INFO: TCP Data received {"connection_id":151145,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:20:15] local.INFO: Processing buffer {"connection_id":151145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:20:15] local.INFO: IMEI packet received {"connection_id":151145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":151145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:20:16] local.INFO: TCP Data received {"connection_id":151145,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:20:16] local.INFO: Processing buffer {"connection_id":151145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:20:16] local.INFO: IMEI packet received {"connection_id":151145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":151145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:20:16] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1888930012d196740071fee48003e005d2b..."} 
[2026-08-05 16:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1888930012d196740071fee48003e005d2b..."} 
[2026-08-05 16:20:16] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1888930012d196740071fee48003e005d2b..."} 
[2026-08-05 16:20:16] local.INFO: Packet analysis {"connection_id":148510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd188"} 
[2026-08-05 16:20:16] local.INFO: Extracted packet for processing {"connection_id":148510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd188"} 
[2026-08-05 16:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197259008001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785926814000,"timestamp_ms":1785926814000,"timestamp_seconds":1785926814,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1888930"} 
[2026-08-05 16:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16: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-08-05 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 16:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197259008001,"66":12852,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197259008001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:20:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197259008001,"power":12852,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":148510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:20:17] local.INFO: GPS data processed {"connection_id":148510,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:20:17] local.INFO: Acknowledgment sent {"connection_id":148510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:20:20] local.INFO: TCP Data received {"connection_id":151145,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:20:20] local.INFO: Processing buffer {"connection_id":151145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:20:20] local.INFO: IMEI packet received {"connection_id":151145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":151145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:20:31] local.INFO: TCP Data received {"connection_id":151145,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18a8118012d7d1d8005c853180007015f36..."} 
[2026-08-05 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18a8118012d7d1d8005c853180007015f36..."} 
[2026-08-05 16:20:31] local.INFO: Processing buffer {"connection_id":151145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18a8118012d7d1d8005c853180007015f36..."} 
[2026-08-05 16:20:31] local.INFO: Packet analysis {"connection_id":151145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:20:31] local.INFO: Extracted packet for processing {"connection_id":151145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:20:31] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":97014552,"longitude_deg":76.3174272,"latitude_deg":9.7014552,"altitude":7,"angle":351,"satellites":54,"speed":55,"hex_longitude":"2d7d1d80","hex_latitude":"05c85318","is_valid_coordinates":true} 
[2026-08-05 16:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197295616001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370561136824680448,"note":"Value kept but may cause issues"} 
[2026-08-05 16:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016839797526634496,"note":"Value kept but may cause issues"} 
[2026-08-05 16:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785926943000,"timestamp_ms":1785926943000,"timestamp_seconds":1785926943,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18a8118"} 
[2026-08-05 16:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 16:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197295616001,"66":27767,"205":206,"85":12288,"24":55,"16":370561136824680448,"45":9016839797526634496},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-05 16:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197295616001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:20:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370561136824680448,"km_value":370561136824680.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016839797526634496,"description":"Unknown IO ID 45"} 
[2026-08-05 16:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197295616001,"power":27767,"cell_id":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":9016839797526634496}} 
[2026-08-05 16:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":151145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:20:31] local.INFO: GPS data processed {"connection_id":151145,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:20:31] local.INFO: Acknowledgment sent {"connection_id":151145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:20:39] local.INFO: TCP Data received {"connection_id":149727,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:20:39] local.INFO: Processing buffer {"connection_id":149727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:20:39] local.INFO: IMEI packet received {"connection_id":149727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":149727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:20:42] local.INFO: TCP Data received {"connection_id":149727,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:20:42] local.INFO: Processing buffer {"connection_id":149727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:20:42] local.INFO: IMEI packet received {"connection_id":149727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":149727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:20:42] local.INFO: TCP Data received {"connection_id":149727,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd188db38012d196740071fee48003e005d2b..."} 
[2026-08-05 16:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd188db38012d196740071fee48003e005d2b..."} 
[2026-08-05 16:20:42] local.INFO: Processing buffer {"connection_id":149727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd188db38012d196740071fee48003e005d2b..."} 
[2026-08-05 16:20:42] local.INFO: Packet analysis {"connection_id":149727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd188"} 
[2026-08-05 16:20:42] local.INFO: Extracted packet for processing {"connection_id":149727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd188"} 
[2026-08-05 16:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197264384001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785926835000,"timestamp_ms":1785926835000,"timestamp_seconds":1785926835,"priority":1,"record_length":96,"hex_timestamp":"0000019fd188db38"} 
[2026-08-05 16:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 16:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197264384001,"66":12841,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197264384001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:20:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197264384001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":149727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:20:42] local.INFO: GPS data processed {"connection_id":149727,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:20:42] local.INFO: Acknowledgment sent {"connection_id":149727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:21:14] local.INFO: TCP Data received {"connection_id":149727,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1892d40012d196740071fee48003e005d2c..."} 
[2026-08-05 16:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1892d40012d196740071fee48003e005d2c..."} 
[2026-08-05 16:21:14] local.INFO: Processing buffer {"connection_id":149727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1892d40012d196740071fee48003e005d2c..."} 
[2026-08-05 16:21:14] local.INFO: Packet analysis {"connection_id":149727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd189"} 
[2026-08-05 16:21:14] local.INFO: Extracted packet for processing {"connection_id":149727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd189"} 
[2026-08-05 16:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197269760001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785926856000,"timestamp_ms":1785926856000,"timestamp_seconds":1785926856,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1892d40"} 
[2026-08-05 16:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-05 16:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197269760001,"66":12809,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197269760001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:21:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197269760001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":149727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:21:14] local.INFO: GPS data processed {"connection_id":149727,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:21:14] local.INFO: Acknowledgment sent {"connection_id":149727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:21:14] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:21:14] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:21:14] local.INFO: IMEI packet received {"connection_id":148511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":148511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:21:18] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:21:18] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:21:18] local.INFO: IMEI packet received {"connection_id":148511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":148511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:21:20] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:21:20] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:21:20] local.INFO: IMEI packet received {"connection_id":148511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":148511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:21:21] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18a9c70012d7d180005c878380009015f35..."} 
[2026-08-05 16:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18a9c70012d7d180005c878380009015f35..."} 
[2026-08-05 16:21:21] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18a9c70012d7d180005c878380009015f35..."} 
[2026-08-05 16:21:21] local.INFO: Packet analysis {"connection_id":148511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:21:21] local.INFO: Extracted packet for processing {"connection_id":148511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:21:21] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":97024056,"longitude_deg":76.3172864,"latitude_deg":9.7024056,"altitude":9,"angle":351,"satellites":53,"speed":53,"hex_longitude":"2d7d1800","hex_latitude":"05c87838","is_valid_coordinates":true} 
[2026-08-05 16:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197297408001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370561600681148416,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791389681664,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785926950000,"timestamp_ms":1785926950000,"timestamp_seconds":1785926950,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18a9c70"} 
[2026-08-05 16:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:21: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-08-05 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 16:21: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-08-05 16:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197297408001,"66":27930,"205":206,"85":12288,"24":53,"16":370561600681148416,"45":9015502791389681664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-05 16:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197297408001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-05 16:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370561600681148416,"km_value":370561600681148.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791389681664,"description":"Unknown IO ID 45"} 
[2026-08-05 16:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197297408001,"power":27930,"cell_id":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9015502791389681664}} 
[2026-08-05 16:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":148511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:21:21] local.INFO: GPS data processed {"connection_id":148511,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:21:21] local.INFO: Acknowledgment sent {"connection_id":148511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:21:40] local.INFO: TCP Data received {"connection_id":151146,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:21:40] local.INFO: Processing buffer {"connection_id":151146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:21:40] local.INFO: IMEI packet received {"connection_id":151146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":151146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:21:45] local.INFO: TCP Data received {"connection_id":151146,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:21:45] local.INFO: Processing buffer {"connection_id":151146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:21:45] local.INFO: IMEI packet received {"connection_id":151146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":151146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:21:45] local.INFO: TCP Data received {"connection_id":151146,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1897f48012d196740071fee48003e005d2a..."} 
[2026-08-05 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1897f48012d196740071fee48003e005d2a..."} 
[2026-08-05 16:21:45] local.INFO: Processing buffer {"connection_id":151146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1897f48012d196740071fee48003e005d2a..."} 
[2026-08-05 16:21:45] local.INFO: Packet analysis {"connection_id":151146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd189"} 
[2026-08-05 16:21:45] local.INFO: Extracted packet for processing {"connection_id":151146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd189"} 
[2026-08-05 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197275136001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926877000,"timestamp_ms":1785926877000,"timestamp_seconds":1785926877,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1897f48"} 
[2026-08-05 16:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3515302160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-8723745152048732352,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696062,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051012485549,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300855625510313260,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,11,159,219,45,64,238,62,43,10,66,137,55,1,240,85,227,209,31,4,113,205,147,72,41,239,50,2,38,7,164,100],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-05 16:21:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467673273911476224,"timestamp_seconds":4467673273911476.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 16:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197275136001,"66":12809,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197275136001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:21:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197275136001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":151146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:21:45] local.INFO: GPS data processed {"connection_id":151146,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:21:45] local.INFO: Acknowledgment sent {"connection_id":151146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:21:51] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18c4638012d7d1ec005ca7d600006000538..."} 
[2026-08-05 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18c4638012d7d1ec005ca7d600006000538..."} 
[2026-08-05 16:21:51] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18c4638012d7d1ec005ca7d600006000538..."} 
[2026-08-05 16:21:51] local.INFO: Packet analysis {"connection_id":148511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18c"} 
[2026-08-05 16:21:51] local.INFO: Extracted packet for processing {"connection_id":148511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18c"} 
[2026-08-05 16:21:51] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":97156448,"longitude_deg":76.3174592,"latitude_deg":9.7156448,"altitude":6,"angle":5,"satellites":56,"speed":59,"hex_longitude":"2d7d1ec0","hex_latitude":"05ca7d60","is_valid_coordinates":true} 
[2026-08-05 16:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197325568001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370568047427059712,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735237742592,"note":"Value kept but may cause issues"} 
[2026-08-05 16:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785927059000,"timestamp_ms":1785927059000,"timestamp_seconds":1785927059,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18c4638"} 
[2026-08-05 16:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 16:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197325568001,"66":27876,"131":206,"85":15104,"24":59,"16":370568047427059712,"45":9014728735237742592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-05 16:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197325568001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:21:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-05 16:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370568047427059712,"km_value":370568047427059.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735237742592,"description":"Unknown IO ID 45"} 
[2026-08-05 16:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197325568001,"power":27876,"unknown_131":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9014728735237742592}} 
[2026-08-05 16:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":148511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:21:51] local.INFO: GPS data processed {"connection_id":148511,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:21:51] local.INFO: Acknowledgment sent {"connection_id":148511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:22:16] local.INFO: TCP Data received {"connection_id":151146,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd189d150012d196740071fee48003e005d2b..."} 
[2026-08-05 16:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd189d150012d196740071fee48003e005d2b..."} 
[2026-08-05 16:22:16] local.INFO: Processing buffer {"connection_id":151146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd189d150012d196740071fee48003e005d2b..."} 
[2026-08-05 16:22:16] local.INFO: Packet analysis {"connection_id":151146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd189"} 
[2026-08-05 16:22:16] local.INFO: Extracted packet for processing {"connection_id":151146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd189"} 
[2026-08-05 16:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197280512001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785926898000,"timestamp_ms":1785926898000,"timestamp_seconds":1785926898,"priority":1,"record_length":96,"hex_timestamp":"0000019fd189d150"} 
[2026-08-05 16:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3515323160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-8700655407865436352,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696062,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051012485549,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300855625510313261,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:16] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,11,159,45,64,238,62,44,10,66,219,43,137,1,240,52,227,209,31,4,113,205,229,72,239,50,2,38,7,164,100],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-05 16:22:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467673265321541632,"timestamp_seconds":4467673265321541.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 16:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197280512001,"66":12722,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197280512001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:22:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:22:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197280512001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":151146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:22:16] local.INFO: GPS data processed {"connection_id":151146,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:22:16] local.INFO: Acknowledgment sent {"connection_id":151146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:22:19] local.INFO: TCP Data received {"connection_id":149728,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:22:19] local.INFO: Processing buffer {"connection_id":149728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:22:19] local.INFO: IMEI packet received {"connection_id":149728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":149728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:22:19] local.INFO: TCP Data received {"connection_id":149728,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:22:19] local.INFO: Processing buffer {"connection_id":149728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:22:19] local.INFO: IMEI packet received {"connection_id":149728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":149728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:22:24] local.INFO: TCP Data received {"connection_id":149728,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:22:24] local.INFO: Processing buffer {"connection_id":149728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:22:24] local.INFO: IMEI packet received {"connection_id":149728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":149728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:22:25] local.INFO: TCP Data received {"connection_id":149728,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18c5da8012d7d220005caa0080006000537..."} 
[2026-08-05 16:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18c5da8012d7d220005caa0080006000537..."} 
[2026-08-05 16:22:25] local.INFO: Processing buffer {"connection_id":149728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18c5da8012d7d220005caa0080006000537..."} 
[2026-08-05 16:22:25] local.INFO: Packet analysis {"connection_id":149728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18c"} 
[2026-08-05 16:22:25] local.INFO: Extracted packet for processing {"connection_id":149728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18c"} 
[2026-08-05 16:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763175424,"raw_latitude":97165320,"longitude_deg":76.3175424,"latitude_deg":9.716532,"altitude":6,"angle":5,"satellites":55,"speed":57,"hex_longitude":"2d7d2200","hex_latitude":"05caa008","is_valid_coordinates":true} 
[2026-08-05 16:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197327104001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370568481218756608,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635146895360,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785927065000,"timestamp_ms":1785927065000,"timestamp_seconds":1785927065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18c5da8"} 
[2026-08-05 16:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 16:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197327104001,"66":27843,"131":206,"85":15104,"24":57,"16":370568481218756608,"45":9015854635146895360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-05 16:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197327104001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:22:25] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-05 16:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370568481218756608,"km_value":370568481218756.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635146895360,"description":"Unknown IO ID 45"} 
[2026-08-05 16:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197327104001,"power":27843,"unknown_131":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9015854635146895360}} 
[2026-08-05 16:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":149728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:22:25] local.INFO: GPS data processed {"connection_id":149728,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:22:25] local.INFO: Acknowledgment sent {"connection_id":149728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:22:26] local.INFO: TCP Data received {"connection_id":149728,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18c7900012d7d248005cac4280006000337..."} 
[2026-08-05 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18c7900012d7d248005cac4280006000337..."} 
[2026-08-05 16:22:26] local.INFO: Processing buffer {"connection_id":149728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18c7900012d7d248005cac4280006000337..."} 
[2026-08-05 16:22:26] local.INFO: Packet analysis {"connection_id":149728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18c"} 
[2026-08-05 16:22:26] local.INFO: Extracted packet for processing {"connection_id":149728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18c"} 
[2026-08-05 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763176064,"raw_latitude":97174568,"longitude_deg":76.3176064,"latitude_deg":9.7174568,"altitude":6,"angle":3,"satellites":55,"speed":50,"hex_longitude":"2d7d2480","hex_latitude":"05cac428","is_valid_coordinates":true} 
[2026-08-05 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197328640001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370568927895355392,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016769428823476224,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785927072000,"timestamp_ms":1785927072000,"timestamp_seconds":1785927072,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18c7900"} 
[2026-08-05 16:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 16:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197328640001,"66":27865,"131":206,"85":15104,"24":50,"16":370568927895355392,"45":9016769428823476224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-05 16:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197328640001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:22:26] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-05 16:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370568927895355392,"km_value":370568927895355.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016769428823476224,"description":"Unknown IO ID 45"} 
[2026-08-05 16:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197328640001,"power":27865,"unknown_131":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9016769428823476224}} 
[2026-08-05 16:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":149728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:22:26] local.INFO: GPS data processed {"connection_id":149728,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:22:26] local.INFO: Acknowledgment sent {"connection_id":149728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:22:40] local.INFO: TCP Data received {"connection_id":151147,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:22:40] local.INFO: Processing buffer {"connection_id":151147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:22:40] local.INFO: IMEI packet received {"connection_id":151147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":151147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:22:44] local.INFO: TCP Data received {"connection_id":151147,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:22:44] local.INFO: Processing buffer {"connection_id":151147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:22:44] local.INFO: IMEI packet received {"connection_id":151147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":151147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:22:45] local.INFO: TCP Data received {"connection_id":151147,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18a2358012d196740071fee48003e005d2b..."} 
[2026-08-05 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18a2358012d196740071fee48003e005d2b..."} 
[2026-08-05 16:22:45] local.INFO: Processing buffer {"connection_id":151147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18a2358012d196740071fee48003e005d2b..."} 
[2026-08-05 16:22:45] local.INFO: Packet analysis {"connection_id":151147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:22:45] local.INFO: Extracted packet for processing {"connection_id":151147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197285888001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926919000,"timestamp_ms":1785926919000,"timestamp_seconds":1785926919,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18a2358"} 
[2026-08-05 16:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 16:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197285888001,"66":12798,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197285888001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:22:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197285888001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":151147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:22:45] local.INFO: GPS data processed {"connection_id":151147,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:22:45] local.INFO: Acknowledgment sent {"connection_id":151147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:22:57] local.INFO: TCP Data received {"connection_id":149728,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18c9458012d7d278005cae7380006000537..."} 
[2026-08-05 16:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18c9458012d7d278005cae7380006000537..."} 
[2026-08-05 16:22:57] local.INFO: Processing buffer {"connection_id":149728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18c9458012d7d278005cae7380006000537..."} 
[2026-08-05 16:22:57] local.INFO: Packet analysis {"connection_id":149728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18c"} 
[2026-08-05 16:22:57] local.INFO: Extracted packet for processing {"connection_id":149728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18c"} 
[2026-08-05 16:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763176832,"raw_latitude":97183544,"longitude_deg":76.3176832,"latitude_deg":9.7183544,"altitude":6,"angle":5,"satellites":55,"speed":51,"hex_longitude":"2d7d2780","hex_latitude":"05cae738","is_valid_coordinates":true} 
[2026-08-05 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197330432001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370569365982019584,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017473116267620352,"note":"Value kept but may cause issues"} 
[2026-08-05 16:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785927079000,"timestamp_ms":1785927079000,"timestamp_seconds":1785927079,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18c9458"} 
[2026-08-05 16:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 16:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197330432001,"66":27930,"131":206,"85":15104,"24":51,"16":370569365982019584,"45":9017473116267620352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-05 16:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197330432001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:22:57] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-05 16:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370569365982019584,"km_value":370569365982019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017473116267620352,"description":"Unknown IO ID 45"} 
[2026-08-05 16:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197330432001,"power":27930,"unknown_131":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9017473116267620352}} 
[2026-08-05 16:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":149728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:22:57] local.INFO: GPS data processed {"connection_id":149728,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:22:57] local.INFO: Acknowledgment sent {"connection_id":149728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:23:14] local.INFO: TCP Data received {"connection_id":148727,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:23:14] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:23:14] local.INFO: IMEI packet received {"connection_id":148727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":148727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:23:14] local.INFO: TCP Data received {"connection_id":148727,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:23:14] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:23:14] local.INFO: IMEI packet received {"connection_id":148727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":148727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:23:16] local.INFO: TCP Data received {"connection_id":151147,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18a7560012d196740071fee48003e005d2c..."} 
[2026-08-05 16:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18a7560012d196740071fee48003e005d2c..."} 
[2026-08-05 16:23:16] local.INFO: Processing buffer {"connection_id":151147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18a7560012d196740071fee48003e005d2c..."} 
[2026-08-05 16:23:16] local.INFO: Packet analysis {"connection_id":151147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:23:16] local.INFO: Extracted packet for processing {"connection_id":151147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197291264001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785926940000,"timestamp_ms":1785926940000,"timestamp_seconds":1785926940,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18a7560"} 
[2026-08-05 16:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 16:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197291264001,"66":12722,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197291264001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:23:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197291264001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":151147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:23:16] local.INFO: GPS data processed {"connection_id":151147,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:23:16] local.INFO: Acknowledgment sent {"connection_id":151147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:23:20] local.INFO: TCP Data received {"connection_id":148727,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:23:20] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:23:20] local.INFO: IMEI packet received {"connection_id":148727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":148727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:23:20] local.INFO: TCP Data received {"connection_id":148727,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18cafb0012d7d2ac005cb0b980006000437..."} 
[2026-08-05 16:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18cafb0012d7d2ac005cb0b980006000437..."} 
[2026-08-05 16:23:20] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18cafb0012d7d2ac005cb0b980006000437..."} 
[2026-08-05 16:23:20] local.INFO: Packet analysis {"connection_id":148727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18c"} 
[2026-08-05 16:23:20] local.INFO: Extracted packet for processing {"connection_id":148727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18c"} 
[2026-08-05 16:23:20] local.INFO: GPS Element Parsed {"raw_longitude":763177664,"raw_latitude":97192856,"longitude_deg":76.3177664,"latitude_deg":9.7192856,"altitude":6,"angle":4,"satellites":55,"speed":54,"hex_longitude":"2d7d2ac0","hex_latitude":"05cb0b98","is_valid_coordinates":true} 
[2026-08-05 16:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197332224001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370569816953585664,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018317541200050176,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785927086000,"timestamp_ms":1785927086000,"timestamp_seconds":1785927086,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18cafb0"} 
[2026-08-05 16:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197332224001,"66":27876,"131":206,"85":15104,"24":54,"16":370569816953585664,"45":9018317541200050176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-05 16:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197332224001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:23:20] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-05 16:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370569816953585664,"km_value":370569816953585.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018317541200050176,"description":"Unknown IO ID 45"} 
[2026-08-05 16:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197332224001,"power":27876,"unknown_131":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9018317541200050176}} 
[2026-08-05 16:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":148727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:23:20] local.INFO: GPS data processed {"connection_id":148727,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:23:20] local.INFO: Acknowledgment sent {"connection_id":148727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:23:39] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:23:39] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:23:39] local.INFO: IMEI packet received {"connection_id":148512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":148512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:23:44] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:23:44] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:23:44] local.INFO: IMEI packet received {"connection_id":148512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":148512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:23:45] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18ac768012d196740071fee48003e005d2c..."} 
[2026-08-05 16:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18ac768012d196740071fee48003e005d2c..."} 
[2026-08-05 16:23:45] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18ac768012d196740071fee48003e005d2c..."} 
[2026-08-05 16:23:45] local.INFO: Packet analysis {"connection_id":148512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:23:45] local.INFO: Extracted packet for processing {"connection_id":148512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18a"} 
[2026-08-05 16:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197296640001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785926961000,"timestamp_ms":1785926961000,"timestamp_seconds":1785926961,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18ac768"} 
[2026-08-05 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-08-05 16:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 16:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197296640001,"66":12667,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197296640001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:23:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197296640001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":148512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:23:45] local.INFO: GPS data processed {"connection_id":148512,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:23:45] local.INFO: Acknowledgment sent {"connection_id":148512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:23:51] local.INFO: TCP Data received {"connection_id":148727,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18e1af8012d7d50c005cd03f00007016337..."} 
[2026-08-05 16:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18e1af8012d7d50c005cd03f00007016337..."} 
[2026-08-05 16:23:51] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18e1af8012d7d50c005cd03f00007016337..."} 
[2026-08-05 16:23:51] local.INFO: Packet analysis {"connection_id":148727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18e"} 
[2026-08-05 16:23:51] local.INFO: Extracted packet for processing {"connection_id":148727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18e"} 
[2026-08-05 16:23:51] local.INFO: GPS Element Parsed {"raw_longitude":763187392,"raw_latitude":97321968,"longitude_deg":76.3187392,"latitude_deg":9.7321968,"altitude":7,"angle":355,"satellites":55,"speed":58,"hex_longitude":"2d7d50c0","hex_latitude":"05cd03f0","is_valid_coordinates":true} 
[2026-08-05 16:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197356288001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370576117670608896,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030632071464312832,"note":"Value kept but may cause issues"} 
[2026-08-05 16:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785927179000,"timestamp_ms":1785927179000,"timestamp_seconds":1785927179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18e1af8"} 
[2026-08-05 16:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 16:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197356288001,"66":27865,"236":206,"85":15104,"24":58,"16":370576117670608896,"45":9030632071464312832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 16:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197356288001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:23:51] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 16:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370576117670608896,"km_value":370576117670608.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030632071464312832,"description":"Unknown IO ID 45"} 
[2026-08-05 16:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197356288001,"power":27865,"unknown_236":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9030632071464312832}} 
[2026-08-05 16:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":148727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:23:51] local.INFO: GPS data processed {"connection_id":148727,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:23:51] local.INFO: Acknowledgment sent {"connection_id":148727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:24:14] local.INFO: TCP Data received {"connection_id":149729,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:24:14] local.INFO: Processing buffer {"connection_id":149729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:24:14] local.INFO: IMEI packet received {"connection_id":149729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":149729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:24:17] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18b1970012d196740071fee48003e005d2a..."} 
[2026-08-05 16:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18b1970012d196740071fee48003e005d2a..."} 
[2026-08-05 16:24:17] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18b1970012d196740071fee48003e005d2a..."} 
[2026-08-05 16:24:17] local.INFO: Packet analysis {"connection_id":148512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18b"} 
[2026-08-05 16:24:17] local.INFO: Extracted packet for processing {"connection_id":148512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18b"} 
[2026-08-05 16:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197302016001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785926982000,"timestamp_ms":1785926982000,"timestamp_seconds":1785926982,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18b1970"} 
[2026-08-05 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-08-05 16:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 16:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197302016001,"66":12678,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197302016001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:24:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197302016001,"power":12678,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":148512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:24:17] local.INFO: GPS data processed {"connection_id":148512,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:24:17] local.INFO: Acknowledgment sent {"connection_id":148512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:24:18] local.INFO: TCP Data received {"connection_id":149729,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:24:18] local.INFO: Processing buffer {"connection_id":149729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:24:18] local.INFO: IMEI packet received {"connection_id":149729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":149729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:24:18] local.INFO: TCP Data received {"connection_id":149729,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18e3650012d7d4e8005cd2c280008016337..."} 
[2026-08-05 16:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18e3650012d7d4e8005cd2c280008016337..."} 
[2026-08-05 16:24:18] local.INFO: Processing buffer {"connection_id":149729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18e3650012d7d4e8005cd2c280008016337..."} 
[2026-08-05 16:24:18] local.INFO: Packet analysis {"connection_id":149729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18e"} 
[2026-08-05 16:24:18] local.INFO: Extracted packet for processing {"connection_id":149729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18e"} 
[2026-08-05 16:24:18] local.INFO: GPS Element Parsed {"raw_longitude":763186816,"raw_latitude":97332264,"longitude_deg":76.3186816,"latitude_deg":9.7332264,"altitude":8,"angle":355,"satellites":55,"speed":59,"hex_longitude":"2d7d4e80","hex_latitude":"05cd2c28","is_valid_coordinates":true} 
[2026-08-05 16:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197357824001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370576615886815232,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029928384024801280,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785927186000,"timestamp_ms":1785927186000,"timestamp_seconds":1785927186,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18e3650"} 
[2026-08-05 16:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 16:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:24: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-08-05 16:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197357824001,"66":27745,"236":206,"85":15104,"24":59,"16":370576615886815232,"45":9029928384024801280},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 16:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197357824001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:24:18] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 16:24:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370576615886815232,"km_value":370576615886815.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029928384024801280,"description":"Unknown IO ID 45"} 
[2026-08-05 16:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197357824001,"power":27745,"unknown_236":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9029928384024801280}} 
[2026-08-05 16:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":149729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:24:18] local.INFO: GPS data processed {"connection_id":149729,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:24:18] local.INFO: Acknowledgment sent {"connection_id":149729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:24:39] local.INFO: TCP Data received {"connection_id":149730,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:24:39] local.INFO: Processing buffer {"connection_id":149730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:24:39] local.INFO: IMEI packet received {"connection_id":149730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":149730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:24:44] local.INFO: TCP Data received {"connection_id":149730,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:24:44] local.INFO: Processing buffer {"connection_id":149730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:24:44] local.INFO: IMEI packet received {"connection_id":149730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":149730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:24:45] local.INFO: TCP Data received {"connection_id":149730,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18b6b78012d196740071fee48003e005d2b..."} 
[2026-08-05 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18b6b78012d196740071fee48003e005d2b..."} 
[2026-08-05 16:24:45] local.INFO: Processing buffer {"connection_id":149730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18b6b78012d196740071fee48003e005d2b..."} 
[2026-08-05 16:24:45] local.INFO: Packet analysis {"connection_id":149730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18b"} 
[2026-08-05 16:24:45] local.INFO: Extracted packet for processing {"connection_id":149730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18b"} 
[2026-08-05 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197307392001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785927003000,"timestamp_ms":1785927003000,"timestamp_seconds":1785927003,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18b6b78"} 
[2026-08-05 16:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 16:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197307392001,"66":12667,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197307392001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:24:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197307392001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":149730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:24:45] local.INFO: GPS data processed {"connection_id":149730,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:24:45] local.INFO: Acknowledgment sent {"connection_id":149730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:24:49] local.INFO: TCP Data received {"connection_id":149729,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18e4dc0012d7d4b4005cd4ed80008016236..."} 
[2026-08-05 16:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18e4dc0012d7d4b4005cd4ed80008016236..."} 
[2026-08-05 16:24:49] local.INFO: Processing buffer {"connection_id":149729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18e4dc0012d7d4b4005cd4ed80008016236..."} 
[2026-08-05 16:24:49] local.INFO: Packet analysis {"connection_id":149729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18e"} 
[2026-08-05 16:24:49] local.INFO: Extracted packet for processing {"connection_id":149729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18e"} 
[2026-08-05 16:24:49] local.INFO: GPS Element Parsed {"raw_longitude":763185984,"raw_latitude":97341144,"longitude_deg":76.3185984,"latitude_deg":9.7341144,"altitude":8,"angle":354,"satellites":54,"speed":59,"hex_longitude":"2d7d4b40","hex_latitude":"05cd4ed8","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197359616001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370577049678512128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029295065329838080,"note":"Value kept but may cause issues"} 
[2026-08-05 16:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785927192000,"timestamp_ms":1785927192000,"timestamp_seconds":1785927192,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18e4dc0"} 
[2026-08-05 16:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:24: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-08-05 16: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 16:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197359616001,"66":27908,"236":206,"85":15104,"24":59,"16":370577049678512128,"45":9029295065329838080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-05 16:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197359616001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:24:49] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-05 16:24:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370577049678512128,"km_value":370577049678512.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029295065329838080,"description":"Unknown IO ID 45"} 
[2026-08-05 16:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197359616001,"power":27908,"unknown_236":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9029295065329838080}} 
[2026-08-05 16:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":149729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:24:49] local.INFO: GPS data processed {"connection_id":149729,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:24:49] local.INFO: Acknowledgment sent {"connection_id":149729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:25:15] local.INFO: TCP Data received {"connection_id":151148,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:25:15] local.INFO: Processing buffer {"connection_id":151148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:25:15] local.INFO: IMEI packet received {"connection_id":151148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":151148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:25:15] local.INFO: TCP Data received {"connection_id":151148,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:25:15] local.INFO: Processing buffer {"connection_id":151148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:25:15] local.INFO: IMEI packet received {"connection_id":151148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":151148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:25:16] local.INFO: TCP Data received {"connection_id":149730,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18ef1d0012d196740071fee48003e005d29..."} 
[2026-08-05 16:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18ef1d0012d196740071fee48003e005d29..."} 
[2026-08-05 16:25:16] local.INFO: Processing buffer {"connection_id":149730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18ef1d0012d196740071fee48003e005d29..."} 
[2026-08-05 16:25:16] local.INFO: Packet analysis {"connection_id":149730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18e"} 
[2026-08-05 16:25:16] local.INFO: Extracted packet for processing {"connection_id":149730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18e"} 
[2026-08-05 16:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197366528001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785927234000,"timestamp_ms":1785927234000,"timestamp_seconds":1785927234,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18ef1d0"} 
[2026-08-05 16:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:25: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-08-05 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 16:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197366528001,"66":12591,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197366528001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:25:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:25:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197366528001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":149730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:25:16] local.INFO: GPS data processed {"connection_id":149730,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:25:16] local.INFO: Acknowledgment sent {"connection_id":149730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:25:19] local.INFO: TCP Data received {"connection_id":151148,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:25:19] local.INFO: Processing buffer {"connection_id":151148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:25:19] local.INFO: IMEI packet received {"connection_id":151148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":151148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:25:20] local.INFO: TCP Data received {"connection_id":151148,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18e6530012d7d484005cd71880008016337..."} 
[2026-08-05 16:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18e6530012d7d484005cd71880008016337..."} 
[2026-08-05 16:25:20] local.INFO: Processing buffer {"connection_id":151148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18e6530012d7d484005cd71880008016337..."} 
[2026-08-05 16:25:20] local.INFO: Packet analysis {"connection_id":151148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18e"} 
[2026-08-05 16:25:20] local.INFO: Extracted packet for processing {"connection_id":151148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18e"} 
[2026-08-05 16:25:20] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":97350024,"longitude_deg":76.3185216,"latitude_deg":9.7350024,"altitude":8,"angle":355,"satellites":55,"speed":58,"hex_longitude":"2d7d4840","hex_latitude":"05cd7188","is_valid_coordinates":true} 
[2026-08-05 16:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197361152001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370577479175241728,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028380271657801728,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785927198000,"timestamp_ms":1785927198000,"timestamp_seconds":1785927198,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18e6530"} 
[2026-08-05 16:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197361152001,"66":27908,"235":206,"85":15104,"24":58,"16":370577479175241728,"45":9028380271657801728},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-05 16:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197361152001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:25:20] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-05 16:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370577479175241728,"km_value":370577479175241.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028380271657801728,"description":"Unknown IO ID 45"} 
[2026-08-05 16:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197361152001,"power":27908,"unknown_235":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9028380271657801728}} 
[2026-08-05 16:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":151148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:25:20] local.INFO: GPS data processed {"connection_id":151148,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:25:20] local.INFO: Acknowledgment sent {"connection_id":151148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:25:39] local.INFO: TCP Data received {"connection_id":149731,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:25:39] local.INFO: Processing buffer {"connection_id":149731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:25:39] local.INFO: IMEI packet received {"connection_id":149731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":149731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:25:44] local.INFO: TCP Data received {"connection_id":149731,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:25:44] local.INFO: Processing buffer {"connection_id":149731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:25:44] local.INFO: IMEI packet received {"connection_id":149731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":149731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:25:45] local.INFO: TCP Data received {"connection_id":149731,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18f43d8012d196740071fee48003e005d2d..."} 
[2026-08-05 16:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18f43d8012d196740071fee48003e005d2d..."} 
[2026-08-05 16:25:45] local.INFO: Processing buffer {"connection_id":149731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18f43d8012d196740071fee48003e005d2d..."} 
[2026-08-05 16:25:45] local.INFO: Packet analysis {"connection_id":149731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18f"} 
[2026-08-05 16:25:45] local.INFO: Extracted packet for processing {"connection_id":149731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18f"} 
[2026-08-05 16:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197371904001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785927255000,"timestamp_ms":1785927255000,"timestamp_seconds":1785927255,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18f43d8"} 
[2026-08-05 16:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 16:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197371904001,"66":12591,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197371904001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:25:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197371904001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":149731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:25:45] local.INFO: GPS data processed {"connection_id":149731,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:25:45] local.INFO: Acknowledgment sent {"connection_id":149731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:25:51] local.INFO: TCP Data received {"connection_id":151148,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18fe7e8012d7d4ac005cf8a480007000135..."} 
[2026-08-05 16:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18fe7e8012d7d4ac005cf8a480007000135..."} 
[2026-08-05 16:25:51] local.INFO: Processing buffer {"connection_id":151148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18fe7e8012d7d4ac005cf8a480007000135..."} 
[2026-08-05 16:25:51] local.INFO: Packet analysis {"connection_id":151148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18f"} 
[2026-08-05 16:25:51] local.INFO: Extracted packet for processing {"connection_id":151148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18f"} 
[2026-08-05 16:25:51] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97487432,"longitude_deg":76.3185856,"latitude_deg":9.7487432,"altitude":7,"angle":1,"satellites":53,"speed":58,"hex_longitude":"2d7d4ac0","hex_latitude":"05cf8a48","is_valid_coordinates":true} 
[2026-08-05 16:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197386240001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370584149259452416,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165460072448,"note":"Value kept but may cause issues"} 
[2026-08-05 16:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785927297000,"timestamp_ms":1785927297000,"timestamp_seconds":1785927297,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18fe7e8"} 
[2026-08-05 16:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197386240001,"66":27876,"198":206,"85":15104,"24":58,"16":370584149259452416,"45":9028169165460072448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-05 16:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197386240001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:25:51] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-05 16:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370584149259452416,"km_value":370584149259452.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165460072448,"description":"Unknown IO ID 45"} 
[2026-08-05 16:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197386240001,"power":27876,"unknown_198":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9028169165460072448}} 
[2026-08-05 16:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":151148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:25:51] local.INFO: GPS data processed {"connection_id":151148,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:25:51] local.INFO: Acknowledgment sent {"connection_id":151148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:26:17] local.INFO: TCP Data received {"connection_id":149731,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18f95e0012d196740071fee48003e005d2d..."} 
[2026-08-05 16:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18f95e0012d196740071fee48003e005d2d..."} 
[2026-08-05 16:26:17] local.INFO: Processing buffer {"connection_id":149731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18f95e0012d196740071fee48003e005d2d..."} 
[2026-08-05 16:26:17] local.INFO: Packet analysis {"connection_id":149731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18f"} 
[2026-08-05 16:26:17] local.INFO: Extracted packet for processing {"connection_id":149731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18f"} 
[2026-08-05 16:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":62,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-08-05 16:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197377280001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10708573239640064,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894054400,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785927276000,"timestamp_ms":1785927276000,"timestamp_seconds":1785927276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18f95e0"} 
[2026-08-05 16:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 16:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197377280001,"66":12558,"103":206,"83":41984,"24":0,"16":10708573239640064,"45":1830502172894054400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197377280001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:26:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10708573239640064,"km_value":10708573239640.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894054400,"description":"Unknown IO ID 45"} 
[2026-08-05 16:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197377280001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894054400}} 
[2026-08-05 16:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":149731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:26:17] local.INFO: GPS data processed {"connection_id":149731,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:26:17] local.INFO: Acknowledgment sent {"connection_id":149731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:26:25] local.INFO: TCP Data received {"connection_id":148728,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:26:25] local.INFO: Processing buffer {"connection_id":148728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:26:25] local.INFO: IMEI packet received {"connection_id":148728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":148728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:26:25] local.INFO: TCP Data received {"connection_id":148728,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:26:25] local.INFO: Processing buffer {"connection_id":148728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:26:25] local.INFO: IMEI packet received {"connection_id":148728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":148728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:26:26] local.INFO: TCP Data received {"connection_id":148728,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd18fff58012d7d4b8005cfad180007000035..."} 
[2026-08-05 16:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd18fff58012d7d4b8005cfad180007000035..."} 
[2026-08-05 16:26:26] local.INFO: Processing buffer {"connection_id":148728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd18fff58012d7d4b8005cfad180007000035..."} 
[2026-08-05 16:26:26] local.INFO: Packet analysis {"connection_id":148728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd18f"} 
[2026-08-05 16:26:26] local.INFO: Extracted packet for processing {"connection_id":148728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd18f"} 
[2026-08-05 16:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":97496344,"longitude_deg":76.3186048,"latitude_deg":9.7496344,"altitude":7,"angle":0,"satellites":53,"speed":59,"hex_longitude":"2d7d4b80","hex_latitude":"05cfad18","is_valid_coordinates":true} 
[2026-08-05 16:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197388032001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370584583051149312,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534206896128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785927303000,"timestamp_ms":1785927303000,"timestamp_seconds":1785927303,"priority":1,"record_length":96,"hex_timestamp":"0000019fd18fff58"} 
[2026-08-05 16:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 16:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197388032001,"66":27952,"198":206,"85":15104,"24":59,"16":370584583051149312,"45":9028239534206896128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-05 16:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197388032001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:26:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-05 16:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370584583051149312,"km_value":370584583051149.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534206896128,"description":"Unknown IO ID 45"} 
[2026-08-05 16:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197388032001,"power":27952,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9028239534206896128}} 
[2026-08-05 16:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":148728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:26:26] local.INFO: GPS data processed {"connection_id":148728,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:26:26] local.INFO: Acknowledgment sent {"connection_id":148728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:26:31] local.INFO: TCP Data received {"connection_id":148728,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19016c8012d7d4b4005cfcfe00006016737..."} 
[2026-08-05 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19016c8012d7d4b4005cfcfe00006016737..."} 
[2026-08-05 16:26:31] local.INFO: Processing buffer {"connection_id":148728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19016c8012d7d4b4005cfcfe00006016737..."} 
[2026-08-05 16:26:31] local.INFO: Packet analysis {"connection_id":148728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd190"} 
[2026-08-05 16:26:31] local.INFO: Extracted packet for processing {"connection_id":148728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd190"} 
[2026-08-05 16:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763185984,"raw_latitude":97505248,"longitude_deg":76.3185984,"latitude_deg":9.7505248,"altitude":6,"angle":359,"satellites":55,"speed":59,"hex_longitude":"2d7d4b40","hex_latitude":"05cfcfe0","is_valid_coordinates":true} 
[2026-08-05 16:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197389568001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370585012547878912,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028450640441710592,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785927309000,"timestamp_ms":1785927309000,"timestamp_seconds":1785927309,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19016c8"} 
[2026-08-05 16:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-05 16:26:31] 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-08-05 16:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197389568001,"66":27865,"198":206,"85":15104,"24":59,"16":370585012547878912,"45":9028450640441710592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-05 16:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197389568001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:26:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-05 16:26:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370585012547878912,"km_value":370585012547878.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028450640441710592,"description":"Unknown IO ID 45"} 
[2026-08-05 16:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197389568001,"power":27865,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9028450640441710592}} 
[2026-08-05 16:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":148728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:26:31] local.INFO: GPS data processed {"connection_id":148728,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:26:31] local.INFO: Acknowledgment sent {"connection_id":148728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:26:44] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:26:44] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:26:44] local.INFO: IMEI packet received {"connection_id":148513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":148513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:26:45] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:26:45] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:26:45] local.INFO: IMEI packet received {"connection_id":148513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":148513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:26:46] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd190ce60012d19a980071ff0780038006e2d..."} 
[2026-08-05 16:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd190ce60012d19a980071ff0780038006e2d..."} 
[2026-08-05 16:26:46] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd190ce60012d19a980071ff0780038006e2d..."} 
[2026-08-05 16:26:46] local.INFO: Packet analysis {"connection_id":148513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd190"} 
[2026-08-05 16:26:46] local.INFO: Extracted packet for processing {"connection_id":148513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd190"} 
[2026-08-05 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756656512,"raw_latitude":119533688,"longitude_deg":75.6656512,"latitude_deg":11.9533688,"altitude":56,"angle":110,"satellites":45,"speed":22,"hex_longitude":"2d19a980","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197402624001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10709406463295488,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848094358938693632,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785927356000,"timestamp_ms":1785927356000,"timestamp_seconds":1785927356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd190ce60"} 
[2026-08-05 16:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 16:26: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-08-05 16: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-08-05 16:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197402624001,"66":13656,"103":206,"83":41984,"24":22,"16":10709406463295488,"45":1848094358938693632},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197402624001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:26:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10709406463295488,"km_value":10709406463295.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848094358938693632,"description":"Unknown IO ID 45"} 
[2026-08-05 16:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197402624001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1848094358938693632}} 
[2026-08-05 16:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":148513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:26:46] local.INFO: GPS data processed {"connection_id":148513,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:26:46] local.INFO: Acknowledgment sent {"connection_id":148513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:26:47] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd190d630012d19aec0071fef48003700622c..."} 
[2026-08-05 16:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd190d630012d19aec0071fef48003700622c..."} 
[2026-08-05 16:26:47] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd190d630012d19aec0071fef48003700622c..."} 
[2026-08-05 16:26:47] local.INFO: Packet analysis {"connection_id":148513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd190"} 
[2026-08-05 16:26:47] local.INFO: Extracted packet for processing {"connection_id":148513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd190"} 
[2026-08-05 16:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119533384,"longitude_deg":75.6657856,"latitude_deg":11.9533384,"altitude":55,"angle":98,"satellites":44,"speed":26,"hex_longitude":"2d19aec0","hex_latitude":"071fef48","is_valid_coordinates":true} 
[2026-08-05 16:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197403136001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10709475182772224,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849149890101278720,"note":"Value kept but may cause issues"} 
[2026-08-05 16:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785927358000,"timestamp_ms":1785927358000,"timestamp_seconds":1785927358,"priority":1,"record_length":96,"hex_timestamp":"0000019fd190d630"} 
[2026-08-05 16:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 16:26: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-08-05 16:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197403136001,"66":14211,"103":206,"83":41984,"24":26,"16":10709475182772224,"45":1849149890101278720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197403136001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:26:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:26:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10709475182772224,"km_value":10709475182772.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849149890101278720,"description":"Unknown IO ID 45"} 
[2026-08-05 16:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197403136001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1849149890101278720}} 
[2026-08-05 16:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":148513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:26:47] local.INFO: GPS data processed {"connection_id":148513,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:26:47] local.INFO: Acknowledgment sent {"connection_id":148513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:27:14] local.INFO: TCP Data received {"connection_id":151149,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:27:14] local.INFO: Processing buffer {"connection_id":151149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:27:14] local.INFO: IMEI packet received {"connection_id":151149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":151149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:27:15] local.INFO: TCP Data received {"connection_id":151149,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:27:15] local.INFO: Processing buffer {"connection_id":151149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:27:15] local.INFO: IMEI packet received {"connection_id":151149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":151149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:27:18] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1914f48012d19d080072013500030013b2d..."} 
[2026-08-05 16:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1914f48012d19d080072013500030013b2d..."} 
[2026-08-05 16:27:18] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1914f48012d19d080072013500030013b2d..."} 
[2026-08-05 16:27:18] local.INFO: Packet analysis {"connection_id":148513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:27:18] local.INFO: Extracted packet for processing {"connection_id":148513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119542608,"longitude_deg":75.6666496,"latitude_deg":11.9542608,"altitude":48,"angle":315,"satellites":45,"speed":33,"hex_longitude":"2d19d080","hex_latitude":"07201350","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197410048001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10710398600740864,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863575482659459072,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785927389000,"timestamp_ms":1785927389000,"timestamp_seconds":1785927389,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1914f48"} 
[2026-08-05 16:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 16:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197410048001,"66":14135,"103":206,"83":41984,"24":33,"16":10710398600740864,"45":1863575482659459072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197410048001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:27:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10710398600740864,"km_value":10710398600740.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863575482659459072,"description":"Unknown IO ID 45"} 
[2026-08-05 16:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197410048001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1863575482659459072}} 
[2026-08-05 16:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":148513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:27:18] local.INFO: GPS data processed {"connection_id":148513,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:27:18] local.INFO: Acknowledgment sent {"connection_id":148513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:27:20] local.INFO: TCP Data received {"connection_id":151149,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:27:20] local.INFO: Processing buffer {"connection_id":151149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:27:20] local.INFO: IMEI packet received {"connection_id":151149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":151149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:27:21] local.INFO: TCP Data received {"connection_id":151149,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19133f0012d7d3bc005d0f1d80007016537..."} 
[2026-08-05 16:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19133f0012d7d3bc005d0f1d80007016537..."} 
[2026-08-05 16:27:21] local.INFO: Processing buffer {"connection_id":151149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19133f0012d7d3bc005d0f1d80007016537..."} 
[2026-08-05 16:27:21] local.INFO: Packet analysis {"connection_id":151149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:27:21] local.INFO: Extracted packet for processing {"connection_id":151149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97579480,"longitude_deg":76.3182016,"latitude_deg":9.757948,"altitude":7,"angle":357,"satellites":55,"speed":50,"hex_longitude":"2d7d3bc0","hex_latitude":"05d0f1d8","is_valid_coordinates":true} 
[2026-08-05 16:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197407744001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370588624615374848,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728274853888,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 16:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785927382000,"timestamp_ms":1785927382000,"timestamp_seconds":1785927382,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19133f0"} 
[2026-08-05 16:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:27: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-08-05 16:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 16:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197407744001,"66":27832,"24":50,"85":15104,"16":370588624615374848,"45":9024650728274853888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-05 16:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197407744001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370588624615374848,"km_value":370588624615374.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728274853888,"description":"Unknown IO ID 45"} 
[2026-08-05 16:27:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457197407744001,"power":27832,"ignition":50,"unknown_85":15104,"odometer":null,"unknown_45":9024650728274853888}} 
[2026-08-05 16:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":151149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:27:21] local.INFO: GPS data processed {"connection_id":151149,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:27:21] local.INFO: Acknowledgment sent {"connection_id":151149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:27:22] local.INFO: TCP Data received {"connection_id":151149,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1914f48012d7d398005d115900007016436..."} 
[2026-08-05 16:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1914f48012d7d398005d115900007016436..."} 
[2026-08-05 16:27:22] local.INFO: Processing buffer {"connection_id":151149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1914f48012d7d398005d115900007016436..."} 
[2026-08-05 16:27:22] local.INFO: Packet analysis {"connection_id":151149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:27:22] local.INFO: Extracted packet for processing {"connection_id":151149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97588624,"longitude_deg":76.318144,"latitude_deg":9.7588624,"altitude":7,"angle":356,"satellites":54,"speed":53,"hex_longitude":"2d7d3980","hex_latitude":"05d11590","is_valid_coordinates":true} 
[2026-08-05 16:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197409792001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370589071291973632,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409579800576,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 16:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785927389000,"timestamp_ms":1785927389000,"timestamp_seconds":1785927389,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1914f48"} 
[2026-08-05 16:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-05 16:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197409792001,"66":27995,"24":53,"85":15104,"16":370589071291973632,"45":9024017409579800576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-05 16:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197409792001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:27:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370589071291973632,"km_value":370589071291973.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409579800576,"description":"Unknown IO ID 45"} 
[2026-08-05 16:27:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457197409792001,"power":27995,"ignition":53,"unknown_85":15104,"odometer":null,"unknown_45":9024017409579800576}} 
[2026-08-05 16:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":151149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:27:22] local.INFO: GPS data processed {"connection_id":151149,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:27:22] local.INFO: Acknowledgment sent {"connection_id":151149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:27:39] local.INFO: TCP Data received {"connection_id":148729,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:27:39] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:27:39] local.INFO: IMEI packet received {"connection_id":148729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":148729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:27:39] local.INFO: TCP Data received {"connection_id":148729,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:27:39] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:27:39] local.INFO: IMEI packet received {"connection_id":148729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":148729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:27:41] local.INFO: TCP Data received {"connection_id":148729,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:27:41] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:27:41] local.INFO: IMEI packet received {"connection_id":148729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":148729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:27:42] local.INFO: TCP Data received {"connection_id":148729,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1915718012d19cc40072018f8003001472d..."} 
[2026-08-05 16:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1915718012d19cc40072018f8003001472d..."} 
[2026-08-05 16:27:42] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1915718012d19cc40072018f8003001472d..."} 
[2026-08-05 16:27:42] local.INFO: Packet analysis {"connection_id":148729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:27:42] local.INFO: Extracted packet for processing {"connection_id":148729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119544056,"longitude_deg":75.6665408,"latitude_deg":11.9544056,"altitude":48,"angle":327,"satellites":45,"speed":37,"hex_longitude":"2d19cc40","hex_latitude":"072018f8","is_valid_coordinates":true} 
[2026-08-05 16:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197411584001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10710484500086784,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195277824,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785927391000,"timestamp_ms":1785927391000,"timestamp_seconds":1785927391,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1915718"} 
[2026-08-05 16:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-05 16:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197411584001,"66":14189,"103":206,"83":41984,"24":37,"16":10710484500086784,"45":1860127414195277824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197411584001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:27:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10710484500086784,"km_value":10710484500086.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195277824,"description":"Unknown IO ID 45"} 
[2026-08-05 16:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197411584001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1860127414195277824}} 
[2026-08-05 16:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":148729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:27:42] local.INFO: GPS data processed {"connection_id":148729,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:27:42] local.INFO: Acknowledgment sent {"connection_id":148729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:27:54] local.INFO: TCP Data received {"connection_id":151149,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1916aa0012d7d37c005d13bb80007016436..."} 
[2026-08-05 16:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1916aa0012d7d37c005d13bb80007016436..."} 
[2026-08-05 16:27:54] local.INFO: Processing buffer {"connection_id":151149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1916aa0012d7d37c005d13bb80007016436..."} 
[2026-08-05 16:27:54] local.INFO: Packet analysis {"connection_id":151149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:27:54] local.INFO: Extracted packet for processing {"connection_id":151149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":97598392,"longitude_deg":76.3180992,"latitude_deg":9.7598392,"altitude":7,"angle":356,"satellites":54,"speed":57,"hex_longitude":"2d7d37c0","hex_latitude":"05d13bb8","is_valid_coordinates":true} 
[2026-08-05 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197411584001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370589543738376192,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090884542464,"note":"Value kept but may cause issues"} 
[2026-08-05 16:27:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 16:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785927396000,"timestamp_ms":1785927396000,"timestamp_seconds":1785927396,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1916aa0"} 
[2026-08-05 16:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 16:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197411584001,"66":27908,"24":57,"85":15104,"16":370589543738376192,"45":9023384090884542464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-05 16:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197411584001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:27:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370589543738376192,"km_value":370589543738376.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090884542464,"description":"Unknown IO ID 45"} 
[2026-08-05 16:27:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457197411584001,"power":27908,"ignition":57,"unknown_85":15104,"odometer":null,"unknown_45":9023384090884542464}} 
[2026-08-05 16:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":151149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:27:54] local.INFO: GPS data processed {"connection_id":151149,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:27:54] local.INFO: Acknowledgment sent {"connection_id":151149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:28:13] local.INFO: TCP Data received {"connection_id":148729,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1924178012d19b9400720a850003301532c..."} 
[2026-08-05 16:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1924178012d19b9400720a850003301532c..."} 
[2026-08-05 16:28:13] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1924178012d19b9400720a850003301532c..."} 
[2026-08-05 16:28:13] local.INFO: Packet analysis {"connection_id":148729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd192"} 
[2026-08-05 16:28:13] local.INFO: Extracted packet for processing {"connection_id":148729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd192"} 
[2026-08-05 16:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119580752,"longitude_deg":75.6660544,"latitude_deg":11.9580752,"altitude":51,"angle":339,"satellites":44,"speed":12,"hex_longitude":"2d19b940","hex_latitude":"0720a850","is_valid_coordinates":true} 
[2026-08-05 16:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197427200001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10712382875631616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740621824,"note":"Value kept but may cause issues"} 
[2026-08-05 16:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785927451000,"timestamp_ms":1785927451000,"timestamp_seconds":1785927451,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1924178"} 
[2026-08-05 16:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 16:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197427200001,"66":14265,"103":206,"83":41984,"24":12,"16":10712382875631616,"45":1853653489740621824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197427200001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:28:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10712382875631616,"km_value":10712382875631.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740621824,"description":"Unknown IO ID 45"} 
[2026-08-05 16:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197427200001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1853653489740621824}} 
[2026-08-05 16:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":148729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:28:13] local.INFO: GPS data processed {"connection_id":148729,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:28:13] local.INFO: Acknowledgment sent {"connection_id":148729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:28:14] local.INFO: TCP Data received {"connection_id":151150,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:28:14] local.INFO: Processing buffer {"connection_id":151150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:28:14] local.INFO: IMEI packet received {"connection_id":151150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":151150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:28:19] local.INFO: TCP Data received {"connection_id":151150,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:28:19] local.INFO: Processing buffer {"connection_id":151150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:28:19] local.INFO: IMEI packet received {"connection_id":151150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":151150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:28:20] local.INFO: TCP Data received {"connection_id":151150,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19185f8012d7d360005d163100006016536..."} 
[2026-08-05 16:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19185f8012d7d360005d163100006016536..."} 
[2026-08-05 16:28:20] local.INFO: Processing buffer {"connection_id":151150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19185f8012d7d360005d163100006016536..."} 
[2026-08-05 16:28:20] local.INFO: Packet analysis {"connection_id":151150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:28:20] local.INFO: Extracted packet for processing {"connection_id":151150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":97608464,"longitude_deg":76.3180544,"latitude_deg":9.7608464,"altitude":6,"angle":357,"satellites":54,"speed":57,"hex_longitude":"2d7d3600","hex_latitude":"05d16310","is_valid_coordinates":true} 
[2026-08-05 16:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197413376001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370590033364647936,"note":"Value kept but may cause issues"} 
[2026-08-05 16:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509677799424,"note":"Value kept but may cause issues"} 
[2026-08-05 16:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785927403000,"timestamp_ms":1785927403000,"timestamp_seconds":1785927403,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19185f8"} 
[2026-08-05 16:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197413376001,"66":27626,"23":206,"85":15104,"24":57,"16":370590033364647936,"45":9022891509677799424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-05 16:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197413376001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:28:20] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-05 16:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370590033364647936,"km_value":370590033364647.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509677799424,"description":"Unknown IO ID 45"} 
[2026-08-05 16:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197413376001,"power":27626,"unknown_23":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9022891509677799424}} 
[2026-08-05 16:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":151150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:28:20] local.INFO: GPS data processed {"connection_id":151150,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:28:20] local.INFO: Acknowledgment sent {"connection_id":151150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:28:39] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:28:39] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:28:39] local.INFO: IMEI packet received {"connection_id":148514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":148514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:28:40] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:28:40] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:28:40] local.INFO: IMEI packet received {"connection_id":148514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":148514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:28:44] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:28:44] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:28:44] local.INFO: IMEI packet received {"connection_id":148514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":148514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:28:45] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1924560012d19b8400720a970003301362d..."} 
[2026-08-05 16:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1924560012d19b8400720a970003301362d..."} 
[2026-08-05 16:28:45] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1924560012d19b8400720a970003301362d..."} 
[2026-08-05 16:28:45] local.INFO: Packet analysis {"connection_id":148514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd192"} 
[2026-08-05 16:28:45] local.INFO: Extracted packet for processing {"connection_id":148514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd192"} 
[2026-08-05 16:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119581040,"longitude_deg":75.6660288,"latitude_deg":11.958104,"altitude":51,"angle":310,"satellites":45,"speed":15,"hex_longitude":"2d19b840","hex_latitude":"0720a970","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197427456001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10712400055500800,"note":"Value kept but may cause issues"} 
[2026-08-05 16:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996519936,"note":"Value kept but may cause issues"} 
[2026-08-05 16:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785927452000,"timestamp_ms":1785927452000,"timestamp_seconds":1785927452,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1924560"} 
[2026-08-05 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-08-05 16:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 16:28: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-08-05 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-08-05 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-08-05 16:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197427456001,"66":14243,"103":206,"83":41984,"24":15,"16":10712400055500800,"45":1853583120996519936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197427456001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:28:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10712400055500800,"km_value":10712400055500.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996519936,"description":"Unknown IO ID 45"} 
[2026-08-05 16:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197427456001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1853583120996519936}} 
[2026-08-05 16:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":148514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:28:45] local.INFO: GPS data processed {"connection_id":148514,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:28:45] local.INFO: Acknowledgment sent {"connection_id":148514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:29:15] local.INFO: TCP Data received {"connection_id":151150,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd191a150012d7d330005d189200006016236..."} 
[2026-08-05 16:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd191a150012d7d330005d189200006016236..."} 
[2026-08-05 16:29:15] local.INFO: Processing buffer {"connection_id":151150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd191a150012d7d330005d189200006016236..."} 
[2026-08-05 16:29:15] local.INFO: Packet analysis {"connection_id":151150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:29:15] local.INFO: Extracted packet for processing {"connection_id":151150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":97618208,"longitude_deg":76.3179776,"latitude_deg":9.7618208,"altitude":6,"angle":354,"satellites":54,"speed":53,"hex_longitude":"2d7d3300","hex_latitude":"05d18920","is_valid_coordinates":true} 
[2026-08-05 16:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197415168001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370590505811050496,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928471134208,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785927410000,"timestamp_ms":1785927410000,"timestamp_seconds":1785927410,"priority":1,"record_length":96,"hex_timestamp":"0000019fd191a150"} 
[2026-08-05 16:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-05 16:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197415168001,"66":27930,"23":206,"85":15104,"24":53,"16":370590505811050496,"45":9022398928471134208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-05 16:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197415168001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:29:15] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-05 16:29:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370590505811050496,"km_value":370590505811050.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928471134208,"description":"Unknown IO ID 45"} 
[2026-08-05 16:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197415168001,"power":27930,"unknown_23":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9022398928471134208}} 
[2026-08-05 16:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":151150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:29:15] local.INFO: GPS data processed {"connection_id":151150,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:29:15] local.INFO: Acknowledgment sent {"connection_id":151150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:29:16] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1924948012d19b6800720aa700033012a2c..."} 
[2026-08-05 16:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1924948012d19b6800720aa700033012a2c..."} 
[2026-08-05 16:29:16] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1924948012d19b6800720aa700033012a2c..."} 
[2026-08-05 16:29:16] local.INFO: Packet analysis {"connection_id":148514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd192"} 
[2026-08-05 16:29:16] local.INFO: Extracted packet for processing {"connection_id":148514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd192"} 
[2026-08-05 16:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756659840,"raw_latitude":119581296,"longitude_deg":75.665984,"latitude_deg":11.9581296,"altitude":51,"angle":298,"satellites":44,"speed":20,"hex_longitude":"2d19b680","hex_latitude":"0720aa70","is_valid_coordinates":true} 
[2026-08-05 16:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197427712001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10712425825304576,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019883008,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785927453000,"timestamp_ms":1785927453000,"timestamp_seconds":1785927453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1924948"} 
[2026-08-05 16:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:29: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-08-05 16: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-05 16:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197427712001,"66":14243,"103":206,"83":41984,"24":20,"16":10712425825304576,"45":1853301646019883008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197427712001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:29:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10712425825304576,"km_value":10712425825304.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019883008,"description":"Unknown IO ID 45"} 
[2026-08-05 16:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197427712001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853301646019883008}} 
[2026-08-05 16:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":148514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:29:16] local.INFO: GPS data processed {"connection_id":148514,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:29:16] local.INFO: Acknowledgment sent {"connection_id":148514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:29:19] local.INFO: TCP Data received {"connection_id":148515,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:29:19] local.INFO: Processing buffer {"connection_id":148515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:29:19] local.INFO: IMEI packet received {"connection_id":148515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":148515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:29:24] local.INFO: TCP Data received {"connection_id":148515,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:29:24] local.INFO: Processing buffer {"connection_id":148515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:29:24] local.INFO: IMEI packet received {"connection_id":148515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":148515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:29:25] local.INFO: TCP Data received {"connection_id":148515,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd191b4d8012d7d2f8005d19ca80006015634..."} 
[2026-08-05 16:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd191b4d8012d7d2f8005d19ca80006015634..."} 
[2026-08-05 16:29:25] local.INFO: Processing buffer {"connection_id":148515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd191b4d8012d7d2f8005d19ca80006015634..."} 
[2026-08-05 16:29:25] local.INFO: Packet analysis {"connection_id":148515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:29:25] local.INFO: Extracted packet for processing {"connection_id":148515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd191"} 
[2026-08-05 16:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":97623208,"longitude_deg":76.317888,"latitude_deg":9.7623208,"altitude":6,"angle":342,"satellites":52,"speed":31,"hex_longitude":"2d7d2f80","hex_latitude":"05d19ca8","is_valid_coordinates":true} 
[2026-08-05 16:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197416960001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370590754919153664,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503543496704,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785927415000,"timestamp_ms":1785927415000,"timestamp_seconds":1785927415,"priority":1,"record_length":96,"hex_timestamp":"0000019fd191b4d8"} 
[2026-08-05 16:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197416960001,"66":27843,"23":206,"85":15104,"24":31,"16":370590754919153664,"45":9021554503543496704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-05 16:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197416960001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:29:25] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-05 16:29:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370590754919153664,"km_value":370590754919153.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503543496704,"description":"Unknown IO ID 45"} 
[2026-08-05 16:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197416960001,"power":27843,"unknown_23":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9021554503543496704}} 
[2026-08-05 16:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":148515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:29:25] local.INFO: GPS data processed {"connection_id":148515,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:29:25] local.INFO: Acknowledgment sent {"connection_id":148515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:29:37] local.INFO: TCP Data received {"connection_id":151151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:37] local.INFO: Processing buffer {"connection_id":151151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:37] local.INFO: IMEI packet received {"connection_id":151151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":151151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:29:39] local.INFO: TCP Data received {"connection_id":151151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:39] local.INFO: Processing buffer {"connection_id":151151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:39] local.INFO: IMEI packet received {"connection_id":151151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":151151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:29:40] local.INFO: TCP Data received {"connection_id":151151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:40] local.INFO: Processing buffer {"connection_id":151151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:40] local.INFO: IMEI packet received {"connection_id":151151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":151151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:29:43] local.INFO: TCP Data received {"connection_id":151151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:43] local.INFO: Processing buffer {"connection_id":151151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:29:43] local.INFO: IMEI packet received {"connection_id":151151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":151151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:29:43] local.INFO: TCP Data received {"connection_id":151151,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1933790012d18ef800720dee0003b01472e..."} 
[2026-08-05 16:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1933790012d18ef800720dee0003b01472e..."} 
[2026-08-05 16:29:43] local.INFO: Processing buffer {"connection_id":151151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1933790012d18ef800720dee0003b01472e..."} 
[2026-08-05 16:29:43] local.INFO: Packet analysis {"connection_id":151151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd193"} 
[2026-08-05 16:29:43] local.INFO: Extracted packet for processing {"connection_id":151151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd193"} 
[2026-08-05 16:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756608896,"raw_latitude":119594720,"longitude_deg":75.6608896,"latitude_deg":11.959472,"altitude":59,"angle":327,"satellites":46,"speed":39,"hex_longitude":"2d18ef80","hex_latitude":"0720dee0","is_valid_coordinates":true} 
[2026-08-05 16:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197443072001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10715054345289728,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798132550587705344,"note":"Value kept but may cause issues"} 
[2026-08-05 16:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785927514000,"timestamp_ms":1785927514000,"timestamp_seconds":1785927514,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1933790"} 
[2026-08-05 16:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 16:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197443072001,"66":14298,"103":206,"83":41984,"24":39,"16":10715054345289728,"45":1798132550587705344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 16:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197443072001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:29:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 16:29:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10715054345289728,"km_value":10715054345289.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798132550587705344,"description":"Unknown IO ID 45"} 
[2026-08-05 16:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197443072001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1798132550587705344}} 
[2026-08-05 16:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":151151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:29:43] local.INFO: GPS data processed {"connection_id":151151,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:29:43] local.INFO: Acknowledgment sent {"connection_id":151151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:30:14] local.INFO: TCP Data received {"connection_id":151151,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd193f310012d18a540072175c8004a01212a..."} 
[2026-08-05 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd193f310012d18a540072175c8004a01212a..."} 
[2026-08-05 16:30:14] local.INFO: Processing buffer {"connection_id":151151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd193f310012d18a540072175c8004a01212a..."} 
[2026-08-05 16:30:14] local.INFO: Packet analysis {"connection_id":151151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd193"} 
[2026-08-05 16:30:14] local.INFO: Extracted packet for processing {"connection_id":151151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd193"} 
[2026-08-05 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756589888,"raw_latitude":119633352,"longitude_deg":75.6589888,"latitude_deg":11.9633352,"altitude":74,"angle":289,"satellites":42,"speed":31,"hex_longitude":"2d18a540","hex_latitude":"072175c8","is_valid_coordinates":true} 
[2026-08-05 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197455360001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10717214713839616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065399296,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785927562000,"timestamp_ms":1785927562000,"timestamp_seconds":1785927562,"priority":1,"record_length":96,"hex_timestamp":"0000019fd193f310"} 
[2026-08-05 16:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 16:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197455360001,"66":14102,"106":206,"83":41984,"24":31,"16":10717214713839616,"45":1777373771065399296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 16:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197455360001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:30:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 16:30:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10717214713839616,"km_value":10717214713839.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065399296,"description":"Unknown IO ID 45"} 
[2026-08-05 16:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197455360001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1777373771065399296}} 
[2026-08-05 16:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":151151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:30:14] local.INFO: GPS data processed {"connection_id":151151,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:30:14] local.INFO: Acknowledgment sent {"connection_id":151151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:30:33] local.INFO: TCP Data received {"connection_id":151152,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:30:33] local.INFO: Processing buffer {"connection_id":151152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:30:33] local.INFO: IMEI packet received {"connection_id":151152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":151152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:30:34] local.INFO: TCP Data received {"connection_id":151152,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:30:34] local.INFO: Processing buffer {"connection_id":151152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:30:34] local.INFO: IMEI packet received {"connection_id":151152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":151152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:30:35] local.INFO: TCP Data received {"connection_id":151152,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:30:35] local.INFO: Processing buffer {"connection_id":151152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:30:35] local.INFO: IMEI packet received {"connection_id":151152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":151152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:30:36] local.INFO: TCP Data received {"connection_id":151152,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1936a58012d7d2f4005d244f8000a000d37..."} 
[2026-08-05 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1936a58012d7d2f4005d244f8000a000d37..."} 
[2026-08-05 16:30:36] local.INFO: Processing buffer {"connection_id":151152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1936a58012d7d2f4005d244f8000a000d37..."} 
[2026-08-05 16:30:36] local.INFO: Packet analysis {"connection_id":151152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd193"} 
[2026-08-05 16:30:36] local.INFO: Extracted packet for processing {"connection_id":151152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd193"} 
[2026-08-05 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":97666296,"longitude_deg":76.3178816,"latitude_deg":9.7666296,"altitude":10,"angle":13,"satellites":55,"speed":6,"hex_longitude":"2d7d2f40","hex_latitude":"05d244f8","is_valid_coordinates":true} 
[2026-08-05 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197441536001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370592880927965184,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020147128672057344,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785927527000,"timestamp_ms":1785927527000,"timestamp_seconds":1785927527,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1936a58"} 
[2026-08-05 16:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 16:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197441536001,"66":27887,"117":206,"85":15104,"24":6,"16":370592880927965184,"45":9020147128672057344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-05 16:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197441536001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370592880927965184,"km_value":370592880927965.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020147128672057344,"description":"Unknown IO ID 45"} 
[2026-08-05 16:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197441536001,"power":27887,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9020147128672057344}} 
[2026-08-05 16:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":151152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:30:36] local.INFO: GPS data processed {"connection_id":151152,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:30:36] local.INFO: Acknowledgment sent {"connection_id":151152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:30:39] local.INFO: TCP Data received {"connection_id":149732,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:30:39] local.INFO: Processing buffer {"connection_id":149732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:30:39] local.INFO: IMEI packet received {"connection_id":149732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":149732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:30:40] local.INFO: TCP Data received {"connection_id":151152,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd193bc60012d7d344005d262d8000a000836..."} 
[2026-08-05 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd193bc60012d7d344005d262d8000a000836..."} 
[2026-08-05 16:30:40] local.INFO: Processing buffer {"connection_id":151152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd193bc60012d7d344005d262d8000a000836..."} 
[2026-08-05 16:30:40] local.INFO: Packet analysis {"connection_id":151152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd193"} 
[2026-08-05 16:30:40] local.INFO: Extracted packet for processing {"connection_id":151152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd193"} 
[2026-08-05 16:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":97673944,"longitude_deg":76.3180096,"latitude_deg":9.7673944,"altitude":10,"angle":8,"satellites":54,"speed":21,"hex_longitude":"2d7d3440","hex_latitude":"05d262d8","is_valid_coordinates":true} 
[2026-08-05 16:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197446912001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370593258885087232,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972393142272,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785927548000,"timestamp_ms":1785927548000,"timestamp_seconds":1785927548,"priority":1,"record_length":96,"hex_timestamp":"0000019fd193bc60"} 
[2026-08-05 16:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 16:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197446912001,"66":27908,"117":206,"85":15104,"24":21,"16":370593258885087232,"45":9020498972393142272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-05 16:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197446912001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:30:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-05 16:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370593258885087232,"km_value":370593258885087.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972393142272,"description":"Unknown IO ID 45"} 
[2026-08-05 16:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197446912001,"power":27908,"unknown_117":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9020498972393142272}} 
[2026-08-05 16:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":151152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:30:40] local.INFO: GPS data processed {"connection_id":151152,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:30:40] local.INFO: Acknowledgment sent {"connection_id":151152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:30:42] local.INFO: TCP Data received {"connection_id":149732,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:30:42] local.INFO: Processing buffer {"connection_id":149732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:30:42] local.INFO: IMEI packet received {"connection_id":149732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":149732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:30:43] local.INFO: TCP Data received {"connection_id":149732,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1941638012d18834007218180004a011928..."} 
[2026-08-05 16:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1941638012d18834007218180004a011928..."} 
[2026-08-05 16:30:43] local.INFO: Processing buffer {"connection_id":149732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1941638012d18834007218180004a011928..."} 
[2026-08-05 16:30:43] local.INFO: Packet analysis {"connection_id":149732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:30:43] local.INFO: Extracted packet for processing {"connection_id":149732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:30:43] local.INFO: GPS Element Parsed {"raw_longitude":756581184,"raw_latitude":119636352,"longitude_deg":75.6581184,"latitude_deg":11.9636352,"altitude":74,"angle":281,"satellites":40,"speed":41,"hex_longitude":"2d188340","hex_latitude":"07218180","is_valid_coordinates":true} 
[2026-08-05 16:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197455872001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10717652800503808,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775896027437844480,"note":"Value kept but may cause issues"} 
[2026-08-05 16:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785927571000,"timestamp_ms":1785927571000,"timestamp_seconds":1785927571,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1941638"} 
[2026-08-05 16:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 16:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197455872001,"66":14113,"106":206,"83":41984,"24":41,"16":10717652800503808,"45":1775896027437844480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 16:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197455872001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:30:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 16:30:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10717652800503808,"km_value":10717652800503.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775896027437844480,"description":"Unknown IO ID 45"} 
[2026-08-05 16:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197455872001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1775896027437844480}} 
[2026-08-05 16:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":149732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:30:43] local.INFO: GPS data processed {"connection_id":149732,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:30:43] local.INFO: Acknowledgment sent {"connection_id":149732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:31:14] local.INFO: TCP Data received {"connection_id":149732,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19421f0012d18770007218268004b010d2a..."} 
[2026-08-05 16:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19421f0012d18770007218268004b010d2a..."} 
[2026-08-05 16:31:14] local.INFO: Processing buffer {"connection_id":149732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19421f0012d18770007218268004b010d2a..."} 
[2026-08-05 16:31:14] local.INFO: Packet analysis {"connection_id":149732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:31:14] local.INFO: Extracted packet for processing {"connection_id":149732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636584,"longitude_deg":75.6578048,"latitude_deg":11.9636584,"altitude":75,"angle":269,"satellites":42,"speed":40,"hex_longitude":"2d187700","hex_latitude":"07218268","is_valid_coordinates":true} 
[2026-08-05 16:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197458176001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10717798829391872,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766325878230450176,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785927574000,"timestamp_ms":1785927574000,"timestamp_seconds":1785927574,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19421f0"} 
[2026-08-05 16:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-05 16:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197458176001,"66":14135,"106":206,"83":41984,"24":40,"16":10717798829391872,"45":1766325878230450176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 16:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197458176001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:31:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 16:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10717798829391872,"km_value":10717798829391.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766325878230450176,"description":"Unknown IO ID 45"} 
[2026-08-05 16:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197458176001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1766325878230450176}} 
[2026-08-05 16:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":149732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:31:14] local.INFO: GPS data processed {"connection_id":149732,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:31:14] local.INFO: Acknowledgment sent {"connection_id":149732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:31:16] local.INFO: TCP Data received {"connection_id":148731,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:31:16] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:31:16] local.INFO: IMEI packet received {"connection_id":148731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":148731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:31:17] local.INFO: TCP Data received {"connection_id":148731,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:31:17] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:31:17] local.INFO: IMEI packet received {"connection_id":148731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":148731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:31:18] local.INFO: TCP Data received {"connection_id":148731,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1940e68012d7d370005d27d380008000137..."} 
[2026-08-05 16:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1940e68012d7d370005d27d380008000137..."} 
[2026-08-05 16:31:18] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1940e68012d7d370005d27d380008000137..."} 
[2026-08-05 16:31:18] local.INFO: Packet analysis {"connection_id":148731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:31:18] local.INFO: Extracted packet for processing {"connection_id":148731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:31:18] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":97680696,"longitude_deg":76.31808,"latitude_deg":9.7680696,"altitude":8,"angle":1,"satellites":55,"speed":10,"hex_longitude":"2d7d3700","hex_latitude":"05d27d38","is_valid_coordinates":true} 
[2026-08-05 16:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197452288001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370593589597569024,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347278653440,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785927569000,"timestamp_ms":1785927569000,"timestamp_seconds":1785927569,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1940e68"} 
[2026-08-05 16:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:31: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-08-05 16:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197452288001,"66":27930,"117":206,"85":15104,"24":10,"16":370593589597569024,"45":9021906347278653440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-05 16:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197452288001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370593589597569024,"km_value":370593589597569.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347278653440,"description":"Unknown IO ID 45"} 
[2026-08-05 16:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197452288001,"power":27930,"unknown_117":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9021906347278653440}} 
[2026-08-05 16:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":148731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:31:18] local.INFO: GPS data processed {"connection_id":148731,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:31:18] local.INFO: Acknowledgment sent {"connection_id":148731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:31:19] local.INFO: TCP Data received {"connection_id":148731,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1944518012d7d380005d289d80008000d35..."} 
[2026-08-05 16:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1944518012d7d380005d289d80008000d35..."} 
[2026-08-05 16:31:19] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1944518012d7d380005d289d80008000d35..."} 
[2026-08-05 16:31:19] local.INFO: Packet analysis {"connection_id":148731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:31:19] local.INFO: Extracted packet for processing {"connection_id":148731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:31:19] local.INFO: GPS Element Parsed {"raw_longitude":763181056,"raw_latitude":97683928,"longitude_deg":76.3181056,"latitude_deg":9.7683928,"altitude":8,"angle":13,"satellites":53,"speed":7,"hex_longitude":"2d7d3800","hex_latitude":"05d289d8","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197457664001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370593748511358976,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403466336256,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785927583000,"timestamp_ms":1785927583000,"timestamp_seconds":1785927583,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1944518"} 
[2026-08-05 16:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197457664001,"66":27843,"117":206,"85":15104,"24":7,"16":370593748511358976,"45":9022680403466336256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-05 16:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197457664001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:31:19] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-05 16:31:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370593748511358976,"km_value":370593748511359.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403466336256,"description":"Unknown IO ID 45"} 
[2026-08-05 16:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197457664001,"power":27843,"unknown_117":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9022680403466336256}} 
[2026-08-05 16:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":148731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:31:19] local.INFO: GPS data processed {"connection_id":148731,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:31:19] local.INFO: Acknowledgment sent {"connection_id":148731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:31:39] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:39] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:39] local.INFO: IMEI packet received {"connection_id":148516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":148516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:31:41] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:41] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:41] local.INFO: IMEI packet received {"connection_id":148516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":148516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:31:42] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:42] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:42] local.INFO: IMEI packet received {"connection_id":148516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":148516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:31:43] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:43] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:31:43] local.INFO: IMEI packet received {"connection_id":148516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":148516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:31:44] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1955e58012d180f4007219200004700db2a..."} 
[2026-08-05 16:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1955e58012d180f4007219200004700db2a..."} 
[2026-08-05 16:31:44] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1955e58012d180f4007219200004700db2a..."} 
[2026-08-05 16:31:44] local.INFO: Packet analysis {"connection_id":148516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd195"} 
[2026-08-05 16:31:44] local.INFO: Extracted packet for processing {"connection_id":148516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd195"} 
[2026-08-05 16:31:44] local.INFO: GPS Element Parsed {"raw_longitude":756551488,"raw_latitude":119640576,"longitude_deg":75.6551488,"latitude_deg":11.9640576,"altitude":71,"angle":219,"satellites":42,"speed":35,"hex_longitude":"2d180f40","hex_latitude":"07219200","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197477888001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10719306362912768,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736841374422130688,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785927655000,"timestamp_ms":1785927655000,"timestamp_seconds":1785927655,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1955e58"} 
[2026-08-05 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-08-05 16:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 16:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197477888001,"66":14080,"107":206,"83":41984,"24":35,"16":10719306362912768,"45":1736841374422130688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 16:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197477888001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:31:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 16:31:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10719306362912768,"km_value":10719306362912.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736841374422130688,"description":"Unknown IO ID 45"} 
[2026-08-05 16:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197477888001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1736841374422130688}} 
[2026-08-05 16:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":148516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:31:44] local.INFO: GPS data processed {"connection_id":148516,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:31:44] local.INFO: Acknowledgment sent {"connection_id":148516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:31:44] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1956a10012d18078007218a68004700e72a..."} 
[2026-08-05 16:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1956a10012d18078007218a68004700e72a..."} 
[2026-08-05 16:31:44] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1956a10012d18078007218a68004700e72a..."} 
[2026-08-05 16:31:44] local.INFO: Packet analysis {"connection_id":148516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd195"} 
[2026-08-05 16:31:44] local.INFO: Extracted packet for processing {"connection_id":148516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd195"} 
[2026-08-05 16:31:44] local.INFO: GPS Element Parsed {"raw_longitude":756549504,"raw_latitude":119638632,"longitude_deg":75.6549504,"latitude_deg":11.9638632,"altitude":71,"angle":231,"satellites":42,"speed":37,"hex_longitude":"2d180780","hex_latitude":"07218a68","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197479680001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10719443801866240,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733674780933095424,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785927658000,"timestamp_ms":1785927658000,"timestamp_seconds":1785927658,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1956a10"} 
[2026-08-05 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-08-05 16:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3516176160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2779775048,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2499332097,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-05 16:31:44] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,107,83,24,241,157,16,21,159,67,45,128,161,70,42,10,66,20,59,192,164,41,55,1,240,33,227,209,4,113,205,166,32,176,239,56,2,38,7,72,18],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-05 16:31:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116330150130286592,"timestamp_seconds":5116330150130287.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 16:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197479680001,"66":14048,"107":206,"83":41984,"24":37,"16":10719443801866240,"45":1733674780933095424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 16:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197479680001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:31:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 16:31:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10719443801866240,"km_value":10719443801866.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733674780933095424,"description":"Unknown IO ID 45"} 
[2026-08-05 16:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197479680001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1733674780933095424}} 
[2026-08-05 16:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":148516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:31:45] local.INFO: GPS data processed {"connection_id":148516,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:31:45] local.INFO: Acknowledgment sent {"connection_id":148516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:31:50] local.INFO: TCP Data received {"connection_id":148731,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19454b8012d7d394005d28d280008001b36..."} 
[2026-08-05 16:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19454b8012d7d394005d28d280008001b36..."} 
[2026-08-05 16:31:50] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19454b8012d7d394005d28d280008001b36..."} 
[2026-08-05 16:31:50] local.INFO: Packet analysis {"connection_id":148731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:31:50] local.INFO: Extracted packet for processing {"connection_id":148731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:31:50] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":97684776,"longitude_deg":76.3181376,"latitude_deg":9.7684776,"altitude":8,"angle":27,"satellites":54,"speed":9,"hex_longitude":"2d7d3940","hex_latitude":"05d28d28","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197461248001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370593791461031936,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878443874304,"note":"Value kept but may cause issues"} 
[2026-08-05 16:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785927587000,"timestamp_ms":1785927587000,"timestamp_seconds":1785927587,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19454b8"} 
[2026-08-05 16:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 16:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:31: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-08-05 16:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197461248001,"66":27930,"117":206,"85":15104,"24":9,"16":370593791461031936,"45":9022961878443874304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-05 16:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197461248001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:31:50] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-05 16:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370593791461031936,"km_value":370593791461031.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878443874304,"description":"Unknown IO ID 45"} 
[2026-08-05 16:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197461248001,"power":27930,"unknown_117":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9022961878443874304}} 
[2026-08-05 16:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":148731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:31:50] local.INFO: GPS data processed {"connection_id":148731,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:31:50] local.INFO: Acknowledgment sent {"connection_id":148731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:32:14] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:32:14] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:32:14] local.INFO: IMEI packet received {"connection_id":148517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":148517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:32:16] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1957d98012d17fb0007218278004700f32d..."} 
[2026-08-05 16:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1957d98012d17fb0007218278004700f32d..."} 
[2026-08-05 16:32:16] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1957d98012d17fb0007218278004700f32d..."} 
[2026-08-05 16:32:16] local.INFO: Packet analysis {"connection_id":148516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd195"} 
[2026-08-05 16:32:16] local.INFO: Extracted packet for processing {"connection_id":148516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd195"} 
[2026-08-05 16:32:16] local.INFO: GPS Element Parsed {"raw_longitude":756546304,"raw_latitude":119636600,"longitude_deg":75.6546304,"latitude_deg":11.96366,"altitude":71,"angle":243,"satellites":45,"speed":18,"hex_longitude":"2d17fb00","hex_latitude":"07218278","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197480448001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10719624190492672,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1731493349863090176,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785927663000,"timestamp_ms":1785927663000,"timestamp_seconds":1785927663,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1957d98"} 
[2026-08-05 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-08-05 16:32: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-08-05 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 16:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197480448001,"66":14135,"107":206,"83":41984,"24":18,"16":10719624190492672,"45":1731493349863090176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 16:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197480448001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:32:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 16:32:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10719624190492672,"km_value":10719624190492.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1731493349863090176,"description":"Unknown IO ID 45"} 
[2026-08-05 16:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197480448001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1731493349863090176}} 
[2026-08-05 16:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":148516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:32:16] local.INFO: GPS data processed {"connection_id":148516,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:32:16] local.INFO: Acknowledgment sent {"connection_id":148516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:32:19] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:32:19] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:32:19] local.INFO: IMEI packet received {"connection_id":148517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":148517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:32:20] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1947010012d7d3bc005d292900008000b37..."} 
[2026-08-05 16:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1947010012d7d3bc005d292900008000b37..."} 
[2026-08-05 16:32:20] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1947010012d7d3bc005d292900008000b37..."} 
[2026-08-05 16:32:20] local.INFO: Packet analysis {"connection_id":148517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:32:20] local.INFO: Extracted packet for processing {"connection_id":148517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd194"} 
[2026-08-05 16:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97686160,"longitude_deg":76.3182016,"latitude_deg":9.768616,"altitude":8,"angle":11,"satellites":55,"speed":7,"hex_longitude":"2d7d3bc0","hex_latitude":"05d29290","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197462272001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370593868770443264,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722164979712,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785927594000,"timestamp_ms":1785927594000,"timestamp_seconds":1785927594,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1947010"} 
[2026-08-05 16:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:32: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-08-05 16:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197462272001,"66":27800,"117":206,"85":15104,"24":7,"16":370593868770443264,"45":9023313722164979712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-05 16:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197462272001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:32:20] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-05 16:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370593868770443264,"km_value":370593868770443.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722164979712,"description":"Unknown IO ID 45"} 
[2026-08-05 16:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197462272001,"power":27800,"unknown_117":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9023313722164979712}} 
[2026-08-05 16:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":148517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:32:20] local.INFO: GPS data processed {"connection_id":148517,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:32:20] local.INFO: Acknowledgment sent {"connection_id":148517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:32:39] local.INFO: TCP Data received {"connection_id":151153,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:32:39] local.INFO: Processing buffer {"connection_id":151153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:32:39] local.INFO: IMEI packet received {"connection_id":151153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":151153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:32:44] local.INFO: TCP Data received {"connection_id":151153,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:32:44] local.INFO: Processing buffer {"connection_id":151153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:32:44] local.INFO: IMEI packet received {"connection_id":151153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":151153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:32:45] local.INFO: TCP Data received {"connection_id":151153,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd195eee0012d17e00007219320004d012d2c..."} 
[2026-08-05 16:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd195eee0012d17e00007219320004d012d2c..."} 
[2026-08-05 16:32:45] local.INFO: Processing buffer {"connection_id":151153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd195eee0012d17e00007219320004d012d2c..."} 
[2026-08-05 16:32:45] local.INFO: Packet analysis {"connection_id":151153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd195"} 
[2026-08-05 16:32:45] local.INFO: Extracted packet for processing {"connection_id":151153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd195"} 
[2026-08-05 16:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756539392,"raw_latitude":119640864,"longitude_deg":75.6539392,"latitude_deg":11.9640864,"altitude":77,"angle":301,"satellites":44,"speed":8,"hex_longitude":"2d17e000","hex_latitude":"07219320","is_valid_coordinates":true} 
[2026-08-05 16:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197488896001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10720057982189568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720515825771915264,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32: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-08-05 16:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785927692000,"timestamp_ms":1785927692000,"timestamp_seconds":1785927692,"priority":1,"record_length":96,"hex_timestamp":"0000019fd195eee0"} 
[2026-08-05 16:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 16:32: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-08-05 16:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197488896001,"66":14428,"107":206,"83":41984,"24":8,"16":10720057982189568,"45":1720515825771915264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 16:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197488896001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:32:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 16:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10720057982189568,"km_value":10720057982189.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720515825771915264,"description":"Unknown IO ID 45"} 
[2026-08-05 16:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197488896001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1720515825771915264}} 
[2026-08-05 16:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":151153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:32:45] local.INFO: GPS data processed {"connection_id":151153,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:32:45] local.INFO: Acknowledgment sent {"connection_id":151153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:32:51] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1963530012d7d3d8005d454680000016327..."} 
[2026-08-05 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1963530012d7d3d8005d454680000016327..."} 
[2026-08-05 16:32:51] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1963530012d7d3d8005d454680000016327..."} 
[2026-08-05 16:32:51] local.INFO: Packet analysis {"connection_id":148517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd196"} 
[2026-08-05 16:32:51] local.INFO: Extracted packet for processing {"connection_id":148517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd196"} 
[2026-08-05 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97801320,"longitude_deg":76.3182464,"latitude_deg":9.780132,"altitude":0,"angle":355,"satellites":39,"speed":45,"hex_longitude":"2d7d3d80","hex_latitude":"05d45468","is_valid_coordinates":true} 
[2026-08-05 16:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197491456001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370599460817862656,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728331642880,"note":"Value kept but may cause issues"} 
[2026-08-05 16:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785927710000,"timestamp_ms":1785927710000,"timestamp_seconds":1785927710,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1963530"} 
[2026-08-05 16:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197491456001,"66":27800,"254":206,"85":15104,"24":45,"16":370599460817862656,"45":9024650728331642880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-05 16:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197491456001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:32:51] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-05 16:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370599460817862656,"km_value":370599460817862.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728331642880,"description":"Unknown IO ID 45"} 
[2026-08-05 16:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197491456001,"power":27800,"unknown_254":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9024650728331642880}} 
[2026-08-05 16:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":148517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:32:52] local.INFO: GPS data processed {"connection_id":148517,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:32:52] local.INFO: Acknowledgment sent {"connection_id":148517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:33:14] local.INFO: TCP Data received {"connection_id":149733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:33:14] local.INFO: Processing buffer {"connection_id":149733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:33:14] local.INFO: IMEI packet received {"connection_id":149733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":149733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:33:16] local.INFO: TCP Data received {"connection_id":151153,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19619d8012d17d50007219810004d012029..."} 
[2026-08-05 16:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19619d8012d17d50007219810004d012029..."} 
[2026-08-05 16:33:16] local.INFO: Processing buffer {"connection_id":151153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19619d8012d17d50007219810004d012029..."} 
[2026-08-05 16:33:16] local.INFO: Packet analysis {"connection_id":151153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd196"} 
[2026-08-05 16:33:16] local.INFO: Extracted packet for processing {"connection_id":151153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd196"} 
[2026-08-05 16:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756536576,"raw_latitude":119642128,"longitude_deg":75.6536576,"latitude_deg":11.9642128,"altitude":77,"angle":288,"satellites":41,"speed":12,"hex_longitude":"2d17d500","hex_latitude":"07219810","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197489152001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10720204011077632,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720375088283590656,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785927703000,"timestamp_ms":1785927703000,"timestamp_seconds":1785927703,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19619d8"} 
[2026-08-05 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-08-05 16:33: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-08-05 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 16:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197489152001,"66":14113,"107":206,"83":41984,"24":12,"16":10720204011077632,"45":1720375088283590656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 16:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197489152001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:33:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 16:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10720204011077632,"km_value":10720204011077.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720375088283590656,"description":"Unknown IO ID 45"} 
[2026-08-05 16:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197489152001,"power":14113,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1720375088283590656}} 
[2026-08-05 16:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":151153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:33:16] local.INFO: GPS data processed {"connection_id":151153,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:33:16] local.INFO: Acknowledgment sent {"connection_id":151153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:33:19] local.INFO: TCP Data received {"connection_id":149733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:33:19] local.INFO: Processing buffer {"connection_id":149733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:33:19] local.INFO: IMEI packet received {"connection_id":149733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":149733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:33:20] local.INFO: TCP Data received {"connection_id":149733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1965470012d7d38c005d478c80000016029..."} 
[2026-08-05 16:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1965470012d7d38c005d478c80000016029..."} 
[2026-08-05 16:33:20] local.INFO: Processing buffer {"connection_id":149733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1965470012d7d38c005d478c80000016029..."} 
[2026-08-05 16:33:20] local.INFO: Packet analysis {"connection_id":149733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd196"} 
[2026-08-05 16:33:20] local.INFO: Extracted packet for processing {"connection_id":149733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd196"} 
[2026-08-05 16:33:20] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":97810632,"longitude_deg":76.3181248,"latitude_deg":9.7810632,"altitude":0,"angle":352,"satellites":41,"speed":48,"hex_longitude":"2d7d38c0","hex_latitude":"05d478c8","is_valid_coordinates":true} 
[2026-08-05 16:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197493760001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370599916084396032,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509990845835264,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785927718000,"timestamp_ms":1785927718000,"timestamp_seconds":1785927718,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1965470"} 
[2026-08-05 16:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 16:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:33: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-08-05 16:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197493760001,"66":27919,"254":206,"85":15104,"24":48,"16":370599916084396032,"45":9024509990845835264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-05 16:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197493760001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:33:20] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-05 16:33:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370599916084396032,"km_value":370599916084396.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509990845835264,"description":"Unknown IO ID 45"} 
[2026-08-05 16:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197493760001,"power":27919,"unknown_254":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9024509990845835264}} 
[2026-08-05 16:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":149733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:33:20] local.INFO: GPS data processed {"connection_id":149733,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:33:20] local.INFO: Acknowledgment sent {"connection_id":149733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:33:39] local.INFO: TCP Data received {"connection_id":151154,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:33:39] local.INFO: Processing buffer {"connection_id":151154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:33:39] local.INFO: IMEI packet received {"connection_id":151154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":151154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:33:44] local.INFO: TCP Data received {"connection_id":151154,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:33:44] local.INFO: Processing buffer {"connection_id":151154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:33:44] local.INFO: IMEI packet received {"connection_id":151154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":151154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:33:45] local.INFO: TCP Data received {"connection_id":151154,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1970ff0012d17aa800721ce380049016121..."} 
[2026-08-05 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1970ff0012d17aa800721ce380049016121..."} 
[2026-08-05 16:33:45] local.INFO: Processing buffer {"connection_id":151154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1970ff0012d17aa800721ce380049016121..."} 
[2026-08-05 16:33:45] local.INFO: Packet analysis {"connection_id":151154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd197"} 
[2026-08-05 16:33:45] local.INFO: Extracted packet for processing {"connection_id":151154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd197"} 
[2026-08-05 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756525696,"raw_latitude":119655992,"longitude_deg":75.6525696,"latitude_deg":11.9655992,"altitude":73,"angle":353,"satellites":33,"speed":24,"hex_longitude":"2d17aa80","hex_latitude":"0721ce38","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197507584001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10721269162967040,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705456914521460736,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33: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-08-05 16:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785927766000,"timestamp_ms":1785927766000,"timestamp_seconds":1785927766,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1970ff0"} 
[2026-08-05 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-08-05 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 16:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197507584001,"66":14515,"107":206,"83":41984,"24":24,"16":10721269162967040,"45":1705456914521460736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 16:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197507584001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:33:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 16:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10721269162967040,"km_value":10721269162967.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705456914521460736,"description":"Unknown IO ID 45"} 
[2026-08-05 16:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197507584001,"power":14515,"unknown_107":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1705456914521460736}} 
[2026-08-05 16:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":151154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:33:45] local.INFO: GPS data processed {"connection_id":151154,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:33:45] local.INFO: Acknowledgment sent {"connection_id":151154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:33:51] local.INFO: TCP Data received {"connection_id":149733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19673b0012d7d320005d49e48000001602a..."} 
[2026-08-05 16:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19673b0012d7d320005d49e48000001602a..."} 
[2026-08-05 16:33:51] local.INFO: Processing buffer {"connection_id":149733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19673b0012d7d320005d49e48000001602a..."} 
[2026-08-05 16:33:51] local.INFO: Packet analysis {"connection_id":149733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd196"} 
[2026-08-05 16:33:51] local.INFO: Extracted packet for processing {"connection_id":149733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd196"} 
[2026-08-05 16:33:51] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":97820232,"longitude_deg":76.317952,"latitude_deg":9.7820232,"altitude":0,"angle":352,"satellites":42,"speed":46,"hex_longitude":"2d7d3200","hex_latitude":"05d49e48","is_valid_coordinates":true} 
[2026-08-05 16:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197495808001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370600388530798592,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172984708843520,"note":"Value kept but may cause issues"} 
[2026-08-05 16:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785927726000,"timestamp_ms":1785927726000,"timestamp_seconds":1785927726,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19673b0"} 
[2026-08-05 16:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197495808001,"66":27995,"254":206,"85":15104,"24":46,"16":370600388530798592,"45":9023172984708843520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-05 16:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197495808001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:33:51] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-05 16:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370600388530798592,"km_value":370600388530798.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172984708843520,"description":"Unknown IO ID 45"} 
[2026-08-05 16:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197495808001,"power":27995,"unknown_254":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9023172984708843520}} 
[2026-08-05 16:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":149733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:33:51] local.INFO: GPS data processed {"connection_id":149733,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:33:51] local.INFO: Acknowledgment sent {"connection_id":149733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:34:15] local.INFO: TCP Data received {"connection_id":151155,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:34:15] local.INFO: Processing buffer {"connection_id":151155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:34:15] local.INFO: IMEI packet received {"connection_id":151155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":151155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:34:15] local.INFO: TCP Data received {"connection_id":151155,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:34:15] local.INFO: Processing buffer {"connection_id":151155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:34:15] local.INFO: IMEI packet received {"connection_id":151155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":151155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:34:16] local.INFO: TCP Data received {"connection_id":151154,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1972378012d17aa800721d8f80049000324..."} 
[2026-08-05 16:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1972378012d17aa800721d8f80049000324..."} 
[2026-08-05 16:34:16] local.INFO: Processing buffer {"connection_id":151154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1972378012d17aa800721d8f80049000324..."} 
[2026-08-05 16:34:16] local.INFO: Packet analysis {"connection_id":151154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd197"} 
[2026-08-05 16:34:16] local.INFO: Extracted packet for processing {"connection_id":151154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd197"} 
[2026-08-05 16:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756525696,"raw_latitude":119658744,"longitude_deg":75.6525696,"latitude_deg":11.9658744,"altitude":73,"angle":3,"satellites":36,"speed":18,"hex_longitude":"2d17aa80","hex_latitude":"0721d8f8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197508096001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10721406601920512,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705316177033443328,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785927771000,"timestamp_ms":1785927771000,"timestamp_seconds":1785927771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1972378"} 
[2026-08-05 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-08-05 16:34: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-08-05 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 16:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197508096001,"66":14461,"107":206,"83":41984,"24":18,"16":10721406601920512,"45":1705316177033443328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 16:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197508096001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:34:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 16:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10721406601920512,"km_value":10721406601920.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705316177033443328,"description":"Unknown IO ID 45"} 
[2026-08-05 16:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197508096001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1705316177033443328}} 
[2026-08-05 16:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":151154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:34:17] local.INFO: GPS data processed {"connection_id":151154,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:34:17] local.INFO: Acknowledgment sent {"connection_id":151154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:34:19] local.INFO: TCP Data received {"connection_id":151155,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:34:19] local.INFO: Processing buffer {"connection_id":151155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:34:19] local.INFO: IMEI packet received {"connection_id":151155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":151155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:34:20] local.INFO: TCP Data received {"connection_id":151155,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19696d8012d7d2cc005d4c4700000016126..."} 
[2026-08-05 16:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19696d8012d7d2cc005d4c4700000016126..."} 
[2026-08-05 16:34:20] local.INFO: Processing buffer {"connection_id":151155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19696d8012d7d2cc005d4c4700000016126..."} 
[2026-08-05 16:34:20] local.INFO: Packet analysis {"connection_id":151155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd196"} 
[2026-08-05 16:34:20] local.INFO: Extracted packet for processing {"connection_id":151155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd196"} 
[2026-08-05 16:34:20] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":97830000,"longitude_deg":76.3178176,"latitude_deg":9.783,"altitude":0,"angle":353,"satellites":38,"speed":43,"hex_longitude":"2d7d2cc0","hex_latitude":"05d4c470","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197497856001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370600865272168448,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273028618504192,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785927735000,"timestamp_ms":1785927735000,"timestamp_seconds":1785927735,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19696d8"} 
[2026-08-05 16:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 16:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:34: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-08-05 16:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197497856001,"66":27908,"254":206,"85":15104,"24":43,"16":370600865272168448,"45":9021273028618504192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-05 16:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197497856001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:34:20] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-05 16:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370600865272168448,"km_value":370600865272168.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273028618504192,"description":"Unknown IO ID 45"} 
[2026-08-05 16:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197497856001,"power":27908,"unknown_254":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9021273028618504192}} 
[2026-08-05 16:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":151155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:34:20] local.INFO: GPS data processed {"connection_id":151155,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:34:20] local.INFO: Acknowledgment sent {"connection_id":151155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:34:40] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:40] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:40] local.INFO: IMEI packet received {"connection_id":148732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":148732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:34:44] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:44] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:44] local.INFO: IMEI packet received {"connection_id":148732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":148732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:34:45] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:45] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:45] local.INFO: IMEI packet received {"connection_id":148732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":148732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:34:47] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:47] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:34:47] local.INFO: IMEI packet received {"connection_id":148732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":148732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:34:48] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd197cb70012d17a5c007221d380055012323..."} 
[2026-08-05 16:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd197cb70012d17a5c007221d380055012323..."} 
[2026-08-05 16:34:48] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd197cb70012d17a5c007221d380055012323..."} 
[2026-08-05 16:34:48] local.INFO: Packet analysis {"connection_id":148732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd197"} 
[2026-08-05 16:34:48] local.INFO: Extracted packet for processing {"connection_id":148732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd197"} 
[2026-08-05 16:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756524480,"raw_latitude":119676216,"longitude_deg":75.652448,"latitude_deg":11.9676216,"altitude":85,"angle":291,"satellites":35,"speed":13,"hex_longitude":"2d17a5c0","hex_latitude":"07221d38","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197519616001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10722312840019968,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705034702061793280,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785927814000,"timestamp_ms":1785927814000,"timestamp_seconds":1785927814,"priority":1,"record_length":96,"hex_timestamp":"0000019fd197cb70"} 
[2026-08-05 16:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 16:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197519616001,"66":14004,"105":206,"83":41984,"24":13,"16":10722312840019968,"45":1705034702061793280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197519616001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:34:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10722312840019968,"km_value":10722312840019.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705034702061793280,"description":"Unknown IO ID 45"} 
[2026-08-05 16:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197519616001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1705034702061793280}} 
[2026-08-05 16:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":148732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:34:48] local.INFO: GPS data processed {"connection_id":148732,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:34:48] local.INFO: Acknowledgment sent {"connection_id":148732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:34:49] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd197e6c8012d179e00072220780058013826..."} 
[2026-08-05 16:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd197e6c8012d179e00072220780058013826..."} 
[2026-08-05 16:34:49] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd197e6c8012d179e00072220780058013826..."} 
[2026-08-05 16:34:49] local.INFO: Packet analysis {"connection_id":148732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd197"} 
[2026-08-05 16:34:49] local.INFO: Extracted packet for processing {"connection_id":148732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd197"} 
[2026-08-05 16:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756522496,"raw_latitude":119677048,"longitude_deg":75.6522496,"latitude_deg":11.9677048,"altitude":88,"angle":312,"satellites":38,"speed":13,"hex_longitude":"2d179e00","hex_latitude":"07222078","is_valid_coordinates":true} 
[2026-08-05 16:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197520384001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10722415919235072,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703979170899245056,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785927821000,"timestamp_ms":1785927821000,"timestamp_seconds":1785927821,"priority":1,"record_length":96,"hex_timestamp":"0000019fd197e6c8"} 
[2026-08-05 16:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-05 16:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197520384001,"66":14070,"105":206,"83":41984,"24":13,"16":10722415919235072,"45":1703979170899245056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197520384001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:34:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10722415919235072,"km_value":10722415919235.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703979170899245056,"description":"Unknown IO ID 45"} 
[2026-08-05 16:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197520384001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1703979170899245056}} 
[2026-08-05 16:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":148732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:34:49] local.INFO: GPS data processed {"connection_id":148732,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:34:49] local.INFO: Acknowledgment sent {"connection_id":148732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:34:52] local.INFO: TCP Data received {"connection_id":151155,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19811c0012d7ceec005d64e30000001632d..."} 
[2026-08-05 16:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19811c0012d7ceec005d64e30000001632d..."} 
[2026-08-05 16:34:52] local.INFO: Processing buffer {"connection_id":151155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19811c0012d7ceec005d64e30000001632d..."} 
[2026-08-05 16:34:52] local.INFO: Packet analysis {"connection_id":151155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:34:52] local.INFO: Extracted packet for processing {"connection_id":151155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:34:52] local.INFO: GPS Element Parsed {"raw_longitude":763162304,"raw_latitude":97930800,"longitude_deg":76.3162304,"latitude_deg":9.79308,"altitude":0,"angle":355,"satellites":45,"speed":53,"hex_longitude":"2d7ceec0","hex_latitude":"05d64e30","is_valid_coordinates":true} 
[2026-08-05 16:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197522944001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370605851729199104,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003469736367278080,"note":"Value kept but may cause issues"} 
[2026-08-05 16:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785927832000,"timestamp_ms":1785927832000,"timestamp_seconds":1785927832,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19811c0"} 
[2026-08-05 16:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197522944001,"66":27908,"30":206,"85":15104,"24":53,"16":370605851729199104,"45":9003469736367278080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-05 16:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197522944001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:34:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-05 16:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370605851729199104,"km_value":370605851729199.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003469736367278080,"description":"Unknown IO ID 45"} 
[2026-08-05 16:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197522944001,"power":27908,"unknown_30":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9003469736367278080}} 
[2026-08-05 16:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":151155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:34:52] local.INFO: GPS data processed {"connection_id":151155,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:34:52] local.INFO: Acknowledgment sent {"connection_id":151155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:35:14] local.INFO: TCP Data received {"connection_id":148518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:35:14] local.INFO: Processing buffer {"connection_id":148518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:35:14] local.INFO: IMEI packet received {"connection_id":148518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":148518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:35:19] local.INFO: TCP Data received {"connection_id":148518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:35:19] local.INFO: Processing buffer {"connection_id":148518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:35:19] local.INFO: IMEI packet received {"connection_id":148518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":148518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:35:20] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd198b5d0012d17608007224a000065010f2a..."} 
[2026-08-05 16:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd198b5d0012d17608007224a000065010f2a..."} 
[2026-08-05 16:35:20] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd198b5d0012d17608007224a000065010f2a..."} 
[2026-08-05 16:35:20] local.INFO: Packet analysis {"connection_id":148732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:35:20] local.INFO: Extracted packet for processing {"connection_id":148732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756506752,"raw_latitude":119687680,"longitude_deg":75.6506752,"latitude_deg":11.968768,"altitude":101,"angle":271,"satellites":42,"speed":7,"hex_longitude":"2d176080","hex_latitude":"07224a00","is_valid_coordinates":true} 
[2026-08-05 16:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197535488001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10723386581843968,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684627766253316096,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785927874000,"timestamp_ms":1785927874000,"timestamp_seconds":1785927874,"priority":1,"record_length":96,"hex_timestamp":"0000019fd198b5d0"} 
[2026-08-05 16:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 16:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197535488001,"66":14396,"105":206,"83":41984,"24":7,"16":10723386581843968,"45":1684627766253316096},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197535488001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10723386581843968,"km_value":10723386581843.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684627766253316096,"description":"Unknown IO ID 45"} 
[2026-08-05 16:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197535488001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1684627766253316096}} 
[2026-08-05 16:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":148732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:35:20] local.INFO: GPS data processed {"connection_id":148732,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:35:20] local.INFO: Acknowledgment sent {"connection_id":148732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:35:20] local.INFO: TCP Data received {"connection_id":148518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1982d18012d7ceb0005d67420000001612e..."} 
[2026-08-05 16:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1982d18012d7ceb0005d67420000001612e..."} 
[2026-08-05 16:35:20] local.INFO: Processing buffer {"connection_id":148518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1982d18012d7ceb0005d67420000001612e..."} 
[2026-08-05 16:35:20] local.INFO: Packet analysis {"connection_id":148518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:35:20] local.INFO: Extracted packet for processing {"connection_id":148518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":97940512,"longitude_deg":76.3161344,"latitude_deg":9.7940512,"altitude":0,"angle":353,"satellites":46,"speed":57,"hex_longitude":"2d7ceb00","hex_latitude":"05d67420","is_valid_coordinates":true} 
[2026-08-05 16:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197524992001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370606324175601664,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002343836463017984,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785927839000,"timestamp_ms":1785927839000,"timestamp_seconds":1785927839,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1982d18"} 
[2026-08-05 16:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:35: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-08-05 16:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197524992001,"66":27800,"30":206,"85":15104,"24":57,"16":370606324175601664,"45":9002343836463017984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-05 16:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197524992001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370606324175601664,"km_value":370606324175601.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002343836463017984,"description":"Unknown IO ID 45"} 
[2026-08-05 16:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197524992001,"power":27800,"unknown_30":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9002343836463017984}} 
[2026-08-05 16:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":148518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:35:20] local.INFO: GPS data processed {"connection_id":148518,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:35:20] local.INFO: Acknowledgment sent {"connection_id":148518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:35:39] local.INFO: TCP Data received {"connection_id":151156,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:35:39] local.INFO: Processing buffer {"connection_id":151156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:35:39] local.INFO: IMEI packet received {"connection_id":151156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":151156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:35:44] local.INFO: TCP Data received {"connection_id":151156,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:35:44] local.INFO: Processing buffer {"connection_id":151156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:35:44] local.INFO: IMEI packet received {"connection_id":151156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":151156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:35:50] local.INFO: TCP Data received {"connection_id":151156,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd198c570012d175c80072249d00065010329..."} 
[2026-08-05 16:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd198c570012d175c80072249d00065010329..."} 
[2026-08-05 16:35:50] local.INFO: Processing buffer {"connection_id":151156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd198c570012d175c80072249d00065010329..."} 
[2026-08-05 16:35:50] local.INFO: Packet analysis {"connection_id":151156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:35:50] local.INFO: Extracted packet for processing {"connection_id":151156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756505728,"raw_latitude":119687632,"longitude_deg":75.6505728,"latitude_deg":11.9687632,"altitude":101,"angle":259,"satellites":41,"speed":9,"hex_longitude":"2d175c80","hex_latitude":"072249d0","is_valid_coordinates":true} 
[2026-08-05 16:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197535744001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10723433826484224,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684487028764966912,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785927878000,"timestamp_ms":1785927878000,"timestamp_seconds":1785927878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd198c570"} 
[2026-08-05 16:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":60,"data_length":795,"current_offset":136} 
[2026-08-05 16:35: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-08-05 16: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-08-05 16:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197535744001,"66":14157,"105":206,"83":41984,"24":9,"16":10723433826484224,"45":1684487028764966912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197535744001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:35:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10723433826484224,"km_value":10723433826484.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684487028764966912,"description":"Unknown IO ID 45"} 
[2026-08-05 16:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197535744001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1684487028764966912}} 
[2026-08-05 16:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":151156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:35:50] local.INFO: GPS data processed {"connection_id":151156,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:35:50] local.INFO: Acknowledgment sent {"connection_id":151156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:35:52] local.INFO: TCP Data received {"connection_id":148518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1984870012d7ce6c005d69ac0000001612e..."} 
[2026-08-05 16:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1984870012d7ce6c005d69ac0000001612e..."} 
[2026-08-05 16:35:52] local.INFO: Processing buffer {"connection_id":148518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1984870012d7ce6c005d69ac0000001612e..."} 
[2026-08-05 16:35:52] local.INFO: Packet analysis {"connection_id":148518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:35:52] local.INFO: Extracted packet for processing {"connection_id":148518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:35:52] local.INFO: GPS Element Parsed {"raw_longitude":763160256,"raw_latitude":97950400,"longitude_deg":76.3160256,"latitude_deg":9.79504,"altitude":0,"angle":353,"satellites":46,"speed":50,"hex_longitude":"2d7ce6c0","hex_latitude":"05d69ac0","is_valid_coordinates":true} 
[2026-08-05 16:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197526784001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370606805211938816,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305302839296,"note":"Value kept but may cause issues"} 
[2026-08-05 16:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785927846000,"timestamp_ms":1785927846000,"timestamp_seconds":1785927846,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1984870"} 
[2026-08-05 16:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 16:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197526784001,"66":27974,"30":206,"85":15104,"24":50,"16":370606805211938816,"45":9001288305302839296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-05 16:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197526784001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:35:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-05 16:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370606805211938816,"km_value":370606805211938.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305302839296,"description":"Unknown IO ID 45"} 
[2026-08-05 16:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197526784001,"power":27974,"unknown_30":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9001288305302839296}} 
[2026-08-05 16:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":148518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:35:52] local.INFO: GPS data processed {"connection_id":148518,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:35:52] local.INFO: Acknowledgment sent {"connection_id":148518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:36:19] local.INFO: TCP Data received {"connection_id":151157,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:36:20] local.INFO: Processing buffer {"connection_id":151157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:36:20] local.INFO: IMEI packet received {"connection_id":151157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":151157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:36:21] local.INFO: TCP Data received {"connection_id":151156,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1999c48012d172cc0072269a0008000fa26..."} 
[2026-08-05 16:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1999c48012d172cc0072269a0008000fa26..."} 
[2026-08-05 16:36:21] local.INFO: Processing buffer {"connection_id":151156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1999c48012d172cc0072269a0008000fa26..."} 
[2026-08-05 16:36:21] local.INFO: Packet analysis {"connection_id":151156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd199"} 
[2026-08-05 16:36:21] local.INFO: Extracted packet for processing {"connection_id":151156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd199"} 
[2026-08-05 16:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756493504,"raw_latitude":119695776,"longitude_deg":75.6493504,"latitude_deg":11.9695776,"altitude":128,"angle":250,"satellites":38,"speed":8,"hex_longitude":"2d172cc0","hex_latitude":"072269a0","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197548032001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10724335769616384,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1673298398442889216,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785927933000,"timestamp_ms":1785927933000,"timestamp_seconds":1785927933,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1999c48"} 
[2026-08-05 16:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 16:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197548032001,"66":13820,"20":206,"83":41984,"24":8,"16":10724335769616384,"45":1673298398442889216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-05 16:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197548032001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:36:21] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-05 16:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10724335769616384,"km_value":10724335769616.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1673298398442889216,"description":"Unknown IO ID 45"} 
[2026-08-05 16:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197548032001,"power":13820,"unknown_20":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1673298398442889216}} 
[2026-08-05 16:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":151156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:36:21] local.INFO: GPS data processed {"connection_id":151156,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:36:21] local.INFO: Acknowledgment sent {"connection_id":151156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:36:24] local.INFO: TCP Data received {"connection_id":151157,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:36:24] local.INFO: Processing buffer {"connection_id":151157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:36:24] local.INFO: IMEI packet received {"connection_id":151157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":151157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:36:25] local.INFO: TCP Data received {"connection_id":151157,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19867b0012d7ce08005d6c1800000015a30..."} 
[2026-08-05 16:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19867b0012d7ce08005d6c1800000015a30..."} 
[2026-08-05 16:36:25] local.INFO: Processing buffer {"connection_id":151157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19867b0012d7ce08005d6c1800000015a30..."} 
[2026-08-05 16:36:25] local.INFO: Packet analysis {"connection_id":151157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:36:25] local.INFO: Extracted packet for processing {"connection_id":151157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763158656,"raw_latitude":97960320,"longitude_deg":76.3158656,"latitude_deg":9.796032,"altitude":0,"angle":346,"satellites":48,"speed":51,"hex_longitude":"2d7ce080","hex_latitude":"05d6c180","is_valid_coordinates":true} 
[2026-08-05 16:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197528576001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370607294838210560,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000092036654350336,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785927854000,"timestamp_ms":1785927854000,"timestamp_seconds":1785927854,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19867b0"} 
[2026-08-05 16:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 16:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197528576001,"66":27267,"30":206,"85":15104,"24":51,"16":370607294838210560,"45":9000092036654350336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-05 16:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197528576001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:36:25] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-05 16:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370607294838210560,"km_value":370607294838210.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000092036654350336,"description":"Unknown IO ID 45"} 
[2026-08-05 16:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197528576001,"power":27267,"unknown_30":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9000092036654350336}} 
[2026-08-05 16:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":151157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:36:25] local.INFO: GPS data processed {"connection_id":151157,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:36:25] local.INFO: Acknowledgment sent {"connection_id":151157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:36:26] local.INFO: TCP Data received {"connection_id":151157,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1988308012d7cd70005d6e488000001572e..."} 
[2026-08-05 16:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1988308012d7cd70005d6e488000001572e..."} 
[2026-08-05 16:36:26] local.INFO: Processing buffer {"connection_id":151157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1988308012d7cd70005d6e488000001572e..."} 
[2026-08-05 16:36:26] local.INFO: Packet analysis {"connection_id":151157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:36:26] local.INFO: Extracted packet for processing {"connection_id":151157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd198"} 
[2026-08-05 16:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763156224,"raw_latitude":97969288,"longitude_deg":76.3156224,"latitude_deg":9.7969288,"altitude":0,"angle":343,"satellites":46,"speed":52,"hex_longitude":"2d7cd700","hex_latitude":"05d6e488","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197530624001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370607745809776640,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998332818052448256,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785927861000,"timestamp_ms":1785927861000,"timestamp_seconds":1785927861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1988308"} 
[2026-08-05 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-08-05 16:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 16:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197530624001,"66":27713,"31":206,"85":15104,"24":52,"16":370607745809776640,"45":8998332818052448256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-08-05 16:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197530624001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:36:26] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-05 16:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370607745809776640,"km_value":370607745809776.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998332818052448256,"description":"Unknown IO ID 45"} 
[2026-08-05 16:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197530624001,"power":27713,"unknown_31":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8998332818052448256}} 
[2026-08-05 16:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":151157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:36:26] local.INFO: GPS data processed {"connection_id":151157,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:36:26] local.INFO: Acknowledgment sent {"connection_id":151157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:36:44] local.INFO: TCP Data received {"connection_id":149734,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:36:44] local.INFO: Processing buffer {"connection_id":149734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:36:44] local.INFO: IMEI packet received {"connection_id":149734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":149734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:36:49] local.INFO: TCP Data received {"connection_id":149734,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:36:49] local.INFO: Processing buffer {"connection_id":149734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:36:49] local.INFO: IMEI packet received {"connection_id":149734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":149734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:36:50] local.INFO: TCP Data received {"connection_id":149734,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd199abe8012d172900072268b00083010625..."} 
[2026-08-05 16:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd199abe8012d172900072268b00083010625..."} 
[2026-08-05 16:36:50] local.INFO: Processing buffer {"connection_id":149734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd199abe8012d172900072268b00083010625..."} 
[2026-08-05 16:36:50] local.INFO: Packet analysis {"connection_id":149734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd199"} 
[2026-08-05 16:36:50] local.INFO: Extracted packet for processing {"connection_id":149734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd199"} 
[2026-08-05 16:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756492544,"raw_latitude":119695536,"longitude_deg":75.6492544,"latitude_deg":11.9695536,"altitude":131,"angle":262,"satellites":37,"speed":9,"hex_longitude":"2d172900","hex_latitude":"072268b0","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197550848001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10724383014256640,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1669920698722263040,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785927937000,"timestamp_ms":1785927937000,"timestamp_seconds":1785927937,"priority":1,"record_length":96,"hex_timestamp":"0000019fd199abe8"} 
[2026-08-05 16:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-05 16:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197550848001,"66":13939,"20":206,"83":41984,"24":9,"16":10724383014256640,"45":1669920698722263040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-05 16:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197550848001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:36:50] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-05 16:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10724383014256640,"km_value":10724383014256.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1669920698722263040,"description":"Unknown IO ID 45"} 
[2026-08-05 16:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197550848001,"power":13939,"unknown_20":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1669920698722263040}} 
[2026-08-05 16:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":149734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:36:50] local.INFO: GPS data processed {"connection_id":149734,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:36:50] local.INFO: Acknowledgment sent {"connection_id":149734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:36:57] local.INFO: TCP Data received {"connection_id":151157,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19a0d90012d7c97c005d875b0000001642f..."} 
[2026-08-05 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19a0d90012d7c97c005d875b0000001642f..."} 
[2026-08-05 16:36:57] local.INFO: Processing buffer {"connection_id":151157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19a0d90012d7c97c005d875b0000001642f..."} 
[2026-08-05 16:36:57] local.INFO: Packet analysis {"connection_id":151157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19a"} 
[2026-08-05 16:36:57] local.INFO: Extracted packet for processing {"connection_id":151157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19a"} 
[2026-08-05 16:36:57] local.INFO: GPS Element Parsed {"raw_longitude":763140032,"raw_latitude":98071984,"longitude_deg":76.3140032,"latitude_deg":9.8071984,"altitude":0,"angle":356,"satellites":47,"speed":47,"hex_longitude":"2d7c97c0","hex_latitude":"05d875b0","is_valid_coordinates":true} 
[2026-08-05 16:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197556224001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370612813871185920,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978207357243891712,"note":"Value kept but may cause issues"} 
[2026-08-05 16:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785927962000,"timestamp_ms":1785927962000,"timestamp_seconds":1785927962,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19a0d90"} 
[2026-08-05 16:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 16:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197556224001,"66":27919,"196":206,"85":15104,"24":47,"16":370612813871185920,"45":8978207357243891712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-05 16:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197556224001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:36:57] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-05 16:36:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370612813871185920,"km_value":370612813871185.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978207357243891712,"description":"Unknown IO ID 45"} 
[2026-08-05 16:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197556224001,"power":27919,"unknown_196":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8978207357243891712}} 
[2026-08-05 16:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":151157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:36:57] local.INFO: GPS data processed {"connection_id":151157,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:36:57] local.INFO: Acknowledgment sent {"connection_id":151157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:37:13] local.INFO: TCP Data received {"connection_id":151158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:37:13] local.INFO: Processing buffer {"connection_id":151158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:37:13] local.INFO: IMEI packet received {"connection_id":151158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":151158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:37:14] local.INFO: TCP Data received {"connection_id":151158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:37:14] local.INFO: Processing buffer {"connection_id":151158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:37:14] local.INFO: IMEI packet received {"connection_id":151158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":151158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:37:19] local.INFO: TCP Data received {"connection_id":151158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:37:19] local.INFO: Processing buffer {"connection_id":151158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:37:19] local.INFO: IMEI packet received {"connection_id":151158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":151158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:37:21] local.INFO: TCP Data received {"connection_id":151158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19a2cd0012d7c954005d89bd8000001652e..."} 
[2026-08-05 16:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19a2cd0012d7c954005d89bd8000001652e..."} 
[2026-08-05 16:37:21] local.INFO: Processing buffer {"connection_id":151158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19a2cd0012d7c954005d89bd8000001652e..."} 
[2026-08-05 16:37:21] local.INFO: Packet analysis {"connection_id":151158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19a"} 
[2026-08-05 16:37:21] local.INFO: Extracted packet for processing {"connection_id":151158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19a"} 
[2026-08-05 16:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763139392,"raw_latitude":98081752,"longitude_deg":76.3139392,"latitude_deg":9.8081752,"altitude":0,"angle":357,"satellites":46,"speed":49,"hex_longitude":"2d7c9540","hex_latitude":"05d89bd8","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197558272001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370613286317588480,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977855513525334016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785927970000,"timestamp_ms":1785927970000,"timestamp_seconds":1785927970,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19a2cd0"} 
[2026-08-05 16:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:37: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-08-05 16:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197558272001,"66":27887,"197":206,"85":15104,"24":49,"16":370613286317588480,"45":8977855513525334016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-05 16:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197558272001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370613286317588480,"km_value":370613286317588.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977855513525334016,"description":"Unknown IO ID 45"} 
[2026-08-05 16:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197558272001,"power":27887,"unknown_197":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8977855513525334016}} 
[2026-08-05 16:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":151158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:37:21] local.INFO: GPS data processed {"connection_id":151158,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:37:21] local.INFO: Acknowledgment sent {"connection_id":151158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:37:21] local.INFO: TCP Data received {"connection_id":149734,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd199bb88012d172480072268600086011228..."} 
[2026-08-05 16:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd199bb88012d172480072268600086011228..."} 
[2026-08-05 16:37:21] local.INFO: Processing buffer {"connection_id":149734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd199bb88012d172480072268600086011228..."} 
[2026-08-05 16:37:21] local.INFO: Packet analysis {"connection_id":149734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd199"} 
[2026-08-05 16:37:21] local.INFO: Extracted packet for processing {"connection_id":149734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd199"} 
[2026-08-05 16:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756491392,"raw_latitude":119695456,"longitude_deg":75.6491392,"latitude_deg":11.9695456,"altitude":134,"angle":274,"satellites":40,"speed":10,"hex_longitude":"2d172480","hex_latitude":"07226860","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197551872001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10724438848831488,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1668865167559536640,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785927941000,"timestamp_ms":1785927941000,"timestamp_seconds":1785927941,"priority":1,"record_length":96,"hex_timestamp":"0000019fd199bb88"} 
[2026-08-05 16:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-05 16:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197551872001,"66":13820,"20":206,"83":41984,"24":10,"16":10724438848831488,"45":1668865167559536640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-05 16:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197551872001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10724438848831488,"km_value":10724438848831.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1668865167559536640,"description":"Unknown IO ID 45"} 
[2026-08-05 16:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197551872001,"power":13820,"unknown_20":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1668865167559536640}} 
[2026-08-05 16:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":149734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:37:21] local.INFO: GPS data processed {"connection_id":149734,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:37:21] local.INFO: Acknowledgment sent {"connection_id":149734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:37:39] local.INFO: TCP Data received {"connection_id":148519,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:37:39] local.INFO: Processing buffer {"connection_id":148519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:37:39] local.INFO: IMEI packet received {"connection_id":148519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":148519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:37:44] local.INFO: TCP Data received {"connection_id":148519,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:37:44] local.INFO: Processing buffer {"connection_id":148519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:37:44] local.INFO: IMEI packet received {"connection_id":148519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":148519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:37:45] local.INFO: TCP Data received {"connection_id":148519,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19aa9d0012d170fc0072269980087014825..."} 
[2026-08-05 16:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19aa9d0012d170fc0072269980087014825..."} 
[2026-08-05 16:37:45] local.INFO: Processing buffer {"connection_id":148519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19aa9d0012d170fc0072269980087014825..."} 
[2026-08-05 16:37:45] local.INFO: Packet analysis {"connection_id":148519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19a"} 
[2026-08-05 16:37:45] local.INFO: Extracted packet for processing {"connection_id":148519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19a"} 
[2026-08-05 16:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756486080,"raw_latitude":119695768,"longitude_deg":75.648608,"latitude_deg":11.9695768,"altitude":135,"angle":328,"satellites":37,"speed":0,"hex_longitude":"2d170fc0","hex_latitude":"07226998","is_valid_coordinates":true} 
[2026-08-05 16:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197563136001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10724722316673024,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661757924397651968,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785928002000,"timestamp_ms":1785928002000,"timestamp_seconds":1785928002,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19aa9d0"} 
[2026-08-05 16:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 16:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446019072,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3516523160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":8193,"corrected_to":0} 
[2026-08-05 16:37:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2582532097,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712586958,"corrected_to":0} 
[2026-08-05 16:37:45] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2147560727,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:45] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221693029,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:45] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,20,83,24,241,157,16,26,159,5,45,105,135,43,10,66,253,192,103,136,46,246,1,240,224,227,209,34,4,113,205,14,230,25,120,239,54,2,38,7,137],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":246,"original":8193,"validated":0},{"io_id":205,"original":1712586958,"validated":0}]} 
[2026-08-05 16:37:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-8718608101336416256,"timestamp_seconds":-8718608101336416.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 16:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197563136001,"66":14374,"20":206,"83":41984,"24":0,"16":10724722316673024,"45":1661757924397651968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-05 16:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197563136001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:37:45] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-05 16:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10724722316673024,"km_value":10724722316673.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661757924397651968,"description":"Unknown IO ID 45"} 
[2026-08-05 16:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197563136001,"power":14374,"unknown_20":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1661757924397651968}} 
[2026-08-05 16:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":148519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:37:45] local.INFO: GPS data processed {"connection_id":148519,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:37:45] local.INFO: Acknowledgment sent {"connection_id":148519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:37:52] local.INFO: TCP Data received {"connection_id":151158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19a4c10012d7c92c005d8c300000001632d..."} 
[2026-08-05 16:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19a4c10012d7c92c005d8c300000001632d..."} 
[2026-08-05 16:37:52] local.INFO: Processing buffer {"connection_id":151158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19a4c10012d7c92c005d8c300000001632d..."} 
[2026-08-05 16:37:52] local.INFO: Packet analysis {"connection_id":151158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19a"} 
[2026-08-05 16:37:52] local.INFO: Extracted packet for processing {"connection_id":151158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19a"} 
[2026-08-05 16:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763138752,"raw_latitude":98091776,"longitude_deg":76.3138752,"latitude_deg":9.8091776,"altitude":0,"angle":355,"satellites":45,"speed":49,"hex_longitude":"2d7c92c0","hex_latitude":"05d8c300","is_valid_coordinates":true} 
[2026-08-05 16:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197560320001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370613771648892928,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977151826086057984,"note":"Value kept but may cause issues"} 
[2026-08-05 16:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785927978000,"timestamp_ms":1785927978000,"timestamp_seconds":1785927978,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19a4c10"} 
[2026-08-05 16:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 16:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197560320001,"66":27876,"244":206,"85":15104,"24":49,"16":370613771648892928,"45":8977151826086057984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-05 16:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197560320001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:37:52] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-05 16:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370613771648892928,"km_value":370613771648892.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977151826086057984,"description":"Unknown IO ID 45"} 
[2026-08-05 16:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197560320001,"power":27876,"unknown_244":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8977151826086057984}} 
[2026-08-05 16:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":151158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:37:52] local.INFO: GPS data processed {"connection_id":151158,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:37:52] local.INFO: Acknowledgment sent {"connection_id":151158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:38:15] local.INFO: TCP Data received {"connection_id":149735,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:38:15] local.INFO: Processing buffer {"connection_id":149735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:38:15] local.INFO: IMEI packet received {"connection_id":149735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":149735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:38:15] local.INFO: TCP Data received {"connection_id":149735,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:38:15] local.INFO: Processing buffer {"connection_id":149735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:38:15] local.INFO: IMEI packet received {"connection_id":149735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":149735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:38:16] local.INFO: TCP Data received {"connection_id":148519,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19b5d80012d171f4007226920008700512d..."} 
[2026-08-05 16:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19b5d80012d171f4007226920008700512d..."} 
[2026-08-05 16:38:16] local.INFO: Processing buffer {"connection_id":148519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19b5d80012d171f4007226920008700512d..."} 
[2026-08-05 16:38:16] local.INFO: Packet analysis {"connection_id":148519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19b"} 
[2026-08-05 16:38:16] local.INFO: Extracted packet for processing {"connection_id":148519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19b"} 
[2026-08-05 16:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756490048,"raw_latitude":119695648,"longitude_deg":75.6490048,"latitude_deg":11.9695648,"altitude":135,"angle":81,"satellites":45,"speed":7,"hex_longitude":"2d171f40","hex_latitude":"07226920","is_valid_coordinates":true} 
[2026-08-05 16:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197580032001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10725001489547264,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1665909680304091136,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785928048000,"timestamp_ms":1785928048000,"timestamp_seconds":1785928048,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19b5d80"} 
[2026-08-05 16:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 16:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197580032001,"66":12765,"20":206,"83":41984,"24":7,"16":10725001489547264,"45":1665909680304091136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-05 16:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197580032001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:38:16] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-05 16:38:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10725001489547264,"km_value":10725001489547.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1665909680304091136,"description":"Unknown IO ID 45"} 
[2026-08-05 16:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197580032001,"power":12765,"unknown_20":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1665909680304091136}} 
[2026-08-05 16:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":148519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:38:17] local.INFO: GPS data processed {"connection_id":148519,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:38:17] local.INFO: Acknowledgment sent {"connection_id":148519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:38:20] local.INFO: TCP Data received {"connection_id":149735,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:38:20] local.INFO: Processing buffer {"connection_id":149735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:38:20] local.INFO: IMEI packet received {"connection_id":149735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":149735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:38:21] local.INFO: TCP Data received {"connection_id":149735,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19a6b50012d7c8f0005d8e9a00000016326..."} 
[2026-08-05 16:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19a6b50012d7c8f0005d8e9a00000016326..."} 
[2026-08-05 16:38:21] local.INFO: Processing buffer {"connection_id":149735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19a6b50012d7c8f0005d8e9a00000016326..."} 
[2026-08-05 16:38:21] local.INFO: Packet analysis {"connection_id":149735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19a"} 
[2026-08-05 16:38:21] local.INFO: Extracted packet for processing {"connection_id":149735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19a"} 
[2026-08-05 16:38:21] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":98101664,"longitude_deg":76.3137792,"latitude_deg":9.8101664,"altitude":0,"angle":355,"satellites":38,"speed":48,"hex_longitude":"2d7c8f00","hex_latitude":"05d8e9a0","is_valid_coordinates":true} 
[2026-08-05 16:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197562368001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370614256980197376,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976448138646847488,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785927986000,"timestamp_ms":1785927986000,"timestamp_seconds":1785927986,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19a6b50"} 
[2026-08-05 16:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:38: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-08-05 16:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 16:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197562368001,"66":27908,"244":206,"85":15104,"24":48,"16":370614256980197376,"45":8976448138646847488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-05 16:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197562368001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:38:21] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-05 16:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370614256980197376,"km_value":370614256980197.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976448138646847488,"description":"Unknown IO ID 45"} 
[2026-08-05 16:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197562368001,"power":27908,"unknown_244":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8976448138646847488}} 
[2026-08-05 16:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":149735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:38:21] local.INFO: GPS data processed {"connection_id":149735,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:38:21] local.INFO: Acknowledgment sent {"connection_id":149735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:38:39] local.INFO: TCP Data received {"connection_id":149736,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:38:39] local.INFO: Processing buffer {"connection_id":149736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:38:39] local.INFO: IMEI packet received {"connection_id":149736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":149736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:38:39] local.INFO: TCP Data received {"connection_id":149736,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:38:39] local.INFO: Processing buffer {"connection_id":149736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:38:39] local.INFO: IMEI packet received {"connection_id":149736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":149736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:38:44] local.INFO: TCP Data received {"connection_id":149736,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:38:44] local.INFO: Processing buffer {"connection_id":149736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:38:44] local.INFO: IMEI packet received {"connection_id":149736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":149736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:38:45] local.INFO: TCP Data received {"connection_id":149736,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19b6168012d17200007226900008700642e..."} 
[2026-08-05 16:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19b6168012d17200007226900008700642e..."} 
[2026-08-05 16:38:45] local.INFO: Processing buffer {"connection_id":149736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19b6168012d17200007226900008700642e..."} 
[2026-08-05 16:38:45] local.INFO: Packet analysis {"connection_id":149736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19b"} 
[2026-08-05 16:38:45] local.INFO: Extracted packet for processing {"connection_id":149736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19b"} 
[2026-08-05 16:38:45] local.INFO: GPS Element Parsed {"raw_longitude":756490240,"raw_latitude":119695616,"longitude_deg":75.649024,"latitude_deg":11.9695616,"altitude":135,"angle":100,"satellites":46,"speed":8,"hex_longitude":"2d172000","hex_latitude":"07226900","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197580288001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10725014374449152,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1666120786536636416,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785928049000,"timestamp_ms":1785928049000,"timestamp_seconds":1785928049,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19b6168"} 
[2026-08-05 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-08-05 16:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-05 16:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197580288001,"66":12765,"20":206,"83":41984,"24":8,"16":10725014374449152,"45":1666120786536636416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,83,24,16,45]} 
[2026-08-05 16:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197580288001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:38:45] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-05 16:38:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10725014374449152,"km_value":10725014374449.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1666120786536636416,"description":"Unknown IO ID 45"} 
[2026-08-05 16:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197580288001,"power":12765,"unknown_20":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1666120786536636416}} 
[2026-08-05 16:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":149736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:38:45] local.INFO: GPS data processed {"connection_id":149736,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:38:45] local.INFO: Acknowledgment sent {"connection_id":149736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:38:52] local.INFO: TCP Data received {"connection_id":149735,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19bcec8012d7c4bc005da79180000015529..."} 
[2026-08-05 16:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19bcec8012d7c4bc005da79180000015529..."} 
[2026-08-05 16:38:52] local.INFO: Processing buffer {"connection_id":149735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19bcec8012d7c4bc005da79180000015529..."} 
[2026-08-05 16:38:52] local.INFO: Packet analysis {"connection_id":149735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19b"} 
[2026-08-05 16:38:52] local.INFO: Extracted packet for processing {"connection_id":149735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19b"} 
[2026-08-05 16:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763120576,"raw_latitude":98203928,"longitude_deg":76.3120576,"latitude_deg":9.8203928,"altitude":0,"angle":341,"satellites":41,"speed":49,"hex_longitude":"2d7c4bc0","hex_latitude":"05da7918","is_valid_coordinates":true} 
[2026-08-05 16:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197585920001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370619303566770176,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959700377559052288,"note":"Value kept but may cause issues"} 
[2026-08-05 16:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785928077000,"timestamp_ms":1785928077000,"timestamp_seconds":1785928077,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19bcec8"} 
[2026-08-05 16:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 16:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197585920001,"66":27974,"187":206,"85":15104,"24":49,"16":370619303566770176,"45":8959700377559052288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-05 16:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197585920001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:38:52] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-05 16:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370619303566770176,"km_value":370619303566770.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959700377559052288,"description":"Unknown IO ID 45"} 
[2026-08-05 16:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197585920001,"power":27974,"unknown_187":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8959700377559052288}} 
[2026-08-05 16:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":149735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:38:52] local.INFO: GPS data processed {"connection_id":149735,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:38:52] local.INFO: Acknowledgment sent {"connection_id":149735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:39:14] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:39:14] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:39:14] local.INFO: IMEI packet received {"connection_id":148520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":148520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:39:18] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:39:18] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:39:18] local.INFO: IMEI packet received {"connection_id":148520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":148520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:39:19] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19bee08012d7c3f0005da9e700000015529..."} 
[2026-08-05 16:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19bee08012d7c3f0005da9e700000015529..."} 
[2026-08-05 16:39:19] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19bee08012d7c3f0005da9e700000015529..."} 
[2026-08-05 16:39:19] local.INFO: Packet analysis {"connection_id":148520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19b"} 
[2026-08-05 16:39:19] local.INFO: Extracted packet for processing {"connection_id":148520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19b"} 
[2026-08-05 16:39:19] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":98213488,"longitude_deg":76.3117312,"latitude_deg":9.8213488,"altitude":0,"angle":341,"satellites":41,"speed":51,"hex_longitude":"2d7c3f00","hex_latitude":"05da9e70","is_valid_coordinates":true} 
[2026-08-05 16:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197587712001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370619788898074624,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956463415329101824,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785928085000,"timestamp_ms":1785928085000,"timestamp_seconds":1785928085,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19bee08"} 
[2026-08-05 16:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 16:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197587712001,"66":27930,"187":206,"85":15104,"24":51,"16":370619788898074624,"45":8956463415329101824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-05 16:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197587712001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:39:19] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-05 16:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370619788898074624,"km_value":370619788898074.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956463415329101824,"description":"Unknown IO ID 45"} 
[2026-08-05 16:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197587712001,"power":27930,"unknown_187":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8956463415329101824}} 
[2026-08-05 16:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":148520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:39:19] local.INFO: GPS data processed {"connection_id":148520,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:39:19] local.INFO: Acknowledgment sent {"connection_id":148520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:39:26] local.INFO: TCP Data received {"connection_id":149736,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19c4bc8012d175f0007224b900069006627..."} 
[2026-08-05 16:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19c4bc8012d175f0007224b900069006627..."} 
[2026-08-05 16:39:26] local.INFO: Processing buffer {"connection_id":149736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19c4bc8012d175f0007224b900069006627..."} 
[2026-08-05 16:39:26] local.INFO: Packet analysis {"connection_id":149736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19c"} 
[2026-08-05 16:39:26] local.INFO: Extracted packet for processing {"connection_id":149736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19c"} 
[2026-08-05 16:39:26] local.INFO: GPS Element Parsed {"raw_longitude":756506368,"raw_latitude":119688080,"longitude_deg":75.6506368,"latitude_deg":11.968808,"altitude":105,"angle":102,"satellites":39,"speed":11,"hex_longitude":"2d175f00","hex_latitude":"07224b90","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197594368001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10726092411240448,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1682305597695537152,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785928109000,"timestamp_ms":1785928109000,"timestamp_seconds":1785928109,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19c4bc8"} 
[2026-08-05 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-08-05 16:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 16:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197594368001,"66":12439,"105":206,"83":41984,"24":11,"16":10726092411240448,"45":1682305597695537152},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197594368001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:39:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:39:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10726092411240448,"km_value":10726092411240.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1682305597695537152,"description":"Unknown IO ID 45"} 
[2026-08-05 16:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197594368001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1682305597695537152}} 
[2026-08-05 16:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":149736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:39:26] local.INFO: GPS data processed {"connection_id":149736,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:39:26] local.INFO: Acknowledgment sent {"connection_id":149736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:39:44] local.INFO: TCP Data received {"connection_id":149737,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:39:44] local.INFO: Processing buffer {"connection_id":149737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:39:44] local.INFO: IMEI packet received {"connection_id":149737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":149737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:39:47] local.INFO: TCP Data received {"connection_id":149737,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:39:47] local.INFO: Processing buffer {"connection_id":149737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:39:47] local.INFO: IMEI packet received {"connection_id":149737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":149737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:39:48] local.INFO: TCP Data received {"connection_id":149737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19c5398012d17608007224af00068007f27..."} 
[2026-08-05 16:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19c5398012d17608007224af00068007f27..."} 
[2026-08-05 16:39:48] local.INFO: Processing buffer {"connection_id":149737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19c5398012d17608007224af00068007f27..."} 
[2026-08-05 16:39:48] local.INFO: Packet analysis {"connection_id":149737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19c"} 
[2026-08-05 16:39:48] local.INFO: Extracted packet for processing {"connection_id":149737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19c"} 
[2026-08-05 16:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756506752,"raw_latitude":119687920,"longitude_deg":75.6506752,"latitude_deg":11.968792,"altitude":104,"angle":127,"satellites":39,"speed":6,"hex_longitude":"2d176080","hex_latitude":"07224af0","is_valid_coordinates":true} 
[2026-08-05 16:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197595904001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10726109591109632,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684064816300003328,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785928111000,"timestamp_ms":1785928111000,"timestamp_seconds":1785928111,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19c5398"} 
[2026-08-05 16:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 16:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197595904001,"66":12428,"105":206,"83":41984,"24":6,"16":10726109591109632,"45":1684064816300003328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197595904001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:39:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10726109591109632,"km_value":10726109591109.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684064816300003328,"description":"Unknown IO ID 45"} 
[2026-08-05 16:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197595904001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1684064816300003328}} 
[2026-08-05 16:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":149737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:39:48] local.INFO: GPS data processed {"connection_id":149737,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:39:48] local.INFO: Acknowledgment sent {"connection_id":149737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:39:49] local.INFO: TCP Data received {"connection_id":149737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19c6720012d176240072249000067009f27..."} 
[2026-08-05 16:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19c6720012d176240072249000067009f27..."} 
[2026-08-05 16:39:49] local.INFO: Processing buffer {"connection_id":149737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19c6720012d176240072249000067009f27..."} 
[2026-08-05 16:39:49] local.INFO: Packet analysis {"connection_id":149737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19c"} 
[2026-08-05 16:39:49] local.INFO: Extracted packet for processing {"connection_id":149737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19c"} 
[2026-08-05 16:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756507200,"raw_latitude":119687424,"longitude_deg":75.65072,"latitude_deg":11.9687424,"altitude":103,"angle":159,"satellites":39,"speed":5,"hex_longitude":"2d176240","hex_latitude":"07224900","is_valid_coordinates":true} 
[2026-08-05 16:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197596416001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10726143950848000,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684487028765028352,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785928116000,"timestamp_ms":1785928116000,"timestamp_seconds":1785928116,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19c6720"} 
[2026-08-05 16:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 16:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197596416001,"66":12385,"105":206,"83":41984,"24":5,"16":10726143950848000,"45":1684487028765028352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197596416001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:39:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10726143950848000,"km_value":10726143950848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684487028765028352,"description":"Unknown IO ID 45"} 
[2026-08-05 16:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197596416001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1684487028765028352}} 
[2026-08-05 16:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":149737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:39:49] local.INFO: GPS data processed {"connection_id":149737,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:39:49] local.INFO: Acknowledgment sent {"connection_id":149737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:39:50] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19c0960012d7c330005dac090000001562c..."} 
[2026-08-05 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19c0960012d7c330005dac090000001562c..."} 
[2026-08-05 16:39:50] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19c0960012d7c330005dac090000001562c..."} 
[2026-08-05 16:39:50] local.INFO: Packet analysis {"connection_id":148520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19c"} 
[2026-08-05 16:39:50] local.INFO: Extracted packet for processing {"connection_id":148520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19c"} 
[2026-08-05 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":763114240,"raw_latitude":98222224,"longitude_deg":76.311424,"latitude_deg":9.8222224,"altitude":0,"angle":342,"satellites":44,"speed":53,"hex_longitude":"2d7c3300","hex_latitude":"05dac090","is_valid_coordinates":true} 
[2026-08-05 16:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197589760001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370620239869640704,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952874609378488320,"note":"Value kept but may cause issues"} 
[2026-08-05 16:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785928092000,"timestamp_ms":1785928092000,"timestamp_seconds":1785928092,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19c0960"} 
[2026-08-05 16:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:39: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-08-05 16:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197589760001,"66":27919,"187":206,"85":15104,"24":53,"16":370620239869640704,"45":8952874609378488320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-05 16:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197589760001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:39:50] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-05 16:39:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370620239869640704,"km_value":370620239869640.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952874609378488320,"description":"Unknown IO ID 45"} 
[2026-08-05 16:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197589760001,"power":27919,"unknown_187":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8952874609378488320}} 
[2026-08-05 16:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":148520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:39:50] local.INFO: GPS data processed {"connection_id":148520,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:39:50] local.INFO: Acknowledgment sent {"connection_id":148520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:40:12] local.INFO: TCP Data received {"connection_id":148733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:40:12] local.INFO: Processing buffer {"connection_id":148733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:40:12] local.INFO: IMEI packet received {"connection_id":148733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":148733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:40:15] local.INFO: TCP Data received {"connection_id":148733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:40:15] local.INFO: Processing buffer {"connection_id":148733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:40:15] local.INFO: IMEI packet received {"connection_id":148733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":148733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:40:19] local.INFO: TCP Data received {"connection_id":148733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:40:19] local.INFO: Processing buffer {"connection_id":148733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:40:19] local.INFO: IMEI packet received {"connection_id":148733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":148733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:40:19] local.INFO: TCP Data received {"connection_id":148733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19c24b8012d7c294005dae220000001592a..."} 
[2026-08-05 16:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19c24b8012d7c294005dae220000001592a..."} 
[2026-08-05 16:40:19] local.INFO: Processing buffer {"connection_id":148733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19c24b8012d7c294005dae220000001592a..."} 
[2026-08-05 16:40:19] local.INFO: Packet analysis {"connection_id":148733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19c"} 
[2026-08-05 16:40:19] local.INFO: Extracted packet for processing {"connection_id":148733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19c"} 
[2026-08-05 16:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763111744,"raw_latitude":98230816,"longitude_deg":76.3111744,"latitude_deg":9.8230816,"altitude":0,"angle":345,"satellites":42,"speed":45,"hex_longitude":"2d7c2940","hex_latitude":"05dae220","is_valid_coordinates":true} 
[2026-08-05 16:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197591552001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370620673661337600,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949496909660196864,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785928099000,"timestamp_ms":1785928099000,"timestamp_seconds":1785928099,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19c24b8"} 
[2026-08-05 16:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197591552001,"66":27919,"186":206,"85":15104,"24":45,"16":370620673661337600,"45":8949496909660196864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-08-05 16:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197591552001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:40:19] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-05 16:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370620673661337600,"km_value":370620673661337.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949496909660196864,"description":"Unknown IO ID 45"} 
[2026-08-05 16:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197591552001,"power":27919,"unknown_186":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8949496909660196864}} 
[2026-08-05 16:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":148733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:40:19] local.INFO: GPS data processed {"connection_id":148733,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:40:19] local.INFO: Acknowledgment sent {"connection_id":148733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:40:20] local.INFO: TCP Data received {"connection_id":149737,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19d3628012d179ac007222260005e00862c..."} 
[2026-08-05 16:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19d3628012d179ac007222260005e00862c..."} 
[2026-08-05 16:40:20] local.INFO: Processing buffer {"connection_id":149737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19d3628012d179ac007222260005e00862c..."} 
[2026-08-05 16:40:20] local.INFO: Packet analysis {"connection_id":149737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:40:20] local.INFO: Extracted packet for processing {"connection_id":149737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756521664,"raw_latitude":119677536,"longitude_deg":75.6521664,"latitude_deg":11.9677536,"altitude":94,"angle":134,"satellites":44,"speed":10,"hex_longitude":"2d179ac0","hex_latitude":"07222260","is_valid_coordinates":true} 
[2026-08-05 16:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197610240001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10727041599012864,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700249627458439168,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785928169000,"timestamp_ms":1785928169000,"timestamp_seconds":1785928169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19d3628"} 
[2026-08-05 16:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272262992199168,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185638,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3342606126848075920,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832601,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":43,"raw_value":4222124651315204,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514034158576795768,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13462121,"corrected_to":0} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-5332261958806667263,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2633732097,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.WARNING: Large IO value detected {"io_id":98,"raw_value":29602151772717056,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:20] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,28,159,30,45,40,94,42,10,66,19,64,43,93,7,128,1,240,200,227,27,209,34,4,113,205,17,232,131,88,239,47,2,38,98],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":200,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 16:40:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6773583344745316352,"timestamp_seconds":6773583344745316.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 16:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197610240001,"66":12363,"105":206,"83":41984,"24":10,"16":10727041599012864,"45":1700249627458439168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197610240001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:40:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10727041599012864,"km_value":10727041599012.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700249627458439168,"description":"Unknown IO ID 45"} 
[2026-08-05 16:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197610240001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1700249627458439168}} 
[2026-08-05 16:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":149737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:40:20] local.INFO: GPS data processed {"connection_id":149737,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:40:20] local.INFO: Acknowledgment sent {"connection_id":149737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:40:39] local.INFO: TCP Data received {"connection_id":148734,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:40:39] local.INFO: Processing buffer {"connection_id":148734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:40:39] local.INFO: IMEI packet received {"connection_id":148734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":148734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:40:44] local.INFO: TCP Data received {"connection_id":148734,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:40:44] local.INFO: Processing buffer {"connection_id":148734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:40:44] local.INFO: IMEI packet received {"connection_id":148734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":148734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:40:46] local.INFO: TCP Data received {"connection_id":148734,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19d3a10012d179c00072221b0005f00762a..."} 
[2026-08-05 16:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19d3a10012d179c00072221b0005f00762a..."} 
[2026-08-05 16:40:46] local.INFO: Processing buffer {"connection_id":148734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19d3a10012d179c00072221b0005f00762a..."} 
[2026-08-05 16:40:46] local.INFO: Packet analysis {"connection_id":148734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:40:46] local.INFO: Extracted packet for processing {"connection_id":148734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756521984,"raw_latitude":119677360,"longitude_deg":75.6521984,"latitude_deg":11.967736,"altitude":95,"angle":118,"satellites":42,"speed":11,"hex_longitude":"2d179c00","hex_latitude":"072221b0","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197611264001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10727058778882048,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700882946155765760,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785928170000,"timestamp_ms":1785928170000,"timestamp_seconds":1785928170,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19d3a10"} 
[2026-08-05 16:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:40: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-08-05 16: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 16:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197611264001,"66":11852,"105":206,"83":41984,"24":11,"16":10727058778882048,"45":1700882946155765760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197611264001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:40:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10727058778882048,"km_value":10727058778882.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700882946155765760,"description":"Unknown IO ID 45"} 
[2026-08-05 16:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197611264001,"power":11852,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1700882946155765760}} 
[2026-08-05 16:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":148734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:40:46] local.INFO: GPS data processed {"connection_id":148734,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:40:46] local.INFO: Acknowledgment sent {"connection_id":148734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:40:51] local.INFO: TCP Data received {"connection_id":148733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19d9bb8012d7be3c005dc99b80000016630..."} 
[2026-08-05 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19d9bb8012d7be3c005dc99b80000016630..."} 
[2026-08-05 16:40:51] local.INFO: Processing buffer {"connection_id":148733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19d9bb8012d7be3c005dc99b80000016630..."} 
[2026-08-05 16:40:51] local.INFO: Packet analysis {"connection_id":148733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:40:51] local.INFO: Extracted packet for processing {"connection_id":148733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":763093952,"raw_latitude":98343352,"longitude_deg":76.3093952,"latitude_deg":9.8343352,"altitude":0,"angle":358,"satellites":48,"speed":49,"hex_longitude":"2d7be3c0","hex_latitude":"05dc99b8","is_valid_coordinates":true} 
[2026-08-05 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197615872001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370626218464116736,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927541861505298432,"note":"Value kept but may cause issues"} 
[2026-08-05 16:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785928195000,"timestamp_ms":1785928195000,"timestamp_seconds":1785928195,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19d9bb8"} 
[2026-08-05 16:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 16:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197615872001,"66":27908,"169":206,"85":15104,"24":49,"16":370626218464116736,"45":8927541861505298432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 16:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197615872001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:40:51] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 16:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370626218464116736,"km_value":370626218464116.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927541861505298432,"description":"Unknown IO ID 45"} 
[2026-08-05 16:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197615872001,"power":27908,"unknown_169":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8927541861505298432}} 
[2026-08-05 16:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":148733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:40:51] local.INFO: GPS data processed {"connection_id":148733,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:40:51] local.INFO: Acknowledgment sent {"connection_id":148733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:41:14] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:41:14] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:41:14] local.INFO: IMEI packet received {"connection_id":148521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":148521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:41:17] local.INFO: TCP Data received {"connection_id":148734,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19e3028012d17aa800721d3b8004b00b32b..."} 
[2026-08-05 16:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19e3028012d17aa800721d3b8004b00b32b..."} 
[2026-08-05 16:41:17] local.INFO: Processing buffer {"connection_id":148734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19e3028012d17aa800721d3b8004b00b32b..."} 
[2026-08-05 16:41:17] local.INFO: Packet analysis {"connection_id":148734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19e"} 
[2026-08-05 16:41:17] local.INFO: Extracted packet for processing {"connection_id":148734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19e"} 
[2026-08-05 16:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756525696,"raw_latitude":119657400,"longitude_deg":75.6525696,"latitude_deg":11.96574,"altitude":75,"angle":179,"satellites":43,"speed":12,"hex_longitude":"2d17aa80","hex_latitude":"0721d3b8","is_valid_coordinates":true} 
[2026-08-05 16:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197627392001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10728132520706048,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705316177033889792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785928233000,"timestamp_ms":1785928233000,"timestamp_seconds":1785928233,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19e3028"} 
[2026-08-05 16:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16: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-08-05 16: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 16:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197627392001,"66":12265,"105":206,"83":41984,"24":12,"16":10728132520706048,"45":1705316177033889792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197627392001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:41:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10728132520706048,"km_value":10728132520706.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705316177033889792,"description":"Unknown IO ID 45"} 
[2026-08-05 16:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197627392001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1705316177033889792}} 
[2026-08-05 16:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":148734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:41:17] local.INFO: GPS data processed {"connection_id":148734,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:41:17] local.INFO: Acknowledgment sent {"connection_id":148734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:41:19] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:41:19] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:41:19] local.INFO: IMEI packet received {"connection_id":148521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":148521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:41:24] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19db710012d7be28005dcbc58000001672a..."} 
[2026-08-05 16:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19db710012d7be28005dcbc58000001672a..."} 
[2026-08-05 16:41:24] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19db710012d7be28005dcbc58000001672a..."} 
[2026-08-05 16:41:24] local.INFO: Packet analysis {"connection_id":148521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:41:24] local.INFO: Extracted packet for processing {"connection_id":148521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763093632,"raw_latitude":98352216,"longitude_deg":76.3093632,"latitude_deg":9.8352216,"altitude":0,"angle":359,"satellites":42,"speed":51,"hex_longitude":"2d7be280","hex_latitude":"05dcbc58","is_valid_coordinates":true} 
[2026-08-05 16:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197617920001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370626647960846336,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927190017786886144,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785928202000,"timestamp_ms":1785928202000,"timestamp_seconds":1785928202,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19db710"} 
[2026-08-05 16:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197617920001,"66":27908,"169":206,"85":15104,"24":51,"16":370626647960846336,"45":8927190017786886144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 16:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197617920001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:41:24] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 16:41:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370626647960846336,"km_value":370626647960846.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927190017786886144,"description":"Unknown IO ID 45"} 
[2026-08-05 16:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197617920001,"power":27908,"unknown_169":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8927190017786886144}} 
[2026-08-05 16:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":148521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:41:24] local.INFO: GPS data processed {"connection_id":148521,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:41:24] local.INFO: Acknowledgment sent {"connection_id":148521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:41:26] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19dd268012d7be14005dce0a8000001662c..."} 
[2026-08-05 16:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19dd268012d7be14005dce0a8000001662c..."} 
[2026-08-05 16:41:26] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19dd268012d7be14005dce0a8000001662c..."} 
[2026-08-05 16:41:26] local.INFO: Packet analysis {"connection_id":148521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:41:26] local.INFO: Extracted packet for processing {"connection_id":148521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763093312,"raw_latitude":98361512,"longitude_deg":76.3093312,"latitude_deg":9.8361512,"altitude":0,"angle":358,"satellites":44,"speed":54,"hex_longitude":"2d7be140","hex_latitude":"05dce0a8","is_valid_coordinates":true} 
[2026-08-05 16:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197619712001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370627098932412416,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926838174068267008,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785928209000,"timestamp_ms":1785928209000,"timestamp_seconds":1785928209,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19dd268"} 
[2026-08-05 16:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197619712001,"66":27876,"169":206,"85":15104,"24":54,"16":370627098932412416,"45":8926838174068267008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 16:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197619712001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:41:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 16:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370627098932412416,"km_value":370627098932412.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926838174068267008,"description":"Unknown IO ID 45"} 
[2026-08-05 16:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197619712001,"power":27876,"unknown_169":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8926838174068267008}} 
[2026-08-05 16:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":148521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:41:26] local.INFO: GPS data processed {"connection_id":148521,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:41:26] local.INFO: Acknowledgment sent {"connection_id":148521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:41:39] local.INFO: TCP Data received {"connection_id":151159,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:41:39] local.INFO: Processing buffer {"connection_id":151159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:41:39] local.INFO: IMEI packet received {"connection_id":151159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":151159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:41:44] local.INFO: TCP Data received {"connection_id":151159,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:41:44] local.INFO: Processing buffer {"connection_id":151159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:41:44] local.INFO: IMEI packet received {"connection_id":151159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":151159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:41:45] local.INFO: TCP Data received {"connection_id":151159,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19e3028012d17aa800721d3b8004b00b32b..."} 
[2026-08-05 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19e3028012d17aa800721d3b8004b00b32b..."} 
[2026-08-05 16:41:45] local.INFO: Processing buffer {"connection_id":151159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19e3028012d17aa800721d3b8004b00b32b..."} 
[2026-08-05 16:41:45] local.INFO: Packet analysis {"connection_id":151159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19e"} 
[2026-08-05 16:41:45] local.INFO: Extracted packet for processing {"connection_id":151159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19e"} 
[2026-08-05 16:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756525696,"raw_latitude":119657400,"longitude_deg":75.6525696,"latitude_deg":11.96574,"altitude":75,"angle":179,"satellites":43,"speed":12,"hex_longitude":"2d17aa80","hex_latitude":"0721d3b8","is_valid_coordinates":true} 
[2026-08-05 16:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197627648001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10728132520706048,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705316177033803776,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785928233000,"timestamp_ms":1785928233000,"timestamp_seconds":1785928233,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19e3028"} 
[2026-08-05 16:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 16:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197627648001,"66":12265,"105":206,"83":41984,"24":12,"16":10728132520706048,"45":1705316177033803776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197627648001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:41:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10728132520706048,"km_value":10728132520706.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705316177033803776,"description":"Unknown IO ID 45"} 
[2026-08-05 16:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197627648001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1705316177033803776}} 
[2026-08-05 16:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":151159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:41:45] local.INFO: GPS data processed {"connection_id":151159,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:41:45] local.INFO: Acknowledgment sent {"connection_id":151159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:41:57] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19dedc0012d7bdf8005dd03f0000001642f..."} 
[2026-08-05 16:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19dedc0012d7bdf8005dd03f0000001642f..."} 
[2026-08-05 16:41:57] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19dedc0012d7bdf8005dd03f0000001642f..."} 
[2026-08-05 16:41:57] local.INFO: Packet analysis {"connection_id":148521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:41:57] local.INFO: Extracted packet for processing {"connection_id":148521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19d"} 
[2026-08-05 16:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763092864,"raw_latitude":98370544,"longitude_deg":76.3092864,"latitude_deg":9.8370544,"altitude":0,"angle":356,"satellites":47,"speed":49,"hex_longitude":"2d7bdf80","hex_latitude":"05dd03f0","is_valid_coordinates":true} 
[2026-08-05 16:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197621504001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370627537019076608,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926486330349758464,"note":"Value kept but may cause issues"} 
[2026-08-05 16:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785928216000,"timestamp_ms":1785928216000,"timestamp_seconds":1785928216,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19dedc0"} 
[2026-08-05 16:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 16:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197621504001,"66":27919,"169":206,"85":15104,"24":49,"16":370627537019076608,"45":8926486330349758464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 16:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197621504001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:41:57] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 16:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370627537019076608,"km_value":370627537019076.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926486330349758464,"description":"Unknown IO ID 45"} 
[2026-08-05 16:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197621504001,"power":27919,"unknown_169":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8926486330349758464}} 
[2026-08-05 16:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":148521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:41:57] local.INFO: GPS data processed {"connection_id":148521,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:41:57] local.INFO: Acknowledgment sent {"connection_id":148521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:42:14] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:42:14] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:42:14] local.INFO: IMEI packet received {"connection_id":148522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":148522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:42:15] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:42:15] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:42:15] local.INFO: IMEI packet received {"connection_id":148522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":148522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:42:16] local.INFO: TCP Data received {"connection_id":151159,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19e3028012d17aa800721d3b8004b00b32b..."} 
[2026-08-05 16:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19e3028012d17aa800721d3b8004b00b32b..."} 
[2026-08-05 16:42:16] local.INFO: Processing buffer {"connection_id":151159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19e3028012d17aa800721d3b8004b00b32b..."} 
[2026-08-05 16:42:16] local.INFO: Packet analysis {"connection_id":151159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19e"} 
[2026-08-05 16:42:16] local.INFO: Extracted packet for processing {"connection_id":151159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19e"} 
[2026-08-05 16:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756525696,"raw_latitude":119657400,"longitude_deg":75.6525696,"latitude_deg":11.96574,"altitude":75,"angle":179,"satellites":43,"speed":12,"hex_longitude":"2d17aa80","hex_latitude":"0721d3b8","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197627648001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10728132520706048,"note":"Value kept but may cause issues"} 
[2026-08-05 16:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705316177033803776,"note":"Value kept but may cause issues"} 
[2026-08-05 16: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-08-05 16:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785928233000,"timestamp_ms":1785928233000,"timestamp_seconds":1785928233,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19e3028"} 
[2026-08-05 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-08-05 16:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 16:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197627648001,"66":12265,"105":206,"83":41984,"24":12,"16":10728132520706048,"45":1705316177033803776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197627648001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:42:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10728132520706048,"km_value":10728132520706.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705316177033803776,"description":"Unknown IO ID 45"} 
[2026-08-05 16:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197627648001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1705316177033803776}} 
[2026-08-05 16:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":151159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:42:16] local.INFO: GPS data processed {"connection_id":151159,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:42:16] local.INFO: Acknowledgment sent {"connection_id":151159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:42:19] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:42:19] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:42:19] local.INFO: IMEI packet received {"connection_id":148522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":148522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:42:20] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19e0d00012d7bdc4005dd28e00000016130..."} 
[2026-08-05 16:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19e0d00012d7bdc4005dd28e00000016130..."} 
[2026-08-05 16:42:20] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19e0d00012d7bdc4005dd28e00000016130..."} 
[2026-08-05 16:42:20] local.INFO: Packet analysis {"connection_id":148522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19e"} 
[2026-08-05 16:42:20] local.INFO: Extracted packet for processing {"connection_id":148522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19e"} 
[2026-08-05 16:42:20] local.INFO: GPS Element Parsed {"raw_longitude":763092032,"raw_latitude":98380000,"longitude_deg":76.3092032,"latitude_deg":9.838,"altitude":0,"angle":353,"satellites":48,"speed":47,"hex_longitude":"2d7bdc40","hex_latitude":"05dd28e0","is_valid_coordinates":true} 
[2026-08-05 16:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197623296001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370627996580577280,"note":"Value kept but may cause issues"} 
[2026-08-05 16:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925993749142827008,"note":"Value kept but may cause issues"} 
[2026-08-05 16:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785928224000,"timestamp_ms":1785928224000,"timestamp_seconds":1785928224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19e0d00"} 
[2026-08-05 16:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:42: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-08-05 16:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197623296001,"66":27887,"169":206,"85":15104,"24":47,"16":370627996580577280,"45":8925993749142827008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 16:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197623296001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:42:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 16:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370627996580577280,"km_value":370627996580577.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925993749142827008,"description":"Unknown IO ID 45"} 
[2026-08-05 16:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197623296001,"power":27887,"unknown_169":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8925993749142827008}} 
[2026-08-05 16:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":148522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:42:20] local.INFO: GPS data processed {"connection_id":148522,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:42:20] local.INFO: Acknowledgment sent {"connection_id":148522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:42:37] local.INFO: TCP Data received {"connection_id":151160,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:37] local.INFO: Processing buffer {"connection_id":151160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:37] local.INFO: IMEI packet received {"connection_id":151160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":151160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:42:40] local.INFO: TCP Data received {"connection_id":151160,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:40] local.INFO: Processing buffer {"connection_id":151160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:40] local.INFO: IMEI packet received {"connection_id":151160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":151160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:42:40] local.INFO: TCP Data received {"connection_id":151160,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:40] local.INFO: Processing buffer {"connection_id":151160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:40] local.INFO: IMEI packet received {"connection_id":151160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":151160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:42:42] local.INFO: TCP Data received {"connection_id":151160,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:42] local.INFO: Processing buffer {"connection_id":151160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:42:42] local.INFO: IMEI packet received {"connection_id":151160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":151160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:42:43] local.INFO: TCP Data received {"connection_id":151160,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19f5908012d17d740072197680051007429..."} 
[2026-08-05 16:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19f5908012d17d740072197680051007429..."} 
[2026-08-05 16:42:43] local.INFO: Processing buffer {"connection_id":151160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19f5908012d17d740072197680051007429..."} 
[2026-08-05 16:42:43] local.INFO: Packet analysis {"connection_id":151160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:42:43] local.INFO: Extracted packet for processing {"connection_id":151160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:42:43] local.INFO: GPS Element Parsed {"raw_longitude":756537152,"raw_latitude":119641960,"longitude_deg":75.6537152,"latitude_deg":11.964196,"altitude":81,"angle":116,"satellites":41,"speed":11,"hex_longitude":"2d17d740","hex_latitude":"07219768","is_valid_coordinates":true} 
[2026-08-05 16:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197646336001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10729279276974080,"note":"Value kept but may cause issues"} 
[2026-08-05 16:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1716927019819251712,"note":"Value kept but may cause issues"} 
[2026-08-05 16:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785928309000,"timestamp_ms":1785928309000,"timestamp_seconds":1785928309,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19f5908"} 
[2026-08-05 16:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":137,"data_length":795,"current_offset":136} 
[2026-08-05 16:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197646336001,"66":14004,"107":206,"83":41984,"24":11,"16":10729279276974080,"45":1716927019819251712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 16:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197646336001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:42:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 16:42:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10729279276974080,"km_value":10729279276974.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1716927019819251712,"description":"Unknown IO ID 45"} 
[2026-08-05 16:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197646336001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1716927019819251712}} 
[2026-08-05 16:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":151160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:42:43] local.INFO: GPS data processed {"connection_id":151160,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:42:43] local.INFO: Acknowledgment sent {"connection_id":151160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:42:51] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19f7c30012d7b96c005df0720000001632f..."} 
[2026-08-05 16:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19f7c30012d7b96c005df0720000001632f..."} 
[2026-08-05 16:42:51] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19f7c30012d7b96c005df0720000001632f..."} 
[2026-08-05 16:42:51] local.INFO: Packet analysis {"connection_id":148522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:42:51] local.INFO: Extracted packet for processing {"connection_id":148522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:42:51] local.INFO: GPS Element Parsed {"raw_longitude":763074240,"raw_latitude":98502432,"longitude_deg":76.307424,"latitude_deg":9.8502432,"altitude":0,"angle":355,"satellites":47,"speed":54,"hex_longitude":"2d7b96c0","hex_latitude":"05df0720","is_valid_coordinates":true} 
[2026-08-05 16:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197647616001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370634000944857088,"note":"Value kept but may cause issues"} 
[2026-08-05 16:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906360869548537856,"note":"Value kept but may cause issues"} 
[2026-08-05 16:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785928318000,"timestamp_ms":1785928318000,"timestamp_seconds":1785928318,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19f7c30"} 
[2026-08-05 16:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 16:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197647616001,"66":27821,"36":206,"85":15104,"24":54,"16":370634000944857088,"45":8906360869548537856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-05 16:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197647616001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:42:51] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-05 16:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370634000944857088,"km_value":370634000944857.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906360869548537856,"description":"Unknown IO ID 45"} 
[2026-08-05 16:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197647616001,"power":27821,"unknown_36":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8906360869548537856}} 
[2026-08-05 16:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":148522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:42:51] local.INFO: GPS data processed {"connection_id":148522,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:42:51] local.INFO: Acknowledgment sent {"connection_id":148522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:43:14] local.INFO: TCP Data received {"connection_id":151160,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a00100012d17f7c0072183a8004c00762c..."} 
[2026-08-05 16:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a00100012d17f7c0072183a8004c00762c..."} 
[2026-08-05 16:43:14] local.INFO: Processing buffer {"connection_id":151160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a00100012d17f7c0072183a8004c00762c..."} 
[2026-08-05 16:43:14] local.INFO: Packet analysis {"connection_id":151160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a0"} 
[2026-08-05 16:43:14] local.INFO: Extracted packet for processing {"connection_id":151160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a0"} 
[2026-08-05 16:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756545472,"raw_latitude":119636904,"longitude_deg":75.6545472,"latitude_deg":11.9636904,"altitude":76,"angle":118,"satellites":44,"speed":6,"hex_longitude":"2d17f7c0","hex_latitude":"072183a8","is_valid_coordinates":true} 
[2026-08-05 16:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197657088001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10729790378082304,"note":"Value kept but may cause issues"} 
[2026-08-05 16:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726567537770332160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785928352000,"timestamp_ms":1785928352000,"timestamp_seconds":1785928352,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a00100"} 
[2026-08-05 16:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 16:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197657088001,"66":14407,"107":206,"83":41984,"24":6,"16":10729790378082304,"45":1726567537770332160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 16:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197657088001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:43:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 16:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10729790378082304,"km_value":10729790378082.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726567537770332160,"description":"Unknown IO ID 45"} 
[2026-08-05 16:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197657088001,"power":14407,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1726567537770332160}} 
[2026-08-05 16:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":151160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:43:14] local.INFO: GPS data processed {"connection_id":151160,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:43:14] local.INFO: Acknowledgment sent {"connection_id":151160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:43:14] local.INFO: TCP Data received {"connection_id":149738,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:43:14] local.INFO: Processing buffer {"connection_id":149738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:43:14] local.INFO: IMEI packet received {"connection_id":149738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":149738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:43:19] local.INFO: TCP Data received {"connection_id":149738,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:43:19] local.INFO: Processing buffer {"connection_id":149738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:43:19] local.INFO: IMEI packet received {"connection_id":149738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":149738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:43:20] local.INFO: TCP Data received {"connection_id":149738,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19f9788012d7b944005df2d400000016530..."} 
[2026-08-05 16:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19f9788012d7b944005df2d400000016530..."} 
[2026-08-05 16:43:20] local.INFO: Processing buffer {"connection_id":149738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19f9788012d7b944005df2d400000016530..."} 
[2026-08-05 16:43:20] local.INFO: Packet analysis {"connection_id":149738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:43:20] local.INFO: Extracted packet for processing {"connection_id":149738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:43:20] local.INFO: GPS Element Parsed {"raw_longitude":763073600,"raw_latitude":98512192,"longitude_deg":76.30736,"latitude_deg":9.8512192,"altitude":0,"angle":357,"satellites":48,"speed":57,"hex_longitude":"2d7b9440","hex_latitude":"05df2d40","is_valid_coordinates":true} 
[2026-08-05 16:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197649408001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370634477686226944,"note":"Value kept but may cause issues"} 
[2026-08-05 16:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905516444620890112,"note":"Value kept but may cause issues"} 
[2026-08-05 16:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785928325000,"timestamp_ms":1785928325000,"timestamp_seconds":1785928325,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19f9788"} 
[2026-08-05 16:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:43: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":173,"data_length":795,"current_offset":136} 
[2026-08-05 16:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:43: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-08-05 16:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197649408001,"66":27984,"36":206,"85":15104,"24":57,"16":370634477686226944,"45":8905516444620890112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-05 16:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197649408001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:43:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-05 16:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370634477686226944,"km_value":370634477686226.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905516444620890112,"description":"Unknown IO ID 45"} 
[2026-08-05 16:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197649408001,"power":27984,"unknown_36":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8905516444620890112}} 
[2026-08-05 16:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":149738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:43:20] local.INFO: GPS data processed {"connection_id":149738,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:43:20] local.INFO: Acknowledgment sent {"connection_id":149738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:43:38] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:38] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:38] local.INFO: IMEI packet received {"connection_id":148523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":148523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:43:39] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:39] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:39] local.INFO: IMEI packet received {"connection_id":148523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":148523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:43:39] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:39] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:39] local.INFO: IMEI packet received {"connection_id":148523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":148523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:43:40] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:40] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:43:40] local.INFO: IMEI packet received {"connection_id":148523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":148523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:43:51] local.INFO: TCP Data received {"connection_id":149738,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19fb2e0012d7b918005df53b0000001622f..."} 
[2026-08-05 16:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19fb2e0012d7b918005df53b0000001622f..."} 
[2026-08-05 16:43:51] local.INFO: Processing buffer {"connection_id":149738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19fb2e0012d7b918005df53b0000001622f..."} 
[2026-08-05 16:43:51] local.INFO: Packet analysis {"connection_id":149738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:43:51] local.INFO: Extracted packet for processing {"connection_id":149738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:43:51] local.INFO: GPS Element Parsed {"raw_longitude":763072896,"raw_latitude":98522032,"longitude_deg":76.3072896,"latitude_deg":9.8522032,"altitude":0,"angle":354,"satellites":47,"speed":53,"hex_longitude":"2d7b9180","hex_latitude":"05df53b0","is_valid_coordinates":true} 
[2026-08-05 16:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197651200001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370634954427596800,"note":"Value kept but may cause issues"} 
[2026-08-05 16:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904812757181612032,"note":"Value kept but may cause issues"} 
[2026-08-05 16:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785928332000,"timestamp_ms":1785928332000,"timestamp_seconds":1785928332,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19fb2e0"} 
[2026-08-05 16:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 16:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197651200001,"66":27930,"36":206,"85":15104,"24":53,"16":370634954427596800,"45":8904812757181612032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-05 16:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197651200001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:43:51] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-05 16:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370634954427596800,"km_value":370634954427596.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904812757181612032,"description":"Unknown IO ID 45"} 
[2026-08-05 16:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197651200001,"power":27930,"unknown_36":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8904812757181612032}} 
[2026-08-05 16:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":149738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:43:51] local.INFO: GPS data processed {"connection_id":149738,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:43:51] local.INFO: Acknowledgment sent {"connection_id":149738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:44:19] local.INFO: TCP Data received {"connection_id":151161,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:44:19] local.INFO: Processing buffer {"connection_id":151161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:44:19] local.INFO: IMEI packet received {"connection_id":151161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":151161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:44:21] local.INFO: TCP Data received {"connection_id":151161,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:44:21] local.INFO: Processing buffer {"connection_id":151161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:44:21] local.INFO: IMEI packet received {"connection_id":151161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":151161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:44:33] local.INFO: TCP Data received {"connection_id":151161,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19fce38012d7b8c8005df78700000015f2e..."} 
[2026-08-05 16:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19fce38012d7b8c8005df78700000015f2e..."} 
[2026-08-05 16:44:33] local.INFO: Processing buffer {"connection_id":151161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19fce38012d7b8c8005df78700000015f2e..."} 
[2026-08-05 16:44:33] local.INFO: Packet analysis {"connection_id":151161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:44:33] local.INFO: Extracted packet for processing {"connection_id":151161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763071616,"raw_latitude":98531440,"longitude_deg":76.3071616,"latitude_deg":9.853144,"altitude":0,"angle":351,"satellites":46,"speed":55,"hex_longitude":"2d7b8c80","hex_latitude":"05df7870","is_valid_coordinates":true} 
[2026-08-05 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197652992001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370635413989097472,"note":"Value kept but may cause issues"} 
[2026-08-05 16:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904038700998176768,"note":"Value kept but may cause issues"} 
[2026-08-05 16:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785928339000,"timestamp_ms":1785928339000,"timestamp_seconds":1785928339,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19fce38"} 
[2026-08-05 16:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197652992001,"66":27843,"36":206,"85":15104,"24":55,"16":370635413989097472,"45":8904038700998176768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-05 16:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197652992001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:44:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-05 16:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370635413989097472,"km_value":370635413989097.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904038700998176768,"description":"Unknown IO ID 45"} 
[2026-08-05 16:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197652992001,"power":27843,"unknown_36":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8904038700998176768}} 
[2026-08-05 16:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":151161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:44:33] local.INFO: GPS data processed {"connection_id":151161,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:44:33] local.INFO: Acknowledgment sent {"connection_id":151161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:44:33] local.INFO: TCP Data received {"connection_id":151161,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd19fe990012d7b870005df9f40000001602d..."} 
[2026-08-05 16:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd19fe990012d7b870005df9f40000001602d..."} 
[2026-08-05 16:44:33] local.INFO: Processing buffer {"connection_id":151161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd19fe990012d7b870005df9f40000001602d..."} 
[2026-08-05 16:44:33] local.INFO: Packet analysis {"connection_id":151161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:44:33] local.INFO: Extracted packet for processing {"connection_id":151161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd19f"} 
[2026-08-05 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":98541376,"longitude_deg":76.3070208,"latitude_deg":9.8541376,"altitude":0,"angle":352,"satellites":45,"speed":58,"hex_longitude":"2d7b8700","hex_latitude":"05df9f40","is_valid_coordinates":true} 
[2026-08-05 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197654784001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370635903615369216,"note":"Value kept but may cause issues"} 
[2026-08-05 16:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902631326117031936,"note":"Value kept but may cause issues"} 
[2026-08-05 16:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785928346000,"timestamp_ms":1785928346000,"timestamp_seconds":1785928346,"priority":1,"record_length":96,"hex_timestamp":"0000019fd19fe990"} 
[2026-08-05 16:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 16:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197654784001,"66":27865,"36":206,"85":15104,"24":58,"16":370635903615369216,"45":8902631326117031936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-08-05 16:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197654784001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:44:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-05 16:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370635903615369216,"km_value":370635903615369.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902631326117031936,"description":"Unknown IO ID 45"} 
[2026-08-05 16:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197654784001,"power":27865,"unknown_36":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8902631326117031936}} 
[2026-08-05 16:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":151161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:44:33] local.INFO: GPS data processed {"connection_id":151161,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:44:33] local.INFO: Acknowledgment sent {"connection_id":151161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:45:14] local.INFO: TCP Data received {"connection_id":149739,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:45:14] local.INFO: Processing buffer {"connection_id":149739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:45:14] local.INFO: IMEI packet received {"connection_id":149739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":149739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:45:15] local.INFO: TCP Data received {"connection_id":149739,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:45:15] local.INFO: Processing buffer {"connection_id":149739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:45:15] local.INFO: IMEI packet received {"connection_id":149739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":149739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:45:19] local.INFO: TCP Data received {"connection_id":149739,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:45:19] local.INFO: Processing buffer {"connection_id":149739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:45:19] local.INFO: IMEI packet received {"connection_id":149739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":149739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:45:20] local.INFO: TCP Data received {"connection_id":149739,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a14920012d7b4b8005e13b980000015e2b..."} 
[2026-08-05 16:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a14920012d7b4b8005e13b980000015e2b..."} 
[2026-08-05 16:45:20] local.INFO: Processing buffer {"connection_id":149739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a14920012d7b4b8005e13b980000015e2b..."} 
[2026-08-05 16:45:20] local.INFO: Packet analysis {"connection_id":149739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:45:20] local.INFO: Extracted packet for processing {"connection_id":149739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:45:20] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98646936,"longitude_deg":76.3054976,"latitude_deg":9.8646936,"altitude":0,"angle":350,"satellites":43,"speed":55,"hex_longitude":"2d7b4b80","hex_latitude":"05e13b98","is_valid_coordinates":true} 
[2026-08-05 16:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197677824001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408750669824,"note":"Value kept but may cause issues"} 
[2026-08-05 16:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370641074755993600,"note":"Value kept but may cause issues"} 
[2026-08-05 16:45:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 16:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785928436000,"timestamp_ms":1785928436000,"timestamp_seconds":1785928436,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a14920"} 
[2026-08-05 16:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 16:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:45: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-08-05 16:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197677824001,"66":27919,"45":8886235408750669824,"85":15104,"24":55,"16":370641074755993600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-05 16:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197677824001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408750669824,"description":"Unknown IO ID 45"} 
[2026-08-05 16:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370641074755993600,"km_value":370641074755993.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:45:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457197677824001,"power":27919,"unknown_45":8886235408750669824,"unknown_85":15104,"ignition":55,"odometer":null}} 
[2026-08-05 16:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":149739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:45:20] local.INFO: GPS data processed {"connection_id":149739,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:45:20] local.INFO: Acknowledgment sent {"connection_id":149739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:45:25] local.INFO: TCP Data received {"connection_id":149739,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a16c48012d7b458005e15fe80002015f2b..."} 
[2026-08-05 16:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a16c48012d7b458005e15fe80002015f2b..."} 
[2026-08-05 16:45:25] local.INFO: Processing buffer {"connection_id":149739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a16c48012d7b458005e15fe80002015f2b..."} 
[2026-08-05 16:45:25] local.INFO: Packet analysis {"connection_id":149739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:45:25] local.INFO: Extracted packet for processing {"connection_id":149739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98656232,"longitude_deg":76.305344,"latitude_deg":9.8656232,"altitude":2,"angle":351,"satellites":43,"speed":31,"hex_longitude":"2d7b4580","hex_latitude":"05e15fe8","is_valid_coordinates":true} 
[2026-08-05 16:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197679616001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884335452660406272,"note":"Value kept but may cause issues"} 
[2026-08-05 16:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370641530022526976,"note":"Value kept but may cause issues"} 
[2026-08-05 16:45: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-08-05 16:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785928445000,"timestamp_ms":1785928445000,"timestamp_seconds":1785928445,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a16c48"} 
[2026-08-05 16:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197679616001,"66":27865,"45":8884335452660406272,"85":15104,"24":31,"16":370641530022526976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-05 16:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197679616001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884335452660406272,"description":"Unknown IO ID 45"} 
[2026-08-05 16:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370641530022526976,"km_value":370641530022527.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:45:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457197679616001,"power":27865,"unknown_45":8884335452660406272,"unknown_85":15104,"ignition":31,"odometer":null}} 
[2026-08-05 16:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":149739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:45:25] local.INFO: GPS data processed {"connection_id":149739,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:45:25] local.INFO: Acknowledgment sent {"connection_id":149739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:45:56] local.INFO: TCP Data received {"connection_id":149739,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a1ba68012d7b3f8005e184100000016031..."} 
[2026-08-05 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a1ba68012d7b3f8005e184100000016031..."} 
[2026-08-05 16:45:56] local.INFO: Processing buffer {"connection_id":149739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a1ba68012d7b3f8005e184100000016031..."} 
[2026-08-05 16:45:56] local.INFO: Packet analysis {"connection_id":149739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:45:56] local.INFO: Extracted packet for processing {"connection_id":149739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763051904,"raw_latitude":98665488,"longitude_deg":76.3051904,"latitude_deg":9.8665488,"altitude":0,"angle":352,"satellites":49,"speed":23,"hex_longitude":"2d7b3f80","hex_latitude":"05e18410","is_valid_coordinates":true} 
[2026-08-05 16:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197681920001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602802522112,"note":"Value kept but may cause issues"} 
[2026-08-05 16:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370641985289060352,"note":"Value kept but may cause issues"} 
[2026-08-05 16:45: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-08-05 16:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785928465000,"timestamp_ms":1785928465000,"timestamp_seconds":1785928465,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a1ba68"} 
[2026-08-05 16:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 16:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197681920001,"66":27876,"45":8882646602802522112,"85":15104,"24":23,"16":370641985289060352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-05 16:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197681920001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602802522112,"description":"Unknown IO ID 45"} 
[2026-08-05 16:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370641985289060352,"km_value":370641985289060.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:45:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457197681920001,"power":27876,"unknown_45":8882646602802522112,"unknown_85":15104,"ignition":23,"odometer":null}} 
[2026-08-05 16:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":149739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:45:56] local.INFO: GPS data processed {"connection_id":149739,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:45:56] local.INFO: Acknowledgment sent {"connection_id":149739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:46:14] local.INFO: TCP Data received {"connection_id":151163,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:46:14] local.INFO: Processing buffer {"connection_id":151163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:46:14] local.INFO: IMEI packet received {"connection_id":151163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":151163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:46:19] local.INFO: TCP Data received {"connection_id":151163,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:46:19] local.INFO: Processing buffer {"connection_id":151163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:46:19] local.INFO: IMEI packet received {"connection_id":151163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":151163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:46:20] local.INFO: TCP Data received {"connection_id":151163,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a1e948012d7b3bc005e1a7580000016332..."} 
[2026-08-05 16:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a1e948012d7b3bc005e1a7580000016332..."} 
[2026-08-05 16:46:20] local.INFO: Processing buffer {"connection_id":151163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a1e948012d7b3bc005e1a7580000016332..."} 
[2026-08-05 16:46:20] local.INFO: Packet analysis {"connection_id":151163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:46:20] local.INFO: Extracted packet for processing {"connection_id":151163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:46:20] local.INFO: GPS Element Parsed {"raw_longitude":763050944,"raw_latitude":98674520,"longitude_deg":76.3050944,"latitude_deg":9.867452,"altitude":0,"angle":355,"satellites":50,"speed":38,"hex_longitude":"2d7b3bc0","hex_latitude":"05e1a758","is_valid_coordinates":true} 
[2026-08-05 16:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197687040001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880957752944627712,"note":"Value kept but may cause issues"} 
[2026-08-05 16:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370642427670691840,"note":"Value kept but may cause issues"} 
[2026-08-05 16:46:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 16:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785928477000,"timestamp_ms":1785928477000,"timestamp_seconds":1785928477,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a1e948"} 
[2026-08-05 16:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 16:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:46: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-08-05 16:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197687040001,"66":28028,"45":8880957752944627712,"85":15104,"24":38,"16":370642427670691840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-05 16:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197687040001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880957752944627712,"description":"Unknown IO ID 45"} 
[2026-08-05 16:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370642427670691840,"km_value":370642427670691.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:46:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457197687040001,"power":28028,"unknown_45":8880957752944627712,"unknown_85":15104,"ignition":38,"odometer":null}} 
[2026-08-05 16:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":151163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:46:20] local.INFO: GPS data processed {"connection_id":151163,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:46:20] local.INFO: Acknowledgment sent {"connection_id":151163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:46:51] local.INFO: TCP Data received {"connection_id":151163,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a20c70012d7b390005e1cc38000001642a..."} 
[2026-08-05 16:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a20c70012d7b390005e1cc38000001642a..."} 
[2026-08-05 16:46:51] local.INFO: Processing buffer {"connection_id":151163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a20c70012d7b390005e1cc38000001642a..."} 
[2026-08-05 16:46:51] local.INFO: Packet analysis {"connection_id":151163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a2"} 
[2026-08-05 16:46:51] local.INFO: Extracted packet for processing {"connection_id":151163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a2"} 
[2026-08-05 16:46:51] local.INFO: GPS Element Parsed {"raw_longitude":763050240,"raw_latitude":98683960,"longitude_deg":76.305024,"latitude_deg":9.868396,"altitude":0,"angle":356,"satellites":42,"speed":46,"hex_longitude":"2d7b3900","hex_latitude":"05e1cc38","is_valid_coordinates":true} 
[2026-08-05 16:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197690112001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370642887232192512,"note":"Value kept but may cause issues"} 
[2026-08-05 16:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879902221784274944,"note":"Value kept but may cause issues"} 
[2026-08-05 16:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785928486000,"timestamp_ms":1785928486000,"timestamp_seconds":1785928486,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a20c70"} 
[2026-08-05 16:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 16:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197690112001,"66":27930,"169":206,"85":15104,"24":46,"16":370642887232192512,"45":8879902221784274944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 16:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197690112001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:46:51] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 16:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370642887232192512,"km_value":370642887232192.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879902221784274944,"description":"Unknown IO ID 45"} 
[2026-08-05 16:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197690112001,"power":27930,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8879902221784274944}} 
[2026-08-05 16:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":151163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:46:51] local.INFO: GPS data processed {"connection_id":151163,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:46:51] local.INFO: Acknowledgment sent {"connection_id":151163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:47:14] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:47:14] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:47:14] local.INFO: IMEI packet received {"connection_id":148525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":148525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:47:19] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:47:19] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:47:19] local.INFO: IMEI packet received {"connection_id":148525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":148525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:47:20] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a22bb0012d7b358005e1efb0000001602b..."} 
[2026-08-05 16:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a22bb0012d7b358005e1efb0000001602b..."} 
[2026-08-05 16:47:20] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a22bb0012d7b358005e1efb0000001602b..."} 
[2026-08-05 16:47:20] local.INFO: Packet analysis {"connection_id":148525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a2"} 
[2026-08-05 16:47:20] local.INFO: Extracted packet for processing {"connection_id":148525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a2"} 
[2026-08-05 16:47:20] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":98693040,"longitude_deg":76.3049344,"latitude_deg":9.869304,"altitude":0,"angle":352,"satellites":43,"speed":40,"hex_longitude":"2d7b3580","hex_latitude":"05e1efb0","is_valid_coordinates":true} 
[2026-08-05 16:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197692416001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370643329613824000,"note":"Value kept but may cause issues"} 
[2026-08-05 16:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879128165600737280,"note":"Value kept but may cause issues"} 
[2026-08-05 16:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785928494000,"timestamp_ms":1785928494000,"timestamp_seconds":1785928494,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a22bb0"} 
[2026-08-05 16:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:47: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-08-05 16:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197692416001,"66":27908,"169":206,"85":15104,"24":40,"16":370643329613824000,"45":8879128165600737280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 16:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197692416001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:47:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 16:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370643329613824000,"km_value":370643329613824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879128165600737280,"description":"Unknown IO ID 45"} 
[2026-08-05 16:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197692416001,"power":27908,"unknown_169":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8879128165600737280}} 
[2026-08-05 16:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":148525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:47:20] local.INFO: GPS data processed {"connection_id":148525,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:47:20] local.INFO: Acknowledgment sent {"connection_id":148525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:47:53] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a26a30012d7b2fc005e21270000001612e..."} 
[2026-08-05 16:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a26a30012d7b2fc005e21270000001612e..."} 
[2026-08-05 16:47:53] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a26a30012d7b2fc005e21270000001612e..."} 
[2026-08-05 16:47:53] local.INFO: Packet analysis {"connection_id":148525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a2"} 
[2026-08-05 16:47:53] local.INFO: Extracted packet for processing {"connection_id":148525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a2"} 
[2026-08-05 16:47:53] local.INFO: GPS Element Parsed {"raw_longitude":763047872,"raw_latitude":98701936,"longitude_deg":76.3047872,"latitude_deg":9.8701936,"altitude":0,"angle":353,"satellites":46,"speed":22,"hex_longitude":"2d7b2fc0","hex_latitude":"05e21270","is_valid_coordinates":true} 
[2026-08-05 16:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197694464001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370643767700488192,"note":"Value kept but may cause issues"} 
[2026-08-05 16:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143003184574464,"note":"Value kept but may cause issues"} 
[2026-08-05 16:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785928510000,"timestamp_ms":1785928510000,"timestamp_seconds":1785928510,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a26a30"} 
[2026-08-05 16:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197694464001,"66":27908,"96":206,"85":15104,"24":22,"16":370643767700488192,"45":8878143003184574464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-05 16:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197694464001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:47:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-05 16:47:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370643767700488192,"km_value":370643767700488.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143003184574464,"description":"Unknown IO ID 45"} 
[2026-08-05 16:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197694464001,"power":27908,"unknown_96":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8878143003184574464}} 
[2026-08-05 16:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":148525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:47:53] local.INFO: GPS data processed {"connection_id":148525,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:47:53] local.INFO: Acknowledgment sent {"connection_id":148525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:48:14] local.INFO: TCP Data received {"connection_id":148736,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:48:14] local.INFO: Processing buffer {"connection_id":148736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:48:14] local.INFO: IMEI packet received {"connection_id":148736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":148736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:48:16] local.INFO: TCP Data received {"connection_id":148736,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:48:16] local.INFO: Processing buffer {"connection_id":148736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:48:16] local.INFO: IMEI packet received {"connection_id":148736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":148736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:48:19] local.INFO: TCP Data received {"connection_id":148736,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:48:20] local.INFO: Processing buffer {"connection_id":148736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:48:20] local.INFO: IMEI packet received {"connection_id":148736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":148736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:48:21] local.INFO: TCP Data received {"connection_id":148736,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a43338012d7afac005e371d8000401582b..."} 
[2026-08-05 16:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a43338012d7afac005e371d8000401582b..."} 
[2026-08-05 16:48:21] local.INFO: Processing buffer {"connection_id":148736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a43338012d7afac005e371d8000401582b..."} 
[2026-08-05 16:48:21] local.INFO: Packet analysis {"connection_id":148736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a4"} 
[2026-08-05 16:48:21] local.INFO: Extracted packet for processing {"connection_id":148736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a4"} 
[2026-08-05 16:48:21] local.INFO: GPS Element Parsed {"raw_longitude":763034304,"raw_latitude":98791896,"longitude_deg":76.3034304,"latitude_deg":9.8791896,"altitude":4,"angle":344,"satellites":43,"speed":17,"hex_longitude":"2d7afac0","hex_latitude":"05e371d8","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197724928001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370648187221835776,"note":"Value kept but may cause issues"} 
[2026-08-05 16:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204325517312,"note":"Value kept but may cause issues"} 
[2026-08-05 16:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785928627000,"timestamp_ms":1785928627000,"timestamp_seconds":1785928627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a43338"} 
[2026-08-05 16:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:48: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-08-05 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 16:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197724928001,"66":27930,"97":206,"85":15104,"24":17,"16":370648187221835776,"45":8864632204325517312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 16:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197724928001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:48:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 16:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370648187221835776,"km_value":370648187221835.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204325517312,"description":"Unknown IO ID 45"} 
[2026-08-05 16:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197724928001,"power":27930,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8864632204325517312}} 
[2026-08-05 16:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":148736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:48:21] local.INFO: GPS data processed {"connection_id":148736,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:48:21] local.INFO: Acknowledgment sent {"connection_id":148736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:48:44] local.INFO: TCP Data received {"connection_id":151165,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:48:44] local.INFO: Processing buffer {"connection_id":151165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:48:44] local.INFO: IMEI packet received {"connection_id":151165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":151165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:48:45] local.INFO: TCP Data received {"connection_id":151165,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a16c48012d1823400721b8c8004c01532f..."} 
[2026-08-05 16:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a16c48012d1823400721b8c8004c01532f..."} 
[2026-08-05 16:48:45] local.INFO: Processing buffer {"connection_id":151165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a16c48012d1823400721b8c8004c01532f..."} 
[2026-08-05 16:48:45] local.INFO: Packet analysis {"connection_id":151165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:48:45] local.INFO: Extracted packet for processing {"connection_id":151165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650504,"longitude_deg":75.6556608,"latitude_deg":11.9650504,"altitude":76,"angle":339,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b8c8","is_valid_coordinates":true} 
[2026-08-05 16:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197676544001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730718091018240,"note":"Value kept but may cause issues"} 
[2026-08-05 16:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469850112,"note":"Value kept but may cause issues"} 
[2026-08-05 16:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785928445000,"timestamp_ms":1785928445000,"timestamp_seconds":1785928445,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a16c48"} 
[2026-08-05 16:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-05 16:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197676544001,"66":13135,"105":206,"83":41984,"24":0,"16":10730718091018240,"45":1739304280469850112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197676544001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:48:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730718091018240,"km_value":10730718091018.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469850112,"description":"Unknown IO ID 45"} 
[2026-08-05 16:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197676544001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469850112}} 
[2026-08-05 16:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":151165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:48:45] local.INFO: GPS data processed {"connection_id":151165,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:48:45] local.INFO: Acknowledgment sent {"connection_id":151165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:48:53] local.INFO: TCP Data received {"connection_id":148736,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a48540012d7af48005e38730000601592c..."} 
[2026-08-05 16:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a48540012d7af48005e38730000601592c..."} 
[2026-08-05 16:48:53] local.INFO: Processing buffer {"connection_id":148736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a48540012d7af48005e38730000601592c..."} 
[2026-08-05 16:48:53] local.INFO: Packet analysis {"connection_id":148736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a4"} 
[2026-08-05 16:48:53] local.INFO: Extracted packet for processing {"connection_id":148736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a4"} 
[2026-08-05 16:48:53] local.INFO: GPS Element Parsed {"raw_longitude":763032704,"raw_latitude":98797360,"longitude_deg":76.3032704,"latitude_deg":9.879736,"altitude":6,"angle":345,"satellites":44,"speed":11,"hex_longitude":"2d7af480","hex_latitude":"05e38730","is_valid_coordinates":true} 
[2026-08-05 16:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197728512001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370648466394710016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861606348328130560,"note":"Value kept but may cause issues"} 
[2026-08-05 16:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785928648000,"timestamp_ms":1785928648000,"timestamp_seconds":1785928648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a48540"} 
[2026-08-05 16:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197728512001,"66":27745,"97":206,"85":15104,"24":11,"16":370648466394710016,"45":8861606348328130560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 16:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197728512001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 16:48:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370648466394710016,"km_value":370648466394710.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861606348328130560,"description":"Unknown IO ID 45"} 
[2026-08-05 16:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197728512001,"power":27745,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8861606348328130560}} 
[2026-08-05 16:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":148736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:48:53] local.INFO: GPS data processed {"connection_id":148736,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:48:53] local.INFO: Acknowledgment sent {"connection_id":148736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:49:14] local.INFO: TCP Data received {"connection_id":151166,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:49:14] local.INFO: Processing buffer {"connection_id":151166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:49:14] local.INFO: IMEI packet received {"connection_id":151166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":151166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:49:16] local.INFO: TCP Data received {"connection_id":151165,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a1be50012d1823400721b8c8004c01532f..."} 
[2026-08-05 16:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a1be50012d1823400721b8c8004c01532f..."} 
[2026-08-05 16:49:16] local.INFO: Processing buffer {"connection_id":151165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a1be50012d1823400721b8c8004c01532f..."} 
[2026-08-05 16:49:16] local.INFO: Packet analysis {"connection_id":151165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:49:16] local.INFO: Extracted packet for processing {"connection_id":151165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a1"} 
[2026-08-05 16:49:16] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650504,"longitude_deg":75.6556608,"latitude_deg":11.9650504,"altitude":76,"angle":339,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b8c8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197681920001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730718091018240,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469850112,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785928466000,"timestamp_ms":1785928466000,"timestamp_seconds":1785928466,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a1be50"} 
[2026-08-05 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-08-05 16:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 16:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197681920001,"66":13102,"105":206,"83":41984,"24":0,"16":10730718091018240,"45":1739304280469850112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197681920001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730718091018240,"km_value":10730718091018.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469850112,"description":"Unknown IO ID 45"} 
[2026-08-05 16:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197681920001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469850112}} 
[2026-08-05 16:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":151165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:49:16] local.INFO: GPS data processed {"connection_id":151165,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:49:16] local.INFO: Acknowledgment sent {"connection_id":151165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:49:20] local.INFO: TCP Data received {"connection_id":151166,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:49:20] local.INFO: Processing buffer {"connection_id":151166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:49:20] local.INFO: IMEI packet received {"connection_id":151166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":151166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:49:20] local.INFO: TCP Data received {"connection_id":151166,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:49:20] local.INFO: Processing buffer {"connection_id":151166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:49:20] local.INFO: IMEI packet received {"connection_id":151166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":151166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:49:21] local.INFO: TCP Data received {"connection_id":151166,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a49cb0012d7af18005e38fb00007014c2e..."} 
[2026-08-05 16:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a49cb0012d7af18005e38fb00007014c2e..."} 
[2026-08-05 16:49:21] local.INFO: Processing buffer {"connection_id":151166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a49cb0012d7af18005e38fb00007014c2e..."} 
[2026-08-05 16:49:21] local.INFO: Packet analysis {"connection_id":151166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a4"} 
[2026-08-05 16:49:21] local.INFO: Extracted packet for processing {"connection_id":151166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a4"} 
[2026-08-05 16:49:21] local.INFO: GPS Element Parsed {"raw_longitude":763031936,"raw_latitude":98799536,"longitude_deg":76.3031936,"latitude_deg":9.8799536,"altitude":7,"angle":332,"satellites":46,"speed":14,"hex_longitude":"2d7af180","hex_latitude":"05e38fb0","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197733888001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370648578063859712,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859847129725087744,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785928654000,"timestamp_ms":1785928654000,"timestamp_seconds":1785928654,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a49cb0"} 
[2026-08-05 16:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:49: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-08-05 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 16:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197733888001,"66":27908,"97":206,"85":15104,"24":14,"16":370648578063859712,"45":8859847129725087744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 16:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197733888001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:49:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 16:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370648578063859712,"km_value":370648578063859.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859847129725087744,"description":"Unknown IO ID 45"} 
[2026-08-05 16:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197733888001,"power":27908,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8859847129725087744}} 
[2026-08-05 16:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":151166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:49:21] local.INFO: GPS data processed {"connection_id":151166,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:49:21] local.INFO: Acknowledgment sent {"connection_id":151166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:49:31] local.INFO: TCP Data received {"connection_id":151166,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a4a868012d7aefc005e39390000601572d..."} 
[2026-08-05 16:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a4a868012d7aefc005e39390000601572d..."} 
[2026-08-05 16:49:31] local.INFO: Processing buffer {"connection_id":151166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a4a868012d7aefc005e39390000601572d..."} 
[2026-08-05 16:49:31] local.INFO: Packet analysis {"connection_id":151166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a4"} 
[2026-08-05 16:49:31] local.INFO: Extracted packet for processing {"connection_id":151166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a4"} 
[2026-08-05 16:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763031488,"raw_latitude":98800528,"longitude_deg":76.3031488,"latitude_deg":9.8800528,"altitude":6,"angle":343,"satellites":45,"speed":12,"hex_longitude":"2d7aefc0","hex_latitude":"05e39390","is_valid_coordinates":true} 
[2026-08-05 16:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197735424001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370648629603467264,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859002704795512832,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785928657000,"timestamp_ms":1785928657000,"timestamp_seconds":1785928657,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a4a868"} 
[2026-08-05 16:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197735424001,"66":27876,"97":206,"85":15104,"24":12,"16":370648629603467264,"45":8859002704795512832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 16:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197735424001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 16:49:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 16:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370648629603467264,"km_value":370648629603467.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859002704795512832,"description":"Unknown IO ID 45"} 
[2026-08-05 16:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197735424001,"power":27876,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8859002704795512832}} 
[2026-08-05 16:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":151166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:49:31] local.INFO: GPS data processed {"connection_id":151166,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:49:31] local.INFO: Acknowledgment sent {"connection_id":151166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:49:39] local.INFO: TCP Data received {"connection_id":149740,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:49:39] local.INFO: Processing buffer {"connection_id":149740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:49:39] local.INFO: IMEI packet received {"connection_id":149740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":149740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:49:44] local.INFO: TCP Data received {"connection_id":149740,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:49:44] local.INFO: Processing buffer {"connection_id":149740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:49:44] local.INFO: IMEI packet received {"connection_id":149740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":149740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:49:45] local.INFO: TCP Data received {"connection_id":149740,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a544a8012d1823000721b6f0004c01532c..."} 
[2026-08-05 16:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a544a8012d1823000721b6f0004c01532c..."} 
[2026-08-05 16:49:45] local.INFO: Processing buffer {"connection_id":149740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a544a8012d1823000721b6f0004c01532c..."} 
[2026-08-05 16:49:45] local.INFO: Packet analysis {"connection_id":149740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a5"} 
[2026-08-05 16:49:45] local.INFO: Extracted packet for processing {"connection_id":149740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a5"} 
[2026-08-05 16:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197741056001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785928697000,"timestamp_ms":1785928697000,"timestamp_seconds":1785928697,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a544a8"} 
[2026-08-05 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-08-05 16:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3517122160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-6722633989496495296,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3069182028,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612042274058669,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429911902567093040,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 16:49:45] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,31,159,160,45,182,76,10,66,78,47,252,1,240,128,227,209,33,4,113,205,88,35,46,239,50,2,38,7,164,136],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 16:49:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476750074597867520,"timestamp_seconds":5476750074597868.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 16:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197741056001,"66":12591,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197741056001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:49:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197741056001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":149740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:49:45] local.INFO: GPS data processed {"connection_id":149740,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:49:45] local.INFO: Acknowledgment sent {"connection_id":149740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:50:16] local.INFO: TCP Data received {"connection_id":149740,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a596b0012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a596b0012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:50:16] local.INFO: Processing buffer {"connection_id":149740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a596b0012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:50:16] local.INFO: Packet analysis {"connection_id":149740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a5"} 
[2026-08-05 16:50:16] local.INFO: Extracted packet for processing {"connection_id":149740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a5"} 
[2026-08-05 16:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 16:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197746432001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785928718000,"timestamp_ms":1785928718000,"timestamp_seconds":1785928718,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a596b0"} 
[2026-08-05 16:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 16:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197746432001,"66":12819,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197746432001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:50:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:50:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197746432001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":149740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:50:16] local.INFO: GPS data processed {"connection_id":149740,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:50:16] local.INFO: Acknowledgment sent {"connection_id":149740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:50:24] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:24] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:24] local.INFO: IMEI packet received {"connection_id":148526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":148526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:50:24] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:24] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:24] local.INFO: IMEI packet received {"connection_id":148526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":148526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:50:26] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:26] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:26] local.INFO: IMEI packet received {"connection_id":148526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":148526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:50:29] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:29] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:50:29] local.INFO: IMEI packet received {"connection_id":148526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":148526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:50:30] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a63ac0012d7a3ec005e493a8000201452f..."} 
[2026-08-05 16:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a63ac0012d7a3ec005e493a8000201452f..."} 
[2026-08-05 16:50:30] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a63ac0012d7a3ec005e493a8000201452f..."} 
[2026-08-05 16:50:30] local.INFO: Packet analysis {"connection_id":148526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:50:30] local.INFO: Extracted packet for processing {"connection_id":148526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:50:30] local.INFO: GPS Element Parsed {"raw_longitude":762986176,"raw_latitude":98866088,"longitude_deg":76.2986176,"latitude_deg":9.8866088,"altitude":2,"angle":325,"satellites":47,"speed":40,"hex_longitude":"2d7a3ec0","hex_latitude":"05e493a8","is_valid_coordinates":true} 
[2026-08-05 16:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197760000001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370652636807954432,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815092608443813888,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50: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-08-05 16:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785928760000,"timestamp_ms":1785928760000,"timestamp_seconds":1785928760,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a63ac0"} 
[2026-08-05 16:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 16:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197760000001,"66":27919,"39":206,"87":13824,"24":40,"16":370652636807954432,"45":8815092608443813888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-05 16:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197760000001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:50:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-05 16:50:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 16:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370652636807954432,"km_value":370652636807954.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815092608443813888,"description":"Unknown IO ID 45"} 
[2026-08-05 16:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197760000001,"power":27919,"unknown_39":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8815092608443813888}} 
[2026-08-05 16:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":148526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:50:30] local.INFO: GPS data processed {"connection_id":148526,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:50:30] local.INFO: Acknowledgment sent {"connection_id":148526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:50:39] local.INFO: TCP Data received {"connection_id":151167,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:50:39] local.INFO: Processing buffer {"connection_id":151167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:50:39] local.INFO: IMEI packet received {"connection_id":151167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":151167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:50:40] local.INFO: TCP Data received {"connection_id":151167,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:50:40] local.INFO: Processing buffer {"connection_id":151167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:50:40] local.INFO: IMEI packet received {"connection_id":151167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":151167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:50:44] local.INFO: TCP Data received {"connection_id":151167,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:50:44] local.INFO: Processing buffer {"connection_id":151167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:50:44] local.INFO: IMEI packet received {"connection_id":151167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":151167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:50:45] local.INFO: TCP Data received {"connection_id":151167,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a5e8b8012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a5e8b8012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:50:45] local.INFO: Processing buffer {"connection_id":151167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a5e8b8012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:50:45] local.INFO: Packet analysis {"connection_id":151167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a5"} 
[2026-08-05 16:50:45] local.INFO: Extracted packet for processing {"connection_id":151167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a5"} 
[2026-08-05 16:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 16:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197751808001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785928739000,"timestamp_ms":1785928739000,"timestamp_seconds":1785928739,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a5e8b8"} 
[2026-08-05 16:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3517164160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503763365527552,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-6676454501129903360,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3069182028,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146179942887853,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429392933078782766,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84750507667038648,"note":"Value kept but may cause issues"} 
[2026-08-05 16:50:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":21393554962120704,"corrected_to":0} 
[2026-08-05 16:50:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,31,159,68,45,182,76,44,10,66,242,160,1,240,74,227,209,33,4,113,205,252,35,239,50,2,38,7,164,142,69,112,200],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0},{"io_id":200,"original":21393554962120704,"validated":0}]} 
[2026-08-05 16:50:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476750078892834816,"timestamp_seconds":5476750078892835.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 16:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197751808001,"66":12819,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197751808001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:50:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197751808001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":151167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:50:45] local.INFO: GPS data processed {"connection_id":151167,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:50:45] local.INFO: Acknowledgment sent {"connection_id":151167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:51:14] local.INFO: TCP Data received {"connection_id":148737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:14] local.INFO: Processing buffer {"connection_id":148737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:14] local.INFO: IMEI packet received {"connection_id":148737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":148737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:51:15] local.INFO: TCP Data received {"connection_id":148737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:15] local.INFO: Processing buffer {"connection_id":148737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:15] local.INFO: IMEI packet received {"connection_id":148737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":148737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:51:16] local.INFO: TCP Data received {"connection_id":151167,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a63ac0012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a63ac0012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:51:16] local.INFO: Processing buffer {"connection_id":151167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a63ac0012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:51:16] local.INFO: Packet analysis {"connection_id":151167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:51:16] local.INFO: Extracted packet for processing {"connection_id":151167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:51:16] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 16:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197757184001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785928760000,"timestamp_ms":1785928760000,"timestamp_seconds":1785928760,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a63ac0"} 
[2026-08-05 16:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3517185160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":21393554995675136,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503763365527552,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-6653364756946607360,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3069182028,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146179942887853,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429392933078782764,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195044864,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84750506593296822,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,31,159,150,45,182,76,46,10,66,68,44,242,1,240,9,227,209,33,4,113,205,78,35,47,239,50,2,38,7,164,142,69,120],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-05 16:51:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476750074597867520,"timestamp_seconds":5476750074597868.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 16:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197757184001,"66":12798,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197757184001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:51:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:51:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197757184001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":151167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:51:16] local.INFO: GPS data processed {"connection_id":151167,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:51:16] local.INFO: Acknowledgment sent {"connection_id":151167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:51:27] local.INFO: TCP Data received {"connection_id":148737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:27] local.INFO: Processing buffer {"connection_id":148737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:27] local.INFO: IMEI packet received {"connection_id":148737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":148737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:51:28] local.INFO: TCP Data received {"connection_id":148737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:28] local.INFO: Processing buffer {"connection_id":148737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:51:28] local.INFO: IMEI packet received {"connection_id":148737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":148737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:51:29] local.INFO: TCP Data received {"connection_id":148737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a65de8012d7a298005e4b3600003014726..."} 
[2026-08-05 16:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a65de8012d7a298005e4b3600003014726..."} 
[2026-08-05 16:51:29] local.INFO: Processing buffer {"connection_id":148737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a65de8012d7a298005e4b3600003014726..."} 
[2026-08-05 16:51:29] local.INFO: Packet analysis {"connection_id":148737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:51:29] local.INFO: Extracted packet for processing {"connection_id":148737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":762980736,"raw_latitude":98874208,"longitude_deg":76.2980736,"latitude_deg":9.8874208,"altitude":3,"angle":327,"satellites":38,"speed":43,"hex_longitude":"2d7a2980","hex_latitude":"05e4b360","is_valid_coordinates":true} 
[2026-08-05 16:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197762560001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370653109254356992,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808689052725520384,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785928769000,"timestamp_ms":1785928769000,"timestamp_seconds":1785928769,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a65de8"} 
[2026-08-05 16:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 16:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197762560001,"66":27908,"39":206,"87":13824,"24":43,"16":370653109254356992,"45":8808689052725520384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-05 16:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197762560001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:51:29] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-05 16:51:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 16:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370653109254356992,"km_value":370653109254357.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808689052725520384,"description":"Unknown IO ID 45"} 
[2026-08-05 16:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197762560001,"power":27908,"unknown_39":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8808689052725520384}} 
[2026-08-05 16:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":148737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:51:29] local.INFO: GPS data processed {"connection_id":148737,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:51:29] local.INFO: Acknowledgment sent {"connection_id":148737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:51:30] local.INFO: TCP Data received {"connection_id":148737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a67d28012d7a148005e4d1d0000401432c..."} 
[2026-08-05 16:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a67d28012d7a148005e4d1d0000401432c..."} 
[2026-08-05 16:51:30] local.INFO: Processing buffer {"connection_id":148737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a67d28012d7a148005e4d1d0000401432c..."} 
[2026-08-05 16:51:30] local.INFO: Packet analysis {"connection_id":148737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:51:30] local.INFO: Extracted packet for processing {"connection_id":148737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:51:30] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":98882000,"longitude_deg":76.297536,"latitude_deg":9.8882,"altitude":4,"angle":323,"satellites":44,"speed":47,"hex_longitude":"2d7a1480","hex_latitude":"05e4d1d0","is_valid_coordinates":true} 
[2026-08-05 16:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197764864001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370653564520890368,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802707709472497664,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51: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-08-05 16:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785928777000,"timestamp_ms":1785928777000,"timestamp_seconds":1785928777,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a67d28"} 
[2026-08-05 16:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197764864001,"66":27887,"39":206,"87":13824,"24":47,"16":370653564520890368,"45":8802707709472497664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-05 16:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197764864001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:51:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-05 16:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 16:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370653564520890368,"km_value":370653564520890.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802707709472497664,"description":"Unknown IO ID 45"} 
[2026-08-05 16:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197764864001,"power":27887,"unknown_39":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8802707709472497664}} 
[2026-08-05 16:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":148737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:51:30] local.INFO: GPS data processed {"connection_id":148737,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:51:30] local.INFO: Acknowledgment sent {"connection_id":148737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:51:43] local.INFO: TCP Data received {"connection_id":148738,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:51:43] local.INFO: Processing buffer {"connection_id":148738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:51:43] local.INFO: IMEI packet received {"connection_id":148738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":148738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:51:44] local.INFO: TCP Data received {"connection_id":148738,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:51:44] local.INFO: Processing buffer {"connection_id":148738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:51:44] local.INFO: IMEI packet received {"connection_id":148738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":148738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:51:49] local.INFO: TCP Data received {"connection_id":148738,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:51:49] local.INFO: Processing buffer {"connection_id":148738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:51:49] local.INFO: IMEI packet received {"connection_id":148738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":148738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:51:50] local.INFO: TCP Data received {"connection_id":148738,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a68cc8012d1823000721b6f0004c01532f..."} 
[2026-08-05 16:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a68cc8012d1823000721b6f0004c01532f..."} 
[2026-08-05 16:51:50] local.INFO: Processing buffer {"connection_id":148738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a68cc8012d1823000721b6f0004c01532f..."} 
[2026-08-05 16:51:50] local.INFO: Packet analysis {"connection_id":148738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:51:50] local.INFO: Extracted packet for processing {"connection_id":148738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":47,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197762560001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785928781000,"timestamp_ms":1785928781000,"timestamp_seconds":1785928781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a68cc8"} 
[2026-08-05 16:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:51: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-08-05 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 16:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197762560001,"66":12776,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197762560001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:51:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197762560001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":148738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:51:50] local.INFO: GPS data processed {"connection_id":148738,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:51:50] local.INFO: Acknowledgment sent {"connection_id":148738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:52:19] local.INFO: TCP Data received {"connection_id":149741,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:52:19] local.INFO: Processing buffer {"connection_id":149741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:52:19] local.INFO: IMEI packet received {"connection_id":149741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":149741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:52:21] local.INFO: TCP Data received {"connection_id":148738,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a6ded0012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a6ded0012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:52:21] local.INFO: Processing buffer {"connection_id":148738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a6ded0012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:52:21] local.INFO: Packet analysis {"connection_id":148738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:52:21] local.INFO: Extracted packet for processing {"connection_id":148738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a6"} 
[2026-08-05 16:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197767936001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785928802000,"timestamp_ms":1785928802000,"timestamp_seconds":1785928802,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a6ded0"} 
[2026-08-05 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-08-05 16:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 16:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197767936001,"66":12722,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197767936001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:52:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:52:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197767936001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":148738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:52:21] local.INFO: GPS data processed {"connection_id":148738,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:52:21] local.INFO: Acknowledgment sent {"connection_id":148738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:52:24] local.INFO: TCP Data received {"connection_id":149741,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:52:24] local.INFO: Processing buffer {"connection_id":149741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:52:24] local.INFO: IMEI packet received {"connection_id":149741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":149741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:52:24] local.INFO: TCP Data received {"connection_id":149741,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a7add8012d79d8c005e5fd480005015a2c..."} 
[2026-08-05 16:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a7add8012d79d8c005e5fd480005015a2c..."} 
[2026-08-05 16:52:24] local.INFO: Processing buffer {"connection_id":149741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a7add8012d79d8c005e5fd480005015a2c..."} 
[2026-08-05 16:52:24] local.INFO: Packet analysis {"connection_id":149741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:52:24] local.INFO: Extracted packet for processing {"connection_id":149741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:52:24] local.INFO: GPS Element Parsed {"raw_longitude":762960064,"raw_latitude":98958664,"longitude_deg":76.2960064,"latitude_deg":9.8958664,"altitude":5,"angle":346,"satellites":44,"speed":45,"hex_longitude":"2d79d8c0","hex_latitude":"05e5fd48","is_valid_coordinates":true} 
[2026-08-05 16:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197786880001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370657429991456768,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779978605124732928,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785928855000,"timestamp_ms":1785928855000,"timestamp_seconds":1785928855,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a7add8"} 
[2026-08-05 16:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 16:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197786880001,"66":27865,"182":206,"87":13824,"24":45,"16":370657429991456768,"45":8779978605124732928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-05 16:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197786880001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:52:24] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-05 16:52:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 16:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370657429991456768,"km_value":370657429991456.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779978605124732928,"description":"Unknown IO ID 45"} 
[2026-08-05 16:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197786880001,"power":27865,"unknown_182":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":8779978605124732928}} 
[2026-08-05 16:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":149741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:52:24] local.INFO: GPS data processed {"connection_id":149741,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:52:24] local.INFO: Acknowledgment sent {"connection_id":149741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:52:25] local.INFO: TCP Data received {"connection_id":149741,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a7d100012d79d04005e62280000501592a..."} 
[2026-08-05 16:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a7d100012d79d04005e62280000501592a..."} 
[2026-08-05 16:52:25] local.INFO: Processing buffer {"connection_id":149741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a7d100012d79d04005e62280000501592a..."} 
[2026-08-05 16:52:25] local.INFO: Packet analysis {"connection_id":149741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:52:25] local.INFO: Extracted packet for processing {"connection_id":149741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:52:25] local.INFO: GPS Element Parsed {"raw_longitude":762957888,"raw_latitude":98968192,"longitude_deg":76.2957888,"latitude_deg":9.8968192,"altitude":5,"angle":345,"satellites":42,"speed":43,"hex_longitude":"2d79d040","hex_latitude":"05e62280","is_valid_coordinates":true} 
[2026-08-05 16:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197786880001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370657906732826624,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779978605124732928,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785928864000,"timestamp_ms":1785928864000,"timestamp_seconds":1785928864,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a7d100"} 
[2026-08-05 16:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 16:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197786880001,"66":27930,"181":206,"87":13824,"24":43,"16":370657906732826624,"45":8779978605124732928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-08-05 16:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197786880001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:52:25] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-05 16:52:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 16:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370657906732826624,"km_value":370657906732826.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779978605124732928,"description":"Unknown IO ID 45"} 
[2026-08-05 16:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197786880001,"power":27930,"unknown_181":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8779978605124732928}} 
[2026-08-05 16:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":149741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:52:25] local.INFO: GPS data processed {"connection_id":149741,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:52:25] local.INFO: Acknowledgment sent {"connection_id":149741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:52:39] local.INFO: TCP Data received {"connection_id":149742,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:52:39] local.INFO: Processing buffer {"connection_id":149742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:52:39] local.INFO: IMEI packet received {"connection_id":149742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":149742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:52:44] local.INFO: TCP Data received {"connection_id":149742,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:52:44] local.INFO: Processing buffer {"connection_id":149742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:52:44] local.INFO: IMEI packet received {"connection_id":149742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":149742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:52:45] local.INFO: TCP Data received {"connection_id":149742,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a730d8012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a730d8012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:52:45] local.INFO: Processing buffer {"connection_id":149742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a730d8012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:52:45] local.INFO: Packet analysis {"connection_id":149742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:52:45] local.INFO: Extracted packet for processing {"connection_id":149742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 16:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197773312001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785928823000,"timestamp_ms":1785928823000,"timestamp_seconds":1785928823,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a730d8"} 
[2026-08-05 16:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 16:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197773312001,"66":12776,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197773312001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:52:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197773312001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":149742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:52:45] local.INFO: GPS data processed {"connection_id":149742,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:52:45] local.INFO: Acknowledgment sent {"connection_id":149742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:52:46] local.INFO: TCP Data received {"connection_id":149742,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a782e0012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a782e0012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:52:46] local.INFO: Processing buffer {"connection_id":149742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a782e0012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:52:46] local.INFO: Packet analysis {"connection_id":149742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:52:46] local.INFO: Extracted packet for processing {"connection_id":149742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197778688001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785928844000,"timestamp_ms":1785928844000,"timestamp_seconds":1785928844,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a782e0"} 
[2026-08-05 16:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:52: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-08-05 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 16:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197778688001,"66":12722,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197778688001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:52:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197778688001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":149742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:52:46] local.INFO: GPS data processed {"connection_id":149742,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:52:46] local.INFO: Acknowledgment sent {"connection_id":149742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:52:56] local.INFO: TCP Data received {"connection_id":149741,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a7f428012d79c68005e645780005015b2b..."} 
[2026-08-05 16:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a7f428012d79c68005e645780005015b2b..."} 
[2026-08-05 16:52:56] local.INFO: Processing buffer {"connection_id":149741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a7f428012d79c68005e645780005015b2b..."} 
[2026-08-05 16:52:56] local.INFO: Packet analysis {"connection_id":149741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:52:56] local.INFO: Extracted packet for processing {"connection_id":149741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:52:56] local.INFO: GPS Element Parsed {"raw_longitude":762955392,"raw_latitude":98977144,"longitude_deg":76.2955392,"latitude_deg":9.8977144,"altitude":5,"angle":347,"satellites":43,"speed":41,"hex_longitude":"2d79c680","hex_latitude":"05e64578","is_valid_coordinates":true} 
[2026-08-05 16:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197789184001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370658357704392704,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8777586067825131520,"note":"Value kept but may cause issues"} 
[2026-08-05 16:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785928873000,"timestamp_ms":1785928873000,"timestamp_seconds":1785928873,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a7f428"} 
[2026-08-05 16:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 16:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197789184001,"66":27865,"181":206,"87":13824,"24":41,"16":370658357704392704,"45":8777586067825131520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-08-05 16:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197789184001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:52:56] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-05 16:52:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 16:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370658357704392704,"km_value":370658357704392.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8777586067825131520,"description":"Unknown IO ID 45"} 
[2026-08-05 16:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197789184001,"power":27865,"unknown_181":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8777586067825131520}} 
[2026-08-05 16:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":149741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:52:56] local.INFO: GPS data processed {"connection_id":149741,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:52:56] local.INFO: Acknowledgment sent {"connection_id":149741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:53:16] local.INFO: TCP Data received {"connection_id":148527,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:53:16] local.INFO: Processing buffer {"connection_id":148527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:53:16] local.INFO: IMEI packet received {"connection_id":148527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":148527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:53:17] local.INFO: TCP Data received {"connection_id":149742,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a7d4e8012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a7d4e8012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:53:17] local.INFO: Processing buffer {"connection_id":149742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a7d4e8012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:53:17] local.INFO: Packet analysis {"connection_id":149742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:53:17] local.INFO: Extracted packet for processing {"connection_id":149742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a7"} 
[2026-08-05 16:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197784064001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785928865000,"timestamp_ms":1785928865000,"timestamp_seconds":1785928865,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a7d4e8"} 
[2026-08-05 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-08-05 16:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 16:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197784064001,"66":12722,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197784064001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:53:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:53:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197784064001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":149742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:53:18] local.INFO: GPS data processed {"connection_id":149742,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:53:18] local.INFO: Acknowledgment sent {"connection_id":149742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:53:33] local.INFO: TCP Data received {"connection_id":148527,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:53:33] local.INFO: Processing buffer {"connection_id":148527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:53:33] local.INFO: IMEI packet received {"connection_id":148527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":148527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:53:34] local.INFO: TCP Data received {"connection_id":148527,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148527,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 16:53:34] local.INFO: Processing buffer {"connection_id":148527,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 16:53:34] local.INFO: IMEI packet received {"connection_id":148527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":148527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:53:39] local.INFO: TCP Data received {"connection_id":151168,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:53:39] local.INFO: Processing buffer {"connection_id":151168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:53:39] local.INFO: IMEI packet received {"connection_id":151168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":151168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:53:44] local.INFO: TCP Data received {"connection_id":151168,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:53:44] local.INFO: Processing buffer {"connection_id":151168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:53:44] local.INFO: IMEI packet received {"connection_id":151168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":151168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:53:45] local.INFO: TCP Data received {"connection_id":151168,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a826f0012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a826f0012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:53:45] local.INFO: Processing buffer {"connection_id":151168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a826f0012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:53:45] local.INFO: Packet analysis {"connection_id":151168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a8"} 
[2026-08-05 16:53:45] local.INFO: Extracted packet for processing {"connection_id":151168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a8"} 
[2026-08-05 16:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 16:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197789440001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785928886000,"timestamp_ms":1785928886000,"timestamp_seconds":1785928886,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a826f0"} 
[2026-08-05 16:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 16:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197789440001,"66":12689,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197789440001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:53:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197789440001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":151168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:53:45] local.INFO: GPS data processed {"connection_id":151168,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:53:45] local.INFO: Acknowledgment sent {"connection_id":151168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:54:16] local.INFO: TCP Data received {"connection_id":151168,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a878f8012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a878f8012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:54:16] local.INFO: Processing buffer {"connection_id":151168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a878f8012d1823000721b6f0004c01532d..."} 
[2026-08-05 16:54:16] local.INFO: Packet analysis {"connection_id":151168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a8"} 
[2026-08-05 16:54:16] local.INFO: Extracted packet for processing {"connection_id":151168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a8"} 
[2026-08-05 16:54:16] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197794816001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785928907000,"timestamp_ms":1785928907000,"timestamp_seconds":1785928907,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a878f8"} 
[2026-08-05 16:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 16:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197794816001,"66":12678,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197794816001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:54:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:54:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197794816001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":151168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:54:16] local.INFO: GPS data processed {"connection_id":151168,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:54:16] local.INFO: Acknowledgment sent {"connection_id":151168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:54:37] local.INFO: TCP Data received {"connection_id":149743,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:54:37] local.INFO: Processing buffer {"connection_id":149743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:54:37] local.INFO: IMEI packet received {"connection_id":149743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":149743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:54:39] local.INFO: TCP Data received {"connection_id":149743,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:54:39] local.INFO: Processing buffer {"connection_id":149743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:54:39] local.INFO: IMEI packet received {"connection_id":149743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":149743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:54:44] local.INFO: TCP Data received {"connection_id":149743,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:54:44] local.INFO: Processing buffer {"connection_id":149743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:54:44] local.INFO: IMEI packet received {"connection_id":149743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":149743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:54:45] local.INFO: TCP Data received {"connection_id":149743,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a8cb00012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a8cb00012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:54:45] local.INFO: Processing buffer {"connection_id":149743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a8cb00012d1823000721b6f0004c01532e..."} 
[2026-08-05 16:54:45] local.INFO: Packet analysis {"connection_id":149743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a8"} 
[2026-08-05 16:54:45] local.INFO: Extracted packet for processing {"connection_id":149743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a8"} 
[2026-08-05 16:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650032,"longitude_deg":75.6556544,"latitude_deg":11.9650032,"altitude":76,"angle":339,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-05 16:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197800192001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730743860822016,"note":"Value kept but may cause issues"} 
[2026-08-05 16:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785928928000,"timestamp_ms":1785928928000,"timestamp_seconds":1785928928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a8cb00"} 
[2026-08-05 16:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 16:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197800192001,"66":12689,"105":206,"83":41984,"24":0,"16":10730743860822016,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197800192001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:54:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730743860822016,"km_value":10730743860822.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197800192001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":149743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:54:45] local.INFO: GPS data processed {"connection_id":149743,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:54:45] local.INFO: Acknowledgment sent {"connection_id":149743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:55:16] local.INFO: TCP Data received {"connection_id":149743,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a8e270012d1822400721b558004e00d42e..."} 
[2026-08-05 16:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a8e270012d1822400721b558004e00d42e..."} 
[2026-08-05 16:55:16] local.INFO: Processing buffer {"connection_id":149743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a8e270012d1822400721b558004e00d42e..."} 
[2026-08-05 16:55:16] local.INFO: Packet analysis {"connection_id":149743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a8"} 
[2026-08-05 16:55:16] local.INFO: Extracted packet for processing {"connection_id":149743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a8"} 
[2026-08-05 16:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649624,"longitude_deg":75.6556352,"latitude_deg":11.9649624,"altitude":78,"angle":212,"satellites":46,"speed":2,"hex_longitude":"2d182240","hex_latitude":"0721b558","is_valid_coordinates":true} 
[2026-08-05 16:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197805568001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730765335658496,"note":"Value kept but may cause issues"} 
[2026-08-05 16:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725551616,"note":"Value kept but may cause issues"} 
[2026-08-05 16:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785928934000,"timestamp_ms":1785928934000,"timestamp_seconds":1785928934,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a8e270"} 
[2026-08-05 16:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:55: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-08-05 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 16:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197805568001,"66":12667,"105":206,"83":41984,"24":2,"16":10730765335658496,"45":1739233911725551616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197805568001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:55:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:55:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730765335658496,"km_value":10730765335658.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725551616,"description":"Unknown IO ID 45"} 
[2026-08-05 16:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197805568001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739233911725551616}} 
[2026-08-05 16:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":149743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:55:16] local.INFO: GPS data processed {"connection_id":149743,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:55:16] local.INFO: Acknowledgment sent {"connection_id":149743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:55:39] local.INFO: TCP Data received {"connection_id":151170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:55:39] local.INFO: Processing buffer {"connection_id":151170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:55:39] local.INFO: IMEI packet received {"connection_id":151170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":151170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:55:40] local.INFO: TCP Data received {"connection_id":151170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:55:40] local.INFO: Processing buffer {"connection_id":151170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:55:40] local.INFO: IMEI packet received {"connection_id":151170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":151170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:55:44] local.INFO: TCP Data received {"connection_id":151170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:55:44] local.INFO: Processing buffer {"connection_id":151170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:55:44] local.INFO: IMEI packet received {"connection_id":151170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":151170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:55:45] local.INFO: TCP Data received {"connection_id":151170,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a93478012d1821c00721b538004e00d42e..."} 
[2026-08-05 16:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a93478012d1821c00721b538004e00d42e..."} 
[2026-08-05 16:55:45] local.INFO: Processing buffer {"connection_id":151170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a93478012d1821c00721b538004e00d42e..."} 
[2026-08-05 16:55:45] local.INFO: Packet analysis {"connection_id":151170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a9"} 
[2026-08-05 16:55:45] local.INFO: Extracted packet for processing {"connection_id":151170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a9"} 
[2026-08-05 16:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649592,"longitude_deg":75.6556224,"latitude_deg":11.9649592,"altitude":78,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 16:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197807104001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730769630625792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492914176,"note":"Value kept but may cause issues"} 
[2026-08-05 16:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785928955000,"timestamp_ms":1785928955000,"timestamp_seconds":1785928955,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a93478"} 
[2026-08-05 16:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 16:55: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-08-05 16:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197807104001,"66":12689,"105":206,"83":41984,"24":0,"16":10730769630625792,"45":1739022805492914176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197807104001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:55:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730769630625792,"km_value":10730769630625.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492914176,"description":"Unknown IO ID 45"} 
[2026-08-05 16:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197807104001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492914176}} 
[2026-08-05 16:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":151170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:55:45] local.INFO: GPS data processed {"connection_id":151170,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:55:45] local.INFO: Acknowledgment sent {"connection_id":151170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:56:16] local.INFO: TCP Data received {"connection_id":151170,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a98680012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a98680012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:56:16] local.INFO: Processing buffer {"connection_id":151170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a98680012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:56:16] local.INFO: Packet analysis {"connection_id":151170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a9"} 
[2026-08-05 16:56:16] local.INFO: Extracted packet for processing {"connection_id":151170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a9"} 
[2026-08-05 16:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649592,"longitude_deg":75.6556224,"latitude_deg":11.9649592,"altitude":78,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197812480001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730769630625792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004550656,"note":"Value kept but may cause issues"} 
[2026-08-05 16:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785928976000,"timestamp_ms":1785928976000,"timestamp_seconds":1785928976,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a98680"} 
[2026-08-05 16:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:56: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-08-05 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 16:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197812480001,"66":12667,"105":206,"83":41984,"24":0,"16":10730769630625792,"45":1738882068004550656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197812480001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:56:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730769630625792,"km_value":10730769630625.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004550656,"description":"Unknown IO ID 45"} 
[2026-08-05 16:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197812480001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004550656}} 
[2026-08-05 16:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":151170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:56:16] local.INFO: GPS data processed {"connection_id":151170,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:56:16] local.INFO: Acknowledgment sent {"connection_id":151170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:56:39] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:56:39] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:56:39] local.INFO: IMEI packet received {"connection_id":148529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":148529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:56:43] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:56:43] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:56:43] local.INFO: IMEI packet received {"connection_id":148529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":148529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:56:44] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1a9d888012d1821c00721b538004e00d42e..."} 
[2026-08-05 16:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1a9d888012d1821c00721b538004e00d42e..."} 
[2026-08-05 16:56:44] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1a9d888012d1821c00721b538004e00d42e..."} 
[2026-08-05 16:56:44] local.INFO: Packet analysis {"connection_id":148529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1a9"} 
[2026-08-05 16:56:44] local.INFO: Extracted packet for processing {"connection_id":148529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1a9"} 
[2026-08-05 16:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649592,"longitude_deg":75.6556224,"latitude_deg":11.9649592,"altitude":78,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197817856001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730769630625792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004550656,"note":"Value kept but may cause issues"} 
[2026-08-05 16:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785928997000,"timestamp_ms":1785928997000,"timestamp_seconds":1785928997,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1a9d888"} 
[2026-08-05 16:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 16:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197817856001,"66":12667,"105":206,"83":41984,"24":0,"16":10730769630625792,"45":1738882068004550656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197817856001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:56:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:56:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730769630625792,"km_value":10730769630625.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004550656,"description":"Unknown IO ID 45"} 
[2026-08-05 16:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197817856001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004550656}} 
[2026-08-05 16:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":148529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:56:44] local.INFO: GPS data processed {"connection_id":148529,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:56:44] local.INFO: Acknowledgment sent {"connection_id":148529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:57:15] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1aa2a90012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1aa2a90012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:57:15] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1aa2a90012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:57:15] local.INFO: Packet analysis {"connection_id":148529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1aa"} 
[2026-08-05 16:57:15] local.INFO: Extracted packet for processing {"connection_id":148529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1aa"} 
[2026-08-05 16:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649592,"longitude_deg":75.6556224,"latitude_deg":11.9649592,"altitude":78,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197823232001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730769630625792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004550656,"note":"Value kept but may cause issues"} 
[2026-08-05 16:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785929018000,"timestamp_ms":1785929018000,"timestamp_seconds":1785929018,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1aa2a90"} 
[2026-08-05 16:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 16:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197823232001,"66":12602,"105":206,"83":41984,"24":0,"16":10730769630625792,"45":1738882068004550656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197823232001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:57:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730769630625792,"km_value":10730769630625.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004550656,"description":"Unknown IO ID 45"} 
[2026-08-05 16:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197823232001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004550656}} 
[2026-08-05 16:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":148529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:57:15] local.INFO: GPS data processed {"connection_id":148529,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:57:15] local.INFO: Acknowledgment sent {"connection_id":148529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:57:39] local.INFO: TCP Data received {"connection_id":149745,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:57:39] local.INFO: Processing buffer {"connection_id":149745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:57:39] local.INFO: IMEI packet received {"connection_id":149745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":149745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:57:44] local.INFO: TCP Data received {"connection_id":149745,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:57:44] local.INFO: Processing buffer {"connection_id":149745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:57:44] local.INFO: IMEI packet received {"connection_id":149745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":149745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:57:45] local.INFO: TCP Data received {"connection_id":149745,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1aa7c98012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1aa7c98012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:57:45] local.INFO: Processing buffer {"connection_id":149745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1aa7c98012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:57:45] local.INFO: Packet analysis {"connection_id":149745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1aa"} 
[2026-08-05 16:57:45] local.INFO: Extracted packet for processing {"connection_id":149745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1aa"} 
[2026-08-05 16:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649592,"longitude_deg":75.6556224,"latitude_deg":11.9649592,"altitude":78,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 16:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197828608001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730769630625792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004550656,"note":"Value kept but may cause issues"} 
[2026-08-05 16: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-08-05 16:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929039000,"timestamp_ms":1785929039000,"timestamp_seconds":1785929039,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1aa7c98"} 
[2026-08-05 16:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-05 16:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197828608001,"66":12645,"105":206,"83":41984,"24":0,"16":10730769630625792,"45":1738882068004550656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197828608001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:57:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730769630625792,"km_value":10730769630625.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004550656,"description":"Unknown IO ID 45"} 
[2026-08-05 16:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197828608001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004550656}} 
[2026-08-05 16:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":149745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:57:45] local.INFO: GPS data processed {"connection_id":149745,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:57:45] local.INFO: Acknowledgment sent {"connection_id":149745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:58:20] local.INFO: TCP Data received {"connection_id":149745,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1aacea0012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1aacea0012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:58:20] local.INFO: Processing buffer {"connection_id":149745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1aacea0012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:58:20] local.INFO: Packet analysis {"connection_id":149745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1aa"} 
[2026-08-05 16:58:20] local.INFO: Extracted packet for processing {"connection_id":149745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1aa"} 
[2026-08-05 16:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649592,"longitude_deg":75.6556224,"latitude_deg":11.9649592,"altitude":78,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197833984001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730769630625792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004550656,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785929060000,"timestamp_ms":1785929060000,"timestamp_seconds":1785929060,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1aacea0"} 
[2026-08-05 16:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-05 16:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197833984001,"66":12613,"105":206,"83":41984,"24":0,"16":10730769630625792,"45":1738882068004550656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197833984001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:58:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:58:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730769630625792,"km_value":10730769630625.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004550656,"description":"Unknown IO ID 45"} 
[2026-08-05 16:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197833984001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004550656}} 
[2026-08-05 16:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":149745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:58:20] local.INFO: GPS data processed {"connection_id":149745,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:58:20] local.INFO: Acknowledgment sent {"connection_id":149745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:58:34] local.INFO: TCP Data received {"connection_id":148740,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:58:34] local.INFO: Processing buffer {"connection_id":148740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:58:34] local.INFO: IMEI packet received {"connection_id":148740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":148740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:58:35] local.INFO: TCP Data received {"connection_id":148740,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1acfd38012d7885c005e89ba8000201062f..."} 
[2026-08-05 16:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1acfd38012d7885c005e89ba8000201062f..."} 
[2026-08-05 16:58:35] local.INFO: Processing buffer {"connection_id":148740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1acfd38012d7885c005e89ba8000201062f..."} 
[2026-08-05 16:58:35] local.INFO: Packet analysis {"connection_id":148740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ac"} 
[2026-08-05 16:58:35] local.INFO: Extracted packet for processing {"connection_id":148740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ac"} 
[2026-08-05 16:58:35] local.INFO: GPS Element Parsed {"raw_longitude":762873280,"raw_latitude":99130280,"longitude_deg":76.287328,"latitude_deg":9.913028,"altitude":2,"angle":262,"satellites":47,"speed":42,"hex_longitude":"2d7885c0","hex_latitude":"05e89ba8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197873664001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370668661330935808,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694902793458196480,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,87,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 16:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785929203000,"timestamp_ms":1785929203000,"timestamp_seconds":1785929203,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1acfd38"} 
[2026-08-05 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-08-05 16:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197873664001,"66":27908,"24":42,"87":13824,"16":370668661330935808,"45":8694902793458196480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,87,16,45]} 
[2026-08-05 16:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197873664001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:58:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 16:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370668661330935808,"km_value":370668661330935.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694902793458196480,"description":"Unknown IO ID 45"} 
[2026-08-05 16:58:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457197873664001,"power":27908,"ignition":42,"unknown_87":13824,"odometer":null,"unknown_45":8694902793458196480}} 
[2026-08-05 16:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":148740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:58:35] local.INFO: GPS data processed {"connection_id":148740,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:58:35] local.INFO: Acknowledgment sent {"connection_id":148740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:58:44] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:58:44] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:58:44] local.INFO: IMEI packet received {"connection_id":148530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":148530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:58:49] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:58:49] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:58:49] local.INFO: IMEI packet received {"connection_id":148530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":148530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:58:50] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ab20a8012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ab20a8012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:58:50] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ab20a8012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:58:50] local.INFO: Packet analysis {"connection_id":148530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ab"} 
[2026-08-05 16:58:50] local.INFO: Extracted packet for processing {"connection_id":148530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ab"} 
[2026-08-05 16:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649592,"longitude_deg":75.6556224,"latitude_deg":11.9649592,"altitude":78,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 16:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197839360001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730769630625792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004550656,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785929081000,"timestamp_ms":1785929081000,"timestamp_seconds":1785929081,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ab20a8"} 
[2026-08-05 16:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 16:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197839360001,"66":12558,"105":206,"83":41984,"24":0,"16":10730769630625792,"45":1738882068004550656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197839360001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:58:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730769630625792,"km_value":10730769630625.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004550656,"description":"Unknown IO ID 45"} 
[2026-08-05 16:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197839360001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004550656}} 
[2026-08-05 16:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":148530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:58:50] local.INFO: GPS data processed {"connection_id":148530,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:58:50] local.INFO: Acknowledgment sent {"connection_id":148530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:58:51] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ab72b0012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ab72b0012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:58:51] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ab72b0012d1821c00721b538004e00d42d..."} 
[2026-08-05 16:58:51] local.INFO: Packet analysis {"connection_id":148530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ab"} 
[2026-08-05 16:58:51] local.INFO: Extracted packet for processing {"connection_id":148530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ab"} 
[2026-08-05 16:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649592,"longitude_deg":75.6556224,"latitude_deg":11.9649592,"altitude":78,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 16:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197844736001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730769630625792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004550656,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785929102000,"timestamp_ms":1785929102000,"timestamp_seconds":1785929102,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ab72b0"} 
[2026-08-05 16:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:58: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-08-05 16:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3517527160,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407912450,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713816,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2849540097,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692853,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 16:58:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,31,159,206,45,192,181,78,10,66,124,42,1,240,58,227,209,33,4,113,205,134,56,44,239,49,2,38,7,106,91],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 16:58:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620725620402028544,"timestamp_seconds":5620725620402029.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 16:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197844736001,"66":12537,"105":206,"83":41984,"24":0,"16":10730769630625792,"45":1738882068004550656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197844736001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:58:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730769630625792,"km_value":10730769630625.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004550656,"description":"Unknown IO ID 45"} 
[2026-08-05 16:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197844736001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004550656}} 
[2026-08-05 16:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":148530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:58:51] local.INFO: GPS data processed {"connection_id":148530,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:58:51] local.INFO: Acknowledgment sent {"connection_id":148530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:59:14] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:59:14] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:59:14] local.INFO: IMEI packet received {"connection_id":148531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 16:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":148531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:59:16] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:59:16] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 16:59:16] local.INFO: IMEI packet received {"connection_id":148531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 16:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":148531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:59:17] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ad2060012d78628005e89898000401092d..."} 
[2026-08-05 16:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ad2060012d78628005e89898000401092d..."} 
[2026-08-05 16:59:17] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ad2060012d78628005e89898000401092d..."} 
[2026-08-05 16:59:17] local.INFO: Packet analysis {"connection_id":148531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ad"} 
[2026-08-05 16:59:17] local.INFO: Extracted packet for processing {"connection_id":148531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ad"} 
[2026-08-05 16:59:17] local.INFO: GPS Element Parsed {"raw_longitude":762864256,"raw_latitude":99129496,"longitude_deg":76.2864256,"latitude_deg":9.9129496,"altitude":4,"angle":265,"satellites":45,"speed":37,"hex_longitude":"2d786280","hex_latitude":"05e89898","is_valid_coordinates":true} 
[2026-08-05 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-08-05 16:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197875968001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370669095122632704,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8684558588063754240,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,87,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 16:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785929212000,"timestamp_ms":1785929212000,"timestamp_seconds":1785929212,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ad2060"} 
[2026-08-05 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-08-05 16:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 16:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:59: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-08-05 16:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197875968001,"66":27908,"24":37,"87":13824,"16":370669095122632704,"45":8684558588063754240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,87,16,45]} 
[2026-08-05 16:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197875968001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:59:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 16:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370669095122632704,"km_value":370669095122632.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8684558588063754240,"description":"Unknown IO ID 45"} 
[2026-08-05 16:59:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457197875968001,"power":27908,"ignition":37,"unknown_87":13824,"odometer":null,"unknown_45":8684558588063754240}} 
[2026-08-05 16:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":148531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:59:17] local.INFO: GPS data processed {"connection_id":148531,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:59:17] local.INFO: Acknowledgment sent {"connection_id":148531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:59:22] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1abc4b8012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1abc4b8012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:59:22] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1abc4b8012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:59:22] local.INFO: Packet analysis {"connection_id":148530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ab"} 
[2026-08-05 16:59:22] local.INFO: Extracted packet for processing {"connection_id":148530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ab"} 
[2026-08-05 16:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649592,"longitude_deg":75.6556224,"latitude_deg":11.9649592,"altitude":78,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 16:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197850112001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730769630625792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004550656,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785929123000,"timestamp_ms":1785929123000,"timestamp_seconds":1785929123,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1abc4b8"} 
[2026-08-05 16:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 16:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197850112001,"66":12591,"105":206,"83":41984,"24":0,"16":10730769630625792,"45":1738882068004550656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197850112001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:59:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730769630625792,"km_value":10730769630625.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004550656,"description":"Unknown IO ID 45"} 
[2026-08-05 16:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197850112001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004550656}} 
[2026-08-05 16:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":148530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:59:22] local.INFO: GPS data processed {"connection_id":148530,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:59:22] local.INFO: Acknowledgment sent {"connection_id":148530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:59:39] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:59:39] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:59:39] local.INFO: IMEI packet received {"connection_id":148532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 16:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":148532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 16:59:44] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:59:44] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 16:59:44] local.INFO: IMEI packet received {"connection_id":148532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 16:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":148532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 16:59:48] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1aef138012d77020005e8b8580006010a2e..."} 
[2026-08-05 16:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1aef138012d77020005e8b8580006010a2e..."} 
[2026-08-05 16:59:48] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1aef138012d77020005e8b8580006010a2e..."} 
[2026-08-05 16:59:48] local.INFO: Packet analysis {"connection_id":148531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ae"} 
[2026-08-05 16:59:48] local.INFO: Extracted packet for processing {"connection_id":148531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ae"} 
[2026-08-05 16:59:48] local.INFO: GPS Element Parsed {"raw_longitude":762774016,"raw_latitude":99137624,"longitude_deg":76.2774016,"latitude_deg":9.9137624,"altitude":6,"angle":266,"satellites":46,"speed":24,"hex_longitude":"2d770200","hex_latitude":"05e8b858","is_valid_coordinates":true} 
[2026-08-05 16:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 16:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197905408001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370673488874176512,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8585549765007878144,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785929331000,"timestamp_ms":1785929331000,"timestamp_seconds":1785929331,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1aef138"} 
[2026-08-05 16:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 16:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 16:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 16:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 16:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 16:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 16:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197905408001,"66":27876,"129":206,"87":12288,"24":24,"16":370673488874176512,"45":8585549765007878144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-05 16:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 16:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 16:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197905408001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:59:48] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-05 16:59:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 16:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370673488874176512,"km_value":370673488874176.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8585549765007878144,"description":"Unknown IO ID 45"} 
[2026-08-05 16:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197905408001,"power":27876,"unknown_129":206,"unknown_87":12288,"ignition":24,"odometer":null,"unknown_45":8585549765007878144}} 
[2026-08-05 16:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":148531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:59:48] local.INFO: GPS data processed {"connection_id":148531,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:59:48] local.INFO: Acknowledgment sent {"connection_id":148531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 16:59:49] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ac16c0012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ac16c0012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:59:49] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ac16c0012d1821c00721b538004e00d42c..."} 
[2026-08-05 16:59:49] local.INFO: Packet analysis {"connection_id":148532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ac"} 
[2026-08-05 16:59:49] local.INFO: Extracted packet for processing {"connection_id":148532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ac"} 
[2026-08-05 16:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649592,"longitude_deg":75.6556224,"latitude_deg":11.9649592,"altitude":78,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 16: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-08-05 16:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197855488001,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730769630625792,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004550656,"note":"Value kept but may cause issues"} 
[2026-08-05 16:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 16:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785929144000,"timestamp_ms":1785929144000,"timestamp_seconds":1785929144,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ac16c0"} 
[2026-08-05 16:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 16:59: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-08-05 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 16:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 16: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-08-05 16:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 16:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 16:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 16:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 16:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 16:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 16:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 16:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197855488001,"66":12558,"105":206,"83":41984,"24":0,"16":10730769630625792,"45":1738882068004550656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 16:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 16:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 16:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197855488001,"description":"Unknown IO ID 0"} 
[2026-08-05 16:59:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 16:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 16:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730769630625792,"km_value":10730769630625.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 16:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004550656,"description":"Unknown IO ID 45"} 
[2026-08-05 16:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197855488001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004550656}} 
[2026-08-05 16:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":148532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 16:59:49] local.INFO: GPS data processed {"connection_id":148532,"processed":1,"errors":0,"total":1} 
[2026-08-05 16:59:49] local.INFO: Acknowledgment sent {"connection_id":148532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:00:12] local.INFO: TCP Data received {"connection_id":151171,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:00:12] local.INFO: Processing buffer {"connection_id":151171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:00:12] local.INFO: IMEI packet received {"connection_id":151171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":151171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:00:14] local.INFO: TCP Data received {"connection_id":151171,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:00:14] local.INFO: Processing buffer {"connection_id":151171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:00:14] local.INFO: IMEI packet received {"connection_id":151171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":151171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:00:19] local.INFO: TCP Data received {"connection_id":151171,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:00:19] local.INFO: Processing buffer {"connection_id":151171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:00:19] local.INFO: IMEI packet received {"connection_id":151171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":151171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:00:21] local.INFO: TCP Data received {"connection_id":151171,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1af2fb8012d76ebc005e8b698000a011630..."} 
[2026-08-05 17:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1af2fb8012d76ebc005e8b698000a011630..."} 
[2026-08-05 17:00:21] local.INFO: Processing buffer {"connection_id":151171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1af2fb8012d76ebc005e8b698000a011630..."} 
[2026-08-05 17:00:21] local.INFO: Packet analysis {"connection_id":151171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:00:21] local.INFO: Extracted packet for processing {"connection_id":151171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:00:21] local.INFO: GPS Element Parsed {"raw_longitude":762768320,"raw_latitude":99137176,"longitude_deg":76.276832,"latitude_deg":9.9137176,"altitude":10,"angle":278,"satellites":48,"speed":17,"hex_longitude":"2d76ebc0","hex_latitude":"05e8b698","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197908736001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370673763752083456,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8575416665846077440,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785929347000,"timestamp_ms":1785929347000,"timestamp_seconds":1785929347,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1af2fb8"} 
[2026-08-05 17:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:00: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-08-05 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 17:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197908736001,"66":27930,"129":206,"87":12288,"24":17,"16":370673763752083456,"45":8575416665846077440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-05 17:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197908736001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:00:21] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-05 17:00:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370673763752083456,"km_value":370673763752083.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8575416665846077440,"description":"Unknown IO ID 45"} 
[2026-08-05 17:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197908736001,"power":27930,"unknown_129":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8575416665846077440}} 
[2026-08-05 17:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":151171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:00:21] local.INFO: GPS data processed {"connection_id":151171,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:00:21] local.INFO: Acknowledgment sent {"connection_id":151171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:00:23] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ac68c8012d1821c00721b538004e00d42d..."} 
[2026-08-05 17:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ac68c8012d1821c00721b538004e00d42d..."} 
[2026-08-05 17:00:23] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ac68c8012d1821c00721b538004e00d42d..."} 
[2026-08-05 17:00:23] local.INFO: Packet analysis {"connection_id":148532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ac"} 
[2026-08-05 17:00:23] local.INFO: Extracted packet for processing {"connection_id":148532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ac"} 
[2026-08-05 17:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649592,"longitude_deg":75.6556224,"latitude_deg":11.9649592,"altitude":78,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 17:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197860864001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730769630625792,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004550656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785929165000,"timestamp_ms":1785929165000,"timestamp_seconds":1785929165,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ac68c8"} 
[2026-08-05 17:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3517590160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384239784899896,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2865668097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692853,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,31,159,196,45,192,181,78,44,10,66,114,32,1,240,14,227,209,33,4,113,205,124,56,239,49,2,38,7,106,90,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 17:00:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620725620402028544,"timestamp_seconds":5620725620402029.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197860864001,"66":12558,"105":206,"83":41984,"24":0,"16":10730769630625792,"45":1738882068004550656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197860864001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:00:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730769630625792,"km_value":10730769630625.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004550656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197860864001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004550656}} 
[2026-08-05 17:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":148532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:00:23] local.INFO: GPS data processed {"connection_id":148532,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:00:23] local.INFO: Acknowledgment sent {"connection_id":148532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:00:39] local.INFO: TCP Data received {"connection_id":151172,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:00:39] local.INFO: Processing buffer {"connection_id":151172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:00:39] local.INFO: IMEI packet received {"connection_id":151172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":151172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:00:44] local.INFO: TCP Data received {"connection_id":151172,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:00:44] local.INFO: Processing buffer {"connection_id":151172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:00:44] local.INFO: IMEI packet received {"connection_id":151172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":151172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:00:45] local.INFO: TCP Data received {"connection_id":151172,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1acbad0012d1821800721b498004800d32d..."} 
[2026-08-05 17:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1acbad0012d1821800721b498004800d32d..."} 
[2026-08-05 17:00:45] local.INFO: Processing buffer {"connection_id":151172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1acbad0012d1821800721b498004800d32d..."} 
[2026-08-05 17:00:45] local.INFO: Packet analysis {"connection_id":151172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ac"} 
[2026-08-05 17:00:45] local.INFO: Extracted packet for processing {"connection_id":151172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ac"} 
[2026-08-05 17:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649432,"longitude_deg":75.655616,"latitude_deg":11.9649432,"altitude":72,"angle":211,"satellites":45,"speed":2,"hex_longitude":"2d182180","hex_latitude":"0721b498","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197866240001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730778220560384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004550656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929186000,"timestamp_ms":1785929186000,"timestamp_seconds":1785929186,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1acbad0"} 
[2026-08-05 17:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3517611160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384239784899896,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2871044097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692853,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:45] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,31,159,22,45,192,181,78,44,10,66,196,114,1,240,249,227,209,33,4,113,205,206,56,239,49,2,38,7,106,91],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 17:00:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620725624696995840,"timestamp_seconds":5620725624696996.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197866240001,"66":12548,"105":206,"83":41984,"24":2,"16":10730778220560384,"45":1738882068004550656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197866240001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:00:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730778220560384,"km_value":10730778220560.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004550656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197866240001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738882068004550656}} 
[2026-08-05 17:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":151172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:00:45] local.INFO: GPS data processed {"connection_id":151172,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:00:45] local.INFO: Acknowledgment sent {"connection_id":151172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:00:53] local.INFO: TCP Data received {"connection_id":151171,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1af3788012d76e88005e8b7a0000a012230..."} 
[2026-08-05 17:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1af3788012d76e88005e8b7a0000a012230..."} 
[2026-08-05 17:00:53] local.INFO: Processing buffer {"connection_id":151171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1af3788012d76e88005e8b7a0000a012230..."} 
[2026-08-05 17:00:53] local.INFO: Packet analysis {"connection_id":151171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:00:53] local.INFO: Extracted packet for processing {"connection_id":151171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:00:53] local.INFO: GPS Element Parsed {"raw_longitude":762767488,"raw_latitude":99137440,"longitude_deg":76.2767488,"latitude_deg":9.913744,"altitude":10,"angle":290,"satellites":48,"speed":16,"hex_longitude":"2d76e880","hex_latitude":"05e8b7a0","is_valid_coordinates":true} 
[2026-08-05 17:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197912832001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370673806701756416,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8569153847614150656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785929349000,"timestamp_ms":1785929349000,"timestamp_seconds":1785929349,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1af3788"} 
[2026-08-05 17:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 17:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197912832001,"66":27908,"129":206,"87":12288,"24":16,"16":370673806701756416,"45":8569153847614150656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-05 17:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197912832001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:00:53] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-05 17:00:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370673806701756416,"km_value":370673806701756.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8569153847614150656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197912832001,"power":27908,"unknown_129":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8569153847614150656}} 
[2026-08-05 17:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":151171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:00:53] local.INFO: GPS data processed {"connection_id":151171,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:00:53] local.INFO: Acknowledgment sent {"connection_id":151171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:01:14] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:01:14] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:01:14] local.INFO: IMEI packet received {"connection_id":148533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":148533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:01:16] local.INFO: TCP Data received {"connection_id":151172,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ad0cd8012d1821800721b468004800d32b..."} 
[2026-08-05 17:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ad0cd8012d1821800721b468004800d32b..."} 
[2026-08-05 17:01:16] local.INFO: Processing buffer {"connection_id":151172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ad0cd8012d1821800721b468004800d32b..."} 
[2026-08-05 17:01:16] local.INFO: Packet analysis {"connection_id":151172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ad"} 
[2026-08-05 17:01:16] local.INFO: Extracted packet for processing {"connection_id":151172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ad"} 
[2026-08-05 17:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197871616001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260332032,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785929207000,"timestamp_ms":1785929207000,"timestamp_seconds":1785929207,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ad0cd8"} 
[2026-08-05 17:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3517632160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2876420097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692853,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:16] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,31,159,104,45,192,181,78,10,66,22,44,196,1,240,47,227,209,33,4,113,205,32,56,239,49,2,38,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 17:01:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188378960957931520,"timestamp_seconds":5188378960957932.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197871616001,"66":12537,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260332032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197871616001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:01:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:01:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260332032,"description":"Unknown IO ID 45"} 
[2026-08-05 17:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197871616001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260332032}} 
[2026-08-05 17:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":151172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:01:16] local.INFO: GPS data processed {"connection_id":151172,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:01:16] local.INFO: Acknowledgment sent {"connection_id":151172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:01:20] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:01:20] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:01:20] local.INFO: IMEI packet received {"connection_id":148533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":148533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:01:22] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1af3b70012d76e70005e8b868000a012f30..."} 
[2026-08-05 17:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1af3b70012d76e70005e8b868000a012f30..."} 
[2026-08-05 17:01:22] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1af3b70012d76e70005e8b868000a012f30..."} 
[2026-08-05 17:01:22] local.INFO: Packet analysis {"connection_id":148533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:01:22] local.INFO: Extracted packet for processing {"connection_id":148533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:01:22] local.INFO: GPS Element Parsed {"raw_longitude":762767104,"raw_latitude":99137640,"longitude_deg":76.2767104,"latitude_deg":9.913764,"altitude":10,"angle":303,"satellites":48,"speed":17,"hex_longitude":"2d76e700","hex_latitude":"05e8b868","is_valid_coordinates":true} 
[2026-08-05 17:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197913344001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370673828176592896,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8568239053939908608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785929350000,"timestamp_ms":1785929350000,"timestamp_seconds":1785929350,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1af3b70"} 
[2026-08-05 17:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197913344001,"66":27908,"129":206,"87":12288,"24":17,"16":370673828176592896,"45":8568239053939908608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-05 17:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197913344001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:01:22] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-05 17:01:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370673828176592896,"km_value":370673828176592.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8568239053939908608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197913344001,"power":27908,"unknown_129":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8568239053939908608}} 
[2026-08-05 17:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":148533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:01:22] local.INFO: GPS data processed {"connection_id":148533,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:01:22] local.INFO: Acknowledgment sent {"connection_id":148533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:01:39] local.INFO: TCP Data received {"connection_id":149746,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:01:39] local.INFO: Processing buffer {"connection_id":149746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:01:39] local.INFO: IMEI packet received {"connection_id":149746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":149746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:01:44] local.INFO: TCP Data received {"connection_id":149746,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:01:44] local.INFO: Processing buffer {"connection_id":149746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:01:44] local.INFO: IMEI packet received {"connection_id":149746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":149746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:01:45] local.INFO: TCP Data received {"connection_id":149746,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ad5ee0012d1821800721b468004800d32c..."} 
[2026-08-05 17:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ad5ee0012d1821800721b468004800d32c..."} 
[2026-08-05 17:01:45] local.INFO: Processing buffer {"connection_id":149746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ad5ee0012d1821800721b468004800d32c..."} 
[2026-08-05 17:01:45] local.INFO: Packet analysis {"connection_id":149746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ad"} 
[2026-08-05 17:01:45] local.INFO: Extracted packet for processing {"connection_id":149746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ad"} 
[2026-08-05 17:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 17:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197876992001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929228000,"timestamp_ms":1785929228000,"timestamp_seconds":1785929228,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ad5ee0"} 
[2026-08-05 17:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 17:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197876992001,"66":12504,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197876992001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:01:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197876992001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":149746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:01:45] local.INFO: GPS data processed {"connection_id":149746,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:01:45] local.INFO: Acknowledgment sent {"connection_id":149746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:01:53] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1af4340012d76e44005e8bb100009014231..."} 
[2026-08-05 17:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1af4340012d76e44005e8bb100009014231..."} 
[2026-08-05 17:01:53] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1af4340012d76e44005e8bb100009014231..."} 
[2026-08-05 17:01:53] local.INFO: Packet analysis {"connection_id":148533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:01:53] local.INFO: Extracted packet for processing {"connection_id":148533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:01:53] local.INFO: GPS Element Parsed {"raw_longitude":762766400,"raw_latitude":99138320,"longitude_deg":76.27664,"latitude_deg":9.913832,"altitude":9,"angle":322,"satellites":49,"speed":20,"hex_longitude":"2d76e440","hex_latitude":"05e8bb10","is_valid_coordinates":true} 
[2026-08-05 17:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197913600001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370673875421233152,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8567816841474893824,"note":"Value kept but may cause issues"} 
[2026-08-05 17:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785929352000,"timestamp_ms":1785929352000,"timestamp_seconds":1785929352,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1af4340"} 
[2026-08-05 17:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197913600001,"66":27984,"129":206,"87":12288,"24":20,"16":370673875421233152,"45":8567816841474893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-05 17:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197913600001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:01:53] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-05 17:01:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370673875421233152,"km_value":370673875421233.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8567816841474893824,"description":"Unknown IO ID 45"} 
[2026-08-05 17:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197913600001,"power":27984,"unknown_129":206,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8567816841474893824}} 
[2026-08-05 17:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":148533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:01:53] local.INFO: GPS data processed {"connection_id":148533,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:01:53] local.INFO: Acknowledgment sent {"connection_id":148533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:02:14] local.INFO: TCP Data received {"connection_id":151173,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:02:14] local.INFO: Processing buffer {"connection_id":151173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:02:14] local.INFO: IMEI packet received {"connection_id":151173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":151173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:02:16] local.INFO: TCP Data received {"connection_id":149746,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1adb0e8012d1821800721b468004800d32b..."} 
[2026-08-05 17:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1adb0e8012d1821800721b468004800d32b..."} 
[2026-08-05 17:02:16] local.INFO: Processing buffer {"connection_id":149746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1adb0e8012d1821800721b468004800d32b..."} 
[2026-08-05 17:02:16] local.INFO: Packet analysis {"connection_id":149746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ad"} 
[2026-08-05 17:02:16] local.INFO: Extracted packet for processing {"connection_id":149746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ad"} 
[2026-08-05 17:02:16] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 17:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197882368001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785929249000,"timestamp_ms":1785929249000,"timestamp_seconds":1785929249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1adb0e8"} 
[2026-08-05 17:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:02: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-08-05 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 17:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197882368001,"66":12548,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197882368001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:02:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:02:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197882368001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":149746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:02:16] local.INFO: GPS data processed {"connection_id":149746,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:02:16] local.INFO: Acknowledgment sent {"connection_id":149746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:02:19] local.INFO: TCP Data received {"connection_id":151173,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:02:19] local.INFO: Processing buffer {"connection_id":151173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:02:19] local.INFO: IMEI packet received {"connection_id":151173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":151173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:02:21] local.INFO: TCP Data received {"connection_id":151173,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1af4b10012d76e28005e8bde00009014f30..."} 
[2026-08-05 17:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1af4b10012d76e28005e8bde00009014f30..."} 
[2026-08-05 17:02:21] local.INFO: Processing buffer {"connection_id":151173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1af4b10012d76e28005e8bde00009014f30..."} 
[2026-08-05 17:02:21] local.INFO: Packet analysis {"connection_id":151173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:02:21] local.INFO: Extracted packet for processing {"connection_id":151173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:02:21] local.INFO: GPS Element Parsed {"raw_longitude":762765952,"raw_latitude":99139040,"longitude_deg":76.2765952,"latitude_deg":9.913904,"altitude":9,"angle":335,"satellites":48,"speed":13,"hex_longitude":"2d76e280","hex_latitude":"05e8bde0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197914112001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370673914075938816,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8567042785289113600,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785929354000,"timestamp_ms":1785929354000,"timestamp_seconds":1785929354,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1af4b10"} 
[2026-08-05 17:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:02: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-08-05 17: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 17:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197914112001,"66":27974,"129":206,"87":12288,"24":13,"16":370673914075938816,"45":8567042785289113600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-05 17:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197914112001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:02:21] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-05 17:02:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370673914075938816,"km_value":370673914075938.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8567042785289113600,"description":"Unknown IO ID 45"} 
[2026-08-05 17:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197914112001,"power":27974,"unknown_129":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8567042785289113600}} 
[2026-08-05 17:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":151173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:02:21] local.INFO: GPS data processed {"connection_id":151173,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:02:21] local.INFO: Acknowledgment sent {"connection_id":151173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:02:39] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:02:39] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:02:39] local.INFO: IMEI packet received {"connection_id":148534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":148534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:02:40] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:02:40] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:02:40] local.INFO: IMEI packet received {"connection_id":148534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":148534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:02:44] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:02:44] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:02:44] local.INFO: IMEI packet received {"connection_id":148534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":148534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:02:45] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b13740012d1821800721b468004800d32a..."} 
[2026-08-05 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b13740012d1821800721b468004800d32a..."} 
[2026-08-05 17:02:45] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b13740012d1821800721b468004800d32a..."} 
[2026-08-05 17:02:45] local.INFO: Packet analysis {"connection_id":148534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b1"} 
[2026-08-05 17:02:45] local.INFO: Extracted packet for processing {"connection_id":148534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b1"} 
[2026-08-05 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197941504001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929480000,"timestamp_ms":1785929480000,"timestamp_seconds":1785929480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b13740"} 
[2026-08-05 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-08-05 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197941504001,"66":12493,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197941504001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:02:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197941504001,"power":12493,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":148534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:02:45] local.INFO: GPS data processed {"connection_id":148534,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:02:45] local.INFO: Acknowledgment sent {"connection_id":148534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:02:52] local.INFO: TCP Data received {"connection_id":151173,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1af9930012d76d64005e8e020000601552f..."} 
[2026-08-05 17:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1af9930012d76d64005e8e020000601552f..."} 
[2026-08-05 17:02:52] local.INFO: Processing buffer {"connection_id":151173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1af9930012d76d64005e8e020000601552f..."} 
[2026-08-05 17:02:52] local.INFO: Packet analysis {"connection_id":151173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:02:52] local.INFO: Extracted packet for processing {"connection_id":151173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:02:52] local.INFO: GPS Element Parsed {"raw_longitude":762762816,"raw_latitude":99147808,"longitude_deg":76.2762816,"latitude_deg":9.9147808,"altitude":6,"angle":341,"satellites":47,"speed":26,"hex_longitude":"2d76d640","hex_latitude":"05e8e020","is_valid_coordinates":true} 
[2026-08-05 17:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197914624001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370674369342472192,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8566550204080054272,"note":"Value kept but may cause issues"} 
[2026-08-05 17:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785929374000,"timestamp_ms":1785929374000,"timestamp_seconds":1785929374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1af9930"} 
[2026-08-05 17:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 17:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197914624001,"66":27767,"129":206,"87":12288,"24":26,"16":370674369342472192,"45":8566550204080054272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-05 17:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197914624001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:02:52] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-05 17:02:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370674369342472192,"km_value":370674369342472.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8566550204080054272,"description":"Unknown IO ID 45"} 
[2026-08-05 17:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197914624001,"power":27767,"unknown_129":206,"unknown_87":12288,"ignition":26,"odometer":null,"unknown_45":8566550204080054272}} 
[2026-08-05 17:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":151173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:02:52] local.INFO: GPS data processed {"connection_id":151173,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:02:52] local.INFO: Acknowledgment sent {"connection_id":151173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:03:14] local.INFO: TCP Data received {"connection_id":148741,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:03:14] local.INFO: Processing buffer {"connection_id":148741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:03:14] local.INFO: IMEI packet received {"connection_id":148741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":148741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:03:16] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b18948012d1821800721b468004800d32b..."} 
[2026-08-05 17:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b18948012d1821800721b468004800d32b..."} 
[2026-08-05 17:03:16] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b18948012d1821800721b468004800d32b..."} 
[2026-08-05 17:03:16] local.INFO: Packet analysis {"connection_id":148534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b1"} 
[2026-08-05 17:03:16] local.INFO: Extracted packet for processing {"connection_id":148534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b1"} 
[2026-08-05 17:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 17:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197946880001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785929501000,"timestamp_ms":1785929501000,"timestamp_seconds":1785929501,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b18948"} 
[2026-08-05 17:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:03: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-08-05 17: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 17:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197946880001,"66":12461,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197946880001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:03:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197946880001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":148534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:03:16] local.INFO: GPS data processed {"connection_id":148534,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:03:16] local.INFO: Acknowledgment sent {"connection_id":148534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:03:19] local.INFO: TCP Data received {"connection_id":148741,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:03:19] local.INFO: Processing buffer {"connection_id":148741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:03:19] local.INFO: IMEI packet received {"connection_id":148741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":148741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:03:21] local.INFO: TCP Data received {"connection_id":148741,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1afdb98012d76ca0005e902080006015a2f..."} 
[2026-08-05 17:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1afdb98012d76ca0005e902080006015a2f..."} 
[2026-08-05 17:03:21] local.INFO: Processing buffer {"connection_id":148741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1afdb98012d76ca0005e902080006015a2f..."} 
[2026-08-05 17:03:21] local.INFO: Packet analysis {"connection_id":148741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:03:21] local.INFO: Extracted packet for processing {"connection_id":148741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1af"} 
[2026-08-05 17:03:21] local.INFO: GPS Element Parsed {"raw_longitude":762759680,"raw_latitude":99156488,"longitude_deg":76.275968,"latitude_deg":9.9156488,"altitude":6,"angle":346,"satellites":47,"speed":16,"hex_longitude":"2d76ca00","hex_latitude":"05e90208","is_valid_coordinates":true} 
[2026-08-05 17:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197919744001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370674816019070976,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8563102135617593344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785929391000,"timestamp_ms":1785929391000,"timestamp_seconds":1785929391,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1afdb98"} 
[2026-08-05 17:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:03: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-08-05 17:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:03: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-08-05 17:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197919744001,"66":27865,"129":206,"87":12288,"24":16,"16":370674816019070976,"45":8563102135617593344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-05 17:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197919744001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:03:21] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-05 17:03:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370674816019070976,"km_value":370674816019071.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8563102135617593344,"description":"Unknown IO ID 45"} 
[2026-08-05 17:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197919744001,"power":27865,"unknown_129":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8563102135617593344}} 
[2026-08-05 17:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":148741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:03:21] local.INFO: GPS data processed {"connection_id":148741,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:03:21] local.INFO: Acknowledgment sent {"connection_id":148741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:03:39] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:03:39] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:03:39] local.INFO: IMEI packet received {"connection_id":148535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":148535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:03:43] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:03:43] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:03:43] local.INFO: IMEI packet received {"connection_id":148535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":148535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:03:44] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:03:44] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:03:44] local.INFO: IMEI packet received {"connection_id":148535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":148535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:03:48] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b1db50012d1821800721b468004800d32b..."} 
[2026-08-05 17:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b1db50012d1821800721b468004800d32b..."} 
[2026-08-05 17:03:48] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b1db50012d1821800721b468004800d32b..."} 
[2026-08-05 17:03:48] local.INFO: Packet analysis {"connection_id":148535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b1"} 
[2026-08-05 17:03:48] local.INFO: Extracted packet for processing {"connection_id":148535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b1"} 
[2026-08-05 17:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 17:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197952256001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785929522000,"timestamp_ms":1785929522000,"timestamp_seconds":1785929522,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b1db50"} 
[2026-08-05 17:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197952256001,"66":12439,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197952256001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:03:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197952256001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":148535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:03:48] local.INFO: GPS data processed {"connection_id":148535,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:03:48] local.INFO: Acknowledgment sent {"connection_id":148535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:03:49] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b22d58012d1821800721b468004800d32d..."} 
[2026-08-05 17:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b22d58012d1821800721b468004800d32d..."} 
[2026-08-05 17:03:49] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b22d58012d1821800721b468004800d32d..."} 
[2026-08-05 17:03:49] local.INFO: Packet analysis {"connection_id":148535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:03:49] local.INFO: Extracted packet for processing {"connection_id":148535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197957632001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785929543000,"timestamp_ms":1785929543000,"timestamp_seconds":1785929543,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b22d58"} 
[2026-08-05 17:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:03: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-08-05 17: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 17:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197957632001,"66":12461,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197957632001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:03:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197957632001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":148535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:03:49] local.INFO: GPS data processed {"connection_id":148535,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:03:49] local.INFO: Acknowledgment sent {"connection_id":148535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:03:53] local.INFO: TCP Data received {"connection_id":148741,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b23cf8012d7636c005ea55980004014f32..."} 
[2026-08-05 17:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b23cf8012d7636c005ea55980004014f32..."} 
[2026-08-05 17:03:53] local.INFO: Processing buffer {"connection_id":148741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b23cf8012d7636c005ea55980004014f32..."} 
[2026-08-05 17:03:53] local.INFO: Packet analysis {"connection_id":148741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:03:53] local.INFO: Extracted packet for processing {"connection_id":148741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:03:53] local.INFO: GPS Element Parsed {"raw_longitude":762721984,"raw_latitude":99243416,"longitude_deg":76.2721984,"latitude_deg":9.9243416,"altitude":4,"angle":335,"satellites":50,"speed":19,"hex_longitude":"2d7636c0","hex_latitude":"05ea5598","is_valid_coordinates":true} 
[2026-08-05 17:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197959680001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370679407339110400,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8522851213970419712,"note":"Value kept but may cause issues"} 
[2026-08-05 17:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785929547000,"timestamp_ms":1785929547000,"timestamp_seconds":1785929547,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b23cf8"} 
[2026-08-05 17:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197959680001,"66":27930,"185":206,"87":12288,"24":19,"16":370679407339110400,"45":8522851213970419712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-08-05 17:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197959680001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:03:53] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-05 17:03:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370679407339110400,"km_value":370679407339110.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8522851213970419712,"description":"Unknown IO ID 45"} 
[2026-08-05 17:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197959680001,"power":27930,"unknown_185":206,"unknown_87":12288,"ignition":19,"odometer":null,"unknown_45":8522851213970419712}} 
[2026-08-05 17:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":148741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:03:53] local.INFO: GPS data processed {"connection_id":148741,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:03:53] local.INFO: Acknowledgment sent {"connection_id":148741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:04:19] local.INFO: TCP Data received {"connection_id":151174,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:04:19] local.INFO: Processing buffer {"connection_id":151174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:04:19] local.INFO: IMEI packet received {"connection_id":151174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":151174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:04:23] local.INFO: TCP Data received {"connection_id":151174,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:04:23] local.INFO: Processing buffer {"connection_id":151174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:04:23] local.INFO: IMEI packet received {"connection_id":151174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":151174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:04:24] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b27f60012d1821800721b468004800d32e..."} 
[2026-08-05 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b27f60012d1821800721b468004800d32e..."} 
[2026-08-05 17:04:24] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b27f60012d1821800721b468004800d32e..."} 
[2026-08-05 17:04:24] local.INFO: Packet analysis {"connection_id":148535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:04:24] local.INFO: Extracted packet for processing {"connection_id":148535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 17:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197963008001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785929564000,"timestamp_ms":1785929564000,"timestamp_seconds":1785929564,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b27f60"} 
[2026-08-05 17:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197963008001,"66":12461,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197963008001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:04:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197963008001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":148535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:04:24] local.INFO: GPS data processed {"connection_id":148535,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:04:24] local.INFO: Acknowledgment sent {"connection_id":148535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:04:25] local.INFO: TCP Data received {"connection_id":151174,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b28348012d762b0005ea7618000501562f..."} 
[2026-08-05 17:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b28348012d762b0005ea7618000501562f..."} 
[2026-08-05 17:04:25] local.INFO: Processing buffer {"connection_id":151174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b28348012d762b0005ea7618000501562f..."} 
[2026-08-05 17:04:25] local.INFO: Packet analysis {"connection_id":151174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:04:25] local.INFO: Extracted packet for processing {"connection_id":151174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:04:25] local.INFO: GPS Element Parsed {"raw_longitude":762718976,"raw_latitude":99251736,"longitude_deg":76.2718976,"latitude_deg":9.9251736,"altitude":5,"angle":342,"satellites":47,"speed":24,"hex_longitude":"2d762b00","hex_latitude":"05ea7618","is_valid_coordinates":true} 
[2026-08-05 17:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197964032001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370679836835840000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8518206876856719360,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785929565000,"timestamp_ms":1785929565000,"timestamp_seconds":1785929565,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b28348"} 
[2026-08-05 17:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 17:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197964032001,"66":27908,"185":206,"87":12288,"24":24,"16":370679836835840000,"45":8518206876856719360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-08-05 17:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197964032001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:04:25] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-05 17:04:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370679836835840000,"km_value":370679836835840,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8518206876856719360,"description":"Unknown IO ID 45"} 
[2026-08-05 17:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197964032001,"power":27908,"unknown_185":206,"unknown_87":12288,"ignition":24,"odometer":null,"unknown_45":8518206876856719360}} 
[2026-08-05 17:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":151174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:04:25] local.INFO: GPS data processed {"connection_id":151174,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:04:25] local.INFO: Acknowledgment sent {"connection_id":151174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:04:44] local.INFO: TCP Data received {"connection_id":149747,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:04:44] local.INFO: Processing buffer {"connection_id":149747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:04:44] local.INFO: IMEI packet received {"connection_id":149747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":149747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:04:47] local.INFO: TCP Data received {"connection_id":149747,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:04:47] local.INFO: Processing buffer {"connection_id":149747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:04:47] local.INFO: IMEI packet received {"connection_id":149747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":149747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:04:47] local.INFO: TCP Data received {"connection_id":149747,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b2d168012d1821800721b468004800d32b..."} 
[2026-08-05 17:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b2d168012d1821800721b468004800d32b..."} 
[2026-08-05 17:04:47] local.INFO: Processing buffer {"connection_id":149747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b2d168012d1821800721b468004800d32b..."} 
[2026-08-05 17:04:47] local.INFO: Packet analysis {"connection_id":149747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:04:47] local.INFO: Extracted packet for processing {"connection_id":149747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 17:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197968384001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785929585000,"timestamp_ms":1785929585000,"timestamp_seconds":1785929585,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b2d168"} 
[2026-08-05 17:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197968384001,"66":12461,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197968384001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:04:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197968384001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":149747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:04:48] local.INFO: GPS data processed {"connection_id":149747,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:04:48] local.INFO: Acknowledgment sent {"connection_id":149747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:04:49] local.INFO: TCP Data received {"connection_id":149747,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b32370012d1821800721b468004800d32b..."} 
[2026-08-05 17:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b32370012d1821800721b468004800d32b..."} 
[2026-08-05 17:04:49] local.INFO: Processing buffer {"connection_id":149747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b32370012d1821800721b468004800d32b..."} 
[2026-08-05 17:04:49] local.INFO: Packet analysis {"connection_id":149747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b3"} 
[2026-08-05 17:04:49] local.INFO: Extracted packet for processing {"connection_id":149747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b3"} 
[2026-08-05 17:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 17:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197973760001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785929606000,"timestamp_ms":1785929606000,"timestamp_seconds":1785929606,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b32370"} 
[2026-08-05 17:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:04: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-08-05 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197973760001,"66":12461,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197973760001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:04:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197973760001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":149747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:04:49] local.INFO: GPS data processed {"connection_id":149747,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:04:49] local.INFO: Acknowledgment sent {"connection_id":149747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:04:56] local.INFO: TCP Data received {"connection_id":151174,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b2c1c8012d761fc005ea98980005015431..."} 
[2026-08-05 17:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b2c1c8012d761fc005ea98980005015431..."} 
[2026-08-05 17:04:56] local.INFO: Processing buffer {"connection_id":151174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b2c1c8012d761fc005ea98980005015431..."} 
[2026-08-05 17:04:56] local.INFO: Packet analysis {"connection_id":151174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:04:56] local.INFO: Extracted packet for processing {"connection_id":151174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:04:56] local.INFO: GPS Element Parsed {"raw_longitude":762716096,"raw_latitude":99260568,"longitude_deg":76.2716096,"latitude_deg":9.9260568,"altitude":5,"angle":340,"satellites":49,"speed":20,"hex_longitude":"2d761fc0","hex_latitude":"05ea9898","is_valid_coordinates":true} 
[2026-08-05 17:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197968640001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-05 17:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370680287807406080,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8514899545882499072,"note":"Value kept but may cause issues"} 
[2026-08-05 17:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-05 17:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785929581000,"timestamp_ms":1785929581000,"timestamp_seconds":1785929581,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b2c1c8"} 
[2026-08-05 17:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197968640001,"66":27908,"200":0,"87":12288,"24":20,"16":370680287807406080,"45":8514899545882499072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,87,24,16,45]} 
[2026-08-05 17:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197968640001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:04:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370680287807406080,"km_value":370680287807406.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8514899545882499072,"description":"Unknown IO ID 45"} 
[2026-08-05 17:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197968640001,"power":27908,"gsm_signal":0,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8514899545882499072}} 
[2026-08-05 17:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":151174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:04:56] local.INFO: GPS data processed {"connection_id":151174,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:04:56] local.INFO: Acknowledgment sent {"connection_id":151174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:05:14] local.INFO: TCP Data received {"connection_id":149748,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:05:14] local.INFO: Processing buffer {"connection_id":149748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:05:14] local.INFO: IMEI packet received {"connection_id":149748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":149748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:05:19] local.INFO: TCP Data received {"connection_id":149748,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:05:19] local.INFO: Processing buffer {"connection_id":149748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:05:19] local.INFO: IMEI packet received {"connection_id":149748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":149748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:05:21] local.INFO: TCP Data received {"connection_id":149747,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b37578012d1821800721b468004800d32b..."} 
[2026-08-05 17:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b37578012d1821800721b468004800d32b..."} 
[2026-08-05 17:05:21] local.INFO: Processing buffer {"connection_id":149747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b37578012d1821800721b468004800d32b..."} 
[2026-08-05 17:05:21] local.INFO: Packet analysis {"connection_id":149747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b3"} 
[2026-08-05 17:05:21] local.INFO: Extracted packet for processing {"connection_id":149747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b3"} 
[2026-08-05 17:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197979136001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785929627000,"timestamp_ms":1785929627000,"timestamp_seconds":1785929627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b37578"} 
[2026-08-05 17:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197979136001,"66":12439,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197979136001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:05:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197979136001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":149747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:05:21] local.INFO: GPS data processed {"connection_id":149747,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:05:21] local.INFO: Acknowledgment sent {"connection_id":149747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:05:21] local.INFO: TCP Data received {"connection_id":149748,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b2f878012d76158005eab450000501602f..."} 
[2026-08-05 17:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b2f878012d76158005eab450000501602f..."} 
[2026-08-05 17:05:21] local.INFO: Processing buffer {"connection_id":149748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b2f878012d76158005eab450000501602f..."} 
[2026-08-05 17:05:21] local.INFO: Packet analysis {"connection_id":149748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:05:21] local.INFO: Extracted packet for processing {"connection_id":149748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b2"} 
[2026-08-05 17:05:21] local.INFO: GPS Element Parsed {"raw_longitude":762713472,"raw_latitude":99267664,"longitude_deg":76.2713472,"latitude_deg":9.9267664,"altitude":5,"angle":352,"satellites":47,"speed":16,"hex_longitude":"2d761580","hex_latitude":"05eab450","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197972736001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-05 17:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370680657174593536,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8511732952396765184,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-05 17:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785929595000,"timestamp_ms":1785929595000,"timestamp_seconds":1785929595,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b2f878"} 
[2026-08-05 17:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:05: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-08-05 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:05: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-08-05 17: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-08-05 17:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197972736001,"66":27800,"200":0,"87":12288,"24":16,"16":370680657174593536,"45":8511732952396765184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,87,24,16,45]} 
[2026-08-05 17:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197972736001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:05:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370680657174593536,"km_value":370680657174593.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8511732952396765184,"description":"Unknown IO ID 45"} 
[2026-08-05 17:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197972736001,"power":27800,"gsm_signal":0,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8511732952396765184}} 
[2026-08-05 17:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":149748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:05:21] local.INFO: GPS data processed {"connection_id":149748,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:05:21] local.INFO: Acknowledgment sent {"connection_id":149748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:05:39] local.INFO: TCP Data received {"connection_id":148742,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:05:39] local.INFO: Processing buffer {"connection_id":148742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:05:39] local.INFO: IMEI packet received {"connection_id":148742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":148742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:05:44] local.INFO: TCP Data received {"connection_id":148742,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:05:44] local.INFO: Processing buffer {"connection_id":148742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:05:44] local.INFO: IMEI packet received {"connection_id":148742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":148742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:05:45] local.INFO: TCP Data received {"connection_id":148742,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b3c780012d1821800721b468004800d32b..."} 
[2026-08-05 17:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b3c780012d1821800721b468004800d32b..."} 
[2026-08-05 17:05:45] local.INFO: Processing buffer {"connection_id":148742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b3c780012d1821800721b468004800d32b..."} 
[2026-08-05 17:05:45] local.INFO: Packet analysis {"connection_id":148742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b3"} 
[2026-08-05 17:05:45] local.INFO: Extracted packet for processing {"connection_id":148742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b3"} 
[2026-08-05 17:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649384,"longitude_deg":75.655616,"latitude_deg":11.9649384,"altitude":72,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-05 17:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197984512001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730782515527680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929648000,"timestamp_ms":1785929648000,"timestamp_seconds":1785929648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b3c780"} 
[2026-08-05 17:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 17:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197984512001,"66":12439,"105":206,"83":41984,"24":0,"16":10730782515527680,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197984512001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:05:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730782515527680,"km_value":10730782515527.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197984512001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":148742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:05:45] local.INFO: GPS data processed {"connection_id":148742,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:05:45] local.INFO: Acknowledgment sent {"connection_id":148742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:05:53] local.INFO: TCP Data received {"connection_id":149748,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b4b5c8012d757b8005eb64d80002001930..."} 
[2026-08-05 17:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b4b5c8012d757b8005eb64d80002001930..."} 
[2026-08-05 17:05:53] local.INFO: Processing buffer {"connection_id":149748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b4b5c8012d757b8005eb64d80002001930..."} 
[2026-08-05 17:05:53] local.INFO: Packet analysis {"connection_id":149748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:05:53] local.INFO: Extracted packet for processing {"connection_id":149748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:05:53] local.INFO: GPS Element Parsed {"raw_longitude":762674048,"raw_latitude":99312856,"longitude_deg":76.2674048,"latitude_deg":9.9312856,"altitude":2,"angle":25,"satellites":48,"speed":13,"hex_longitude":"2d757b80","hex_latitude":"05eb64d8","is_valid_coordinates":true} 
[2026-08-05 17:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198005248001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370683736666144768,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465289581252823040,"note":"Value kept but may cause issues"} 
[2026-08-05 17:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785929709000,"timestamp_ms":1785929709000,"timestamp_seconds":1785929709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b4b5c8"} 
[2026-08-05 17:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 17:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198005248001,"66":27876,"186":206,"87":12288,"24":13,"16":370683736666144768,"45":8465289581252823040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-05 17:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198005248001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:05:53] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-05 17:05:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370683736666144768,"km_value":370683736666144.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465289581252823040,"description":"Unknown IO ID 45"} 
[2026-08-05 17:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198005248001,"power":27876,"unknown_186":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8465289581252823040}} 
[2026-08-05 17:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":149748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:05:53] local.INFO: GPS data processed {"connection_id":149748,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:05:53] local.INFO: Acknowledgment sent {"connection_id":149748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:06:16] local.INFO: TCP Data received {"connection_id":148742,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b41988012d1820000721b220004a00d52b..."} 
[2026-08-05 17:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b41988012d1820000721b220004a00d52b..."} 
[2026-08-05 17:06:16] local.INFO: Processing buffer {"connection_id":148742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b41988012d1820000721b220004a00d52b..."} 
[2026-08-05 17:06:16] local.INFO: Packet analysis {"connection_id":148742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:06:16] local.INFO: Extracted packet for processing {"connection_id":148742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197989888001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260319744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785929669000,"timestamp_ms":1785929669000,"timestamp_seconds":1785929669,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b41988"} 
[2026-08-05 17:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:06: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-08-05 17: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 17:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197989888001,"66":12461,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738811699260319744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197989888001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:06:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260319744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197989888001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260319744}} 
[2026-08-05 17:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":148742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:06:16] local.INFO: GPS data processed {"connection_id":148742,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:06:16] local.INFO: Acknowledgment sent {"connection_id":148742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:06:19] local.INFO: TCP Data received {"connection_id":148743,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:06:19] local.INFO: Processing buffer {"connection_id":148743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:06:19] local.INFO: IMEI packet received {"connection_id":148743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":148743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:06:23] local.INFO: TCP Data received {"connection_id":148743,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:06:23] local.INFO: Processing buffer {"connection_id":148743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:06:23] local.INFO: IMEI packet received {"connection_id":148743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":148743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:06:24] local.INFO: TCP Data received {"connection_id":148743,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b4b9b0012d757c0005eb66000002002b2f..."} 
[2026-08-05 17:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b4b9b0012d757c0005eb66000002002b2f..."} 
[2026-08-05 17:06:24] local.INFO: Processing buffer {"connection_id":148743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b4b9b0012d757c0005eb66000002002b2f..."} 
[2026-08-05 17:06:24] local.INFO: Packet analysis {"connection_id":148743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:06:24] local.INFO: Extracted packet for processing {"connection_id":148743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:06:24] local.INFO: GPS Element Parsed {"raw_longitude":762674176,"raw_latitude":99313152,"longitude_deg":76.2674176,"latitude_deg":9.9313152,"altitude":2,"angle":43,"satellites":47,"speed":15,"hex_longitude":"2d757c00","hex_latitude":"05eb6600","is_valid_coordinates":true} 
[2026-08-05 17:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198005504001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370683753846013952,"note":"Value kept but may cause issues"} 
[2026-08-05 17:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465500687485425664,"note":"Value kept but may cause issues"} 
[2026-08-05 17:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785929710000,"timestamp_ms":1785929710000,"timestamp_seconds":1785929710,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b4b9b0"} 
[2026-08-05 17:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 17:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198005504001,"66":27876,"186":206,"87":12288,"24":15,"16":370683753846013952,"45":8465500687485425664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-05 17:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198005504001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:06:24] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-05 17:06:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370683753846013952,"km_value":370683753846013.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465500687485425664,"description":"Unknown IO ID 45"} 
[2026-08-05 17:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198005504001,"power":27876,"unknown_186":206,"unknown_87":12288,"ignition":15,"odometer":null,"unknown_45":8465500687485425664}} 
[2026-08-05 17:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":148743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:06:24] local.INFO: GPS data processed {"connection_id":148743,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:06:24] local.INFO: Acknowledgment sent {"connection_id":148743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:06:25] local.INFO: TCP Data received {"connection_id":148743,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b4bd98012d757d4005eb67000002003b30..."} 
[2026-08-05 17:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b4bd98012d757d4005eb67000002003b30..."} 
[2026-08-05 17:06:25] local.INFO: Processing buffer {"connection_id":148743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b4bd98012d757d4005eb67000002003b30..."} 
[2026-08-05 17:06:25] local.INFO: Packet analysis {"connection_id":148743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:06:25] local.INFO: Extracted packet for processing {"connection_id":148743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:06:25] local.INFO: GPS Element Parsed {"raw_longitude":762674496,"raw_latitude":99313408,"longitude_deg":76.2674496,"latitude_deg":9.9313408,"altitude":2,"angle":59,"satellites":48,"speed":16,"hex_longitude":"2d757d40","hex_latitude":"05eb6700","is_valid_coordinates":true} 
[2026-08-05 17:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198005760001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370683771025883136,"note":"Value kept but may cause issues"} 
[2026-08-05 17:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465641424973856768,"note":"Value kept but may cause issues"} 
[2026-08-05 17:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785929711000,"timestamp_ms":1785929711000,"timestamp_seconds":1785929711,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b4bd98"} 
[2026-08-05 17:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 17:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198005760001,"66":27919,"186":206,"87":12288,"24":16,"16":370683771025883136,"45":8465641424973856768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-05 17:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198005760001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:06:25] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-05 17:06:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370683771025883136,"km_value":370683771025883.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465641424973856768,"description":"Unknown IO ID 45"} 
[2026-08-05 17:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198005760001,"power":27919,"unknown_186":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8465641424973856768}} 
[2026-08-05 17:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":148743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:06:25] local.INFO: GPS data processed {"connection_id":148743,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:06:25] local.INFO: Acknowledgment sent {"connection_id":148743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:06:39] local.INFO: TCP Data received {"connection_id":149749,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:06:39] local.INFO: Processing buffer {"connection_id":149749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:06:39] local.INFO: IMEI packet received {"connection_id":149749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":149749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:06:44] local.INFO: TCP Data received {"connection_id":149749,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:06:44] local.INFO: Processing buffer {"connection_id":149749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:06:44] local.INFO: IMEI packet received {"connection_id":149749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":149749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:06:45] local.INFO: TCP Data received {"connection_id":149749,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b46b90012d1820000721b220004a00d52b..."} 
[2026-08-05 17:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b46b90012d1820000721b220004a00d52b..."} 
[2026-08-05 17:06:45] local.INFO: Processing buffer {"connection_id":149749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b46b90012d1820000721b220004a00d52b..."} 
[2026-08-05 17:06:45] local.INFO: Packet analysis {"connection_id":149749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:06:45] local.INFO: Extracted packet for processing {"connection_id":149749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457197995264001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17: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-08-05 17:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929690000,"timestamp_ms":1785929690000,"timestamp_seconds":1785929690,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b46b90"} 
[2026-08-05 17:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457197995264001,"66":12439,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457197995264001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:06:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457197995264001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":149749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:06:45] local.INFO: GPS data processed {"connection_id":149749,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:06:45] local.INFO: Acknowledgment sent {"connection_id":149749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:07:00] local.INFO: TCP Data received {"connection_id":148743,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b4fc18012d759c8005eb78900007003830..."} 
[2026-08-05 17:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b4fc18012d759c8005eb78900007003830..."} 
[2026-08-05 17:07:00] local.INFO: Processing buffer {"connection_id":148743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b4fc18012d759c8005eb78900007003830..."} 
[2026-08-05 17:07:00] local.INFO: Packet analysis {"connection_id":148743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:07:00] local.INFO: Extracted packet for processing {"connection_id":148743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:07:00] local.INFO: GPS Element Parsed {"raw_longitude":762682496,"raw_latitude":99317904,"longitude_deg":76.2682496,"latitude_deg":9.9317904,"altitude":7,"angle":56,"satellites":48,"speed":27,"hex_longitude":"2d759c80","hex_latitude":"05eb7890","is_valid_coordinates":true} 
[2026-08-05 17:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198006016001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370684213407514624,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465993268694810624,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785929727000,"timestamp_ms":1785929727000,"timestamp_seconds":1785929727,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b4fc18"} 
[2026-08-05 17:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 17:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198006016001,"66":27821,"186":206,"87":12288,"24":27,"16":370684213407514624,"45":8465993268694810624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-05 17:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198006016001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:07:00] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-05 17:07:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370684213407514624,"km_value":370684213407514.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465993268694810624,"description":"Unknown IO ID 45"} 
[2026-08-05 17:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198006016001,"power":27821,"unknown_186":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8465993268694810624}} 
[2026-08-05 17:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":148743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:07:00] local.INFO: GPS data processed {"connection_id":148743,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:07:00] local.INFO: Acknowledgment sent {"connection_id":148743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:07:14] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:07:14] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:07:14] local.INFO: IMEI packet received {"connection_id":148536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":148536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:07:15] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:07:15] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:07:15] local.INFO: IMEI packet received {"connection_id":148536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":148536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:07:16] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b503e8012d75a0c005eb7bf00007002a30..."} 
[2026-08-05 17:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b503e8012d75a0c005eb7bf00007002a30..."} 
[2026-08-05 17:07:16] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b503e8012d75a0c005eb7bf00007002a30..."} 
[2026-08-05 17:07:16] local.INFO: Packet analysis {"connection_id":148536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b5"} 
[2026-08-05 17:07:16] local.INFO: Extracted packet for processing {"connection_id":148536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b5"} 
[2026-08-05 17:07:16] local.INFO: GPS Element Parsed {"raw_longitude":762683584,"raw_latitude":99318768,"longitude_deg":76.2683584,"latitude_deg":9.9318768,"altitude":7,"angle":42,"satellites":48,"speed":25,"hex_longitude":"2d75a0c0","hex_latitude":"05eb7bf0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198010112001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370684277832024064,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8474789361718169600,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785929729000,"timestamp_ms":1785929729000,"timestamp_seconds":1785929729,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b503e8"} 
[2026-08-05 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-08-05 17:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:07: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-08-05 17:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198010112001,"66":27930,"186":206,"87":12288,"24":25,"16":370684277832024064,"45":8474789361718169600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-05 17:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198010112001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:07:16] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-05 17:07:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370684277832024064,"km_value":370684277832024.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8474789361718169600,"description":"Unknown IO ID 45"} 
[2026-08-05 17:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198010112001,"power":27930,"unknown_186":206,"unknown_87":12288,"ignition":25,"odometer":null,"unknown_45":8474789361718169600}} 
[2026-08-05 17:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":148536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:07:16] local.INFO: GPS data processed {"connection_id":148536,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:07:16] local.INFO: Acknowledgment sent {"connection_id":148536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:07:16] local.INFO: TCP Data received {"connection_id":149749,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b4bd98012d1820000721b220004a00d52c..."} 
[2026-08-05 17:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b4bd98012d1820000721b220004a00d52c..."} 
[2026-08-05 17:07:16] local.INFO: Processing buffer {"connection_id":149749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b4bd98012d1820000721b220004a00d52c..."} 
[2026-08-05 17:07:16] local.INFO: Packet analysis {"connection_id":149749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:07:16] local.INFO: Extracted packet for processing {"connection_id":149749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b4"} 
[2026-08-05 17:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198000640001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785929711000,"timestamp_ms":1785929711000,"timestamp_seconds":1785929711,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b4bd98"} 
[2026-08-05 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-08-05 17:07: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-08-05 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 17:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198000640001,"66":12439,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198000640001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:07:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198000640001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":149749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:07:16] local.INFO: GPS data processed {"connection_id":149749,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:07:16] local.INFO: Acknowledgment sent {"connection_id":149749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:07:39] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:07:39] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:07:39] local.INFO: IMEI packet received {"connection_id":148537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":148537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:07:44] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:07:44] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:07:44] local.INFO: IMEI packet received {"connection_id":148537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":148537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:07:45] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b50fa0012d1820000721b220004a00d52b..."} 
[2026-08-05 17:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b50fa0012d1820000721b220004a00d52b..."} 
[2026-08-05 17:07:45] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b50fa0012d1820000721b220004a00d52b..."} 
[2026-08-05 17:07:45] local.INFO: Packet analysis {"connection_id":148537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b5"} 
[2026-08-05 17:07:45] local.INFO: Extracted packet for processing {"connection_id":148537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b5"} 
[2026-08-05 17:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198006016001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929732000,"timestamp_ms":1785929732000,"timestamp_seconds":1785929732,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b50fa0"} 
[2026-08-05 17:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 17:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198006016001,"66":12439,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198006016001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:07:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198006016001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":148537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:07:45] local.INFO: GPS data processed {"connection_id":148537,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:07:45] local.INFO: Acknowledgment sent {"connection_id":148537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:08:01] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b53e80012d75b8c005eb9838000a002730..."} 
[2026-08-05 17:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b53e80012d75b8c005eb9838000a002730..."} 
[2026-08-05 17:08:01] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b53e80012d75b8c005eb9838000a002730..."} 
[2026-08-05 17:08:01] local.INFO: Packet analysis {"connection_id":148536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b5"} 
[2026-08-05 17:08:01] local.INFO: Extracted packet for processing {"connection_id":148536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b5"} 
[2026-08-05 17:08:01] local.INFO: GPS Element Parsed {"raw_longitude":762689728,"raw_latitude":99326008,"longitude_deg":76.2689728,"latitude_deg":9.9326008,"altitude":10,"angle":39,"satellites":48,"speed":26,"hex_longitude":"2d75b8c0","hex_latitude":"05eb9838","is_valid_coordinates":true} 
[2026-08-05 17:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198010624001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370684737393524736,"note":"Value kept but may cause issues"} 
[2026-08-05 17:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8475985630369411072,"note":"Value kept but may cause issues"} 
[2026-08-05 17:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785929744000,"timestamp_ms":1785929744000,"timestamp_seconds":1785929744,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b53e80"} 
[2026-08-05 17:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 17:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198010624001,"66":27930,"186":206,"87":12288,"24":26,"16":370684737393524736,"45":8475985630369411072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-05 17:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198010624001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:08:01] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-05 17:08:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-05 17:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370684737393524736,"km_value":370684737393524.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8475985630369411072,"description":"Unknown IO ID 45"} 
[2026-08-05 17:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198010624001,"power":27930,"unknown_186":206,"unknown_87":12288,"ignition":26,"odometer":null,"unknown_45":8475985630369411072}} 
[2026-08-05 17:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":148536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:08:02] local.INFO: GPS data processed {"connection_id":148536,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:08:02] local.INFO: Acknowledgment sent {"connection_id":148536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:08:16] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b561a8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b561a8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:08:16] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b561a8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:08:16] local.INFO: Packet analysis {"connection_id":148537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b5"} 
[2026-08-05 17:08:16] local.INFO: Extracted packet for processing {"connection_id":148537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b5"} 
[2026-08-05 17:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198011392001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785929753000,"timestamp_ms":1785929753000,"timestamp_seconds":1785929753,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b561a8"} 
[2026-08-05 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-08-05 17:08: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-08-05 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 17:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198011392001,"66":12428,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198011392001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:08:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198011392001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":148537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:08:16] local.INFO: GPS data processed {"connection_id":148537,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:08:16] local.INFO: Acknowledgment sent {"connection_id":148537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:08:33] local.INFO: TCP Data received {"connection_id":148744,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:08:33] local.INFO: Processing buffer {"connection_id":148744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:08:33] local.INFO: IMEI packet received {"connection_id":148744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":148744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:08:39] local.INFO: TCP Data received {"connection_id":148745,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:08:39] local.INFO: Processing buffer {"connection_id":148745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:08:39] local.INFO: IMEI packet received {"connection_id":148745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":148745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:08:44] local.INFO: TCP Data received {"connection_id":148745,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:08:44] local.INFO: Processing buffer {"connection_id":148745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:08:44] local.INFO: IMEI packet received {"connection_id":148745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":148745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:08:45] local.INFO: TCP Data received {"connection_id":148745,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b5b3b0012d1820000721b220004a00d52b..."} 
[2026-08-05 17:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b5b3b0012d1820000721b220004a00d52b..."} 
[2026-08-05 17:08:45] local.INFO: Processing buffer {"connection_id":148745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b5b3b0012d1820000721b220004a00d52b..."} 
[2026-08-05 17:08:45] local.INFO: Packet analysis {"connection_id":148745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b5"} 
[2026-08-05 17:08:45] local.INFO: Extracted packet for processing {"connection_id":148745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b5"} 
[2026-08-05 17:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198016768001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929774000,"timestamp_ms":1785929774000,"timestamp_seconds":1785929774,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b5b3b0"} 
[2026-08-05 17:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198016768001,"66":12439,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198016768001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:08:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198016768001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":148745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:08:45] local.INFO: GPS data processed {"connection_id":148745,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:08:45] local.INFO: Acknowledgment sent {"connection_id":148745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:08:53] local.INFO: TCP Data received {"connection_id":148744,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 17:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148744,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 17:08:53] local.INFO: Processing buffer {"connection_id":148744,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 17:08:53] local.INFO: IMEI packet received {"connection_id":148744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":148744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:09:14] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:09:14] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:09:14] local.INFO: IMEI packet received {"connection_id":148538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":148538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:09:16] local.INFO: TCP Data received {"connection_id":148745,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b605b8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b605b8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:09:16] local.INFO: Processing buffer {"connection_id":148745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b605b8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:09:16] local.INFO: Packet analysis {"connection_id":148745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b6"} 
[2026-08-05 17:09:16] local.INFO: Extracted packet for processing {"connection_id":148745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b6"} 
[2026-08-05 17:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198022144001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785929795000,"timestamp_ms":1785929795000,"timestamp_seconds":1785929795,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b605b8"} 
[2026-08-05 17:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:09: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-08-05 17:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 17:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198022144001,"66":12428,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198022144001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:09:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198022144001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":148745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:09:16] local.INFO: GPS data processed {"connection_id":148745,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:09:16] local.INFO: Acknowledgment sent {"connection_id":148745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:09:18] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:09:18] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:09:18] local.INFO: IMEI packet received {"connection_id":148538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":148538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:09:19] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:09:19] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:09:19] local.INFO: IMEI packet received {"connection_id":148538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":148538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:09:20] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b7af80012d76e10005ec31e80004006234..."} 
[2026-08-05 17:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b7af80012d76e10005ec31e80004006234..."} 
[2026-08-05 17:09:20] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b7af80012d76e10005ec31e80004006234..."} 
[2026-08-05 17:09:20] local.INFO: Packet analysis {"connection_id":148538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:09:20] local.INFO: Extracted packet for processing {"connection_id":148538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:09:20] local.INFO: GPS Element Parsed {"raw_longitude":762765568,"raw_latitude":99365352,"longitude_deg":76.2765568,"latitude_deg":9.9365352,"altitude":4,"angle":98,"satellites":52,"speed":32,"hex_longitude":"2d76e100","hex_latitude":"05ec31e8","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370689620771340288,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8556065261256187904,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785929904000,"timestamp_ms":1785929904000,"timestamp_seconds":1785929904,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b7af80"} 
[2026-08-05 17:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":239,"data_length":795,"current_offset":136} 
[2026-08-05 17:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198051840001,"66":27843,"102":206,"87":13824,"24":32,"16":370689620771340288,"45":8556065261256187904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-05 17:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:09:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 17:09:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370689620771340288,"km_value":370689620771340.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8556065261256187904,"description":"Unknown IO ID 45"} 
[2026-08-05 17:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198051840001,"power":27843,"unknown_102":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8556065261256187904}} 
[2026-08-05 17:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":148538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:09:20] local.INFO: GPS data processed {"connection_id":148538,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:09:20] local.INFO: Acknowledgment sent {"connection_id":148538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:09:24] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b7cec0012d76f98005ec30580004005634..."} 
[2026-08-05 17:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b7cec0012d76f98005ec30580004005634..."} 
[2026-08-05 17:09:24] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b7cec0012d76f98005ec30580004005634..."} 
[2026-08-05 17:09:24] local.INFO: Packet analysis {"connection_id":148538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:09:24] local.INFO: Extracted packet for processing {"connection_id":148538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:09:24] local.INFO: GPS Element Parsed {"raw_longitude":762771840,"raw_latitude":99364952,"longitude_deg":76.277184,"latitude_deg":9.9364952,"altitude":4,"angle":86,"satellites":52,"speed":30,"hex_longitude":"2d76f980","hex_latitude":"05ec3058","is_valid_coordinates":true} 
[2026-08-05 17:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198055424001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370689921419051008,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8566127991672924160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785929912000,"timestamp_ms":1785929912000,"timestamp_seconds":1785929912,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b7cec0"} 
[2026-08-05 17:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 17:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198055424001,"66":27974,"102":206,"87":13824,"24":30,"16":370689921419051008,"45":8566127991672924160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-05 17:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198055424001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:09:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 17:09:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370689921419051008,"km_value":370689921419051.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8566127991672924160,"description":"Unknown IO ID 45"} 
[2026-08-05 17:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198055424001,"power":27974,"unknown_102":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8566127991672924160}} 
[2026-08-05 17:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":148538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:09:24] local.INFO: GPS data processed {"connection_id":148538,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:09:24] local.INFO: Acknowledgment sent {"connection_id":148538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:09:39] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:09:39] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:09:39] local.INFO: IMEI packet received {"connection_id":148539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":148539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:09:40] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:09:40] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:09:40] local.INFO: IMEI packet received {"connection_id":148539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":148539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:09:44] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:09:44] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:09:44] local.INFO: IMEI packet received {"connection_id":148539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":148539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:09:45] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b657c0012d1820000721b220004a00d529..."} 
[2026-08-05 17:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b657c0012d1820000721b220004a00d529..."} 
[2026-08-05 17:09:45] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b657c0012d1820000721b220004a00d529..."} 
[2026-08-05 17:09:45] local.INFO: Packet analysis {"connection_id":148539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b6"} 
[2026-08-05 17:09:45] local.INFO: Extracted packet for processing {"connection_id":148539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b6"} 
[2026-08-05 17:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198027520001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929816000,"timestamp_ms":1785929816000,"timestamp_seconds":1785929816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b657c0"} 
[2026-08-05 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-08-05 17:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198027520001,"66":12428,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198027520001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:09:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198027520001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":148539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:09:45] local.INFO: GPS data processed {"connection_id":148539,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:09:45] local.INFO: Acknowledgment sent {"connection_id":148539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:10:00] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b7ee00012d77140005ec34880004004a33..."} 
[2026-08-05 17:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b7ee00012d77140005ec34880004004a33..."} 
[2026-08-05 17:10:00] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b7ee00012d77140005ec34880004004a33..."} 
[2026-08-05 17:10:00] local.INFO: Packet analysis {"connection_id":148538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:10:00] local.INFO: Extracted packet for processing {"connection_id":148538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:10:00] local.INFO: GPS Element Parsed {"raw_longitude":762778624,"raw_latitude":99366024,"longitude_deg":76.2778624,"latitude_deg":9.9366024,"altitude":4,"angle":74,"satellites":51,"speed":37,"hex_longitude":"2d771400","hex_latitude":"05ec3488","is_valid_coordinates":true} 
[2026-08-05 17:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198057472001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370690252131532800,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8573024128602232832,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785929920000,"timestamp_ms":1785929920000,"timestamp_seconds":1785929920,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b7ee00"} 
[2026-08-05 17:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 17:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198057472001,"66":27767,"102":206,"87":13824,"24":37,"16":370690252131532800,"45":8573024128602232832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-05 17:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198057472001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:10:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 17:10:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370690252131532800,"km_value":370690252131532.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8573024128602232832,"description":"Unknown IO ID 45"} 
[2026-08-05 17:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198057472001,"power":27767,"unknown_102":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8573024128602232832}} 
[2026-08-05 17:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":148538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:10:00] local.INFO: GPS data processed {"connection_id":148538,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:10:00] local.INFO: Acknowledgment sent {"connection_id":148538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:10:16] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b6a9c8012d1820000721b220004a00d52b..."} 
[2026-08-05 17:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b6a9c8012d1820000721b220004a00d52b..."} 
[2026-08-05 17:10:16] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b6a9c8012d1820000721b220004a00d52b..."} 
[2026-08-05 17:10:16] local.INFO: Packet analysis {"connection_id":148539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b6"} 
[2026-08-05 17:10:16] local.INFO: Extracted packet for processing {"connection_id":148539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b6"} 
[2026-08-05 17:10:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198032896001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785929837000,"timestamp_ms":1785929837000,"timestamp_seconds":1785929837,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b6a9c8"} 
[2026-08-05 17:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:10: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-08-05 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198032896001,"66":12428,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198032896001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:10:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:10:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198032896001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":148539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:10:16] local.INFO: GPS data processed {"connection_id":148539,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:10:16] local.INFO: Acknowledgment sent {"connection_id":148539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:10:19] local.INFO: TCP Data received {"connection_id":151175,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:10:19] local.INFO: Processing buffer {"connection_id":151175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:10:19] local.INFO: IMEI packet received {"connection_id":151175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":151175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:10:24] local.INFO: TCP Data received {"connection_id":151175,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:10:24] local.INFO: Processing buffer {"connection_id":151175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:10:24] local.INFO: IMEI packet received {"connection_id":151175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":151175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:10:24] local.INFO: TCP Data received {"connection_id":151175,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b80188012d77258005ec3b380004003f33..."} 
[2026-08-05 17:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b80188012d77258005ec3b380004003f33..."} 
[2026-08-05 17:10:24] local.INFO: Processing buffer {"connection_id":151175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b80188012d77258005ec3b380004003f33..."} 
[2026-08-05 17:10:24] local.INFO: Packet analysis {"connection_id":151175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:10:24] local.INFO: Extracted packet for processing {"connection_id":151175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:10:24] local.INFO: GPS Element Parsed {"raw_longitude":762783104,"raw_latitude":99367736,"longitude_deg":76.2783104,"latitude_deg":9.9367736,"altitude":4,"angle":63,"satellites":51,"speed":36,"hex_longitude":"2d772580","hex_latitude":"05ec3b38","is_valid_coordinates":true} 
[2026-08-05 17:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198059520001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370690484059766784,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8580483215485339648,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785929925000,"timestamp_ms":1785929925000,"timestamp_seconds":1785929925,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b80188"} 
[2026-08-05 17:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198059520001,"66":27843,"102":206,"87":13824,"24":36,"16":370690484059766784,"45":8580483215485339648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-05 17:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198059520001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:10:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 17:10:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370690484059766784,"km_value":370690484059766.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8580483215485339648,"description":"Unknown IO ID 45"} 
[2026-08-05 17:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198059520001,"power":27843,"unknown_102":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8580483215485339648}} 
[2026-08-05 17:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":151175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:10:24] local.INFO: GPS data processed {"connection_id":151175,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:10:24] local.INFO: Acknowledgment sent {"connection_id":151175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:10:25] local.INFO: TCP Data received {"connection_id":151175,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b820c8012d773e4005ec4a300004003333..."} 
[2026-08-05 17:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b820c8012d773e4005ec4a300004003333..."} 
[2026-08-05 17:10:25] local.INFO: Processing buffer {"connection_id":151175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b820c8012d773e4005ec4a300004003333..."} 
[2026-08-05 17:10:25] local.INFO: Packet analysis {"connection_id":151175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:10:25] local.INFO: Extracted packet for processing {"connection_id":151175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:10:25] local.INFO: GPS Element Parsed {"raw_longitude":762789440,"raw_latitude":99371568,"longitude_deg":76.278944,"latitude_deg":9.9371568,"altitude":4,"angle":51,"satellites":51,"speed":32,"hex_longitude":"2d773e40","hex_latitude":"05ec4a30","is_valid_coordinates":true} 
[2026-08-05 17:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370690836247085056,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8585409027578214400,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785929933000,"timestamp_ms":1785929933000,"timestamp_seconds":1785929933,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b820c8"} 
[2026-08-05 17:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 17:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198060800001,"66":27908,"102":206,"87":13824,"24":32,"16":370690836247085056,"45":8585409027578214400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-05 17:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:10:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 17:10:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370690836247085056,"km_value":370690836247085.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8585409027578214400,"description":"Unknown IO ID 45"} 
[2026-08-05 17:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198060800001,"power":27908,"unknown_102":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8585409027578214400}} 
[2026-08-05 17:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":151175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:10:25] local.INFO: GPS data processed {"connection_id":151175,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:10:25] local.INFO: Acknowledgment sent {"connection_id":151175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:10:43] local.INFO: TCP Data received {"connection_id":149750,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:10:43] local.INFO: Processing buffer {"connection_id":149750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:10:43] local.INFO: IMEI packet received {"connection_id":149750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":149750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:10:44] local.INFO: TCP Data received {"connection_id":149750,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:10:44] local.INFO: Processing buffer {"connection_id":149750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:10:44] local.INFO: IMEI packet received {"connection_id":149750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":149750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:10:49] local.INFO: TCP Data received {"connection_id":149750,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:10:49] local.INFO: Processing buffer {"connection_id":149750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:10:49] local.INFO: IMEI packet received {"connection_id":149750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":149750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:10:50] local.INFO: TCP Data received {"connection_id":149750,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b6fbd0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b6fbd0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:10:50] local.INFO: Processing buffer {"connection_id":149750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b6fbd0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:10:50] local.INFO: Packet analysis {"connection_id":149750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b6"} 
[2026-08-05 17:10:50] local.INFO: Extracted packet for processing {"connection_id":149750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b6"} 
[2026-08-05 17:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198038272001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785929858000,"timestamp_ms":1785929858000,"timestamp_seconds":1785929858,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b6fbd0"} 
[2026-08-05 17:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198038272001,"66":12428,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198038272001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:10:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198038272001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":149750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:10:50] local.INFO: GPS data processed {"connection_id":149750,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:10:50] local.INFO: Acknowledgment sent {"connection_id":149750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:11:09] local.INFO: TCP Data received {"connection_id":151175,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b847d8012d774f0005ec59900004002833..."} 
[2026-08-05 17:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b847d8012d774f0005ec59900004002833..."} 
[2026-08-05 17:11:09] local.INFO: Processing buffer {"connection_id":151175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b847d8012d774f0005ec59900004002833..."} 
[2026-08-05 17:11:09] local.INFO: Packet analysis {"connection_id":151175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:11:09] local.INFO: Extracted packet for processing {"connection_id":151175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:11:09] local.INFO: GPS Element Parsed {"raw_longitude":762793728,"raw_latitude":99375504,"longitude_deg":76.2793728,"latitude_deg":9.9375504,"altitude":4,"angle":40,"satellites":51,"speed":12,"hex_longitude":"2d774f00","hex_latitude":"05ec5990","is_valid_coordinates":true} 
[2026-08-05 17:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198062848001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370691119714926592,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8592375533252784128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785929943000,"timestamp_ms":1785929943000,"timestamp_seconds":1785929943,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b847d8"} 
[2026-08-05 17:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198062848001,"66":27169,"102":206,"87":13824,"24":12,"16":370691119714926592,"45":8592375533252784128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-05 17:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198062848001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:11:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 17:11:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370691119714926592,"km_value":370691119714926.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8592375533252784128,"description":"Unknown IO ID 45"} 
[2026-08-05 17:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198062848001,"power":27169,"unknown_102":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8592375533252784128}} 
[2026-08-05 17:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":151175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:11:09] local.INFO: GPS data processed {"connection_id":151175,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:11:09] local.INFO: Acknowledgment sent {"connection_id":151175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:11:15] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:11:15] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:11:15] local.INFO: IMEI packet received {"connection_id":148540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":148540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:11:19] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:11:19] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:11:19] local.INFO: IMEI packet received {"connection_id":148540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":148540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:11:21] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b899e0012d7758c005ec67080003002033..."} 
[2026-08-05 17:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b899e0012d7758c005ec67080003002033..."} 
[2026-08-05 17:11:21] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b899e0012d7758c005ec67080003002033..."} 
[2026-08-05 17:11:21] local.INFO: Packet analysis {"connection_id":148540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:11:21] local.INFO: Extracted packet for processing {"connection_id":148540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:11:21] local.INFO: GPS Element Parsed {"raw_longitude":762796224,"raw_latitude":99378952,"longitude_deg":76.2796224,"latitude_deg":9.9378952,"altitude":3,"angle":32,"satellites":51,"speed":8,"hex_longitude":"2d7758c0","hex_latitude":"05ec6708","is_valid_coordinates":true} 
[2026-08-05 17:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198065408001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370691325873356800,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8597090239113695232,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785929964000,"timestamp_ms":1785929964000,"timestamp_seconds":1785929964,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b899e0"} 
[2026-08-05 17:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:11: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-08-05 17: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-05 17:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198065408001,"66":27919,"102":206,"87":13824,"24":8,"16":370691325873356800,"45":8597090239113695232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-05 17:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198065408001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370691325873356800,"km_value":370691325873356.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8597090239113695232,"description":"Unknown IO ID 45"} 
[2026-08-05 17:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198065408001,"power":27919,"unknown_102":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8597090239113695232}} 
[2026-08-05 17:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":148540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:11:21] local.INFO: GPS data processed {"connection_id":148540,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:11:21] local.INFO: Acknowledgment sent {"connection_id":148540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:11:21] local.INFO: TCP Data received {"connection_id":149750,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b74dd8012d1820000721b220004a00d52b..."} 
[2026-08-05 17:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b74dd8012d1820000721b220004a00d52b..."} 
[2026-08-05 17:11:21] local.INFO: Processing buffer {"connection_id":149750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b74dd8012d1820000721b220004a00d52b..."} 
[2026-08-05 17:11:21] local.INFO: Packet analysis {"connection_id":149750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:11:21] local.INFO: Extracted packet for processing {"connection_id":149750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198043648001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785929879000,"timestamp_ms":1785929879000,"timestamp_seconds":1785929879,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b74dd8"} 
[2026-08-05 17:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:11: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-08-05 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198043648001,"66":12428,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198043648001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198043648001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":149750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:11:21] local.INFO: GPS data processed {"connection_id":149750,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:11:21] local.INFO: Acknowledgment sent {"connection_id":149750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:11:39] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:11:39] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:11:39] local.INFO: IMEI packet received {"connection_id":148541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":148541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:11:44] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:11:44] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:11:44] local.INFO: IMEI packet received {"connection_id":148541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":148541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:11:45] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b79fe0012d1820000721b220004a00d529..."} 
[2026-08-05 17:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b79fe0012d1820000721b220004a00d529..."} 
[2026-08-05 17:11:45] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b79fe0012d1820000721b220004a00d529..."} 
[2026-08-05 17:11:45] local.INFO: Packet analysis {"connection_id":148541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:11:45] local.INFO: Extracted packet for processing {"connection_id":148541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198049024001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929900000,"timestamp_ms":1785929900000,"timestamp_seconds":1785929900,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b79fe0"} 
[2026-08-05 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-08-05 17:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198049024001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198049024001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:11:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198049024001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":148541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:11:45] local.INFO: GPS data processed {"connection_id":148541,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:11:45] local.INFO: Acknowledgment sent {"connection_id":148541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:11:52] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b8ebe8012d776a8005ec86880004001e33..."} 
[2026-08-05 17:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b8ebe8012d776a8005ec86880004001e33..."} 
[2026-08-05 17:11:53] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b8ebe8012d776a8005ec86880004001e33..."} 
[2026-08-05 17:11:53] local.INFO: Packet analysis {"connection_id":148540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:11:53] local.INFO: Extracted packet for processing {"connection_id":148540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:11:53] local.INFO: GPS Element Parsed {"raw_longitude":762800768,"raw_latitude":99387016,"longitude_deg":76.2800768,"latitude_deg":9.9387016,"altitude":4,"angle":30,"satellites":51,"speed":29,"hex_longitude":"2d776a80","hex_latitude":"05ec8688","is_valid_coordinates":true} 
[2026-08-05 17:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198070784001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370691772549955584,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8599834620137506816,"note":"Value kept but may cause issues"} 
[2026-08-05 17:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785929985000,"timestamp_ms":1785929985000,"timestamp_seconds":1785929985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b8ebe8"} 
[2026-08-05 17:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 17:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198070784001,"66":27865,"102":206,"87":13824,"24":29,"16":370691772549955584,"45":8599834620137506816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-05 17:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198070784001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:11:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 17:11:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370691772549955584,"km_value":370691772549955.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8599834620137506816,"description":"Unknown IO ID 45"} 
[2026-08-05 17:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198070784001,"power":27865,"unknown_102":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8599834620137506816}} 
[2026-08-05 17:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":148540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:11:53] local.INFO: GPS data processed {"connection_id":148540,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:11:53] local.INFO: Acknowledgment sent {"connection_id":148540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:12:16] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b7f1e8012d1820000721b220004a00d52c..."} 
[2026-08-05 17:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b7f1e8012d1820000721b220004a00d52c..."} 
[2026-08-05 17:12:16] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b7f1e8012d1820000721b220004a00d52c..."} 
[2026-08-05 17:12:16] local.INFO: Packet analysis {"connection_id":148541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:12:16] local.INFO: Extracted packet for processing {"connection_id":148541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b7"} 
[2026-08-05 17:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198054400001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785929921000,"timestamp_ms":1785929921000,"timestamp_seconds":1785929921,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b7f1e8"} 
[2026-08-05 17:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198054400001,"66":12374,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198054400001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:12:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:12:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198054400001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":148541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:12:16] local.INFO: GPS data processed {"connection_id":148541,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:12:16] local.INFO: Acknowledgment sent {"connection_id":148541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:12:39] local.INFO: TCP Data received {"connection_id":148746,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:12:39] local.INFO: Processing buffer {"connection_id":148746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:12:39] local.INFO: IMEI packet received {"connection_id":148746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":148746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:12:44] local.INFO: TCP Data received {"connection_id":148746,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:12:44] local.INFO: Processing buffer {"connection_id":148746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:12:44] local.INFO: IMEI packet received {"connection_id":148746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":148746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:12:45] local.INFO: TCP Data received {"connection_id":148746,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b843f0012d1820000721b220004a00d52d..."} 
[2026-08-05 17:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b843f0012d1820000721b220004a00d52d..."} 
[2026-08-05 17:12:45] local.INFO: Processing buffer {"connection_id":148746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b843f0012d1820000721b220004a00d52d..."} 
[2026-08-05 17:12:45] local.INFO: Packet analysis {"connection_id":148746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:12:45] local.INFO: Extracted packet for processing {"connection_id":148746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198059776001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17: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-08-05 17:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929942000,"timestamp_ms":1785929942000,"timestamp_seconds":1785929942,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b843f0"} 
[2026-08-05 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-08-05 17:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":86,"data_length":795,"current_offset":136} 
[2026-08-05 17:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198059776001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198059776001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:12:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198059776001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":148746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:12:45] local.INFO: GPS data processed {"connection_id":148746,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:12:45] local.INFO: Acknowledgment sent {"connection_id":148746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:13:13] local.INFO: TCP Data received {"connection_id":149751,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:13:13] local.INFO: Processing buffer {"connection_id":149751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:13:13] local.INFO: IMEI packet received {"connection_id":149751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":149751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:13:16] local.INFO: TCP Data received {"connection_id":148746,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b895f8012d1820000721b220004a00d529..."} 
[2026-08-05 17:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b895f8012d1820000721b220004a00d529..."} 
[2026-08-05 17:13:16] local.INFO: Processing buffer {"connection_id":148746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b895f8012d1820000721b220004a00d529..."} 
[2026-08-05 17:13:16] local.INFO: Packet analysis {"connection_id":148746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:13:16] local.INFO: Extracted packet for processing {"connection_id":148746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:13:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198065152001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785929963000,"timestamp_ms":1785929963000,"timestamp_seconds":1785929963,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b895f8"} 
[2026-08-05 17:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:13: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-08-05 17:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198065152001,"66":12428,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198065152001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:13:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:13:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198065152001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":148746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:13:16] local.INFO: GPS data processed {"connection_id":148746,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:13:16] local.INFO: Acknowledgment sent {"connection_id":148746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:13:18] local.INFO: TCP Data received {"connection_id":149751,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:13:18] local.INFO: Processing buffer {"connection_id":149751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:13:18] local.INFO: IMEI packet received {"connection_id":149751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":149751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:13:19] local.INFO: TCP Data received {"connection_id":149751,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bbd9e8012d7a2a0005e460e80017008f06..."} 
[2026-08-05 17:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bbd9e8012d7a2a0005e460e80017008f06..."} 
[2026-08-05 17:13:19] local.INFO: Processing buffer {"connection_id":149751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bbd9e8012d7a2a0005e460e80017008f06..."} 
[2026-08-05 17:13:19] local.INFO: Packet analysis {"connection_id":149751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bb"} 
[2026-08-05 17:13:19] local.INFO: Extracted packet for processing {"connection_id":149751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bb"} 
[2026-08-05 17:13:19] local.INFO: GPS Element Parsed {"raw_longitude":762980864,"raw_latitude":98853096,"longitude_deg":76.2980864,"latitude_deg":9.8853096,"altitude":23,"angle":143,"satellites":6,"speed":23,"hex_longitude":"2d7a2a00","hex_latitude":"05e460e8","is_valid_coordinates":true} 
[2026-08-05 17:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198124288001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114939977745301504,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801581809560756224,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785930177000,"timestamp_ms":1785930177000,"timestamp_seconds":1785930177,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bbd9e8"} 
[2026-08-05 17:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-05 17:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198124288001,"66":13515,"47":206,"85":15104,"24":23,"16":114939977745301504,"45":8801581809560756224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-05 17:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198124288001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:13:19] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-05 17:13:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114939977745301504,"km_value":114939977745301.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801581809560756224,"description":"Unknown IO ID 45"} 
[2026-08-05 17:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198124288001,"power":13515,"unknown_47":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8801581809560756224}} 
[2026-08-05 17:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":149751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:13:19] local.INFO: GPS data processed {"connection_id":149751,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:13:19] local.INFO: Acknowledgment sent {"connection_id":149751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:13:24] local.INFO: TCP Data received {"connection_id":148747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:13:24] local.INFO: Processing buffer {"connection_id":148747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:13:24] local.INFO: IMEI packet received {"connection_id":148747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":148747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:13:25] local.INFO: TCP Data received {"connection_id":148747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:13:25] local.INFO: Processing buffer {"connection_id":148747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:13:25] local.INFO: IMEI packet received {"connection_id":148747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":148747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:13:39] local.INFO: TCP Data received {"connection_id":149752,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:13:39] local.INFO: Processing buffer {"connection_id":149752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:13:39] local.INFO: IMEI packet received {"connection_id":149752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":149752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:13:44] local.INFO: TCP Data received {"connection_id":149752,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:13:44] local.INFO: Processing buffer {"connection_id":149752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:13:44] local.INFO: IMEI packet received {"connection_id":149752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":149752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:13:45] local.INFO: TCP Data received {"connection_id":149752,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b8e800012d1820000721b220004a00d52c..."} 
[2026-08-05 17:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b8e800012d1820000721b220004a00d52c..."} 
[2026-08-05 17:13:45] local.INFO: Processing buffer {"connection_id":149752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b8e800012d1820000721b220004a00d52c..."} 
[2026-08-05 17:13:45] local.INFO: Packet analysis {"connection_id":149752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:13:45] local.INFO: Extracted packet for processing {"connection_id":149752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b8"} 
[2026-08-05 17:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198070528001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785929984000,"timestamp_ms":1785929984000,"timestamp_seconds":1785929984,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b8e800"} 
[2026-08-05 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-08-05 17:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198070528001,"66":12406,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198070528001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:13:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198070528001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":149752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:13:45] local.INFO: GPS data processed {"connection_id":149752,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:13:45] local.INFO: Acknowledgment sent {"connection_id":149752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:13:51] local.INFO: TCP Data received {"connection_id":149751,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bbddd0012d7a2b8005e45f700018008206..."} 
[2026-08-05 17:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bbddd0012d7a2b8005e45f700018008206..."} 
[2026-08-05 17:13:51] local.INFO: Processing buffer {"connection_id":149751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bbddd0012d7a2b8005e45f700018008206..."} 
[2026-08-05 17:13:51] local.INFO: Packet analysis {"connection_id":149751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bb"} 
[2026-08-05 17:13:51] local.INFO: Extracted packet for processing {"connection_id":149751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bb"} 
[2026-08-05 17:13:51] local.INFO: GPS Element Parsed {"raw_longitude":762981248,"raw_latitude":98852720,"longitude_deg":76.2981248,"latitude_deg":9.885272,"altitude":24,"angle":130,"satellites":6,"speed":22,"hex_longitude":"2d7a2b80","hex_latitude":"05e45f70","is_valid_coordinates":true} 
[2026-08-05 17:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198125312001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114940003515105280,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802848446955448320,"note":"Value kept but may cause issues"} 
[2026-08-05 17:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785930178000,"timestamp_ms":1785930178000,"timestamp_seconds":1785930178,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bbddd0"} 
[2026-08-05 17:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-05 17:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198125312001,"66":13374,"47":206,"85":15104,"24":22,"16":114940003515105280,"45":8802848446955448320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-05 17:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198125312001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:13:51] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-05 17:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114940003515105280,"km_value":114940003515105.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802848446955448320,"description":"Unknown IO ID 45"} 
[2026-08-05 17:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198125312001,"power":13374,"unknown_47":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8802848446955448320}} 
[2026-08-05 17:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":149751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:13:51] local.INFO: GPS data processed {"connection_id":149751,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:13:51] local.INFO: Acknowledgment sent {"connection_id":149751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:14:07] local.INFO: TCP Data received {"connection_id":148747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:07] local.INFO: Processing buffer {"connection_id":148747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:07] local.INFO: IMEI packet received {"connection_id":148747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":148747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:14:09] local.INFO: TCP Data received {"connection_id":148747,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1baad20012d78200005ed7ad80009003f33..."} 
[2026-08-05 17:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1baad20012d78200005ed7ad80009003f33..."} 
[2026-08-05 17:14:09] local.INFO: Processing buffer {"connection_id":148747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1baad20012d78200005ed7ad80009003f33..."} 
[2026-08-05 17:14:09] local.INFO: Packet analysis {"connection_id":148747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ba"} 
[2026-08-05 17:14:09] local.INFO: Extracted packet for processing {"connection_id":148747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ba"} 
[2026-08-05 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":762847232,"raw_latitude":99449560,"longitude_deg":76.2847232,"latitude_deg":9.944956,"altitude":9,"angle":63,"satellites":51,"speed":15,"hex_longitude":"2d782000","hex_latitude":"05ed7ad8","is_valid_coordinates":true} 
[2026-08-05 17:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198100480001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370695612250718208,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8646840941265170432,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785930100000,"timestamp_ms":1785930100000,"timestamp_seconds":1785930100,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1baad20"} 
[2026-08-05 17:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 17:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198100480001,"66":27908,"129":206,"87":13824,"24":15,"16":370695612250718208,"45":8646840941265170432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-05 17:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198100480001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370695612250718208,"km_value":370695612250718.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8646840941265170432,"description":"Unknown IO ID 45"} 
[2026-08-05 17:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198100480001,"power":27908,"unknown_129":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8646840941265170432}} 
[2026-08-05 17:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":148747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:14:09] local.INFO: GPS data processed {"connection_id":148747,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:14:09] local.INFO: Acknowledgment sent {"connection_id":148747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:14:11] local.INFO: TCP Data received {"connection_id":151176,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:11] local.INFO: Processing buffer {"connection_id":151176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:11] local.INFO: IMEI packet received {"connection_id":151176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":151176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:14:15] local.INFO: TCP Data received {"connection_id":151176,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:15] local.INFO: Processing buffer {"connection_id":151176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:15] local.INFO: IMEI packet received {"connection_id":151176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":151176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:14:16] local.INFO: TCP Data received {"connection_id":149752,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b93a08012d1820000721b220004a00d529..."} 
[2026-08-05 17:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b93a08012d1820000721b220004a00d529..."} 
[2026-08-05 17:14:16] local.INFO: Processing buffer {"connection_id":149752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b93a08012d1820000721b220004a00d529..."} 
[2026-08-05 17:14:16] local.INFO: Packet analysis {"connection_id":149752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b9"} 
[2026-08-05 17:14:16] local.INFO: Extracted packet for processing {"connection_id":149752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b9"} 
[2026-08-05 17:14:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198075904001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785930005000,"timestamp_ms":1785930005000,"timestamp_seconds":1785930005,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b93a08"} 
[2026-08-05 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-08-05 17:14: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-08-05 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 17:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198075904001,"66":12406,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198075904001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:14:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:14:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198075904001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":149752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:14:16] local.INFO: GPS data processed {"connection_id":149752,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:14:16] local.INFO: Acknowledgment sent {"connection_id":149752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:14:20] local.INFO: TCP Data received {"connection_id":151176,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:20] local.INFO: Processing buffer {"connection_id":151176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:14:20] local.INFO: IMEI packet received {"connection_id":151176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":151176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:14:23] local.INFO: TCP Data received {"connection_id":149751,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bbe1b8012d7a2d4005e45e580018007206..."} 
[2026-08-05 17:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bbe1b8012d7a2d4005e45e580018007206..."} 
[2026-08-05 17:14:23] local.INFO: Processing buffer {"connection_id":149751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bbe1b8012d7a2d4005e45e580018007206..."} 
[2026-08-05 17:14:23] local.INFO: Packet analysis {"connection_id":149751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bb"} 
[2026-08-05 17:14:23] local.INFO: Extracted packet for processing {"connection_id":149751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bb"} 
[2026-08-05 17:14:23] local.INFO: GPS Element Parsed {"raw_longitude":762981696,"raw_latitude":98852440,"longitude_deg":76.2981696,"latitude_deg":9.885244,"altitude":24,"angle":114,"satellites":6,"speed":20,"hex_longitude":"2d7a2d40","hex_latitude":"05e45e58","is_valid_coordinates":true} 
[2026-08-05 17:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198125568001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114940029284909056,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803270659420418048,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785930179000,"timestamp_ms":1785930179000,"timestamp_seconds":1785930179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bbe1b8"} 
[2026-08-05 17:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-05 17:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198125568001,"66":13374,"47":206,"85":15104,"24":20,"16":114940029284909056,"45":8803270659420418048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-05 17:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198125568001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:14:23] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-05 17:14:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114940029284909056,"km_value":114940029284909.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803270659420418048,"description":"Unknown IO ID 45"} 
[2026-08-05 17:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198125568001,"power":13374,"unknown_47":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8803270659420418048}} 
[2026-08-05 17:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":149751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:14:23] local.INFO: GPS data processed {"connection_id":149751,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:14:23] local.INFO: Acknowledgment sent {"connection_id":149751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:14:24] local.INFO: TCP Data received {"connection_id":151176,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bb2638012d78628005ed9c08000c003f34..."} 
[2026-08-05 17:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bb2638012d78628005ed9c08000c003f34..."} 
[2026-08-05 17:14:24] local.INFO: Processing buffer {"connection_id":151176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bb2638012d78628005ed9c08000c003f34..."} 
[2026-08-05 17:14:24] local.INFO: Packet analysis {"connection_id":151176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bb"} 
[2026-08-05 17:14:24] local.INFO: Extracted packet for processing {"connection_id":151176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bb"} 
[2026-08-05 17:14:24] local.INFO: GPS Element Parsed {"raw_longitude":762864256,"raw_latitude":99458056,"longitude_deg":76.2864256,"latitude_deg":9.9458056,"altitude":12,"angle":63,"satellites":52,"speed":29,"hex_longitude":"2d786280","hex_latitude":"05ed9c08","is_valid_coordinates":true} 
[2026-08-05 17:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198109952001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370696522783784960,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8665277552241901568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785930131000,"timestamp_ms":1785930131000,"timestamp_seconds":1785930131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bb2638"} 
[2026-08-05 17:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198109952001,"66":27800,"129":206,"87":13824,"24":29,"16":370696522783784960,"45":8665277552241901568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-08-05 17:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198109952001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:14:24] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-05 17:14:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370696522783784960,"km_value":370696522783784.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8665277552241901568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198109952001,"power":27800,"unknown_129":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8665277552241901568}} 
[2026-08-05 17:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":151176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:14:24] local.INFO: GPS data processed {"connection_id":151176,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:14:24] local.INFO: Acknowledgment sent {"connection_id":151176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:14:39] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:14:39] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:14:39] local.INFO: IMEI packet received {"connection_id":148542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":148542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:14:44] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:14:44] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:14:44] local.INFO: IMEI packet received {"connection_id":148542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":148542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:14:45] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b98c10012d1820000721b220004a00d528..."} 
[2026-08-05 17:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b98c10012d1820000721b220004a00d528..."} 
[2026-08-05 17:14:45] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b98c10012d1820000721b220004a00d528..."} 
[2026-08-05 17:14:45] local.INFO: Packet analysis {"connection_id":148542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b9"} 
[2026-08-05 17:14:45] local.INFO: Extracted packet for processing {"connection_id":148542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b9"} 
[2026-08-05 17:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198081280001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930026000,"timestamp_ms":1785930026000,"timestamp_seconds":1785930026,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b98c10"} 
[2026-08-05 17:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 17:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198081280001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198081280001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:14:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198081280001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":148542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:14:45] local.INFO: GPS data processed {"connection_id":148542,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:14:45] local.INFO: Acknowledgment sent {"connection_id":148542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:14:54] local.INFO: TCP Data received {"connection_id":149751,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bd8b80012d7a628005e468980015005d0c..."} 
[2026-08-05 17:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bd8b80012d7a628005e468980015005d0c..."} 
[2026-08-05 17:14:54] local.INFO: Processing buffer {"connection_id":149751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bd8b80012d7a628005e468980015005d0c..."} 
[2026-08-05 17:14:54] local.INFO: Packet analysis {"connection_id":149751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:14:54] local.INFO: Extracted packet for processing {"connection_id":149751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:14:54] local.INFO: GPS Element Parsed {"raw_longitude":762995328,"raw_latitude":98855064,"longitude_deg":76.2995328,"latitude_deg":9.8855064,"altitude":21,"angle":93,"satellites":12,"speed":4,"hex_longitude":"2d7a6280","hex_latitude":"05e46898","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198151680001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114940823853858816,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818329570675032064,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785930288000,"timestamp_ms":1785930288000,"timestamp_seconds":1785930288,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bd8b80"} 
[2026-08-05 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-08-05 17:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 17:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198151680001,"66":13613,"39":206,"87":13824,"24":4,"16":114940823853858816,"45":8818329570675032064},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-05 17:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198151680001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:14:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-05 17:14:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114940823853858816,"km_value":114940823853858.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818329570675032064,"description":"Unknown IO ID 45"} 
[2026-08-05 17:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198151680001,"power":13613,"unknown_39":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8818329570675032064}} 
[2026-08-05 17:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":149751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:14:54] local.INFO: GPS data processed {"connection_id":149751,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:14:54] local.INFO: Acknowledgment sent {"connection_id":149751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:14:55] local.INFO: TCP Data received {"connection_id":151176,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bb5518012d7883c005edaca8000d003e33..."} 
[2026-08-05 17:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bb5518012d7883c005edaca8000d003e33..."} 
[2026-08-05 17:14:55] local.INFO: Processing buffer {"connection_id":151176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bb5518012d7883c005edaca8000d003e33..."} 
[2026-08-05 17:14:55] local.INFO: Packet analysis {"connection_id":151176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bb"} 
[2026-08-05 17:14:55] local.INFO: Extracted packet for processing {"connection_id":151176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bb"} 
[2026-08-05 17:14:55] local.INFO: GPS Element Parsed {"raw_longitude":762872768,"raw_latitude":99462312,"longitude_deg":76.2872768,"latitude_deg":9.9462312,"altitude":13,"angle":62,"satellites":51,"speed":28,"hex_longitude":"2d7883c0","hex_latitude":"05edaca8","is_valid_coordinates":true} 
[2026-08-05 17:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198113536001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370696978050318336,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674636595218614272,"note":"Value kept but may cause issues"} 
[2026-08-05 17:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785930143000,"timestamp_ms":1785930143000,"timestamp_seconds":1785930143,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bb5518"} 
[2026-08-05 17:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 17:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198113536001,"66":27745,"124":206,"87":13824,"24":28,"16":370696978050318336,"45":8674636595218614272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,87,24,16,45]} 
[2026-08-05 17:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198113536001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:14:55] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-05 17:14:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370696978050318336,"km_value":370696978050318.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674636595218614272,"description":"Unknown IO ID 45"} 
[2026-08-05 17:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198113536001,"power":27745,"unknown_124":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8674636595218614272}} 
[2026-08-05 17:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":151176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:14:55] local.INFO: GPS data processed {"connection_id":151176,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:14:55] local.INFO: Acknowledgment sent {"connection_id":151176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:15:12] local.INFO: TCP Data received {"connection_id":148748,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:12] local.INFO: Processing buffer {"connection_id":148748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:12] local.INFO: IMEI packet received {"connection_id":148748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":148748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:15:13] local.INFO: TCP Data received {"connection_id":148748,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:13] local.INFO: Processing buffer {"connection_id":148748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:13] local.INFO: IMEI packet received {"connection_id":148748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":148748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:15:14] local.INFO: TCP Data received {"connection_id":148748,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:14] local.INFO: Processing buffer {"connection_id":148748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:14] local.INFO: IMEI packet received {"connection_id":148748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":148748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:15:16] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1b9de18012d1820000721b220004a00d52b..."} 
[2026-08-05 17:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1b9de18012d1820000721b220004a00d52b..."} 
[2026-08-05 17:15:16] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1b9de18012d1820000721b220004a00d52b..."} 
[2026-08-05 17:15:16] local.INFO: Packet analysis {"connection_id":148542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1b9"} 
[2026-08-05 17:15:16] local.INFO: Extracted packet for processing {"connection_id":148542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1b9"} 
[2026-08-05 17:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198086656001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785930047000,"timestamp_ms":1785930047000,"timestamp_seconds":1785930047,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1b9de18"} 
[2026-08-05 17:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198086656001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198086656001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:15:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198086656001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":148542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:15:16] local.INFO: GPS data processed {"connection_id":148542,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:15:16] local.INFO: Acknowledgment sent {"connection_id":148542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:15:19] local.INFO: TCP Data received {"connection_id":148748,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:19] local.INFO: Processing buffer {"connection_id":148748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:15:19] local.INFO: IMEI packet received {"connection_id":148748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":148748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:15:21] local.INFO: TCP Data received {"connection_id":148748,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bd1268012d7947c005ee4ce80007002d32..."} 
[2026-08-05 17:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bd1268012d7947c005ee4ce80007002d32..."} 
[2026-08-05 17:15:21] local.INFO: Processing buffer {"connection_id":148748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bd1268012d7947c005ee4ce80007002d32..."} 
[2026-08-05 17:15:21] local.INFO: Packet analysis {"connection_id":148748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:15:21] local.INFO: Extracted packet for processing {"connection_id":148748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":762922944,"raw_latitude":99503336,"longitude_deg":76.2922944,"latitude_deg":9.9503336,"altitude":7,"angle":45,"satellites":50,"speed":12,"hex_longitude":"2d7947c0","hex_latitude":"05ee4ce8","is_valid_coordinates":true} 
[2026-08-05 17:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198145280001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370700212160692224,"note":"Value kept but may cause issues"} 
[2026-08-05 17:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8738812889920124928,"note":"Value kept but may cause issues"} 
[2026-08-05 17:15:21] 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-08-05 17:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785930257000,"timestamp_ms":1785930257000,"timestamp_seconds":1785930257,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bd1268"} 
[2026-08-05 17:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:15: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-08-05 17: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 17:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198145280001,"66":27887,"118":206,"87":13824,"24":12,"16":370700212160692224,"45":8738812889920124928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-05 17:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198145280001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:15:21] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-05 17:15:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370700212160692224,"km_value":370700212160692.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8738812889920124928,"description":"Unknown IO ID 45"} 
[2026-08-05 17:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198145280001,"power":27887,"unknown_118":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8738812889920124928}} 
[2026-08-05 17:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":148748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:15:21] local.INFO: GPS data processed {"connection_id":148748,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:15:21] local.INFO: Acknowledgment sent {"connection_id":148748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:15:25] local.INFO: TCP Data received {"connection_id":149751,"ip":"42.106.6.41","data_length":93,"data_hex":"00000000000000518e010000019fd1bd9350012d7a640005e468680015006c0c..."} 
[2026-08-05 17:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149751,"packet_length":93,"packet_hex":"00000000000000518e010000019fd1bd9350012d7a640005e468680015006c0c..."} 
[2026-08-05 17:15:25] local.INFO: Processing buffer {"connection_id":149751,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fd1bd9350012d7a640005e468680015006c0c..."} 
[2026-08-05 17:15:25] local.INFO: Packet analysis {"connection_id":149751,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fd1bd"} 
[2026-08-05 17:15:25] local.INFO: Extracted packet for processing {"connection_id":149751,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fd1bd"} 
[2026-08-05 17:15:25] local.INFO: GPS Element Parsed {"raw_longitude":762995712,"raw_latitude":98855016,"longitude_deg":76.2995712,"latitude_deg":9.8855016,"altitude":21,"angle":108,"satellites":12,"speed":8,"hex_longitude":"2d7a6400","hex_latitude":"05e46868","is_valid_coordinates":true} 
[2026-08-05 17:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-05 17:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:15:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:15:25] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-05 17:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149751,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-05 17:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149751,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-05 17:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149751,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-05 17:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-05 17:15:25] local.WARNING: DEBUG: No valid data to process  
[2026-08-05 17:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":149751,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-05 17:15:25] local.ERROR: GPS data processing failed {"connection_id":149751,"error":"No valid data to process"} 
[2026-08-05 17:15:25] local.INFO: Acknowledgment sent {"connection_id":149751,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-05 17:15:39] local.INFO: TCP Data received {"connection_id":149753,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:15:39] local.INFO: Processing buffer {"connection_id":149753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:15:39] local.INFO: IMEI packet received {"connection_id":149753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":149753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:15:44] local.INFO: TCP Data received {"connection_id":149753,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:15:44] local.INFO: Processing buffer {"connection_id":149753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:15:44] local.INFO: IMEI packet received {"connection_id":149753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":149753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:15:45] local.INFO: TCP Data received {"connection_id":149753,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ba3020012d1820000721b220004a00d52b..."} 
[2026-08-05 17:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ba3020012d1820000721b220004a00d52b..."} 
[2026-08-05 17:15:45] local.INFO: Processing buffer {"connection_id":149753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ba3020012d1820000721b220004a00d52b..."} 
[2026-08-05 17:15:45] local.INFO: Packet analysis {"connection_id":149753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ba"} 
[2026-08-05 17:15:45] local.INFO: Extracted packet for processing {"connection_id":149753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ba"} 
[2026-08-05 17:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198092032001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17: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-08-05 17:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930068000,"timestamp_ms":1785930068000,"timestamp_seconds":1785930068,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ba3020"} 
[2026-08-05 17:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198092032001,"66":12363,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198092032001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:15:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198092032001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":149753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:15:45] local.INFO: GPS data processed {"connection_id":149753,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:15:45] local.INFO: Acknowledgment sent {"connection_id":149753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:15:53] local.INFO: TCP Data received {"connection_id":148748,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bd54d0012d795e4005ee69580006002232..."} 
[2026-08-05 17:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bd54d0012d795e4005ee69580006002232..."} 
[2026-08-05 17:15:53] local.INFO: Processing buffer {"connection_id":148748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bd54d0012d795e4005ee69580006002232..."} 
[2026-08-05 17:15:53] local.INFO: Packet analysis {"connection_id":148748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:15:53] local.INFO: Extracted packet for processing {"connection_id":148748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:15:53] local.INFO: GPS Element Parsed {"raw_longitude":762928704,"raw_latitude":99510616,"longitude_deg":76.2928704,"latitude_deg":9.9510616,"altitude":6,"angle":34,"satellites":50,"speed":17,"hex_longitude":"2d795e40","hex_latitude":"05ee6958","is_valid_coordinates":true} 
[2026-08-05 17:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198145792001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370700658837291008,"note":"Value kept but may cause issues"} 
[2026-08-05 17:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8739164733641123840,"note":"Value kept but may cause issues"} 
[2026-08-05 17:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785930274000,"timestamp_ms":1785930274000,"timestamp_seconds":1785930274,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bd54d0"} 
[2026-08-05 17:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 17:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198145792001,"66":27919,"244":206,"87":13824,"24":17,"16":370700658837291008,"45":8739164733641123840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-08-05 17:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198145792001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:15:53] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-05 17:15:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370700658837291008,"km_value":370700658837291.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8739164733641123840,"description":"Unknown IO ID 45"} 
[2026-08-05 17:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198145792001,"power":27919,"unknown_244":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8739164733641123840}} 
[2026-08-05 17:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":148748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:15:53] local.INFO: GPS data processed {"connection_id":148748,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:15:53] local.INFO: Acknowledgment sent {"connection_id":148748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:16:03] local.INFO: TCP Data received {"connection_id":151177,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:16:03] local.INFO: Processing buffer {"connection_id":151177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:16:03] local.INFO: IMEI packet received {"connection_id":151177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":151177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:16:08] local.INFO: TCP Data received {"connection_id":151177,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:16:08] local.INFO: Processing buffer {"connection_id":151177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:16:08] local.INFO: IMEI packet received {"connection_id":151177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":151177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:16:09] local.INFO: TCP Data received {"connection_id":151177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bea0d8012d7ada0005e3df70000300a90c..."} 
[2026-08-05 17:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bea0d8012d7ada0005e3df70000300a90c..."} 
[2026-08-05 17:16:09] local.INFO: Processing buffer {"connection_id":151177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bea0d8012d7ada0005e3df70000300a90c..."} 
[2026-08-05 17:16:09] local.INFO: Packet analysis {"connection_id":151177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:16:09] local.INFO: Extracted packet for processing {"connection_id":151177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763025920,"raw_latitude":98819952,"longitude_deg":76.302592,"latitude_deg":9.8819952,"altitude":3,"angle":169,"satellites":12,"speed":15,"hex_longitude":"2d7ada00","hex_latitude":"05e3df70","is_valid_coordinates":true} 
[2026-08-05 17:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198168320001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114943164611035136,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850206611780765696,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785930359000,"timestamp_ms":1785930359000,"timestamp_seconds":1785930359,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bea0d8"} 
[2026-08-05 17:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 17:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198168320001,"66":13559,"97":206,"85":15104,"24":15,"16":114943164611035136,"45":8850206611780765696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 17:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198168320001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 17:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114943164611035136,"km_value":114943164611035.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850206611780765696,"description":"Unknown IO ID 45"} 
[2026-08-05 17:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198168320001,"power":13559,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8850206611780765696}} 
[2026-08-05 17:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":151177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:16:09] local.INFO: GPS data processed {"connection_id":151177,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:16:09] local.INFO: Acknowledgment sent {"connection_id":151177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:16:14] local.INFO: TCP Data received {"connection_id":149754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:16:14] local.INFO: Processing buffer {"connection_id":149754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:16:14] local.INFO: IMEI packet received {"connection_id":149754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":149754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:16:14] local.INFO: TCP Data received {"connection_id":149754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:16:14] local.INFO: Processing buffer {"connection_id":149754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:16:14] local.INFO: IMEI packet received {"connection_id":149754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":149754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:16:16] local.INFO: TCP Data received {"connection_id":149753,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ba8228012d1820000721b220004a00d52d..."} 
[2026-08-05 17:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ba8228012d1820000721b220004a00d52d..."} 
[2026-08-05 17:16:16] local.INFO: Processing buffer {"connection_id":149753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ba8228012d1820000721b220004a00d52d..."} 
[2026-08-05 17:16:16] local.INFO: Packet analysis {"connection_id":149753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ba"} 
[2026-08-05 17:16:16] local.INFO: Extracted packet for processing {"connection_id":149753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ba"} 
[2026-08-05 17:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198097408001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785930089000,"timestamp_ms":1785930089000,"timestamp_seconds":1785930089,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ba8228"} 
[2026-08-05 17:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 17:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198097408001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198097408001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:16:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:16:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198097408001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":149753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:16:16] local.INFO: GPS data processed {"connection_id":149753,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:16:16] local.INFO: Acknowledgment sent {"connection_id":149753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:16:19] local.INFO: TCP Data received {"connection_id":149754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:16:19] local.INFO: Processing buffer {"connection_id":149754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:16:19] local.INFO: IMEI packet received {"connection_id":149754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":149754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:16:26] local.INFO: TCP Data received {"connection_id":149754,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bd54d0012d795e4005ee69580006002232..."} 
[2026-08-05 17:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bd54d0012d795e4005ee69580006002232..."} 
[2026-08-05 17:16:26] local.INFO: Processing buffer {"connection_id":149754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bd54d0012d795e4005ee69580006002232..."} 
[2026-08-05 17:16:26] local.INFO: Packet analysis {"connection_id":149754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:16:26] local.INFO: Extracted packet for processing {"connection_id":149754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:16:26] local.INFO: GPS Element Parsed {"raw_longitude":762928704,"raw_latitude":99510616,"longitude_deg":76.2928704,"latitude_deg":9.9510616,"altitude":6,"angle":34,"satellites":50,"speed":17,"hex_longitude":"2d795e40","hex_latitude":"05ee6958","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198150144001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370700658837291008,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8745497920618977280,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785930274000,"timestamp_ms":1785930274000,"timestamp_seconds":1785930274,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bd54d0"} 
[2026-08-05 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-08-05 17:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 17:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 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-08-05 17:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198150144001,"66":27919,"244":206,"87":13824,"24":17,"16":370700658837291008,"45":8745497920618977280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-08-05 17:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198150144001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:16:26] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-05 17:16:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370700658837291008,"km_value":370700658837291.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8745497920618977280,"description":"Unknown IO ID 45"} 
[2026-08-05 17:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198150144001,"power":27919,"unknown_244":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8745497920618977280}} 
[2026-08-05 17:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":149754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:16:26] local.INFO: GPS data processed {"connection_id":149754,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:16:26] local.INFO: Acknowledgment sent {"connection_id":149754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:16:39] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:16:39] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:16:39] local.INFO: IMEI packet received {"connection_id":148543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":148543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:16:40] local.INFO: TCP Data received {"connection_id":151177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bed3a0012d7ae2c005e3bd08000200a50c..."} 
[2026-08-05 17:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bed3a0012d7ae2c005e3bd08000200a50c..."} 
[2026-08-05 17:16:40] local.INFO: Processing buffer {"connection_id":151177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bed3a0012d7ae2c005e3bd08000200a50c..."} 
[2026-08-05 17:16:40] local.INFO: Packet analysis {"connection_id":151177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:16:40] local.INFO: Extracted packet for processing {"connection_id":151177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763028160,"raw_latitude":98811144,"longitude_deg":76.302816,"latitude_deg":9.8811144,"altitude":2,"angle":165,"satellites":12,"speed":35,"hex_longitude":"2d7ae2c0","hex_latitude":"05e3bd08","is_valid_coordinates":true} 
[2026-08-05 17:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198171904001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114943606992666624,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852388042848038912,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785930372000,"timestamp_ms":1785930372000,"timestamp_seconds":1785930372,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bed3a0"} 
[2026-08-05 17:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 17:16: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-08-05 17:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198171904001,"66":13526,"97":206,"85":15104,"24":35,"16":114943606992666624,"45":8852388042848038912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 17:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198171904001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:16:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 17:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114943606992666624,"km_value":114943606992666.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852388042848038912,"description":"Unknown IO ID 45"} 
[2026-08-05 17:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198171904001,"power":13526,"unknown_97":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8852388042848038912}} 
[2026-08-05 17:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":151177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:16:40] local.INFO: GPS data processed {"connection_id":151177,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:16:40] local.INFO: Acknowledgment sent {"connection_id":151177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:16:40] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:16:40] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:16:40] local.INFO: IMEI packet received {"connection_id":148543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":148543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:16:44] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:16:44] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:16:44] local.INFO: IMEI packet received {"connection_id":148543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":148543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:16:45] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1be0880012d1820000721b220004a00d525..."} 
[2026-08-05 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1be0880012d1820000721b220004a00d525..."} 
[2026-08-05 17:16:45] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1be0880012d1820000721b220004a00d525..."} 
[2026-08-05 17:16:45] local.INFO: Packet analysis {"connection_id":148543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:16:45] local.INFO: Extracted packet for processing {"connection_id":148543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198156544001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930320000,"timestamp_ms":1785930320000,"timestamp_seconds":1785930320,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1be0880"} 
[2026-08-05 17:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 17:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198156544001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198156544001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:16:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198156544001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":148543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:16:45] local.INFO: GPS data processed {"connection_id":148543,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:16:45] local.INFO: Acknowledgment sent {"connection_id":148543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:16:58] local.INFO: TCP Data received {"connection_id":149754,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bd7410012d79660005ee76c00006001632..."} 
[2026-08-05 17:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bd7410012d79660005ee76c00006001632..."} 
[2026-08-05 17:16:58] local.INFO: Processing buffer {"connection_id":149754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bd7410012d79660005ee76c00006001632..."} 
[2026-08-05 17:16:58] local.INFO: Packet analysis {"connection_id":149754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:16:58] local.INFO: Extracted packet for processing {"connection_id":149754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:16:58] local.INFO: GPS Element Parsed {"raw_longitude":762930688,"raw_latitude":99514048,"longitude_deg":76.2930688,"latitude_deg":9.9514048,"altitude":6,"angle":22,"satellites":50,"speed":18,"hex_longitude":"2d796600","hex_latitude":"05ee76c0","is_valid_coordinates":true} 
[2026-08-05 17:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198150144001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370700847815852032,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8745497920618977280,"note":"Value kept but may cause issues"} 
[2026-08-05 17:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785930282000,"timestamp_ms":1785930282000,"timestamp_seconds":1785930282,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bd7410"} 
[2026-08-05 17:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 17:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198150144001,"66":27767,"244":206,"87":13824,"24":18,"16":370700847815852032,"45":8745497920618977280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-08-05 17:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198150144001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:16:58] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-05 17:16:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370700847815852032,"km_value":370700847815852.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8745497920618977280,"description":"Unknown IO ID 45"} 
[2026-08-05 17:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198150144001,"power":27767,"unknown_244":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8745497920618977280}} 
[2026-08-05 17:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":149754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:16:58] local.INFO: GPS data processed {"connection_id":149754,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:16:58] local.INFO: Acknowledgment sent {"connection_id":149754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:17:11] local.INFO: TCP Data received {"connection_id":151177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bf0a50012d7aedc005e39b98000000aa0c..."} 
[2026-08-05 17:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bf0a50012d7aedc005e39b98000000aa0c..."} 
[2026-08-05 17:17:11] local.INFO: Processing buffer {"connection_id":151177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bf0a50012d7aedc005e39b98000000aa0c..."} 
[2026-08-05 17:17:11] local.INFO: Packet analysis {"connection_id":151177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:17:11] local.INFO: Extracted packet for processing {"connection_id":151177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763030976,"raw_latitude":98802584,"longitude_deg":76.3030976,"latitude_deg":9.8802584,"altitude":0,"angle":170,"satellites":12,"speed":9,"hex_longitude":"2d7aedc0","hex_latitude":"05e39b98","is_valid_coordinates":true} 
[2026-08-05 17:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198175232001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114944045079330816,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854850948892002304,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785930386000,"timestamp_ms":1785930386000,"timestamp_seconds":1785930386,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bf0a50"} 
[2026-08-05 17:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-05 17:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198175232001,"66":13319,"97":206,"85":15104,"24":9,"16":114944045079330816,"45":8854850948892002304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 17:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198175232001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114944045079330816,"km_value":114944045079330.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854850948892002304,"description":"Unknown IO ID 45"} 
[2026-08-05 17:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198175232001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8854850948892002304}} 
[2026-08-05 17:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":151177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:17:11] local.INFO: GPS data processed {"connection_id":151177,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:17:11] local.INFO: Acknowledgment sent {"connection_id":151177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:17:19] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1be5a88012d1820000721b220004a00d52b..."} 
[2026-08-05 17:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1be5a88012d1820000721b220004a00d52b..."} 
[2026-08-05 17:17:19] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1be5a88012d1820000721b220004a00d52b..."} 
[2026-08-05 17:17:19] local.INFO: Packet analysis {"connection_id":148543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:17:19] local.INFO: Extracted packet for processing {"connection_id":148543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198161920001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785930341000,"timestamp_ms":1785930341000,"timestamp_seconds":1785930341,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1be5a88"} 
[2026-08-05 17:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198161920001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198161920001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:17:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198161920001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":148543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:17:19] local.INFO: GPS data processed {"connection_id":148543,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:17:19] local.INFO: Acknowledgment sent {"connection_id":148543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:17:19] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:17:19] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:17:19] local.INFO: IMEI packet received {"connection_id":148544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":148544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:17:25] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:17:25] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:17:25] local.INFO: IMEI packet received {"connection_id":148544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":148544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:17:27] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bd8f68012d796a4005ee83300006000932..."} 
[2026-08-05 17:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bd8f68012d796a4005ee83300006000932..."} 
[2026-08-05 17:17:27] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bd8f68012d796a4005ee83300006000932..."} 
[2026-08-05 17:17:27] local.INFO: Packet analysis {"connection_id":148544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:17:27] local.INFO: Extracted packet for processing {"connection_id":148544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bd"} 
[2026-08-05 17:17:27] local.INFO: GPS Element Parsed {"raw_longitude":762931776,"raw_latitude":99517232,"longitude_deg":76.2931776,"latitude_deg":9.9517232,"altitude":6,"angle":9,"satellites":50,"speed":17,"hex_longitude":"2d796a40","hex_latitude":"05ee8330","is_valid_coordinates":true} 
[2026-08-05 17:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198152192001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370701015319576576,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8747679351689363456,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785930289000,"timestamp_ms":1785930289000,"timestamp_seconds":1785930289,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bd8f68"} 
[2026-08-05 17:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:17: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-08-05 17:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198152192001,"66":27887,"244":206,"87":13824,"24":17,"16":370701015319576576,"45":8747679351689363456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-08-05 17:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198152192001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:17:27] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-05 17:17:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-05 17:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370701015319576576,"km_value":370701015319576.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8747679351689363456,"description":"Unknown IO ID 45"} 
[2026-08-05 17:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198152192001,"power":27887,"unknown_244":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8747679351689363456}} 
[2026-08-05 17:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":148544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:17:27] local.INFO: GPS data processed {"connection_id":148544,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:17:27] local.INFO: Acknowledgment sent {"connection_id":148544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:17:42] local.INFO: TCP Data received {"connection_id":151177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bf44e8012d7af04005e391380000009e0d..."} 
[2026-08-05 17:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bf44e8012d7af04005e391380000009e0d..."} 
[2026-08-05 17:17:42] local.INFO: Processing buffer {"connection_id":151177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bf44e8012d7af04005e391380000009e0d..."} 
[2026-08-05 17:17:42] local.INFO: Packet analysis {"connection_id":151177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:17:42] local.INFO: Extracted packet for processing {"connection_id":151177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763031616,"raw_latitude":98799928,"longitude_deg":76.3031616,"latitude_deg":9.8799928,"altitude":0,"angle":158,"satellites":13,"speed":11,"hex_longitude":"2d7af040","hex_latitude":"05e39138","is_valid_coordinates":true} 
[2026-08-05 17:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198178816001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114944178223316992,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857947173633628160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785930401000,"timestamp_ms":1785930401000,"timestamp_seconds":1785930401,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bf44e8"} 
[2026-08-05 17:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3518905160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477473,"corrected_to":0} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3193092097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3458764565368736768,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-05 17:17:42] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2147869716,"corrected_to":0} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826726912,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.WARNING: Large IO value detected {"io_id":190,"raw_value":612490844165734405,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:42] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,97,85,24,241,157,16,93,159,211,45,192,189,2,12,10,66,92,160,223,3,106,64,1,240,247,227,91,209,228,4,113,205,87,19,71,202,239,53,39,152,5,14,110,190],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":247,"original":13477473,"validated":0},{"io_id":205,"original":1478951118,"validated":0},{"io_id":202,"original":2147869716,"validated":0}]} 
[2026-08-05 17:17:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":186968516919296,"timestamp_seconds":186968516919.296,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198178816001,"66":13624,"97":206,"85":15104,"24":11,"16":114944178223316992,"45":8857947173633628160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 17:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198178816001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 17:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114944178223316992,"km_value":114944178223316.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857947173633628160,"description":"Unknown IO ID 45"} 
[2026-08-05 17:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198178816001,"power":13624,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8857947173633628160}} 
[2026-08-05 17:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":151177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:17:42] local.INFO: GPS data processed {"connection_id":151177,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:17:42] local.INFO: Acknowledgment sent {"connection_id":151177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:17:43] local.INFO: TCP Data received {"connection_id":149755,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:17:43] local.INFO: Processing buffer {"connection_id":149755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:17:43] local.INFO: IMEI packet received {"connection_id":149755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":149755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:17:44] local.INFO: TCP Data received {"connection_id":149755,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:17:44] local.INFO: Processing buffer {"connection_id":149755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:17:44] local.INFO: IMEI packet received {"connection_id":149755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":149755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:17:49] local.INFO: TCP Data received {"connection_id":149755,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:17:49] local.INFO: Processing buffer {"connection_id":149755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:17:49] local.INFO: IMEI packet received {"connection_id":149755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":149755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:17:50] local.INFO: TCP Data received {"connection_id":149755,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1beac90012d1820000721b220004a00d52a..."} 
[2026-08-05 17:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1beac90012d1820000721b220004a00d52a..."} 
[2026-08-05 17:17:50] local.INFO: Processing buffer {"connection_id":149755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1beac90012d1820000721b220004a00d52a..."} 
[2026-08-05 17:17:50] local.INFO: Packet analysis {"connection_id":149755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:17:50] local.INFO: Extracted packet for processing {"connection_id":149755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198167296001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785930362000,"timestamp_ms":1785930362000,"timestamp_seconds":1785930362,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1beac90"} 
[2026-08-05 17:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198167296001,"66":12298,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198167296001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:17:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198167296001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":149755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:17:50] local.INFO: GPS data processed {"connection_id":149755,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:17:50] local.INFO: Acknowledgment sent {"connection_id":149755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:17:58] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bf8750012d78e6c005ef5c60000901392f..."} 
[2026-08-05 17:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bf8750012d78e6c005ef5c60000901392f..."} 
[2026-08-05 17:17:58] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bf8750012d78e6c005ef5c60000901392f..."} 
[2026-08-05 17:17:58] local.INFO: Packet analysis {"connection_id":148544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:17:58] local.INFO: Extracted packet for processing {"connection_id":148544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:17:58] local.INFO: GPS Element Parsed {"raw_longitude":762898112,"raw_latitude":99572832,"longitude_deg":76.2898112,"latitude_deg":9.9572832,"altitude":9,"angle":313,"satellites":47,"speed":32,"hex_longitude":"2d78e6c0","hex_latitude":"05ef5c60","is_valid_coordinates":true} 
[2026-08-05 17:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198184448001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370704416933675008,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719813329009043456,"note":"Value kept but may cause issues"} 
[2026-08-05 17:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785930418000,"timestamp_ms":1785930418000,"timestamp_seconds":1785930418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bf8750"} 
[2026-08-05 17:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 17:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198184448001,"66":27865,"79":206,"87":11776,"24":32,"16":370704416933675008,"45":8719813329009043456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,87,24,16,45]} 
[2026-08-05 17:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198184448001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:17:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-05 17:17:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370704416933675008,"km_value":370704416933675.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719813329009043456,"description":"Unknown IO ID 45"} 
[2026-08-05 17:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198184448001,"power":27865,"unknown_79":206,"unknown_87":11776,"ignition":32,"odometer":null,"unknown_45":8719813329009043456}} 
[2026-08-05 17:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":148544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:17:58] local.INFO: GPS data processed {"connection_id":148544,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:17:58] local.INFO: Acknowledgment sent {"connection_id":148544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:18:14] local.INFO: TCP Data received {"connection_id":151177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bf5c58012d7af3c005e38a40000000920d..."} 
[2026-08-05 17:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bf5c58012d7af3c005e38a40000000920d..."} 
[2026-08-05 17:18:14] local.INFO: Processing buffer {"connection_id":151177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bf5c58012d7af3c005e38a40000000920d..."} 
[2026-08-05 17:18:14] local.INFO: Packet analysis {"connection_id":151177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:18:14] local.INFO: Extracted packet for processing {"connection_id":151177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763032512,"raw_latitude":98798144,"longitude_deg":76.3032512,"latitude_deg":9.8798144,"altitude":0,"angle":146,"satellites":13,"speed":7,"hex_longitude":"2d7af3c0","hex_latitude":"05e38a40","is_valid_coordinates":true} 
[2026-08-05 17:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198182656001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114944277007564800,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858650861074724864,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785930407000,"timestamp_ms":1785930407000,"timestamp_seconds":1785930407,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bf5c58"} 
[2026-08-05 17:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-05 17:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198182656001,"66":13363,"97":206,"85":15104,"24":7,"16":114944277007564800,"45":8858650861074724864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 17:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198182656001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:18:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 17:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114944277007564800,"km_value":114944277007564.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858650861074724864,"description":"Unknown IO ID 45"} 
[2026-08-05 17:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198182656001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8858650861074724864}} 
[2026-08-05 17:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":151177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:18:14] local.INFO: GPS data processed {"connection_id":151177,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:18:14] local.INFO: Acknowledgment sent {"connection_id":151177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:18:14] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:18:14] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:18:14] local.INFO: IMEI packet received {"connection_id":148545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":148545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:18:19] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:18:19] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:18:19] local.INFO: IMEI packet received {"connection_id":148545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":148545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:18:20] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bf8f20012d78e28005ef61100009014730..."} 
[2026-08-05 17:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bf8f20012d78e28005ef61100009014730..."} 
[2026-08-05 17:18:20] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bf8f20012d78e28005ef61100009014730..."} 
[2026-08-05 17:18:20] local.INFO: Packet analysis {"connection_id":148545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:18:20] local.INFO: Extracted packet for processing {"connection_id":148545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":762897024,"raw_latitude":99574032,"longitude_deg":76.2897024,"latitude_deg":9.9574032,"altitude":9,"angle":327,"satellites":48,"speed":32,"hex_longitude":"2d78e280","hex_latitude":"05ef6110","is_valid_coordinates":true} 
[2026-08-05 17:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198187008001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370704494243086336,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8711861660917981184,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785930420000,"timestamp_ms":1785930420000,"timestamp_seconds":1785930420,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bf8f20"} 
[2026-08-05 17:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 17:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198187008001,"66":27767,"79":206,"87":11776,"24":32,"16":370704494243086336,"45":8711861660917981184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,87,24,16,45]} 
[2026-08-05 17:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198187008001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:18:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-05 17:18:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370704494243086336,"km_value":370704494243086.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8711861660917981184,"description":"Unknown IO ID 45"} 
[2026-08-05 17:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198187008001,"power":27767,"unknown_79":206,"unknown_87":11776,"ignition":32,"odometer":null,"unknown_45":8711861660917981184}} 
[2026-08-05 17:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":148545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:18:20] local.INFO: GPS data processed {"connection_id":148545,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:18:20] local.INFO: Acknowledgment sent {"connection_id":148545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:18:21] local.INFO: TCP Data received {"connection_id":149755,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1befe98012d1820000721b220004a00d52a..."} 
[2026-08-05 17:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1befe98012d1820000721b220004a00d52a..."} 
[2026-08-05 17:18:21] local.INFO: Processing buffer {"connection_id":149755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1befe98012d1820000721b220004a00d52a..."} 
[2026-08-05 17:18:21] local.INFO: Packet analysis {"connection_id":149755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:18:21] local.INFO: Extracted packet for processing {"connection_id":149755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1be"} 
[2026-08-05 17:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198172672001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785930383000,"timestamp_ms":1785930383000,"timestamp_seconds":1785930383,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1befe98"} 
[2026-08-05 17:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:18: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-08-05 17:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513887683010494677,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185638,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-6917529027641081855,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3333668299905099744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":74,"raw_value":60001449039364096,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244071219406,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3177476097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2988441674,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 17:18:21] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,31,159,90,45,178,74,43,10,66,8,37,182,1,240,118,227,209,33,4,113,205,18,32,42,239,48,2,38,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 17:18:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332496335172009984,"timestamp_seconds":5332496335172010.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198172672001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198172672001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:18:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:18:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198172672001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":149755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:18:21] local.INFO: GPS data processed {"connection_id":149755,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:18:21] local.INFO: Acknowledgment sent {"connection_id":149755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:18:39] local.INFO: TCP Data received {"connection_id":149756,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:18:39] local.INFO: Processing buffer {"connection_id":149756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:18:39] local.INFO: IMEI packet received {"connection_id":149756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":149756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:18:44] local.INFO: TCP Data received {"connection_id":149756,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:18:44] local.INFO: Processing buffer {"connection_id":149756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:18:44] local.INFO: IMEI packet received {"connection_id":149756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":149756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:18:45] local.INFO: TCP Data received {"connection_id":149756,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bf50a0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bf50a0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:18:45] local.INFO: Processing buffer {"connection_id":149756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bf50a0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:18:45] local.INFO: Packet analysis {"connection_id":149756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:18:45] local.INFO: Extracted packet for processing {"connection_id":149756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198178048001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930404000,"timestamp_ms":1785930404000,"timestamp_seconds":1785930404,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bf50a0"} 
[2026-08-05 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-08-05 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198178048001,"66":12341,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198178048001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:18:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198178048001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":149756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:18:45] local.INFO: GPS data processed {"connection_id":149756,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:18:45] local.INFO: Acknowledgment sent {"connection_id":149756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:18:45] local.INFO: TCP Data received {"connection_id":151177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bf6810012d7af48005e388b0000000a90d..."} 
[2026-08-05 17:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bf6810012d7af48005e388b0000000a90d..."} 
[2026-08-05 17:18:45] local.INFO: Processing buffer {"connection_id":151177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bf6810012d7af48005e388b0000000a90d..."} 
[2026-08-05 17:18:45] local.INFO: Packet analysis {"connection_id":151177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:18:45] local.INFO: Extracted packet for processing {"connection_id":151177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":763032704,"raw_latitude":98797744,"longitude_deg":76.3032704,"latitude_deg":9.8797744,"altitude":0,"angle":169,"satellites":13,"speed":7,"hex_longitude":"2d7af480","hex_latitude":"05e388b0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198184192001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114944298482401280,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859636023492755456,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930410000,"timestamp_ms":1785930410000,"timestamp_seconds":1785930410,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bf6810"} 
[2026-08-05 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-08-05 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-05 17:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198184192001,"66":13656,"97":206,"85":15104,"24":7,"16":114944298482401280,"45":8859636023492755456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 17:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198184192001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 17:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114944298482401280,"km_value":114944298482401.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859636023492755456,"description":"Unknown IO ID 45"} 
[2026-08-05 17:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198184192001,"power":13656,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8859636023492755456}} 
[2026-08-05 17:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":151177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:18:45] local.INFO: GPS data processed {"connection_id":151177,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:18:45] local.INFO: Acknowledgment sent {"connection_id":151177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:18:52] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bfa690012d78db0005ef7170000801522f..."} 
[2026-08-05 17:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bfa690012d78db0005ef7170000801522f..."} 
[2026-08-05 17:18:52] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bfa690012d78db0005ef7170000801522f..."} 
[2026-08-05 17:18:52] local.INFO: Packet analysis {"connection_id":148545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:18:52] local.INFO: Extracted packet for processing {"connection_id":148545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:18:52] local.INFO: GPS Element Parsed {"raw_longitude":762895104,"raw_latitude":99578224,"longitude_deg":76.2895104,"latitude_deg":9.9578224,"altitude":8,"angle":338,"satellites":47,"speed":31,"hex_longitude":"2d78db00","hex_latitude":"05ef7170","is_valid_coordinates":true} 
[2026-08-05 17:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198187520001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370704717581385728,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8710665392267268096,"note":"Value kept but may cause issues"} 
[2026-08-05 17:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785930426000,"timestamp_ms":1785930426000,"timestamp_seconds":1785930426,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bfa690"} 
[2026-08-05 17:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198187520001,"66":27908,"79":206,"87":11776,"24":31,"16":370704717581385728,"45":8710665392267268096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,87,24,16,45]} 
[2026-08-05 17:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198187520001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:18:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-05 17:18:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370704717581385728,"km_value":370704717581385.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8710665392267268096,"description":"Unknown IO ID 45"} 
[2026-08-05 17:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198187520001,"power":27908,"unknown_79":206,"unknown_87":11776,"ignition":31,"odometer":null,"unknown_45":8710665392267268096}} 
[2026-08-05 17:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":148545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:18:53] local.INFO: GPS data processed {"connection_id":148545,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:18:53] local.INFO: Acknowledgment sent {"connection_id":148545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:19:15] local.INFO: TCP Data received {"connection_id":148749,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:19:15] local.INFO: Processing buffer {"connection_id":148749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:19:15] local.INFO: IMEI packet received {"connection_id":148749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":148749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:19:16] local.INFO: TCP Data received {"connection_id":151177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bfa2a8012d7af88005e37e380000009a0d..."} 
[2026-08-05 17:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bfa2a8012d7af88005e37e380000009a0d..."} 
[2026-08-05 17:19:16] local.INFO: Processing buffer {"connection_id":151177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bfa2a8012d7af88005e37e380000009a0d..."} 
[2026-08-05 17:19:16] local.INFO: Packet analysis {"connection_id":151177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:19:16] local.INFO: Extracted packet for processing {"connection_id":151177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:19:16] local.INFO: GPS Element Parsed {"raw_longitude":763033728,"raw_latitude":98795064,"longitude_deg":76.3033728,"latitude_deg":9.8795064,"altitude":0,"angle":154,"satellites":13,"speed":11,"hex_longitude":"2d7af880","hex_latitude":"05e37e38","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198184960001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114944440216322048,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859847129725186048,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785930425000,"timestamp_ms":1785930425000,"timestamp_seconds":1785930425,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bfa2a8"} 
[2026-08-05 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-08-05 17:19: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-08-05 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-05 17:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198184960001,"66":13341,"97":206,"85":15104,"24":11,"16":114944440216322048,"45":8859847129725186048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-05 17:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198184960001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-05 17:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114944440216322048,"km_value":114944440216322.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859847129725186048,"description":"Unknown IO ID 45"} 
[2026-08-05 17:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198184960001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8859847129725186048}} 
[2026-08-05 17:19:16] local.INFO: TCP Data received {"connection_id":149756,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bfa2a8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":151177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:19:16] local.INFO: GPS data processed {"connection_id":151177,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:19:16] local.INFO: Acknowledgment sent {"connection_id":151177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bfa2a8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:19:16] local.INFO: Processing buffer {"connection_id":149756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bfa2a8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:19:16] local.INFO: Packet analysis {"connection_id":149756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:19:16] local.INFO: Extracted packet for processing {"connection_id":149756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:19:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198183424001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785930425000,"timestamp_ms":1785930425000,"timestamp_seconds":1785930425,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bfa2a8"} 
[2026-08-05 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-08-05 17:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 17:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198183424001,"66":12374,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198183424001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:19:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:19:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198183424001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":149756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:19:16] local.INFO: GPS data processed {"connection_id":149756,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:19:16] local.INFO: Acknowledgment sent {"connection_id":149756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:19:19] local.INFO: TCP Data received {"connection_id":148749,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:19:19] local.INFO: Processing buffer {"connection_id":148749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:19:19] local.INFO: IMEI packet received {"connection_id":148749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":148749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:19:21] local.INFO: TCP Data received {"connection_id":148749,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bfe510012d78d10005ef93380009015a2b..."} 
[2026-08-05 17:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bfe510012d78d10005ef93380009015a2b..."} 
[2026-08-05 17:19:21] local.INFO: Processing buffer {"connection_id":148749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bfe510012d78d10005ef93380009015a2b..."} 
[2026-08-05 17:19:21] local.INFO: Packet analysis {"connection_id":148749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:19:21] local.INFO: Extracted packet for processing {"connection_id":148749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:19:21] local.INFO: GPS Element Parsed {"raw_longitude":762892544,"raw_latitude":99586872,"longitude_deg":76.2892544,"latitude_deg":9.9586872,"altitude":9,"angle":346,"satellites":43,"speed":5,"hex_longitude":"2d78d100","hex_latitude":"05ef9338","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198189056001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370705155668049920,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8708554329943011328,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785930442000,"timestamp_ms":1785930442000,"timestamp_seconds":1785930442,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bfe510"} 
[2026-08-05 17:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:19: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-08-05 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:19: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-08-05 17: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-08-05 17:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198189056001,"66":27767,"62":206,"87":11776,"24":5,"16":370705155668049920,"45":8708554329943011328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,87,24,16,45]} 
[2026-08-05 17:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198189056001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:19:21] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-05 17:19:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370705155668049920,"km_value":370705155668049.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8708554329943011328,"description":"Unknown IO ID 45"} 
[2026-08-05 17:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198189056001,"power":27767,"unknown_62":206,"unknown_87":11776,"ignition":5,"odometer":null,"unknown_45":8708554329943011328}} 
[2026-08-05 17:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":148749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:19:21] local.INFO: GPS data processed {"connection_id":148749,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:19:21] local.INFO: Acknowledgment sent {"connection_id":148749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:19:39] local.INFO: TCP Data received {"connection_id":149757,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:19:39] local.INFO: Processing buffer {"connection_id":149757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:19:39] local.INFO: IMEI packet received {"connection_id":149757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":149757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:19:44] local.INFO: TCP Data received {"connection_id":149757,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:19:44] local.INFO: Processing buffer {"connection_id":149757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:19:44] local.INFO: IMEI packet received {"connection_id":149757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":149757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:19:45] local.INFO: TCP Data received {"connection_id":149757,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1bff4b0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1bff4b0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:19:45] local.INFO: Processing buffer {"connection_id":149757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1bff4b0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:19:45] local.INFO: Packet analysis {"connection_id":149757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:19:45] local.INFO: Extracted packet for processing {"connection_id":149757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1bf"} 
[2026-08-05 17:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198188800001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 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-08-05 17:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930446000,"timestamp_ms":1785930446000,"timestamp_seconds":1785930446,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1bff4b0"} 
[2026-08-05 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-08-05 17:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 17:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198188800001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198188800001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:19:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198188800001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":149757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:19:45] local.INFO: GPS data processed {"connection_id":149757,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:19:45] local.INFO: Acknowledgment sent {"connection_id":149757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:19:49] local.INFO: TCP Data received {"connection_id":151177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c163e0012d7b290005e269c0000000aa0e..."} 
[2026-08-05 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c163e0012d7b290005e269c0000000aa0e..."} 
[2026-08-05 17:19:49] local.INFO: Processing buffer {"connection_id":151177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c163e0012d7b290005e269c0000000aa0e..."} 
[2026-08-05 17:19:49] local.INFO: Packet analysis {"connection_id":151177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:19:49] local.INFO: Extracted packet for processing {"connection_id":151177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763046144,"raw_latitude":98724288,"longitude_deg":76.3046144,"latitude_deg":9.8724288,"altitude":0,"angle":170,"satellites":14,"speed":31,"hex_longitude":"2d7b2900","hex_latitude":"05e269c0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198215424001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114947949204602880,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873076453614219264,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785930540000,"timestamp_ms":1785930540000,"timestamp_seconds":1785930540,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c163e0"} 
[2026-08-05 17:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618141,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3519038160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7467473957529059328,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3232260097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636563190490721,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-4611459903951679915,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812034560,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":123,"raw_value":792640008180203520,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,85,24,241,157,16,159,17,45,192,178,14,10,66,97,95,238,128,213,15,191,1,240,12,227,94,209,4,113,205,28,105,239,52,2,152,5,123,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-05 17:19:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":192474666631168,"timestamp_seconds":192474666631.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198215424001,"66":13352,"96":206,"85":15104,"24":31,"16":114947949204602880,"45":8873076453614219264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-05 17:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198215424001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:19:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-05 17:19:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114947949204602880,"km_value":114947949204602.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873076453614219264,"description":"Unknown IO ID 45"} 
[2026-08-05 17:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198215424001,"power":13352,"unknown_96":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8873076453614219264}} 
[2026-08-05 17:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":151177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:19:49] local.INFO: GPS data processed {"connection_id":151177,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:19:49] local.INFO: Acknowledgment sent {"connection_id":151177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:19:52] local.INFO: TCP Data received {"connection_id":148749,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c03718012d78ca0005efadf0000e01572d..."} 
[2026-08-05 17:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c03718012d78ca0005efadf0000e01572d..."} 
[2026-08-05 17:19:52] local.INFO: Processing buffer {"connection_id":148749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c03718012d78ca0005efadf0000e01572d..."} 
[2026-08-05 17:19:52] local.INFO: Packet analysis {"connection_id":148749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:19:52] local.INFO: Extracted packet for processing {"connection_id":148749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:19:52] local.INFO: GPS Element Parsed {"raw_longitude":762890752,"raw_latitude":99593712,"longitude_deg":76.2890752,"latitude_deg":9.9593712,"altitude":14,"angle":343,"satellites":45,"speed":25,"hex_longitude":"2d78ca00","hex_latitude":"05efadf0","is_valid_coordinates":true} 
[2026-08-05 17:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198193152001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370705503560400896,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8705739580178118656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785930463000,"timestamp_ms":1785930463000,"timestamp_seconds":1785930463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c03718"} 
[2026-08-05 17:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198193152001,"66":27974,"39":206,"87":11776,"24":25,"16":370705503560400896,"45":8705739580178118656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-05 17:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198193152001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:19:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-05 17:19:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370705503560400896,"km_value":370705503560400.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8705739580178118656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198193152001,"power":27974,"unknown_39":206,"unknown_87":11776,"ignition":25,"odometer":null,"unknown_45":8705739580178118656}} 
[2026-08-05 17:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":148749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:19:52] local.INFO: GPS data processed {"connection_id":148749,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:19:52] local.INFO: Acknowledgment sent {"connection_id":148749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:20:08] local.INFO: TCP Data received {"connection_id":149758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:20:08] local.INFO: Processing buffer {"connection_id":149758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:20:08] local.INFO: IMEI packet received {"connection_id":149758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":149758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:20:10] local.INFO: TCP Data received {"connection_id":149758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:20:10] local.INFO: Processing buffer {"connection_id":149758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:20:10] local.INFO: IMEI packet received {"connection_id":149758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":149758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:20:11] local.INFO: TCP Data received {"connection_id":149758,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c1ae18012d7b2f4005e24790000000af0e..."} 
[2026-08-05 17:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c1ae18012d7b2f4005e24790000000af0e..."} 
[2026-08-05 17:20:11] local.INFO: Processing buffer {"connection_id":149758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c1ae18012d7b2f4005e24790000000af0e..."} 
[2026-08-05 17:20:11] local.INFO: Packet analysis {"connection_id":149758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:20:11] local.INFO: Extracted packet for processing {"connection_id":149758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763047744,"raw_latitude":98715536,"longitude_deg":76.3047744,"latitude_deg":9.8715536,"altitude":0,"angle":175,"satellites":14,"speed":23,"hex_longitude":"2d7b2f40","hex_latitude":"05e24790","is_valid_coordinates":true} 
[2026-08-05 17:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198218240001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114948378701332480,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874624565983690752,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785930559000,"timestamp_ms":1785930559000,"timestamp_seconds":1785930559,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c1ae18"} 
[2026-08-05 17:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 17:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198218240001,"66":13559,"96":206,"85":15104,"24":23,"16":114948378701332480,"45":8874624565983690752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-05 17:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198218240001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:20:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-05 17:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114948378701332480,"km_value":114948378701332.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874624565983690752,"description":"Unknown IO ID 45"} 
[2026-08-05 17:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198218240001,"power":13559,"unknown_96":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8874624565983690752}} 
[2026-08-05 17:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":149758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:20:11] local.INFO: GPS data processed {"connection_id":149758,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:20:11] local.INFO: Acknowledgment sent {"connection_id":149758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:20:15] local.INFO: TCP Data received {"connection_id":151178,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:20:15] local.INFO: Processing buffer {"connection_id":151178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:20:15] local.INFO: IMEI packet received {"connection_id":151178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":151178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:20:16] local.INFO: TCP Data received {"connection_id":149757,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c046b8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c046b8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:20:16] local.INFO: Processing buffer {"connection_id":149757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c046b8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:20:16] local.INFO: Packet analysis {"connection_id":149757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:20:16] local.INFO: Extracted packet for processing {"connection_id":149757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198194176001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785930467000,"timestamp_ms":1785930467000,"timestamp_seconds":1785930467,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c046b8"} 
[2026-08-05 17:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198194176001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198194176001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:20:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198194176001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":149757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:20:16] local.INFO: GPS data processed {"connection_id":149757,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:20:16] local.INFO: Acknowledgment sent {"connection_id":149757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:20:19] local.INFO: TCP Data received {"connection_id":151178,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:20:19] local.INFO: Processing buffer {"connection_id":151178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:20:19] local.INFO: IMEI packet received {"connection_id":151178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":151178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:20:20] local.INFO: TCP Data received {"connection_id":151178,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c065f8012d78c08005efd0d0000b015a2c..."} 
[2026-08-05 17:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c065f8012d78c08005efd0d0000b015a2c..."} 
[2026-08-05 17:20:20] local.INFO: Processing buffer {"connection_id":151178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c065f8012d78c08005efd0d0000b015a2c..."} 
[2026-08-05 17:20:20] local.INFO: Packet analysis {"connection_id":151178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:20:20] local.INFO: Extracted packet for processing {"connection_id":151178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:20:20] local.INFO: GPS Element Parsed {"raw_longitude":762888320,"raw_latitude":99602640,"longitude_deg":76.288832,"latitude_deg":9.960264,"altitude":11,"angle":346,"satellites":44,"speed":35,"hex_longitude":"2d78c080","hex_latitude":"05efd0d0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198198528001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370705950236999680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8703769255342895104,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785930475000,"timestamp_ms":1785930475000,"timestamp_seconds":1785930475,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c065f8"} 
[2026-08-05 17:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 17:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198198528001,"66":27843,"39":206,"87":11776,"24":35,"16":370705950236999680,"45":8703769255342895104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-05 17:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198198528001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:20:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-05 17:20:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370705950236999680,"km_value":370705950236999.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8703769255342895104,"description":"Unknown IO ID 45"} 
[2026-08-05 17:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198198528001,"power":27843,"unknown_39":206,"unknown_87":11776,"ignition":35,"odometer":null,"unknown_45":8703769255342895104}} 
[2026-08-05 17:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":151178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:20:20] local.INFO: GPS data processed {"connection_id":151178,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:20:20] local.INFO: Acknowledgment sent {"connection_id":151178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:20:39] local.INFO: TCP Data received {"connection_id":151179,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:20:39] local.INFO: Processing buffer {"connection_id":151179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:20:39] local.INFO: IMEI packet received {"connection_id":151179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":151179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:20:43] local.INFO: TCP Data received {"connection_id":149758,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c1fc38012d7b338005e22bb8000000ae10..."} 
[2026-08-05 17:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c1fc38012d7b338005e22bb8000000ae10..."} 
[2026-08-05 17:20:43] local.INFO: Processing buffer {"connection_id":149758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c1fc38012d7b338005e22bb8000000ae10..."} 
[2026-08-05 17:20:43] local.INFO: Packet analysis {"connection_id":149758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:20:43] local.INFO: Extracted packet for processing {"connection_id":149758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98708408,"longitude_deg":76.3048832,"latitude_deg":9.8708408,"altitude":0,"angle":174,"satellites":16,"speed":12,"hex_longitude":"2d7b3380","hex_latitude":"05e22bb8","is_valid_coordinates":true} 
[2026-08-05 17:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198223104001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114948730888650752,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876383784585891840,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785930579000,"timestamp_ms":1785930579000,"timestamp_seconds":1785930579,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c1fc38"} 
[2026-08-05 17:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 17:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198223104001,"66":13580,"96":206,"85":15104,"24":12,"16":114948730888650752,"45":8876383784585891840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-05 17:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198223104001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:20:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-05 17:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114948730888650752,"km_value":114948730888650.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876383784585891840,"description":"Unknown IO ID 45"} 
[2026-08-05 17:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198223104001,"power":13580,"unknown_96":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8876383784585891840}} 
[2026-08-05 17:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":149758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:20:43] local.INFO: GPS data processed {"connection_id":149758,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:20:43] local.INFO: Acknowledgment sent {"connection_id":149758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:20:44] local.INFO: TCP Data received {"connection_id":151179,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:20:44] local.INFO: Processing buffer {"connection_id":151179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:20:44] local.INFO: IMEI packet received {"connection_id":151179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":151179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:20:45] local.INFO: TCP Data received {"connection_id":151179,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c098c0012d1820000721b220004a00d529..."} 
[2026-08-05 17:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c098c0012d1820000721b220004a00d529..."} 
[2026-08-05 17:20:45] local.INFO: Processing buffer {"connection_id":151179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c098c0012d1820000721b220004a00d529..."} 
[2026-08-05 17:20:45] local.INFO: Packet analysis {"connection_id":151179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:20:45] local.INFO: Extracted packet for processing {"connection_id":151179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198199552001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930488000,"timestamp_ms":1785930488000,"timestamp_seconds":1785930488,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c098c0"} 
[2026-08-05 17:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198199552001,"66":12319,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198199552001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:20:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198199552001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":151179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:20:45] local.INFO: GPS data processed {"connection_id":151179,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:20:45] local.INFO: Acknowledgment sent {"connection_id":151179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:20:52] local.INFO: TCP Data received {"connection_id":151178,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c094d8012d78b80005eff4d8000a015c29..."} 
[2026-08-05 17:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c094d8012d78b80005eff4d8000a015c29..."} 
[2026-08-05 17:20:52] local.INFO: Processing buffer {"connection_id":151178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c094d8012d78b80005eff4d8000a015c29..."} 
[2026-08-05 17:20:52] local.INFO: Packet analysis {"connection_id":151178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:20:52] local.INFO: Extracted packet for processing {"connection_id":151178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:20:52] local.INFO: GPS Element Parsed {"raw_longitude":762886144,"raw_latitude":99611864,"longitude_deg":76.2886144,"latitude_deg":9.9611864,"altitude":10,"angle":348,"satellites":41,"speed":30,"hex_longitude":"2d78b800","hex_latitude":"05eff4d8","is_valid_coordinates":true} 
[2026-08-05 17:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198201600001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370706409798500352,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8701095243066429440,"note":"Value kept but may cause issues"} 
[2026-08-05 17:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785930487000,"timestamp_ms":1785930487000,"timestamp_seconds":1785930487,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c094d8"} 
[2026-08-05 17:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 17:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198201600001,"66":27995,"39":206,"87":11776,"24":30,"16":370706409798500352,"45":8701095243066429440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-05 17:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198201600001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:20:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-05 17:20:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370706409798500352,"km_value":370706409798500.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8701095243066429440,"description":"Unknown IO ID 45"} 
[2026-08-05 17:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198201600001,"power":27995,"unknown_39":206,"unknown_87":11776,"ignition":30,"odometer":null,"unknown_45":8701095243066429440}} 
[2026-08-05 17:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":151178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:20:52] local.INFO: GPS data processed {"connection_id":151178,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:20:52] local.INFO: Acknowledgment sent {"connection_id":151178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:21:03] local.INFO: TCP Data received {"connection_id":151180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:21:03] local.INFO: Processing buffer {"connection_id":151180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:21:03] local.INFO: IMEI packet received {"connection_id":151180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":151180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:21:08] local.INFO: TCP Data received {"connection_id":151180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:21:08] local.INFO: Processing buffer {"connection_id":151180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:21:08] local.INFO: IMEI packet received {"connection_id":151180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":151180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:21:09] local.INFO: TCP Data received {"connection_id":151180,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c24288012d7b368005e208e8000000af10..."} 
[2026-08-05 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c24288012d7b368005e208e8000000af10..."} 
[2026-08-05 17:21:09] local.INFO: Processing buffer {"connection_id":151180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c24288012d7b368005e208e8000000af10..."} 
[2026-08-05 17:21:09] local.INFO: Packet analysis {"connection_id":151180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c2"} 
[2026-08-05 17:21:09] local.INFO: Extracted packet for processing {"connection_id":151180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c2"} 
[2026-08-05 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":98699496,"longitude_deg":76.30496,"latitude_deg":9.8699496,"altitude":0,"angle":175,"satellites":16,"speed":29,"hex_longitude":"2d7b3680","hex_latitude":"05e208e8","is_valid_coordinates":true} 
[2026-08-05 17:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198228224001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114949168975314944,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053235087360,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785930597000,"timestamp_ms":1785930597000,"timestamp_seconds":1785930597,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c24288"} 
[2026-08-05 17:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618142,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3519070160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7467279343970942976,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3239172097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2990538752,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132260449,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2147869397,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089896341575618133,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3808071680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1206971172839751680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,96,85,24,241,157,16,97,159,174,45,64,71,14,10,66,99,105,56,128,1,240,12,227,209,226,4,113,205,39,238,25,32,15,239,52,2,152,5,28,123,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-08-05 17:21:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":191383743496192,"timestamp_seconds":191383743496.192,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198228224001,"66":13765,"96":206,"85":15104,"24":29,"16":114949168975314944,"45":8877580053235087360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-05 17:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198228224001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:21:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-05 17:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114949168975314944,"km_value":114949168975314.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053235087360,"description":"Unknown IO ID 45"} 
[2026-08-05 17:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198228224001,"power":13765,"unknown_96":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8877580053235087360}} 
[2026-08-05 17:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":151180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:21:09] local.INFO: GPS data processed {"connection_id":151180,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:21:09] local.INFO: Acknowledgment sent {"connection_id":151180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:21:14] local.INFO: TCP Data received {"connection_id":148750,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:21:14] local.INFO: Processing buffer {"connection_id":148750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:21:14] local.INFO: IMEI packet received {"connection_id":148750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":148750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:21:16] local.INFO: TCP Data received {"connection_id":151179,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c0eac8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c0eac8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:21:16] local.INFO: Processing buffer {"connection_id":151179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c0eac8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:21:16] local.INFO: Packet analysis {"connection_id":151179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:21:16] local.INFO: Extracted packet for processing {"connection_id":151179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:21:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198204928001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785930509000,"timestamp_ms":1785930509000,"timestamp_seconds":1785930509,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c0eac8"} 
[2026-08-05 17:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 17:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198204928001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198204928001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:21:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:21:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198204928001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":151179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:21:16] local.INFO: GPS data processed {"connection_id":151179,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:21:16] local.INFO: Acknowledgment sent {"connection_id":151179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:21:19] local.INFO: TCP Data received {"connection_id":148750,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:21:19] local.INFO: Processing buffer {"connection_id":148750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:21:19] local.INFO: IMEI packet received {"connection_id":148750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":148750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:21:20] local.INFO: TCP Data received {"connection_id":148750,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c0d740012d78b38005f01770000b01612e..."} 
[2026-08-05 17:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c0d740012d78b38005f01770000b01612e..."} 
[2026-08-05 17:21:20] local.INFO: Processing buffer {"connection_id":148750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c0d740012d78b38005f01770000b01612e..."} 
[2026-08-05 17:21:20] local.INFO: Packet analysis {"connection_id":148750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:21:20] local.INFO: Extracted packet for processing {"connection_id":148750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:21:20] local.INFO: GPS Element Parsed {"raw_longitude":762884992,"raw_latitude":99620720,"longitude_deg":76.2884992,"latitude_deg":9.962072,"altitude":11,"angle":353,"satellites":46,"speed":22,"hex_longitude":"2d78b380","hex_latitude":"05f01770","is_valid_coordinates":true} 
[2026-08-05 17:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198204672001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370706843590197248,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698702705766750208,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785930504000,"timestamp_ms":1785930504000,"timestamp_seconds":1785930504,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c0d740"} 
[2026-08-05 17:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 17:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198204672001,"66":27821,"59":206,"87":11776,"24":22,"16":370706843590197248,"45":8698702705766750208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-08-05 17:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198204672001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:21:20] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-05 17:21:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370706843590197248,"km_value":370706843590197.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698702705766750208,"description":"Unknown IO ID 45"} 
[2026-08-05 17:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198204672001,"power":27821,"unknown_59":206,"unknown_87":11776,"ignition":22,"odometer":null,"unknown_45":8698702705766750208}} 
[2026-08-05 17:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":148750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:21:20] local.INFO: GPS data processed {"connection_id":148750,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:21:20] local.INFO: Acknowledgment sent {"connection_id":148750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:21:39] local.INFO: TCP Data received {"connection_id":149759,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:21:39] local.INFO: Processing buffer {"connection_id":149759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:21:39] local.INFO: IMEI packet received {"connection_id":149759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":149759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:21:41] local.INFO: TCP Data received {"connection_id":151180,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c38aa8012d7b850005e1b8e00004004212..."} 
[2026-08-05 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c38aa8012d7b850005e1b8e00004004212..."} 
[2026-08-05 17:21:41] local.INFO: Processing buffer {"connection_id":151180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c38aa8012d7b850005e1b8e00004004212..."} 
[2026-08-05 17:21:41] local.INFO: Packet analysis {"connection_id":151180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:21:41] local.INFO: Extracted packet for processing {"connection_id":151180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":98679008,"longitude_deg":76.3069696,"latitude_deg":9.8679008,"altitude":4,"angle":66,"satellites":18,"speed":26,"hex_longitude":"2d7b8500","hex_latitude":"05e1b8e0","is_valid_coordinates":true} 
[2026-08-05 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198252032001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114951174725042176,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895031501783306240,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785930681000,"timestamp_ms":1785930681000,"timestamp_seconds":1785930681,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c38aa8"} 
[2026-08-05 17:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-05 17:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198252032001,"66":13450,"169":206,"85":15104,"24":26,"16":114951174725042176,"45":8895031501783306240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 17:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198252032001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114951174725042176,"km_value":114951174725042.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895031501783306240,"description":"Unknown IO ID 45"} 
[2026-08-05 17:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198252032001,"power":13450,"unknown_169":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8895031501783306240}} 
[2026-08-05 17:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":151180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:21:41] local.INFO: GPS data processed {"connection_id":151180,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:21:41] local.INFO: Acknowledgment sent {"connection_id":151180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:21:44] local.INFO: TCP Data received {"connection_id":149759,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:21:44] local.INFO: Processing buffer {"connection_id":149759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:21:44] local.INFO: IMEI packet received {"connection_id":149759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":149759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:21:45] local.INFO: TCP Data received {"connection_id":149759,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c13cd0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c13cd0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:21:45] local.INFO: Processing buffer {"connection_id":149759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c13cd0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:21:45] local.INFO: Packet analysis {"connection_id":149759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:21:45] local.INFO: Extracted packet for processing {"connection_id":149759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198210304001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930530000,"timestamp_ms":1785930530000,"timestamp_seconds":1785930530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c13cd0"} 
[2026-08-05 17:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17: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-08-05 17:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198210304001,"66":12374,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198210304001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:21:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198210304001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":149759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:21:45] local.INFO: GPS data processed {"connection_id":149759,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:21:45] local.INFO: Acknowledgment sent {"connection_id":149759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:21:52] local.INFO: TCP Data received {"connection_id":148750,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c0fa68012d78af8005f02d48000901542e..."} 
[2026-08-05 17:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c0fa68012d78af8005f02d48000901542e..."} 
[2026-08-05 17:21:52] local.INFO: Processing buffer {"connection_id":148750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c0fa68012d78af8005f02d48000901542e..."} 
[2026-08-05 17:21:52] local.INFO: Packet analysis {"connection_id":148750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:21:52] local.INFO: Extracted packet for processing {"connection_id":148750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c0"} 
[2026-08-05 17:21:52] local.INFO: GPS Element Parsed {"raw_longitude":762883968,"raw_latitude":99626312,"longitude_deg":76.2883968,"latitude_deg":9.9626312,"altitude":9,"angle":340,"satellites":46,"speed":16,"hex_longitude":"2d78af80","hex_latitude":"05f02d48","is_valid_coordinates":true} 
[2026-08-05 17:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198209024001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370707118468104192,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8697436068373819392,"note":"Value kept but may cause issues"} 
[2026-08-05 17:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785930513000,"timestamp_ms":1785930513000,"timestamp_seconds":1785930513,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c0fa68"} 
[2026-08-05 17:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198209024001,"66":27930,"59":206,"87":11776,"24":16,"16":370707118468104192,"45":8697436068373819392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-08-05 17:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198209024001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:21:52] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-05 17:21:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370707118468104192,"km_value":370707118468104.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8697436068373819392,"description":"Unknown IO ID 45"} 
[2026-08-05 17:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198209024001,"power":27930,"unknown_59":206,"unknown_87":11776,"ignition":16,"odometer":null,"unknown_45":8697436068373819392}} 
[2026-08-05 17:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":148750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:21:52] local.INFO: GPS data processed {"connection_id":148750,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:21:52] local.INFO: Acknowledgment sent {"connection_id":148750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:22:03] local.INFO: TCP Data received {"connection_id":149760,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:22:03] local.INFO: Processing buffer {"connection_id":149760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:22:03] local.INFO: IMEI packet received {"connection_id":149760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":149760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:22:05] local.INFO: TCP Data received {"connection_id":149760,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:22:05] local.INFO: Processing buffer {"connection_id":149760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:22:05] local.INFO: IMEI packet received {"connection_id":149760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":149760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:22:07] local.INFO: TCP Data received {"connection_id":149760,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:22:07] local.INFO: Processing buffer {"connection_id":149760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:22:07] local.INFO: IMEI packet received {"connection_id":149760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":149760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:22:08] local.INFO: TCP Data received {"connection_id":149760,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c39660012d7b8d0005e1bb080003005012..."} 
[2026-08-05 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c39660012d7b8d0005e1bb080003005012..."} 
[2026-08-05 17:22:08] local.INFO: Processing buffer {"connection_id":149760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c39660012d7b8d0005e1bb080003005012..."} 
[2026-08-05 17:22:08] local.INFO: Packet analysis {"connection_id":149760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:22:08] local.INFO: Extracted packet for processing {"connection_id":149760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763071744,"raw_latitude":98679560,"longitude_deg":76.3071744,"latitude_deg":9.867956,"altitude":3,"angle":80,"satellites":18,"speed":27,"hex_longitude":"2d7b8d00","hex_latitude":"05e1bb08","is_valid_coordinates":true} 
[2026-08-05 17:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198254336001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114951277804257280,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520263829479424,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785930684000,"timestamp_ms":1785930684000,"timestamp_seconds":1785930684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c39660"} 
[2026-08-05 17:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:22: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-08-05 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-05 17:22: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-08-05 17:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198254336001,"66":13580,"169":206,"85":15104,"24":27,"16":114951277804257280,"45":8900520263829479424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 17:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198254336001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:22:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 17:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114951277804257280,"km_value":114951277804257.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520263829479424,"description":"Unknown IO ID 45"} 
[2026-08-05 17:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198254336001,"power":13580,"unknown_169":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8900520263829479424}} 
[2026-08-05 17:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":149760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:22:08] local.INFO: GPS data processed {"connection_id":149760,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:22:08] local.INFO: Acknowledgment sent {"connection_id":149760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:22:14] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:22:14] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:22:14] local.INFO: IMEI packet received {"connection_id":148546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":148546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:22:14] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:22:14] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:22:14] local.INFO: IMEI packet received {"connection_id":148546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":148546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:22:16] local.INFO: TCP Data received {"connection_id":149759,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c18ed8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c18ed8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:22:16] local.INFO: Processing buffer {"connection_id":149759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c18ed8012d1820000721b220004a00d52a..."} 
[2026-08-05 17:22:16] local.INFO: Packet analysis {"connection_id":149759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:22:16] local.INFO: Extracted packet for processing {"connection_id":149759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198215680001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785930551000,"timestamp_ms":1785930551000,"timestamp_seconds":1785930551,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c18ed8"} 
[2026-08-05 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-08-05 17:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 17:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198215680001,"66":12385,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198215680001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:22:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:22:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198215680001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":149759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:22:16] local.INFO: GPS data processed {"connection_id":149759,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:22:16] local.INFO: Acknowledgment sent {"connection_id":149759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:22:19] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:22:19] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:22:19] local.INFO: IMEI packet received {"connection_id":148546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":148546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:22:21] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c14c70012d78ad0005f033b8000a014f31..."} 
[2026-08-05 17:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c14c70012d78ad0005f033b8000a014f31..."} 
[2026-08-05 17:22:21] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c14c70012d78ad0005f033b8000a014f31..."} 
[2026-08-05 17:22:21] local.INFO: Packet analysis {"connection_id":148546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:22:21] local.INFO: Extracted packet for processing {"connection_id":148546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:22:21] local.INFO: GPS Element Parsed {"raw_longitude":762883328,"raw_latitude":99627960,"longitude_deg":76.2883328,"latitude_deg":9.962796,"altitude":10,"angle":335,"satellites":49,"speed":0,"hex_longitude":"2d78ad00","hex_latitude":"05f033b8","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198211328001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370707217252352000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8696310168468408320,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785930534000,"timestamp_ms":1785930534000,"timestamp_seconds":1785930534,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c14c70"} 
[2026-08-05 17:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17: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-08-05 17: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":26,"data_length":795,"current_offset":136} 
[2026-08-05 17:22: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-08-05 17: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-08-05 17:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198211328001,"66":27865,"59":206,"87":11776,"24":0,"16":370707217252352000,"45":8696310168468408320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-08-05 17:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198211328001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:22:21] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-05 17:22:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370707217252352000,"km_value":370707217252352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8696310168468408320,"description":"Unknown IO ID 45"} 
[2026-08-05 17:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198211328001,"power":27865,"unknown_59":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8696310168468408320}} 
[2026-08-05 17:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":148546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:22:21] local.INFO: GPS data processed {"connection_id":148546,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:22:21] local.INFO: Acknowledgment sent {"connection_id":148546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:22:39] local.INFO: TCP Data received {"connection_id":149760,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c3c928012d7baf0005e1c1980002004412..."} 
[2026-08-05 17:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c3c928012d7baf0005e1c1980002004412..."} 
[2026-08-05 17:22:39] local.INFO: Processing buffer {"connection_id":149760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c3c928012d7baf0005e1c1980002004412..."} 
[2026-08-05 17:22:39] local.INFO: Packet analysis {"connection_id":149760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:22:39] local.INFO: Extracted packet for processing {"connection_id":149760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763080448,"raw_latitude":98681240,"longitude_deg":76.3080448,"latitude_deg":9.868124,"altitude":2,"angle":68,"satellites":18,"speed":23,"hex_longitude":"2d7baf00","hex_latitude":"05e1c198","is_valid_coordinates":true} 
[2026-08-05 17:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198255104001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114951698711052288,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902772063643305984,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785930697000,"timestamp_ms":1785930697000,"timestamp_seconds":1785930697,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c3c928"} 
[2026-08-05 17:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618146,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3519207160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635068541871712,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786272768,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7466200723064094720,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3272708097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2983198723,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540557275778645,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4701764477822959618,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:39] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,169,85,24,241,157,16,99,159,138,45,184,4,18,10,66,103,128,180,5,95,192,1,240,227,209,225,113,205,14,222,68,8,17,239,52,96,2,152,123,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-08-05 17:22:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216260820355186688,"timestamp_seconds":216260820355186.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:22:39] local.INFO: TCP Data received {"connection_id":151181,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198255104001,"66":13656,"169":206,"85":15104,"24":23,"16":114951698711052288,"45":8902772063643305984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-05 17:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198255104001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:22:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-05 17:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114951698711052288,"km_value":114951698711052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902772063643305984,"description":"Unknown IO ID 45"} 
[2026-08-05 17:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198255104001,"power":13656,"unknown_169":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8902772063643305984}} 
[2026-08-05 17:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:22:39] local.INFO: Processing buffer {"connection_id":151181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:22:39] local.INFO: IMEI packet received {"connection_id":151181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":151181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":149760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:22:39] local.INFO: GPS data processed {"connection_id":149760,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:22:39] local.INFO: Acknowledgment sent {"connection_id":149760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:22:44] local.INFO: TCP Data received {"connection_id":151181,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:22:44] local.INFO: Processing buffer {"connection_id":151181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:22:44] local.INFO: IMEI packet received {"connection_id":151181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":151181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:22:45] local.INFO: TCP Data received {"connection_id":151181,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c1e0e0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c1e0e0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:22:45] local.INFO: Processing buffer {"connection_id":151181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c1e0e0012d1820000721b220004a00d52a..."} 
[2026-08-05 17:22:45] local.INFO: Packet analysis {"connection_id":151181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:22:45] local.INFO: Extracted packet for processing {"connection_id":151181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c1"} 
[2026-08-05 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648800,"longitude_deg":75.6555776,"latitude_deg":11.96488,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-05 17:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198221056001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730821170233344,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930572000,"timestamp_ms":1785930572000,"timestamp_seconds":1785930572,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c1e0e0"} 
[2026-08-05 17:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17: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-08-05 17:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198221056001,"66":12374,"105":206,"83":41984,"24":0,"16":10730821170233344,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198221056001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:22:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730821170233344,"km_value":10730821170233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198221056001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":151181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:22:45] local.INFO: GPS data processed {"connection_id":151181,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:22:45] local.INFO: Acknowledgment sent {"connection_id":151181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:22:53] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c3e480012d7867c005f09cd0001801542b..."} 
[2026-08-05 17:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c3e480012d7867c005f09cd0001801542b..."} 
[2026-08-05 17:22:53] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c3e480012d7867c005f09cd0001801542b..."} 
[2026-08-05 17:22:53] local.INFO: Packet analysis {"connection_id":148546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:22:53] local.INFO: Extracted packet for processing {"connection_id":148546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:22:53] local.INFO: GPS Element Parsed {"raw_longitude":762865600,"raw_latitude":99654864,"longitude_deg":76.28656,"latitude_deg":9.9654864,"altitude":24,"angle":340,"satellites":43,"speed":26,"hex_longitude":"2d7867c0","hex_latitude":"05f09cd0","is_valid_coordinates":true} 
[2026-08-05 17:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198258176001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370708797800316928,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8679632776104386560,"note":"Value kept but may cause issues"} 
[2026-08-05 17:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785930704000,"timestamp_ms":1785930704000,"timestamp_seconds":1785930704,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c3e480"} 
[2026-08-05 17:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198258176001,"66":27767,"196":206,"87":11776,"24":26,"16":370708797800316928,"45":8679632776104386560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-05 17:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198258176001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:22:53] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-05 17:22:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370708797800316928,"km_value":370708797800316.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8679632776104386560,"description":"Unknown IO ID 45"} 
[2026-08-05 17:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198258176001,"power":27767,"unknown_196":206,"unknown_87":11776,"ignition":26,"odometer":null,"unknown_45":8679632776104386560}} 
[2026-08-05 17:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":148546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:22:53] local.INFO: GPS data processed {"connection_id":148546,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:22:53] local.INFO: Acknowledgment sent {"connection_id":148546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:23:03] local.INFO: TCP Data received {"connection_id":148751,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:23:03] local.INFO: Processing buffer {"connection_id":148751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:23:03] local.INFO: IMEI packet received {"connection_id":148751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":148751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:23:04] local.INFO: TCP Data received {"connection_id":148751,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:23:04] local.INFO: Processing buffer {"connection_id":148751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:23:04] local.INFO: IMEI packet received {"connection_id":148751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":148751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:23:08] local.INFO: TCP Data received {"connection_id":148751,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:23:08] local.INFO: Processing buffer {"connection_id":148751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:23:08] local.INFO: IMEI packet received {"connection_id":148751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":148751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:23:09] local.INFO: TCP Data received {"connection_id":148751,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c4e650012d7c360005e1dee80010004d12..."} 
[2026-08-05 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c4e650012d7c360005e1dee80010004d12..."} 
[2026-08-05 17:23:09] local.INFO: Processing buffer {"connection_id":148751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c4e650012d7c360005e1dee80010004d12..."} 
[2026-08-05 17:23:09] local.INFO: Packet analysis {"connection_id":148751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c4"} 
[2026-08-05 17:23:09] local.INFO: Extracted packet for processing {"connection_id":148751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c4"} 
[2026-08-05 17:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763115008,"raw_latitude":98688744,"longitude_deg":76.3115008,"latitude_deg":9.8688744,"altitude":16,"angle":77,"satellites":18,"speed":26,"hex_longitude":"2d7c3600","hex_latitude":"05e1dee8","is_valid_coordinates":true} 
[2026-08-05 17:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198275328001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944782203919730688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114953481122480128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-05 17:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785930770000,"timestamp_ms":1785930770000,"timestamp_seconds":1785930770,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c4e650"} 
[2026-08-05 17:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-05 17:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198275328001,"66":13537,"45":8944782203919730688,"85":15104,"24":26,"16":114953481122480128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-05 17:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198275328001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944782203919730688,"description":"Unknown IO ID 45"} 
[2026-08-05 17:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114953481122480128,"km_value":114953481122480.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:23:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457198275328001,"power":13537,"unknown_45":8944782203919730688,"unknown_85":15104,"ignition":26,"odometer":null}} 
[2026-08-05 17:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":148751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:23:09] local.INFO: GPS data processed {"connection_id":148751,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:23:09] local.INFO: Acknowledgment sent {"connection_id":148751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:23:14] local.INFO: TCP Data received {"connection_id":149761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:23:14] local.INFO: Processing buffer {"connection_id":149761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:23:14] local.INFO: IMEI packet received {"connection_id":149761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":149761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:23:16] local.INFO: TCP Data received {"connection_id":151181,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c232e8012d181e000721aed0004c00d42a..."} 
[2026-08-05 17:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c232e8012d181e000721aed0004c00d42a..."} 
[2026-08-05 17:23:16] local.INFO: Processing buffer {"connection_id":151181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c232e8012d181e000721aed0004c00d42a..."} 
[2026-08-05 17:23:16] local.INFO: Packet analysis {"connection_id":151181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c2"} 
[2026-08-05 17:23:16] local.INFO: Extracted packet for processing {"connection_id":151181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c2"} 
[2026-08-05 17:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647952,"longitude_deg":75.6555264,"latitude_deg":11.9647952,"altitude":76,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aed0","is_valid_coordinates":true} 
[2026-08-05 17:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198226432001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730868414873600,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795104256,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785930593000,"timestamp_ms":1785930593000,"timestamp_seconds":1785930593,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c232e8"} 
[2026-08-05 17:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 17:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198226432001,"66":12374,"105":206,"83":41984,"24":0,"16":10730868414873600,"45":1738389486795104256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198226432001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:23:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730868414873600,"km_value":10730868414873.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795104256,"description":"Unknown IO ID 45"} 
[2026-08-05 17:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198226432001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795104256}} 
[2026-08-05 17:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":151181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:23:16] local.INFO: GPS data processed {"connection_id":151181,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:23:16] local.INFO: Acknowledgment sent {"connection_id":151181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:23:19] local.INFO: TCP Data received {"connection_id":149761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:23:19] local.INFO: Processing buffer {"connection_id":149761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:23:19] local.INFO: IMEI packet received {"connection_id":149761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":149761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:23:19] local.INFO: TCP Data received {"connection_id":149761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:23:19] local.INFO: Processing buffer {"connection_id":149761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:23:19] local.INFO: IMEI packet received {"connection_id":149761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":149761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:23:20] local.INFO: TCP Data received {"connection_id":149761,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c3ec50012d78674005f0a1000014016429..."} 
[2026-08-05 17:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c3ec50012d78674005f0a1000014016429..."} 
[2026-08-05 17:23:20] local.INFO: Processing buffer {"connection_id":149761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c3ec50012d78674005f0a1000014016429..."} 
[2026-08-05 17:23:20] local.INFO: Packet analysis {"connection_id":149761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:23:20] local.INFO: Extracted packet for processing {"connection_id":149761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:23:20] local.INFO: GPS Element Parsed {"raw_longitude":762865472,"raw_latitude":99655936,"longitude_deg":76.2865472,"latitude_deg":9.9655936,"altitude":20,"angle":356,"satellites":41,"speed":27,"hex_longitude":"2d786740","hex_latitude":"05f0a100","is_valid_coordinates":true} 
[2026-08-05 17:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198260224001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370708849339924480,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676114338896728064,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785930706000,"timestamp_ms":1785930706000,"timestamp_seconds":1785930706,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c3ec50"} 
[2026-08-05 17:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:23: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-08-05 17:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198260224001,"66":28028,"196":206,"87":11776,"24":27,"16":370708849339924480,"45":8676114338896728064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-05 17:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198260224001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:23:20] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-05 17:23:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370708849339924480,"km_value":370708849339924.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676114338896728064,"description":"Unknown IO ID 45"} 
[2026-08-05 17:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198260224001,"power":28028,"unknown_196":206,"unknown_87":11776,"ignition":27,"odometer":null,"unknown_45":8676114338896728064}} 
[2026-08-05 17:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":149761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:23:20] local.INFO: GPS data processed {"connection_id":149761,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:23:20] local.INFO: Acknowledgment sent {"connection_id":149761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:23:25] local.INFO: TCP Data received {"connection_id":149761,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c41b30012d78640005f0c610000d015f2a..."} 
[2026-08-05 17:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c41b30012d78640005f0c610000d015f2a..."} 
[2026-08-05 17:23:25] local.INFO: Processing buffer {"connection_id":149761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c41b30012d78640005f0c610000d015f2a..."} 
[2026-08-05 17:23:25] local.INFO: Packet analysis {"connection_id":149761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c4"} 
[2026-08-05 17:23:25] local.INFO: Extracted packet for processing {"connection_id":149761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c4"} 
[2026-08-05 17:23:25] local.INFO: GPS Element Parsed {"raw_longitude":762864640,"raw_latitude":99665424,"longitude_deg":76.286464,"latitude_deg":9.9665424,"altitude":13,"angle":351,"satellites":42,"speed":32,"hex_longitude":"2d786400","hex_latitude":"05f0c610","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198260736001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370709308901425152,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8675973601408647168,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785930718000,"timestamp_ms":1785930718000,"timestamp_seconds":1785930718,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c41b30"} 
[2026-08-05 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-08-05 17:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 17:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198260736001,"66":27876,"196":206,"87":11776,"24":32,"16":370709308901425152,"45":8675973601408647168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-05 17:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198260736001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:23:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-05 17:23:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370709308901425152,"km_value":370709308901425.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8675973601408647168,"description":"Unknown IO ID 45"} 
[2026-08-05 17:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198260736001,"power":27876,"unknown_196":206,"unknown_87":11776,"ignition":32,"odometer":null,"unknown_45":8675973601408647168}} 
[2026-08-05 17:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":149761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:23:25] local.INFO: GPS data processed {"connection_id":149761,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:23:25] local.INFO: Acknowledgment sent {"connection_id":149761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:23:40] local.INFO: TCP Data received {"connection_id":148751,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c55f68012d7c6dc005e21338000c005812..."} 
[2026-08-05 17:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c55f68012d7c6dc005e21338000c005812..."} 
[2026-08-05 17:23:40] local.INFO: Processing buffer {"connection_id":148751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c55f68012d7c6dc005e21338000c005812..."} 
[2026-08-05 17:23:40] local.INFO: Packet analysis {"connection_id":148751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:23:40] local.INFO: Extracted packet for processing {"connection_id":148751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763129280,"raw_latitude":98702136,"longitude_deg":76.312928,"latitude_deg":9.8702136,"altitude":12,"angle":88,"satellites":18,"speed":28,"hex_longitude":"2d7c6dc0","hex_latitude":"05e21338","is_valid_coordinates":true} 
[2026-08-05 17:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198284288001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114954473259925504,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963711396106901504,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785930801000,"timestamp_ms":1785930801000,"timestamp_seconds":1785930801,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c55f68"} 
[2026-08-05 17:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-05 17:23: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-08-05 17:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198284288001,"66":13526,"43":206,"85":15104,"24":28,"16":114954473259925504,"45":8963711396106901504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-05 17:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198284288001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:23:40] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-05 17:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114954473259925504,"km_value":114954473259925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963711396106901504,"description":"Unknown IO ID 45"} 
[2026-08-05 17:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198284288001,"power":13526,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8963711396106901504}} 
[2026-08-05 17:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":148751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:23:40] local.INFO: GPS data processed {"connection_id":148751,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:23:40] local.INFO: Acknowledgment sent {"connection_id":148751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:23:40] local.INFO: TCP Data received {"connection_id":148752,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:23:40] local.INFO: Processing buffer {"connection_id":148752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:23:40] local.INFO: IMEI packet received {"connection_id":148752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":148752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:23:44] local.INFO: TCP Data received {"connection_id":148752,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:23:44] local.INFO: Processing buffer {"connection_id":148752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:23:44] local.INFO: IMEI packet received {"connection_id":148752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":148752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:23:49] local.INFO: TCP Data received {"connection_id":148752,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:23:49] local.INFO: Processing buffer {"connection_id":148752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:23:49] local.INFO: IMEI packet received {"connection_id":148752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":148752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:23:55] local.INFO: TCP Data received {"connection_id":148752,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c284f0012d181e000721aed0004c00d42c..."} 
[2026-08-05 17:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c284f0012d181e000721aed0004c00d42c..."} 
[2026-08-05 17:23:55] local.INFO: Processing buffer {"connection_id":148752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c284f0012d181e000721aed0004c00d42c..."} 
[2026-08-05 17:23:55] local.INFO: Packet analysis {"connection_id":148752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c2"} 
[2026-08-05 17:23:55] local.INFO: Extracted packet for processing {"connection_id":148752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c2"} 
[2026-08-05 17:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647952,"longitude_deg":75.6555264,"latitude_deg":11.9647952,"altitude":76,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aed0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198231808001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730868414873600,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841465856,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785930614000,"timestamp_ms":1785930614000,"timestamp_seconds":1785930614,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c284f0"} 
[2026-08-05 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-08-05 17:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 17:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198231808001,"66":12374,"105":206,"83":41984,"24":0,"16":10730868414873600,"45":1737826536841465856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198231808001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:23:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:23:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730868414873600,"km_value":10730868414873.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841465856,"description":"Unknown IO ID 45"} 
[2026-08-05 17:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198231808001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841465856}} 
[2026-08-05 17:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":148752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:23:55] local.INFO: GPS data processed {"connection_id":148752,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:23:55] local.INFO: Acknowledgment sent {"connection_id":148752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:23:56] local.INFO: TCP Data received {"connection_id":148752,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c2d6f8012d181e000721aed0004c00d42a..."} 
[2026-08-05 17:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c2d6f8012d181e000721aed0004c00d42a..."} 
[2026-08-05 17:23:56] local.INFO: Processing buffer {"connection_id":148752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c2d6f8012d181e000721aed0004c00d42a..."} 
[2026-08-05 17:23:56] local.INFO: Packet analysis {"connection_id":148752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c2"} 
[2026-08-05 17:23:56] local.INFO: Extracted packet for processing {"connection_id":148752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c2"} 
[2026-08-05 17:23:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647952,"longitude_deg":75.6555264,"latitude_deg":11.9647952,"altitude":76,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aed0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198237184001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730868414873600,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841465856,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785930635000,"timestamp_ms":1785930635000,"timestamp_seconds":1785930635,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c2d6f8"} 
[2026-08-05 17:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:23: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-08-05 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 17:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198237184001,"66":12374,"105":206,"83":41984,"24":0,"16":10730868414873600,"45":1737826536841465856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198237184001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:23:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730868414873600,"km_value":10730868414873.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841465856,"description":"Unknown IO ID 45"} 
[2026-08-05 17:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198237184001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841465856}} 
[2026-08-05 17:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":148752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:23:56] local.INFO: GPS data processed {"connection_id":148752,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:23:56] local.INFO: Acknowledgment sent {"connection_id":148752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:23:59] local.INFO: TCP Data received {"connection_id":149761,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c46d38012d785f8005f0e0a8000f015c30..."} 
[2026-08-05 17:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c46d38012d785f8005f0e0a8000f015c30..."} 
[2026-08-05 17:23:59] local.INFO: Processing buffer {"connection_id":149761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c46d38012d785f8005f0e0a8000f015c30..."} 
[2026-08-05 17:23:59] local.INFO: Packet analysis {"connection_id":149761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c4"} 
[2026-08-05 17:23:59] local.INFO: Extracted packet for processing {"connection_id":149761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c4"} 
[2026-08-05 17:23:59] local.INFO: GPS Element Parsed {"raw_longitude":762863488,"raw_latitude":99672232,"longitude_deg":76.2863488,"latitude_deg":9.9672232,"altitude":15,"angle":348,"satellites":48,"speed":0,"hex_longitude":"2d785f80","hex_latitude":"05f0e0a8","is_valid_coordinates":true} 
[2026-08-05 17:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198263808001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370709648203841536,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8675058807736766464,"note":"Value kept but may cause issues"} 
[2026-08-05 17:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785930739000,"timestamp_ms":1785930739000,"timestamp_seconds":1785930739,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c46d38"} 
[2026-08-05 17:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 17:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198263808001,"66":27876,"196":206,"87":11776,"24":0,"16":370709648203841536,"45":8675058807736766464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-05 17:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198263808001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:23:59] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-05 17:23:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370709648203841536,"km_value":370709648203841.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8675058807736766464,"description":"Unknown IO ID 45"} 
[2026-08-05 17:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198263808001,"power":27876,"unknown_196":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8675058807736766464}} 
[2026-08-05 17:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":149761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:23:59] local.INFO: GPS data processed {"connection_id":149761,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:23:59] local.INFO: Acknowledgment sent {"connection_id":149761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:24:03] local.INFO: TCP Data received {"connection_id":151182,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:24:03] local.INFO: Processing buffer {"connection_id":151182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:24:03] local.INFO: IMEI packet received {"connection_id":151182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":151182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:24:05] local.INFO: TCP Data received {"connection_id":151182,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:24:05] local.INFO: Processing buffer {"connection_id":151182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:24:05] local.INFO: IMEI packet received {"connection_id":151182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":151182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:24:08] local.INFO: TCP Data received {"connection_id":151182,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:24:08] local.INFO: Processing buffer {"connection_id":151182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:24:08] local.INFO: IMEI packet received {"connection_id":151182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":151182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:24:09] local.INFO: TCP Data received {"connection_id":151182,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c56738012d7c73c005e212b0000c006412..."} 
[2026-08-05 17:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c56738012d7c73c005e212b0000c006412..."} 
[2026-08-05 17:24:09] local.INFO: Processing buffer {"connection_id":151182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c56738012d7c73c005e212b0000c006412..."} 
[2026-08-05 17:24:09] local.INFO: Packet analysis {"connection_id":151182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:24:09] local.INFO: Extracted packet for processing {"connection_id":151182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763130816,"raw_latitude":98702000,"longitude_deg":76.3130816,"latitude_deg":9.8702,"altitude":12,"angle":100,"satellites":18,"speed":28,"hex_longitude":"2d7c73c0","hex_latitude":"05e212b0","is_valid_coordinates":true} 
[2026-08-05 17:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198285056001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114954546274369536,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966033564664805376,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785930803000,"timestamp_ms":1785930803000,"timestamp_seconds":1785930803,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c56738"} 
[2026-08-05 17:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-05 17:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198285056001,"66":13450,"43":206,"85":15104,"24":28,"16":114954546274369536,"45":8966033564664805376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-05 17:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198285056001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:24:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-05 17:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114954546274369536,"km_value":114954546274369.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966033564664805376,"description":"Unknown IO ID 45"} 
[2026-08-05 17:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198285056001,"power":13450,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8966033564664805376}} 
[2026-08-05 17:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":151182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:24:09] local.INFO: GPS data processed {"connection_id":151182,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:24:09] local.INFO: Acknowledgment sent {"connection_id":151182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:24:19] local.INFO: TCP Data received {"connection_id":148753,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:24:19] local.INFO: Processing buffer {"connection_id":148753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:24:19] local.INFO: IMEI packet received {"connection_id":148753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":148753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:24:21] local.INFO: TCP Data received {"connection_id":148753,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:24:21] local.INFO: Processing buffer {"connection_id":148753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:24:21] local.INFO: IMEI packet received {"connection_id":148753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":148753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:24:22] local.INFO: TCP Data received {"connection_id":148753,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c4bf40012d785b8005f0f2b00014015b31..."} 
[2026-08-05 17:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c4bf40012d785b8005f0f2b00014015b31..."} 
[2026-08-05 17:24:22] local.INFO: Processing buffer {"connection_id":148753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c4bf40012d785b8005f0f2b00014015b31..."} 
[2026-08-05 17:24:22] local.INFO: Packet analysis {"connection_id":148753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c4"} 
[2026-08-05 17:24:22] local.INFO: Extracted packet for processing {"connection_id":148753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c4"} 
[2026-08-05 17:24:22] local.INFO: GPS Element Parsed {"raw_longitude":762862464,"raw_latitude":99676848,"longitude_deg":76.2862464,"latitude_deg":9.9676848,"altitude":20,"angle":347,"satellites":49,"speed":13,"hex_longitude":"2d785b80","hex_latitude":"05f0f2b0","is_valid_coordinates":true} 
[2026-08-05 17:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198269184001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370709875837108224,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8673792170343311360,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785930760000,"timestamp_ms":1785930760000,"timestamp_seconds":1785930760,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c4bf40"} 
[2026-08-05 17:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 17:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198269184001,"66":27995,"196":206,"87":11776,"24":13,"16":370709875837108224,"45":8673792170343311360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-05 17:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198269184001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:24:22] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-05 17:24:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370709875837108224,"km_value":370709875837108.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8673792170343311360,"description":"Unknown IO ID 45"} 
[2026-08-05 17:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198269184001,"power":27995,"unknown_196":206,"unknown_87":11776,"ignition":13,"odometer":null,"unknown_45":8673792170343311360}} 
[2026-08-05 17:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":148753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:24:22] local.INFO: GPS data processed {"connection_id":148753,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:24:22] local.INFO: Acknowledgment sent {"connection_id":148753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:24:25] local.INFO: TCP Data received {"connection_id":148753,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c51148012d78570005f10f480013015d30..."} 
[2026-08-05 17:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c51148012d78570005f10f480013015d30..."} 
[2026-08-05 17:24:25] local.INFO: Processing buffer {"connection_id":148753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c51148012d78570005f10f480013015d30..."} 
[2026-08-05 17:24:25] local.INFO: Packet analysis {"connection_id":148753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:24:25] local.INFO: Extracted packet for processing {"connection_id":148753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":762861312,"raw_latitude":99684168,"longitude_deg":76.2861312,"latitude_deg":9.9684168,"altitude":19,"angle":349,"satellites":48,"speed":21,"hex_longitude":"2d785700","hex_latitude":"05f10f48","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198274560001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370710236614361088,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672666270437650432,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785930781000,"timestamp_ms":1785930781000,"timestamp_seconds":1785930781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c51148"} 
[2026-08-05 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-08-05 17:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 17:24: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-08-05 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-08-05 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-08-05 17:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198274560001,"66":28028,"196":206,"87":11776,"24":21,"16":370710236614361088,"45":8672666270437650432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-05 17:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198274560001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:24:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-05 17:24:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370710236614361088,"km_value":370710236614361.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672666270437650432,"description":"Unknown IO ID 45"} 
[2026-08-05 17:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198274560001,"power":28028,"unknown_196":206,"unknown_87":11776,"ignition":21,"odometer":null,"unknown_45":8672666270437650432}} 
[2026-08-05 17:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":148753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:24:25] local.INFO: GPS data processed {"connection_id":148753,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:24:25] local.INFO: Acknowledgment sent {"connection_id":148753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:24:39] local.INFO: TCP Data received {"connection_id":151183,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:24:39] local.INFO: Processing buffer {"connection_id":151183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:24:39] local.INFO: IMEI packet received {"connection_id":151183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":151183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:24:40] local.INFO: TCP Data received {"connection_id":151183,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:24:40] local.INFO: Processing buffer {"connection_id":151183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:24:40] local.INFO: IMEI packet received {"connection_id":151183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":151183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:24:40] local.INFO: TCP Data received {"connection_id":151182,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c59de8012d7c97c005e20bb0000d006512..."} 
[2026-08-05 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c59de8012d7c97c005e20bb0000d006512..."} 
[2026-08-05 17:24:40] local.INFO: Processing buffer {"connection_id":151182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c59de8012d7c97c005e20bb0000d006512..."} 
[2026-08-05 17:24:40] local.INFO: Packet analysis {"connection_id":151182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:24:40] local.INFO: Extracted packet for processing {"connection_id":151182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763140032,"raw_latitude":98700208,"longitude_deg":76.3140032,"latitude_deg":9.8700208,"altitude":13,"angle":101,"satellites":18,"speed":33,"hex_longitude":"2d7c97c0","hex_latitude":"05e20bb0","is_valid_coordinates":true} 
[2026-08-05 17:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198285568001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114954997245935616,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967722414525034496,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785930817000,"timestamp_ms":1785930817000,"timestamp_seconds":1785930817,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c59de8"} 
[2026-08-05 17:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-05 17:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198285568001,"66":13580,"43":206,"85":15104,"24":33,"16":114954997245935616,"45":8967722414525034496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-05 17:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198285568001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:24:40] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-05 17:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114954997245935616,"km_value":114954997245935.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967722414525034496,"description":"Unknown IO ID 45"} 
[2026-08-05 17:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198285568001,"power":13580,"unknown_43":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8967722414525034496}} 
[2026-08-05 17:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":151182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:24:40] local.INFO: GPS data processed {"connection_id":151182,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:24:40] local.INFO: Acknowledgment sent {"connection_id":151182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:24:44] local.INFO: TCP Data received {"connection_id":151183,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:24:44] local.INFO: Processing buffer {"connection_id":151183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:24:44] local.INFO: IMEI packet received {"connection_id":151183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":151183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:24:45] local.INFO: TCP Data received {"connection_id":151183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c32900012d181e000721aed0004c00d42a..."} 
[2026-08-05 17:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c32900012d181e000721aed0004c00d42a..."} 
[2026-08-05 17:24:45] local.INFO: Processing buffer {"connection_id":151183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c32900012d181e000721aed0004c00d42a..."} 
[2026-08-05 17:24:45] local.INFO: Packet analysis {"connection_id":151183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:24:45] local.INFO: Extracted packet for processing {"connection_id":151183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647952,"longitude_deg":75.6555264,"latitude_deg":11.9647952,"altitude":76,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aed0","is_valid_coordinates":true} 
[2026-08-05 17:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198242560001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730868414873600,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841465856,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930656000,"timestamp_ms":1785930656000,"timestamp_seconds":1785930656,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c32900"} 
[2026-08-05 17:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 17:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198242560001,"66":12341,"105":206,"83":41984,"24":0,"16":10730868414873600,"45":1737826536841465856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198242560001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:24:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730868414873600,"km_value":10730868414873.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841465856,"description":"Unknown IO ID 45"} 
[2026-08-05 17:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198242560001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841465856}} 
[2026-08-05 17:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":151183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:24:45] local.INFO: GPS data processed {"connection_id":151183,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:24:45] local.INFO: Acknowledgment sent {"connection_id":151183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:24:57] local.INFO: TCP Data received {"connection_id":148753,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c56350012d784ec005f12990000901522e..."} 
[2026-08-05 17:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c56350012d784ec005f12990000901522e..."} 
[2026-08-05 17:24:57] local.INFO: Processing buffer {"connection_id":148753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c56350012d784ec005f12990000901522e..."} 
[2026-08-05 17:24:57] local.INFO: Packet analysis {"connection_id":148753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:24:57] local.INFO: Extracted packet for processing {"connection_id":148753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:24:57] local.INFO: GPS Element Parsed {"raw_longitude":762859200,"raw_latitude":99690896,"longitude_deg":76.28592,"latitude_deg":9.9690896,"altitude":9,"angle":338,"satellites":46,"speed":16,"hex_longitude":"2d784ec0","hex_latitude":"05f12990","is_valid_coordinates":true} 
[2026-08-05 17:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198279936001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370710580211744768,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8671399633044326400,"note":"Value kept but may cause issues"} 
[2026-08-05 17:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785930802000,"timestamp_ms":1785930802000,"timestamp_seconds":1785930802,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c56350"} 
[2026-08-05 17:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-05 17:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198279936001,"66":27908,"196":206,"87":11776,"24":16,"16":370710580211744768,"45":8671399633044326400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-08-05 17:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198279936001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:24:57] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-05 17:24:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370710580211744768,"km_value":370710580211744.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8671399633044326400,"description":"Unknown IO ID 45"} 
[2026-08-05 17:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198279936001,"power":27908,"unknown_196":206,"unknown_87":11776,"ignition":16,"odometer":null,"unknown_45":8671399633044326400}} 
[2026-08-05 17:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":148753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:24:57] local.INFO: GPS data processed {"connection_id":148753,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:24:57] local.INFO: Acknowledgment sent {"connection_id":148753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:25:03] local.INFO: TCP Data received {"connection_id":148754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:25:03] local.INFO: Processing buffer {"connection_id":148754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:25:03] local.INFO: IMEI packet received {"connection_id":148754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":148754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:25:06] local.INFO: TCP Data received {"connection_id":148754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:25:06] local.INFO: Processing buffer {"connection_id":148754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:25:06] local.INFO: IMEI packet received {"connection_id":148754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":148754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:25:08] local.INFO: TCP Data received {"connection_id":148754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:25:08] local.INFO: Processing buffer {"connection_id":148754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:25:08] local.INFO: IMEI packet received {"connection_id":148754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":148754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:25:09] local.INFO: TCP Data received {"connection_id":148754,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c5ccc8012d7cbbc005e206e0000b006012..."} 
[2026-08-05 17:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c5ccc8012d7cbbc005e206e0000b006012..."} 
[2026-08-05 17:25:09] local.INFO: Processing buffer {"connection_id":148754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c5ccc8012d7cbbc005e206e0000b006012..."} 
[2026-08-05 17:25:09] local.INFO: Packet analysis {"connection_id":148754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:25:09] local.INFO: Extracted packet for processing {"connection_id":148754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763149248,"raw_latitude":98698976,"longitude_deg":76.3149248,"latitude_deg":9.8698976,"altitude":11,"angle":96,"satellites":18,"speed":19,"hex_longitude":"2d7cbbc0","hex_latitude":"05e206e0","is_valid_coordinates":true} 
[2026-08-05 17:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198289152001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114955439627567104,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977855513686159360,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785930829000,"timestamp_ms":1785930829000,"timestamp_seconds":1785930829,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c5ccc8"} 
[2026-08-05 17:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618150,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3519363160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3221611023,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7465215560645607424,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3310084097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634789368974891,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":71,"raw_value":4160826748,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827406,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792199680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6160930758433701901,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2450183932902166101,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:09] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,43,85,24,241,157,16,102,159,103,45,192,18,12,10,66,95,19,83,128,1,240,227,209,226,4,113,205,71,224,239,52,2,152,5,13,26,124,53,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-08-05 17:25:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936859850479042560,"timestamp_seconds":936859850479042.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198289152001,"66":13352,"43":206,"85":15104,"24":19,"16":114955439627567104,"45":8977855513686159360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-05 17:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198289152001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:25:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-05 17:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114955439627567104,"km_value":114955439627567.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977855513686159360,"description":"Unknown IO ID 45"} 
[2026-08-05 17:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198289152001,"power":13352,"unknown_43":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8977855513686159360}} 
[2026-08-05 17:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":148754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:25:09] local.INFO: GPS data processed {"connection_id":148754,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:25:09] local.INFO: Acknowledgment sent {"connection_id":148754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:25:14] local.INFO: TCP Data received {"connection_id":151184,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:25:14] local.INFO: Processing buffer {"connection_id":151184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:25:14] local.INFO: IMEI packet received {"connection_id":151184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":151184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:25:17] local.INFO: TCP Data received {"connection_id":151183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c37b08012d181e000721aed0004c00d42b..."} 
[2026-08-05 17:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c37b08012d181e000721aed0004c00d42b..."} 
[2026-08-05 17:25:17] local.INFO: Processing buffer {"connection_id":151183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c37b08012d181e000721aed0004c00d42b..."} 
[2026-08-05 17:25:17] local.INFO: Packet analysis {"connection_id":151183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:25:17] local.INFO: Extracted packet for processing {"connection_id":151183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c3"} 
[2026-08-05 17:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647952,"longitude_deg":75.6555264,"latitude_deg":11.9647952,"altitude":76,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721aed0","is_valid_coordinates":true} 
[2026-08-05 17:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198247936001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730868414873600,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841465856,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785930677000,"timestamp_ms":1785930677000,"timestamp_seconds":1785930677,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c37b08"} 
[2026-08-05 17:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 17:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198247936001,"66":12319,"105":206,"83":41984,"24":0,"16":10730868414873600,"45":1737826536841465856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198247936001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:25:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:25:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730868414873600,"km_value":10730868414873.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841465856,"description":"Unknown IO ID 45"} 
[2026-08-05 17:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198247936001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841465856}} 
[2026-08-05 17:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":151183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:25:17] local.INFO: GPS data processed {"connection_id":151183,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:25:17] local.INFO: Acknowledgment sent {"connection_id":151183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:25:20] local.INFO: TCP Data received {"connection_id":151184,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:25:20] local.INFO: Processing buffer {"connection_id":151184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:25:20] local.INFO: IMEI packet received {"connection_id":151184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":151184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:25:21] local.INFO: TCP Data received {"connection_id":151184,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c5b558012d7846c005f14150000601592a..."} 
[2026-08-05 17:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c5b558012d7846c005f14150000601592a..."} 
[2026-08-05 17:25:21] local.INFO: Processing buffer {"connection_id":151184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c5b558012d7846c005f14150000601592a..."} 
[2026-08-05 17:25:21] local.INFO: Packet analysis {"connection_id":151184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:25:21] local.INFO: Extracted packet for processing {"connection_id":151184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:25:21] local.INFO: GPS Element Parsed {"raw_longitude":762857152,"raw_latitude":99696976,"longitude_deg":76.2857152,"latitude_deg":9.9696976,"altitude":6,"angle":345,"satellites":42,"speed":4,"hex_longitude":"2d7846c0","hex_latitude":"05f14150","is_valid_coordinates":true} 
[2026-08-05 17:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198285312001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370710898039324672,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8669077464488185856,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785930823000,"timestamp_ms":1785930823000,"timestamp_seconds":1785930823,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c5b558"} 
[2026-08-05 17:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:25: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-08-05 17:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:25: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-08-05 17:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198285312001,"66":27789,"198":206,"87":11776,"24":4,"16":370710898039324672,"45":8669077464488185856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-05 17:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198285312001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:25:21] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-05 17:25:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370710898039324672,"km_value":370710898039324.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8669077464488185856,"description":"Unknown IO ID 45"} 
[2026-08-05 17:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198285312001,"power":27789,"unknown_198":206,"unknown_87":11776,"ignition":4,"odometer":null,"unknown_45":8669077464488185856}} 
[2026-08-05 17:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":151184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:25:21] local.INFO: GPS data processed {"connection_id":151184,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:25:21] local.INFO: Acknowledgment sent {"connection_id":151184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:25:39] local.INFO: TCP Data received {"connection_id":148755,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:25:39] local.INFO: Processing buffer {"connection_id":148755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:25:39] local.INFO: IMEI packet received {"connection_id":148755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":148755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:25:44] local.INFO: TCP Data received {"connection_id":148755,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:25:44] local.INFO: Processing buffer {"connection_id":148755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:25:44] local.INFO: IMEI packet received {"connection_id":148755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":148755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:25:45] local.INFO: TCP Data received {"connection_id":148755,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c68c30012d181cc00721aad0004a00a52a..."} 
[2026-08-05 17:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c68c30012d181cc00721aad0004a00a52a..."} 
[2026-08-05 17:25:45] local.INFO: Processing buffer {"connection_id":148755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c68c30012d181cc00721aad0004a00a52a..."} 
[2026-08-05 17:25:45] local.INFO: Packet analysis {"connection_id":148755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:25:45] local.INFO: Extracted packet for processing {"connection_id":148755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646928,"longitude_deg":75.6554944,"latitude_deg":11.9646928,"altitude":74,"angle":165,"satellites":42,"speed":4,"hex_longitude":"2d181cc0","hex_latitude":"0721aad0","is_valid_coordinates":true} 
[2026-08-05 17:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198304000001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730928544415744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376213504,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930878000,"timestamp_ms":1785930878000,"timestamp_seconds":1785930878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c68c30"} 
[2026-08-05 17:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-05 17:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198304000001,"66":14080,"105":206,"83":41984,"24":4,"16":10730928544415744,"45":1737404324376213504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198304000001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:25:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730928544415744,"km_value":10730928544415.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376213504,"description":"Unknown IO ID 45"} 
[2026-08-05 17:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198304000001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737404324376213504}} 
[2026-08-05 17:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":148755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:25:45] local.INFO: GPS data processed {"connection_id":148755,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:25:45] local.INFO: Acknowledgment sent {"connection_id":148755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:25:52] local.INFO: TCP Data received {"connection_id":151184,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c60760012d783fc005f157d00007015d25..."} 
[2026-08-05 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c60760012d783fc005f157d00007015d25..."} 
[2026-08-05 17:25:52] local.INFO: Processing buffer {"connection_id":151184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c60760012d783fc005f157d00007015d25..."} 
[2026-08-05 17:25:52] local.INFO: Packet analysis {"connection_id":151184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:25:52] local.INFO: Extracted packet for processing {"connection_id":151184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:25:52] local.INFO: GPS Element Parsed {"raw_longitude":762855360,"raw_latitude":99702736,"longitude_deg":76.285536,"latitude_deg":9.9702736,"altitude":7,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d783fc0","hex_latitude":"05f157d0","is_valid_coordinates":true} 
[2026-08-05 17:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198290688001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370711190097100800,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8666825664676057088,"note":"Value kept but may cause issues"} 
[2026-08-05 17:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785930844000,"timestamp_ms":1785930844000,"timestamp_seconds":1785930844,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c60760"} 
[2026-08-05 17:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-05 17:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198290688001,"66":27767,"198":206,"87":11776,"24":0,"16":370711190097100800,"45":8666825664676057088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-05 17:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198290688001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:25:52] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-05 17:25:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370711190097100800,"km_value":370711190097100.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8666825664676057088,"description":"Unknown IO ID 45"} 
[2026-08-05 17:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198290688001,"power":27767,"unknown_198":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8666825664676057088}} 
[2026-08-05 17:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":151184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:25:52] local.INFO: GPS data processed {"connection_id":151184,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:25:52] local.INFO: Acknowledgment sent {"connection_id":151184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:26:01] local.INFO: TCP Data received {"connection_id":148754,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c5f7c0012d7cd80005e206c80009005412..."} 
[2026-08-05 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c5f7c0012d7cd80005e206c80009005412..."} 
[2026-08-05 17:26:01] local.INFO: Processing buffer {"connection_id":148754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c5f7c0012d7cd80005e206c80009005412..."} 
[2026-08-05 17:26:01] local.INFO: Packet analysis {"connection_id":148754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:26:01] local.INFO: Extracted packet for processing {"connection_id":148754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c5"} 
[2026-08-05 17:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763156480,"raw_latitude":98698952,"longitude_deg":76.315648,"latitude_deg":9.8698952,"altitude":9,"angle":84,"satellites":18,"speed":33,"hex_longitude":"2d7cd800","hex_latitude":"05e206c8","is_valid_coordinates":true} 
[2026-08-05 17:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198292224001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114955787519918080,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987988612847427584,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785930840000,"timestamp_ms":1785930840000,"timestamp_seconds":1785930840,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c5f7c0"} 
[2026-08-05 17:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:26: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-08-05 17:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 17:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198292224001,"66":13559,"43":206,"85":15104,"24":33,"16":114955787519918080,"45":8987988612847427584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-05 17:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198292224001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:26:01] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-05 17:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114955787519918080,"km_value":114955787519918.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987988612847427584,"description":"Unknown IO ID 45"} 
[2026-08-05 17:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198292224001,"power":13559,"unknown_43":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8987988612847427584}} 
[2026-08-05 17:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":148754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:26:01] local.INFO: GPS data processed {"connection_id":148754,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:26:01] local.INFO: Acknowledgment sent {"connection_id":148754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:26:03] local.INFO: TCP Data received {"connection_id":151185,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:26:03] local.INFO: Processing buffer {"connection_id":151185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:26:03] local.INFO: IMEI packet received {"connection_id":151185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":151185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:26:08] local.INFO: TCP Data received {"connection_id":151185,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:26:08] local.INFO: Processing buffer {"connection_id":151185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:26:08] local.INFO: IMEI packet received {"connection_id":151185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":151185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:26:09] local.INFO: TCP Data received {"connection_id":151185,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c78e00012d7dda4005e203b00007004018..."} 
[2026-08-05 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c78e00012d7dda4005e203b00007004018..."} 
[2026-08-05 17:26:09] local.INFO: Processing buffer {"connection_id":151185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c78e00012d7dda4005e203b00007004018..."} 
[2026-08-05 17:26:09] local.INFO: Packet analysis {"connection_id":151185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:26:09] local.INFO: Extracted packet for processing {"connection_id":151185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":98698160,"longitude_deg":76.3222592,"latitude_deg":9.869816,"altitude":7,"angle":64,"satellites":24,"speed":38,"hex_longitude":"2d7dda40","hex_latitude":"05e203b0","is_valid_coordinates":true} 
[2026-08-05 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198320640001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114959008745390080,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064479437767956480,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785930944000,"timestamp_ms":1785930944000,"timestamp_seconds":1785930944,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c78e00"} 
[2026-08-05 17:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-05 17:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198320640001,"66":13580,"61":206,"85":15104,"24":38,"16":114959008745390080,"45":9064479437767956480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 17:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198320640001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:26:09] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 17:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114959008745390080,"km_value":114959008745390.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064479437767956480,"description":"Unknown IO ID 45"} 
[2026-08-05 17:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198320640001,"power":13580,"unknown_61":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9064479437767956480}} 
[2026-08-05 17:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":151185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:26:09] local.INFO: GPS data processed {"connection_id":151185,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:26:09] local.INFO: Acknowledgment sent {"connection_id":151185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:26:14] local.INFO: TCP Data received {"connection_id":151186,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:26:14] local.INFO: Processing buffer {"connection_id":151186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:26:14] local.INFO: IMEI packet received {"connection_id":151186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":151186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:26:16] local.INFO: TCP Data received {"connection_id":148755,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c69400012d181d000721aa10004a00932b..."} 
[2026-08-05 17:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c69400012d181d000721aa10004a00932b..."} 
[2026-08-05 17:26:16] local.INFO: Processing buffer {"connection_id":148755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c69400012d181d000721aa10004a00932b..."} 
[2026-08-05 17:26:16] local.INFO: Packet analysis {"connection_id":148755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:26:16] local.INFO: Extracted packet for processing {"connection_id":148755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646736,"longitude_deg":75.6555008,"latitude_deg":11.9646736,"altitude":74,"angle":147,"satellites":43,"speed":3,"hex_longitude":"2d181d00","hex_latitude":"0721aa10","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198304768001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730937134350336,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120315392,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785930880000,"timestamp_ms":1785930880000,"timestamp_seconds":1785930880,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c69400"} 
[2026-08-05 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-08-05 17:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 17:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3519354160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:16] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13462121,"corrected_to":0} 
[2026-08-05 17:26:16] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3316228097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2914517064,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 17:26:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,31,159,128,45,171,74,42,10,66,77,173,72,39,251,1,240,246,227,209,33,4,113,205,103,30,208,239,48,2,38,7,76],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":246,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 17:26:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332443558614138880,"timestamp_seconds":5332443558614139.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 17:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198304768001,"66":14157,"105":206,"83":41984,"24":3,"16":10730937134350336,"45":1737474693120315392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198304768001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:26:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:26:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730937134350336,"km_value":10730937134350.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120315392,"description":"Unknown IO ID 45"} 
[2026-08-05 17:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198304768001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737474693120315392}} 
[2026-08-05 17:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":148755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:26:17] local.INFO: GPS data processed {"connection_id":148755,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:26:17] local.INFO: Acknowledgment sent {"connection_id":148755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:26:19] local.INFO: TCP Data received {"connection_id":151186,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:26:19] local.INFO: Processing buffer {"connection_id":151186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:26:19] local.INFO: IMEI packet received {"connection_id":151186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":151186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:26:20] local.INFO: TCP Data received {"connection_id":151186,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c65968012d783f8005f15b30000a015d2a..."} 
[2026-08-05 17:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c65968012d783f8005f15b30000a015d2a..."} 
[2026-08-05 17:26:20] local.INFO: Processing buffer {"connection_id":151186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c65968012d783f8005f15b30000a015d2a..."} 
[2026-08-05 17:26:20] local.INFO: Packet analysis {"connection_id":151186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:26:20] local.INFO: Extracted packet for processing {"connection_id":151186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:26:20] local.INFO: GPS Element Parsed {"raw_longitude":762855296,"raw_latitude":99703600,"longitude_deg":76.2855296,"latitude_deg":9.97036,"altitude":10,"angle":349,"satellites":42,"speed":0,"hex_longitude":"2d783f80","hex_latitude":"05f15b30","is_valid_coordinates":true} 
[2026-08-05 17:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198296064001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370711233046773760,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8664855339840557056,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785930865000,"timestamp_ms":1785930865000,"timestamp_seconds":1785930865,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c65968"} 
[2026-08-05 17:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:26: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-08-05 17:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198296064001,"66":27919,"198":206,"87":11776,"24":0,"16":370711233046773760,"45":8664855339840557056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-05 17:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198296064001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:26:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-05 17:26:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370711233046773760,"km_value":370711233046773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8664855339840557056,"description":"Unknown IO ID 45"} 
[2026-08-05 17:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198296064001,"power":27919,"unknown_198":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8664855339840557056}} 
[2026-08-05 17:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":151186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:26:20] local.INFO: GPS data processed {"connection_id":151186,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:26:20] local.INFO: Acknowledgment sent {"connection_id":151186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:26:39] local.INFO: TCP Data received {"connection_id":151187,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:39] local.INFO: Processing buffer {"connection_id":151187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:39] local.INFO: IMEI packet received {"connection_id":151187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":151187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:26:40] local.INFO: TCP Data received {"connection_id":151187,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:40] local.INFO: Processing buffer {"connection_id":151187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:40] local.INFO: IMEI packet received {"connection_id":151187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":151187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:26:40] local.INFO: TCP Data received {"connection_id":151185,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c7b8f8012d7dfa8005e212480007004818..."} 
[2026-08-05 17:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c7b8f8012d7dfa8005e212480007004818..."} 
[2026-08-05 17:26:40] local.INFO: Processing buffer {"connection_id":151185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c7b8f8012d7dfa8005e212480007004818..."} 
[2026-08-05 17:26:40] local.INFO: Packet analysis {"connection_id":151185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:26:40] local.INFO: Extracted packet for processing {"connection_id":151185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763230848,"raw_latitude":98701896,"longitude_deg":76.3230848,"latitude_deg":9.8701896,"altitude":7,"angle":72,"satellites":24,"speed":24,"hex_longitude":"2d7dfa80","hex_latitude":"05e21248","is_valid_coordinates":true} 
[2026-08-05 17:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198321664001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114959446832054272,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631193674821632,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785930955000,"timestamp_ms":1785930955000,"timestamp_seconds":1785930955,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c7b8f8"} 
[2026-08-05 17:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751618152,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3519464160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7464463494692208640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3341572097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110798891,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2818649469,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376782,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792177152,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2251806282091593743,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-6484957727800897963,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:40] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,61,85,24,241,157,16,106,159,126,45,128,253,7,10,66,118,192,252,43,99,1,240,34,227,209,226,4,113,205,25,245,105,216,19,239,52,2,152,5,17,27,125,51,59],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-08-05 17:26:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504473630091378688,"timestamp_seconds":504473630091378.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198321664001,"66":12982,"61":206,"85":15104,"24":24,"16":114959446832054272,"45":9068631193674821632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 17:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198321664001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:26:40] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 17:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114959446832054272,"km_value":114959446832054.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631193674821632,"description":"Unknown IO ID 45"} 
[2026-08-05 17:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198321664001,"power":12982,"unknown_61":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9068631193674821632}} 
[2026-08-05 17:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":151185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:26:40] local.INFO: GPS data processed {"connection_id":151185,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:26:40] local.INFO: Acknowledgment sent {"connection_id":151185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:26:41] local.INFO: TCP Data received {"connection_id":151187,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:41] local.INFO: Processing buffer {"connection_id":151187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:41] local.INFO: IMEI packet received {"connection_id":151187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":151187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:26:44] local.INFO: TCP Data received {"connection_id":151187,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:44] local.INFO: Processing buffer {"connection_id":151187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:26:44] local.INFO: IMEI packet received {"connection_id":151187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":151187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:26:45] local.INFO: TCP Data received {"connection_id":151187,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c69fb8012d181e400721a8a8004a00792b..."} 
[2026-08-05 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c69fb8012d181e400721a8a8004a00792b..."} 
[2026-08-05 17:26:45] local.INFO: Processing buffer {"connection_id":151187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c69fb8012d181e400721a8a8004a00792b..."} 
[2026-08-05 17:26:45] local.INFO: Packet analysis {"connection_id":151187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:26:45] local.INFO: Extracted packet for processing {"connection_id":151187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646376,"longitude_deg":75.6555328,"latitude_deg":11.9646376,"altitude":74,"angle":121,"satellites":43,"speed":8,"hex_longitude":"2d181e40","hex_latitude":"0721a8a8","is_valid_coordinates":true} 
[2026-08-05 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198305280001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10730958609186816,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864443904,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930883000,"timestamp_ms":1785930883000,"timestamp_seconds":1785930883,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c69fb8"} 
[2026-08-05 17:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-05 17:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198305280001,"66":14135,"105":206,"83":41984,"24":8,"16":10730958609186816,"45":1737545061864443904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198305280001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:26:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:26:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10730958609186816,"km_value":10730958609186.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864443904,"description":"Unknown IO ID 45"} 
[2026-08-05 17:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198305280001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737545061864443904}} 
[2026-08-05 17:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":151187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:26:45] local.INFO: GPS data processed {"connection_id":151187,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:26:45] local.INFO: Acknowledgment sent {"connection_id":151187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:26:51] local.INFO: TCP Data received {"connection_id":151186,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c6ab70012d783f8005f15b30000a015d2c..."} 
[2026-08-05 17:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c6ab70012d783f8005f15b30000a015d2c..."} 
[2026-08-05 17:26:51] local.INFO: Processing buffer {"connection_id":151186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c6ab70012d783f8005f15b30000a015d2c..."} 
[2026-08-05 17:26:51] local.INFO: Packet analysis {"connection_id":151186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:26:51] local.INFO: Extracted packet for processing {"connection_id":151186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:26:51] local.INFO: GPS Element Parsed {"raw_longitude":762855296,"raw_latitude":99703600,"longitude_deg":76.2855296,"latitude_deg":9.97036,"altitude":10,"angle":349,"satellites":44,"speed":0,"hex_longitude":"2d783f80","hex_latitude":"05f15b30","is_valid_coordinates":true} 
[2026-08-05 17:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198301440001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370711233046773760,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8664784971096600576,"note":"Value kept but may cause issues"} 
[2026-08-05 17:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785930886000,"timestamp_ms":1785930886000,"timestamp_seconds":1785930886,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c6ab70"} 
[2026-08-05 17:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 17:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198301440001,"66":27974,"198":206,"87":11776,"24":0,"16":370711233046773760,"45":8664784971096600576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-05 17:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198301440001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:26:51] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-05 17:26:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370711233046773760,"km_value":370711233046773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8664784971096600576,"description":"Unknown IO ID 45"} 
[2026-08-05 17:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198301440001,"power":27974,"unknown_198":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8664784971096600576}} 
[2026-08-05 17:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":151186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:26:51] local.INFO: GPS data processed {"connection_id":151186,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:26:51] local.INFO: Acknowledgment sent {"connection_id":151186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:27:10] local.INFO: TCP Data received {"connection_id":148756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:27:10] local.INFO: Processing buffer {"connection_id":148756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:27:10] local.INFO: IMEI packet received {"connection_id":148756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":148756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:27:11] local.INFO: TCP Data received {"connection_id":148756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:27:11] local.INFO: Processing buffer {"connection_id":148756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:27:11] local.INFO: IMEI packet received {"connection_id":148756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":148756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:27:13] local.INFO: TCP Data received {"connection_id":148756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:27:13] local.INFO: Processing buffer {"connection_id":148756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:27:13] local.INFO: IMEI packet received {"connection_id":148756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":148756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:27:14] local.INFO: TCP Data received {"connection_id":148756,"ip":"42.106.6.18","data_length":1340,"data_hex":"000000000000030f8e0a0000019fd1c8a740012d7e1c4005e1a368000700bf18..."} 
[2026-08-05 17:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148756,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019fd1c8a740012d7e1c4005e1a368000700bf18..."} 
[2026-08-05 17:27:14] local.INFO: Processing buffer {"connection_id":148756,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019fd1c8a740012d7e1c4005e1a368000700bf18..."} 
[2026-08-05 17:27:14] local.INFO: Packet analysis {"connection_id":148756,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019fd1c8"} 
[2026-08-05 17:27:14] local.INFO: Extracted packet for processing {"connection_id":148756,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019fd1c8"} 
[2026-08-05 17:27:14] local.INFO: GPS Element Parsed {"raw_longitude":763239488,"raw_latitude":98673512,"longitude_deg":76.3239488,"latitude_deg":9.8673512,"altitude":7,"angle":191,"satellites":24,"speed":36,"hex_longitude":"2d7e1c40","hex_latitude":"05e1a368","is_valid_coordinates":true} 
[2026-08-05 17:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198338816001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114961405337141248,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089601079434541056,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785931016000,"timestamp_ms":1785931016000,"timestamp_seconds":1785931016,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c8a740"} 
[2026-08-05 17:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-05 17:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198338816001,"66":13189,"61":206,"85":15104,"24":36,"16":114961405337141248,"45":9089601079434541056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 17:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198338816001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:27:14] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 17:27:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114961405337141248,"km_value":114961405337141.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089601079434541056,"description":"Unknown IO ID 45"} 
[2026-08-05 17:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198338816001,"power":13189,"unknown_61":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9089601079434541056}} 
[2026-08-05 17:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":148756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:27:14] local.INFO: GPS data processed {"connection_id":148756,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:27:14] local.INFO: Acknowledgment sent {"connection_id":148756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:27:14] local.INFO: Packet analysis {"connection_id":148756,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019fd1c8"} 
[2026-08-05 17:27:14] local.INFO: Incomplete packet, waiting for more data {"connection_id":148756,"needed":795,"available":545} 
[2026-08-05 17:27:14] local.INFO: TCP Data received {"connection_id":149762,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:27:14] local.INFO: Processing buffer {"connection_id":149762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:27:14] local.INFO: IMEI packet received {"connection_id":149762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":149762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:27:14] local.INFO: TCP Data received {"connection_id":148756,"ip":"42.106.6.18","data_length":250,"data_hex":"e3001001986ba7000000000000019fd1c835f8012d7e2bc005e2096800050096..."} 
[2026-08-05 17:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148756,"packet_length":250,"packet_hex":"e3001001986ba7000000000000019fd1c835f8012d7e2bc005e2096800050096..."} 
[2026-08-05 17:27:14] local.INFO: Processing buffer {"connection_id":148756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c8ce50012d7e190005e17fd8000400ba19..."} 
[2026-08-05 17:27:14] local.INFO: Packet analysis {"connection_id":148756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c8"} 
[2026-08-05 17:27:14] local.INFO: Extracted packet for processing {"connection_id":148756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c8"} 
[2026-08-05 17:27:14] local.INFO: GPS Element Parsed {"raw_longitude":763238656,"raw_latitude":98664408,"longitude_deg":76.3238656,"latitude_deg":9.8664408,"altitude":4,"angle":186,"satellites":25,"speed":36,"hex_longitude":"2d7e1900","hex_latitude":"05e17fd8","is_valid_coordinates":true} 
[2026-08-05 17:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198340096001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114961852013740032,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087208542131415040,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785931026000,"timestamp_ms":1785931026000,"timestamp_seconds":1785931026,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c8ce50"} 
[2026-08-05 17:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-05 17:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198340096001,"66":13319,"61":206,"85":15104,"24":36,"16":114961852013740032,"45":9087208542131415040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 17:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198340096001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:27:14] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 17:27:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114961852013740032,"km_value":114961852013740.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087208542131415040,"description":"Unknown IO ID 45"} 
[2026-08-05 17:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198340096001,"power":13319,"unknown_61":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9087208542131415040}} 
[2026-08-05 17:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":148756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:27:14] local.INFO: GPS data processed {"connection_id":148756,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:27:14] local.INFO: Acknowledgment sent {"connection_id":148756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:27:16] local.INFO: TCP Data received {"connection_id":151187,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c85150012d18d10007211228003d00e82a..."} 
[2026-08-05 17:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c85150012d18d10007211228003d00e82a..."} 
[2026-08-05 17:27:16] local.INFO: Processing buffer {"connection_id":151187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c85150012d18d10007211228003d00e82a..."} 
[2026-08-05 17:27:16] local.INFO: Packet analysis {"connection_id":151187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c8"} 
[2026-08-05 17:27:16] local.INFO: Extracted packet for processing {"connection_id":151187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c8"} 
[2026-08-05 17:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119607848,"longitude_deg":75.6601088,"latitude_deg":11.9607848,"altitude":61,"angle":232,"satellites":42,"speed":9,"hex_longitude":"2d18d100","hex_latitude":"07211228","is_valid_coordinates":true} 
[2026-08-05 17:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198334208001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10734201309495296,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894974464,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785930994000,"timestamp_ms":1785930994000,"timestamp_seconds":1785930994,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c85150"} 
[2026-08-05 17:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 17:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198334208001,"66":14026,"103":206,"83":41984,"24":9,"16":10734201309495296,"45":1788421663894974464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198334208001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:27:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:27:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10734201309495296,"km_value":10734201309495.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894974464,"description":"Unknown IO ID 45"} 
[2026-08-05 17:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198334208001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1788421663894974464}} 
[2026-08-05 17:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":151187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:27:16] local.INFO: GPS data processed {"connection_id":151187,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:27:16] local.INFO: Acknowledgment sent {"connection_id":151187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:27:19] local.INFO: TCP Data received {"connection_id":148756,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c8e1d8012d7e188005e16dd0000400ad19..."} 
[2026-08-05 17:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c8e1d8012d7e188005e16dd0000400ad19..."} 
[2026-08-05 17:27:19] local.INFO: Processing buffer {"connection_id":148756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c8e1d8012d7e188005e16dd0000400ad19..."} 
[2026-08-05 17:27:19] local.INFO: Packet analysis {"connection_id":148756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c8"} 
[2026-08-05 17:27:19] local.INFO: Extracted packet for processing {"connection_id":148756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c8"} 
[2026-08-05 17:27:19] local.INFO: GPS Element Parsed {"raw_longitude":763238528,"raw_latitude":98659792,"longitude_deg":76.3238528,"latitude_deg":9.8659792,"altitude":4,"angle":173,"satellites":25,"speed":36,"hex_longitude":"2d7e1880","hex_latitude":"05e16dd0","is_valid_coordinates":true} 
[2026-08-05 17:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198342656001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114962075352039424,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086293748454774784,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785931031000,"timestamp_ms":1785931031000,"timestamp_seconds":1785931031,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c8e1d8"} 
[2026-08-05 17:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3519561160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3362820097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3570925576,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3221611001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827495,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3791992832,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57886250674050363,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3888859573136375813,"corrected_to":0} 
[2026-08-05 17:27:19] local.WARNING: Large IO value detected {"io_id":226,"raw_value":677791765403932928,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:19] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,61,85,24,241,157,16,109,159,167,45,64,163,7,10,66,108,147,192,179,8,136,128,1,240,187,227,209,225,4,113,205,42,77,44,120,25,239,52,2,152,5,22,62,200,226],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0},{"io_id":200,"original":3888859573136375813,"validated":0}]} 
[2026-08-05 17:27:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288434992691019776,"timestamp_seconds":288434992691019.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198342656001,"66":13276,"61":206,"85":15104,"24":36,"16":114962075352039424,"45":9086293748454774784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-05 17:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198342656001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:27:19] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-05 17:27:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114962075352039424,"km_value":114962075352039.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086293748454774784,"description":"Unknown IO ID 45"} 
[2026-08-05 17:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198342656001,"power":13276,"unknown_61":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9086293748454774784}} 
[2026-08-05 17:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":148756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:27:19] local.INFO: GPS data processed {"connection_id":148756,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:27:19] local.INFO: Acknowledgment sent {"connection_id":148756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:27:19] local.INFO: TCP Data received {"connection_id":149762,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:27:19] local.INFO: Processing buffer {"connection_id":149762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:27:19] local.INFO: IMEI packet received {"connection_id":149762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":149762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:27:20] local.INFO: TCP Data received {"connection_id":149762,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c6fd78012d783dc005f16270000b01582d..."} 
[2026-08-05 17:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c6fd78012d783dc005f16270000b01582d..."} 
[2026-08-05 17:27:20] local.INFO: Processing buffer {"connection_id":149762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c6fd78012d783dc005f16270000b01582d..."} 
[2026-08-05 17:27:20] local.INFO: Packet analysis {"connection_id":149762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:27:20] local.INFO: Extracted packet for processing {"connection_id":149762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c6"} 
[2026-08-05 17:27:20] local.INFO: GPS Element Parsed {"raw_longitude":762854848,"raw_latitude":99705456,"longitude_deg":76.2854848,"latitude_deg":9.9705456,"altitude":11,"angle":344,"satellites":45,"speed":9,"hex_longitude":"2d783dc0","hex_latitude":"05f16270","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198306816001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370711327536054272,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8664784971096600576,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785930907000,"timestamp_ms":1785930907000,"timestamp_seconds":1785930907,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c6fd78"} 
[2026-08-05 17:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 17:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198306816001,"66":27865,"198":206,"87":11776,"24":9,"16":370711327536054272,"45":8664784971096600576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-05 17:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198306816001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:27:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-05 17:27:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370711327536054272,"km_value":370711327536054.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8664784971096600576,"description":"Unknown IO ID 45"} 
[2026-08-05 17:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198306816001,"power":27865,"unknown_198":206,"unknown_87":11776,"ignition":9,"odometer":null,"unknown_45":8664784971096600576}} 
[2026-08-05 17:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":149762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:27:20] local.INFO: GPS data processed {"connection_id":149762,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:27:20] local.INFO: Acknowledgment sent {"connection_id":149762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:27:38] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:27:38] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:27:38] local.INFO: IMEI packet received {"connection_id":148547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":148547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:27:39] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:27:39] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:27:39] local.INFO: IMEI packet received {"connection_id":148547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":148547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:27:44] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:27:44] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:27:44] local.INFO: IMEI packet received {"connection_id":148547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":148547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:27:45] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c85538012d18d04007211210003c01042a..."} 
[2026-08-05 17:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c85538012d18d04007211210003c01042a..."} 
[2026-08-05 17:27:45] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c85538012d18d04007211210003c01042a..."} 
[2026-08-05 17:27:45] local.INFO: Packet analysis {"connection_id":148547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c8"} 
[2026-08-05 17:27:45] local.INFO: Extracted packet for processing {"connection_id":148547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c8"} 
[2026-08-05 17:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119607824,"longitude_deg":75.6600896,"latitude_deg":11.9607824,"altitude":60,"angle":260,"satellites":42,"speed":9,"hex_longitude":"2d18d040","hex_latitude":"07211210","is_valid_coordinates":true} 
[2026-08-05 17:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198334464001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10734209899429888,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557662406656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785930995000,"timestamp_ms":1785930995000,"timestamp_seconds":1785930995,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c85538"} 
[2026-08-05 17:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-05 17:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198334464001,"66":14026,"103":206,"83":41984,"24":9,"16":10734209899429888,"45":1788210557662406656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198334464001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:27:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10734209899429888,"km_value":10734209899429.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557662406656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198334464001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1788210557662406656}} 
[2026-08-05 17:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":148547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:27:45] local.INFO: GPS data processed {"connection_id":148547,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:27:45] local.INFO: Acknowledgment sent {"connection_id":148547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:27:52] local.INFO: TCP Data received {"connection_id":149762,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c74f80012d783cc005f173a8001301562e..."} 
[2026-08-05 17:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c74f80012d783cc005f173a8001301562e..."} 
[2026-08-05 17:27:52] local.INFO: Processing buffer {"connection_id":149762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c74f80012d783cc005f173a8001301562e..."} 
[2026-08-05 17:27:52] local.INFO: Packet analysis {"connection_id":149762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:27:52] local.INFO: Extracted packet for processing {"connection_id":149762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:27:52] local.INFO: GPS Element Parsed {"raw_longitude":762854592,"raw_latitude":99709864,"longitude_deg":76.2854592,"latitude_deg":9.9709864,"altitude":19,"angle":342,"satellites":46,"speed":10,"hex_longitude":"2d783cc0","hex_latitude":"05f173a8","is_valid_coordinates":true} 
[2026-08-05 17:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198312192001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370711546579386368,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8664292389887832064,"note":"Value kept but may cause issues"} 
[2026-08-05 17:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785930928000,"timestamp_ms":1785930928000,"timestamp_seconds":1785930928,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c74f80"} 
[2026-08-05 17:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 17:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198312192001,"66":27745,"198":206,"87":11776,"24":10,"16":370711546579386368,"45":8664292389887832064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-05 17:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198312192001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:27:52] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-05 17:27:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370711546579386368,"km_value":370711546579386.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8664292389887832064,"description":"Unknown IO ID 45"} 
[2026-08-05 17:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198312192001,"power":27745,"unknown_198":206,"unknown_87":11776,"ignition":10,"odometer":null,"unknown_45":8664292389887832064}} 
[2026-08-05 17:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":149762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:27:52] local.INFO: GPS data processed {"connection_id":149762,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:27:52] local.INFO: Acknowledgment sent {"connection_id":149762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:28:03] local.INFO: TCP Data received {"connection_id":151188,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:28:03] local.INFO: Processing buffer {"connection_id":151188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:28:03] local.INFO: IMEI packet received {"connection_id":151188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":151188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:28:08] local.INFO: TCP Data received {"connection_id":151188,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:28:08] local.INFO: Processing buffer {"connection_id":151188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:28:08] local.INFO: IMEI packet received {"connection_id":151188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":151188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:28:09] local.INFO: TCP Data received {"connection_id":151188,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c91c70012d7e1d0005e14ab0000500ad19..."} 
[2026-08-05 17:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c91c70012d7e1d0005e14ab0000500ad19..."} 
[2026-08-05 17:28:09] local.INFO: Processing buffer {"connection_id":151188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c91c70012d7e1d0005e14ab0000500ad19..."} 
[2026-08-05 17:28:09] local.INFO: Packet analysis {"connection_id":151188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:28:09] local.INFO: Extracted packet for processing {"connection_id":151188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763239680,"raw_latitude":98650800,"longitude_deg":76.323968,"latitude_deg":9.86508,"altitude":5,"angle":173,"satellites":25,"speed":28,"hex_longitude":"2d7e1d00","hex_latitude":"05e14ab0","is_valid_coordinates":true} 
[2026-08-05 17:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198343936001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114962517733670912,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086153010965237760,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785931046000,"timestamp_ms":1785931046000,"timestamp_seconds":1785931046,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c91c70"} 
[2026-08-05 17:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-05 17:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198343936001,"66":13396,"105":206,"85":15104,"24":28,"16":114962517733670912,"45":9086153010965237760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 17:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198343936001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:28:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114962517733670912,"km_value":114962517733670.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086153010965237760,"description":"Unknown IO ID 45"} 
[2026-08-05 17:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198343936001,"power":13396,"unknown_105":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9086153010965237760}} 
[2026-08-05 17:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":151188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:28:09] local.INFO: GPS data processed {"connection_id":151188,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:28:09] local.INFO: Acknowledgment sent {"connection_id":151188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:28:14] local.INFO: TCP Data received {"connection_id":149763,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:28:14] local.INFO: Processing buffer {"connection_id":149763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:28:14] local.INFO: IMEI packet received {"connection_id":149763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":149763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:28:16] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c93f98012d1893000720efc0003a00b026..."} 
[2026-08-05 17:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c93f98012d1893000720efc0003a00b026..."} 
[2026-08-05 17:28:16] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c93f98012d1893000720efc0003a00b026..."} 
[2026-08-05 17:28:16] local.INFO: Packet analysis {"connection_id":148547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:28:16] local.INFO: Extracted packet for processing {"connection_id":148547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756585216,"raw_latitude":119599040,"longitude_deg":75.6585216,"latitude_deg":11.959904,"altitude":58,"angle":176,"satellites":38,"speed":12,"hex_longitude":"2d189300","hex_latitude":"0720efc0","is_valid_coordinates":true} 
[2026-08-05 17:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198349824001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10735468324847616,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770759109104162816,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931055000,"timestamp_ms":1785931055000,"timestamp_seconds":1785931055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c93f98"} 
[2026-08-05 17:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-05 17:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198349824001,"66":14004,"103":206,"83":41984,"24":12,"16":10735468324847616,"45":1770759109104162816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198349824001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:28:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10735468324847616,"km_value":10735468324847.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770759109104162816,"description":"Unknown IO ID 45"} 
[2026-08-05 17:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198349824001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1770759109104162816}} 
[2026-08-05 17:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":148547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:28:16] local.INFO: GPS data processed {"connection_id":148547,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:28:16] local.INFO: Acknowledgment sent {"connection_id":148547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:28:19] local.INFO: TCP Data received {"connection_id":149763,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:28:19] local.INFO: Processing buffer {"connection_id":149763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:28:19] local.INFO: IMEI packet received {"connection_id":149763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":149763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:28:22] local.INFO: TCP Data received {"connection_id":149763,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c75368012d783c8005f174d8001301612e..."} 
[2026-08-05 17:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c75368012d783c8005f174d8001301612e..."} 
[2026-08-05 17:28:22] local.INFO: Processing buffer {"connection_id":149763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c75368012d783c8005f174d8001301612e..."} 
[2026-08-05 17:28:22] local.INFO: Packet analysis {"connection_id":149763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:28:22] local.INFO: Extracted packet for processing {"connection_id":149763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:28:22] local.INFO: GPS Element Parsed {"raw_longitude":762854528,"raw_latitude":99710168,"longitude_deg":76.2854528,"latitude_deg":9.9710168,"altitude":19,"angle":353,"satellites":46,"speed":10,"hex_longitude":"2d783c80","hex_latitude":"05f174d8","is_valid_coordinates":true} 
[2026-08-05 17:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198317568001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370711563759255552,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8664010914912249856,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28: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-08-05 17:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785930929000,"timestamp_ms":1785930929000,"timestamp_seconds":1785930929,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c75368"} 
[2026-08-05 17:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198317568001,"66":27865,"198":206,"87":11776,"24":10,"16":370711563759255552,"45":8664010914912249856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-05 17:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198317568001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:28:22] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-05 17:28:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370711563759255552,"km_value":370711563759255.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8664010914912249856,"description":"Unknown IO ID 45"} 
[2026-08-05 17:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198317568001,"power":27865,"unknown_198":206,"unknown_87":11776,"ignition":10,"odometer":null,"unknown_45":8664010914912249856}} 
[2026-08-05 17:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":149763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:28:22] local.INFO: GPS data processed {"connection_id":149763,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:28:22] local.INFO: Acknowledgment sent {"connection_id":149763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:28:39] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:28:39] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:28:39] local.INFO: IMEI packet received {"connection_id":148548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":148548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:28:40] local.INFO: TCP Data received {"connection_id":151188,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ca2610012d7e348005e0a8d00009009019..."} 
[2026-08-05 17:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ca2610012d7e348005e0a8d00009009019..."} 
[2026-08-05 17:28:40] local.INFO: Processing buffer {"connection_id":151188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ca2610012d7e348005e0a8d00009009019..."} 
[2026-08-05 17:28:40] local.INFO: Packet analysis {"connection_id":151188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:28:40] local.INFO: Extracted packet for processing {"connection_id":151188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763245696,"raw_latitude":98609360,"longitude_deg":76.3245696,"latitude_deg":9.860936,"altitude":9,"angle":144,"satellites":25,"speed":39,"hex_longitude":"2d7e3480","hex_latitude":"05e0a8d0","is_valid_coordinates":true} 
[2026-08-05 17:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198364672001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114964781181435904,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092697304161257472,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785931114000,"timestamp_ms":1785931114000,"timestamp_seconds":1785931114,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ca2610"} 
[2026-08-05 17:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-05 17:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198364672001,"66":13254,"105":206,"85":15104,"24":39,"16":114964781181435904,"45":9092697304161257472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 17:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198364672001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:28:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114964781181435904,"km_value":114964781181435.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092697304161257472,"description":"Unknown IO ID 45"} 
[2026-08-05 17:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198364672001,"power":13254,"unknown_105":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9092697304161257472}} 
[2026-08-05 17:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":151188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:28:40] local.INFO: GPS data processed {"connection_id":151188,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:28:40] local.INFO: Acknowledgment sent {"connection_id":151188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:28:44] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:28:44] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:28:44] local.INFO: IMEI packet received {"connection_id":148548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":148548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:28:45] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c98db8012d18a3400720ddf0003c009727..."} 
[2026-08-05 17:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c98db8012d18a3400720ddf0003c009727..."} 
[2026-08-05 17:28:45] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c98db8012d18a3400720ddf0003c009727..."} 
[2026-08-05 17:28:45] local.INFO: Packet analysis {"connection_id":148548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:28:45] local.INFO: Extracted packet for processing {"connection_id":148548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756589376,"raw_latitude":119594480,"longitude_deg":75.6589376,"latitude_deg":11.959448,"altitude":60,"angle":151,"satellites":39,"speed":13,"hex_longitude":"2d18a340","hex_latitude":"0720ddf0","is_valid_coordinates":true} 
[2026-08-05 17:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198354944001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10735872051773440,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775051602497824768,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931075000,"timestamp_ms":1785931075000,"timestamp_seconds":1785931075,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c98db8"} 
[2026-08-05 17:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 17:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198354944001,"66":14070,"103":206,"83":41984,"24":13,"16":10735872051773440,"45":1775051602497824768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198354944001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:28:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10735872051773440,"km_value":10735872051773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775051602497824768,"description":"Unknown IO ID 45"} 
[2026-08-05 17:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198354944001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1775051602497824768}} 
[2026-08-05 17:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":148548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:28:45] local.INFO: GPS data processed {"connection_id":148548,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:28:45] local.INFO: Acknowledgment sent {"connection_id":148548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:28:54] local.INFO: TCP Data received {"connection_id":149763,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c7a570012d783bc005f179e8001701602e..."} 
[2026-08-05 17:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c7a570012d783bc005f179e8001701602e..."} 
[2026-08-05 17:28:54] local.INFO: Processing buffer {"connection_id":149763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c7a570012d783bc005f179e8001701602e..."} 
[2026-08-05 17:28:54] local.INFO: Packet analysis {"connection_id":149763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:28:54] local.INFO: Extracted packet for processing {"connection_id":149763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:28:54] local.INFO: GPS Element Parsed {"raw_longitude":762854336,"raw_latitude":99711464,"longitude_deg":76.2854336,"latitude_deg":9.9711464,"altitude":23,"angle":352,"satellites":46,"speed":0,"hex_longitude":"2d783bc0","hex_latitude":"05f179e8","is_valid_coordinates":true} 
[2026-08-05 17:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198317824001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370711628183764992,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8663940546168150016,"note":"Value kept but may cause issues"} 
[2026-08-05 17:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785930950000,"timestamp_ms":1785930950000,"timestamp_seconds":1785930950,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c7a570"} 
[2026-08-05 17:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 17:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198317824001,"66":27908,"230":206,"87":11776,"24":0,"16":370711628183764992,"45":8663940546168150016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,87,24,16,45]} 
[2026-08-05 17:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198317824001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:28:54] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-05 17:28:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370711628183764992,"km_value":370711628183765.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8663940546168150016,"description":"Unknown IO ID 45"} 
[2026-08-05 17:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198317824001,"power":27908,"unknown_230":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8663940546168150016}} 
[2026-08-05 17:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":149763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:28:54] local.INFO: GPS data processed {"connection_id":149763,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:28:54] local.INFO: Acknowledgment sent {"connection_id":149763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:29:03] local.INFO: TCP Data received {"connection_id":148757,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:29:03] local.INFO: Processing buffer {"connection_id":148757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:29:03] local.INFO: IMEI packet received {"connection_id":148757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":148757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:29:04] local.INFO: TCP Data received {"connection_id":148757,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:29:04] local.INFO: Processing buffer {"connection_id":148757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:29:04] local.INFO: IMEI packet received {"connection_id":148757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":148757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:29:08] local.INFO: TCP Data received {"connection_id":148757,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:29:08] local.INFO: Processing buffer {"connection_id":148757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:29:08] local.INFO: IMEI packet received {"connection_id":148757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":148757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:29:09] local.INFO: TCP Data received {"connection_id":148757,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ca29f8012d7e35c005e0a4d80009009c19..."} 
[2026-08-05 17:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ca29f8012d7e35c005e0a4d80009009c19..."} 
[2026-08-05 17:29:09] local.INFO: Processing buffer {"connection_id":148757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ca29f8012d7e35c005e0a4d80009009c19..."} 
[2026-08-05 17:29:09] local.INFO: Packet analysis {"connection_id":148757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:29:09] local.INFO: Extracted packet for processing {"connection_id":148757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:29:09] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":98608344,"longitude_deg":76.3246016,"latitude_deg":9.8608344,"altitude":9,"angle":156,"satellites":25,"speed":39,"hex_longitude":"2d7e35c0","hex_latitude":"05e0a4d8","is_valid_coordinates":true} 
[2026-08-05 17:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198365184001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114964832721043456,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094034310300225536,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785931115000,"timestamp_ms":1785931115000,"timestamp_seconds":1785931115,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ca29f8"} 
[2026-08-05 17:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-05 17:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198365184001,"66":13276,"105":206,"85":15104,"24":39,"16":114964832721043456,"45":9094034310300225536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 17:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198365184001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:29:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114964832721043456,"km_value":114964832721043.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094034310300225536,"description":"Unknown IO ID 45"} 
[2026-08-05 17:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198365184001,"power":13276,"unknown_105":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9094034310300225536}} 
[2026-08-05 17:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":148757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:29:09] local.INFO: GPS data processed {"connection_id":148757,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:29:09] local.INFO: Acknowledgment sent {"connection_id":148757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:29:14] local.INFO: TCP Data received {"connection_id":149764,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:29:14] local.INFO: Processing buffer {"connection_id":149764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:29:14] local.INFO: IMEI packet received {"connection_id":149764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":149764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:29:17] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c991a0012d18a3c00720dcc0003c00b027..."} 
[2026-08-05 17:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c991a0012d18a3c00720dcc0003c00b027..."} 
[2026-08-05 17:29:17] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c991a0012d18a3c00720dcc0003c00b027..."} 
[2026-08-05 17:29:17] local.INFO: Packet analysis {"connection_id":148548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:29:17] local.INFO: Extracted packet for processing {"connection_id":148548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119594176,"longitude_deg":75.6589504,"latitude_deg":11.9594176,"altitude":60,"angle":176,"satellites":39,"speed":12,"hex_longitude":"2d18a3c0","hex_latitude":"0720dcc0","is_valid_coordinates":true} 
[2026-08-05 17:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198355200001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10735889231642624,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775333077474471936,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785931076000,"timestamp_ms":1785931076000,"timestamp_seconds":1785931076,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c991a0"} 
[2026-08-05 17:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 17:29: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-08-05 17:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198355200001,"66":13993,"103":206,"83":41984,"24":12,"16":10735889231642624,"45":1775333077474471936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198355200001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:29:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10735889231642624,"km_value":10735889231642.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775333077474471936,"description":"Unknown IO ID 45"} 
[2026-08-05 17:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198355200001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1775333077474471936}} 
[2026-08-05 17:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":148548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:29:17] local.INFO: GPS data processed {"connection_id":148548,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:29:17] local.INFO: Acknowledgment sent {"connection_id":148548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:29:22] local.INFO: TCP Data received {"connection_id":149764,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:29:22] local.INFO: Processing buffer {"connection_id":149764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:29:22] local.INFO: IMEI packet received {"connection_id":149764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":149764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:29:26] local.INFO: TCP Data received {"connection_id":149764,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c7f778012d783bc005f179e8001701602c..."} 
[2026-08-05 17:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c7f778012d783bc005f179e8001701602c..."} 
[2026-08-05 17:29:26] local.INFO: Processing buffer {"connection_id":149764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c7f778012d783bc005f179e8001701602c..."} 
[2026-08-05 17:29:26] local.INFO: Packet analysis {"connection_id":149764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:29:26] local.INFO: Extracted packet for processing {"connection_id":149764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c7"} 
[2026-08-05 17:29:26] local.INFO: GPS Element Parsed {"raw_longitude":762854336,"raw_latitude":99711464,"longitude_deg":76.2854336,"latitude_deg":9.9711464,"altitude":23,"angle":352,"satellites":44,"speed":0,"hex_longitude":"2d783bc0","hex_latitude":"05f179e8","is_valid_coordinates":true} 
[2026-08-05 17:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198323200001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370711628183764992,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8663729439935948800,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785930971000,"timestamp_ms":1785930971000,"timestamp_seconds":1785930971,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c7f778"} 
[2026-08-05 17:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198323200001,"66":27974,"230":206,"87":11776,"24":0,"16":370711628183764992,"45":8663729439935948800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,87,24,16,45]} 
[2026-08-05 17:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198323200001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:29:26] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-05 17:29:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370711628183764992,"km_value":370711628183765.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8663729439935948800,"description":"Unknown IO ID 45"} 
[2026-08-05 17:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198323200001,"power":27974,"unknown_230":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8663729439935948800}} 
[2026-08-05 17:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":149764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:29:26] local.INFO: GPS data processed {"connection_id":149764,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:29:26] local.INFO: Acknowledgment sent {"connection_id":149764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:29:39] local.INFO: TCP Data received {"connection_id":148549,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:29:39] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:29:39] local.INFO: IMEI packet received {"connection_id":148549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":148549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:29:40] local.INFO: TCP Data received {"connection_id":148757,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ca31c8012d7e364005e09b68000900aa19..."} 
[2026-08-05 17:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ca31c8012d7e364005e09b68000900aa19..."} 
[2026-08-05 17:29:40] local.INFO: Processing buffer {"connection_id":148757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ca31c8012d7e364005e09b68000900aa19..."} 
[2026-08-05 17:29:40] local.INFO: Packet analysis {"connection_id":148757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:29:40] local.INFO: Extracted packet for processing {"connection_id":148757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":98605928,"longitude_deg":76.3246144,"latitude_deg":9.8605928,"altitude":9,"angle":170,"satellites":25,"speed":46,"hex_longitude":"2d7e3640","hex_latitude":"05e09b68","is_valid_coordinates":true} 
[2026-08-05 17:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198365440001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114964948685160448,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386154020853760,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785931117000,"timestamp_ms":1785931117000,"timestamp_seconds":1785931117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ca31c8"} 
[2026-08-05 17:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-05 17:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198365440001,"66":13341,"105":206,"85":15104,"24":46,"16":114964948685160448,"45":9094386154020853760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 17:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198365440001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:29:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114964948685160448,"km_value":114964948685160.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386154020853760,"description":"Unknown IO ID 45"} 
[2026-08-05 17:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198365440001,"power":13341,"unknown_105":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9094386154020853760}} 
[2026-08-05 17:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":148757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:29:40] local.INFO: GPS data processed {"connection_id":148757,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:29:40] local.INFO: Acknowledgment sent {"connection_id":148757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:29:44] local.INFO: TCP Data received {"connection_id":148549,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:29:44] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:29:44] local.INFO: IMEI packet received {"connection_id":148549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":148549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:29:46] local.INFO: TCP Data received {"connection_id":148549,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:29:46] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:29:46] local.INFO: IMEI packet received {"connection_id":148549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":148549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:29:48] local.INFO: TCP Data received {"connection_id":148549,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c99588012d18a3c00720db90003b00c227..."} 
[2026-08-05 17:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c99588012d18a3c00720db90003b00c227..."} 
[2026-08-05 17:29:48] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c99588012d18a3c00720db90003b00c227..."} 
[2026-08-05 17:29:48] local.INFO: Packet analysis {"connection_id":148549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:29:48] local.INFO: Extracted packet for processing {"connection_id":148549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119593872,"longitude_deg":75.6589504,"latitude_deg":11.9593872,"altitude":59,"angle":194,"satellites":39,"speed":13,"hex_longitude":"2d18a3c0","hex_latitude":"0720db90","is_valid_coordinates":true} 
[2026-08-05 17:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198355456001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10735902116544512,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814962749440,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785931077000,"timestamp_ms":1785931077000,"timestamp_seconds":1785931077,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c99588"} 
[2026-08-05 17:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 17:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198355456001,"66":13993,"103":206,"83":41984,"24":13,"16":10735902116544512,"45":1775473814962749440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198355456001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:29:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10735902116544512,"km_value":10735902116544.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814962749440,"description":"Unknown IO ID 45"} 
[2026-08-05 17:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198355456001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1775473814962749440}} 
[2026-08-05 17:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":148549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:29:48] local.INFO: GPS data processed {"connection_id":148549,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:29:48] local.INFO: Acknowledgment sent {"connection_id":148549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:29:48] local.INFO: TCP Data received {"connection_id":148549,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1c9e790012d18a2c00720d730003a00c129..."} 
[2026-08-05 17:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1c9e790012d18a2c00720d730003a00c129..."} 
[2026-08-05 17:29:48] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1c9e790012d18a2c00720d730003a00c129..."} 
[2026-08-05 17:29:48] local.INFO: Packet analysis {"connection_id":148549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:29:48] local.INFO: Extracted packet for processing {"connection_id":148549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1c9"} 
[2026-08-05 17:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756589248,"raw_latitude":119592752,"longitude_deg":75.6589248,"latitude_deg":11.9592752,"altitude":58,"angle":193,"satellites":41,"speed":0,"hex_longitude":"2d18a2c0","hex_latitude":"0720d730","is_valid_coordinates":true} 
[2026-08-05 17:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198355712001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10735962246086656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814962671616,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785931098000,"timestamp_ms":1785931098000,"timestamp_seconds":1785931098,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1c9e790"} 
[2026-08-05 17:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 17:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198355712001,"66":14080,"103":206,"83":41984,"24":0,"16":10735962246086656,"45":1775473814962671616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198355712001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:29:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10735962246086656,"km_value":10735962246086.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814962671616,"description":"Unknown IO ID 45"} 
[2026-08-05 17:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198355712001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1775473814962671616}} 
[2026-08-05 17:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":148549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:29:49] local.INFO: GPS data processed {"connection_id":148549,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:29:49] local.INFO: Acknowledgment sent {"connection_id":148549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:29:59] local.INFO: TCP Data received {"connection_id":149764,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cac250012d7831c005f1a1800009011b2f..."} 
[2026-08-05 17:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cac250012d7831c005f1a1800009011b2f..."} 
[2026-08-05 17:29:59] local.INFO: Processing buffer {"connection_id":149764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cac250012d7831c005f1a1800009011b2f..."} 
[2026-08-05 17:29:59] local.INFO: Packet analysis {"connection_id":149764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:29:59] local.INFO: Extracted packet for processing {"connection_id":149764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:29:59] local.INFO: GPS Element Parsed {"raw_longitude":762851776,"raw_latitude":99721600,"longitude_deg":76.2851776,"latitude_deg":9.97216,"altitude":9,"angle":283,"satellites":47,"speed":9,"hex_longitude":"2d7831c0","hex_latitude":"05f1a180","is_valid_coordinates":true} 
[2026-08-05 17:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198375168001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370712156464742400,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8661196165148114944,"note":"Value kept but may cause issues"} 
[2026-08-05 17:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785931154000,"timestamp_ms":1785931154000,"timestamp_seconds":1785931154,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cac250"} 
[2026-08-05 17:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 17:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198375168001,"66":27995,"75":206,"87":11776,"24":9,"16":370712156464742400,"45":8661196165148114944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-05 17:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198375168001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:29:59] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-05 17:29:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370712156464742400,"km_value":370712156464742.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8661196165148114944,"description":"Unknown IO ID 45"} 
[2026-08-05 17:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198375168001,"power":27995,"unknown_75":206,"unknown_87":11776,"ignition":9,"odometer":null,"unknown_45":8661196165148114944}} 
[2026-08-05 17:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":149764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:29:59] local.INFO: GPS data processed {"connection_id":149764,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:29:59] local.INFO: Acknowledgment sent {"connection_id":149764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:30:03] local.INFO: TCP Data received {"connection_id":149765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:30:03] local.INFO: Processing buffer {"connection_id":149765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:30:03] local.INFO: IMEI packet received {"connection_id":149765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":149765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:30:07] local.INFO: TCP Data received {"connection_id":149765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:30:07] local.INFO: Processing buffer {"connection_id":149765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:30:07] local.INFO: IMEI packet received {"connection_id":149765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":149765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:30:08] local.INFO: TCP Data received {"connection_id":149765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:30:08] local.INFO: Processing buffer {"connection_id":149765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:30:08] local.INFO: IMEI packet received {"connection_id":149765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":149765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:30:09] local.INFO: TCP Data received {"connection_id":149765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ca5108012d7e3e4005e07448000a00a919..."} 
[2026-08-05 17:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ca5108012d7e3e4005e07448000a00a919..."} 
[2026-08-05 17:30:09] local.INFO: Processing buffer {"connection_id":149765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ca5108012d7e3e4005e07448000a00a919..."} 
[2026-08-05 17:30:09] local.INFO: Packet analysis {"connection_id":149765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:09] local.INFO: Extracted packet for processing {"connection_id":149765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763248192,"raw_latitude":98595912,"longitude_deg":76.3248192,"latitude_deg":9.8595912,"altitude":10,"angle":169,"satellites":25,"speed":54,"hex_longitude":"2d7e3e40","hex_latitude":"05e07448","is_valid_coordinates":true} 
[2026-08-05 17:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198365952001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114965446901366784,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891508590592,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785931125000,"timestamp_ms":1785931125000,"timestamp_seconds":1785931125,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ca5108"} 
[2026-08-05 17:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-05 17:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198365952001,"66":13341,"105":206,"85":15104,"24":54,"16":114965446901366784,"45":9094526891508590592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 17:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198365952001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:30:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114965446901366784,"km_value":114965446901366.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891508590592,"description":"Unknown IO ID 45"} 
[2026-08-05 17:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198365952001,"power":13341,"unknown_105":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9094526891508590592}} 
[2026-08-05 17:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":149765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:30:09] local.INFO: GPS data processed {"connection_id":149765,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:30:09] local.INFO: Acknowledgment sent {"connection_id":149765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:30:14] local.INFO: TCP Data received {"connection_id":149765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ca6c60012d7e420005e04c38000900ae18..."} 
[2026-08-05 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ca6c60012d7e420005e04c38000900ae18..."} 
[2026-08-05 17:30:14] local.INFO: Processing buffer {"connection_id":149765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ca6c60012d7e420005e04c38000900ae18..."} 
[2026-08-05 17:30:14] local.INFO: Packet analysis {"connection_id":149765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:14] local.INFO: Extracted packet for processing {"connection_id":149765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763249152,"raw_latitude":98585656,"longitude_deg":76.3249152,"latitude_deg":9.8585656,"altitude":9,"angle":174,"satellites":24,"speed":58,"hex_longitude":"2d7e4200","hex_latitude":"05e04c38","is_valid_coordinates":true} 
[2026-08-05 17:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198368000001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114965945117573120,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096778691319711744,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785931132000,"timestamp_ms":1785931132000,"timestamp_seconds":1785931132,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ca6c60"} 
[2026-08-05 17:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-05 17:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198368000001,"66":13091,"105":206,"85":15104,"24":58,"16":114965945117573120,"45":9096778691319711744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 17:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198368000001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:30:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114965945117573120,"km_value":114965945117573.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096778691319711744,"description":"Unknown IO ID 45"} 
[2026-08-05 17:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198368000001,"power":13091,"unknown_105":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9096778691319711744}} 
[2026-08-05 17:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":149765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:30:14] local.INFO: GPS data processed {"connection_id":149765,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:30:14] local.INFO: Acknowledgment sent {"connection_id":149765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:30:19] local.INFO: TCP Data received {"connection_id":149766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:30:19] local.INFO: Processing buffer {"connection_id":149766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:30:19] local.INFO: IMEI packet received {"connection_id":149766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":149766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:30:20] local.INFO: TCP Data received {"connection_id":148549,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cb1c28012d188ac00720f4a0004301462b..."} 
[2026-08-05 17:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cb1c28012d188ac00720f4a0004301462b..."} 
[2026-08-05 17:30:20] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cb1c28012d188ac00720f4a0004301462b..."} 
[2026-08-05 17:30:20] local.INFO: Packet analysis {"connection_id":148549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cb"} 
[2026-08-05 17:30:20] local.INFO: Extracted packet for processing {"connection_id":148549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cb"} 
[2026-08-05 17:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756583104,"raw_latitude":119600288,"longitude_deg":75.6583104,"latitude_deg":11.9600288,"altitude":67,"angle":326,"satellites":43,"speed":15,"hex_longitude":"2d188ac0","hex_latitude":"0720f4a0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198381056001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10736619376082944,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768788784267352064,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785931177000,"timestamp_ms":1785931177000,"timestamp_seconds":1785931177,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cb1c28"} 
[2026-08-05 17:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 17:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198381056001,"66":14374,"103":206,"83":41984,"24":15,"16":10736619376082944,"45":1768788784267352064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198381056001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:30:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10736619376082944,"km_value":10736619376082.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768788784267352064,"description":"Unknown IO ID 45"} 
[2026-08-05 17:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198381056001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1768788784267352064}} 
[2026-08-05 17:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":148549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:30:20] local.INFO: GPS data processed {"connection_id":148549,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:30:20] local.INFO: Acknowledgment sent {"connection_id":148549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:30:21] local.INFO: TCP Data received {"connection_id":149766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:30:21] local.INFO: Processing buffer {"connection_id":149766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:30:21] local.INFO: IMEI packet received {"connection_id":149766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":149766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:30:23] local.INFO: TCP Data received {"connection_id":149766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cac638012d78308005f1a178000901032f..."} 
[2026-08-05 17:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cac638012d78308005f1a178000901032f..."} 
[2026-08-05 17:30:23] local.INFO: Processing buffer {"connection_id":149766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cac638012d78308005f1a178000901032f..."} 
[2026-08-05 17:30:23] local.INFO: Packet analysis {"connection_id":149766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:23] local.INFO: Extracted packet for processing {"connection_id":149766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:23] local.INFO: GPS Element Parsed {"raw_longitude":762851456,"raw_latitude":99721592,"longitude_deg":76.2851456,"latitude_deg":9.9721592,"altitude":9,"angle":259,"satellites":47,"speed":12,"hex_longitude":"2d783080","hex_latitude":"05f1a178","is_valid_coordinates":true} 
[2026-08-05 17:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198375424001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370712173644611584,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8660914690171437056,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785931155000,"timestamp_ms":1785931155000,"timestamp_seconds":1785931155,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cac638"} 
[2026-08-05 17:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 17:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198375424001,"66":28093,"75":206,"87":11776,"24":12,"16":370712173644611584,"45":8660914690171437056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-05 17:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198375424001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:30:23] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-05 17:30:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370712173644611584,"km_value":370712173644611.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8660914690171437056,"description":"Unknown IO ID 45"} 
[2026-08-05 17:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198375424001,"power":28093,"unknown_75":206,"unknown_87":11776,"ignition":12,"odometer":null,"unknown_45":8660914690171437056}} 
[2026-08-05 17:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":149766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:30:23] local.INFO: GPS data processed {"connection_id":149766,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:30:23] local.INFO: Acknowledgment sent {"connection_id":149766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:30:25] local.INFO: TCP Data received {"connection_id":149766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1caca20012d782f8005f1a110000800f52d..."} 
[2026-08-05 17:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1caca20012d782f8005f1a110000800f52d..."} 
[2026-08-05 17:30:25] local.INFO: Processing buffer {"connection_id":149766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1caca20012d782f8005f1a110000800f52d..."} 
[2026-08-05 17:30:25] local.INFO: Packet analysis {"connection_id":149766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:25] local.INFO: Extracted packet for processing {"connection_id":149766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:25] local.INFO: GPS Element Parsed {"raw_longitude":762851200,"raw_latitude":99721488,"longitude_deg":76.28512,"latitude_deg":9.9721488,"altitude":8,"angle":245,"satellites":45,"speed":12,"hex_longitude":"2d782f80","hex_latitude":"05f1a110","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198375680001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370712186529513472,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8660562846450546688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785931156000,"timestamp_ms":1785931156000,"timestamp_seconds":1785931156,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1caca20"} 
[2026-08-05 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-08-05 17:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 17:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198375680001,"66":28093,"75":206,"87":11776,"24":12,"16":370712186529513472,"45":8660562846450546688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-05 17:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198375680001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:30:25] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-05 17:30:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370712186529513472,"km_value":370712186529513.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8660562846450546688,"description":"Unknown IO ID 45"} 
[2026-08-05 17:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198375680001,"power":28093,"unknown_75":206,"unknown_87":11776,"ignition":12,"odometer":null,"unknown_45":8660562846450546688}} 
[2026-08-05 17:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":149766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:30:25] local.INFO: GPS data processed {"connection_id":149766,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:30:25] local.INFO: Acknowledgment sent {"connection_id":149766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:30:40] local.INFO: TCP Data received {"connection_id":151189,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:30:40] local.INFO: Processing buffer {"connection_id":151189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:30:40] local.INFO: IMEI packet received {"connection_id":151189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":151189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:30:44] local.INFO: TCP Data received {"connection_id":151189,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:30:44] local.INFO: Processing buffer {"connection_id":151189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:30:44] local.INFO: IMEI packet received {"connection_id":151189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":151189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:30:45] local.INFO: TCP Data received {"connection_id":149765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ca7818012d7e45c005e03bc8000900a019..."} 
[2026-08-05 17:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ca7818012d7e45c005e03bc8000900a019..."} 
[2026-08-05 17:30:45] local.INFO: Processing buffer {"connection_id":149765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ca7818012d7e45c005e03bc8000900a019..."} 
[2026-08-05 17:30:45] local.INFO: Packet analysis {"connection_id":149765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:45] local.INFO: Extracted packet for processing {"connection_id":149765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763250112,"raw_latitude":98581448,"longitude_deg":76.3250112,"latitude_deg":9.8581448,"altitude":9,"angle":160,"satellites":25,"speed":55,"hex_longitude":"2d7e45c0","hex_latitude":"05e03bc8","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198369792001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114966155570970624,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097834222479751168,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931135000,"timestamp_ms":1785931135000,"timestamp_seconds":1785931135,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ca7818"} 
[2026-08-05 17:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 17:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198369792001,"66":13330,"105":206,"85":15104,"24":55,"16":114966155570970624,"45":9097834222479751168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-05 17:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198369792001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:30:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:30:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114966155570970624,"km_value":114966155570970.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097834222479751168,"description":"Unknown IO ID 45"} 
[2026-08-05 17:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198369792001,"power":13330,"unknown_105":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9097834222479751168}} 
[2026-08-05 17:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":149765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:30:45] local.INFO: GPS data processed {"connection_id":149765,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:30:45] local.INFO: Acknowledgment sent {"connection_id":149765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:30:49] local.INFO: TCP Data received {"connection_id":151189,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:30:49] local.INFO: Processing buffer {"connection_id":151189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:30:49] local.INFO: IMEI packet received {"connection_id":151189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":151189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:30:50] local.INFO: TCP Data received {"connection_id":151189,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cb2010012d188ac00720f658004301662b..."} 
[2026-08-05 17:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cb2010012d188ac00720f658004301662b..."} 
[2026-08-05 17:30:50] local.INFO: Processing buffer {"connection_id":151189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cb2010012d188ac00720f658004301662b..."} 
[2026-08-05 17:30:50] local.INFO: Packet analysis {"connection_id":151189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cb"} 
[2026-08-05 17:30:50] local.INFO: Extracted packet for processing {"connection_id":151189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cb"} 
[2026-08-05 17:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756583104,"raw_latitude":119600728,"longitude_deg":75.6583104,"latitude_deg":11.9600728,"altitude":67,"angle":358,"satellites":43,"speed":15,"hex_longitude":"2d188ac0","hex_latitude":"0720f658","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198381312001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10736640850919424,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768436940546547712,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785931178000,"timestamp_ms":1785931178000,"timestamp_seconds":1785931178,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cb2010"} 
[2026-08-05 17:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 17:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198381312001,"66":14396,"103":206,"83":41984,"24":15,"16":10736640850919424,"45":1768436940546547712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198381312001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:30:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10736640850919424,"km_value":10736640850919.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768436940546547712,"description":"Unknown IO ID 45"} 
[2026-08-05 17:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198381312001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1768436940546547712}} 
[2026-08-05 17:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":151189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:30:50] local.INFO: GPS data processed {"connection_id":151189,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:30:50] local.INFO: Acknowledgment sent {"connection_id":151189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:30:55] local.INFO: TCP Data received {"connection_id":151189,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cb23f8012d188b000720f8300043000b2b..."} 
[2026-08-05 17:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cb23f8012d188b000720f8300043000b2b..."} 
[2026-08-05 17:30:55] local.INFO: Processing buffer {"connection_id":151189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cb23f8012d188b000720f8300043000b2b..."} 
[2026-08-05 17:30:55] local.INFO: Packet analysis {"connection_id":151189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cb"} 
[2026-08-05 17:30:55] local.INFO: Extracted packet for processing {"connection_id":151189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cb"} 
[2026-08-05 17:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756583168,"raw_latitude":119601200,"longitude_deg":75.6583168,"latitude_deg":11.96012,"altitude":67,"angle":11,"satellites":43,"speed":18,"hex_longitude":"2d188b00","hex_latitude":"0720f830","is_valid_coordinates":true} 
[2026-08-05 17:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198381568001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10736666620723200,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768436940546660352,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785931179000,"timestamp_ms":1785931179000,"timestamp_seconds":1785931179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cb23f8"} 
[2026-08-05 17:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 17:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198381568001,"66":14396,"103":206,"83":41984,"24":18,"16":10736666620723200,"45":1768436940546660352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198381568001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:30:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10736666620723200,"km_value":10736666620723.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768436940546660352,"description":"Unknown IO ID 45"} 
[2026-08-05 17:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198381568001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1768436940546660352}} 
[2026-08-05 17:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":151189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:30:55] local.INFO: GPS data processed {"connection_id":151189,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:30:55] local.INFO: Acknowledgment sent {"connection_id":151189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:30:57] local.INFO: TCP Data received {"connection_id":149766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1caf518012d781f0005f19c38000601022d..."} 
[2026-08-05 17:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1caf518012d781f0005f19c38000601022d..."} 
[2026-08-05 17:30:57] local.INFO: Processing buffer {"connection_id":149766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1caf518012d781f0005f19c38000601022d..."} 
[2026-08-05 17:30:57] local.INFO: Packet analysis {"connection_id":149766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:57] local.INFO: Extracted packet for processing {"connection_id":149766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ca"} 
[2026-08-05 17:30:57] local.INFO: GPS Element Parsed {"raw_longitude":762846976,"raw_latitude":99720248,"longitude_deg":76.2846976,"latitude_deg":9.9720248,"altitude":6,"angle":258,"satellites":45,"speed":18,"hex_longitude":"2d781f00","hex_latitude":"05f19c38","is_valid_coordinates":true} 
[2026-08-05 17:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198375936001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370712396982910976,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8660281371473809408,"note":"Value kept but may cause issues"} 
[2026-08-05 17:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785931167000,"timestamp_ms":1785931167000,"timestamp_seconds":1785931167,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1caf518"} 
[2026-08-05 17:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 17:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198375936001,"66":27767,"75":206,"87":11776,"24":18,"16":370712396982910976,"45":8660281371473809408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-05 17:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198375936001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:30:57] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-05 17:30:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-05 17:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370712396982910976,"km_value":370712396982911.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8660281371473809408,"description":"Unknown IO ID 45"} 
[2026-08-05 17:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198375936001,"power":27767,"unknown_75":206,"unknown_87":11776,"ignition":18,"odometer":null,"unknown_45":8660281371473809408}} 
[2026-08-05 17:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":149766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:30:57] local.INFO: GPS data processed {"connection_id":149766,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:30:57] local.INFO: Acknowledgment sent {"connection_id":149766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:31:03] local.INFO: TCP Data received {"connection_id":148758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:31:03] local.INFO: Processing buffer {"connection_id":148758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:31:03] local.INFO: IMEI packet received {"connection_id":148758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":148758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:31:07] local.INFO: TCP Data received {"connection_id":148758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:31:07] local.INFO: Processing buffer {"connection_id":148758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:31:07] local.INFO: IMEI packet received {"connection_id":148758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":148758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:31:08] local.INFO: TCP Data received {"connection_id":148758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:31:08] local.INFO: Processing buffer {"connection_id":148758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:31:08] local.INFO: IMEI packet received {"connection_id":148758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":148758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:31:08] local.INFO: TCP Data received {"connection_id":148758,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cc29b0012d7ec90005def3c8000a009318..."} 
[2026-08-05 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cc29b0012d7ec90005def3c8000a009318..."} 
[2026-08-05 17:31:08] local.INFO: Processing buffer {"connection_id":148758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cc29b0012d7ec90005def3c8000a009318..."} 
[2026-08-05 17:31:08] local.INFO: Packet analysis {"connection_id":148758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:31:08] local.INFO: Extracted packet for processing {"connection_id":148758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763283712,"raw_latitude":98497480,"longitude_deg":76.3283712,"latitude_deg":9.849748,"altitude":10,"angle":147,"satellites":24,"speed":24,"hex_longitude":"2d7ec900","hex_latitude":"05def3c8","is_valid_coordinates":true} 
[2026-08-05 17:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198394368001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114970583682252800,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129289051106314240,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31: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-08-05 17:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785931246000,"timestamp_ms":1785931246000,"timestamp_seconds":1785931246,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cc29b0"} 
[2026-08-05 17:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:31: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-08-05 17: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":79,"data_length":795,"current_offset":136} 
[2026-08-05 17:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198394368001,"66":13352,"207":206,"85":15104,"24":24,"16":114970583682252800,"45":9129289051106314240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-05 17:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198394368001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:31:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-05 17:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114970583682252800,"km_value":114970583682252.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129289051106314240,"description":"Unknown IO ID 45"} 
[2026-08-05 17:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198394368001,"power":13352,"unknown_207":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9129289051106314240}} 
[2026-08-05 17:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":148758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:31:08] local.INFO: GPS data processed {"connection_id":148758,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:31:08] local.INFO: Acknowledgment sent {"connection_id":148758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:31:12] local.INFO: TCP Data received {"connection_id":151190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:12] local.INFO: Processing buffer {"connection_id":151190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:12] local.INFO: IMEI packet received {"connection_id":151190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":151190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:31:13] local.INFO: TCP Data received {"connection_id":151190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:13] local.INFO: Processing buffer {"connection_id":151190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:13] local.INFO: IMEI packet received {"connection_id":151190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":151190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:31:15] local.INFO: TCP Data received {"connection_id":148758,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cc3568012d7ecc8005deeca8000b009f18..."} 
[2026-08-05 17:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cc3568012d7ecc8005deeca8000b009f18..."} 
[2026-08-05 17:31:15] local.INFO: Processing buffer {"connection_id":148758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cc3568012d7ecc8005deeca8000b009f18..."} 
[2026-08-05 17:31:15] local.INFO: Packet analysis {"connection_id":148758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:31:15] local.INFO: Extracted packet for processing {"connection_id":148758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763284608,"raw_latitude":98495656,"longitude_deg":76.3284608,"latitude_deg":9.8495656,"altitude":11,"angle":159,"satellites":24,"speed":28,"hex_longitude":"2d7ecc80","hex_latitude":"05deeca8","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198398976001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114970682466500608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135833344313116672,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785931249000,"timestamp_ms":1785931249000,"timestamp_seconds":1785931249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cc3568"} 
[2026-08-05 17:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-05 17:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198398976001,"66":13374,"206":206,"85":15104,"24":28,"16":114970682466500608,"45":9135833344313116672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-05 17:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198398976001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:31:15] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-05 17:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114970682466500608,"km_value":114970682466500.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135833344313116672,"description":"Unknown IO ID 45"} 
[2026-08-05 17:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198398976001,"power":13374,"unknown_206":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9135833344313116672}} 
[2026-08-05 17:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":148758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:31:15] local.INFO: GPS data processed {"connection_id":148758,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:31:15] local.INFO: Acknowledgment sent {"connection_id":148758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:31:19] local.INFO: TCP Data received {"connection_id":151190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:19] local.INFO: Processing buffer {"connection_id":151190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:19] local.INFO: IMEI packet received {"connection_id":151190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":151190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:31:20] local.INFO: TCP Data received {"connection_id":151190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:20] local.INFO: Processing buffer {"connection_id":151190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:31:20] local.INFO: IMEI packet received {"connection_id":151190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":151190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:31:36] local.INFO: TCP Data received {"connection_id":151191,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:31:36] local.INFO: Processing buffer {"connection_id":151191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:31:36] local.INFO: IMEI packet received {"connection_id":151191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":151191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:31:39] local.INFO: TCP Data received {"connection_id":151191,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:31:39] local.INFO: Processing buffer {"connection_id":151191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:31:39] local.INFO: IMEI packet received {"connection_id":151191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":151191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:31:44] local.INFO: TCP Data received {"connection_id":151191,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:31:44] local.INFO: Processing buffer {"connection_id":151191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:31:44] local.INFO: IMEI packet received {"connection_id":151191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":151191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:31:45] local.INFO: TCP Data received {"connection_id":151191,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cc1628012d18d10007212640004301602a..."} 
[2026-08-05 17:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cc1628012d18d10007212640004301602a..."} 
[2026-08-05 17:31:45] local.INFO: Processing buffer {"connection_id":151191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cc1628012d18d10007212640004301602a..."} 
[2026-08-05 17:31:45] local.INFO: Packet analysis {"connection_id":151191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:31:45] local.INFO: Extracted packet for processing {"connection_id":151191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119612992,"longitude_deg":75.6601088,"latitude_deg":11.9612992,"altitude":67,"angle":352,"satellites":42,"speed":19,"hex_longitude":"2d18d100","hex_latitude":"07212640","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198396416001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10738006650519552,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188919029760,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931241000,"timestamp_ms":1785931241000,"timestamp_seconds":1785931241,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cc1628"} 
[2026-08-05 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-08-05 17:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 17:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198396416001,"66":14396,"103":206,"83":41984,"24":19,"16":10738006650519552,"45":1788140188919029760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198396416001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:31:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10738006650519552,"km_value":10738006650519.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188919029760,"description":"Unknown IO ID 45"} 
[2026-08-05 17:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198396416001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1788140188919029760}} 
[2026-08-05 17:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":151191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:31:45] local.INFO: GPS data processed {"connection_id":151191,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:31:45] local.INFO: Acknowledgment sent {"connection_id":151191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:31:46] local.INFO: TCP Data received {"connection_id":148758,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cc48f0012d7ed00005deddc0000b00ab17..."} 
[2026-08-05 17:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cc48f0012d7ed00005deddc0000b00ab17..."} 
[2026-08-05 17:31:46] local.INFO: Processing buffer {"connection_id":148758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cc48f0012d7ed00005deddc0000b00ab17..."} 
[2026-08-05 17:31:46] local.INFO: Packet analysis {"connection_id":148758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:31:46] local.INFO: Extracted packet for processing {"connection_id":148758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:31:46] local.INFO: GPS Element Parsed {"raw_longitude":763285504,"raw_latitude":98491840,"longitude_deg":76.3285504,"latitude_deg":9.849184,"altitude":11,"angle":171,"satellites":23,"speed":32,"hex_longitude":"2d7ed000","hex_latitude":"05deddc0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198399744001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114970875740028928,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136818506731137024,"note":"Value kept but may cause issues"} 
[2026-08-05 17:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785931254000,"timestamp_ms":1785931254000,"timestamp_seconds":1785931254,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cc48f0"} 
[2026-08-05 17:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-05 17:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198399744001,"66":13363,"206":206,"85":15104,"24":32,"16":114970875740028928,"45":9136818506731137024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-05 17:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198399744001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:31:46] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-05 17:31:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114970875740028928,"km_value":114970875740028.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136818506731137024,"description":"Unknown IO ID 45"} 
[2026-08-05 17:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198399744001,"power":13363,"unknown_206":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9136818506731137024}} 
[2026-08-05 17:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":148758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:31:46] local.INFO: GPS data processed {"connection_id":148758,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:31:46] local.INFO: Acknowledgment sent {"connection_id":148758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:32:08] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:32:08] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:32:08] local.INFO: IMEI packet received {"connection_id":148550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":148550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:32:13] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:32:13] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:32:13] local.INFO: IMEI packet received {"connection_id":148550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":148550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:32:14] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cc73e8012d7ed30005deb7f0000800b118..."} 
[2026-08-05 17:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cc73e8012d7ed30005deb7f0000800b118..."} 
[2026-08-05 17:32:14] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cc73e8012d7ed30005deb7f0000800b118..."} 
[2026-08-05 17:32:14] local.INFO: Packet analysis {"connection_id":148550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:32:14] local.INFO: Extracted packet for processing {"connection_id":148550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763286272,"raw_latitude":98482160,"longitude_deg":76.3286272,"latitude_deg":9.848216,"altitude":8,"angle":177,"satellites":24,"speed":37,"hex_longitude":"2d7ed300","hex_latitude":"05deb7f0","is_valid_coordinates":true} 
[2026-08-05 17:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198401024001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114971348186431488,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137803669148647424,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785931265000,"timestamp_ms":1785931265000,"timestamp_seconds":1785931265,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cc73e8"} 
[2026-08-05 17:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-05 17:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198401024001,"66":13319,"206":206,"85":15104,"24":37,"16":114971348186431488,"45":9137803669148647424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-05 17:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198401024001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:32:14] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-05 17:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114971348186431488,"km_value":114971348186431.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137803669148647424,"description":"Unknown IO ID 45"} 
[2026-08-05 17:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198401024001,"power":13319,"unknown_206":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9137803669148647424}} 
[2026-08-05 17:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":148550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:32:14] local.INFO: GPS data processed {"connection_id":148550,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:32:14] local.INFO: Acknowledgment sent {"connection_id":148550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:32:16] local.INFO: TCP Data received {"connection_id":151191,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cc1df8012d18cf8007212a600043014f2b..."} 
[2026-08-05 17:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cc1df8012d18cf8007212a600043014f2b..."} 
[2026-08-05 17:32:16] local.INFO: Processing buffer {"connection_id":151191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cc1df8012d18cf8007212a600043014f2b..."} 
[2026-08-05 17:32:16] local.INFO: Packet analysis {"connection_id":151191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:32:16] local.INFO: Extracted packet for processing {"connection_id":151191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":756600704,"raw_latitude":119614048,"longitude_deg":75.6600704,"latitude_deg":11.9614048,"altitude":67,"angle":335,"satellites":43,"speed":23,"hex_longitude":"2d18cf80","hex_latitude":"07212a60","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198397696001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10738062485094400,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663723520,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931243000,"timestamp_ms":1785931243000,"timestamp_seconds":1785931243,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cc1df8"} 
[2026-08-05 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-08-05 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 17:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198397696001,"66":14233,"103":206,"83":41984,"24":23,"16":10738062485094400,"45":1788210557663723520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 17:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198397696001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:32:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 17:32:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10738062485094400,"km_value":10738062485094.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663723520,"description":"Unknown IO ID 45"} 
[2026-08-05 17:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198397696001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1788210557663723520}} 
[2026-08-05 17:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":151191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:32:16] local.INFO: GPS data processed {"connection_id":151191,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:32:16] local.INFO: Acknowledgment sent {"connection_id":151191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:32:39] local.INFO: TCP Data received {"connection_id":149768,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:39] local.INFO: Processing buffer {"connection_id":149768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:39] local.INFO: IMEI packet received {"connection_id":149768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":149768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:32:40] local.INFO: TCP Data received {"connection_id":149768,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:40] local.INFO: Processing buffer {"connection_id":149768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:40] local.INFO: IMEI packet received {"connection_id":149768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":149768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:32:41] local.INFO: TCP Data received {"connection_id":149768,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:41] local.INFO: Processing buffer {"connection_id":149768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:41] local.INFO: IMEI packet received {"connection_id":149768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":149768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:32:43] local.INFO: TCP Data received {"connection_id":149768,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:43] local.INFO: Processing buffer {"connection_id":149768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:32:43] local.INFO: IMEI packet received {"connection_id":149768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":149768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:32:44] local.INFO: TCP Data received {"connection_id":149768,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cce530012d185c00072184e8004c012629..."} 
[2026-08-05 17:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cce530012d185c00072184e8004c012629..."} 
[2026-08-05 17:32:44] local.INFO: Processing buffer {"connection_id":149768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cce530012d185c00072184e8004c012629..."} 
[2026-08-05 17:32:44] local.INFO: Packet analysis {"connection_id":149768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:32:44] local.INFO: Extracted packet for processing {"connection_id":149768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756571136,"raw_latitude":119637224,"longitude_deg":75.6571136,"latitude_deg":11.9637224,"altitude":76,"angle":294,"satellites":41,"speed":33,"hex_longitude":"2d185c00","hex_latitude":"072184e8","is_valid_coordinates":true} 
[2026-08-05 17:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198410496001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10740085414690816,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758022366417477632,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785931294000,"timestamp_ms":1785931294000,"timestamp_seconds":1785931294,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cce530"} 
[2026-08-05 17:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 17:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198410496001,"66":14233,"105":206,"83":41984,"24":33,"16":10740085414690816,"45":1758022366417477632},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198410496001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:32:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:32:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10740085414690816,"km_value":10740085414690.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758022366417477632,"description":"Unknown IO ID 45"} 
[2026-08-05 17:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198410496001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1758022366417477632}} 
[2026-08-05 17:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":149768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:32:44] local.INFO: GPS data processed {"connection_id":149768,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:32:44] local.INFO: Acknowledgment sent {"connection_id":149768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:32:45] local.INFO: TCP Data received {"connection_id":149768,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cd1028012d183b4007219378004f012328..."} 
[2026-08-05 17:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cd1028012d183b4007219378004f012328..."} 
[2026-08-05 17:32:45] local.INFO: Processing buffer {"connection_id":149768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cd1028012d183b4007219378004f012328..."} 
[2026-08-05 17:32:45] local.INFO: Packet analysis {"connection_id":149768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:32:45] local.INFO: Extracted packet for processing {"connection_id":149768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756562752,"raw_latitude":119640952,"longitude_deg":75.6562752,"latitude_deg":11.9640952,"altitude":79,"angle":291,"satellites":40,"speed":31,"hex_longitude":"2d183b40","hex_latitude":"07219378","is_valid_coordinates":true} 
[2026-08-05 17:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198411264001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10740523501355008,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755277985394780160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931305000,"timestamp_ms":1785931305000,"timestamp_seconds":1785931305,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cd1028"} 
[2026-08-05 17:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-05 17:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198411264001,"66":14428,"105":206,"83":41984,"24":31,"16":10740523501355008,"45":1755277985394780160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198411264001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:32:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10740523501355008,"km_value":10740523501355.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755277985394780160,"description":"Unknown IO ID 45"} 
[2026-08-05 17:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198411264001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1755277985394780160}} 
[2026-08-05 17:32:45] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cc8f40012d7ed88005de9d80000600a419..."} 
[2026-08-05 17:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cc8f40012d7ed88005de9d80000600a419..."} 
[2026-08-05 17:32:45] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cc8f40012d7ed88005de9d80000600a419..."} 
[2026-08-05 17:32:45] local.INFO: Packet analysis {"connection_id":148550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:32:45] local.INFO: Extracted packet for processing {"connection_id":148550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cc"} 
[2026-08-05 17:32:45] local.INFO: GPS Element Parsed {"raw_longitude":763287680,"raw_latitude":98475392,"longitude_deg":76.328768,"latitude_deg":9.8475392,"altitude":6,"angle":164,"satellites":25,"speed":39,"hex_longitude":"2d7ed880","hex_latitude":"05de9d80","is_valid_coordinates":true} 
[2026-08-05 17:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198403840001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114971683193880576,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138648094076301312,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931272000,"timestamp_ms":1785931272000,"timestamp_seconds":1785931272,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cc8f40"} 
[2026-08-05 17:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3519777160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3420676097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":223,"raw_value":6455910095910934528,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2798584014,"corrected_to":0} 
[2026-08-05 17:32:45] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":6813947531119820805,"corrected_to":0} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3221610264,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070502,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3745032192,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57885778227647803,"note":"Value kept but may cause issues"} 
[2026-08-05 17:32:45] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,206,85,24,241,157,16,117,159,72,45,221,11,23,10,66,53,128,236,41,1,240,40,227,209,223,4,113,205,17,203,168,216,25,239,51,207,2,152,5,7,26,166],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2798584014,"validated":0},{"io_id":203,"original":6813947531119820805,"validated":0}]} 
[2026-08-05 17:32:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576655468943179776,"timestamp_seconds":576655468943179.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198403840001,"66":13396,"206":206,"85":15104,"24":39,"16":114971683193880576,"45":9138648094076301312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-05 17:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198403840001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:32:45] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-05 17:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114971683193880576,"km_value":114971683193880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138648094076301312,"description":"Unknown IO ID 45"} 
[2026-08-05 17:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198403840001,"power":13396,"unknown_206":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9138648094076301312}} 
[2026-08-05 17:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":149768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:32:45] local.INFO: GPS data processed {"connection_id":149768,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:32:45] local.INFO: Acknowledgment sent {"connection_id":149768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":148550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:32:45] local.INFO: GPS data processed {"connection_id":148550,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:32:45] local.INFO: Acknowledgment sent {"connection_id":148550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:33:03] local.INFO: TCP Data received {"connection_id":148759,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:33:03] local.INFO: Processing buffer {"connection_id":148759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:33:03] local.INFO: IMEI packet received {"connection_id":148759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":148759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:33:09] local.INFO: TCP Data received {"connection_id":148759,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:33:09] local.INFO: Processing buffer {"connection_id":148759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:33:09] local.INFO: IMEI packet received {"connection_id":148759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":148759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:33:12] local.INFO: TCP Data received {"connection_id":148759,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cdf2b8012d7f3e4005dd9ab0000900ae19..."} 
[2026-08-05 17:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cdf2b8012d7f3e4005dd9ab0000900ae19..."} 
[2026-08-05 17:33:12] local.INFO: Processing buffer {"connection_id":148759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cdf2b8012d7f3e4005dd9ab0000900ae19..."} 
[2026-08-05 17:33:12] local.INFO: Packet analysis {"connection_id":148759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:33:12] local.INFO: Extracted packet for processing {"connection_id":148759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763313728,"raw_latitude":98409136,"longitude_deg":76.3313728,"latitude_deg":9.8409136,"altitude":9,"angle":174,"satellites":25,"speed":47,"hex_longitude":"2d7f3e40","hex_latitude":"05dd9ab0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198427904001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114975157822423040,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167710385404188672,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785931363000,"timestamp_ms":1785931363000,"timestamp_seconds":1785931363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cdf2b8"} 
[2026-08-05 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-08-05 17:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 17:33:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":38281891748364293,"corrected_to":0} 
[2026-08-05 17:33:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3519882160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4026609023,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:12] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3447044097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:12] local.WARNING: Large IO value detected {"io_id":221,"raw_value":4242014213,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:12] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57885769637713211,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:12] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3537577528785049856,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,205,85,24,241,157,16,121,159,207,45,128,194,7,26,10,66,120,168,64,226,5,125,192,1,240,227,209,221,4,113,18,25,239,49,2,152,39,187,222],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":38281891748364293,"validated":0}]} 
[2026-08-05 17:33:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504582486038085632,"timestamp_seconds":504582486038085.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 17:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198427904001,"66":13319,"205":206,"85":15104,"24":47,"16":114975157822423040,"45":9167710385404188672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-05 17:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198427904001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114975157822423040,"km_value":114975157822423.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167710385404188672,"description":"Unknown IO ID 45"} 
[2026-08-05 17:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198427904001,"power":13319,"cell_id":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9167710385404188672}} 
[2026-08-05 17:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":148759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:33:12] local.INFO: GPS data processed {"connection_id":148759,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:33:12] local.INFO: Acknowledgment sent {"connection_id":148759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:33:16] local.INFO: TCP Data received {"connection_id":149768,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cd23b0012d182f40072198e8004f013229..."} 
[2026-08-05 17:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cd23b0012d182f40072198e8004f013229..."} 
[2026-08-05 17:33:16] local.INFO: Processing buffer {"connection_id":149768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cd23b0012d182f40072198e8004f013229..."} 
[2026-08-05 17:33:16] local.INFO: Packet analysis {"connection_id":149768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:33:16] local.INFO: Extracted packet for processing {"connection_id":149768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642344,"longitude_deg":75.655968,"latitude_deg":11.9642344,"altitude":79,"angle":306,"satellites":41,"speed":20,"hex_longitude":"2d182f40","hex_latitude":"072198e8","is_valid_coordinates":true} 
[2026-08-05 17:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198414080001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10740682415144960,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746059679908460544,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931310000,"timestamp_ms":1785931310000,"timestamp_seconds":1785931310,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cd23b0"} 
[2026-08-05 17:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 17:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198414080001,"66":14113,"105":206,"83":41984,"24":20,"16":10740682415144960,"45":1746059679908460544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198414080001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:33:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10740682415144960,"km_value":10740682415144.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746059679908460544,"description":"Unknown IO ID 45"} 
[2026-08-05 17:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198414080001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1746059679908460544}} 
[2026-08-05 17:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":149768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:33:16] local.INFO: GPS data processed {"connection_id":149768,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:33:16] local.INFO: Acknowledgment sent {"connection_id":149768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:33:39] local.INFO: TCP Data received {"connection_id":151192,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:33:39] local.INFO: Processing buffer {"connection_id":151192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:33:39] local.INFO: IMEI packet received {"connection_id":151192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":151192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:33:44] local.INFO: TCP Data received {"connection_id":151192,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:33:44] local.INFO: Processing buffer {"connection_id":151192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:33:44] local.INFO: IMEI packet received {"connection_id":151192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":151192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:33:45] local.INFO: TCP Data received {"connection_id":151192,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cd5290012d1820c00721a520004c012027..."} 
[2026-08-05 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cd5290012d1820c00721a520004c012027..."} 
[2026-08-05 17:33:45] local.INFO: Processing buffer {"connection_id":151192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cd5290012d1820c00721a520004c012027..."} 
[2026-08-05 17:33:45] local.INFO: Packet analysis {"connection_id":151192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:33:45] local.INFO: Extracted packet for processing {"connection_id":151192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645472,"longitude_deg":75.6555968,"latitude_deg":11.9645472,"altitude":76,"angle":288,"satellites":39,"speed":6,"hex_longitude":"2d1820c0","hex_latitude":"0721a520","is_valid_coordinates":true} 
[2026-08-05 17:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198415360001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10740918638346240,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188289024,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931322000,"timestamp_ms":1785931322000,"timestamp_seconds":1785931322,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cd5290"} 
[2026-08-05 17:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-05 17:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198415360001,"66":14428,"105":206,"83":41984,"24":6,"16":10740918638346240,"45":1742681980188289024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198415360001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:33:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10740918638346240,"km_value":10740918638346.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188289024,"description":"Unknown IO ID 45"} 
[2026-08-05 17:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198415360001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1742681980188289024}} 
[2026-08-05 17:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":151192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:33:45] local.INFO: GPS data processed {"connection_id":151192,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:33:45] local.INFO: Acknowledgment sent {"connection_id":151192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:33:47] local.INFO: TCP Data received {"connection_id":148759,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ce11f8012d7f3fc005dd7600000a00a71a..."} 
[2026-08-05 17:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ce11f8012d7f3fc005dd7600000a00a71a..."} 
[2026-08-05 17:33:47] local.INFO: Processing buffer {"connection_id":148759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ce11f8012d7f3fc005dd7600000a00a71a..."} 
[2026-08-05 17:33:47] local.INFO: Packet analysis {"connection_id":148759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ce"} 
[2026-08-05 17:33:47] local.INFO: Extracted packet for processing {"connection_id":148759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ce"} 
[2026-08-05 17:33:47] local.INFO: GPS Element Parsed {"raw_longitude":763314112,"raw_latitude":98399744,"longitude_deg":76.3314112,"latitude_deg":9.8399744,"altitude":10,"angle":167,"satellites":26,"speed":48,"hex_longitude":"2d7f3fc0","hex_latitude":"05dd7600","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198428928001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114975613088956416,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168836285309825024,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785931371000,"timestamp_ms":1785931371000,"timestamp_seconds":1785931371,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ce11f8"} 
[2026-08-05 17:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-05 17:33:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2571556682145169413,"corrected_to":0} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3519890160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3447556097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":221,"raw_value":4208984069,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3087084927,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184422,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3724414976,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":80,"raw_value":57885769637713211,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.WARNING: Large IO value detected {"io_id":222,"raw_value":950259542860175616,"note":"Value kept but may cause issues"} 
[2026-08-05 17:33:47] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,205,85,24,241,157,16,121,159,227,45,64,173,7,25,10,66,207,128,194,26,120,168,1,240,167,209,221,4,113,11,117,18,216,239,50,2,152,5,6,80,222],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2571556682145169413,"validated":0}]} 
[2026-08-05 17:33:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648709768741847040,"timestamp_seconds":648709768741847.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198428928001,"66":13276,"205":206,"85":15104,"24":48,"16":114975613088956416,"45":9168836285309825024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-05 17:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198428928001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:33:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114975613088956416,"km_value":114975613088956.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168836285309825024,"description":"Unknown IO ID 45"} 
[2026-08-05 17:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198428928001,"power":13276,"cell_id":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9168836285309825024}} 
[2026-08-05 17:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":148759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:33:47] local.INFO: GPS data processed {"connection_id":148759,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:33:47] local.INFO: Acknowledgment sent {"connection_id":148759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:34:03] local.INFO: TCP Data received {"connection_id":151193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:03] local.INFO: Processing buffer {"connection_id":151193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:03] local.INFO: IMEI packet received {"connection_id":151193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":151193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:34:05] local.INFO: TCP Data received {"connection_id":151193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:05] local.INFO: Processing buffer {"connection_id":151193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:05] local.INFO: IMEI packet received {"connection_id":151193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":151193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:34:07] local.INFO: TCP Data received {"connection_id":151193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:07] local.INFO: Processing buffer {"connection_id":151193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:07] local.INFO: IMEI packet received {"connection_id":151193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":151193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:34:08] local.INFO: TCP Data received {"connection_id":151193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:08] local.INFO: Processing buffer {"connection_id":151193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:34:08] local.INFO: IMEI packet received {"connection_id":151193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":151193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:34:09] local.INFO: TCP Data received {"connection_id":151193,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cf0fe0012d7fa0c005dc81e8000a00941a..."} 
[2026-08-05 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cf0fe0012d7fa0c005dc81e8000a00941a..."} 
[2026-08-05 17:34:09] local.INFO: Processing buffer {"connection_id":151193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cf0fe0012d7fa0c005dc81e8000a00941a..."} 
[2026-08-05 17:34:09] local.INFO: Packet analysis {"connection_id":151193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cf"} 
[2026-08-05 17:34:09] local.INFO: Extracted packet for processing {"connection_id":151193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cf"} 
[2026-08-05 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":98337256,"longitude_deg":76.3338944,"latitude_deg":9.8337256,"altitude":10,"angle":148,"satellites":26,"speed":31,"hex_longitude":"2d7fa0c0","hex_latitude":"05dc81e8","is_valid_coordinates":true} 
[2026-08-05 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114978915918807040,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876917512192,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785931436000,"timestamp_ms":1785931436000,"timestamp_seconds":1785931436,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cf0fe0"} 
[2026-08-05 17:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 17:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198446080001,"66":13135,"53":206,"85":15104,"24":31,"16":114978915918807040,"45":9194520876917512192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-05 17:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114978915918807040,"km_value":114978915918807.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876917512192,"description":"Unknown IO ID 45"} 
[2026-08-05 17:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198446080001,"power":13135,"unknown_53":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9194520876917512192}} 
[2026-08-05 17:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":151193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:34:09] local.INFO: GPS data processed {"connection_id":151193,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:34:09] local.INFO: Acknowledgment sent {"connection_id":151193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:34:16] local.INFO: TCP Data received {"connection_id":151192,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cd5678012d1820000721a550004c012b27..."} 
[2026-08-05 17:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cd5678012d1820000721a550004c012b27..."} 
[2026-08-05 17:34:16] local.INFO: Processing buffer {"connection_id":151192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cd5678012d1820000721a550004c012b27..."} 
[2026-08-05 17:34:16] local.INFO: Packet analysis {"connection_id":151192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:34:16] local.INFO: Extracted packet for processing {"connection_id":151192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645520,"longitude_deg":75.6555776,"latitude_deg":11.964552,"altitude":76,"angle":299,"satellites":39,"speed":6,"hex_longitude":"2d182000","hex_latitude":"0721a550","is_valid_coordinates":true} 
[2026-08-05 17:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198418432001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10740922933313536,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026785280,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931323000,"timestamp_ms":1785931323000,"timestamp_seconds":1785931323,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cd5678"} 
[2026-08-05 17:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 17:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198418432001,"66":14428,"105":206,"83":41984,"24":6,"16":10740922933313536,"45":1738600593026785280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198418432001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:34:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10740922933313536,"km_value":10740922933313.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026785280,"description":"Unknown IO ID 45"} 
[2026-08-05 17:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198418432001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738600593026785280}} 
[2026-08-05 17:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":151192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:34:16] local.INFO: GPS data processed {"connection_id":151192,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:34:16] local.INFO: Acknowledgment sent {"connection_id":151192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:34:39] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:34:39] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:34:39] local.INFO: IMEI packet received {"connection_id":148551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":148551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:34:40] local.INFO: TCP Data received {"connection_id":151193,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cf17b0012d7fa48005dc7dc8000b008819..."} 
[2026-08-05 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cf17b0012d7fa48005dc7dc8000b008819..."} 
[2026-08-05 17:34:40] local.INFO: Processing buffer {"connection_id":151193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cf17b0012d7fa48005dc7dc8000b008819..."} 
[2026-08-05 17:34:40] local.INFO: Packet analysis {"connection_id":151193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cf"} 
[2026-08-05 17:34:40] local.INFO: Extracted packet for processing {"connection_id":151193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cf"} 
[2026-08-05 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":98336200,"longitude_deg":76.3339904,"latitude_deg":9.83362,"altitude":11,"angle":136,"satellites":25,"speed":27,"hex_longitude":"2d7fa480","hex_latitude":"05dc7dc8","is_valid_coordinates":true} 
[2026-08-05 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198447616001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114978984638283776,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561570497423360,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785931438000,"timestamp_ms":1785931438000,"timestamp_seconds":1785931438,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cf17b0"} 
[2026-08-05 17:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 17:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198447616001,"66":12906,"53":206,"85":15104,"24":27,"16":114978984638283776,"45":9196561570497423360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-05 17:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198447616001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:34:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 17:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114978984638283776,"km_value":114978984638283.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561570497423360,"description":"Unknown IO ID 45"} 
[2026-08-05 17:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198447616001,"power":12906,"unknown_53":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9196561570497423360}} 
[2026-08-05 17:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":151193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:34:40] local.INFO: GPS data processed {"connection_id":151193,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:34:40] local.INFO: Acknowledgment sent {"connection_id":151193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:34:44] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:34:44] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:34:44] local.INFO: IMEI packet received {"connection_id":148551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":148551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:34:45] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cd5e48012d181f400721a5f8004c013727..."} 
[2026-08-05 17:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cd5e48012d181f400721a5f8004c013727..."} 
[2026-08-05 17:34:45] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cd5e48012d181f400721a5f8004c013727..."} 
[2026-08-05 17:34:45] local.INFO: Packet analysis {"connection_id":148551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:34:45] local.INFO: Extracted packet for processing {"connection_id":148551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645688,"longitude_deg":75.6555584,"latitude_deg":11.9645688,"altitude":76,"angle":311,"satellites":39,"speed":5,"hex_longitude":"2d181f40","hex_latitude":"0721a5f8","is_valid_coordinates":true} 
[2026-08-05 17:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198418688001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10740940113182720,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794264576,"note":"Value kept but may cause issues"} 
[2026-08-05 17:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931325000,"timestamp_ms":1785931325000,"timestamp_seconds":1785931325,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cd5e48"} 
[2026-08-05 17:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 17:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198418688001,"66":14428,"105":206,"83":41984,"24":5,"16":10740940113182720,"45":1738389486794264576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198418688001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:34:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10740940113182720,"km_value":10740940113182.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794264576,"description":"Unknown IO ID 45"} 
[2026-08-05 17:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198418688001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738389486794264576}} 
[2026-08-05 17:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":148551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:34:45] local.INFO: GPS data processed {"connection_id":148551,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:34:45] local.INFO: Acknowledgment sent {"connection_id":148551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:35:07] local.INFO: TCP Data received {"connection_id":151194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:35:07] local.INFO: Processing buffer {"connection_id":151194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:35:07] local.INFO: IMEI packet received {"connection_id":151194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":151194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:35:08] local.INFO: TCP Data received {"connection_id":151194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:35:08] local.INFO: Processing buffer {"connection_id":151194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:35:08] local.INFO: IMEI packet received {"connection_id":151194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":151194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:35:09] local.INFO: TCP Data received {"connection_id":151194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:35:09] local.INFO: Processing buffer {"connection_id":151194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:35:09] local.INFO: IMEI packet received {"connection_id":151194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":151194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:35:09] local.INFO: TCP Data received {"connection_id":151194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cf1f80012d7fa84005dc7bc8000a00781a..."} 
[2026-08-05 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cf1f80012d7fa84005dc7bc8000a00781a..."} 
[2026-08-05 17:35:09] local.INFO: Processing buffer {"connection_id":151194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cf1f80012d7fa84005dc7bc8000a00781a..."} 
[2026-08-05 17:35:09] local.INFO: Packet analysis {"connection_id":151194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cf"} 
[2026-08-05 17:35:09] local.INFO: Extracted packet for processing {"connection_id":151194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cf"} 
[2026-08-05 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763340864,"raw_latitude":98335688,"longitude_deg":76.3340864,"latitude_deg":9.8335688,"altitude":10,"angle":120,"satellites":26,"speed":20,"hex_longitude":"2d7fa840","hex_latitude":"05dc7bc8","is_valid_coordinates":true} 
[2026-08-05 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198448128001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114979036177891328,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101659817984,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785931440000,"timestamp_ms":1785931440000,"timestamp_seconds":1785931440,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cf1f80"} 
[2026-08-05 17:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-05 17:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198448128001,"66":12906,"53":206,"85":15104,"24":20,"16":114979036177891328,"45":9197617101659817984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-05 17:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198448128001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:35:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-05 17:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114979036177891328,"km_value":114979036177891.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101659817984,"description":"Unknown IO ID 45"} 
[2026-08-05 17:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198448128001,"power":12906,"unknown_53":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9197617101659817984}} 
[2026-08-05 17:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":151194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:35:09] local.INFO: GPS data processed {"connection_id":151194,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:35:09] local.INFO: Acknowledgment sent {"connection_id":151194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:35:16] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cd98e0012d181d400721a788004b016229..."} 
[2026-08-05 17:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cd98e0012d181d400721a788004b016229..."} 
[2026-08-05 17:35:16] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cd98e0012d181d400721a788004b016229..."} 
[2026-08-05 17:35:16] local.INFO: Packet analysis {"connection_id":148551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:35:16] local.INFO: Extracted packet for processing {"connection_id":148551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646088,"longitude_deg":75.6555072,"latitude_deg":11.9646088,"altitude":75,"angle":354,"satellites":41,"speed":8,"hex_longitude":"2d181d40","hex_latitude":"0721a788","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198419200001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10740970177953792,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561774592,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931340000,"timestamp_ms":1785931340000,"timestamp_seconds":1785931340,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cd98e0"} 
[2026-08-05 17:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 17:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198419200001,"66":13156,"105":206,"83":41984,"24":8,"16":10740970177953792,"45":1738178380561774592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198419200001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:35:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:35:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10740970177953792,"km_value":10740970177953.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561774592,"description":"Unknown IO ID 45"} 
[2026-08-05 17:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198419200001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738178380561774592}} 
[2026-08-05 17:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":148551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:35:16] local.INFO: GPS data processed {"connection_id":148551,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:35:16] local.INFO: Acknowledgment sent {"connection_id":148551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:35:39] local.INFO: TCP Data received {"connection_id":149770,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:35:39] local.INFO: Processing buffer {"connection_id":149770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:35:39] local.INFO: IMEI packet received {"connection_id":149770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":149770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:35:44] local.INFO: TCP Data received {"connection_id":149770,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:35:44] local.INFO: Processing buffer {"connection_id":149770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:35:44] local.INFO: IMEI packet received {"connection_id":149770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":149770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:35:45] local.INFO: TCP Data received {"connection_id":149770,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cd9cc8012d181d400721a868004b000a29..."} 
[2026-08-05 17:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cd9cc8012d181d400721a868004b000a29..."} 
[2026-08-05 17:35:45] local.INFO: Processing buffer {"connection_id":149770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cd9cc8012d181d400721a868004b000a29..."} 
[2026-08-05 17:35:45] local.INFO: Packet analysis {"connection_id":149770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:35:45] local.INFO: Extracted packet for processing {"connection_id":149770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646312,"longitude_deg":75.6555072,"latitude_deg":11.9646312,"altitude":75,"angle":10,"satellites":41,"speed":10,"hex_longitude":"2d181d40","hex_latitude":"0721a868","is_valid_coordinates":true} 
[2026-08-05 17:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198423040001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10740983062855680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608455680,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931341000,"timestamp_ms":1785931341000,"timestamp_seconds":1785931341,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cd9cc8"} 
[2026-08-05 17:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-05 17:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198423040001,"66":13156,"105":206,"83":41984,"24":10,"16":10740983062855680,"45":1737615430608455680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198423040001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:35:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10740983062855680,"km_value":10740983062855.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608455680,"description":"Unknown IO ID 45"} 
[2026-08-05 17:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198423040001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737615430608455680}} 
[2026-08-05 17:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":149770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:35:45] local.INFO: GPS data processed {"connection_id":149770,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:35:45] local.INFO: Acknowledgment sent {"connection_id":149770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:35:49] local.INFO: TCP Data received {"connection_id":151194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d05800012d807ac005dc80680004009e1a..."} 
[2026-08-05 17:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d05800012d807ac005dc80680004009e1a..."} 
[2026-08-05 17:35:49] local.INFO: Processing buffer {"connection_id":151194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d05800012d807ac005dc80680004009e1a..."} 
[2026-08-05 17:35:49] local.INFO: Packet analysis {"connection_id":151194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:35:49] local.INFO: Extracted packet for processing {"connection_id":151194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:35:49] local.INFO: GPS Element Parsed {"raw_longitude":763394752,"raw_latitude":98336872,"longitude_deg":76.3394752,"latitude_deg":9.8336872,"altitude":4,"angle":158,"satellites":26,"speed":45,"hex_longitude":"2d807ac0","hex_latitude":"05dc8068","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198466816001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114982012590227456,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192269026751881216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785931520000,"timestamp_ms":1785931520000,"timestamp_seconds":1785931520,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d05800"} 
[2026-08-05 17:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-05 17:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198466816001,"66":13015,"251":206,"85":15104,"24":45,"16":114982012590227456,"45":-9192269026751881216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-05 17:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198466816001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:35:49] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-05 17:35:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114982012590227456,"km_value":114982012590227.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192269026751881216,"description":"Unknown IO ID 45"} 
[2026-08-05 17:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198466816001,"power":13015,"unknown_251":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9192269026751881216}} 
[2026-08-05 17:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":151194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:35:49] local.INFO: GPS data processed {"connection_id":151194,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:35:49] local.INFO: Acknowledgment sent {"connection_id":151194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:36:03] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:36:03] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:36:03] local.INFO: IMEI packet received {"connection_id":148552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":148552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:36:04] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:36:04] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:36:04] local.INFO: IMEI packet received {"connection_id":148552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":148552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:36:08] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:36:08] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:36:08] local.INFO: IMEI packet received {"connection_id":148552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":148552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:36:09] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d07740012d80898005dc5c080005009919..."} 
[2026-08-05 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d07740012d80898005dc5c080005009919..."} 
[2026-08-05 17:36:09] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d07740012d80898005dc5c080005009919..."} 
[2026-08-05 17:36:09] local.INFO: Packet analysis {"connection_id":148552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:36:09] local.INFO: Extracted packet for processing {"connection_id":148552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763398528,"raw_latitude":98327560,"longitude_deg":76.3398528,"latitude_deg":9.832756,"altitude":5,"angle":153,"satellites":25,"speed":47,"hex_longitude":"2d808980","hex_latitude":"05dc5c08","is_valid_coordinates":true} 
[2026-08-05 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198469120001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114982502216499200,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188820958289303552,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785931528000,"timestamp_ms":1785931528000,"timestamp_seconds":1785931528,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d07740"} 
[2026-08-05 17:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 17:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198469120001,"66":13037,"251":206,"85":15104,"24":47,"16":114982502216499200,"45":-9188820958289303552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-05 17:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198469120001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:36:09] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-05 17:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114982502216499200,"km_value":114982502216499.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188820958289303552,"description":"Unknown IO ID 45"} 
[2026-08-05 17:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198469120001,"power":13037,"unknown_251":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9188820958289303552}} 
[2026-08-05 17:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":148552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:36:09] local.INFO: GPS data processed {"connection_id":148552,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:36:09] local.INFO: Acknowledgment sent {"connection_id":148552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:36:16] local.INFO: TCP Data received {"connection_id":149770,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cda0b0012d181e000721a970004b001b29..."} 
[2026-08-05 17:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cda0b0012d181e000721a970004b001b29..."} 
[2026-08-05 17:36:16] local.INFO: Processing buffer {"connection_id":149770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cda0b0012d181e000721a970004b001b29..."} 
[2026-08-05 17:36:16] local.INFO: Packet analysis {"connection_id":149770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:36:16] local.INFO: Extracted packet for processing {"connection_id":149770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cd"} 
[2026-08-05 17:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646576,"longitude_deg":75.6555264,"latitude_deg":11.9646576,"altitude":75,"angle":27,"satellites":41,"speed":12,"hex_longitude":"2d181e00","hex_latitude":"0721a970","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198423296001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10740995947757568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608513024,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931342000,"timestamp_ms":1785931342000,"timestamp_seconds":1785931342,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cda0b0"} 
[2026-08-05 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-08-05 17:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-05 17:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198423296001,"66":13102,"105":206,"83":41984,"24":12,"16":10740995947757568,"45":1737615430608513024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198423296001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:36:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10740995947757568,"km_value":10740995947757.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608513024,"description":"Unknown IO ID 45"} 
[2026-08-05 17:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198423296001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737615430608513024}} 
[2026-08-05 17:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":149770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:36:16] local.INFO: GPS data processed {"connection_id":149770,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:36:16] local.INFO: Acknowledgment sent {"connection_id":149770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:36:20] local.INFO: TCP Data received {"connection_id":151195,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:36:20] local.INFO: Processing buffer {"connection_id":151195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:36:20] local.INFO: IMEI packet received {"connection_id":151195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":151195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:36:21] local.INFO: TCP Data received {"connection_id":151195,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ce5460012d77aac005f25e40000801632b..."} 
[2026-08-05 17:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ce5460012d77aac005f25e40000801632b..."} 
[2026-08-05 17:36:21] local.INFO: Processing buffer {"connection_id":151195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ce5460012d77aac005f25e40000801632b..."} 
[2026-08-05 17:36:21] local.INFO: Packet analysis {"connection_id":151195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ce"} 
[2026-08-05 17:36:21] local.INFO: Extracted packet for processing {"connection_id":151195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ce"} 
[2026-08-05 17:36:21] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99769920,"longitude_deg":76.2817216,"latitude_deg":9.976992,"altitude":8,"angle":355,"satellites":43,"speed":10,"hex_longitude":"2d77aac0","hex_latitude":"05f25e40","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198429952001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370715867316486144,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623548887023964160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785931388000,"timestamp_ms":1785931388000,"timestamp_seconds":1785931388,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ce5460"} 
[2026-08-05 17:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:36: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-08-05 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-05 17:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198429952001,"66":27974,"160":206,"87":13568,"24":10,"16":370715867316486144,"45":8623548887023964160},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-05 17:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198429952001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:36:21] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-05 17:36:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-05 17:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370715867316486144,"km_value":370715867316486.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623548887023964160,"description":"Unknown IO ID 45"} 
[2026-08-05 17:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198429952001,"power":27974,"unknown_160":206,"unknown_87":13568,"ignition":10,"odometer":null,"unknown_45":8623548887023964160}} 
[2026-08-05 17:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":151195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:36:21] local.INFO: GPS data processed {"connection_id":151195,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:36:21] local.INFO: Acknowledgment sent {"connection_id":151195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:36:39] local.INFO: TCP Data received {"connection_id":148760,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:36:39] local.INFO: Processing buffer {"connection_id":148760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:36:39] local.INFO: IMEI packet received {"connection_id":148760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":148760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:36:40] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d09a68012d809a8005dc3da8000600a119..."} 
[2026-08-05 17:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d09a68012d809a8005dc3da8000600a119..."} 
[2026-08-05 17:36:40] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d09a68012d809a8005dc3da8000600a119..."} 
[2026-08-05 17:36:40] local.INFO: Packet analysis {"connection_id":148552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:36:40] local.INFO: Extracted packet for processing {"connection_id":148552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763402880,"raw_latitude":98319784,"longitude_deg":76.340288,"latitude_deg":9.8319784,"altitude":6,"angle":161,"satellites":25,"speed":37,"hex_longitude":"2d809a80","hex_latitude":"05dc3da8","is_valid_coordinates":true} 
[2026-08-05 17:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198471168001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114982931713228800,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184669202385205248,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785931537000,"timestamp_ms":1785931537000,"timestamp_seconds":1785931537,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d09a68"} 
[2026-08-05 17:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-05 17:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198471168001,"66":13102,"251":206,"85":15104,"24":37,"16":114982931713228800,"45":-9184669202385205248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-05 17:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198471168001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:36:40] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-05 17:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114982931713228800,"km_value":114982931713228.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184669202385205248,"description":"Unknown IO ID 45"} 
[2026-08-05 17:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198471168001,"power":13102,"unknown_251":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9184669202385205248}} 
[2026-08-05 17:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":148552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:36:40] local.INFO: GPS data processed {"connection_id":148552,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:36:40] local.INFO: Acknowledgment sent {"connection_id":148552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:36:41] local.INFO: TCP Data received {"connection_id":148760,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:36:41] local.INFO: Processing buffer {"connection_id":148760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:36:41] local.INFO: IMEI packet received {"connection_id":148760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":148760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:36:44] local.INFO: TCP Data received {"connection_id":148760,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:36:44] local.INFO: Processing buffer {"connection_id":148760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:36:44] local.INFO: IMEI packet received {"connection_id":148760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":148760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:36:45] local.INFO: TCP Data received {"connection_id":148760,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d05be8012d1825000721b810004b01262a..."} 
[2026-08-05 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d05be8012d1825000721b810004b01262a..."} 
[2026-08-05 17:36:45] local.INFO: Processing buffer {"connection_id":148760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d05be8012d1825000721b810004b01262a..."} 
[2026-08-05 17:36:45] local.INFO: Packet analysis {"connection_id":148760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:36:45] local.INFO: Extracted packet for processing {"connection_id":148760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198464000001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931521000,"timestamp_ms":1785931521000,"timestamp_seconds":1785931521,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d05be8"} 
[2026-08-05 17:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-05 17:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198464000001,"66":12972,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198464000001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:36:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198464000001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":148760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:36:45] local.INFO: GPS data processed {"connection_id":148760,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:36:45] local.INFO: Acknowledgment sent {"connection_id":148760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:36:52] local.INFO: TCP Data received {"connection_id":151195,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cea668012d77aa4005f265c0000a00002c..."} 
[2026-08-05 17:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cea668012d77aa4005f265c0000a00002c..."} 
[2026-08-05 17:36:52] local.INFO: Processing buffer {"connection_id":151195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cea668012d77aa4005f265c0000a00002c..."} 
[2026-08-05 17:36:52] local.INFO: Packet analysis {"connection_id":151195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ce"} 
[2026-08-05 17:36:52] local.INFO: Extracted packet for processing {"connection_id":151195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ce"} 
[2026-08-05 17:36:52] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99771840,"longitude_deg":76.2817088,"latitude_deg":9.977184,"altitude":10,"angle":0,"satellites":44,"speed":7,"hex_longitude":"2d77aa40","hex_latitude":"05f265c0","is_valid_coordinates":true} 
[2026-08-05 17:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198435328001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370715961805766656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327868416,"note":"Value kept but may cause issues"} 
[2026-08-05 17:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785931409000,"timestamp_ms":1785931409000,"timestamp_seconds":1785931409,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cea668"} 
[2026-08-05 17:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 17:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198435328001,"66":27930,"160":206,"87":13568,"24":7,"16":370715961805766656,"45":8622915568327868416},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-05 17:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198435328001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:36:52] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-05 17:36:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-05 17:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370715961805766656,"km_value":370715961805766.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327868416,"description":"Unknown IO ID 45"} 
[2026-08-05 17:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198435328001,"power":27930,"unknown_160":206,"unknown_87":13568,"ignition":7,"odometer":null,"unknown_45":8622915568327868416}} 
[2026-08-05 17:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":151195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:36:52] local.INFO: GPS data processed {"connection_id":151195,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:36:52] local.INFO: Acknowledgment sent {"connection_id":151195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:37:03] local.INFO: TCP Data received {"connection_id":148761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:03] local.INFO: Processing buffer {"connection_id":148761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:03] local.INFO: IMEI packet received {"connection_id":148761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":148761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:37:04] local.INFO: TCP Data received {"connection_id":148761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:04] local.INFO: Processing buffer {"connection_id":148761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:04] local.INFO: IMEI packet received {"connection_id":148761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":148761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:37:04] local.INFO: TCP Data received {"connection_id":148761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:04] local.INFO: Processing buffer {"connection_id":148761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:04] local.INFO: IMEI packet received {"connection_id":148761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":148761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:37:08] local.INFO: TCP Data received {"connection_id":148761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:08] local.INFO: Processing buffer {"connection_id":148761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:37:08] local.INFO: IMEI packet received {"connection_id":148761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":148761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:37:08] local.INFO: TCP Data received {"connection_id":148761,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d1d2e8012d813f0005daf978000600891a..."} 
[2026-08-05 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d1d2e8012d813f0005daf978000600891a..."} 
[2026-08-05 17:37:08] local.INFO: Processing buffer {"connection_id":148761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d1d2e8012d813f0005daf978000600891a..."} 
[2026-08-05 17:37:08] local.INFO: Packet analysis {"connection_id":148761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:37:08] local.INFO: Extracted packet for processing {"connection_id":148761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763444992,"raw_latitude":98236792,"longitude_deg":76.3444992,"latitude_deg":9.8236792,"altitude":6,"angle":137,"satellites":26,"speed":39,"hex_longitude":"2d813f00","hex_latitude":"05daf978","is_valid_coordinates":true} 
[2026-08-05 17:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198491904001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114987454313791488,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137311037574909952,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785931617000,"timestamp_ms":1785931617000,"timestamp_seconds":1785931617,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d1d2e8"} 
[2026-08-05 17:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:37: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-08-05 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-05 17:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198491904001,"66":13178,"154":206,"85":15104,"24":39,"16":114987454313791488,"45":-9137311037574909952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-05 17:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198491904001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:37:08] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-05 17:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114987454313791488,"km_value":114987454313791.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137311037574909952,"description":"Unknown IO ID 45"} 
[2026-08-05 17:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198491904001,"power":13178,"unknown_154":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9137311037574909952}} 
[2026-08-05 17:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":148761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:37:08] local.INFO: GPS data processed {"connection_id":148761,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:37:08] local.INFO: Acknowledgment sent {"connection_id":148761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:37:14] local.INFO: TCP Data received {"connection_id":151196,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:37:14] local.INFO: Processing buffer {"connection_id":151196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:37:14] local.INFO: IMEI packet received {"connection_id":151196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":151196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:37:16] local.INFO: TCP Data received {"connection_id":148760,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d0adf0012d1825000721b810004b01262a..."} 
[2026-08-05 17:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d0adf0012d1825000721b810004b01262a..."} 
[2026-08-05 17:37:16] local.INFO: Processing buffer {"connection_id":148760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d0adf0012d1825000721b810004b01262a..."} 
[2026-08-05 17:37:16] local.INFO: Packet analysis {"connection_id":148760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:37:16] local.INFO: Extracted packet for processing {"connection_id":148760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:37:16] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198469376001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931542000,"timestamp_ms":1785931542000,"timestamp_seconds":1785931542,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d0adf0"} 
[2026-08-05 17:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-05 17:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198469376001,"66":12939,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198469376001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:37:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:37:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198469376001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":148760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:37:17] local.INFO: GPS data processed {"connection_id":148760,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:37:17] local.INFO: Acknowledgment sent {"connection_id":148760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:37:30] local.INFO: TCP Data received {"connection_id":151196,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:37:30] local.INFO: Processing buffer {"connection_id":151196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:37:30] local.INFO: IMEI packet received {"connection_id":151196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":151196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:37:31] local.INFO: TCP Data received {"connection_id":151196,"ip":"117.224.45.48","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151196,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 17:37:31] local.INFO: Processing buffer {"connection_id":151196,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 17:37:31] local.INFO: IMEI packet received {"connection_id":151196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":151196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:37:44] local.INFO: TCP Data received {"connection_id":148761,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d1e288012d81494005daede0000700951a..."} 
[2026-08-05 17:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d1e288012d81494005daede0000700951a..."} 
[2026-08-05 17:37:44] local.INFO: Processing buffer {"connection_id":148761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d1e288012d81494005daede0000700951a..."} 
[2026-08-05 17:37:44] local.INFO: Packet analysis {"connection_id":148761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:37:44] local.INFO: Extracted packet for processing {"connection_id":148761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:37:44] local.INFO: GPS Element Parsed {"raw_longitude":763447616,"raw_latitude":98233824,"longitude_deg":76.3447616,"latitude_deg":9.8233824,"altitude":7,"angle":149,"satellites":26,"speed":40,"hex_longitude":"2d814940","hex_latitude":"05daede0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198493952001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114987647587319808,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133581494135457792,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785931621000,"timestamp_ms":1785931621000,"timestamp_seconds":1785931621,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d1e288"} 
[2026-08-05 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-08-05 17:37: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-08-05 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 17:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198493952001,"66":13222,"154":206,"85":15104,"24":40,"16":114987647587319808,"45":-9133581494135457792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-05 17:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198493952001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:37:44] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-05 17:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114987647587319808,"km_value":114987647587319.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133581494135457792,"description":"Unknown IO ID 45"} 
[2026-08-05 17:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198493952001,"power":13222,"unknown_154":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9133581494135457792}} 
[2026-08-05 17:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":148761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:37:44] local.INFO: GPS data processed {"connection_id":148761,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:37:44] local.INFO: Acknowledgment sent {"connection_id":148761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:37:44] local.INFO: TCP Data received {"connection_id":151197,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:37:44] local.INFO: Processing buffer {"connection_id":151197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:37:44] local.INFO: IMEI packet received {"connection_id":151197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":151197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:37:45] local.INFO: TCP Data received {"connection_id":151197,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:37:45] local.INFO: Processing buffer {"connection_id":151197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:37:45] local.INFO: IMEI packet received {"connection_id":151197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":151197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:37:49] local.INFO: TCP Data received {"connection_id":151197,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:37:49] local.INFO: Processing buffer {"connection_id":151197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:37:49] local.INFO: IMEI packet received {"connection_id":151197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":151197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:37:51] local.INFO: TCP Data received {"connection_id":151197,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d0fff8012d1825000721b810004b01262b..."} 
[2026-08-05 17:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d0fff8012d1825000721b810004b01262b..."} 
[2026-08-05 17:37:51] local.INFO: Processing buffer {"connection_id":151197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d0fff8012d1825000721b810004b01262b..."} 
[2026-08-05 17:37:51] local.INFO: Packet analysis {"connection_id":151197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:37:51] local.INFO: Extracted packet for processing {"connection_id":151197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198474752001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785931563000,"timestamp_ms":1785931563000,"timestamp_seconds":1785931563,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d0fff8"} 
[2026-08-05 17:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:37: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-08-05 17:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 17:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198474752001,"66":12885,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198474752001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:37:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198474752001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":151197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:37:51] local.INFO: GPS data processed {"connection_id":151197,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:37:51] local.INFO: Acknowledgment sent {"connection_id":151197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:37:55] local.INFO: TCP Data received {"connection_id":151197,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d15200012d1825000721b810004b01262b..."} 
[2026-08-05 17:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d15200012d1825000721b810004b01262b..."} 
[2026-08-05 17:37:55] local.INFO: Processing buffer {"connection_id":151197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d15200012d1825000721b810004b01262b..."} 
[2026-08-05 17:37:55] local.INFO: Packet analysis {"connection_id":151197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:37:55] local.INFO: Extracted packet for processing {"connection_id":151197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198480128001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785931584000,"timestamp_ms":1785931584000,"timestamp_seconds":1785931584,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d15200"} 
[2026-08-05 17:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 17:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198480128001,"66":12885,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198480128001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:37:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198480128001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":151197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:37:55] local.INFO: GPS data processed {"connection_id":151197,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:37:55] local.INFO: Acknowledgment sent {"connection_id":151197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:38:03] local.INFO: TCP Data received {"connection_id":148762,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:38:03] local.INFO: Processing buffer {"connection_id":148762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:38:03] local.INFO: IMEI packet received {"connection_id":148762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":148762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:38:08] local.INFO: TCP Data received {"connection_id":148762,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:38:08] local.INFO: Processing buffer {"connection_id":148762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:38:08] local.INFO: IMEI packet received {"connection_id":148762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":148762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:38:09] local.INFO: TCP Data received {"connection_id":148762,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d1e670012d814a8005daea08000700a219..."} 
[2026-08-05 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d1e670012d814a8005daea08000700a219..."} 
[2026-08-05 17:38:09] local.INFO: Processing buffer {"connection_id":148762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d1e670012d814a8005daea08000700a219..."} 
[2026-08-05 17:38:09] local.INFO: Packet analysis {"connection_id":148762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:38:09] local.INFO: Extracted packet for processing {"connection_id":148762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763447936,"raw_latitude":98232840,"longitude_deg":76.3447936,"latitude_deg":9.823284,"altitude":7,"angle":162,"satellites":25,"speed":41,"hex_longitude":"2d814a80","hex_latitude":"05daea08","is_valid_coordinates":true} 
[2026-08-05 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198494976001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114987699126927360,"note":"Value kept but may cause issues"} 
[2026-08-05 17:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130696375624933376,"note":"Value kept but may cause issues"} 
[2026-08-05 17:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785931622000,"timestamp_ms":1785931622000,"timestamp_seconds":1785931622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d1e670"} 
[2026-08-05 17:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-05 17:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198494976001,"66":13222,"154":206,"85":15104,"24":41,"16":114987699126927360,"45":-9130696375624933376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-05 17:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198494976001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114987699126927360,"km_value":114987699126927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130696375624933376,"description":"Unknown IO ID 45"} 
[2026-08-05 17:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198494976001,"power":13222,"unknown_154":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9130696375624933376}} 
[2026-08-05 17:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":148762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:38:09] local.INFO: GPS data processed {"connection_id":148762,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:38:09] local.INFO: Acknowledgment sent {"connection_id":148762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:38:39] local.INFO: TCP Data received {"connection_id":151198,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:38:39] local.INFO: Processing buffer {"connection_id":151198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:38:39] local.INFO: IMEI packet received {"connection_id":151198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":151198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:38:40] local.INFO: TCP Data received {"connection_id":148762,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d32e90012d82214005da8c88000500831a..."} 
[2026-08-05 17:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d32e90012d82214005da8c88000500831a..."} 
[2026-08-05 17:38:40] local.INFO: Processing buffer {"connection_id":148762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d32e90012d82214005da8c88000500831a..."} 
[2026-08-05 17:38:40] local.INFO: Packet analysis {"connection_id":148762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:38:40] local.INFO: Extracted packet for processing {"connection_id":148762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763502912,"raw_latitude":98208904,"longitude_deg":76.3502912,"latitude_deg":9.8208904,"altitude":5,"angle":131,"satellites":26,"speed":23,"hex_longitude":"2d822140","hex_latitude":"05da8c88","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198516224001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114991371323965440,"note":"Value kept but may cause issues"} 
[2026-08-05 17:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070953311824302080,"note":"Value kept but may cause issues"} 
[2026-08-05 17:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785931706000,"timestamp_ms":1785931706000,"timestamp_seconds":1785931706,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d32e90"} 
[2026-08-05 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-08-05 17:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-05 17:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198516224001,"66":13059,"153":206,"85":15104,"24":23,"16":114991371323965440,"45":-9070953311824302080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-05 17:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198516224001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:38:40] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-05 17:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114991371323965440,"km_value":114991371323965.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070953311824302080,"description":"Unknown IO ID 45"} 
[2026-08-05 17:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198516224001,"power":13059,"unknown_153":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9070953311824302080}} 
[2026-08-05 17:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":148762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:38:40] local.INFO: GPS data processed {"connection_id":148762,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:38:40] local.INFO: Acknowledgment sent {"connection_id":148762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:38:44] local.INFO: TCP Data received {"connection_id":151198,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:38:44] local.INFO: Processing buffer {"connection_id":151198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:38:44] local.INFO: IMEI packet received {"connection_id":151198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":151198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:38:45] local.INFO: TCP Data received {"connection_id":151198,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d1a408012d1825000721b810004b01262b..."} 
[2026-08-05 17:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d1a408012d1825000721b810004b01262b..."} 
[2026-08-05 17:38:45] local.INFO: Processing buffer {"connection_id":151198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d1a408012d1825000721b810004b01262b..."} 
[2026-08-05 17:38:45] local.INFO: Packet analysis {"connection_id":151198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:38:45] local.INFO: Extracted packet for processing {"connection_id":151198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:38:45] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198485504001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931605000,"timestamp_ms":1785931605000,"timestamp_seconds":1785931605,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d1a408"} 
[2026-08-05 17:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 17:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198485504001,"66":12874,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198485504001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:38:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:38:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198485504001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":151198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:38:45] local.INFO: GPS data processed {"connection_id":151198,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:38:45] local.INFO: Acknowledgment sent {"connection_id":151198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:39:03] local.INFO: TCP Data received {"connection_id":149771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:39:03] local.INFO: Processing buffer {"connection_id":149771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:39:03] local.INFO: IMEI packet received {"connection_id":149771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":149771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:39:08] local.INFO: TCP Data received {"connection_id":149771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:39:08] local.INFO: Processing buffer {"connection_id":149771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:39:08] local.INFO: IMEI packet received {"connection_id":149771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":149771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:39:09] local.INFO: TCP Data received {"connection_id":149771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d33278012d82220005da89f8000600921a..."} 
[2026-08-05 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d33278012d82220005da89f8000600921a..."} 
[2026-08-05 17:39:09] local.INFO: Processing buffer {"connection_id":149771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d33278012d82220005da89f8000600921a..."} 
[2026-08-05 17:39:09] local.INFO: Packet analysis {"connection_id":149771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:39:09] local.INFO: Extracted packet for processing {"connection_id":149771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763503104,"raw_latitude":98208248,"longitude_deg":76.3503104,"latitude_deg":9.8208248,"altitude":6,"angle":146,"satellites":26,"speed":25,"hex_longitude":"2d822200","hex_latitude":"05da89f8","is_valid_coordinates":true} 
[2026-08-05 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198516736001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114991405683703808,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069897780661811200,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785931707000,"timestamp_ms":1785931707000,"timestamp_seconds":1785931707,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d33278"} 
[2026-08-05 17:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158634007976,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":153,"raw_value":58077557095399453,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3520246160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2179497989,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3538436097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2173173762,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828599502,"corrected_to":0} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221609076,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465512,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2264268800,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3664973824,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,153,85,24,241,157,16,136,159,38,45,128,143,4,25,10,66,135,30,192,26,15,64,1,240,46,227,209,218,113,205,35,185,197,160,239,49,2,152,5,3,29],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2828599502,"validated":0}]} 
[2026-08-05 17:39:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360432117883535360,"timestamp_seconds":360432117883535.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198516736001,"66":13189,"153":206,"85":15104,"24":25,"16":114991405683703808,"45":-9069897780661811200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-05 17:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198516736001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:39:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-05 17:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114991405683703808,"km_value":114991405683703.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069897780661811200,"description":"Unknown IO ID 45"} 
[2026-08-05 17:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198516736001,"power":13189,"unknown_153":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9069897780661811200}} 
[2026-08-05 17:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":149771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:39:09] local.INFO: GPS data processed {"connection_id":149771,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:39:09] local.INFO: Acknowledgment sent {"connection_id":149771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:39:17] local.INFO: TCP Data received {"connection_id":151198,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d1f610012d1825000721b810004b01262c..."} 
[2026-08-05 17:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d1f610012d1825000721b810004b01262c..."} 
[2026-08-05 17:39:17] local.INFO: Processing buffer {"connection_id":151198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d1f610012d1825000721b810004b01262c..."} 
[2026-08-05 17:39:17] local.INFO: Packet analysis {"connection_id":151198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:39:17] local.INFO: Extracted packet for processing {"connection_id":151198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198490880001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785931626000,"timestamp_ms":1785931626000,"timestamp_seconds":1785931626,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d1f610"} 
[2026-08-05 17:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-05 17:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198490880001,"66":12852,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198490880001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:39:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198490880001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":151198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:39:17] local.INFO: GPS data processed {"connection_id":151198,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:39:17] local.INFO: Acknowledgment sent {"connection_id":151198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:39:39] local.INFO: TCP Data received {"connection_id":149772,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:39:39] local.INFO: Processing buffer {"connection_id":149772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:39:39] local.INFO: IMEI packet received {"connection_id":149772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":149772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:39:40] local.INFO: TCP Data received {"connection_id":149771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d33a48012d8223c005da8388000700a21a..."} 
[2026-08-05 17:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d33a48012d8223c005da8388000700a21a..."} 
[2026-08-05 17:39:40] local.INFO: Processing buffer {"connection_id":149771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d33a48012d8223c005da8388000700a21a..."} 
[2026-08-05 17:39:40] local.INFO: Packet analysis {"connection_id":149771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:39:40] local.INFO: Extracted packet for processing {"connection_id":149771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763503552,"raw_latitude":98206600,"longitude_deg":76.3503552,"latitude_deg":9.82066,"altitude":7,"angle":162,"satellites":26,"speed":32,"hex_longitude":"2d8223c0","hex_latitude":"05da8388","is_valid_coordinates":true} 
[2026-08-05 17:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198516992001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114991487288082432,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069686674429446144,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785931709000,"timestamp_ms":1785931709000,"timestamp_seconds":1785931709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d33a48"} 
[2026-08-05 17:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-05 17:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198516992001,"66":13135,"71":206,"85":15104,"24":32,"16":114991487288082432,"45":-9069686674429446144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-05 17:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198516992001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:39:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-05 17:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114991487288082432,"km_value":114991487288082.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069686674429446144,"description":"Unknown IO ID 45"} 
[2026-08-05 17:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198516992001,"power":13135,"unknown_71":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9069686674429446144}} 
[2026-08-05 17:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":149771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:39:40] local.INFO: GPS data processed {"connection_id":149771,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:39:40] local.INFO: Acknowledgment sent {"connection_id":149771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:39:44] local.INFO: TCP Data received {"connection_id":149772,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:39:44] local.INFO: Processing buffer {"connection_id":149772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:39:44] local.INFO: IMEI packet received {"connection_id":149772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":149772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:39:45] local.INFO: TCP Data received {"connection_id":149772,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d24818012d1825000721b810004b01262b..."} 
[2026-08-05 17:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d24818012d1825000721b810004b01262b..."} 
[2026-08-05 17:39:45] local.INFO: Processing buffer {"connection_id":149772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d24818012d1825000721b810004b01262b..."} 
[2026-08-05 17:39:45] local.INFO: Packet analysis {"connection_id":149772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d2"} 
[2026-08-05 17:39:45] local.INFO: Extracted packet for processing {"connection_id":149772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d2"} 
[2026-08-05 17:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198496256001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:39: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-08-05 17:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931647000,"timestamp_ms":1785931647000,"timestamp_seconds":1785931647,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d24818"} 
[2026-08-05 17:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 17:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198496256001,"66":12841,"107":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 17:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198496256001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:39:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 17:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198496256001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":149772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:39:45] local.INFO: GPS data processed {"connection_id":149772,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:39:45] local.INFO: Acknowledgment sent {"connection_id":149772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:40:03] local.INFO: TCP Data received {"connection_id":151200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:40:03] local.INFO: Processing buffer {"connection_id":151200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:40:03] local.INFO: IMEI packet received {"connection_id":151200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":151200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:40:08] local.INFO: TCP Data received {"connection_id":151200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:40:08] local.INFO: Processing buffer {"connection_id":151200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:40:08] local.INFO: IMEI packet received {"connection_id":151200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":151200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:40:09] local.INFO: TCP Data received {"connection_id":151200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d36158012d8230c005da5ff0000700a11a..."} 
[2026-08-05 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d36158012d8230c005da5ff0000700a11a..."} 
[2026-08-05 17:40:09] local.INFO: Processing buffer {"connection_id":151200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d36158012d8230c005da5ff0000700a11a..."} 
[2026-08-05 17:40:09] local.INFO: Packet analysis {"connection_id":151200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:40:09] local.INFO: Extracted packet for processing {"connection_id":151200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763506880,"raw_latitude":98197488,"longitude_deg":76.350688,"latitude_deg":9.8197488,"altitude":7,"angle":161,"satellites":26,"speed":38,"hex_longitude":"2d8230c0","hex_latitude":"05da5ff0","is_valid_coordinates":true} 
[2026-08-05 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198517504001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114991955439517696,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069194093220624384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785931719000,"timestamp_ms":1785931719000,"timestamp_seconds":1785931719,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d36158"} 
[2026-08-05 17:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 17:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198517504001,"66":13102,"71":206,"85":15104,"24":38,"16":114991955439517696,"45":-9069194093220624384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-05 17:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198517504001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:40:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-05 17:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114991955439517696,"km_value":114991955439517.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069194093220624384,"description":"Unknown IO ID 45"} 
[2026-08-05 17:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198517504001,"power":13102,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9069194093220624384}} 
[2026-08-05 17:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":151200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:40:09] local.INFO: GPS data processed {"connection_id":151200,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:40:09] local.INFO: Acknowledgment sent {"connection_id":151200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:40:16] local.INFO: TCP Data received {"connection_id":149772,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d29a20012d1825000721b810004b01262b..."} 
[2026-08-05 17:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d29a20012d1825000721b810004b01262b..."} 
[2026-08-05 17:40:16] local.INFO: Processing buffer {"connection_id":149772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d29a20012d1825000721b810004b01262b..."} 
[2026-08-05 17:40:16] local.INFO: Packet analysis {"connection_id":149772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d2"} 
[2026-08-05 17:40:16] local.INFO: Extracted packet for processing {"connection_id":149772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d2"} 
[2026-08-05 17:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198501632001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931668000,"timestamp_ms":1785931668000,"timestamp_seconds":1785931668,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d29a20"} 
[2026-08-05 17:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-05 17:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198501632001,"66":12809,"107":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 17:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198501632001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:40:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 17:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198501632001,"power":12809,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":149772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:40:16] local.INFO: GPS data processed {"connection_id":149772,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:40:16] local.INFO: Acknowledgment sent {"connection_id":149772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:40:39] local.INFO: TCP Data received {"connection_id":148554,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:40:39] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:40:39] local.INFO: IMEI packet received {"connection_id":148554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":148554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:40:41] local.INFO: TCP Data received {"connection_id":151200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d38868012d82388005da3a08000600aa1a..."} 
[2026-08-05 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d38868012d82388005da3a08000600aa1a..."} 
[2026-08-05 17:40:41] local.INFO: Processing buffer {"connection_id":151200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d38868012d82388005da3a08000600aa1a..."} 
[2026-08-05 17:40:41] local.INFO: Packet analysis {"connection_id":151200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:40:41] local.INFO: Extracted packet for processing {"connection_id":151200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763508864,"raw_latitude":98187784,"longitude_deg":76.3508864,"latitude_deg":9.8187784,"altitude":6,"angle":170,"satellites":26,"speed":40,"hex_longitude":"2d823880","hex_latitude":"05da3a08","is_valid_coordinates":true} 
[2026-08-05 17:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198520064001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114992436475854848,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065534918525718528,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785931729000,"timestamp_ms":1785931729000,"timestamp_seconds":1785931729,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d38868"} 
[2026-08-05 17:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-05 17:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198520064001,"66":13102,"71":206,"85":15104,"24":40,"16":114992436475854848,"45":-9065534918525718528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-05 17:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198520064001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:40:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-05 17:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114992436475854848,"km_value":114992436475854.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065534918525718528,"description":"Unknown IO ID 45"} 
[2026-08-05 17:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198520064001,"power":13102,"unknown_71":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9065534918525718528}} 
[2026-08-05 17:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":151200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:40:41] local.INFO: GPS data processed {"connection_id":151200,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:40:41] local.INFO: Acknowledgment sent {"connection_id":151200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:40:44] local.INFO: TCP Data received {"connection_id":148554,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:40:44] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:40:44] local.INFO: IMEI packet received {"connection_id":148554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":148554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:40:45] local.INFO: TCP Data received {"connection_id":148554,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d2ec28012d1825000721b810004b01262b..."} 
[2026-08-05 17:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d2ec28012d1825000721b810004b01262b..."} 
[2026-08-05 17:40:45] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d2ec28012d1825000721b810004b01262b..."} 
[2026-08-05 17:40:45] local.INFO: Packet analysis {"connection_id":148554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d2"} 
[2026-08-05 17:40:45] local.INFO: Extracted packet for processing {"connection_id":148554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d2"} 
[2026-08-05 17:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198507008001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931689000,"timestamp_ms":1785931689000,"timestamp_seconds":1785931689,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d2ec28"} 
[2026-08-05 17:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3520114160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":4097,"corrected_to":0} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-3432895199190702848,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3088056395,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":255,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429709592410793514,"note":"Value kept but may cause issues"} 
[2026-08-05 17:40:45] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,41,159,72,45,184,75,43,10,66,246,44,105,164,1,240,74,227,209,33,4,113,205,255,37,239,50,2,38,7,32],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":246,"original":4097,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 17:40:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404642993946755072,"timestamp_seconds":5404642993946755.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198507008001,"66":12809,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198507008001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:40:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198507008001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":148554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:40:45] local.INFO: GPS data processed {"connection_id":148554,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:40:45] local.INFO: Acknowledgment sent {"connection_id":148554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:41:03] local.INFO: TCP Data received {"connection_id":149773,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:41:03] local.INFO: Processing buffer {"connection_id":149773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:41:03] local.INFO: IMEI packet received {"connection_id":149773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":149773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:41:08] local.INFO: TCP Data received {"connection_id":149773,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:41:08] local.INFO: Processing buffer {"connection_id":149773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:41:08] local.INFO: IMEI packet received {"connection_id":149773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":149773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:41:08] local.INFO: TCP Data received {"connection_id":149773,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d52678012d82830005d90000000600a11a..."} 
[2026-08-05 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d52678012d82830005d90000000600a11a..."} 
[2026-08-05 17:41:08] local.INFO: Processing buffer {"connection_id":149773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d52678012d82830005d90000000600a11a..."} 
[2026-08-05 17:41:08] local.INFO: Packet analysis {"connection_id":149773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:41:08] local.INFO: Extracted packet for processing {"connection_id":149773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763527936,"raw_latitude":98107392,"longitude_deg":76.3527936,"latitude_deg":9.8107392,"altitude":6,"angle":161,"satellites":26,"speed":6,"hex_longitude":"2d828300","hex_latitude":"05d90000","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198546944001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114996456565243904,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044705770269964288,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785931835000,"timestamp_ms":1785931835000,"timestamp_seconds":1785931835,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d52678"} 
[2026-08-05 17:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 17:41: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-08-05 17: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-08-05 17:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198546944001,"66":12765,"69":206,"85":15104,"24":6,"16":114996456565243904,"45":-9044705770269964288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-05 17:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198546944001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:41:08] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-05 17:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114996456565243904,"km_value":114996456565243.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044705770269964288,"description":"Unknown IO ID 45"} 
[2026-08-05 17:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198546944001,"power":12765,"unknown_69":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9044705770269964288}} 
[2026-08-05 17:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":149773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:41:08] local.INFO: GPS data processed {"connection_id":149773,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:41:08] local.INFO: Acknowledgment sent {"connection_id":149773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:41:16] local.INFO: TCP Data received {"connection_id":148554,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d33e30012d1825000721b810004b01262a..."} 
[2026-08-05 17:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d33e30012d1825000721b810004b01262a..."} 
[2026-08-05 17:41:16] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d33e30012d1825000721b810004b01262a..."} 
[2026-08-05 17:41:16] local.INFO: Packet analysis {"connection_id":148554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:41:16] local.INFO: Extracted packet for processing {"connection_id":148554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198512384001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931710000,"timestamp_ms":1785931710000,"timestamp_seconds":1785931710,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d33e30"} 
[2026-08-05 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-08-05 17: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-08-05 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3520135160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":4097,"corrected_to":0} 
[2026-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-3409805455007406848,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3088056395,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429709592410793514,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:16] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,41,159,154,45,184,75,43,10,66,107,72,246,1,240,52,227,209,33,4,113,205,82,37,239,50,2,38,7,164,32],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":246,"original":4097,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 17:41:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404642993946755072,"timestamp_seconds":5404642993946755.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 17:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198512384001,"66":12809,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198512384001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:41:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:41:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198512384001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":148554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:41:16] local.INFO: GPS data processed {"connection_id":148554,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:41:16] local.INFO: Acknowledgment sent {"connection_id":148554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:41:39] local.INFO: TCP Data received {"connection_id":149774,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:41:39] local.INFO: Processing buffer {"connection_id":149774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:41:39] local.INFO: IMEI packet received {"connection_id":149774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":149774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:41:39] local.INFO: TCP Data received {"connection_id":149773,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d541d0012d82834005d8ffb0000700b31a..."} 
[2026-08-05 17:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d541d0012d82834005d8ffb0000700b31a..."} 
[2026-08-05 17:41:39] local.INFO: Processing buffer {"connection_id":149773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d541d0012d82834005d8ffb0000700b31a..."} 
[2026-08-05 17:41:39] local.INFO: Packet analysis {"connection_id":149773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:41:39] local.INFO: Extracted packet for processing {"connection_id":149773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763528000,"raw_latitude":98107312,"longitude_deg":76.3528,"latitude_deg":9.8107312,"altitude":7,"angle":179,"satellites":26,"speed":7,"hex_longitude":"2d828340","hex_latitude":"05d8ffb0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198549760001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114996460860211200,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042383601714331648,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785931842000,"timestamp_ms":1785931842000,"timestamp_seconds":1785931842,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d541d0"} 
[2026-08-05 17:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-05 17:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198549760001,"66":12874,"49":206,"85":15104,"24":7,"16":114996460860211200,"45":-9042383601714331648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-05 17:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198549760001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:41:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-05 17:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114996460860211200,"km_value":114996460860211.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042383601714331648,"description":"Unknown IO ID 45"} 
[2026-08-05 17:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198549760001,"power":12874,"unknown_49":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9042383601714331648}} 
[2026-08-05 17:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":149773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:41:39] local.INFO: GPS data processed {"connection_id":149773,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:41:39] local.INFO: Acknowledgment sent {"connection_id":149773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:41:44] local.INFO: TCP Data received {"connection_id":149774,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:41:44] local.INFO: Processing buffer {"connection_id":149774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:41:44] local.INFO: IMEI packet received {"connection_id":149774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":149774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:41:45] local.INFO: TCP Data received {"connection_id":149774,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d39038012d1825000721b810004b01262b..."} 
[2026-08-05 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d39038012d1825000721b810004b01262b..."} 
[2026-08-05 17:41:45] local.INFO: Processing buffer {"connection_id":149774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d39038012d1825000721b810004b01262b..."} 
[2026-08-05 17:41:45] local.INFO: Packet analysis {"connection_id":149774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:41:45] local.INFO: Extracted packet for processing {"connection_id":149774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198517760001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931731000,"timestamp_ms":1785931731000,"timestamp_seconds":1785931731,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d39038"} 
[2026-08-05 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-08-05 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3520156160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-3386715710824110848,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3088056395,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429709592410793515,"note":"Value kept but may cause issues"} 
[2026-08-05 17:41:45] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,41,159,236,45,184,75,43,10,66,154,107,72,1,240,227,209,33,4,113,205,164,37,239,50,2,38,7,32],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 17:41:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404642989651787776,"timestamp_seconds":5404642989651788.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 17:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198517760001,"66":12798,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198517760001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:41:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198517760001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":149774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:41:45] local.INFO: GPS data processed {"connection_id":149774,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:41:45] local.INFO: Acknowledgment sent {"connection_id":149774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:42:08] local.INFO: TCP Data received {"connection_id":148764,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:42:08] local.INFO: Processing buffer {"connection_id":148764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:42:08] local.INFO: IMEI packet received {"connection_id":148764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":148764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:42:13] local.INFO: TCP Data received {"connection_id":148764,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:42:13] local.INFO: Processing buffer {"connection_id":148764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:42:13] local.INFO: IMEI packet received {"connection_id":148764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":148764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:42:14] local.INFO: TCP Data received {"connection_id":148764,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d57c68012d82858005d8daa8000800b21a..."} 
[2026-08-05 17:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d57c68012d82858005d8daa8000800b21a..."} 
[2026-08-05 17:42:14] local.INFO: Processing buffer {"connection_id":148764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d57c68012d82858005d8daa8000800b21a..."} 
[2026-08-05 17:42:14] local.INFO: Packet analysis {"connection_id":148764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:42:14] local.INFO: Extracted packet for processing {"connection_id":148764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763528576,"raw_latitude":98097832,"longitude_deg":76.3528576,"latitude_deg":9.8097832,"altitude":8,"angle":178,"satellites":26,"speed":35,"hex_longitude":"2d828580","hex_latitude":"05d8daa8","is_valid_coordinates":true} 
[2026-08-05 17:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198551552001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114996924716679168,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042313232970174464,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785931857000,"timestamp_ms":1785931857000,"timestamp_seconds":1785931857,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d57c68"} 
[2026-08-05 17:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-05 17:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198551552001,"66":13276,"49":206,"85":15104,"24":35,"16":114996924716679168,"45":-9042313232970174464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-05 17:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198551552001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:42:14] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-05 17:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114996924716679168,"km_value":114996924716679.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042313232970174464,"description":"Unknown IO ID 45"} 
[2026-08-05 17:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198551552001,"power":13276,"unknown_49":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9042313232970174464}} 
[2026-08-05 17:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":148764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:42:14] local.INFO: GPS data processed {"connection_id":148764,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:42:14] local.INFO: Acknowledgment sent {"connection_id":148764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:42:16] local.INFO: TCP Data received {"connection_id":149774,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d3e240012d1825000721b810004b01262b..."} 
[2026-08-05 17:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d3e240012d1825000721b810004b01262b..."} 
[2026-08-05 17:42:16] local.INFO: Processing buffer {"connection_id":149774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d3e240012d1825000721b810004b01262b..."} 
[2026-08-05 17:42:16] local.INFO: Packet analysis {"connection_id":149774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:42:16] local.INFO: Extracted packet for processing {"connection_id":149774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d3"} 
[2026-08-05 17:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17: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-08-05 17:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931752000,"timestamp_ms":1785931752000,"timestamp_seconds":1785931752,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d3e240"} 
[2026-08-05 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-08-05 17:42: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-08-05 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 17:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198523136001,"66":12798,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:42:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198523136001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":149774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:42:16] local.INFO: GPS data processed {"connection_id":149774,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:42:16] local.INFO: Acknowledgment sent {"connection_id":149774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:42:18] local.INFO: TCP Data received {"connection_id":148764,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d5a760012d8287c005d8b5b8000600b01a..."} 
[2026-08-05 17:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d5a760012d8287c005d8b5b8000600b01a..."} 
[2026-08-05 17:42:18] local.INFO: Processing buffer {"connection_id":148764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d5a760012d8287c005d8b5b8000600b01a..."} 
[2026-08-05 17:42:18] local.INFO: Packet analysis {"connection_id":148764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:42:18] local.INFO: Extracted packet for processing {"connection_id":148764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:42:18] local.INFO: GPS Element Parsed {"raw_longitude":763529152,"raw_latitude":98088376,"longitude_deg":76.3529152,"latitude_deg":9.8088376,"altitude":6,"angle":176,"satellites":26,"speed":37,"hex_longitude":"2d8287c0","hex_latitude":"05d8b5b8","is_valid_coordinates":true} 
[2026-08-05 17:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198555392001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114997384278179840,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041679914275002368,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785931868000,"timestamp_ms":1785931868000,"timestamp_seconds":1785931868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d5a760"} 
[2026-08-05 17:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-05 17:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198555392001,"66":13178,"49":206,"85":15104,"24":37,"16":114997384278179840,"45":-9041679914275002368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-05 17:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198555392001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:42:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-05 17:42:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114997384278179840,"km_value":114997384278179.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041679914275002368,"description":"Unknown IO ID 45"} 
[2026-08-05 17:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198555392001,"power":13178,"unknown_49":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9041679914275002368}} 
[2026-08-05 17:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":148764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:42:18] local.INFO: GPS data processed {"connection_id":148764,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:42:18] local.INFO: Acknowledgment sent {"connection_id":148764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:42:34] local.INFO: TCP Data received {"connection_id":151202,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:42:34] local.INFO: Processing buffer {"connection_id":151202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:42:34] local.INFO: IMEI packet received {"connection_id":151202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":151202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:42:35] local.INFO: TCP Data received {"connection_id":151202,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cecd78012d77aa4005f26db8000b015e2b..."} 
[2026-08-05 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cecd78012d77aa4005f26db8000b015e2b..."} 
[2026-08-05 17:42:35] local.INFO: Processing buffer {"connection_id":151202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cecd78012d77aa4005f26db8000b015e2b..."} 
[2026-08-05 17:42:35] local.INFO: Packet analysis {"connection_id":151202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ce"} 
[2026-08-05 17:42:35] local.INFO: Extracted packet for processing {"connection_id":151202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ce"} 
[2026-08-05 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99773880,"longitude_deg":76.2817088,"latitude_deg":9.977388,"altitude":11,"angle":350,"satellites":43,"speed":7,"hex_longitude":"2d77aa40","hex_latitude":"05f26db8","is_valid_coordinates":true} 
[2026-08-05 17:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198440704001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716060590014464,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830840004608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785931419000,"timestamp_ms":1785931419000,"timestamp_seconds":1785931419,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cecd78"} 
[2026-08-05 17:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 17:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198440704001,"66":27919,"160":206,"87":13568,"24":7,"16":370716060590014464,"45":8622774830840004608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-05 17:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198440704001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:42:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-05 17:42:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-05 17:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716060590014464,"km_value":370716060590014.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830840004608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198440704001,"power":27919,"unknown_160":206,"unknown_87":13568,"ignition":7,"odometer":null,"unknown_45":8622774830840004608}} 
[2026-08-05 17:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":151202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:42:35] local.INFO: GPS data processed {"connection_id":151202,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:42:35] local.INFO: Acknowledgment sent {"connection_id":151202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:42:44] local.INFO: TCP Data received {"connection_id":148765,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:42:44] local.INFO: Processing buffer {"connection_id":148765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:42:44] local.INFO: IMEI packet received {"connection_id":148765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":148765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:42:49] local.INFO: TCP Data received {"connection_id":148765,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:42:49] local.INFO: Processing buffer {"connection_id":148765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:42:49] local.INFO: IMEI packet received {"connection_id":148765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":148765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:42:50] local.INFO: TCP Data received {"connection_id":148765,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d43448012d1825000721b810004b01262b..."} 
[2026-08-05 17:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d43448012d1825000721b810004b01262b..."} 
[2026-08-05 17:42:50] local.INFO: Processing buffer {"connection_id":148765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d43448012d1825000721b810004b01262b..."} 
[2026-08-05 17:42:50] local.INFO: Packet analysis {"connection_id":148765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d4"} 
[2026-08-05 17:42:50] local.INFO: Extracted packet for processing {"connection_id":148765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d4"} 
[2026-08-05 17:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198528512001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785931773000,"timestamp_ms":1785931773000,"timestamp_seconds":1785931773,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d43448"} 
[2026-08-05 17:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 17:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198528512001,"66":12776,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198528512001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:42:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198528512001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":148765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:42:50] local.INFO: GPS data processed {"connection_id":148765,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:42:50] local.INFO: Acknowledgment sent {"connection_id":148765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:42:54] local.INFO: TCP Data received {"connection_id":148765,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d48650012d1825000721b810004b01262a..."} 
[2026-08-05 17:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d48650012d1825000721b810004b01262a..."} 
[2026-08-05 17:42:54] local.INFO: Processing buffer {"connection_id":148765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d48650012d1825000721b810004b01262a..."} 
[2026-08-05 17:42:54] local.INFO: Packet analysis {"connection_id":148765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d4"} 
[2026-08-05 17:42:54] local.INFO: Extracted packet for processing {"connection_id":148765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d4"} 
[2026-08-05 17:42:54] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198533888001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785931794000,"timestamp_ms":1785931794000,"timestamp_seconds":1785931794,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d48650"} 
[2026-08-05 17:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 17:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198533888001,"66":12711,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198533888001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:42:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:42:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198533888001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":148765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:42:55] local.INFO: GPS data processed {"connection_id":148765,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:42:55] local.INFO: Acknowledgment sent {"connection_id":148765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:43:03] local.INFO: TCP Data received {"connection_id":148766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:43:03] local.INFO: Processing buffer {"connection_id":148766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:43:03] local.INFO: IMEI packet received {"connection_id":148766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":148766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:43:08] local.INFO: TCP Data received {"connection_id":148766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:43:08] local.INFO: Processing buffer {"connection_id":148766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:43:08] local.INFO: IMEI packet received {"connection_id":148766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":148766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:43:08] local.INFO: TCP Data received {"connection_id":148766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d5ca88012d82880005d891d0000800ae1a..."} 
[2026-08-05 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d5ca88012d82880005d891d0000800ae1a..."} 
[2026-08-05 17:43:08] local.INFO: Processing buffer {"connection_id":148766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d5ca88012d82880005d891d0000800ae1a..."} 
[2026-08-05 17:43:08] local.INFO: Packet analysis {"connection_id":148766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:43:08] local.INFO: Extracted packet for processing {"connection_id":148766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763529216,"raw_latitude":98079184,"longitude_deg":76.3529216,"latitude_deg":9.8079184,"altitude":8,"angle":174,"satellites":26,"speed":39,"hex_longitude":"2d828800","hex_latitude":"05d891d0","is_valid_coordinates":true} 
[2026-08-05 17:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198558208001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114997830954778624,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041046595579824128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785931877000,"timestamp_ms":1785931877000,"timestamp_seconds":1785931877,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d5ca88"} 
[2026-08-05 17:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 17:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198558208001,"66":13276,"49":206,"85":15104,"24":39,"16":114997830954778624,"45":-9041046595579824128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-05 17:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198558208001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:43:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-05 17:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114997830954778624,"km_value":114997830954778.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041046595579824128,"description":"Unknown IO ID 45"} 
[2026-08-05 17:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198558208001,"power":13276,"unknown_49":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9041046595579824128}} 
[2026-08-05 17:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":148766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:43:08] local.INFO: GPS data processed {"connection_id":148766,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:43:08] local.INFO: Acknowledgment sent {"connection_id":148766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:43:14] local.INFO: TCP Data received {"connection_id":151203,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:43:14] local.INFO: Processing buffer {"connection_id":151203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:43:14] local.INFO: IMEI packet received {"connection_id":151203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":151203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:43:15] local.INFO: TCP Data received {"connection_id":151203,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:43:15] local.INFO: Processing buffer {"connection_id":151203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:43:15] local.INFO: IMEI packet received {"connection_id":151203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":151203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:43:19] local.INFO: TCP Data received {"connection_id":151203,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:43:19] local.INFO: Processing buffer {"connection_id":151203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:43:19] local.INFO: IMEI packet received {"connection_id":151203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":151203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:43:20] local.INFO: TCP Data received {"connection_id":151203,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cf1f80012d77a90005f27430000d015a2a..."} 
[2026-08-05 17:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cf1f80012d77a90005f27430000d015a2a..."} 
[2026-08-05 17:43:20] local.INFO: Processing buffer {"connection_id":151203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cf1f80012d77a90005f27430000d015a2a..."} 
[2026-08-05 17:43:20] local.INFO: Packet analysis {"connection_id":151203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cf"} 
[2026-08-05 17:43:20] local.INFO: Extracted packet for processing {"connection_id":151203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cf"} 
[2026-08-05 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775536,"longitude_deg":76.2816768,"latitude_deg":9.9775536,"altitude":13,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27430","is_valid_coordinates":true} 
[2026-08-05 17:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198443264001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830840526848,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785931440000,"timestamp_ms":1785931440000,"timestamp_seconds":1785931440,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cf1f80"} 
[2026-08-05 17:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 17:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198443264001,"66":27767,"160":206,"87":13568,"24":0,"16":370716146489360384,"45":8622774830840526848},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-08-05 17:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198443264001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:43:20] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-05 17:43:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-05 17:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830840526848,"description":"Unknown IO ID 45"} 
[2026-08-05 17:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198443264001,"power":27767,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8622774830840526848}} 
[2026-08-05 17:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":151203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:43:20] local.INFO: GPS data processed {"connection_id":151203,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:43:20] local.INFO: Acknowledgment sent {"connection_id":151203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:43:24] local.INFO: TCP Data received {"connection_id":151203,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1cf7188012d77a90005f27448000c015a29..."} 
[2026-08-05 17:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1cf7188012d77a90005f27448000c015a29..."} 
[2026-08-05 17:43:24] local.INFO: Processing buffer {"connection_id":151203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1cf7188012d77a90005f27448000c015a29..."} 
[2026-08-05 17:43:24] local.INFO: Packet analysis {"connection_id":151203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1cf"} 
[2026-08-05 17:43:24] local.INFO: Extracted packet for processing {"connection_id":151203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1cf"} 
[2026-08-05 17:43:24] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":41,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198448640001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120062464,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785931461000,"timestamp_ms":1785931461000,"timestamp_seconds":1785931461,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1cf7188"} 
[2026-08-05 17:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198448640001,"66":27865,"2":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120062464},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 17:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198448640001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:43:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120062464,"description":"Unknown IO ID 45"} 
[2026-08-05 17:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198448640001,"power":27865,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120062464}} 
[2026-08-05 17:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":151203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:43:24] local.INFO: GPS data processed {"connection_id":151203,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:43:24] local.INFO: Acknowledgment sent {"connection_id":151203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:43:39] local.INFO: TCP Data received {"connection_id":148766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d79f48012d82ac8005d74e600006009f1a..."} 
[2026-08-05 17:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d79f48012d82ac8005d74e600006009f1a..."} 
[2026-08-05 17:43:39] local.INFO: Processing buffer {"connection_id":148766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d79f48012d82ac8005d74e600006009f1a..."} 
[2026-08-05 17:43:39] local.INFO: Packet analysis {"connection_id":148766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:43:39] local.INFO: Extracted packet for processing {"connection_id":148766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763538560,"raw_latitude":97996384,"longitude_deg":76.353856,"latitude_deg":9.7996384,"altitude":6,"angle":159,"satellites":26,"speed":11,"hex_longitude":"2d82ac80","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-05 17:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198588160001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115001906878742528,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031617183881764864,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43: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-08-05 17:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785931997000,"timestamp_ms":1785931997000,"timestamp_seconds":1785931997,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d79f48"} 
[2026-08-05 17:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-05 17:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198588160001,"66":13048,"155":206,"85":15104,"24":11,"16":115001906878742528,"45":-9031617183881764864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 17:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198588160001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:43:39] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 17:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115001906878742528,"km_value":115001906878742.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031617183881764864,"description":"Unknown IO ID 45"} 
[2026-08-05 17:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198588160001,"power":13048,"unknown_155":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9031617183881764864}} 
[2026-08-05 17:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":148766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:43:39] local.INFO: GPS data processed {"connection_id":148766,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:43:39] local.INFO: Acknowledgment sent {"connection_id":148766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:43:39] local.INFO: TCP Data received {"connection_id":151204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:43:39] local.INFO: Processing buffer {"connection_id":151204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:43:39] local.INFO: IMEI packet received {"connection_id":151204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":151204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:43:40] local.INFO: TCP Data received {"connection_id":151204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:43:40] local.INFO: Processing buffer {"connection_id":151204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:43:40] local.INFO: IMEI packet received {"connection_id":151204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":151204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:43:44] local.INFO: TCP Data received {"connection_id":151204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:43:44] local.INFO: Processing buffer {"connection_id":151204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:43:44] local.INFO: IMEI packet received {"connection_id":151204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":151204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:43:45] local.INFO: TCP Data received {"connection_id":151204,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d4d858012d1825000721b810004b01262b..."} 
[2026-08-05 17:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d4d858012d1825000721b810004b01262b..."} 
[2026-08-05 17:43:45] local.INFO: Processing buffer {"connection_id":151204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d4d858012d1825000721b810004b01262b..."} 
[2026-08-05 17:43:45] local.INFO: Packet analysis {"connection_id":151204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d4"} 
[2026-08-05 17:43:45] local.INFO: Extracted packet for processing {"connection_id":151204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d4"} 
[2026-08-05 17:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198539264001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931815000,"timestamp_ms":1785931815000,"timestamp_seconds":1785931815,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d4d858"} 
[2026-08-05 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-08-05 17:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-05 17:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198539264001,"66":12722,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198539264001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:43:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198539264001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":151204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:43:45] local.INFO: GPS data processed {"connection_id":151204,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:43:45] local.INFO: Acknowledgment sent {"connection_id":151204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:43:49] local.INFO: TCP Data received {"connection_id":151204,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d52a60012d1825000721b810004b01262b..."} 
[2026-08-05 17:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d52a60012d1825000721b810004b01262b..."} 
[2026-08-05 17:43:49] local.INFO: Processing buffer {"connection_id":151204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d52a60012d1825000721b810004b01262b..."} 
[2026-08-05 17:43:49] local.INFO: Packet analysis {"connection_id":151204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:43:49] local.INFO: Extracted packet for processing {"connection_id":151204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198544640001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785931836000,"timestamp_ms":1785931836000,"timestamp_seconds":1785931836,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d52a60"} 
[2026-08-05 17:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:43: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-08-05 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 17:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198544640001,"66":12722,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198544640001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:43:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198544640001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":151204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:43:50] local.INFO: GPS data processed {"connection_id":151204,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:43:50] local.INFO: Acknowledgment sent {"connection_id":151204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:43:56] local.INFO: TCP Data received {"connection_id":151203,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d011b0012d77a90005f27448000c015a26..."} 
[2026-08-05 17:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d011b0012d77a90005f27448000c015a26..."} 
[2026-08-05 17:43:56] local.INFO: Processing buffer {"connection_id":151203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d011b0012d77a90005f27448000c015a26..."} 
[2026-08-05 17:43:56] local.INFO: Packet analysis {"connection_id":151203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:43:56] local.INFO: Extracted packet for processing {"connection_id":151203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:43:56] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":38,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198454016001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785931502000,"timestamp_ms":1785931502000,"timestamp_seconds":1785931502,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d011b0"} 
[2026-08-05 17:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 17:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198454016001,"66":27604,"2":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 17:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198454016001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:43:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198454016001,"power":27604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":151203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:43:56] local.INFO: GPS data processed {"connection_id":151203,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:43:56] local.INFO: Acknowledgment sent {"connection_id":151203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:44:03] local.INFO: TCP Data received {"connection_id":148767,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:44:03] local.INFO: Processing buffer {"connection_id":148767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:44:03] local.INFO: IMEI packet received {"connection_id":148767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":148767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:44:09] local.INFO: TCP Data received {"connection_id":148767,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:44:09] local.INFO: Processing buffer {"connection_id":148767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:44:09] local.INFO: IMEI packet received {"connection_id":148767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":148767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:44:13] local.INFO: TCP Data received {"connection_id":148767,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d7d210012d82ac8005d74bc8000700c21a..."} 
[2026-08-05 17:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d7d210012d82ac8005d74bc8000700c21a..."} 
[2026-08-05 17:44:13] local.INFO: Processing buffer {"connection_id":148767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d7d210012d82ac8005d74bc8000700c21a..."} 
[2026-08-05 17:44:13] local.INFO: Packet analysis {"connection_id":148767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:44:13] local.INFO: Extracted packet for processing {"connection_id":148767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763538560,"raw_latitude":97995720,"longitude_deg":76.353856,"latitude_deg":9.799572,"altitude":7,"angle":194,"satellites":26,"speed":4,"hex_longitude":"2d82ac80","hex_latitude":"05d74bc8","is_valid_coordinates":true} 
[2026-08-05 17:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198591232001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115001941238480896,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030702390209257472,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785932010000,"timestamp_ms":1785932010000,"timestamp_seconds":1785932010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d7d210"} 
[2026-08-05 17:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-05 17:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198591232001,"66":13091,"155":206,"85":15104,"24":4,"16":115001941238480896,"45":-9030702390209257472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 17:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198591232001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:44:13] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 17:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115001941238480896,"km_value":115001941238480.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030702390209257472,"description":"Unknown IO ID 45"} 
[2026-08-05 17:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198591232001,"power":13091,"unknown_155":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9030702390209257472}} 
[2026-08-05 17:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":148767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:44:13] local.INFO: GPS data processed {"connection_id":148767,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:44:13] local.INFO: Acknowledgment sent {"connection_id":148767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:44:14] local.INFO: TCP Data received {"connection_id":149775,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:44:14] local.INFO: Processing buffer {"connection_id":149775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:44:14] local.INFO: IMEI packet received {"connection_id":149775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":149775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:44:20] local.INFO: TCP Data received {"connection_id":149775,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:44:20] local.INFO: Processing buffer {"connection_id":149775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:44:20] local.INFO: IMEI packet received {"connection_id":149775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":149775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:44:21] local.INFO: TCP Data received {"connection_id":151204,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d57c68012d1825000721b810004b01262a..."} 
[2026-08-05 17:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d57c68012d1825000721b810004b01262a..."} 
[2026-08-05 17:44:21] local.INFO: Processing buffer {"connection_id":151204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d57c68012d1825000721b810004b01262a..."} 
[2026-08-05 17:44:21] local.INFO: Packet analysis {"connection_id":151204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:44:21] local.INFO: Extracted packet for processing {"connection_id":151204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:44:21] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198550016001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785931857000,"timestamp_ms":1785931857000,"timestamp_seconds":1785931857,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d57c68"} 
[2026-08-05 17:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:44: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-08-05 17:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 17:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198550016001,"66":13972,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198550016001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:44:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198550016001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":151204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:44:21] local.INFO: GPS data processed {"connection_id":151204,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:44:21] local.INFO: Acknowledgment sent {"connection_id":151204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:44:24] local.INFO: TCP Data received {"connection_id":149775,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d063b8012d77a90005f27448000c015a29..."} 
[2026-08-05 17:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d063b8012d77a90005f27448000c015a29..."} 
[2026-08-05 17:44:24] local.INFO: Processing buffer {"connection_id":149775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d063b8012d77a90005f27448000c015a29..."} 
[2026-08-05 17:44:24] local.INFO: Packet analysis {"connection_id":149775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:44:24] local.INFO: Extracted packet for processing {"connection_id":149775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:44:24] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":41,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198464512001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785931523000,"timestamp_ms":1785931523000,"timestamp_seconds":1785931523,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d063b8"} 
[2026-08-05 17:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 17:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198464512001,"66":27767,"2":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 17:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198464512001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:44:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198464512001,"power":27767,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":149775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:44:24] local.INFO: GPS data processed {"connection_id":149775,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:44:24] local.INFO: Acknowledgment sent {"connection_id":149775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:44:39] local.INFO: TCP Data received {"connection_id":148768,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:44:39] local.INFO: Processing buffer {"connection_id":148768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:44:39] local.INFO: IMEI packet received {"connection_id":148768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":148768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:44:42] local.INFO: TCP Data received {"connection_id":148768,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:44:42] local.INFO: Processing buffer {"connection_id":148768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:44:42] local.INFO: IMEI packet received {"connection_id":148768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":148768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:44:43] local.INFO: TCP Data received {"connection_id":148768,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d5ce70012d1825000721b810004b01262a..."} 
[2026-08-05 17:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d5ce70012d1825000721b810004b01262a..."} 
[2026-08-05 17:44:43] local.INFO: Processing buffer {"connection_id":148768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d5ce70012d1825000721b810004b01262a..."} 
[2026-08-05 17:44:43] local.INFO: Packet analysis {"connection_id":148768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:44:43] local.INFO: Extracted packet for processing {"connection_id":148768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d5"} 
[2026-08-05 17:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650320,"longitude_deg":75.6557056,"latitude_deg":11.965032,"altitude":75,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 17:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198555392001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741266530697216,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785931878000,"timestamp_ms":1785931878000,"timestamp_seconds":1785931878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d5ce70"} 
[2026-08-05 17:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-05 17:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198555392001,"66":12765,"105":206,"83":41984,"24":0,"16":10741266530697216,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198555392001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:44:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:44:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741266530697216,"km_value":10741266530697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198555392001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":148768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:44:43] local.INFO: GPS data processed {"connection_id":148768,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:44:43] local.INFO: Acknowledgment sent {"connection_id":148768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:44:46] local.INFO: TCP Data received {"connection_id":148767,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d7d9e0012d82ac8005d74a18000700b31a..."} 
[2026-08-05 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d7d9e0012d82ac8005d74a18000700b31a..."} 
[2026-08-05 17:44:46] local.INFO: Processing buffer {"connection_id":148767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d7d9e0012d82ac8005d74a18000700b31a..."} 
[2026-08-05 17:44:46] local.INFO: Packet analysis {"connection_id":148767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:44:46] local.INFO: Extracted packet for processing {"connection_id":148767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":763538560,"raw_latitude":97995288,"longitude_deg":76.353856,"latitude_deg":9.7995288,"altitude":7,"angle":179,"satellites":26,"speed":11,"hex_longitude":"2d82ac80","hex_latitude":"05d74a18","is_valid_coordinates":true} 
[2026-08-05 17:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198594560001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115001962713317376,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030702390209427456,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785932012000,"timestamp_ms":1785932012000,"timestamp_seconds":1785932012,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d7d9e0"} 
[2026-08-05 17:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:44: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-08-05 17:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 17:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198594560001,"66":13015,"155":206,"85":15104,"24":11,"16":115001962713317376,"45":-9030702390209427456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-05 17:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198594560001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:44:46] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-05 17:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115001962713317376,"km_value":115001962713317.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030702390209427456,"description":"Unknown IO ID 45"} 
[2026-08-05 17:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198594560001,"power":13015,"unknown_155":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9030702390209427456}} 
[2026-08-05 17:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":148767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:44:46] local.INFO: GPS data processed {"connection_id":148767,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:44:46] local.INFO: Acknowledgment sent {"connection_id":148767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:44:56] local.INFO: TCP Data received {"connection_id":149775,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d0b5c0012d77a90005f27448000c015a2a..."} 
[2026-08-05 17:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d0b5c0012d77a90005f27448000c015a2a..."} 
[2026-08-05 17:44:56] local.INFO: Processing buffer {"connection_id":149775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d0b5c0012d77a90005f27448000c015a2a..."} 
[2026-08-05 17:44:56] local.INFO: Packet analysis {"connection_id":149775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:44:56] local.INFO: Extracted packet for processing {"connection_id":149775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d0"} 
[2026-08-05 17:44:56] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198469888001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785931544000,"timestamp_ms":1785931544000,"timestamp_seconds":1785931544,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d0b5c0"} 
[2026-08-05 17:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:44: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-08-05 17:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198469888001,"66":27713,"2":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 17:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198469888001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:44:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198469888001,"power":27713,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":149775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:44:56] local.INFO: GPS data processed {"connection_id":149775,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:44:56] local.INFO: Acknowledgment sent {"connection_id":149775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:45:03] local.INFO: TCP Data received {"connection_id":149776,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:45:03] local.INFO: Processing buffer {"connection_id":149776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:45:03] local.INFO: IMEI packet received {"connection_id":149776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":149776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:45:08] local.INFO: TCP Data received {"connection_id":149776,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:45:08] local.INFO: Processing buffer {"connection_id":149776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:45:08] local.INFO: IMEI packet received {"connection_id":149776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":149776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:45:09] local.INFO: TCP Data received {"connection_id":149776,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d91648012d82d24005d68670000600951a..."} 
[2026-08-05 17:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d91648012d82d24005d68670000600951a..."} 
[2026-08-05 17:45:09] local.INFO: Processing buffer {"connection_id":149776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d91648012d82d24005d68670000600951a..."} 
[2026-08-05 17:45:09] local.INFO: Packet analysis {"connection_id":149776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d9"} 
[2026-08-05 17:45:09] local.INFO: Extracted packet for processing {"connection_id":149776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d9"} 
[2026-08-05 17:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763548224,"raw_latitude":97945200,"longitude_deg":76.3548224,"latitude_deg":9.79452,"altitude":6,"angle":149,"satellites":26,"speed":7,"hex_longitude":"2d82d240","hex_latitude":"05d68670","is_valid_coordinates":true} 
[2026-08-05 17:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198614528001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115004548283629568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021976665944090624,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785932093000,"timestamp_ms":1785932093000,"timestamp_seconds":1785932093,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d91648"} 
[2026-08-05 17:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198614528001,"66":13037,"156":206,"85":15104,"24":7,"16":115004548283629568,"45":-9021976665944090624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 17:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198614528001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:45:09] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 17:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115004548283629568,"km_value":115004548283629.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021976665944090624,"description":"Unknown IO ID 45"} 
[2026-08-05 17:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198614528001,"power":13037,"unknown_156":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9021976665944090624}} 
[2026-08-05 17:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":149776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:45:09] local.INFO: GPS data processed {"connection_id":149776,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:45:09] local.INFO: Acknowledgment sent {"connection_id":149776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:45:14] local.INFO: TCP Data received {"connection_id":148768,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d618a8012d1824800721b6a8004d00d92b..."} 
[2026-08-05 17:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d618a8012d1824800721b6a8004d00d92b..."} 
[2026-08-05 17:45:14] local.INFO: Processing buffer {"connection_id":148768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d618a8012d1824800721b6a8004d00d92b..."} 
[2026-08-05 17:45:14] local.INFO: Packet analysis {"connection_id":148768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d6"} 
[2026-08-05 17:45:14] local.INFO: Extracted packet for processing {"connection_id":148768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d6"} 
[2026-08-05 17:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649960,"longitude_deg":75.6556928,"latitude_deg":11.964996,"altitude":77,"angle":217,"satellites":43,"speed":3,"hex_longitude":"2d182480","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-08-05 17:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198560768001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741283710566400,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679046656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785931897000,"timestamp_ms":1785931897000,"timestamp_seconds":1785931897,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d618a8"} 
[2026-08-05 17:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-05 17:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198560768001,"66":12667,"105":206,"83":41984,"24":3,"16":10741283710566400,"45":1739796861679046656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198560768001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:45:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741283710566400,"km_value":10741283710566.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679046656,"description":"Unknown IO ID 45"} 
[2026-08-05 17:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198560768001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739796861679046656}} 
[2026-08-05 17:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":148768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:45:14] local.INFO: GPS data processed {"connection_id":148768,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:45:14] local.INFO: Acknowledgment sent {"connection_id":148768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:45:20] local.INFO: TCP Data received {"connection_id":148769,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:45:20] local.INFO: Processing buffer {"connection_id":148769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:45:20] local.INFO: IMEI packet received {"connection_id":148769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":148769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:45:24] local.INFO: TCP Data received {"connection_id":148769,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:45:24] local.INFO: Processing buffer {"connection_id":148769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:45:24] local.INFO: IMEI packet received {"connection_id":148769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":148769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:45:25] local.INFO: TCP Data received {"connection_id":148769,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d107c8012d77a90005f27448000c015a25..."} 
[2026-08-05 17:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d107c8012d77a90005f27448000c015a25..."} 
[2026-08-05 17:45:25] local.INFO: Processing buffer {"connection_id":148769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d107c8012d77a90005f27448000c015a25..."} 
[2026-08-05 17:45:25] local.INFO: Packet analysis {"connection_id":148769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:45:25] local.INFO: Extracted packet for processing {"connection_id":148769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198475264001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785931565000,"timestamp_ms":1785931565000,"timestamp_seconds":1785931565,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d107c8"} 
[2026-08-05 17:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 17:45: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-08-05 17:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198475264001,"66":27745,"2":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 17:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198475264001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:45:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198475264001,"power":27745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":148769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:45:25] local.INFO: GPS data processed {"connection_id":148769,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:45:25] local.INFO: Acknowledgment sent {"connection_id":148769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:45:30] local.INFO: TCP Data received {"connection_id":148769,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d159d0012d77a90005f27448000c015a29..."} 
[2026-08-05 17:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d159d0012d77a90005f27448000c015a29..."} 
[2026-08-05 17:45:30] local.INFO: Processing buffer {"connection_id":148769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d159d0012d77a90005f27448000c015a29..."} 
[2026-08-05 17:45:30] local.INFO: Packet analysis {"connection_id":148769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:45:30] local.INFO: Extracted packet for processing {"connection_id":148769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:45:30] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":41,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198480640001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785931586000,"timestamp_ms":1785931586000,"timestamp_seconds":1785931586,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d159d0"} 
[2026-08-05 17:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198480640001,"66":27930,"2":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 17:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198480640001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:45:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198480640001,"power":27930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":148769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:45:30] local.INFO: GPS data processed {"connection_id":148769,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:45:30] local.INFO: Acknowledgment sent {"connection_id":148769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:45:39] local.INFO: TCP Data received {"connection_id":148555,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:45:39] local.INFO: Processing buffer {"connection_id":148555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:45:39] local.INFO: IMEI packet received {"connection_id":148555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":148555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:45:40] local.INFO: TCP Data received {"connection_id":149776,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d91a30012d82d28005d685c0000600a91a..."} 
[2026-08-05 17:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d91a30012d82d28005d685c0000600a91a..."} 
[2026-08-05 17:45:40] local.INFO: Processing buffer {"connection_id":149776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d91a30012d82d28005d685c0000600a91a..."} 
[2026-08-05 17:45:40] local.INFO: Packet analysis {"connection_id":149776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d9"} 
[2026-08-05 17:45:40] local.INFO: Extracted packet for processing {"connection_id":149776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d9"} 
[2026-08-05 17:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763548288,"raw_latitude":97945024,"longitude_deg":76.3548288,"latitude_deg":9.7945024,"altitude":6,"angle":169,"satellites":26,"speed":8,"hex_longitude":"2d82d280","hex_latitude":"05d685c0","is_valid_coordinates":true} 
[2026-08-05 17:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198615808001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115004556873564160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020076709851533312,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785932094000,"timestamp_ms":1785932094000,"timestamp_seconds":1785932094,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d91a30"} 
[2026-08-05 17:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-05 17:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198615808001,"66":13037,"156":206,"85":15104,"24":8,"16":115004556873564160,"45":-9020076709851533312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 17:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198615808001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:45:40] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 17:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115004556873564160,"km_value":115004556873564.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020076709851533312,"description":"Unknown IO ID 45"} 
[2026-08-05 17:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198615808001,"power":13037,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9020076709851533312}} 
[2026-08-05 17:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":149776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:45:40] local.INFO: GPS data processed {"connection_id":149776,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:45:40] local.INFO: Acknowledgment sent {"connection_id":149776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:45:44] local.INFO: TCP Data received {"connection_id":148555,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:45:44] local.INFO: Processing buffer {"connection_id":148555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:45:44] local.INFO: IMEI packet received {"connection_id":148555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":148555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:45:45] local.INFO: TCP Data received {"connection_id":148555,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d66ab0012d1823400721b538004d00da2a..."} 
[2026-08-05 17:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d66ab0012d1823400721b538004d00da2a..."} 
[2026-08-05 17:45:45] local.INFO: Processing buffer {"connection_id":148555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d66ab0012d1823400721b538004d00da2a..."} 
[2026-08-05 17:45:45] local.INFO: Packet analysis {"connection_id":148555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d6"} 
[2026-08-05 17:45:45] local.INFO: Extracted packet for processing {"connection_id":148555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d6"} 
[2026-08-05 17:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649592,"longitude_deg":75.6556608,"latitude_deg":11.9649592,"altitude":77,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198565632001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741309480370176,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190599168,"note":"Value kept but may cause issues"} 
[2026-08-05 17:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931918000,"timestamp_ms":1785931918000,"timestamp_seconds":1785931918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d66ab0"} 
[2026-08-05 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-08-05 17:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 17:45: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-08-05 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-08-05 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-08-05 17:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198565632001,"66":12613,"105":206,"83":41984,"24":0,"16":10741309480370176,"45":1739656124190599168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198565632001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:45:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741309480370176,"km_value":10741309480370.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190599168,"description":"Unknown IO ID 45"} 
[2026-08-05 17:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198565632001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190599168}} 
[2026-08-05 17:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":148555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:45:45] local.INFO: GPS data processed {"connection_id":148555,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:45:45] local.INFO: Acknowledgment sent {"connection_id":148555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:46:03] local.INFO: TCP Data received {"connection_id":148770,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:46:03] local.INFO: Processing buffer {"connection_id":148770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:46:03] local.INFO: IMEI packet received {"connection_id":148770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":148770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:46:08] local.INFO: TCP Data received {"connection_id":148770,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:46:08] local.INFO: Processing buffer {"connection_id":148770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:46:08] local.INFO: IMEI packet received {"connection_id":148770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":148770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:46:09] local.INFO: TCP Data received {"connection_id":148770,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d91e18012d82d24005d684e0000600c01a..."} 
[2026-08-05 17:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d91e18012d82d24005d684e0000600c01a..."} 
[2026-08-05 17:46:09] local.INFO: Processing buffer {"connection_id":148770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d91e18012d82d24005d684e0000600c01a..."} 
[2026-08-05 17:46:09] local.INFO: Packet analysis {"connection_id":148770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d9"} 
[2026-08-05 17:46:09] local.INFO: Extracted packet for processing {"connection_id":148770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d9"} 
[2026-08-05 17:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763548224,"raw_latitude":97944800,"longitude_deg":76.3548224,"latitude_deg":9.79448,"altitude":6,"angle":192,"satellites":26,"speed":9,"hex_longitude":"2d82d240","hex_latitude":"05d684e0","is_valid_coordinates":true} 
[2026-08-05 17:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198616064001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115004565463498752,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020006341107400704,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785932095000,"timestamp_ms":1785932095000,"timestamp_seconds":1785932095,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d91e18"} 
[2026-08-05 17:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-05 17:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198616064001,"66":12917,"156":206,"85":15104,"24":9,"16":115004565463498752,"45":-9020006341107400704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 17:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198616064001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:46:09] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 17:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115004565463498752,"km_value":115004565463498.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020006341107400704,"description":"Unknown IO ID 45"} 
[2026-08-05 17:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198616064001,"power":12917,"unknown_156":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9020006341107400704}} 
[2026-08-05 17:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":148770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:46:09] local.INFO: GPS data processed {"connection_id":148770,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:46:09] local.INFO: Acknowledgment sent {"connection_id":148770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:46:15] local.INFO: TCP Data received {"connection_id":151205,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:46:15] local.INFO: Processing buffer {"connection_id":151205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:46:15] local.INFO: IMEI packet received {"connection_id":151205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":151205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:46:16] local.INFO: TCP Data received {"connection_id":148555,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d6bcb8012d1823400721b538004d00da2a..."} 
[2026-08-05 17:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d6bcb8012d1823400721b538004d00da2a..."} 
[2026-08-05 17:46:16] local.INFO: Processing buffer {"connection_id":148555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d6bcb8012d1823400721b538004d00da2a..."} 
[2026-08-05 17:46:16] local.INFO: Packet analysis {"connection_id":148555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d6"} 
[2026-08-05 17:46:16] local.INFO: Extracted packet for processing {"connection_id":148555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d6"} 
[2026-08-05 17:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649592,"longitude_deg":75.6556608,"latitude_deg":11.9649592,"altitude":77,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198571008001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741309480370176,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469616640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931939000,"timestamp_ms":1785931939000,"timestamp_seconds":1785931939,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d6bcb8"} 
[2026-08-05 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-08-05 17:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 17:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198571008001,"66":12591,"105":206,"83":41984,"24":0,"16":10741309480370176,"45":1739304280469616640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198571008001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:46:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741309480370176,"km_value":10741309480370.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469616640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198571008001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469616640}} 
[2026-08-05 17:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":148555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:46:16] local.INFO: GPS data processed {"connection_id":148555,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:46:16] local.INFO: Acknowledgment sent {"connection_id":148555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:46:20] local.INFO: TCP Data received {"connection_id":151205,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:46:20] local.INFO: Processing buffer {"connection_id":151205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:46:20] local.INFO: IMEI packet received {"connection_id":151205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":151205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:46:21] local.INFO: TCP Data received {"connection_id":151205,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d1abd8012d77a90005f27448000c015a2b..."} 
[2026-08-05 17:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d1abd8012d77a90005f27448000c015a2b..."} 
[2026-08-05 17:46:21] local.INFO: Processing buffer {"connection_id":151205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d1abd8012d77a90005f27448000c015a2b..."} 
[2026-08-05 17:46:21] local.INFO: Packet analysis {"connection_id":151205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:46:21] local.INFO: Extracted packet for processing {"connection_id":151205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:46:21] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":43,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198486016001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785931607000,"timestamp_ms":1785931607000,"timestamp_seconds":1785931607,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d1abd8"} 
[2026-08-05 17:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:46: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-08-05 17:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 17:46: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-08-05 17:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198486016001,"66":27908,"2":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 17:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198486016001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:46:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198486016001,"power":27908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":151205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:46:21] local.INFO: GPS data processed {"connection_id":151205,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:46:21] local.INFO: Acknowledgment sent {"connection_id":151205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:46:39] local.INFO: TCP Data received {"connection_id":148771,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:46:39] local.INFO: Processing buffer {"connection_id":148771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:46:39] local.INFO: IMEI packet received {"connection_id":148771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":148771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:46:40] local.INFO: TCP Data received {"connection_id":148770,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1da7da8012d82a20005d601c0000500a219..."} 
[2026-08-05 17:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1da7da8012d82a20005d601c0000500a219..."} 
[2026-08-05 17:46:40] local.INFO: Processing buffer {"connection_id":148770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1da7da8012d82a20005d601c0000500a219..."} 
[2026-08-05 17:46:40] local.INFO: Packet analysis {"connection_id":148770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1da"} 
[2026-08-05 17:46:40] local.INFO: Extracted packet for processing {"connection_id":148770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1da"} 
[2026-08-05 17:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763535872,"raw_latitude":97911232,"longitude_deg":76.3535872,"latitude_deg":9.7911232,"altitude":5,"angle":162,"satellites":25,"speed":22,"hex_longitude":"2d82a200","hex_latitude":"05d601c0","is_valid_coordinates":true} 
[2026-08-05 17:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198637056001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115006399414534144,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783777392271360,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785932185000,"timestamp_ms":1785932185000,"timestamp_seconds":1785932185,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1da7da8"} 
[2026-08-05 17:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 17:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198637056001,"66":13037,"156":206,"85":15104,"24":22,"16":115006399414534144,"45":-9034783777392271360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 17:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198637056001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:46:40] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 17:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115006399414534144,"km_value":115006399414534.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783777392271360,"description":"Unknown IO ID 45"} 
[2026-08-05 17:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198637056001,"power":13037,"unknown_156":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9034783777392271360}} 
[2026-08-05 17:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":148770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:46:40] local.INFO: GPS data processed {"connection_id":148770,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:46:40] local.INFO: Acknowledgment sent {"connection_id":148770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:46:44] local.INFO: TCP Data received {"connection_id":148771,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:46:44] local.INFO: Processing buffer {"connection_id":148771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:46:44] local.INFO: IMEI packet received {"connection_id":148771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":148771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:46:45] local.INFO: TCP Data received {"connection_id":148771,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d70ec0012d1823400721b538004d00da2a..."} 
[2026-08-05 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d70ec0012d1823400721b538004d00da2a..."} 
[2026-08-05 17:46:45] local.INFO: Processing buffer {"connection_id":148771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d70ec0012d1823400721b538004d00da2a..."} 
[2026-08-05 17:46:45] local.INFO: Packet analysis {"connection_id":148771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:46:45] local.INFO: Extracted packet for processing {"connection_id":148771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649592,"longitude_deg":75.6556608,"latitude_deg":11.9649592,"altitude":77,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 17:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198576384001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741309480370176,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469616640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785931960000,"timestamp_ms":1785931960000,"timestamp_seconds":1785931960,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d70ec0"} 
[2026-08-05 17:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 17:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198576384001,"66":12558,"105":206,"83":41984,"24":0,"16":10741309480370176,"45":1739304280469616640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198576384001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:46:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741309480370176,"km_value":10741309480370.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469616640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198576384001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469616640}} 
[2026-08-05 17:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":148771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:46:45] local.INFO: GPS data processed {"connection_id":148771,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:46:45] local.INFO: Acknowledgment sent {"connection_id":148771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:46:52] local.INFO: TCP Data received {"connection_id":151205,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d1fde0012d77a90005f27448000c015a2b..."} 
[2026-08-05 17:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d1fde0012d77a90005f27448000c015a2b..."} 
[2026-08-05 17:46:52] local.INFO: Processing buffer {"connection_id":151205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d1fde0012d77a90005f27448000c015a2b..."} 
[2026-08-05 17:46:52] local.INFO: Packet analysis {"connection_id":151205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:46:52] local.INFO: Extracted packet for processing {"connection_id":151205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d1"} 
[2026-08-05 17:46:52] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":43,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198491392001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785931628000,"timestamp_ms":1785931628000,"timestamp_seconds":1785931628,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d1fde0"} 
[2026-08-05 17:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198491392001,"66":27995,"2":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 17:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198491392001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:46:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198491392001,"power":27995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":151205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:46:52] local.INFO: GPS data processed {"connection_id":151205,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:46:52] local.INFO: Acknowledgment sent {"connection_id":151205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:47:03] local.INFO: TCP Data received {"connection_id":149777,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:47:03] local.INFO: Processing buffer {"connection_id":149777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:47:03] local.INFO: IMEI packet received {"connection_id":149777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":149777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:47:06] local.INFO: TCP Data received {"connection_id":149777,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:47:06] local.INFO: Processing buffer {"connection_id":149777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:47:06] local.INFO: IMEI packet received {"connection_id":149777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":149777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:47:07] local.INFO: TCP Data received {"connection_id":149777,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:47:07] local.INFO: Processing buffer {"connection_id":149777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:47:07] local.INFO: IMEI packet received {"connection_id":149777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":149777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:47:08] local.INFO: TCP Data received {"connection_id":149777,"ip":"42.106.6.19","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fd1..."} 
[2026-08-05 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149777,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fd1..."} 
[2026-08-05 17:47:08] local.INFO: Processing buffer {"connection_id":149777,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fd1..."} 
[2026-08-05 17:47:08] local.INFO: IMEI packet received {"connection_id":149777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":149777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:47:08] local.INFO: TCP Data received {"connection_id":149777,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1da9130012d82a38005d5f9f0000400cc19..."} 
[2026-08-05 17:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1da9130012d82a38005d5f9f0000400cc19..."} 
[2026-08-05 17:47:09] local.INFO: Processing buffer {"connection_id":149777,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd1da8d48012d82a3c005d5fae8000400ba19..."} 
[2026-08-05 17:47:09] local.INFO: Packet analysis {"connection_id":149777,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd1da"} 
[2026-08-05 17:47:09] local.INFO: Extracted packet for processing {"connection_id":149777,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1da"} 
[2026-08-05 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763536320,"raw_latitude":97909480,"longitude_deg":76.353632,"latitude_deg":9.790948,"altitude":4,"angle":186,"satellites":25,"speed":13,"hex_longitude":"2d82a3c0","hex_latitude":"05d5fae8","is_valid_coordinates":true} 
[2026-08-05 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198639360001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115006489608847360,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033657877486518272,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785932189000,"timestamp_ms":1785932189000,"timestamp_seconds":1785932189,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1da8d48"} 
[2026-08-05 17:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-05 17:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198639360001,"66":13015,"156":206,"85":15104,"24":13,"16":115006489608847360,"45":-9033657877486518272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 17:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198639360001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115006489608847360,"km_value":115006489608847.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033657877486518272,"description":"Unknown IO ID 45"} 
[2026-08-05 17:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198639360001,"power":13015,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9033657877486518272}} 
[2026-08-05 17:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":149777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:47:09] local.INFO: GPS data processed {"connection_id":149777,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:47:09] local.INFO: Acknowledgment sent {"connection_id":149777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:47:09] local.INFO: Packet analysis {"connection_id":149777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1da"} 
[2026-08-05 17:47:09] local.INFO: Extracted packet for processing {"connection_id":149777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1da"} 
[2026-08-05 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":97909232,"longitude_deg":76.3536256,"latitude_deg":9.7909232,"altitude":4,"angle":204,"satellites":25,"speed":9,"hex_longitude":"2d82a380","hex_latitude":"05d5f9f0","is_valid_coordinates":true} 
[2026-08-05 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198640384001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115006502493749248,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033165296277723136,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785932190000,"timestamp_ms":1785932190000,"timestamp_seconds":1785932190,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1da9130"} 
[2026-08-05 17:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 17:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198640384001,"66":13015,"156":206,"85":15104,"24":9,"16":115006502493749248,"45":-9033165296277723136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 17:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198640384001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115006502493749248,"km_value":115006502493749.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033165296277723136,"description":"Unknown IO ID 45"} 
[2026-08-05 17:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198640384001,"power":13015,"unknown_156":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9033165296277723136}} 
[2026-08-05 17:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":149777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:47:09] local.INFO: GPS data processed {"connection_id":149777,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:47:09] local.INFO: Acknowledgment sent {"connection_id":149777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:47:10] local.INFO: TCP Data received {"connection_id":149777,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dacbc8012d82a24005d5f878000500f819..."} 
[2026-08-05 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dacbc8012d82a24005d5f878000500f819..."} 
[2026-08-05 17:47:10] local.INFO: Processing buffer {"connection_id":149777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dacbc8012d82a24005d5f878000500f819..."} 
[2026-08-05 17:47:10] local.INFO: Packet analysis {"connection_id":149777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1da"} 
[2026-08-05 17:47:10] local.INFO: Extracted packet for processing {"connection_id":149777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1da"} 
[2026-08-05 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763535936,"raw_latitude":97908856,"longitude_deg":76.3535936,"latitude_deg":9.7908856,"altitude":5,"angle":248,"satellites":25,"speed":2,"hex_longitude":"2d82a240","hex_latitude":"05d5f878","is_valid_coordinates":true} 
[2026-08-05 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198640640001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115006532558520320,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235665021964288,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785932205000,"timestamp_ms":1785932205000,"timestamp_seconds":1785932205,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dacbc8"} 
[2026-08-05 17:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 17:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":149777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":149777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":149777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198640640001,"66":12961,"156":206,"85":15104,"24":2,"16":115006532558520320,"45":-9033235665021964288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 17:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198640640001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:47:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 17:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115006532558520320,"km_value":115006532558520.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235665021964288,"description":"Unknown IO ID 45"} 
[2026-08-05 17:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198640640001,"power":12961,"unknown_156":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9033235665021964288}} 
[2026-08-05 17:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":149777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:47:10] local.INFO: GPS data processed {"connection_id":149777,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:47:10] local.INFO: Acknowledgment sent {"connection_id":149777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:47:14] local.INFO: TCP Data received {"connection_id":148556,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:47:14] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:47:14] local.INFO: IMEI packet received {"connection_id":148556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":148556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:47:16] local.INFO: TCP Data received {"connection_id":148771,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d760c8012d1823400721b538004d00da2a..."} 
[2026-08-05 17:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d760c8012d1823400721b538004d00da2a..."} 
[2026-08-05 17:47:16] local.INFO: Processing buffer {"connection_id":148771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d760c8012d1823400721b538004d00da2a..."} 
[2026-08-05 17:47:16] local.INFO: Packet analysis {"connection_id":148771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:47:16] local.INFO: Extracted packet for processing {"connection_id":148771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649592,"longitude_deg":75.6556608,"latitude_deg":11.9649592,"altitude":77,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198581760001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741309480370176,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469616640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785931981000,"timestamp_ms":1785931981000,"timestamp_seconds":1785931981,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d760c8"} 
[2026-08-05 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-08-05 17: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-08-05 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3520408160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249387813197690896,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3587076097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3088056395,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080554,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,41,159,188,45,64,181,77,42,10,66,106,128,1,240,123,227,209,33,4,113,205,124,37,239,54,2,38,7,75,91,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 17:47:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548674614843932672,"timestamp_seconds":5548674614843933.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 17:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198581760001,"66":12558,"105":206,"83":41984,"24":0,"16":10741309480370176,"45":1739304280469616640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198581760001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:47:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741309480370176,"km_value":10741309480370.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469616640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198581760001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469616640}} 
[2026-08-05 17:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":148771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:47:16] local.INFO: GPS data processed {"connection_id":148771,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:47:16] local.INFO: Acknowledgment sent {"connection_id":148771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:47:20] local.INFO: TCP Data received {"connection_id":148556,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:47:20] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:47:20] local.INFO: IMEI packet received {"connection_id":148556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":148556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:47:22] local.INFO: TCP Data received {"connection_id":148556,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d24fe8012d77a90005f27448000c015a29..."} 
[2026-08-05 17:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d24fe8012d77a90005f27448000c015a29..."} 
[2026-08-05 17:47:22] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d24fe8012d77a90005f27448000c015a29..."} 
[2026-08-05 17:47:22] local.INFO: Packet analysis {"connection_id":148556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d2"} 
[2026-08-05 17:47:22] local.INFO: Extracted packet for processing {"connection_id":148556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d2"} 
[2026-08-05 17:47:22] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":41,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198496768001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785931649000,"timestamp_ms":1785931649000,"timestamp_seconds":1785931649,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d24fe8"} 
[2026-08-05 17:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 17:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198496768001,"66":27908,"2":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 17:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198496768001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:47:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198496768001,"power":27908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":148556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:47:22] local.INFO: GPS data processed {"connection_id":148556,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:47:22] local.INFO: Acknowledgment sent {"connection_id":148556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:47:39] local.INFO: TCP Data received {"connection_id":149778,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:47:39] local.INFO: Processing buffer {"connection_id":149778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:47:39] local.INFO: IMEI packet received {"connection_id":149778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":149778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:47:44] local.INFO: TCP Data received {"connection_id":149777,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1db8748012d82380005d5c440000400e819..."} 
[2026-08-05 17:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1db8748012d82380005d5c440000400e819..."} 
[2026-08-05 17:47:44] local.INFO: Processing buffer {"connection_id":149777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1db8748012d82380005d5c440000400e819..."} 
[2026-08-05 17:47:44] local.INFO: Packet analysis {"connection_id":149777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1db"} 
[2026-08-05 17:47:44] local.INFO: Extracted packet for processing {"connection_id":149777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1db"} 
[2026-08-05 17:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763508736,"raw_latitude":97895488,"longitude_deg":76.3508736,"latitude_deg":9.7895488,"altitude":4,"angle":232,"satellites":25,"speed":30,"hex_longitude":"2d823800","hex_latitude":"05d5c440","is_valid_coordinates":true} 
[2026-08-05 17:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198655744001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115008031502106624,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061383162695979008,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785932253000,"timestamp_ms":1785932253000,"timestamp_seconds":1785932253,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1db8748"} 
[2026-08-05 17:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 17:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198655744001,"66":13091,"156":206,"85":15104,"24":30,"16":115008031502106624,"45":-9061383162695979008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 17:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198655744001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:47:44] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 17:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115008031502106624,"km_value":115008031502106.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061383162695979008,"description":"Unknown IO ID 45"} 
[2026-08-05 17:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198655744001,"power":13091,"unknown_156":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9061383162695979008}} 
[2026-08-05 17:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":149777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:47:44] local.INFO: GPS data processed {"connection_id":149777,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:47:44] local.INFO: Acknowledgment sent {"connection_id":149777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:47:44] local.INFO: TCP Data received {"connection_id":149778,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:47:44] local.INFO: Processing buffer {"connection_id":149778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:47:44] local.INFO: IMEI packet received {"connection_id":149778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":149778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:47:45] local.INFO: TCP Data received {"connection_id":149778,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d7b2d0012d1823400721b538004d00da2a..."} 
[2026-08-05 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d7b2d0012d1823400721b538004d00da2a..."} 
[2026-08-05 17:47:45] local.INFO: Processing buffer {"connection_id":149778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d7b2d0012d1823400721b538004d00da2a..."} 
[2026-08-05 17:47:45] local.INFO: Packet analysis {"connection_id":149778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:47:45] local.INFO: Extracted packet for processing {"connection_id":149778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649592,"longitude_deg":75.6556608,"latitude_deg":11.9649592,"altitude":77,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198587136001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741309480370176,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469616640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932002000,"timestamp_ms":1785932002000,"timestamp_seconds":1785932002,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d7b2d0"} 
[2026-08-05 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-08-05 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3520429160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249387813197690896,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3591940097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3064463437,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817322,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,41,159,14,45,64,181,77,42,10,66,188,106,1,240,69,227,209,33,4,113,205,3,206,37,239,49,2,38,7,75,92],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 17:47:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548674614843932672,"timestamp_seconds":5548674614843933.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 17:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198587136001,"66":12526,"105":206,"83":41984,"24":0,"16":10741309480370176,"45":1739304280469616640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198587136001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:47:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:47:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741309480370176,"km_value":10741309480370.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469616640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198587136001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469616640}} 
[2026-08-05 17:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":149778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:47:45] local.INFO: GPS data processed {"connection_id":149778,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:47:45] local.INFO: Acknowledgment sent {"connection_id":149778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:47:53] local.INFO: TCP Data received {"connection_id":148556,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d26370012d77a90005f27448000c015a29..."} 
[2026-08-05 17:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d26370012d77a90005f27448000c015a29..."} 
[2026-08-05 17:47:53] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d26370012d77a90005f27448000c015a29..."} 
[2026-08-05 17:47:53] local.INFO: Packet analysis {"connection_id":148556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d2"} 
[2026-08-05 17:47:53] local.INFO: Extracted packet for processing {"connection_id":148556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d2"} 
[2026-08-05 17:47:53] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":41,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198502144001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785931654000,"timestamp_ms":1785931654000,"timestamp_seconds":1785931654,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d26370"} 
[2026-08-05 17:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198502144001,"66":27767,"2":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 17:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198502144001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:47:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198502144001,"power":27767,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":148556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:47:53] local.INFO: GPS data processed {"connection_id":148556,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:47:53] local.INFO: Acknowledgment sent {"connection_id":148556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:48:02] local.INFO: TCP Data received {"connection_id":149779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:02] local.INFO: Processing buffer {"connection_id":149779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:02] local.INFO: IMEI packet received {"connection_id":149779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":149779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:48:03] local.INFO: TCP Data received {"connection_id":149779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:03] local.INFO: Processing buffer {"connection_id":149779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:03] local.INFO: IMEI packet received {"connection_id":149779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":149779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:48:03] local.INFO: TCP Data received {"connection_id":149779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:03] local.INFO: Processing buffer {"connection_id":149779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:03] local.INFO: IMEI packet received {"connection_id":149779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":149779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:48:07] local.INFO: TCP Data received {"connection_id":149779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:07] local.INFO: Processing buffer {"connection_id":149779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:48:07] local.INFO: IMEI packet received {"connection_id":149779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":149779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:48:08] local.INFO: TCP Data received {"connection_id":149779,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1db9300012d82300005d5bfd8000600f919..."} 
[2026-08-05 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1db9300012d82300005d5bfd8000600f919..."} 
[2026-08-05 17:48:08] local.INFO: Processing buffer {"connection_id":149779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1db9300012d82300005d5bfd8000600f919..."} 
[2026-08-05 17:48:08] local.INFO: Packet analysis {"connection_id":149779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1db"} 
[2026-08-05 17:48:08] local.INFO: Extracted packet for processing {"connection_id":149779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1db"} 
[2026-08-05 17:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763506688,"raw_latitude":97894360,"longitude_deg":76.3506688,"latitude_deg":9.789436,"altitude":6,"angle":249,"satellites":25,"speed":32,"hex_longitude":"2d823000","hex_latitude":"05d5bfd8","is_valid_coordinates":true} 
[2026-08-05 17:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198656768001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115008143171256320,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063494225021878272,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48: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-08-05 17:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785932256000,"timestamp_ms":1785932256000,"timestamp_seconds":1785932256,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1db9300"} 
[2026-08-05 17:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:48: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-08-05 17:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 17:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198656768001,"66":12950,"156":206,"85":15104,"24":32,"16":115008143171256320,"45":-9063494225021878272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-05 17:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198656768001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:48:08] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-05 17:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115008143171256320,"km_value":115008143171256.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063494225021878272,"description":"Unknown IO ID 45"} 
[2026-08-05 17:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198656768001,"power":12950,"unknown_156":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9063494225021878272}} 
[2026-08-05 17:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":149779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:48:08] local.INFO: GPS data processed {"connection_id":149779,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:48:08] local.INFO: Acknowledgment sent {"connection_id":149779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:48:14] local.INFO: TCP Data received {"connection_id":149780,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:48:14] local.INFO: Processing buffer {"connection_id":149780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:48:14] local.INFO: IMEI packet received {"connection_id":149780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":149780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:48:16] local.INFO: TCP Data received {"connection_id":149778,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d804d8012d1823400721b538004d00da2c..."} 
[2026-08-05 17:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d804d8012d1823400721b538004d00da2c..."} 
[2026-08-05 17:48:16] local.INFO: Processing buffer {"connection_id":149778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d804d8012d1823400721b538004d00da2c..."} 
[2026-08-05 17:48:16] local.INFO: Packet analysis {"connection_id":149778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d8"} 
[2026-08-05 17:48:16] local.INFO: Extracted packet for processing {"connection_id":149778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d8"} 
[2026-08-05 17:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649592,"longitude_deg":75.6556608,"latitude_deg":11.9649592,"altitude":77,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 17:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198592512001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741309480370176,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469616640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932023000,"timestamp_ms":1785932023000,"timestamp_seconds":1785932023,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d804d8"} 
[2026-08-05 17:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:48: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-08-05 17:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 17:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198592512001,"66":12504,"105":206,"83":41984,"24":0,"16":10741309480370176,"45":1739304280469616640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198592512001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:48:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741309480370176,"km_value":10741309480370.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469616640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198592512001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469616640}} 
[2026-08-05 17:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":149778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:48:16] local.INFO: GPS data processed {"connection_id":149778,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:48:16] local.INFO: Acknowledgment sent {"connection_id":149778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:48:20] local.INFO: TCP Data received {"connection_id":149780,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:48:20] local.INFO: Processing buffer {"connection_id":149780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:48:20] local.INFO: IMEI packet received {"connection_id":149780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":149780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:48:20] local.INFO: TCP Data received {"connection_id":149780,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d70308012d77aac005f27468000c015a2a..."} 
[2026-08-05 17:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d70308012d77aac005f27468000c015a2a..."} 
[2026-08-05 17:48:20] local.INFO: Processing buffer {"connection_id":149780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d70308012d77aac005f27468000c015a2a..."} 
[2026-08-05 17:48:20] local.INFO: Packet analysis {"connection_id":149780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:48:20] local.INFO: Extracted packet for processing {"connection_id":149780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d7"} 
[2026-08-05 17:48:20] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775592,"longitude_deg":76.2817216,"latitude_deg":9.9775592,"altitude":12,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27468","is_valid_coordinates":true} 
[2026-08-05 17:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198503424001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785931957000,"timestamp_ms":1785931957000,"timestamp_seconds":1785931957,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d70308"} 
[2026-08-05 17:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 17:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:48: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-08-05 17:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198503424001,"66":25995,"2":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 17:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198503424001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:48:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198503424001,"power":25995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":149780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:48:20] local.INFO: GPS data processed {"connection_id":149780,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:48:20] local.INFO: Acknowledgment sent {"connection_id":149780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:48:39] local.INFO: TCP Data received {"connection_id":148772,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:48:39] local.INFO: Processing buffer {"connection_id":148772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:48:39] local.INFO: IMEI packet received {"connection_id":148772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":148772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:48:39] local.INFO: TCP Data received {"connection_id":149779,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dc5a38012d81b94005d5c5c8000900bd19..."} 
[2026-08-05 17:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dc5a38012d81b94005d5c5c8000900bd19..."} 
[2026-08-05 17:48:39] local.INFO: Processing buffer {"connection_id":149779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dc5a38012d81b94005d5c5c8000900bd19..."} 
[2026-08-05 17:48:39] local.INFO: Packet analysis {"connection_id":149779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:48:39] local.INFO: Extracted packet for processing {"connection_id":149779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763476288,"raw_latitude":97895880,"longitude_deg":76.3476288,"latitude_deg":9.789588,"altitude":9,"angle":189,"satellites":25,"speed":9,"hex_longitude":"2d81b940","hex_latitude":"05d5c5c8","is_valid_coordinates":true} 
[2026-08-05 17:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198669824001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115009749489025024,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098960072087216128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785932307000,"timestamp_ms":1785932307000,"timestamp_seconds":1785932307,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dc5a38"} 
[2026-08-05 17:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 17:48: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-08-05 17:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198669824001,"66":12852,"157":206,"85":15104,"24":9,"16":115009749489025024,"45":-9098960072087216128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-05 17:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198669824001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:48:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-05 17:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115009749489025024,"km_value":115009749489025.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098960072087216128,"description":"Unknown IO ID 45"} 
[2026-08-05 17:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198669824001,"power":12852,"unknown_157":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9098960072087216128}} 
[2026-08-05 17:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":149779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:48:39] local.INFO: GPS data processed {"connection_id":149779,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:48:39] local.INFO: Acknowledgment sent {"connection_id":149779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:48:44] local.INFO: TCP Data received {"connection_id":148772,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:48:44] local.INFO: Processing buffer {"connection_id":148772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:48:44] local.INFO: IMEI packet received {"connection_id":148772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":148772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:48:45] local.INFO: TCP Data received {"connection_id":148772,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1d856e0012d1823400721b538004d00da29..."} 
[2026-08-05 17:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1d856e0012d1823400721b538004d00da29..."} 
[2026-08-05 17:48:45] local.INFO: Processing buffer {"connection_id":148772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1d856e0012d1823400721b538004d00da29..."} 
[2026-08-05 17:48:45] local.INFO: Packet analysis {"connection_id":148772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1d8"} 
[2026-08-05 17:48:45] local.INFO: Extracted packet for processing {"connection_id":148772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1d8"} 
[2026-08-05 17:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649592,"longitude_deg":75.6556608,"latitude_deg":11.9649592,"altitude":77,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198597888001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741309480370176,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469616640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932044000,"timestamp_ms":1785932044000,"timestamp_seconds":1785932044,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1d856e0"} 
[2026-08-05 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-08-05 17:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 17:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198597888001,"66":12504,"105":206,"83":41984,"24":0,"16":10741309480370176,"45":1739304280469616640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198597888001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:48:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741309480370176,"km_value":10741309480370.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469616640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198597888001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469616640}} 
[2026-08-05 17:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":148772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:48:45] local.INFO: GPS data processed {"connection_id":148772,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:48:45] local.INFO: Acknowledgment sent {"connection_id":148772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:48:52] local.INFO: TCP Data received {"connection_id":149780,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1db77a8012d77aac005f27468000c015a28..."} 
[2026-08-05 17:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1db77a8012d77aac005f27468000c015a28..."} 
[2026-08-05 17:48:52] local.INFO: Processing buffer {"connection_id":149780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1db77a8012d77aac005f27468000c015a28..."} 
[2026-08-05 17:48:52] local.INFO: Packet analysis {"connection_id":149780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1db"} 
[2026-08-05 17:48:52] local.INFO: Extracted packet for processing {"connection_id":149780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1db"} 
[2026-08-05 17:48:52] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99775592,"longitude_deg":76.2817216,"latitude_deg":9.9775592,"altitude":12,"angle":346,"satellites":40,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27468","is_valid_coordinates":true} 
[2026-08-05 17:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198580992001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329320448,"note":"Value kept but may cause issues"} 
[2026-08-05 17:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785932249000,"timestamp_ms":1785932249000,"timestamp_seconds":1785932249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1db77a8"} 
[2026-08-05 17:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 17:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 17:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198580992001,"66":26267,"3":206,"9":24832,"24":0,"16":370716146489360384,"45":8622915568329320448},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198580992001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:48:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:48:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329320448,"description":"Unknown IO ID 45"} 
[2026-08-05 17:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198580992001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329320448}} 
[2026-08-05 17:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":149780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:48:52] local.INFO: GPS data processed {"connection_id":149780,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:48:52] local.INFO: Acknowledgment sent {"connection_id":149780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:49:12] local.INFO: TCP Data received {"connection_id":151206,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:49:12] local.INFO: Processing buffer {"connection_id":151206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:49:12] local.INFO: IMEI packet received {"connection_id":151206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":151206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:49:13] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:49:13] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:49:13] local.INFO: IMEI packet received {"connection_id":148557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":148557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:49:14] local.INFO: TCP Data received {"connection_id":151206,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:49:14] local.INFO: Processing buffer {"connection_id":151206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:49:14] local.INFO: IMEI packet received {"connection_id":151206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":151206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:49:16] local.INFO: TCP Data received {"connection_id":148772,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dbdd38012d1821c00721b3e8005100d42b..."} 
[2026-08-05 17:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dbdd38012d1821c00721b3e8005100d42b..."} 
[2026-08-05 17:49:16] local.INFO: Processing buffer {"connection_id":148772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dbdd38012d1821c00721b3e8005100d42b..."} 
[2026-08-05 17:49:16] local.INFO: Packet analysis {"connection_id":148772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1db"} 
[2026-08-05 17:49:16] local.INFO: Extracted packet for processing {"connection_id":148772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1db"} 
[2026-08-05 17:49:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":81,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198657024001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741339545141248,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932275000,"timestamp_ms":1785932275000,"timestamp_seconds":1785932275,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dbdd38"} 
[2026-08-05 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-08-05 17:49: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-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198657024001,"66":12461,"105":206,"83":41984,"24":0,"16":10741339545141248,"45":1738882068004464640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198657024001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:49:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741339545141248,"km_value":10741339545141.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198657024001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-05 17:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":148772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:49:16] local.INFO: GPS data processed {"connection_id":148772,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:49:16] local.INFO: Acknowledgment sent {"connection_id":148772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:49:17] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:49:17] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:49:17] local.INFO: IMEI packet received {"connection_id":148557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":148557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:49:17] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dc6208012d81b94005d5c2c0000900ac19..."} 
[2026-08-05 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dc6208012d81b94005d5c2c0000900ac19..."} 
[2026-08-05 17:49:17] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dc6208012d81b94005d5c2c0000900ac19..."} 
[2026-08-05 17:49:17] local.INFO: Packet analysis {"connection_id":148557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:49:17] local.INFO: Extracted packet for processing {"connection_id":148557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:49:17] local.INFO: GPS Element Parsed {"raw_longitude":763476288,"raw_latitude":97895104,"longitude_deg":76.3476288,"latitude_deg":9.7895104,"altitude":9,"angle":172,"satellites":25,"speed":19,"hex_longitude":"2d81b940","hex_latitude":"05d5c2c0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198670592001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115009788143730688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099171178319853568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785932309000,"timestamp_ms":1785932309000,"timestamp_seconds":1785932309,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dc6208"} 
[2026-08-05 17:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:49: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-08-05 17: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-05 17:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198670592001,"66":13048,"157":206,"85":15104,"24":19,"16":115009788143730688,"45":-9099171178319853568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-05 17:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198670592001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:49:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-05 17:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115009788143730688,"km_value":115009788143730.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099171178319853568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198670592001,"power":13048,"unknown_157":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9099171178319853568}} 
[2026-08-05 17:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":148557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:49:18] local.INFO: GPS data processed {"connection_id":148557,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:49:18] local.INFO: Acknowledgment sent {"connection_id":148557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:49:21] local.INFO: TCP Data received {"connection_id":151206,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:49:21] local.INFO: Processing buffer {"connection_id":151206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:49:21] local.INFO: IMEI packet received {"connection_id":151206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":151206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:49:21] local.INFO: TCP Data received {"connection_id":151206,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dbd180012d77a90005f27448000c015a28..."} 
[2026-08-05 17:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dbd180012d77a90005f27448000c015a28..."} 
[2026-08-05 17:49:22] local.INFO: Processing buffer {"connection_id":151206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dbd180012d77a90005f27448000c015a28..."} 
[2026-08-05 17:49:22] local.INFO: Packet analysis {"connection_id":151206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1db"} 
[2026-08-05 17:49:22] local.INFO: Extracted packet for processing {"connection_id":151206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1db"} 
[2026-08-05 17:49:22] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":40,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198655744001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329320448,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785932272000,"timestamp_ms":1785932272000,"timestamp_seconds":1785932272,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dbd180"} 
[2026-08-05 17:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-05 17:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198655744001,"66":27691,"3":206,"9":24832,"24":0,"16":370716146489360384,"45":8622915568329320448},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198655744001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:49:22] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:49:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329320448,"description":"Unknown IO ID 45"} 
[2026-08-05 17:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198655744001,"power":27691,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329320448}} 
[2026-08-05 17:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":151206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:49:22] local.INFO: GPS data processed {"connection_id":151206,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:49:22] local.INFO: Acknowledgment sent {"connection_id":151206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:49:39] local.INFO: TCP Data received {"connection_id":148773,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:49:39] local.INFO: Processing buffer {"connection_id":148773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:49:39] local.INFO: IMEI packet received {"connection_id":148773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":148773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:49:44] local.INFO: TCP Data received {"connection_id":148773,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:49:44] local.INFO: Processing buffer {"connection_id":148773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:49:44] local.INFO: IMEI packet received {"connection_id":148773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":148773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:49:45] local.INFO: TCP Data received {"connection_id":148773,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dc2f40012d1821c00721b3e8005100d42b..."} 
[2026-08-05 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dc2f40012d1821c00721b3e8005100d42b..."} 
[2026-08-05 17:49:45] local.INFO: Processing buffer {"connection_id":148773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dc2f40012d1821c00721b3e8005100d42b..."} 
[2026-08-05 17:49:45] local.INFO: Packet analysis {"connection_id":148773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:49:45] local.INFO: Extracted packet for processing {"connection_id":148773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":81,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-05 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198662400001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741339545141248,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932296000,"timestamp_ms":1785932296000,"timestamp_seconds":1785932296,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dc2f40"} 
[2026-08-05 17:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198662400001,"66":12428,"105":206,"83":41984,"24":0,"16":10741339545141248,"45":1738882068004464640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198662400001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:49:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741339545141248,"km_value":10741339545141.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198662400001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-05 17:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":148773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:49:45] local.INFO: GPS data processed {"connection_id":148773,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:49:45] local.INFO: Acknowledgment sent {"connection_id":148773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:49:52] local.INFO: TCP Data received {"connection_id":151206,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dc2388012d77a90005f27448000c015a26..."} 
[2026-08-05 17:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dc2388012d77a90005f27448000c015a26..."} 
[2026-08-05 17:49:52] local.INFO: Processing buffer {"connection_id":151206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dc2388012d77a90005f27448000c015a26..."} 
[2026-08-05 17:49:52] local.INFO: Packet analysis {"connection_id":151206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:49:52] local.INFO: Extracted packet for processing {"connection_id":151206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:49:52] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":38,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198661632001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785932293000,"timestamp_ms":1785932293000,"timestamp_seconds":1785932293,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dc2388"} 
[2026-08-05 17:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-05 17:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198661632001,"66":27571,"3":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198661632001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:49:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:49:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198661632001,"power":27571,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":151206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:49:52] local.INFO: GPS data processed {"connection_id":151206,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:49:52] local.INFO: Acknowledgment sent {"connection_id":151206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:50:01] local.INFO: TCP Data received {"connection_id":149781,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:50:01] local.INFO: Processing buffer {"connection_id":149781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:50:01] local.INFO: IMEI packet received {"connection_id":149781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":149781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:50:03] local.INFO: TCP Data received {"connection_id":149781,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:50:03] local.INFO: Processing buffer {"connection_id":149781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:50:03] local.INFO: IMEI packet received {"connection_id":149781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":149781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:50:08] local.INFO: TCP Data received {"connection_id":149781,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:50:08] local.INFO: Processing buffer {"connection_id":149781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:50:08] local.INFO: IMEI packet received {"connection_id":149781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":149781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:50:08] local.INFO: TCP Data received {"connection_id":149781,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dd6f90012d81ba4005d4b670000500f419..."} 
[2026-08-05 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dd6f90012d81ba4005d4b670000500f419..."} 
[2026-08-05 17:50:08] local.INFO: Processing buffer {"connection_id":149781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dd6f90012d81ba4005d4b670000500f419..."} 
[2026-08-05 17:50:08] local.INFO: Packet analysis {"connection_id":149781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:50:08] local.INFO: Extracted packet for processing {"connection_id":149781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763476544,"raw_latitude":97826416,"longitude_deg":76.3476544,"latitude_deg":9.7826416,"altitude":5,"angle":244,"satellites":25,"speed":32,"hex_longitude":"2d81ba40","hex_latitude":"05d4b670","is_valid_coordinates":true} 
[2026-08-05 17:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198688512001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115013211232665600,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098045278430715904,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785932378000,"timestamp_ms":1785932378000,"timestamp_seconds":1785932378,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dd6f90"} 
[2026-08-05 17:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:50: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-08-05 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 17:50: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-08-05 17:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198688512001,"66":12993,"165":206,"85":15104,"24":32,"16":115013211232665600,"45":-9098045278430715904},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-05 17:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198688512001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:50:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-05 17:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115013211232665600,"km_value":115013211232665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098045278430715904,"description":"Unknown IO ID 45"} 
[2026-08-05 17:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198688512001,"power":12993,"unknown_165":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9098045278430715904}} 
[2026-08-05 17:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":149781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:50:09] local.INFO: GPS data processed {"connection_id":149781,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:50:09] local.INFO: Acknowledgment sent {"connection_id":149781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:50:16] local.INFO: TCP Data received {"connection_id":148773,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dc8148012d1821c00721b3e8005100d42a..."} 
[2026-08-05 17:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dc8148012d1821c00721b3e8005100d42a..."} 
[2026-08-05 17:50:16] local.INFO: Processing buffer {"connection_id":148773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dc8148012d1821c00721b3e8005100d42a..."} 
[2026-08-05 17:50:16] local.INFO: Packet analysis {"connection_id":148773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:50:16] local.INFO: Extracted packet for processing {"connection_id":148773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":81,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-05 17:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198667776001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741339545141248,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932317000,"timestamp_ms":1785932317000,"timestamp_seconds":1785932317,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dc8148"} 
[2026-08-05 17:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17: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-08-05 17:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198667776001,"66":12461,"105":206,"83":41984,"24":0,"16":10741339545141248,"45":1738882068004464640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198667776001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:50:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:50:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741339545141248,"km_value":10741339545141.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198667776001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-05 17:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":148773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:50:16] local.INFO: GPS data processed {"connection_id":148773,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:50:16] local.INFO: Acknowledgment sent {"connection_id":148773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:50:20] local.INFO: TCP Data received {"connection_id":148774,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:50:20] local.INFO: Processing buffer {"connection_id":148774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:50:20] local.INFO: IMEI packet received {"connection_id":148774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":148774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:50:29] local.INFO: TCP Data received {"connection_id":148774,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:50:29] local.INFO: Processing buffer {"connection_id":148774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:50:29] local.INFO: IMEI packet received {"connection_id":148774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":148774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:50:39] local.INFO: TCP Data received {"connection_id":148775,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:50:39] local.INFO: Processing buffer {"connection_id":148775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:50:39] local.INFO: IMEI packet received {"connection_id":148775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":148775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:50:39] local.INFO: TCP Data received {"connection_id":148775,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:50:39] local.INFO: Processing buffer {"connection_id":148775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:50:39] local.INFO: IMEI packet received {"connection_id":148775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":148775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:50:40] local.INFO: TCP Data received {"connection_id":149781,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1de4280012d81aac005d3fe08000200b518..."} 
[2026-08-05 17:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1de4280012d81aac005d3fe08000200b518..."} 
[2026-08-05 17:50:40] local.INFO: Processing buffer {"connection_id":149781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1de4280012d81aac005d3fe08000200b518..."} 
[2026-08-05 17:50:40] local.INFO: Packet analysis {"connection_id":149781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:50:40] local.INFO: Extracted packet for processing {"connection_id":149781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763472576,"raw_latitude":97779208,"longitude_deg":76.3472576,"latitude_deg":9.7779208,"altitude":2,"angle":181,"satellites":24,"speed":37,"hex_longitude":"2d81aac0","hex_latitude":"05d3fe08","is_valid_coordinates":true} 
[2026-08-05 17:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198700288001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115015844047618048,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103745146718928896,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785932432000,"timestamp_ms":1785932432000,"timestamp_seconds":1785932432,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1de4280"} 
[2026-08-05 17:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 17:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198700288001,"66":13059,"166":206,"85":15104,"24":37,"16":115015844047618048,"45":-9103745146718928896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-05 17:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198700288001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:50:40] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-05 17:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115015844047618048,"km_value":115015844047618.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103745146718928896,"description":"Unknown IO ID 45"} 
[2026-08-05 17:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198700288001,"power":13059,"unknown_166":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9103745146718928896}} 
[2026-08-05 17:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":149781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:50:40] local.INFO: GPS data processed {"connection_id":149781,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:50:40] local.INFO: Acknowledgment sent {"connection_id":149781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:50:41] local.INFO: TCP Data received {"connection_id":148774,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dc7590012d77a90005f27448000c015a26..."} 
[2026-08-05 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dc7590012d77a90005f27448000c015a26..."} 
[2026-08-05 17:50:41] local.INFO: Processing buffer {"connection_id":148774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dc7590012d77a90005f27448000c015a26..."} 
[2026-08-05 17:50:41] local.INFO: Packet analysis {"connection_id":148774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:50:41] local.INFO: Extracted packet for processing {"connection_id":148774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":38,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198667008001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785932314000,"timestamp_ms":1785932314000,"timestamp_seconds":1785932314,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dc7590"} 
[2026-08-05 17:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-05 17:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198667008001,"66":27908,"3":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198667008001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:50:41] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:50:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198667008001,"power":27908,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":148774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:50:41] local.INFO: GPS data processed {"connection_id":148774,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:50:41] local.INFO: Acknowledgment sent {"connection_id":148774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:50:42] local.INFO: TCP Data received {"connection_id":148774,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dcc798012d77a90005f27448000c015a26..."} 
[2026-08-05 17:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dcc798012d77a90005f27448000c015a26..."} 
[2026-08-05 17:50:42] local.INFO: Processing buffer {"connection_id":148774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dcc798012d77a90005f27448000c015a26..."} 
[2026-08-05 17:50:42] local.INFO: Packet analysis {"connection_id":148774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:50:42] local.INFO: Extracted packet for processing {"connection_id":148774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":38,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198672384001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785932335000,"timestamp_ms":1785932335000,"timestamp_seconds":1785932335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dcc798"} 
[2026-08-05 17:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 17:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198672384001,"66":27843,"3":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198672384001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:50:42] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:50:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198672384001,"power":27843,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":148774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:50:42] local.INFO: GPS data processed {"connection_id":148774,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:50:42] local.INFO: Acknowledgment sent {"connection_id":148774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:50:44] local.INFO: TCP Data received {"connection_id":148775,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:50:44] local.INFO: Processing buffer {"connection_id":148775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:50:44] local.INFO: IMEI packet received {"connection_id":148775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":148775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:50:45] local.INFO: TCP Data received {"connection_id":148775,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dcd350012d1821c00721b3e8005100d42a..."} 
[2026-08-05 17:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dcd350012d1821c00721b3e8005100d42a..."} 
[2026-08-05 17:50:45] local.INFO: Processing buffer {"connection_id":148775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dcd350012d1821c00721b3e8005100d42a..."} 
[2026-08-05 17:50:45] local.INFO: Packet analysis {"connection_id":148775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:50:45] local.INFO: Extracted packet for processing {"connection_id":148775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dc"} 
[2026-08-05 17:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":81,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-05 17:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198673152001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741339545141248,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932338000,"timestamp_ms":1785932338000,"timestamp_seconds":1785932338,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dcd350"} 
[2026-08-05 17:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198673152001,"66":12298,"105":206,"83":41984,"24":0,"16":10741339545141248,"45":1738882068004464640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198673152001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:50:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741339545141248,"km_value":10741339545141.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198673152001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-05 17:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":148775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:50:45] local.INFO: GPS data processed {"connection_id":148775,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:50:45] local.INFO: Acknowledgment sent {"connection_id":148775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:51:02] local.INFO: TCP Data received {"connection_id":148776,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:51:02] local.INFO: Processing buffer {"connection_id":148776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:51:02] local.INFO: IMEI packet received {"connection_id":148776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":148776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:51:03] local.INFO: TCP Data received {"connection_id":148776,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:51:03] local.INFO: Processing buffer {"connection_id":148776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:51:03] local.INFO: IMEI packet received {"connection_id":148776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":148776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:51:07] local.INFO: TCP Data received {"connection_id":148776,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:51:07] local.INFO: Processing buffer {"connection_id":148776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:51:07] local.INFO: IMEI packet received {"connection_id":148776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":148776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:51:08] local.INFO: TCP Data received {"connection_id":148776,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1de4a50012d81a94005d3f6b0000300c418..."} 
[2026-08-05 17:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1de4a50012d81a94005d3f6b0000300c418..."} 
[2026-08-05 17:51:08] local.INFO: Processing buffer {"connection_id":148776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1de4a50012d81a94005d3f6b0000300c418..."} 
[2026-08-05 17:51:08] local.INFO: Packet analysis {"connection_id":148776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:51:08] local.INFO: Extracted packet for processing {"connection_id":148776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:51:08] local.INFO: GPS Element Parsed {"raw_longitude":763472192,"raw_latitude":97777328,"longitude_deg":76.3472192,"latitude_deg":9.7777328,"altitude":3,"angle":196,"satellites":24,"speed":38,"hex_longitude":"2d81a940","hex_latitude":"05d3f6b0","is_valid_coordinates":true} 
[2026-08-05 17:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198702592001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115015934241931264,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103252565512026112,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785932434000,"timestamp_ms":1785932434000,"timestamp_seconds":1785932434,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1de4a50"} 
[2026-08-05 17:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:51: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-08-05 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303152980086182,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3520979160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174713861,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":165,"raw_value":58077557095399470,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3724804097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795831502,"corrected_to":0} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3221607498,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070502,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2640838656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3563089920,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,166,85,24,241,157,16,158,159,31,45,33,2,25,10,66,165,23,192,41,11,1,240,106,227,209,212,4,113,205,244,155,168,239,51,152,5,46],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2795831502,"validated":0}]} 
[2026-08-05 17:51:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144314302762123264,"timestamp_seconds":144314302762123.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198702592001,"66":12885,"166":206,"85":15104,"24":38,"16":115015934241931264,"45":-9103252565512026112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-05 17:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198702592001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:51:08] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-05 17:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115015934241931264,"km_value":115015934241931.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103252565512026112,"description":"Unknown IO ID 45"} 
[2026-08-05 17:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198702592001,"power":12885,"unknown_166":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9103252565512026112}} 
[2026-08-05 17:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":148776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:51:08] local.INFO: GPS data processed {"connection_id":148776,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:51:08] local.INFO: Acknowledgment sent {"connection_id":148776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:51:16] local.INFO: TCP Data received {"connection_id":148775,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dd2558012d1821c00721b3e8005100d42c..."} 
[2026-08-05 17:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dd2558012d1821c00721b3e8005100d42c..."} 
[2026-08-05 17:51:16] local.INFO: Processing buffer {"connection_id":148775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dd2558012d1821c00721b3e8005100d42c..."} 
[2026-08-05 17:51:16] local.INFO: Packet analysis {"connection_id":148775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:51:16] local.INFO: Extracted packet for processing {"connection_id":148775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:51:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":81,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198678528001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741339545141248,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932359000,"timestamp_ms":1785932359000,"timestamp_seconds":1785932359,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dd2558"} 
[2026-08-05 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-08-05 17:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185638,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3530822107858468865,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-3325181444528203743,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513889641516040404,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":81,"raw_value":59719974062653440,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460567045046478,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3683332097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 17:51:16] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510954,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:16] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,41,159,129,45,192,179,81,42,10,66,47,43,221,1,240,173,227,209,33,4,113,205,57,232,239,48,2,38,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 17:51:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836898393925877760,"timestamp_seconds":5836898393925878.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 17:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198678528001,"66":12102,"105":206,"83":41984,"24":0,"16":10741339545141248,"45":1738882068004464640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198678528001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:51:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:51:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741339545141248,"km_value":10741339545141.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198678528001,"power":12102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-05 17:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":148775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:51:16] local.INFO: GPS data processed {"connection_id":148775,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:51:16] local.INFO: Acknowledgment sent {"connection_id":148775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:51:19] local.INFO: TCP Data received {"connection_id":151207,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:51:19] local.INFO: Processing buffer {"connection_id":151207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:51:19] local.INFO: IMEI packet received {"connection_id":151207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":151207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:51:24] local.INFO: TCP Data received {"connection_id":151207,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:51:24] local.INFO: Processing buffer {"connection_id":151207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:51:24] local.INFO: IMEI packet received {"connection_id":151207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":151207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:51:33] local.INFO: TCP Data received {"connection_id":151207,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dd19a0012d77a90005f27448000c015a2b..."} 
[2026-08-05 17:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dd19a0012d77a90005f27448000c015a2b..."} 
[2026-08-05 17:51:33] local.INFO: Processing buffer {"connection_id":151207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dd19a0012d77a90005f27448000c015a2b..."} 
[2026-08-05 17:51:33] local.INFO: Packet analysis {"connection_id":151207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:51:33] local.INFO: Extracted packet for processing {"connection_id":151207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:51:33] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99775560,"longitude_deg":76.2816768,"latitude_deg":9.977556,"altitude":12,"angle":346,"satellites":43,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f27448","is_valid_coordinates":true} 
[2026-08-05 17:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198677760001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716146489360384,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785932356000,"timestamp_ms":1785932356000,"timestamp_seconds":1785932356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dd19a0"} 
[2026-08-05 17:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 17:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198677760001,"66":27604,"3":206,"9":24832,"24":0,"16":370716146489360384,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198677760001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:51:33] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:51:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716146489360384,"km_value":370716146489360.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198677760001,"power":27604,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":151207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:51:33] local.INFO: GPS data processed {"connection_id":151207,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:51:33] local.INFO: Acknowledgment sent {"connection_id":151207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:51:34] local.INFO: TCP Data received {"connection_id":151207,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dd4498012d77a78005f27798001300132c..."} 
[2026-08-05 17:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dd4498012d77a78005f27798001300132c..."} 
[2026-08-05 17:51:34] local.INFO: Processing buffer {"connection_id":151207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dd4498012d77a78005f27798001300132c..."} 
[2026-08-05 17:51:34] local.INFO: Packet analysis {"connection_id":151207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:51:34] local.INFO: Extracted packet for processing {"connection_id":151207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:51:34] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99776408,"longitude_deg":76.2816384,"latitude_deg":9.9776408,"altitude":19,"angle":19,"satellites":44,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f27798","is_valid_coordinates":true} 
[2026-08-05 17:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198683136001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987120068608,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785932367000,"timestamp_ms":1785932367000,"timestamp_seconds":1785932367,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dd4498"} 
[2026-08-05 17:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 17:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198683136001,"66":27789,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622422987120068608},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198683136001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:51:34] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:51:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987120068608,"description":"Unknown IO ID 45"} 
[2026-08-05 17:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198683136001,"power":27789,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987120068608}} 
[2026-08-05 17:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":151207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:51:34] local.INFO: GPS data processed {"connection_id":151207,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:51:34] local.INFO: Acknowledgment sent {"connection_id":151207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:51:39] local.INFO: TCP Data received {"connection_id":149782,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:51:39] local.INFO: Processing buffer {"connection_id":149782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:51:39] local.INFO: IMEI packet received {"connection_id":149782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":149782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:51:39] local.INFO: TCP Data received {"connection_id":148776,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1df2510012d81c90005d346c00007007e19..."} 
[2026-08-05 17:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1df2510012d81c90005d346c00007007e19..."} 
[2026-08-05 17:51:39] local.INFO: Processing buffer {"connection_id":148776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1df2510012d81c90005d346c00007007e19..."} 
[2026-08-05 17:51:39] local.INFO: Packet analysis {"connection_id":148776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:51:39] local.INFO: Extracted packet for processing {"connection_id":148776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763480320,"raw_latitude":97732288,"longitude_deg":76.348032,"latitude_deg":9.7732288,"altitude":7,"angle":126,"satellites":25,"speed":9,"hex_longitude":"2d81c900","hex_latitude":"05d346c0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198716928001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115018274999107584,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095019422455158784,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785932490000,"timestamp_ms":1785932490000,"timestamp_seconds":1785932490,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1df2510"} 
[2026-08-05 17:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 17:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198716928001,"66":12526,"166":206,"85":15104,"24":9,"16":115018274999107584,"45":-9095019422455158784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-05 17:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198716928001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:51:39] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-05 17:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115018274999107584,"km_value":115018274999107.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095019422455158784,"description":"Unknown IO ID 45"} 
[2026-08-05 17:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198716928001,"power":12526,"unknown_166":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9095019422455158784}} 
[2026-08-05 17:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":148776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:51:39] local.INFO: GPS data processed {"connection_id":148776,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:51:39] local.INFO: Acknowledgment sent {"connection_id":148776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:51:42] local.INFO: TCP Data received {"connection_id":149782,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:51:42] local.INFO: Processing buffer {"connection_id":149782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:51:42] local.INFO: IMEI packet received {"connection_id":149782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":149782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:51:44] local.INFO: TCP Data received {"connection_id":149782,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:51:44] local.INFO: Processing buffer {"connection_id":149782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:51:44] local.INFO: IMEI packet received {"connection_id":149782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":149782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:51:47] local.INFO: TCP Data received {"connection_id":149782,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dd7760012d1821c00721b3e8005100d42c..."} 
[2026-08-05 17:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dd7760012d1821c00721b3e8005100d42c..."} 
[2026-08-05 17:51:47] local.INFO: Processing buffer {"connection_id":149782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dd7760012d1821c00721b3e8005100d42c..."} 
[2026-08-05 17:51:47] local.INFO: Packet analysis {"connection_id":149782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:51:47] local.INFO: Extracted packet for processing {"connection_id":149782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:51:47] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649256,"longitude_deg":75.6556224,"latitude_deg":11.9649256,"altitude":81,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198683904001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741339545141248,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785932380000,"timestamp_ms":1785932380000,"timestamp_seconds":1785932380,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dd7760"} 
[2026-08-05 17:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 17:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198683904001,"66":12385,"105":206,"83":41984,"24":0,"16":10741339545141248,"45":1738882068004464640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198683904001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:51:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:51:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741339545141248,"km_value":10741339545141.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198683904001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-05 17:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":149782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:51:47] local.INFO: GPS data processed {"connection_id":149782,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:51:47] local.INFO: Acknowledgment sent {"connection_id":149782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:52:03] local.INFO: TCP Data received {"connection_id":148558,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:52:03] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:52:03] local.INFO: IMEI packet received {"connection_id":148558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":148558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:52:08] local.INFO: TCP Data received {"connection_id":148558,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:52:08] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:52:08] local.INFO: IMEI packet received {"connection_id":148558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":148558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:52:08] local.INFO: TCP Data received {"connection_id":148558,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1df28f8012d81c9c005d346400008006e19..."} 
[2026-08-05 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1df28f8012d81c9c005d346400008006e19..."} 
[2026-08-05 17:52:08] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1df28f8012d81c9c005d346400008006e19..."} 
[2026-08-05 17:52:08] local.INFO: Packet analysis {"connection_id":148558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:52:08] local.INFO: Extracted packet for processing {"connection_id":148558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763480512,"raw_latitude":97732160,"longitude_deg":76.3480512,"latitude_deg":9.773216,"altitude":8,"angle":110,"satellites":25,"speed":11,"hex_longitude":"2d81c9c0","hex_latitude":"05d34640","is_valid_coordinates":true} 
[2026-08-05 17:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198717440001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115018287884009472,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9094737947478540288,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785932491000,"timestamp_ms":1785932491000,"timestamp_seconds":1785932491,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1df28f8"} 
[2026-08-05 17:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:52: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-08-05 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 17:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198717440001,"66":12961,"166":206,"85":15104,"24":11,"16":115018287884009472,"45":-9094737947478540288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-05 17:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198717440001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:52:08] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-05 17:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115018287884009472,"km_value":115018287884009.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9094737947478540288,"description":"Unknown IO ID 45"} 
[2026-08-05 17:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198717440001,"power":12961,"unknown_166":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9094737947478540288}} 
[2026-08-05 17:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":148558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:52:08] local.INFO: GPS data processed {"connection_id":148558,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:52:08] local.INFO: Acknowledgment sent {"connection_id":148558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:52:15] local.INFO: TCP Data received {"connection_id":148777,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:52:15] local.INFO: Processing buffer {"connection_id":148777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:52:15] local.INFO: IMEI packet received {"connection_id":148777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":148777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:52:18] local.INFO: TCP Data received {"connection_id":149782,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ddc968012d1821400721b240004b00d72c..."} 
[2026-08-05 17:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ddc968012d1821400721b240004b00d72c..."} 
[2026-08-05 17:52:18] local.INFO: Processing buffer {"connection_id":149782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ddc968012d1821400721b240004b00d72c..."} 
[2026-08-05 17:52:18] local.INFO: Packet analysis {"connection_id":149782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:52:18] local.INFO: Extracted packet for processing {"connection_id":149782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":75,"angle":215,"satellites":44,"speed":1,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-05 17:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198689280001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741361019977728,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004464640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785932401000,"timestamp_ms":1785932401000,"timestamp_seconds":1785932401,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ddc968"} 
[2026-08-05 17:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 17:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198689280001,"66":12428,"105":206,"83":41984,"24":1,"16":10741361019977728,"45":1738882068004464640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198689280001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:52:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741361019977728,"km_value":10741361019977.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004464640,"description":"Unknown IO ID 45"} 
[2026-08-05 17:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198689280001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738882068004464640}} 
[2026-08-05 17:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":149782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:52:18] local.INFO: GPS data processed {"connection_id":149782,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:52:18] local.INFO: Acknowledgment sent {"connection_id":149782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:52:20] local.INFO: TCP Data received {"connection_id":148777,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:52:20] local.INFO: Processing buffer {"connection_id":148777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:52:20] local.INFO: IMEI packet received {"connection_id":148777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":148777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:52:21] local.INFO: TCP Data received {"connection_id":148777,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dd96a0012d77a78005f277c8001300132c..."} 
[2026-08-05 17:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dd96a0012d77a78005f277c8001300132c..."} 
[2026-08-05 17:52:21] local.INFO: Processing buffer {"connection_id":148777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dd96a0012d77a78005f277c8001300132c..."} 
[2026-08-05 17:52:21] local.INFO: Packet analysis {"connection_id":148777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:52:21] local.INFO: Extracted packet for processing {"connection_id":148777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:52:21] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99776456,"longitude_deg":76.2816384,"latitude_deg":9.9776456,"altitude":19,"angle":19,"satellites":44,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f277c8","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198685952001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655219712,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785932388000,"timestamp_ms":1785932388000,"timestamp_seconds":1785932388,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dd96a0"} 
[2026-08-05 17:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:52: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-08-05 17: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-05 17:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198685952001,"66":28050,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655219712},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198685952001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:52:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:52:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655219712,"description":"Unknown IO ID 45"} 
[2026-08-05 17:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198685952001,"power":28050,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655219712}} 
[2026-08-05 17:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":148777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:52:21] local.INFO: GPS data processed {"connection_id":148777,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:52:21] local.INFO: Acknowledgment sent {"connection_id":148777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:52:39] local.INFO: TCP Data received {"connection_id":148559,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:52:39] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:52:39] local.INFO: IMEI packet received {"connection_id":148559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":148559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:52:39] local.INFO: TCP Data received {"connection_id":148558,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1df34b0012d81cf4005d345600008006119..."} 
[2026-08-05 17:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1df34b0012d81cf4005d345600008006119..."} 
[2026-08-05 17:52:39] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1df34b0012d81cf4005d345600008006119..."} 
[2026-08-05 17:52:39] local.INFO: Packet analysis {"connection_id":148558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:52:39] local.INFO: Extracted packet for processing {"connection_id":148558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763481920,"raw_latitude":97731936,"longitude_deg":76.348192,"latitude_deg":9.7731936,"altitude":8,"angle":97,"satellites":25,"speed":22,"hex_longitude":"2d81cf40","hex_latitude":"05d34560","is_valid_coordinates":true} 
[2026-08-05 17:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198717696001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115018352308518912,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9094526841246040064,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785932494000,"timestamp_ms":1785932494000,"timestamp_seconds":1785932494,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1df34b0"} 
[2026-08-05 17:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-05 17:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198717696001,"66":13135,"166":206,"85":15104,"24":22,"16":115018352308518912,"45":-9094526841246040064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-05 17:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198717696001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:52:39] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-05 17:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115018352308518912,"km_value":115018352308518.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9094526841246040064,"description":"Unknown IO ID 45"} 
[2026-08-05 17:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198717696001,"power":13135,"unknown_166":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9094526841246040064}} 
[2026-08-05 17:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":148558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:52:39] local.INFO: GPS data processed {"connection_id":148558,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:52:39] local.INFO: Acknowledgment sent {"connection_id":148558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:52:44] local.INFO: TCP Data received {"connection_id":148559,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:52:44] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:52:44] local.INFO: IMEI packet received {"connection_id":148559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":148559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:52:45] local.INFO: TCP Data received {"connection_id":148559,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1de1b70012d1820400721b0f8004b00d62b..."} 
[2026-08-05 17:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1de1b70012d1820400721b0f8004b00d62b..."} 
[2026-08-05 17:52:45] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1de1b70012d1820400721b0f8004b00d62b..."} 
[2026-08-05 17:52:45] local.INFO: Packet analysis {"connection_id":148559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:52:45] local.INFO: Extracted packet for processing {"connection_id":148559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648504,"longitude_deg":75.655584,"latitude_deg":11.9648504,"altitude":75,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-08-05 17:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198694656001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741382494814208,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932422000,"timestamp_ms":1785932422000,"timestamp_seconds":1785932422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1de1b70"} 
[2026-08-05 17:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198694656001,"66":12461,"105":206,"83":41984,"24":0,"16":10741382494814208,"45":1738741330516000768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198694656001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:52:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741382494814208,"km_value":10741382494814.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-05 17:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198694656001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-05 17:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":148559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:52:45] local.INFO: GPS data processed {"connection_id":148559,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:52:45] local.INFO: Acknowledgment sent {"connection_id":148559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:52:52] local.INFO: TCP Data received {"connection_id":148777,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dde8a8012d77a78005f277c8001300132a..."} 
[2026-08-05 17:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dde8a8012d77a78005f277c8001300132a..."} 
[2026-08-05 17:52:52] local.INFO: Processing buffer {"connection_id":148777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dde8a8012d77a78005f277c8001300132a..."} 
[2026-08-05 17:52:52] local.INFO: Packet analysis {"connection_id":148777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:52:52] local.INFO: Extracted packet for processing {"connection_id":148777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1dd"} 
[2026-08-05 17:52:52] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99776456,"longitude_deg":76.2816384,"latitude_deg":9.9776456,"altitude":19,"angle":19,"satellites":42,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f277c8","is_valid_coordinates":true} 
[2026-08-05 17:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198691328001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785932409000,"timestamp_ms":1785932409000,"timestamp_seconds":1785932409,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dde8a8"} 
[2026-08-05 17:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-05 17:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198691328001,"66":27604,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198691328001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:52:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:52:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198691328001,"power":27604,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":148777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:52:52] local.INFO: GPS data processed {"connection_id":148777,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:52:52] local.INFO: Acknowledgment sent {"connection_id":148777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:53:03] local.INFO: TCP Data received {"connection_id":149783,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:53:03] local.INFO: Processing buffer {"connection_id":149783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:53:03] local.INFO: IMEI packet received {"connection_id":149783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":149783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:53:08] local.INFO: TCP Data received {"connection_id":149783,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:53:08] local.INFO: Processing buffer {"connection_id":149783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:53:08] local.INFO: IMEI packet received {"connection_id":149783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":149783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:53:08] local.INFO: TCP Data received {"connection_id":149783,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1df6778012d81f4c005d343480008005a19..."} 
[2026-08-05 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1df6778012d81f4c005d343480008005a19..."} 
[2026-08-05 17:53:08] local.INFO: Processing buffer {"connection_id":149783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1df6778012d81f4c005d343480008005a19..."} 
[2026-08-05 17:53:08] local.INFO: Packet analysis {"connection_id":149783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:53:08] local.INFO: Extracted packet for processing {"connection_id":149783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:53:08] local.INFO: GPS Element Parsed {"raw_longitude":763491520,"raw_latitude":97731400,"longitude_deg":76.349152,"latitude_deg":9.77314,"altitude":8,"angle":90,"satellites":25,"speed":28,"hex_longitude":"2d81f4c0","hex_latitude":"05d34348","is_valid_coordinates":true} 
[2026-08-05 17:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198718464001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115018811870019584,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9092978728874188800,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785932507000,"timestamp_ms":1785932507000,"timestamp_seconds":1785932507,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1df6778"} 
[2026-08-05 17:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:53: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-08-05 17:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 17:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198718464001,"66":13059,"67":206,"85":15104,"24":28,"16":115018811870019584,"45":-9092978728874188800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 17:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198718464001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:53:08] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 17:53:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115018811870019584,"km_value":115018811870019.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9092978728874188800,"description":"Unknown IO ID 45"} 
[2026-08-05 17:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198718464001,"power":13059,"unknown_67":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9092978728874188800}} 
[2026-08-05 17:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":149783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:53:09] local.INFO: GPS data processed {"connection_id":149783,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:53:09] local.INFO: Acknowledgment sent {"connection_id":149783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:53:14] local.INFO: TCP Data received {"connection_id":148778,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:53:14] local.INFO: Processing buffer {"connection_id":148778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:53:14] local.INFO: IMEI packet received {"connection_id":148778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":148778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:53:16] local.INFO: TCP Data received {"connection_id":148559,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1de6d78012d1820400721b0f8004b00d62b..."} 
[2026-08-05 17:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1de6d78012d1820400721b0f8004b00d62b..."} 
[2026-08-05 17:53:16] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1de6d78012d1820400721b0f8004b00d62b..."} 
[2026-08-05 17:53:16] local.INFO: Packet analysis {"connection_id":148559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:53:16] local.INFO: Extracted packet for processing {"connection_id":148559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648504,"longitude_deg":75.655584,"latitude_deg":11.9648504,"altitude":75,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198700032001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741382494814208,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539206144,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932443000,"timestamp_ms":1785932443000,"timestamp_seconds":1785932443,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1de6d78"} 
[2026-08-05 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-08-05 17:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198700032001,"66":12461,"105":206,"83":41984,"24":0,"16":10741382494814208,"45":1738459855539206144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198700032001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:53:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741382494814208,"km_value":10741382494814.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539206144,"description":"Unknown IO ID 45"} 
[2026-08-05 17:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198700032001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539206144}} 
[2026-08-05 17:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":148559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:53:16] local.INFO: GPS data processed {"connection_id":148559,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:53:16] local.INFO: Acknowledgment sent {"connection_id":148559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:53:20] local.INFO: TCP Data received {"connection_id":148778,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:53:20] local.INFO: Processing buffer {"connection_id":148778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:53:20] local.INFO: IMEI packet received {"connection_id":148778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":148778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:53:21] local.INFO: TCP Data received {"connection_id":148778,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1de3ab0012d77a78005f277c80013001328..."} 
[2026-08-05 17:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1de3ab0012d77a78005f277c80013001328..."} 
[2026-08-05 17:53:21] local.INFO: Processing buffer {"connection_id":148778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1de3ab0012d77a78005f277c80013001328..."} 
[2026-08-05 17:53:21] local.INFO: Packet analysis {"connection_id":148778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:53:21] local.INFO: Extracted packet for processing {"connection_id":148778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:53:21] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99776456,"longitude_deg":76.2816384,"latitude_deg":9.9776456,"altitude":19,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f277c8","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198696704001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785932430000,"timestamp_ms":1785932430000,"timestamp_seconds":1785932430,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1de3ab0"} 
[2026-08-05 17:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:53: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-08-05 17: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 17:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198696704001,"66":27995,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198696704001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:53:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:53:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198696704001,"power":27995,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":148778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:53:21] local.INFO: GPS data processed {"connection_id":148778,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:53:21] local.INFO: Acknowledgment sent {"connection_id":148778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:53:40] local.INFO: TCP Data received {"connection_id":149783,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1df9658012d821a8005d341a00008005e18..."} 
[2026-08-05 17:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1df9658012d821a8005d341a00008005e18..."} 
[2026-08-05 17:53:40] local.INFO: Processing buffer {"connection_id":149783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1df9658012d821a8005d341a00008005e18..."} 
[2026-08-05 17:53:40] local.INFO: Packet analysis {"connection_id":149783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:53:40] local.INFO: Extracted packet for processing {"connection_id":149783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763501184,"raw_latitude":97730976,"longitude_deg":76.3501184,"latitude_deg":9.7730976,"altitude":8,"angle":94,"satellites":24,"speed":33,"hex_longitude":"2d821a80","hex_latitude":"05d341a0","is_valid_coordinates":true} 
[2026-08-05 17:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198721792001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115019275726487552,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9082423417247676416,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785932519000,"timestamp_ms":1785932519000,"timestamp_seconds":1785932519,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1df9658"} 
[2026-08-05 17:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015718,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3521046160,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2177368069,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":166,"raw_value":58077557095399457,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3743236097,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2684431745,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154086,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2691432448,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3547512832,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,67,85,24,241,157,16,161,159,52,45,64,69,8,25,10,66,166,160,40,192,70,37,1,240,238,227,209,211,4,113,205,13,199,80,239,50,2,152,5,33],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-08-05 17:53:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576559815725940736,"timestamp_seconds":576559815725940.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 17:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198721792001,"66":13059,"67":206,"85":15104,"24":33,"16":115019275726487552,"45":-9082423417247676416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 17:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198721792001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:53:40] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 17:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115019275726487552,"km_value":115019275726487.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9082423417247676416,"description":"Unknown IO ID 45"} 
[2026-08-05 17:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198721792001,"power":13059,"unknown_67":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9082423417247676416}} 
[2026-08-05 17:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":149783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:53:40] local.INFO: GPS data processed {"connection_id":149783,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:53:40] local.INFO: Acknowledgment sent {"connection_id":149783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:53:44] local.INFO: TCP Data received {"connection_id":148560,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:53:44] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:53:44] local.INFO: IMEI packet received {"connection_id":148560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":148560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:53:49] local.INFO: TCP Data received {"connection_id":148560,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:53:49] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:53:49] local.INFO: IMEI packet received {"connection_id":148560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":148560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:53:49] local.INFO: TCP Data received {"connection_id":148560,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1debf80012d181f800721aff0004a00dd2c..."} 
[2026-08-05 17:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1debf80012d181f800721aff0004a00dd2c..."} 
[2026-08-05 17:53:49] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1debf80012d181f800721aff0004a00dd2c..."} 
[2026-08-05 17:53:49] local.INFO: Packet analysis {"connection_id":148560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:53:49] local.INFO: Extracted packet for processing {"connection_id":148560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198705408001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539206144,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785932464000,"timestamp_ms":1785932464000,"timestamp_seconds":1785932464,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1debf80"} 
[2026-08-05 17:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198705408001,"66":12439,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738459855539206144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198705408001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:53:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539206144,"description":"Unknown IO ID 45"} 
[2026-08-05 17:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198705408001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539206144}} 
[2026-08-05 17:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":148560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:53:49] local.INFO: GPS data processed {"connection_id":148560,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:53:49] local.INFO: Acknowledgment sent {"connection_id":148560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:53:50] local.INFO: TCP Data received {"connection_id":148560,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1df1188012d181f800721aff0004a00dd2c..."} 
[2026-08-05 17:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1df1188012d181f800721aff0004a00dd2c..."} 
[2026-08-05 17:53:50] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1df1188012d181f800721aff0004a00dd2c..."} 
[2026-08-05 17:53:50] local.INFO: Packet analysis {"connection_id":148560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:53:50] local.INFO: Extracted packet for processing {"connection_id":148560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198710784001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785932485000,"timestamp_ms":1785932485000,"timestamp_seconds":1785932485,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1df1188"} 
[2026-08-05 17:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 17:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198710784001,"66":12461,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198710784001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:53:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198710784001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":148560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:53:50] local.INFO: GPS data processed {"connection_id":148560,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:53:50] local.INFO: Acknowledgment sent {"connection_id":148560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:53:52] local.INFO: TCP Data received {"connection_id":148778,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1de8cb8012d77a78005f277c8001300132a..."} 
[2026-08-05 17:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1de8cb8012d77a78005f277c8001300132a..."} 
[2026-08-05 17:53:52] local.INFO: Processing buffer {"connection_id":148778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1de8cb8012d77a78005f277c8001300132a..."} 
[2026-08-05 17:53:52] local.INFO: Packet analysis {"connection_id":148778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:53:52] local.INFO: Extracted packet for processing {"connection_id":148778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:53:52] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99776456,"longitude_deg":76.2816384,"latitude_deg":9.9776456,"altitude":19,"angle":19,"satellites":42,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f277c8","is_valid_coordinates":true} 
[2026-08-05 17:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198702080001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785932451000,"timestamp_ms":1785932451000,"timestamp_seconds":1785932451,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1de8cb8"} 
[2026-08-05 17:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 17:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198702080001,"66":27767,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198702080001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:53:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:53:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198702080001,"power":27767,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":148778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:53:52] local.INFO: GPS data processed {"connection_id":148778,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:53:52] local.INFO: Acknowledgment sent {"connection_id":148778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:54:03] local.INFO: TCP Data received {"connection_id":148779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:54:03] local.INFO: Processing buffer {"connection_id":148779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:54:03] local.INFO: IMEI packet received {"connection_id":148779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":148779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:54:08] local.INFO: TCP Data received {"connection_id":148779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:54:08] local.INFO: Processing buffer {"connection_id":148779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:54:08] local.INFO: IMEI packet received {"connection_id":148779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":148779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:54:09] local.INFO: TCP Data received {"connection_id":148779,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e10d58012d82868005d2f4b8000600ae19..."} 
[2026-08-05 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e10d58012d82868005d2f4b8000600ae19..."} 
[2026-08-05 17:54:09] local.INFO: Processing buffer {"connection_id":148779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e10d58012d82868005d2f4b8000600ae19..."} 
[2026-08-05 17:54:09] local.INFO: Packet analysis {"connection_id":148779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:54:09] local.INFO: Extracted packet for processing {"connection_id":148779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763528832,"raw_latitude":97711288,"longitude_deg":76.3528832,"latitude_deg":9.7711288,"altitude":6,"angle":174,"satellites":25,"speed":7,"hex_longitude":"2d828680","hex_latitude":"05d2f4b8","is_valid_coordinates":true} 
[2026-08-05 17:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198748672001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115021655138369536,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041468808141287424,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785932615000,"timestamp_ms":1785932615000,"timestamp_seconds":1785932615,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e10d58"} 
[2026-08-05 17:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 17:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198748672001,"66":13048,"67":206,"85":15104,"24":7,"16":115021655138369536,"45":-9041468808141287424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 17:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198748672001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:54:09] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 17:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115021655138369536,"km_value":115021655138369.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041468808141287424,"description":"Unknown IO ID 45"} 
[2026-08-05 17:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198748672001,"power":13048,"unknown_67":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9041468808141287424}} 
[2026-08-05 17:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":148779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:54:09] local.INFO: GPS data processed {"connection_id":148779,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:54:09] local.INFO: Acknowledgment sent {"connection_id":148779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:54:14] local.INFO: TCP Data received {"connection_id":151208,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:54:14] local.INFO: Processing buffer {"connection_id":151208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:54:14] local.INFO: IMEI packet received {"connection_id":151208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":151208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:54:20] local.INFO: TCP Data received {"connection_id":151208,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:54:20] local.INFO: Processing buffer {"connection_id":151208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:54:20] local.INFO: IMEI packet received {"connection_id":151208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":151208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:54:20] local.INFO: TCP Data received {"connection_id":151208,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:54:20] local.INFO: Processing buffer {"connection_id":151208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:54:20] local.INFO: Packet analysis {"connection_id":151208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:54:20] local.INFO: Extracted packet for processing {"connection_id":151208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:54:20] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99776456,"longitude_deg":76.2816384,"latitude_deg":9.9776456,"altitude":19,"angle":19,"satellites":41,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f277c8","is_valid_coordinates":true} 
[2026-08-05 17:54: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-08-05 17:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198707456001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785932468000,"timestamp_ms":1785932468000,"timestamp_seconds":1785932468,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1decf20"} 
[2026-08-05 17:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:54: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-08-05 17:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198707456001,"66":28017,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198707456001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:54:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:54:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198707456001,"power":28017,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":151208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:54:20] local.INFO: GPS data processed {"connection_id":151208,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:54:20] local.INFO: Acknowledgment sent {"connection_id":151208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:54:21] local.INFO: TCP Data received {"connection_id":148560,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1df6390012d181f800721aff0004a00dd2a..."} 
[2026-08-05 17:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1df6390012d181f800721aff0004a00dd2a..."} 
[2026-08-05 17:54:21] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1df6390012d181f800721aff0004a00dd2a..."} 
[2026-08-05 17:54:21] local.INFO: Packet analysis {"connection_id":148560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:54:21] local.INFO: Extracted packet for processing {"connection_id":148560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198716160001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785932506000,"timestamp_ms":1785932506000,"timestamp_seconds":1785932506,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1df6390"} 
[2026-08-05 17:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:54: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-08-05 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198716160001,"66":12461,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198716160001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:54:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198716160001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":148560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:54:21] local.INFO: GPS data processed {"connection_id":148560,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:54:21] local.INFO: Acknowledgment sent {"connection_id":148560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:54:39] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:54:39] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:54:39] local.INFO: IMEI packet received {"connection_id":148561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":148561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:54:40] local.INFO: TCP Data received {"connection_id":148779,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e153a8012d828a4005d2e090000a00bd19..."} 
[2026-08-05 17:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e153a8012d828a4005d2e090000a00bd19..."} 
[2026-08-05 17:54:41] local.INFO: Processing buffer {"connection_id":148779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e153a8012d828a4005d2e090000a00bd19..."} 
[2026-08-05 17:54:41] local.INFO: Packet analysis {"connection_id":148779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:54:41] local.INFO: Extracted packet for processing {"connection_id":148779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763529792,"raw_latitude":97706128,"longitude_deg":76.3529792,"latitude_deg":9.7706128,"altitude":10,"angle":189,"satellites":25,"speed":9,"hex_longitude":"2d828a40","hex_latitude":"05d2e090","is_valid_coordinates":true} 
[2026-08-05 17:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198749440001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115021912836407296,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041398439397246976,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785932633000,"timestamp_ms":1785932633000,"timestamp_seconds":1785932633,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e153a8"} 
[2026-08-05 17:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":248,"data_length":795,"current_offset":136} 
[2026-08-05 17:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198749440001,"66":12917,"67":206,"85":15104,"24":9,"16":115021912836407296,"45":-9041398439397246976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 17:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198749440001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:54:41] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 17:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115021912836407296,"km_value":115021912836407.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041398439397246976,"description":"Unknown IO ID 45"} 
[2026-08-05 17:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198749440001,"power":12917,"unknown_67":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9041398439397246976}} 
[2026-08-05 17:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":148779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:54:41] local.INFO: GPS data processed {"connection_id":148779,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:54:41] local.INFO: Acknowledgment sent {"connection_id":148779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:54:44] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:54:44] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:54:44] local.INFO: IMEI packet received {"connection_id":148561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":148561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:54:45] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1dfb598012d181f800721aff0004a00dd28..."} 
[2026-08-05 17:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1dfb598012d181f800721aff0004a00dd28..."} 
[2026-08-05 17:54:45] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1dfb598012d181f800721aff0004a00dd28..."} 
[2026-08-05 17:54:45] local.INFO: Packet analysis {"connection_id":148561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:54:45] local.INFO: Extracted packet for processing {"connection_id":148561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1df"} 
[2026-08-05 17:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198721536001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932527000,"timestamp_ms":1785932527000,"timestamp_seconds":1785932527,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1dfb598"} 
[2026-08-05 17:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198721536001,"66":12461,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198721536001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:54:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198721536001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":148561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:54:45] local.INFO: GPS data processed {"connection_id":148561,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:54:45] local.INFO: Acknowledgment sent {"connection_id":148561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:54:53] local.INFO: TCP Data received {"connection_id":151208,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:54:53] local.INFO: Processing buffer {"connection_id":151208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:54:53] local.INFO: Packet analysis {"connection_id":151208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:54:53] local.INFO: Extracted packet for processing {"connection_id":151208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:54:53] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99776456,"longitude_deg":76.2816384,"latitude_deg":9.9776456,"altitude":19,"angle":19,"satellites":41,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f277c8","is_valid_coordinates":true} 
[2026-08-05 17:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198707456001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785932468000,"timestamp_ms":1785932468000,"timestamp_seconds":1785932468,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1decf20"} 
[2026-08-05 17:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198707456001,"66":28017,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198707456001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:54:53] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:54:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198707456001,"power":28017,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":151208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:54:53] local.INFO: GPS data processed {"connection_id":151208,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:54:53] local.INFO: Acknowledgment sent {"connection_id":151208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:55:07] local.INFO: TCP Data received {"connection_id":148780,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:55:07] local.INFO: Processing buffer {"connection_id":148780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:55:07] local.INFO: IMEI packet received {"connection_id":148780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":148780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:55:08] local.INFO: TCP Data received {"connection_id":148780,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:55:08] local.INFO: Processing buffer {"connection_id":148780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:55:08] local.INFO: IMEI packet received {"connection_id":148780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":148780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:55:13] local.INFO: TCP Data received {"connection_id":148780,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:55:13] local.INFO: Processing buffer {"connection_id":148780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:55:13] local.INFO: IMEI packet received {"connection_id":148780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":148780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:55:14] local.INFO: TCP Data received {"connection_id":148780,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e15790012d828a4005d2df90000a00af19..."} 
[2026-08-05 17:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e15790012d828a4005d2df90000a00af19..."} 
[2026-08-05 17:55:14] local.INFO: Processing buffer {"connection_id":148780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e15790012d828a4005d2df90000a00af19..."} 
[2026-08-05 17:55:14] local.INFO: Packet analysis {"connection_id":148780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:55:14] local.INFO: Extracted packet for processing {"connection_id":148780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763529792,"raw_latitude":97705872,"longitude_deg":76.3529792,"latitude_deg":9.7705872,"altitude":10,"angle":175,"satellites":25,"speed":9,"hex_longitude":"2d828a40","hex_latitude":"05d2df90","is_valid_coordinates":true} 
[2026-08-05 17:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198754048001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115021921426341888,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040342908235902976,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785932634000,"timestamp_ms":1785932634000,"timestamp_seconds":1785932634,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e15790"} 
[2026-08-05 17:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 17:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198754048001,"66":12917,"67":206,"85":15104,"24":9,"16":115021921426341888,"45":-9040342908235902976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 17:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198754048001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:55:14] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 17:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115021921426341888,"km_value":115021921426341.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040342908235902976,"description":"Unknown IO ID 45"} 
[2026-08-05 17:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198754048001,"power":12917,"unknown_67":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9040342908235902976}} 
[2026-08-05 17:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":148780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:55:14] local.INFO: GPS data processed {"connection_id":148780,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:55:14] local.INFO: Acknowledgment sent {"connection_id":148780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:55:14] local.INFO: TCP Data received {"connection_id":149784,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:55:14] local.INFO: Processing buffer {"connection_id":149784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:55:14] local.INFO: IMEI packet received {"connection_id":149784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":149784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:55:16] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e007a0012d181f800721aff0004a00dd25..."} 
[2026-08-05 17:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e007a0012d181f800721aff0004a00dd25..."} 
[2026-08-05 17:55:16] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e007a0012d181f800721aff0004a00dd25..."} 
[2026-08-05 17:55:16] local.INFO: Packet analysis {"connection_id":148561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e0"} 
[2026-08-05 17:55:16] local.INFO: Extracted packet for processing {"connection_id":148561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e0"} 
[2026-08-05 17:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198726912001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932548000,"timestamp_ms":1785932548000,"timestamp_seconds":1785932548,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e007a0"} 
[2026-08-05 17:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:55: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-08-05 17:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198726912001,"66":12428,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198726912001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:55:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:55:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198726912001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":148561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:55:16] local.INFO: GPS data processed {"connection_id":148561,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:55:16] local.INFO: Acknowledgment sent {"connection_id":148561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:55:20] local.INFO: TCP Data received {"connection_id":149784,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:55:20] local.INFO: Processing buffer {"connection_id":149784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:55:20] local.INFO: IMEI packet received {"connection_id":149784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":149784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:55:20] local.INFO: TCP Data received {"connection_id":149784,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:55:20] local.INFO: Processing buffer {"connection_id":149784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:55:20] local.INFO: Packet analysis {"connection_id":149784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:55:20] local.INFO: Extracted packet for processing {"connection_id":149784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:55:20] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99776456,"longitude_deg":76.2816384,"latitude_deg":9.9776456,"altitude":19,"angle":19,"satellites":41,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f277c8","is_valid_coordinates":true} 
[2026-08-05 17:55: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-08-05 17:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198707456001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785932468000,"timestamp_ms":1785932468000,"timestamp_seconds":1785932468,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1decf20"} 
[2026-08-05 17:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:55: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-08-05 17:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198707456001,"66":28017,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198707456001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:55:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:55:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198707456001,"power":28017,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":149784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:55:20] local.INFO: GPS data processed {"connection_id":149784,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:55:20] local.INFO: Acknowledgment sent {"connection_id":149784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:55:39] local.INFO: TCP Data received {"connection_id":151209,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:55:39] local.INFO: Processing buffer {"connection_id":151209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:55:39] local.INFO: IMEI packet received {"connection_id":151209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":151209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:55:44] local.INFO: TCP Data received {"connection_id":151209,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:55:44] local.INFO: Processing buffer {"connection_id":151209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:55:44] local.INFO: IMEI packet received {"connection_id":151209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":151209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:55:45] local.INFO: TCP Data received {"connection_id":151209,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e059a8012d181f800721aff0004a00dd28..."} 
[2026-08-05 17:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e059a8012d181f800721aff0004a00dd28..."} 
[2026-08-05 17:55:45] local.INFO: Processing buffer {"connection_id":151209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e059a8012d181f800721aff0004a00dd28..."} 
[2026-08-05 17:55:45] local.INFO: Packet analysis {"connection_id":151209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e0"} 
[2026-08-05 17:55:45] local.INFO: Extracted packet for processing {"connection_id":151209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e0"} 
[2026-08-05 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198732288001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932569000,"timestamp_ms":1785932569000,"timestamp_seconds":1785932569,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e059a8"} 
[2026-08-05 17:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198732288001,"66":12428,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198732288001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:55:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198732288001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":151209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:55:45] local.INFO: GPS data processed {"connection_id":151209,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:55:45] local.INFO: Acknowledgment sent {"connection_id":151209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:55:45] local.INFO: TCP Data received {"connection_id":148780,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e19610012d828f8005d2bc10000a00ab19..."} 
[2026-08-05 17:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e19610012d828f8005d2bc10000a00ab19..."} 
[2026-08-05 17:55:45] local.INFO: Processing buffer {"connection_id":148780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e19610012d828f8005d2bc10000a00ab19..."} 
[2026-08-05 17:55:45] local.INFO: Packet analysis {"connection_id":148780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:55:45] local.INFO: Extracted packet for processing {"connection_id":148780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":763531136,"raw_latitude":97696784,"longitude_deg":76.3531136,"latitude_deg":9.7696784,"altitude":10,"angle":171,"satellites":25,"speed":25,"hex_longitude":"2d828f80","hex_latitude":"05d2bc10","is_valid_coordinates":true} 
[2026-08-05 17:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115022368102940672,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040342908235968512,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932650000,"timestamp_ms":1785932650000,"timestamp_seconds":1785932650,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e19610"} 
[2026-08-05 17:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 17:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198754304001,"66":12917,"67":206,"85":15104,"24":25,"16":115022368102940672,"45":-9040342908235968512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 17:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:55:45] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 17:55:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115022368102940672,"km_value":115022368102940.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040342908235968512,"description":"Unknown IO ID 45"} 
[2026-08-05 17:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198754304001,"power":12917,"unknown_67":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9040342908235968512}} 
[2026-08-05 17:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":148780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:55:45] local.INFO: GPS data processed {"connection_id":148780,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:55:45] local.INFO: Acknowledgment sent {"connection_id":148780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:55:52] local.INFO: TCP Data received {"connection_id":149784,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:55:52] local.INFO: Processing buffer {"connection_id":149784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:55:52] local.INFO: Packet analysis {"connection_id":149784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:55:52] local.INFO: Extracted packet for processing {"connection_id":149784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:55:52] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99776456,"longitude_deg":76.2816384,"latitude_deg":9.9776456,"altitude":19,"angle":19,"satellites":41,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f277c8","is_valid_coordinates":true} 
[2026-08-05 17:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198707456001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785932468000,"timestamp_ms":1785932468000,"timestamp_seconds":1785932468,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1decf20"} 
[2026-08-05 17:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198707456001,"66":28017,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198707456001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:55:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:55:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198707456001,"power":28017,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":149784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:55:52] local.INFO: GPS data processed {"connection_id":149784,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:55:52] local.INFO: Acknowledgment sent {"connection_id":149784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:56:03] local.INFO: TCP Data received {"connection_id":149785,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:56:03] local.INFO: Processing buffer {"connection_id":149785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:56:03] local.INFO: IMEI packet received {"connection_id":149785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":149785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:56:08] local.INFO: TCP Data received {"connection_id":149785,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:56:08] local.INFO: Processing buffer {"connection_id":149785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:56:08] local.INFO: IMEI packet received {"connection_id":149785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":149785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:56:08] local.INFO: TCP Data received {"connection_id":149785,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e1a998012d82908005d2af20000800b719..."} 
[2026-08-05 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e1a998012d82908005d2af20000800b719..."} 
[2026-08-05 17:56:08] local.INFO: Processing buffer {"connection_id":149785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e1a998012d82908005d2af20000800b719..."} 
[2026-08-05 17:56:08] local.INFO: Packet analysis {"connection_id":149785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:56:08] local.INFO: Extracted packet for processing {"connection_id":149785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763531392,"raw_latitude":97693472,"longitude_deg":76.3531392,"latitude_deg":9.7693472,"altitude":8,"angle":183,"satellites":25,"speed":25,"hex_longitude":"2d829080","hex_latitude":"05d2af20","is_valid_coordinates":true} 
[2026-08-05 17:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198758400001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115022531311697920,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038865164610564096,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785932655000,"timestamp_ms":1785932655000,"timestamp_seconds":1785932655,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e1a998"} 
[2026-08-05 17:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 17:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198758400001,"66":13178,"67":206,"85":15104,"24":25,"16":115022531311697920,"45":-9038865164610564096},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 17:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198758400001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:56:08] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 17:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115022531311697920,"km_value":115022531311697.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038865164610564096,"description":"Unknown IO ID 45"} 
[2026-08-05 17:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198758400001,"power":13178,"unknown_67":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9038865164610564096}} 
[2026-08-05 17:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":149785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:56:08] local.INFO: GPS data processed {"connection_id":149785,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:56:08] local.INFO: Acknowledgment sent {"connection_id":149785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:56:16] local.INFO: TCP Data received {"connection_id":151209,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e0abb0012d181f800721aff0004a00dd2b..."} 
[2026-08-05 17:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e0abb0012d181f800721aff0004a00dd2b..."} 
[2026-08-05 17:56:16] local.INFO: Processing buffer {"connection_id":151209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e0abb0012d181f800721aff0004a00dd2b..."} 
[2026-08-05 17:56:16] local.INFO: Packet analysis {"connection_id":151209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e0"} 
[2026-08-05 17:56:16] local.INFO: Extracted packet for processing {"connection_id":151209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e0"} 
[2026-08-05 17:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198737664001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932590000,"timestamp_ms":1785932590000,"timestamp_seconds":1785932590,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e0abb0"} 
[2026-08-05 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-08-05 17:56: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-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198737664001,"66":12428,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198737664001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:56:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198737664001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":151209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:56:16] local.INFO: GPS data processed {"connection_id":151209,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:56:16] local.INFO: Acknowledgment sent {"connection_id":151209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:56:20] local.INFO: TCP Data received {"connection_id":148562,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:56:20] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:56:20] local.INFO: IMEI packet received {"connection_id":148562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":148562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:56:25] local.INFO: TCP Data received {"connection_id":148562,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:56:25] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:56:25] local.INFO: IMEI packet received {"connection_id":148562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":148562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:56:31] local.INFO: TCP Data received {"connection_id":148562,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:56:31] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:56:31] local.INFO: Packet analysis {"connection_id":148562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:56:31] local.INFO: Extracted packet for processing {"connection_id":148562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:56:31] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99776456,"longitude_deg":76.2816384,"latitude_deg":9.9776456,"altitude":19,"angle":19,"satellites":41,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f277c8","is_valid_coordinates":true} 
[2026-08-05 17:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198707456001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785932468000,"timestamp_ms":1785932468000,"timestamp_seconds":1785932468,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1decf20"} 
[2026-08-05 17:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:56: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":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198707456001,"66":28017,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198707456001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:56:31] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:56:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198707456001,"power":28017,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":148562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:56:31] local.INFO: GPS data processed {"connection_id":148562,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:56:31] local.INFO: Acknowledgment sent {"connection_id":148562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:56:32] local.INFO: TCP Data received {"connection_id":148562,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:56:32] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1decf20012d77a78005f277c80013001329..."} 
[2026-08-05 17:56:32] local.INFO: Packet analysis {"connection_id":148562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:56:32] local.INFO: Extracted packet for processing {"connection_id":148562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1de"} 
[2026-08-05 17:56:32] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99776456,"longitude_deg":76.2816384,"latitude_deg":9.9776456,"altitude":19,"angle":19,"satellites":41,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f277c8","is_valid_coordinates":true} 
[2026-08-05 17:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198707456001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785932468000,"timestamp_ms":1785932468000,"timestamp_seconds":1785932468,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1decf20"} 
[2026-08-05 17:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-05 17:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198707456001,"66":28017,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198707456001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:56:32] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:56:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198707456001,"power":28017,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":148562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:56:32] local.INFO: GPS data processed {"connection_id":148562,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:56:32] local.INFO: Acknowledgment sent {"connection_id":148562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:56:39] local.INFO: TCP Data received {"connection_id":148563,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:56:39] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:56:39] local.INFO: IMEI packet received {"connection_id":148563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":148563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:56:39] local.INFO: TCP Data received {"connection_id":149785,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e1dc60012d82904005d28c30000600b119..."} 
[2026-08-05 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e1dc60012d82904005d28c30000600b119..."} 
[2026-08-05 17:56:39] local.INFO: Processing buffer {"connection_id":149785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e1dc60012d82904005d28c30000600b119..."} 
[2026-08-05 17:56:39] local.INFO: Packet analysis {"connection_id":149785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:56:39] local.INFO: Extracted packet for processing {"connection_id":149785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763531328,"raw_latitude":97684528,"longitude_deg":76.3531328,"latitude_deg":9.7684528,"altitude":6,"angle":177,"satellites":25,"speed":26,"hex_longitude":"2d829040","hex_latitude":"05d28c30","is_valid_coordinates":true} 
[2026-08-05 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198759680001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115022965103394816,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038583689634701312,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785932668000,"timestamp_ms":1785932668000,"timestamp_seconds":1785932668,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e1dc60"} 
[2026-08-05 17:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-05 17:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 17:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 17:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 17:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198759680001,"66":13254,"67":206,"85":15104,"24":26,"16":115022965103394816,"45":-9038583689634701312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-05 17:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 17:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 17:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198759680001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:56:39] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-05 17:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 17:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115022965103394816,"km_value":115022965103394.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038583689634701312,"description":"Unknown IO ID 45"} 
[2026-08-05 17:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198759680001,"power":13254,"unknown_67":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9038583689634701312}} 
[2026-08-05 17:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":149785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:56:39] local.INFO: GPS data processed {"connection_id":149785,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:56:39] local.INFO: Acknowledgment sent {"connection_id":149785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:56:44] local.INFO: TCP Data received {"connection_id":148563,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:56:44] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:56:44] local.INFO: IMEI packet received {"connection_id":148563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":148563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:56:45] local.INFO: TCP Data received {"connection_id":148563,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e0fdb8012d181f800721aff0004a00dd2b..."} 
[2026-08-05 17:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e0fdb8012d181f800721aff0004a00dd2b..."} 
[2026-08-05 17:56:45] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e0fdb8012d181f800721aff0004a00dd2b..."} 
[2026-08-05 17:56:45] local.INFO: Packet analysis {"connection_id":148563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e0"} 
[2026-08-05 17:56:45] local.INFO: Extracted packet for processing {"connection_id":148563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e0"} 
[2026-08-05 17:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198743040001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932611000,"timestamp_ms":1785932611000,"timestamp_seconds":1785932611,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e0fdb8"} 
[2026-08-05 17:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198743040001,"66":12461,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198743040001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:56:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198743040001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":148563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:56:45] local.INFO: GPS data processed {"connection_id":148563,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:56:45] local.INFO: Acknowledgment sent {"connection_id":148563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:57:01] local.INFO: TCP Data received {"connection_id":151210,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:57:01] local.INFO: Processing buffer {"connection_id":151210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:57:01] local.INFO: IMEI packet received {"connection_id":151210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 17:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":151210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:57:03] local.INFO: TCP Data received {"connection_id":151210,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:57:03] local.INFO: Processing buffer {"connection_id":151210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 17:57:03] local.INFO: IMEI packet received {"connection_id":151210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":151210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:57:04] local.INFO: TCP Data received {"connection_id":151210,"ip":"42.106.6.19","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151210,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 17:57:04] local.INFO: Processing buffer {"connection_id":151210,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-05 17:57:04] local.INFO: IMEI packet received {"connection_id":151210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 17:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":151210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:57:14] local.INFO: TCP Data received {"connection_id":148564,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:57:14] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:57:14] local.INFO: IMEI packet received {"connection_id":148564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":148564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:57:16] local.INFO: TCP Data received {"connection_id":148563,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e14fc0012d181f800721aff0004a00dd2b..."} 
[2026-08-05 17:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e14fc0012d181f800721aff0004a00dd2b..."} 
[2026-08-05 17:57:16] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e14fc0012d181f800721aff0004a00dd2b..."} 
[2026-08-05 17:57:16] local.INFO: Packet analysis {"connection_id":148563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:57:16] local.INFO: Extracted packet for processing {"connection_id":148563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198748416001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932632000,"timestamp_ms":1785932632000,"timestamp_seconds":1785932632,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e14fc0"} 
[2026-08-05 17:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:57: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-08-05 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 17:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198748416001,"66":12428,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198748416001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:57:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198748416001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":148563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:57:16] local.INFO: GPS data processed {"connection_id":148563,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:57:16] local.INFO: Acknowledgment sent {"connection_id":148563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:57:19] local.INFO: TCP Data received {"connection_id":148564,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:57:19] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:57:19] local.INFO: IMEI packet received {"connection_id":148564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":148564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:57:23] local.INFO: TCP Data received {"connection_id":148564,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:57:23] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:57:23] local.INFO: Packet analysis {"connection_id":148564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:57:23] local.INFO: Extracted packet for processing {"connection_id":148564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:57:23] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":19,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 17:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198711808001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785932772000,"timestamp_ms":1785932772000,"timestamp_seconds":1785932772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e372a0"} 
[2026-08-05 17:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 17:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-05 17:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198711808001,"66":26495,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198711808001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:57:23] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:57:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198711808001,"power":26495,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":148564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:57:23] local.INFO: GPS data processed {"connection_id":148564,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:57:23] local.INFO: Acknowledgment sent {"connection_id":148564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:57:24] local.INFO: TCP Data received {"connection_id":148564,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:57:24] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:57:24] local.INFO: Packet analysis {"connection_id":148564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:57:24] local.INFO: Extracted packet for processing {"connection_id":148564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:57:24] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":19,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 17:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198711808001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785932772000,"timestamp_ms":1785932772000,"timestamp_seconds":1785932772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e372a0"} 
[2026-08-05 17:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-05 17:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198711808001,"66":26495,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198711808001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:57:24] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:57:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198711808001,"power":26495,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":148564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:57:24] local.INFO: GPS data processed {"connection_id":148564,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:57:24] local.INFO: Acknowledgment sent {"connection_id":148564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:57:39] local.INFO: TCP Data received {"connection_id":149786,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:57:39] local.INFO: Processing buffer {"connection_id":149786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:57:39] local.INFO: IMEI packet received {"connection_id":149786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":149786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:57:44] local.INFO: TCP Data received {"connection_id":149786,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:57:44] local.INFO: Processing buffer {"connection_id":149786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:57:44] local.INFO: IMEI packet received {"connection_id":149786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":149786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:57:45] local.INFO: TCP Data received {"connection_id":149786,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e1a1c8012d181f800721aff0004a00dd2a..."} 
[2026-08-05 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e1a1c8012d181f800721aff0004a00dd2a..."} 
[2026-08-05 17:57:45] local.INFO: Processing buffer {"connection_id":149786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e1a1c8012d181f800721aff0004a00dd2a..."} 
[2026-08-05 17:57:45] local.INFO: Packet analysis {"connection_id":149786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:57:45] local.INFO: Extracted packet for processing {"connection_id":149786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198753792001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17: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-08-05 17:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932653000,"timestamp_ms":1785932653000,"timestamp_seconds":1785932653,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e1a1c8"} 
[2026-08-05 17:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198753792001,"66":12428,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198753792001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:57:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198753792001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":149786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:57:45] local.INFO: GPS data processed {"connection_id":149786,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:57:45] local.INFO: Acknowledgment sent {"connection_id":149786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:57:56] local.INFO: TCP Data received {"connection_id":148564,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:57:56] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:57:56] local.INFO: Packet analysis {"connection_id":148564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:57:56] local.INFO: Extracted packet for processing {"connection_id":148564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:57:56] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":19,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 17:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198711808001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785932772000,"timestamp_ms":1785932772000,"timestamp_seconds":1785932772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e372a0"} 
[2026-08-05 17:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 17:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-05 17:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198711808001,"66":26495,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198711808001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:57:56] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:57:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198711808001,"power":26495,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":148564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:57:56] local.INFO: GPS data processed {"connection_id":148564,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:57:56] local.INFO: Acknowledgment sent {"connection_id":148564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:58:14] local.INFO: TCP Data received {"connection_id":148781,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:58:14] local.INFO: Processing buffer {"connection_id":148781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:58:14] local.INFO: IMEI packet received {"connection_id":148781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":148781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:58:16] local.INFO: TCP Data received {"connection_id":149786,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e1f3d0012d181f800721aff0004a00dd28..."} 
[2026-08-05 17:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e1f3d0012d181f800721aff0004a00dd28..."} 
[2026-08-05 17:58:16] local.INFO: Processing buffer {"connection_id":149786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e1f3d0012d181f800721aff0004a00dd28..."} 
[2026-08-05 17:58:16] local.INFO: Packet analysis {"connection_id":149786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:58:16] local.INFO: Extracted packet for processing {"connection_id":149786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e1"} 
[2026-08-05 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 17:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198759168001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932674000,"timestamp_ms":1785932674000,"timestamp_seconds":1785932674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e1f3d0"} 
[2026-08-05 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-08-05 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 17:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198759168001,"66":12428,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198759168001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:58:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:58:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198759168001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":149786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:58:16] local.INFO: GPS data processed {"connection_id":149786,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:58:16] local.INFO: Acknowledgment sent {"connection_id":149786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:58:20] local.INFO: TCP Data received {"connection_id":148781,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:58:20] local.INFO: Processing buffer {"connection_id":148781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:58:20] local.INFO: IMEI packet received {"connection_id":148781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":148781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:58:20] local.INFO: TCP Data received {"connection_id":148781,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:58:20] local.INFO: Processing buffer {"connection_id":148781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:58:20] local.INFO: Packet analysis {"connection_id":148781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:58:20] local.INFO: Extracted packet for processing {"connection_id":148781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:58:20] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":19,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 17: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-08-05 17:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198711808001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785932772000,"timestamp_ms":1785932772000,"timestamp_seconds":1785932772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e372a0"} 
[2026-08-05 17:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-05 17:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17: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-08-05 17:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198711808001,"66":26495,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198711808001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:58:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:58:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198711808001,"power":26495,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":148781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:58:20] local.INFO: GPS data processed {"connection_id":148781,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:58:20] local.INFO: Acknowledgment sent {"connection_id":148781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:58:39] local.INFO: TCP Data received {"connection_id":148782,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:58:39] local.INFO: Processing buffer {"connection_id":148782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:58:39] local.INFO: IMEI packet received {"connection_id":148782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":148782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:58:44] local.INFO: TCP Data received {"connection_id":148782,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:58:44] local.INFO: Processing buffer {"connection_id":148782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:58:44] local.INFO: IMEI packet received {"connection_id":148782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":148782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:58:45] local.INFO: TCP Data received {"connection_id":148782,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e245d8012d181f800721aff0004a00dd29..."} 
[2026-08-05 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e245d8012d181f800721aff0004a00dd29..."} 
[2026-08-05 17:58:45] local.INFO: Processing buffer {"connection_id":148782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e245d8012d181f800721aff0004a00dd29..."} 
[2026-08-05 17:58:45] local.INFO: Packet analysis {"connection_id":148782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e2"} 
[2026-08-05 17:58:45] local.INFO: Extracted packet for processing {"connection_id":148782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e2"} 
[2026-08-05 17:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198764544001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932695000,"timestamp_ms":1785932695000,"timestamp_seconds":1785932695,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e245d8"} 
[2026-08-05 17:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17: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-08-05 17:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198764544001,"66":12428,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198764544001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:58:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198764544001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":148782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:58:45] local.INFO: GPS data processed {"connection_id":148782,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:58:45] local.INFO: Acknowledgment sent {"connection_id":148782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:58:56] local.INFO: TCP Data received {"connection_id":148781,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:58:56] local.INFO: Processing buffer {"connection_id":148781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:58:56] local.INFO: Packet analysis {"connection_id":148781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:58:56] local.INFO: Extracted packet for processing {"connection_id":148781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:58:56] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":19,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 17:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198711808001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785932772000,"timestamp_ms":1785932772000,"timestamp_seconds":1785932772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e372a0"} 
[2026-08-05 17:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 17:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-05 17:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198711808001,"66":26495,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198711808001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:58:56] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:58:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198711808001,"power":26495,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":148781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:58:56] local.INFO: GPS data processed {"connection_id":148781,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:58:56] local.INFO: Acknowledgment sent {"connection_id":148781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:59:14] local.INFO: TCP Data received {"connection_id":148565,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:59:14] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:59:14] local.INFO: IMEI packet received {"connection_id":148565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 17:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":148565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:59:16] local.INFO: TCP Data received {"connection_id":148782,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e297e0012d181f800721aff0004a00dd27..."} 
[2026-08-05 17:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e297e0012d181f800721aff0004a00dd27..."} 
[2026-08-05 17:59:16] local.INFO: Processing buffer {"connection_id":148782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e297e0012d181f800721aff0004a00dd27..."} 
[2026-08-05 17:59:16] local.INFO: Packet analysis {"connection_id":148782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e2"} 
[2026-08-05 17:59:16] local.INFO: Extracted packet for processing {"connection_id":148782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e2"} 
[2026-08-05 17:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198769920001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932716000,"timestamp_ms":1785932716000,"timestamp_seconds":1785932716,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e297e0"} 
[2026-08-05 17:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 17:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198769920001,"66":12406,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198769920001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:59:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:59:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198769920001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":148782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:59:16] local.INFO: GPS data processed {"connection_id":148782,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:59:16] local.INFO: Acknowledgment sent {"connection_id":148782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:59:19] local.INFO: TCP Data received {"connection_id":148565,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:59:19] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 17:59:19] local.INFO: IMEI packet received {"connection_id":148565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 17:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":148565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:59:20] local.INFO: TCP Data received {"connection_id":148565,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:59:20] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:59:20] local.INFO: Packet analysis {"connection_id":148565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:59:20] local.INFO: Extracted packet for processing {"connection_id":148565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:59:20] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":19,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 17:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198711808001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785932772000,"timestamp_ms":1785932772000,"timestamp_seconds":1785932772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e372a0"} 
[2026-08-05 17:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 17:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-05 17:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198711808001,"66":26495,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198711808001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:59:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:59:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198711808001,"power":26495,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":148565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:59:20] local.INFO: GPS data processed {"connection_id":148565,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:59:20] local.INFO: Acknowledgment sent {"connection_id":148565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:59:39] local.INFO: TCP Data received {"connection_id":151212,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:59:39] local.INFO: Processing buffer {"connection_id":151212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:59:39] local.INFO: IMEI packet received {"connection_id":151212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 17:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":151212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 17:59:44] local.INFO: TCP Data received {"connection_id":151212,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:59:44] local.INFO: Processing buffer {"connection_id":151212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 17:59:44] local.INFO: IMEI packet received {"connection_id":151212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 17:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":151212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 17:59:45] local.INFO: TCP Data received {"connection_id":151212,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e2e9e8012d181f800721aff0004a00dd29..."} 
[2026-08-05 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e2e9e8012d181f800721aff0004a00dd29..."} 
[2026-08-05 17:59:45] local.INFO: Processing buffer {"connection_id":151212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e2e9e8012d181f800721aff0004a00dd29..."} 
[2026-08-05 17:59:45] local.INFO: Packet analysis {"connection_id":151212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e2"} 
[2026-08-05 17:59:45] local.INFO: Extracted packet for processing {"connection_id":151212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e2"} 
[2026-08-05 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648240,"longitude_deg":75.6555648,"latitude_deg":11.964824,"altitude":74,"angle":221,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-08-05 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198775296001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741403969650688,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932737000,"timestamp_ms":1785932737000,"timestamp_seconds":1785932737,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e2e9e8"} 
[2026-08-05 17:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 17:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 17:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 17:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 17:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198775296001,"66":12406,"105":206,"83":41984,"24":0,"16":10741403969650688,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 17:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 17:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 17:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198775296001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:59:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 17:59:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 17:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741403969650688,"km_value":10741403969650.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 17:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198775296001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 17:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":151212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:59:45] local.INFO: GPS data processed {"connection_id":151212,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:59:45] local.INFO: Acknowledgment sent {"connection_id":151212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 17:59:51] local.INFO: TCP Data received {"connection_id":148565,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:59:51] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 17:59:51] local.INFO: Packet analysis {"connection_id":148565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:59:51] local.INFO: Extracted packet for processing {"connection_id":148565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 17:59:51] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":19,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 17:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 17:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198711808001,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 17:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 17:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785932772000,"timestamp_ms":1785932772000,"timestamp_seconds":1785932772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e372a0"} 
[2026-08-05 17:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 17:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 17: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-05 17:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 17:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 17:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 17:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 17:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 17:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 17:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 17:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 17:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 17:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198711808001,"66":26495,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 17:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 17:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 17:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198711808001,"description":"Unknown IO ID 0"} 
[2026-08-05 17:59:51] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 17:59:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 17:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 17:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 17:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198711808001,"power":26495,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 17:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":148565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 17:59:51] local.INFO: GPS data processed {"connection_id":148565,"processed":1,"errors":0,"total":1} 
[2026-08-05 17:59:51] local.INFO: Acknowledgment sent {"connection_id":148565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:00:16] local.INFO: TCP Data received {"connection_id":151212,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e31cb0012d181e400721aea0004b00d129..."} 
[2026-08-05 18:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e31cb0012d181e400721aea0004b00d129..."} 
[2026-08-05 18:00:16] local.INFO: Processing buffer {"connection_id":151212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e31cb0012d181e400721aea0004b00d129..."} 
[2026-08-05 18:00:16] local.INFO: Packet analysis {"connection_id":151212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:00:16] local.INFO: Extracted packet for processing {"connection_id":151212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647904,"longitude_deg":75.6555328,"latitude_deg":11.9647904,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aea0","is_valid_coordinates":true} 
[2026-08-05 18:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198780672001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741425444487168,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306605568,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932750000,"timestamp_ms":1785932750000,"timestamp_seconds":1785932750,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e31cb0"} 
[2026-08-05 18:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:00: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-08-05 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 18:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198780672001,"66":12385,"105":206,"83":41984,"24":0,"16":10741425444487168,"45":1738248749306605568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198780672001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:00:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:00:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741425444487168,"km_value":10741425444487.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306605568,"description":"Unknown IO ID 45"} 
[2026-08-05 18:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198780672001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306605568}} 
[2026-08-05 18:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":151212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:00:16] local.INFO: GPS data processed {"connection_id":151212,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:00:16] local.INFO: Acknowledgment sent {"connection_id":151212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:00:19] local.INFO: TCP Data received {"connection_id":149787,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:00:19] local.INFO: Processing buffer {"connection_id":149787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:00:19] local.INFO: IMEI packet received {"connection_id":149787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":149787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:00:25] local.INFO: TCP Data received {"connection_id":149787,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:00:25] local.INFO: Processing buffer {"connection_id":149787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:00:25] local.INFO: IMEI packet received {"connection_id":149787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":149787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:00:25] local.INFO: TCP Data received {"connection_id":149787,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 18:00:25] local.INFO: Processing buffer {"connection_id":149787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 18:00:25] local.INFO: Packet analysis {"connection_id":149787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:00:25] local.INFO: Extracted packet for processing {"connection_id":149787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":19,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198711808001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785932772000,"timestamp_ms":1785932772000,"timestamp_seconds":1785932772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e372a0"} 
[2026-08-05 18:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-05 18:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198711808001,"66":26495,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198711808001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:00:25] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:00:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 18:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198711808001,"power":26495,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 18:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":149787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:00:25] local.INFO: GPS data processed {"connection_id":149787,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:00:25] local.INFO: Acknowledgment sent {"connection_id":149787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:00:37] local.INFO: TCP Data received {"connection_id":149787,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 18:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 18:00:37] local.INFO: Processing buffer {"connection_id":149787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 18:00:37] local.INFO: Packet analysis {"connection_id":149787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:00:37] local.INFO: Extracted packet for processing {"connection_id":149787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":19,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198711808001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785932772000,"timestamp_ms":1785932772000,"timestamp_seconds":1785932772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e372a0"} 
[2026-08-05 18:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-05 18:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198711808001,"66":26495,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198711808001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:00:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:00:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 18:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198711808001,"power":26495,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 18:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":149787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:00:37] local.INFO: GPS data processed {"connection_id":149787,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:00:37] local.INFO: Acknowledgment sent {"connection_id":149787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:00:40] local.INFO: TCP Data received {"connection_id":149788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:00:40] local.INFO: Processing buffer {"connection_id":149788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:00:40] local.INFO: IMEI packet received {"connection_id":149788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":149788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:00:40] local.INFO: TCP Data received {"connection_id":149788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:00:40] local.INFO: Processing buffer {"connection_id":149788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:00:40] local.INFO: IMEI packet received {"connection_id":149788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":149788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:00:44] local.INFO: TCP Data received {"connection_id":149788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:00:44] local.INFO: Processing buffer {"connection_id":149788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:00:44] local.INFO: IMEI packet received {"connection_id":149788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":149788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:00:45] local.INFO: TCP Data received {"connection_id":149788,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e36eb8012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e36eb8012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:00:45] local.INFO: Processing buffer {"connection_id":149788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e36eb8012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:00:45] local.INFO: Packet analysis {"connection_id":149788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:00:45] local.INFO: Extracted packet for processing {"connection_id":149788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647848,"longitude_deg":75.6555264,"latitude_deg":11.9647848,"altitude":75,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198784000001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741429739454464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585631232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:00: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-08-05 18:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785932771000,"timestamp_ms":1785932771000,"timestamp_seconds":1785932771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e36eb8"} 
[2026-08-05 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-08-05 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 18:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198784000001,"66":12406,"107":206,"83":41984,"24":0,"16":10741429739454464,"45":1737896905585631232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198784000001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:00:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741429739454464,"km_value":10741429739454.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585631232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198784000001,"power":12406,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585631232}} 
[2026-08-05 18:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":149788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:00:45] local.INFO: GPS data processed {"connection_id":149788,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:00:45] local.INFO: Acknowledgment sent {"connection_id":149788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:01:15] local.INFO: TCP Data received {"connection_id":148785,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:01:15] local.INFO: Processing buffer {"connection_id":148785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:01:15] local.INFO: IMEI packet received {"connection_id":148785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":148785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:01:16] local.INFO: TCP Data received {"connection_id":149788,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e3c0c0012d181e000721ae68004b00d026..."} 
[2026-08-05 18:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e3c0c0012d181e000721ae68004b00d026..."} 
[2026-08-05 18:01:16] local.INFO: Processing buffer {"connection_id":149788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e3c0c0012d181e000721ae68004b00d026..."} 
[2026-08-05 18:01:16] local.INFO: Packet analysis {"connection_id":149788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:01:16] local.INFO: Extracted packet for processing {"connection_id":149788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647848,"longitude_deg":75.6555264,"latitude_deg":11.9647848,"altitude":75,"angle":208,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789376001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741429739454464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841439232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785932792000,"timestamp_ms":1785932792000,"timestamp_seconds":1785932792,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e3c0c0"} 
[2026-08-05 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-08-05 18:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 18:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789376001,"66":12385,"107":206,"83":41984,"24":0,"16":10741429739454464,"45":1737826536841439232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789376001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:01:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:01:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741429739454464,"km_value":10741429739454.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841439232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789376001,"power":12385,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841439232}} 
[2026-08-05 18:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":149788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:01:16] local.INFO: GPS data processed {"connection_id":149788,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:01:16] local.INFO: Acknowledgment sent {"connection_id":149788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:01:20] local.INFO: TCP Data received {"connection_id":148785,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:01:20] local.INFO: Processing buffer {"connection_id":148785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:01:20] local.INFO: IMEI packet received {"connection_id":148785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":148785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:01:21] local.INFO: TCP Data received {"connection_id":148785,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 18:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 18:01:21] local.INFO: Processing buffer {"connection_id":148785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e372a0012d77a98005f278200013001327..."} 
[2026-08-05 18:01:21] local.INFO: Packet analysis {"connection_id":148785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:01:21] local.INFO: Extracted packet for processing {"connection_id":148785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e3"} 
[2026-08-05 18:01:21] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":19,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198711808001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655232000,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785932772000,"timestamp_ms":1785932772000,"timestamp_seconds":1785932772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e372a0"} 
[2026-08-05 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-08-05 18:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":113,"data_length":795,"current_offset":136} 
[2026-08-05 18:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198711808001,"66":26495,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622000774655232000},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198711808001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:01:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:01:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655232000,"description":"Unknown IO ID 45"} 
[2026-08-05 18:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198711808001,"power":26495,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774655232000}} 
[2026-08-05 18:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":148785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:01:21] local.INFO: GPS data processed {"connection_id":148785,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:01:21] local.INFO: Acknowledgment sent {"connection_id":148785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:01:39] local.INFO: TCP Data received {"connection_id":148567,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:01:39] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:01:39] local.INFO: IMEI packet received {"connection_id":148567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":148567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:01:43] local.INFO: TCP Data received {"connection_id":148567,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:01:43] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:01:43] local.INFO: IMEI packet received {"connection_id":148567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":148567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:01:44] local.INFO: TCP Data received {"connection_id":148567,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:01:44] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:01:44] local.INFO: IMEI packet received {"connection_id":148567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":148567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:01:44] local.INFO: TCP Data received {"connection_id":148567,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e74718012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e74718012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:01:44] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e74718012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:01:44] local.INFO: Packet analysis {"connection_id":148567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e7"} 
[2026-08-05 18:01:44] local.INFO: Extracted packet for processing {"connection_id":148567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e7"} 
[2026-08-05 18:01:44] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647848,"longitude_deg":75.6555264,"latitude_deg":11.9647848,"altitude":75,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198848512001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741429739454464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841439232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785933023000,"timestamp_ms":1785933023000,"timestamp_seconds":1785933023,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e74718"} 
[2026-08-05 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-08-05 18:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 18:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198848512001,"66":12374,"105":206,"83":41984,"24":0,"16":10741429739454464,"45":1737826536841439232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198848512001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:01:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:01:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741429739454464,"km_value":10741429739454.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841439232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198848512001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841439232}} 
[2026-08-05 18:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":148567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:01:45] local.INFO: GPS data processed {"connection_id":148567,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:01:45] local.INFO: Acknowledgment sent {"connection_id":148567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:01:50] local.INFO: TCP Data received {"connection_id":148567,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e79920012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e79920012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:01:50] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e79920012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:01:50] local.INFO: Packet analysis {"connection_id":148567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e7"} 
[2026-08-05 18:01:50] local.INFO: Extracted packet for processing {"connection_id":148567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e7"} 
[2026-08-05 18:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647848,"longitude_deg":75.6555264,"latitude_deg":11.9647848,"altitude":75,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-05 18:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198853888001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741429739454464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841439232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785933044000,"timestamp_ms":1785933044000,"timestamp_seconds":1785933044,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e79920"} 
[2026-08-05 18:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 18:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198853888001,"66":12385,"105":206,"83":41984,"24":0,"16":10741429739454464,"45":1737826536841439232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198853888001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:01:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741429739454464,"km_value":10741429739454.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841439232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198853888001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841439232}} 
[2026-08-05 18:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":148567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:01:50] local.INFO: GPS data processed {"connection_id":148567,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:01:50] local.INFO: Acknowledgment sent {"connection_id":148567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:01:52] local.INFO: TCP Data received {"connection_id":148785,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:01:52] local.INFO: Processing buffer {"connection_id":148785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:01:52] local.INFO: Packet analysis {"connection_id":148785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:01:52] local.INFO: Extracted packet for processing {"connection_id":148785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:01:52] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 18:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:01:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:01:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":148785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:01:52] local.INFO: GPS data processed {"connection_id":148785,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:01:52] local.INFO: Acknowledgment sent {"connection_id":148785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:02:05] local.INFO: TCP Data received {"connection_id":151213,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:02:05] local.INFO: Processing buffer {"connection_id":151213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:02:05] local.INFO: IMEI packet received {"connection_id":151213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":151213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:02:07] local.INFO: TCP Data received {"connection_id":151213,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:02:07] local.INFO: Processing buffer {"connection_id":151213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:02:07] local.INFO: IMEI packet received {"connection_id":151213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":151213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:02:08] local.INFO: TCP Data received {"connection_id":151213,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:02:08] local.INFO: Processing buffer {"connection_id":151213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:02:08] local.INFO: IMEI packet received {"connection_id":151213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":151213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:02:09] local.INFO: TCP Data received {"connection_id":151213,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e8c200012d81134005d21a30000001571f..."} 
[2026-08-05 18:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e8c200012d81134005d21a30000001571f..."} 
[2026-08-05 18:02:09] local.INFO: Processing buffer {"connection_id":151213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e8c200012d81134005d21a30000001571f..."} 
[2026-08-05 18:02:09] local.INFO: Packet analysis {"connection_id":151213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:09] local.INFO: Extracted packet for processing {"connection_id":151213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763433792,"raw_latitude":97655344,"longitude_deg":76.3433792,"latitude_deg":9.7655344,"altitude":0,"angle":343,"satellites":31,"speed":40,"hex_longitude":"2d811340","hex_latitude":"05d21a30","is_valid_coordinates":true} 
[2026-08-05 18:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198877696001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115037361833771008,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145192337074649088,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785933120000,"timestamp_ms":1785933120000,"timestamp_seconds":1785933120,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e8c200"} 
[2026-08-05 18:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:02: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-08-05 18:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-05 18:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198877696001,"66":12493,"65":206,"85":15104,"24":40,"16":115037361833771008,"45":-9145192337074649088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-05 18:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198877696001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:02:09] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-05 18:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115037361833771008,"km_value":115037361833771.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145192337074649088,"description":"Unknown IO ID 45"} 
[2026-08-05 18:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198877696001,"power":12493,"unknown_65":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9145192337074649088}} 
[2026-08-05 18:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":151213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:02:09] local.INFO: GPS data processed {"connection_id":151213,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:02:09] local.INFO: Acknowledgment sent {"connection_id":151213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:02:13] local.INFO: TCP Data received {"connection_id":151213,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e8cdb8012d81108005d226080000016420..."} 
[2026-08-05 18:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e8cdb8012d81108005d226080000016420..."} 
[2026-08-05 18:02:13] local.INFO: Processing buffer {"connection_id":151213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e8cdb8012d81108005d226080000016420..."} 
[2026-08-05 18:02:13] local.INFO: Packet analysis {"connection_id":151213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:13] local.INFO: Extracted packet for processing {"connection_id":151213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763433088,"raw_latitude":97658376,"longitude_deg":76.3433088,"latitude_deg":9.7658376,"altitude":0,"angle":356,"satellites":32,"speed":42,"hex_longitude":"2d811080","hex_latitude":"05d22608","is_valid_coordinates":true} 
[2026-08-05 18:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198878720001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115037512157626368,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145896024515399680,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785933123000,"timestamp_ms":1785933123000,"timestamp_seconds":1785933123,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e8cdb8"} 
[2026-08-05 18:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 18:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198878720001,"66":12841,"65":206,"85":15104,"24":42,"16":115037512157626368,"45":-9145896024515399680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-05 18:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198878720001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:02:13] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-05 18:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115037512157626368,"km_value":115037512157626.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145896024515399680,"description":"Unknown IO ID 45"} 
[2026-08-05 18:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198878720001,"power":12841,"unknown_65":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9145896024515399680}} 
[2026-08-05 18:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":151213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:02:13] local.INFO: GPS data processed {"connection_id":151213,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:02:13] local.INFO: Acknowledgment sent {"connection_id":151213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:02:19] local.INFO: TCP Data received {"connection_id":148568,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:02:19] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:02:19] local.INFO: IMEI packet received {"connection_id":148568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":148568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:02:21] local.INFO: TCP Data received {"connection_id":148567,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e7eb28012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e7eb28012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:02:21] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e7eb28012d181e000721ae68004b00d02a..."} 
[2026-08-05 18:02:21] local.INFO: Packet analysis {"connection_id":148567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e7"} 
[2026-08-05 18:02:21] local.INFO: Extracted packet for processing {"connection_id":148567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e7"} 
[2026-08-05 18:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647848,"longitude_deg":75.6555264,"latitude_deg":11.9647848,"altitude":75,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198859264001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741429739454464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841439232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785933065000,"timestamp_ms":1785933065000,"timestamp_seconds":1785933065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e7eb28"} 
[2026-08-05 18:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 18:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198859264001,"66":13820,"105":206,"83":41984,"24":0,"16":10741429739454464,"45":1737826536841439232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198859264001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:02:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:02:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741429739454464,"km_value":10741429739454.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841439232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198859264001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841439232}} 
[2026-08-05 18:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":148567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:02:21] local.INFO: GPS data processed {"connection_id":148567,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:02:21] local.INFO: Acknowledgment sent {"connection_id":148567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:02:25] local.INFO: TCP Data received {"connection_id":148568,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:02:25] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:02:25] local.INFO: IMEI packet received {"connection_id":148568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":148568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:02:26] local.INFO: TCP Data received {"connection_id":148568,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:02:26] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:02:26] local.INFO: Packet analysis {"connection_id":148568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:26] local.INFO: Extracted packet for processing {"connection_id":148568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:26] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 18:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:02:26] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:02:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":148568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:02:26] local.INFO: GPS data processed {"connection_id":148568,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:02:26] local.INFO: Acknowledgment sent {"connection_id":148568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:02:34] local.INFO: TCP Data received {"connection_id":148568,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:02:34] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:02:34] local.INFO: Packet analysis {"connection_id":148568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:34] local.INFO: Extracted packet for processing {"connection_id":148568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:34] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 18:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:02:34] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:02:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":148568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:02:34] local.INFO: GPS data processed {"connection_id":148568,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:02:34] local.INFO: Acknowledgment sent {"connection_id":148568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:02:43] local.INFO: TCP Data received {"connection_id":151214,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:02:43] local.INFO: Processing buffer {"connection_id":151214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:02:43] local.INFO: IMEI packet received {"connection_id":151214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":151214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:02:44] local.INFO: TCP Data received {"connection_id":151214,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:02:44] local.INFO: Processing buffer {"connection_id":151214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:02:44] local.INFO: IMEI packet received {"connection_id":151214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":151214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:02:45] local.INFO: TCP Data received {"connection_id":151213,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e94ea0012d810b8005d285f00000016621..."} 
[2026-08-05 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e94ea0012d810b8005d285f00000016621..."} 
[2026-08-05 18:02:45] local.INFO: Processing buffer {"connection_id":151213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e94ea0012d810b8005d285f00000016621..."} 
[2026-08-05 18:02:45] local.INFO: Packet analysis {"connection_id":151213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e9"} 
[2026-08-05 18:02:45] local.INFO: Extracted packet for processing {"connection_id":151213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e9"} 
[2026-08-05 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763431808,"raw_latitude":97682928,"longitude_deg":76.3431808,"latitude_deg":9.7682928,"altitude":0,"angle":358,"satellites":33,"speed":24,"hex_longitude":"2d810b80","hex_latitude":"05d285f0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198886912001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115038869367291904,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148921880508641280,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785933156000,"timestamp_ms":1785933156000,"timestamp_seconds":1785933156,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e94ea0"} 
[2026-08-05 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-08-05 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-05 18:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198886912001,"66":12069,"208":206,"85":15104,"24":24,"16":115038869367291904,"45":-9148921880508641280},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-05 18:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198886912001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:02:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-05 18:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115038869367291904,"km_value":115038869367291.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148921880508641280,"description":"Unknown IO ID 45"} 
[2026-08-05 18:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198886912001,"power":12069,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9148921880508641280}} 
[2026-08-05 18:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":151213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:02:45] local.INFO: GPS data processed {"connection_id":151213,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:02:45] local.INFO: Acknowledgment sent {"connection_id":151213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:02:49] local.INFO: TCP Data received {"connection_id":151214,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:02:49] local.INFO: Processing buffer {"connection_id":151214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:02:49] local.INFO: IMEI packet received {"connection_id":151214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":151214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:02:50] local.INFO: TCP Data received {"connection_id":151214,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e83d30012d181e000721ae68004b00d028..."} 
[2026-08-05 18:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e83d30012d181e000721ae68004b00d028..."} 
[2026-08-05 18:02:50] local.INFO: Processing buffer {"connection_id":151214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e83d30012d181e000721ae68004b00d028..."} 
[2026-08-05 18:02:50] local.INFO: Packet analysis {"connection_id":151214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:50] local.INFO: Extracted packet for processing {"connection_id":151214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647848,"longitude_deg":75.6555264,"latitude_deg":11.9647848,"altitude":75,"angle":208,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-05 18:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198864640001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741429739454464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841439232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785933086000,"timestamp_ms":1785933086000,"timestamp_seconds":1785933086,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e83d30"} 
[2026-08-05 18:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-05 18:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198864640001,"66":14102,"105":206,"83":41984,"24":0,"16":10741429739454464,"45":1737826536841439232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198864640001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741429739454464,"km_value":10741429739454.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841439232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198864640001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841439232}} 
[2026-08-05 18:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":151214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:02:50] local.INFO: GPS data processed {"connection_id":151214,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:02:50] local.INFO: Acknowledgment sent {"connection_id":151214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:02:51] local.INFO: TCP Data received {"connection_id":151214,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e86ff8012d181cc00721ac58004600c429..."} 
[2026-08-05 18:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e86ff8012d181cc00721ac58004600c429..."} 
[2026-08-05 18:02:51] local.INFO: Processing buffer {"connection_id":151214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e86ff8012d181cc00721ac58004600c429..."} 
[2026-08-05 18:02:51] local.INFO: Packet analysis {"connection_id":151214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:51] local.INFO: Extracted packet for processing {"connection_id":151214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647320,"longitude_deg":75.6554944,"latitude_deg":11.964732,"altitude":70,"angle":196,"satellites":41,"speed":3,"hex_longitude":"2d181cc0","hex_latitude":"0721ac58","is_valid_coordinates":true} 
[2026-08-05 18:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198870016001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741459804225536,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841439232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785933099000,"timestamp_ms":1785933099000,"timestamp_seconds":1785933099,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e86ff8"} 
[2026-08-05 18:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:02: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-08-05 18:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 18:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198870016001,"66":13863,"105":206,"83":41984,"24":3,"16":10741459804225536,"45":1737826536841439232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198870016001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:02:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741459804225536,"km_value":10741459804225.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841439232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198870016001,"power":13863,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737826536841439232}} 
[2026-08-05 18:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":151214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:02:51] local.INFO: GPS data processed {"connection_id":151214,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:02:51] local.INFO: Acknowledgment sent {"connection_id":151214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:03:04] local.INFO: TCP Data received {"connection_id":148786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:04] local.INFO: Processing buffer {"connection_id":148786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:04] local.INFO: IMEI packet received {"connection_id":148786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":148786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:03:05] local.INFO: TCP Data received {"connection_id":148786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:05] local.INFO: Processing buffer {"connection_id":148786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:05] local.INFO: IMEI packet received {"connection_id":148786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":148786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:03:06] local.INFO: TCP Data received {"connection_id":148786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:06] local.INFO: Processing buffer {"connection_id":148786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:06] local.INFO: IMEI packet received {"connection_id":148786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":148786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:03:07] local.INFO: TCP Data received {"connection_id":148786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:07] local.INFO: Processing buffer {"connection_id":148786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:03:07] local.INFO: IMEI packet received {"connection_id":148786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":148786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:03:15] local.INFO: TCP Data received {"connection_id":149789,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:03:15] local.INFO: Processing buffer {"connection_id":149789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:03:15] local.INFO: IMEI packet received {"connection_id":149789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":149789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:03:20] local.INFO: TCP Data received {"connection_id":149789,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:03:20] local.INFO: Processing buffer {"connection_id":149789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:03:20] local.INFO: IMEI packet received {"connection_id":149789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":149789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:03:21] local.INFO: TCP Data received {"connection_id":149789,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:03:21] local.INFO: Processing buffer {"connection_id":149789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:03:21] local.INFO: Packet analysis {"connection_id":149789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:03:21] local.INFO: Extracted packet for processing {"connection_id":149789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:03:21] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 18:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":149789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:03:21] local.INFO: GPS data processed {"connection_id":149789,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:03:21] local.INFO: Acknowledgment sent {"connection_id":149789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:03:21] local.INFO: TCP Data received {"connection_id":151214,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e877c8012d181d000721ab48004600a729..."} 
[2026-08-05 18:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e877c8012d181d000721ab48004600a729..."} 
[2026-08-05 18:03:21] local.INFO: Processing buffer {"connection_id":151214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e877c8012d181d000721ab48004600a729..."} 
[2026-08-05 18:03:21] local.INFO: Packet analysis {"connection_id":151214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:03:21] local.INFO: Extracted packet for processing {"connection_id":151214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647048,"longitude_deg":75.6555008,"latitude_deg":11.9647048,"altitude":70,"angle":167,"satellites":41,"speed":5,"hex_longitude":"2d181d00","hex_latitude":"0721ab48","is_valid_coordinates":true} 
[2026-08-05 18:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198873344001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741472689127424,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120415744,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785933101000,"timestamp_ms":1785933101000,"timestamp_seconds":1785933101,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e877c8"} 
[2026-08-05 18:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:03: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-08-05 18:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-05 18:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198873344001,"66":14026,"105":206,"83":41984,"24":5,"16":10741472689127424,"45":1737474693120415744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198873344001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741472689127424,"km_value":10741472689127.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120415744,"description":"Unknown IO ID 45"} 
[2026-08-05 18:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198873344001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737474693120415744}} 
[2026-08-05 18:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":151214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:03:21] local.INFO: GPS data processed {"connection_id":151214,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:03:21] local.INFO: Acknowledgment sent {"connection_id":151214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:03:39] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:03:39] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:03:39] local.INFO: IMEI packet received {"connection_id":148569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":148569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:03:41] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:03:41] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:03:41] local.INFO: IMEI packet received {"connection_id":148569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":148569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:03:43] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e87bb0012d181d000721aab00046009c2a..."} 
[2026-08-05 18:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e87bb0012d181d000721aab00046009c2a..."} 
[2026-08-05 18:03:43] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e87bb0012d181d000721aab00046009c2a..."} 
[2026-08-05 18:03:43] local.INFO: Packet analysis {"connection_id":148569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:03:43] local.INFO: Extracted packet for processing {"connection_id":148569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:03:43] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646896,"longitude_deg":75.6555008,"latitude_deg":11.9646896,"altitude":70,"angle":156,"satellites":42,"speed":7,"hex_longitude":"2d181d00","hex_latitude":"0721aab0","is_valid_coordinates":true} 
[2026-08-05 18:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198873856001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741481279062016,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864523776,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785933102000,"timestamp_ms":1785933102000,"timestamp_seconds":1785933102,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e87bb0"} 
[2026-08-05 18:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-05 18:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198873856001,"66":14113,"105":206,"83":41984,"24":7,"16":10741481279062016,"45":1737545061864523776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198873856001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:03:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:03:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741481279062016,"km_value":10741481279062.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864523776,"description":"Unknown IO ID 45"} 
[2026-08-05 18:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198873856001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737545061864523776}} 
[2026-08-05 18:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":148569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:03:43] local.INFO: GPS data processed {"connection_id":148569,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:03:43] local.INFO: Acknowledgment sent {"connection_id":148569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:03:44] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e88380012d181e400721a9280046008c2a..."} 
[2026-08-05 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e88380012d181e400721a9280046008c2a..."} 
[2026-08-05 18:03:44] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e88380012d181e400721a9280046008c2a..."} 
[2026-08-05 18:03:44] local.INFO: Packet analysis {"connection_id":148569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:03:44] local.INFO: Extracted packet for processing {"connection_id":148569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646504,"longitude_deg":75.6555328,"latitude_deg":11.9646504,"altitude":70,"angle":140,"satellites":42,"speed":9,"hex_longitude":"2d181e40","hex_latitude":"0721a928","is_valid_coordinates":true} 
[2026-08-05 18:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198874112001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741507048865792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864484864,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785933104000,"timestamp_ms":1785933104000,"timestamp_seconds":1785933104,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e88380"} 
[2026-08-05 18:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-05 18:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198874112001,"66":14004,"105":206,"83":41984,"24":9,"16":10741507048865792,"45":1737545061864484864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198874112001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:03:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:03:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741507048865792,"km_value":10741507048865.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864484864,"description":"Unknown IO ID 45"} 
[2026-08-05 18:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198874112001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737545061864484864}} 
[2026-08-05 18:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":148569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:03:44] local.INFO: GPS data processed {"connection_id":148569,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:03:44] local.INFO: Acknowledgment sent {"connection_id":148569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:03:51] local.INFO: TCP Data received {"connection_id":149789,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:03:51] local.INFO: Processing buffer {"connection_id":149789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:03:51] local.INFO: Packet analysis {"connection_id":149789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:03:51] local.INFO: Extracted packet for processing {"connection_id":149789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:03:51] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 18:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:03:51] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:03:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":149789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:03:51] local.INFO: GPS data processed {"connection_id":149789,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:03:51] local.INFO: Acknowledgment sent {"connection_id":149789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:04:15] local.INFO: TCP Data received {"connection_id":148570,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:04:15] local.INFO: Processing buffer {"connection_id":148570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:04:15] local.INFO: IMEI packet received {"connection_id":148570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":148570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:04:15] local.INFO: TCP Data received {"connection_id":148569,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e88f38012d181f800721a7800047007f2a..."} 
[2026-08-05 18:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e88f38012d181f800721a7800047007f2a..."} 
[2026-08-05 18:04:15] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e88f38012d181f800721a7800047007f2a..."} 
[2026-08-05 18:04:15] local.INFO: Packet analysis {"connection_id":148569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:04:15] local.INFO: Extracted packet for processing {"connection_id":148569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646080,"longitude_deg":75.6555648,"latitude_deg":11.964608,"altitude":71,"angle":127,"satellites":42,"speed":3,"hex_longitude":"2d181f80","hex_latitude":"0721a780","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198874624001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741532818669568,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585272832,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785933107000,"timestamp_ms":1785933107000,"timestamp_seconds":1785933107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e88f38"} 
[2026-08-05 18:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:04: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-08-05 18:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-05 18:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198874624001,"66":13972,"105":206,"83":41984,"24":3,"16":10741532818669568,"45":1737896905585272832},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198874624001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:04:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741532818669568,"km_value":10741532818669.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585272832,"description":"Unknown IO ID 45"} 
[2026-08-05 18:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198874624001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737896905585272832}} 
[2026-08-05 18:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":148569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:04:15] local.INFO: GPS data processed {"connection_id":148569,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:04:15] local.INFO: Acknowledgment sent {"connection_id":148569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:04:20] local.INFO: TCP Data received {"connection_id":148570,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:04:20] local.INFO: Processing buffer {"connection_id":148570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:04:20] local.INFO: IMEI packet received {"connection_id":148570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":148570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:04:21] local.INFO: TCP Data received {"connection_id":148570,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:04:21] local.INFO: Processing buffer {"connection_id":148570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:04:21] local.INFO: Packet analysis {"connection_id":148570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:04:21] local.INFO: Extracted packet for processing {"connection_id":148570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:04:21] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 18:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:04:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:04:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":148570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:04:21] local.INFO: GPS data processed {"connection_id":148570,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:04:21] local.INFO: Acknowledgment sent {"connection_id":148570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:04:40] local.INFO: TCP Data received {"connection_id":148787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:04:40] local.INFO: Processing buffer {"connection_id":148787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:04:40] local.INFO: IMEI packet received {"connection_id":148787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":148787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:04:44] local.INFO: TCP Data received {"connection_id":148787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:04:44] local.INFO: Processing buffer {"connection_id":148787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:04:44] local.INFO: IMEI packet received {"connection_id":148787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":148787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:04:45] local.INFO: TCP Data received {"connection_id":148787,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e8d588012d1822c00721a4700048008b26..."} 
[2026-08-05 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e8d588012d1822c00721a4700048008b26..."} 
[2026-08-05 18:04:45] local.INFO: Processing buffer {"connection_id":148787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e8d588012d1822c00721a4700048008b26..."} 
[2026-08-05 18:04:45] local.INFO: Packet analysis {"connection_id":148787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:04:45] local.INFO: Extracted packet for processing {"connection_id":148787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119645296,"longitude_deg":75.655648,"latitude_deg":11.9645296,"altitude":72,"angle":139,"satellites":38,"speed":10,"hex_longitude":"2d1822c0","hex_latitude":"0721a470","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198875392001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741588653244416,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306052608,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785933125000,"timestamp_ms":1785933125000,"timestamp_seconds":1785933125,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e8d588"} 
[2026-08-05 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-08-05 18:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-05 18:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198875392001,"66":14048,"105":206,"83":41984,"24":10,"16":10741588653244416,"45":1738248749306052608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198875392001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:04:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741588653244416,"km_value":10741588653244.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306052608,"description":"Unknown IO ID 45"} 
[2026-08-05 18:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198875392001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738248749306052608}} 
[2026-08-05 18:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":148787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:04:45] local.INFO: GPS data processed {"connection_id":148787,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:04:45] local.INFO: Acknowledgment sent {"connection_id":148787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:04:48] local.INFO: TCP Data received {"connection_id":148787,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e8f0e0012d18270007219f80004800a227..."} 
[2026-08-05 18:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e8f0e0012d18270007219f80004800a227..."} 
[2026-08-05 18:04:48] local.INFO: Processing buffer {"connection_id":148787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e8f0e0012d18270007219f80004800a227..."} 
[2026-08-05 18:04:48] local.INFO: Packet analysis {"connection_id":148787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:04:48] local.INFO: Extracted packet for processing {"connection_id":148787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119644032,"longitude_deg":75.6557568,"latitude_deg":11.9644032,"altitude":72,"angle":162,"satellites":39,"speed":7,"hex_longitude":"2d182700","hex_latitude":"07219f80","is_valid_coordinates":true} 
[2026-08-05 18:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198880000001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10741665962655744,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980161536,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785933132000,"timestamp_ms":1785933132000,"timestamp_seconds":1785933132,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e8f0e0"} 
[2026-08-05 18:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:04: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-08-05 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 18:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198880000001,"66":13928,"105":206,"83":41984,"24":7,"16":10741665962655744,"45":1739163542980161536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-05 18:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198880000001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:04:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10741665962655744,"km_value":10741665962655.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980161536,"description":"Unknown IO ID 45"} 
[2026-08-05 18:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198880000001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739163542980161536}} 
[2026-08-05 18:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":148787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:04:48] local.INFO: GPS data processed {"connection_id":148787,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:04:48] local.INFO: Acknowledgment sent {"connection_id":148787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:04:52] local.INFO: TCP Data received {"connection_id":148570,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:04:52] local.INFO: Processing buffer {"connection_id":148570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:04:52] local.INFO: Packet analysis {"connection_id":148570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:04:52] local.INFO: Extracted packet for processing {"connection_id":148570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:04:52] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 18:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:04:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:04:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":148570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:04:52] local.INFO: GPS data processed {"connection_id":148570,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:04:52] local.INFO: Acknowledgment sent {"connection_id":148570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:05:14] local.INFO: TCP Data received {"connection_id":151215,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:05:14] local.INFO: Processing buffer {"connection_id":151215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:05:14] local.INFO: IMEI packet received {"connection_id":151215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":151215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:05:19] local.INFO: TCP Data received {"connection_id":148787,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eb0bf0012d18c940072137b00043009328..."} 
[2026-08-05 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eb0bf0012d18c940072137b00043009328..."} 
[2026-08-05 18:05:19] local.INFO: Processing buffer {"connection_id":148787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eb0bf0012d18c940072137b00043009328..."} 
[2026-08-05 18:05:19] local.INFO: Packet analysis {"connection_id":148787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1eb"} 
[2026-08-05 18:05:19] local.INFO: Extracted packet for processing {"connection_id":148787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1eb"} 
[2026-08-05 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756599104,"raw_latitude":119617456,"longitude_deg":75.6599104,"latitude_deg":11.9617456,"altitude":67,"angle":147,"satellites":40,"speed":31,"hex_longitude":"2d18c940","hex_latitude":"072137b0","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:05:19] local.INFO: TCP Data received {"connection_id":151215,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198916608001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10744251532967936,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153946624,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785933270000,"timestamp_ms":1785933270000,"timestamp_seconds":1785933270,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eb0bf0"} 
[2026-08-05 18:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:05: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-08-05 18: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 18:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:05:19] local.INFO: Processing buffer {"connection_id":151215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:05:19] local.INFO: IMEI packet received {"connection_id":151215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":151215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198916608001,"66":14341,"106":206,"83":41984,"24":31,"16":10744251532967936,"45":1785325439153946624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 18:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198916608001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:05:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10744251532967936,"km_value":10744251532967.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153946624,"description":"Unknown IO ID 45"} 
[2026-08-05 18:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198916608001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1785325439153946624}} 
[2026-08-05 18:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":148787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:05:19] local.INFO: GPS data processed {"connection_id":148787,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:05:19] local.INFO: Acknowledgment sent {"connection_id":148787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:05:20] local.INFO: TCP Data received {"connection_id":151215,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:05:20] local.INFO: Processing buffer {"connection_id":151215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:05:20] local.INFO: Packet analysis {"connection_id":151215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:05:20] local.INFO: Extracted packet for processing {"connection_id":151215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:05:20] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 18:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:05:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:05:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":151215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:05:20] local.INFO: GPS data processed {"connection_id":151215,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:05:20] local.INFO: Acknowledgment sent {"connection_id":151215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:05:25] local.INFO: TCP Data received {"connection_id":151215,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:05:25] local.INFO: Processing buffer {"connection_id":151215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:05:25] local.INFO: Packet analysis {"connection_id":151215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:05:25] local.INFO: Extracted packet for processing {"connection_id":151215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:05:25] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 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-08-05 18:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:05:25] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:05:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":151215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:05:25] local.INFO: GPS data processed {"connection_id":151215,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:05:25] local.INFO: Acknowledgment sent {"connection_id":151215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:05:39] local.INFO: TCP Data received {"connection_id":148788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:05:39] local.INFO: Processing buffer {"connection_id":148788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:05:39] local.INFO: IMEI packet received {"connection_id":148788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":148788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:05:42] local.INFO: TCP Data received {"connection_id":148788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:05:42] local.INFO: Processing buffer {"connection_id":148788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:05:42] local.INFO: IMEI packet received {"connection_id":148788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":148788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:05:42] local.INFO: TCP Data received {"connection_id":148788,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eb2360012d18d240072127d0004100a427..."} 
[2026-08-05 18:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eb2360012d18d240072127d0004100a427..."} 
[2026-08-05 18:05:42] local.INFO: Processing buffer {"connection_id":148788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eb2360012d18d240072127d0004100a427..."} 
[2026-08-05 18:05:42] local.INFO: Packet analysis {"connection_id":148788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1eb"} 
[2026-08-05 18:05:42] local.INFO: Extracted packet for processing {"connection_id":148788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1eb"} 
[2026-08-05 18:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613392,"longitude_deg":75.6601408,"latitude_deg":11.9613392,"altitude":65,"angle":164,"satellites":39,"speed":30,"hex_longitude":"2d18d240","hex_latitude":"072127d0","is_valid_coordinates":true} 
[2026-08-05 18:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198917120001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10744479166234624,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786029126595358720,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785933276000,"timestamp_ms":1785933276000,"timestamp_seconds":1785933276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eb2360"} 
[2026-08-05 18:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6976301753,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3521821160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503763559186432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3941380097,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84751100372525425,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.WARNING: Large IO value detected {"io_id":208,"raw_value":21674127911820288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:05:42] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,43,159,4,45,192,61,68,40,10,66,244,64,73,70,236,128,1,240,27,227,209,33,113,205,30,193,177,38,239,54,2,7,77,28,206,232,208],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-05 18:05:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828020600551178240,"timestamp_seconds":4828020600551178.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 18:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198917120001,"66":14026,"103":206,"83":41984,"24":30,"16":10744479166234624,"45":1786029126595358720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198917120001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:05:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10744479166234624,"km_value":10744479166234.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786029126595358720,"description":"Unknown IO ID 45"} 
[2026-08-05 18:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198917120001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1786029126595358720}} 
[2026-08-05 18:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":148788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:05:43] local.INFO: GPS data processed {"connection_id":148788,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:05:43] local.INFO: Acknowledgment sent {"connection_id":148788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:06:10] local.INFO: TCP Data received {"connection_id":151215,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:06:10] local.INFO: Processing buffer {"connection_id":151215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:06:10] local.INFO: Packet analysis {"connection_id":151215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:06:10] local.INFO: Extracted packet for processing {"connection_id":151215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:06:10] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 18:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:06:10] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:06:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":151215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:06:10] local.INFO: GPS data processed {"connection_id":151215,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:06:10] local.INFO: Acknowledgment sent {"connection_id":151215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:06:13] local.INFO: TCP Data received {"connection_id":148788,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eb2b30012d18d2c0072121d8004100b327..."} 
[2026-08-05 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eb2b30012d18d2c0072121d8004100b327..."} 
[2026-08-05 18:06:13] local.INFO: Processing buffer {"connection_id":148788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eb2b30012d18d2c0072121d8004100b327..."} 
[2026-08-05 18:06:13] local.INFO: Packet analysis {"connection_id":148788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1eb"} 
[2026-08-05 18:06:13] local.INFO: Extracted packet for processing {"connection_id":148788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1eb"} 
[2026-08-05 18:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119611864,"longitude_deg":75.6601536,"latitude_deg":11.9611864,"altitude":65,"angle":179,"satellites":39,"speed":31,"hex_longitude":"2d18d2c0","hex_latitude":"072121d8","is_valid_coordinates":true} 
[2026-08-05 18:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198918656001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10744552180678656,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384714240,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785933278000,"timestamp_ms":1785933278000,"timestamp_seconds":1785933278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eb2b30"} 
[2026-08-05 18:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-05 18:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198918656001,"66":14004,"103":206,"83":41984,"24":31,"16":10744552180678656,"45":1788562401384714240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198918656001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:06:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10744552180678656,"km_value":10744552180678.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384714240,"description":"Unknown IO ID 45"} 
[2026-08-05 18:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198918656001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1788562401384714240}} 
[2026-08-05 18:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":148788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:06:14] local.INFO: GPS data processed {"connection_id":148788,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:06:14] local.INFO: Acknowledgment sent {"connection_id":148788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:06:26] local.INFO: TCP Data received {"connection_id":149793,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:06:26] local.INFO: Processing buffer {"connection_id":149793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:06:26] local.INFO: IMEI packet received {"connection_id":149793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":149793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:06:27] local.INFO: TCP Data received {"connection_id":149793,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:06:27] local.INFO: Processing buffer {"connection_id":149793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:06:27] local.INFO: IMEI packet received {"connection_id":149793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":149793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:06:34] local.INFO: TCP Data received {"connection_id":149793,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:06:34] local.INFO: Processing buffer {"connection_id":149793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:06:34] local.INFO: Packet analysis {"connection_id":149793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:06:34] local.INFO: Extracted packet for processing {"connection_id":149793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:06:34] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 18:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:06:34] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:06:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":149793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:06:34] local.INFO: GPS data processed {"connection_id":149793,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:06:34] local.INFO: Acknowledgment sent {"connection_id":149793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:06:39] local.INFO: TCP Data received {"connection_id":151216,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:39] local.INFO: Processing buffer {"connection_id":151216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:39] local.INFO: IMEI packet received {"connection_id":151216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":151216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:06:40] local.INFO: TCP Data received {"connection_id":151216,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:40] local.INFO: Processing buffer {"connection_id":151216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:40] local.INFO: IMEI packet received {"connection_id":151216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":151216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:06:41] local.INFO: TCP Data received {"connection_id":151216,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:41] local.INFO: Processing buffer {"connection_id":151216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:41] local.INFO: IMEI packet received {"connection_id":151216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":151216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:06:41] local.INFO: TCP Data received {"connection_id":149793,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:06:41] local.INFO: Processing buffer {"connection_id":149793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1e80a68012d77a98005f27820000d001328..."} 
[2026-08-05 18:06:41] local.INFO: Packet analysis {"connection_id":149793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:06:41] local.INFO: Extracted packet for processing {"connection_id":149793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1e8"} 
[2026-08-05 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":40,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198789632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785933073000,"timestamp_ms":1785933073000,"timestamp_seconds":1785933073,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1e80a68"} 
[2026-08-05 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-08-05 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-05 18:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":149793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":149793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":149793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198789632001,"66":26267,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198789632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:06:41] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:06:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198789632001,"power":26267,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":149793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:06:41] local.INFO: GPS data processed {"connection_id":149793,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:06:41] local.INFO: Acknowledgment sent {"connection_id":149793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:06:44] local.INFO: TCP Data received {"connection_id":151216,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:44] local.INFO: Processing buffer {"connection_id":151216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:06:44] local.INFO: IMEI packet received {"connection_id":151216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":151216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:06:45] local.INFO: TCP Data received {"connection_id":151216,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ebf268012d1957400720aa200039005c24..."} 
[2026-08-05 18:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ebf268012d1957400720aa200039005c24..."} 
[2026-08-05 18:06:45] local.INFO: Processing buffer {"connection_id":151216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ebf268012d1957400720aa200039005c24..."} 
[2026-08-05 18:06:45] local.INFO: Packet analysis {"connection_id":151216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1eb"} 
[2026-08-05 18:06:45] local.INFO: Extracted packet for processing {"connection_id":151216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1eb"} 
[2026-08-05 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119581216,"longitude_deg":75.6635456,"latitude_deg":11.9581216,"altitude":57,"angle":92,"satellites":36,"speed":32,"hex_longitude":"2d195740","hex_latitude":"0720aa20","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198930944001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10746923002626048,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821565342396033024,"note":"Value kept but may cause issues"} 
[2026-08-05 18:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785933329000,"timestamp_ms":1785933329000,"timestamp_seconds":1785933329,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ebf268"} 
[2026-08-05 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-08-05 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-05 18:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198930944001,"66":13939,"103":206,"83":41984,"24":32,"16":10746923002626048,"45":1821565342396033024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198930944001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:06:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10746923002626048,"km_value":10746923002626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821565342396033024,"description":"Unknown IO ID 45"} 
[2026-08-05 18:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198930944001,"power":13939,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1821565342396033024}} 
[2026-08-05 18:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":151216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:06:45] local.INFO: GPS data processed {"connection_id":151216,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:06:45] local.INFO: Acknowledgment sent {"connection_id":151216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:07:14] local.INFO: TCP Data received {"connection_id":148572,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:07:14] local.INFO: Processing buffer {"connection_id":148572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:07:14] local.INFO: IMEI packet received {"connection_id":148572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":148572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:07:16] local.INFO: TCP Data received {"connection_id":151216,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ecdcc8012d19b040072081b80031009328..."} 
[2026-08-05 18:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ecdcc8012d19b040072081b80031009328..."} 
[2026-08-05 18:07:16] local.INFO: Processing buffer {"connection_id":151216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ecdcc8012d19b040072081b80031009328..."} 
[2026-08-05 18:07:16] local.INFO: Packet analysis {"connection_id":151216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:07:16] local.INFO: Extracted packet for processing {"connection_id":151216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756658240,"raw_latitude":119570872,"longitude_deg":75.665824,"latitude_deg":11.9570872,"altitude":49,"angle":147,"satellites":40,"speed":8,"hex_longitude":"2d19b040","hex_latitude":"072081b8","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198946048001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10748722593923072,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896250800128,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785933389000,"timestamp_ms":1785933389000,"timestamp_seconds":1785933389,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ecdcc8"} 
[2026-08-05 18:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-05 18:07: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-08-05 18: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-08-05 18:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198946048001,"66":14080,"103":206,"83":41984,"24":8,"16":10748722593923072,"45":1850486896250800128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198946048001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:07:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10748722593923072,"km_value":10748722593923.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896250800128,"description":"Unknown IO ID 45"} 
[2026-08-05 18:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198946048001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1850486896250800128}} 
[2026-08-05 18:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":151216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:07:17] local.INFO: GPS data processed {"connection_id":151216,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:07:17] local.INFO: Acknowledgment sent {"connection_id":151216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:07:19] local.INFO: TCP Data received {"connection_id":148572,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:07:19] local.INFO: Processing buffer {"connection_id":148572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:07:19] local.INFO: IMEI packet received {"connection_id":148572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":148572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:07:20] local.INFO: TCP Data received {"connection_id":148572,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:07:20] local.INFO: Processing buffer {"connection_id":148572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:07:20] local.INFO: Packet analysis {"connection_id":148572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:07:20] local.INFO: Extracted packet for processing {"connection_id":148572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:07:20] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":36,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198866688001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785933374000,"timestamp_ms":1785933374000,"timestamp_seconds":1785933374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eca230"} 
[2026-08-05 18:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-05 18:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198866688001,"66":25712,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198866688001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:07:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:07:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198866688001,"power":25712,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":148572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:07:20] local.INFO: GPS data processed {"connection_id":148572,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:07:20] local.INFO: Acknowledgment sent {"connection_id":148572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:07:39] local.INFO: TCP Data received {"connection_id":148789,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:07:39] local.INFO: Processing buffer {"connection_id":148789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:07:39] local.INFO: IMEI packet received {"connection_id":148789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":148789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:07:44] local.INFO: TCP Data received {"connection_id":148789,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:07:44] local.INFO: Processing buffer {"connection_id":148789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:07:44] local.INFO: IMEI packet received {"connection_id":148789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":148789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:07:45] local.INFO: TCP Data received {"connection_id":148789,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ecf050012d19b240072081300030004b28..."} 
[2026-08-05 18:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ecf050012d19b240072081300030004b28..."} 
[2026-08-05 18:07:45] local.INFO: Processing buffer {"connection_id":148789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ecf050012d19b240072081300030004b28..."} 
[2026-08-05 18:07:45] local.INFO: Packet analysis {"connection_id":148789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:07:45] local.INFO: Extracted packet for processing {"connection_id":148789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119570736,"longitude_deg":75.6658752,"latitude_deg":11.9570736,"altitude":48,"angle":75,"satellites":40,"speed":5,"hex_longitude":"2d19b240","hex_latitude":"07208130","is_valid_coordinates":true} 
[2026-08-05 18:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198947584001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10748752658694144,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851049846203594752,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785933394000,"timestamp_ms":1785933394000,"timestamp_seconds":1785933394,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ecf050"} 
[2026-08-05 18:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3521942160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3969540097,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2710044724,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3221692579,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402104,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:45] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,47,159,197,45,64,139,49,39,10,66,189,128,143,38,185,1,240,33,227,209,32,4,113,205,20,150,186,239,54,2,7,53,19],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-05 18:07:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530983907866968064,"timestamp_seconds":3530983907866968.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 18:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198947584001,"66":14070,"103":206,"83":41984,"24":5,"16":10748752658694144,"45":1851049846203594752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198947584001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:07:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10748752658694144,"km_value":10748752658694.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851049846203594752,"description":"Unknown IO ID 45"} 
[2026-08-05 18:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198947584001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1851049846203594752}} 
[2026-08-05 18:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":148789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:07:45] local.INFO: GPS data processed {"connection_id":148789,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:07:45] local.INFO: Acknowledgment sent {"connection_id":148789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:07:52] local.INFO: TCP Data received {"connection_id":148572,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:07:52] local.INFO: Processing buffer {"connection_id":148572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:07:52] local.INFO: Packet analysis {"connection_id":148572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:07:52] local.INFO: Extracted packet for processing {"connection_id":148572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:07:52] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":36,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198866688001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785933374000,"timestamp_ms":1785933374000,"timestamp_seconds":1785933374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eca230"} 
[2026-08-05 18:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-05 18:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198866688001,"66":25712,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198866688001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:07:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:07:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198866688001,"power":25712,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":148572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:07:52] local.INFO: GPS data processed {"connection_id":148572,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:07:52] local.INFO: Acknowledgment sent {"connection_id":148572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:08:08] local.INFO: TCP Data received {"connection_id":151217,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:08:08] local.INFO: Processing buffer {"connection_id":151217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:08:08] local.INFO: IMEI packet received {"connection_id":151217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":151217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:08:14] local.INFO: TCP Data received {"connection_id":148573,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:08:14] local.INFO: Processing buffer {"connection_id":148573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:08:14] local.INFO: IMEI packet received {"connection_id":148573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":148573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:08:15] local.INFO: TCP Data received {"connection_id":151217,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:08:15] local.INFO: Processing buffer {"connection_id":151217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:08:15] local.INFO: IMEI packet received {"connection_id":151217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":151217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:08:16] local.INFO: TCP Data received {"connection_id":148789,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ecf820012d19b440072081500030005829..."} 
[2026-08-05 18:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ecf820012d19b440072081500030005829..."} 
[2026-08-05 18:08:16] local.INFO: Processing buffer {"connection_id":148789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ecf820012d19b440072081500030005829..."} 
[2026-08-05 18:08:16] local.INFO: Packet analysis {"connection_id":148789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:08:16] local.INFO: Extracted packet for processing {"connection_id":148789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119570768,"longitude_deg":75.6659264,"latitude_deg":11.9570768,"altitude":48,"angle":88,"satellites":41,"speed":11,"hex_longitude":"2d19b440","hex_latitude":"07208150","is_valid_coordinates":true} 
[2026-08-05 18:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198948864001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10748774133530624,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851612796156981248,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785933396000,"timestamp_ms":1785933396000,"timestamp_seconds":1785933396,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ecf820"} 
[2026-08-05 18:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 18:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198948864001,"66":13102,"103":206,"83":41984,"24":11,"16":10748774133530624,"45":1851612796156981248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198948864001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:08:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10748774133530624,"km_value":10748774133530.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851612796156981248,"description":"Unknown IO ID 45"} 
[2026-08-05 18:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198948864001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1851612796156981248}} 
[2026-08-05 18:08:16] local.INFO: TCP Data received {"connection_id":151217,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eda7e8012d7f048005d33048000400fd22..."} 
[2026-08-05 18:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eda7e8012d7f048005d33048000400fd22..."} 
[2026-08-05 18:08:16] local.INFO: Processing buffer {"connection_id":151217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eda7e8012d7f048005d33048000400fd22..."} 
[2026-08-05 18:08:16] local.INFO: Packet analysis {"connection_id":151217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ed"} 
[2026-08-05 18:08:16] local.INFO: Extracted packet for processing {"connection_id":151217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ed"} 
[2026-08-05 18:08:16] local.INFO: GPS Element Parsed {"raw_longitude":763298944,"raw_latitude":97726536,"longitude_deg":76.3298944,"latitude_deg":9.7726536,"altitude":4,"angle":253,"satellites":34,"speed":12,"hex_longitude":"2d7f0480","hex_latitude":"05d33048","is_valid_coordinates":true} 
[2026-08-05 18:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198960128001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115048481504100352,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153425530160250880,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785933441000,"timestamp_ms":1785933441000,"timestamp_seconds":1785933441,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eda7e8"} 
[2026-08-05 18:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 18:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198960128001,"66":12906,"167":206,"85":15104,"24":12,"16":115048481504100352,"45":9153425530160250880},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-05 18:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198960128001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:08:16] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-05 18:08:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115048481504100352,"km_value":115048481504100.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153425530160250880,"description":"Unknown IO ID 45"} 
[2026-08-05 18:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198960128001,"power":12906,"unknown_167":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9153425530160250880}} 
[2026-08-05 18:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":151217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:08:16] local.INFO: GPS data processed {"connection_id":151217,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:08:16] local.INFO: Acknowledgment sent {"connection_id":151217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":148789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:08:16] local.INFO: GPS data processed {"connection_id":148789,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:08:16] local.INFO: Acknowledgment sent {"connection_id":148789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:08:19] local.INFO: TCP Data received {"connection_id":148573,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:08:19] local.INFO: Processing buffer {"connection_id":148573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:08:19] local.INFO: IMEI packet received {"connection_id":148573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":148573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:08:20] local.INFO: TCP Data received {"connection_id":148573,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:08:20] local.INFO: Processing buffer {"connection_id":148573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:08:20] local.INFO: Packet analysis {"connection_id":148573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:08:20] local.INFO: Extracted packet for processing {"connection_id":148573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:08:20] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":36,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198866688001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785933374000,"timestamp_ms":1785933374000,"timestamp_seconds":1785933374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eca230"} 
[2026-08-05 18:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-05 18:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198866688001,"66":25712,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198866688001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:08:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:08:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198866688001,"power":25712,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":148573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:08:20] local.INFO: GPS data processed {"connection_id":148573,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:08:20] local.INFO: Acknowledgment sent {"connection_id":148573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:08:39] local.INFO: TCP Data received {"connection_id":149794,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:39] local.INFO: Processing buffer {"connection_id":149794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:39] local.INFO: IMEI packet received {"connection_id":149794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":149794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:08:40] local.INFO: TCP Data received {"connection_id":149794,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:40] local.INFO: Processing buffer {"connection_id":149794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:40] local.INFO: IMEI packet received {"connection_id":149794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":149794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:08:42] local.INFO: TCP Data received {"connection_id":149794,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:42] local.INFO: Processing buffer {"connection_id":149794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:42] local.INFO: IMEI packet received {"connection_id":149794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":149794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:08:44] local.INFO: TCP Data received {"connection_id":149794,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:44] local.INFO: Processing buffer {"connection_id":149794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:08:44] local.INFO: IMEI packet received {"connection_id":149794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":149794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:08:45] local.INFO: TCP Data received {"connection_id":149794,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ee1d18012d19b180072080100031011a28..."} 
[2026-08-05 18:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ee1d18012d19b180072080100031011a28..."} 
[2026-08-05 18:08:45] local.INFO: Processing buffer {"connection_id":149794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ee1d18012d19b180072080100031011a28..."} 
[2026-08-05 18:08:45] local.INFO: Packet analysis {"connection_id":149794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ee"} 
[2026-08-05 18:08:45] local.INFO: Extracted packet for processing {"connection_id":149794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ee"} 
[2026-08-05 18:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756658560,"raw_latitude":119570448,"longitude_deg":75.665856,"latitude_deg":11.9570448,"altitude":49,"angle":282,"satellites":40,"speed":8,"hex_longitude":"2d19b180","hex_latitude":"07208010","is_valid_coordinates":true} 
[2026-08-05 18:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198968320001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10749147795685376,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851542427412721664,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785933471000,"timestamp_ms":1785933471000,"timestamp_seconds":1785933471,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ee1d18"} 
[2026-08-05 18:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 18:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198968320001,"66":14363,"103":206,"83":41984,"24":8,"16":10749147795685376,"45":1851542427412721664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198968320001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:08:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10749147795685376,"km_value":10749147795685.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851542427412721664,"description":"Unknown IO ID 45"} 
[2026-08-05 18:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198968320001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1851542427412721664}} 
[2026-08-05 18:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":149794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:08:45] local.INFO: GPS data processed {"connection_id":149794,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:08:45] local.INFO: Acknowledgment sent {"connection_id":149794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:08:47] local.INFO: TCP Data received {"connection_id":151217,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1edcb10012d7efa0005d32ef00003010921..."} 
[2026-08-05 18:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1edcb10012d7efa0005d32ef00003010921..."} 
[2026-08-05 18:08:47] local.INFO: Processing buffer {"connection_id":151217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1edcb10012d7efa0005d32ef00003010921..."} 
[2026-08-05 18:08:47] local.INFO: Packet analysis {"connection_id":151217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ed"} 
[2026-08-05 18:08:47] local.INFO: Extracted packet for processing {"connection_id":151217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ed"} 
[2026-08-05 18:08:47] local.INFO: GPS Element Parsed {"raw_longitude":763296256,"raw_latitude":97726192,"longitude_deg":76.3296256,"latitude_deg":9.7726192,"altitude":3,"angle":265,"satellites":33,"speed":12,"hex_longitude":"2d7efa00","hex_latitude":"05d32ef0","is_valid_coordinates":true} 
[2026-08-05 18:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198960896001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115048610353119232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152581105230039040,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785933450000,"timestamp_ms":1785933450000,"timestamp_seconds":1785933450,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1edcb10"} 
[2026-08-05 18:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-05 18:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198960896001,"66":13037,"167":206,"85":15104,"24":12,"16":115048610353119232,"45":9152581105230039040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-05 18:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198960896001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:08:47] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-05 18:08:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115048610353119232,"km_value":115048610353119.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152581105230039040,"description":"Unknown IO ID 45"} 
[2026-08-05 18:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198960896001,"power":13037,"unknown_167":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9152581105230039040}} 
[2026-08-05 18:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":151217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:08:47] local.INFO: GPS data processed {"connection_id":151217,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:08:47] local.INFO: Acknowledgment sent {"connection_id":151217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:08:52] local.INFO: TCP Data received {"connection_id":148573,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:08:52] local.INFO: Processing buffer {"connection_id":148573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:08:52] local.INFO: Packet analysis {"connection_id":148573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:08:52] local.INFO: Extracted packet for processing {"connection_id":148573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:08:52] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":36,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198866688001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785933374000,"timestamp_ms":1785933374000,"timestamp_seconds":1785933374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eca230"} 
[2026-08-05 18:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-05 18:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198866688001,"66":25712,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198866688001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:08:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:08:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198866688001,"power":25712,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":148573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:08:52] local.INFO: GPS data processed {"connection_id":148573,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:08:52] local.INFO: Acknowledgment sent {"connection_id":148573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:09:01] local.INFO: TCP Data received {"connection_id":148790,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:09:01] local.INFO: Processing buffer {"connection_id":148790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:09:01] local.INFO: IMEI packet received {"connection_id":148790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":148790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:09:03] local.INFO: TCP Data received {"connection_id":148790,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:09:03] local.INFO: Processing buffer {"connection_id":148790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:09:03] local.INFO: IMEI packet received {"connection_id":148790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":148790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:09:08] local.INFO: TCP Data received {"connection_id":148790,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:09:08] local.INFO: Processing buffer {"connection_id":148790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:09:08] local.INFO: IMEI packet received {"connection_id":148790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":148790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:09:13] local.INFO: TCP Data received {"connection_id":148790,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eecce0012d7e650005d305f00001016522..."} 
[2026-08-05 18:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eecce0012d7e650005d305f00001016522..."} 
[2026-08-05 18:09:13] local.INFO: Processing buffer {"connection_id":148790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eecce0012d7e650005d305f00001016522..."} 
[2026-08-05 18:09:13] local.INFO: Packet analysis {"connection_id":148790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ee"} 
[2026-08-05 18:09:13] local.INFO: Extracted packet for processing {"connection_id":148790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ee"} 
[2026-08-05 18:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763258112,"raw_latitude":97715696,"longitude_deg":76.3258112,"latitude_deg":9.7715696,"altitude":1,"angle":357,"satellites":34,"speed":10,"hex_longitude":"2d7e6500","hex_latitude":"05d305f0","is_valid_coordinates":true} 
[2026-08-05 18:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198979584001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115050573153173504,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107826583930157056,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785933516000,"timestamp_ms":1785933516000,"timestamp_seconds":1785933516,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eecce0"} 
[2026-08-05 18:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-05 18:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198979584001,"66":12504,"109":206,"85":15104,"24":10,"16":115050573153173504,"45":9107826583930157056},"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-08-05 18:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198979584001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:09:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115050573153173504,"km_value":115050573153173.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107826583930157056,"description":"Unknown IO ID 45"} 
[2026-08-05 18:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198979584001,"power":12504,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9107826583930157056}} 
[2026-08-05 18:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":148790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:09:13] local.INFO: GPS data processed {"connection_id":148790,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:09:13] local.INFO: Acknowledgment sent {"connection_id":148790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:09:14] local.INFO: TCP Data received {"connection_id":148574,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:09:14] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:09:14] local.INFO: IMEI packet received {"connection_id":148574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":148574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:09:16] local.INFO: TCP Data received {"connection_id":149794,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ee8e60012d19a7400720b0c80038011626..."} 
[2026-08-05 18:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ee8e60012d19a7400720b0c80038011626..."} 
[2026-08-05 18:09:16] local.INFO: Processing buffer {"connection_id":149794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ee8e60012d19a7400720b0c80038011626..."} 
[2026-08-05 18:09:16] local.INFO: Packet analysis {"connection_id":149794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ee"} 
[2026-08-05 18:09:16] local.INFO: Extracted packet for processing {"connection_id":149794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ee"} 
[2026-08-05 18:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756655936,"raw_latitude":119582920,"longitude_deg":75.6655936,"latitude_deg":11.958292,"altitude":56,"angle":278,"satellites":38,"speed":27,"hex_longitude":"2d19a740","hex_latitude":"0720b0c8","is_valid_coordinates":true} 
[2026-08-05 18:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198975232001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10749989609275392,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002485671936,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785933500000,"timestamp_ms":1785933500000,"timestamp_seconds":1785933500,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ee8e60"} 
[2026-08-05 18:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-05 18:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":149794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":149794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":149794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198975232001,"66":14374,"103":206,"83":41984,"24":27,"16":10749989609275392,"45":1850698002485671936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198975232001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:09:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10749989609275392,"km_value":10749989609275.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002485671936,"description":"Unknown IO ID 45"} 
[2026-08-05 18:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198975232001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1850698002485671936}} 
[2026-08-05 18:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":149794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:09:16] local.INFO: GPS data processed {"connection_id":149794,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:09:16] local.INFO: Acknowledgment sent {"connection_id":149794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:09:21] local.INFO: TCP Data received {"connection_id":148574,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:09:21] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:09:21] local.INFO: IMEI packet received {"connection_id":148574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":148574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:09:27] local.INFO: TCP Data received {"connection_id":148574,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:09:27] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:09:27] local.INFO: Packet analysis {"connection_id":148574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:09:27] local.INFO: Extracted packet for processing {"connection_id":148574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:09:27] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":36,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198866688001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785933374000,"timestamp_ms":1785933374000,"timestamp_seconds":1785933374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eca230"} 
[2026-08-05 18:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-05 18:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198866688001,"66":25712,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198866688001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:09:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:09:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198866688001,"power":25712,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":148574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:09:27] local.INFO: GPS data processed {"connection_id":148574,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:09:27] local.INFO: Acknowledgment sent {"connection_id":148574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:09:44] local.INFO: TCP Data received {"connection_id":151218,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:09:44] local.INFO: Processing buffer {"connection_id":151218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:09:44] local.INFO: IMEI packet received {"connection_id":151218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":151218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:09:44] local.INFO: TCP Data received {"connection_id":148790,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ef0390012d7e628005d328680005016121..."} 
[2026-08-05 18:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ef0390012d7e628005d328680005016121..."} 
[2026-08-05 18:09:44] local.INFO: Processing buffer {"connection_id":148790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ef0390012d7e628005d328680005016121..."} 
[2026-08-05 18:09:44] local.INFO: Packet analysis {"connection_id":148790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ef"} 
[2026-08-05 18:09:44] local.INFO: Extracted packet for processing {"connection_id":148790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ef"} 
[2026-08-05 18:09:44] local.INFO: GPS Element Parsed {"raw_longitude":763257472,"raw_latitude":97724520,"longitude_deg":76.3257472,"latitude_deg":9.772452,"altitude":5,"angle":353,"satellites":33,"speed":22,"hex_longitude":"2d7e6280","hex_latitude":"05d32868","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198980096001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115051006944870400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107685846441914368,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785933530000,"timestamp_ms":1785933530000,"timestamp_seconds":1785933530,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ef0390"} 
[2026-08-05 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-08-05 18:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 18:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198980096001,"66":12667,"109":206,"85":15104,"24":22,"16":115051006944870400,"45":9107685846441914368},"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-08-05 18:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198980096001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:09:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115051006944870400,"km_value":115051006944870.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107685846441914368,"description":"Unknown IO ID 45"} 
[2026-08-05 18:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198980096001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9107685846441914368}} 
[2026-08-05 18:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":148790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:09:44] local.INFO: GPS data processed {"connection_id":148790,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:09:44] local.INFO: Acknowledgment sent {"connection_id":148790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:09:45] local.INFO: TCP Data received {"connection_id":151218,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:09:45] local.INFO: Processing buffer {"connection_id":151218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:09:45] local.INFO: IMEI packet received {"connection_id":151218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":151218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:09:49] local.INFO: TCP Data received {"connection_id":151218,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:09:49] local.INFO: Processing buffer {"connection_id":151218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:09:49] local.INFO: IMEI packet received {"connection_id":151218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":151218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:09:50] local.INFO: TCP Data received {"connection_id":151218,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eeb570012d198b000720b2b0003a010625..."} 
[2026-08-05 18:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eeb570012d198b000720b2b0003a010625..."} 
[2026-08-05 18:09:50] local.INFO: Processing buffer {"connection_id":151218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eeb570012d198b000720b2b0003a010625..."} 
[2026-08-05 18:09:50] local.INFO: Packet analysis {"connection_id":151218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ee"} 
[2026-08-05 18:09:50] local.INFO: Extracted packet for processing {"connection_id":151218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ee"} 
[2026-08-05 18:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583408,"longitude_deg":75.6648704,"latitude_deg":11.9583408,"altitude":58,"angle":262,"satellites":37,"speed":28,"hex_longitude":"2d198b00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-08-05 18:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198976000001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10750333206659072,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848516571416283136,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785933510000,"timestamp_ms":1785933510000,"timestamp_seconds":1785933510,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eeb570"} 
[2026-08-05 18:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 18:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198976000001,"66":14428,"103":206,"83":41984,"24":28,"16":10750333206659072,"45":1848516571416283136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198976000001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:09:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10750333206659072,"km_value":10750333206659.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848516571416283136,"description":"Unknown IO ID 45"} 
[2026-08-05 18:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198976000001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1848516571416283136}} 
[2026-08-05 18:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":151218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:09:50] local.INFO: GPS data processed {"connection_id":151218,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:09:50] local.INFO: Acknowledgment sent {"connection_id":151218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:09:54] local.INFO: TCP Data received {"connection_id":151218,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eed0c8012d1973400720ad68003a00fb26..."} 
[2026-08-05 18:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eed0c8012d1973400720ad68003a00fb26..."} 
[2026-08-05 18:09:54] local.INFO: Processing buffer {"connection_id":151218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eed0c8012d1973400720ad68003a00fb26..."} 
[2026-08-05 18:09:54] local.INFO: Packet analysis {"connection_id":151218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ee"} 
[2026-08-05 18:09:54] local.INFO: Extracted packet for processing {"connection_id":151218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ee"} 
[2026-08-05 18:09:54] local.INFO: GPS Element Parsed {"raw_longitude":756642624,"raw_latitude":119582056,"longitude_deg":75.6642624,"latitude_deg":11.9582056,"altitude":58,"angle":251,"satellites":38,"speed":38,"hex_longitude":"2d197340","hex_latitude":"0720ad68","is_valid_coordinates":true} 
[2026-08-05 18:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198978560001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10750629559402496,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324332032,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785933517000,"timestamp_ms":1785933517000,"timestamp_seconds":1785933517,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eed0c8"} 
[2026-08-05 18:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 18:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198978560001,"66":14363,"103":206,"83":41984,"24":38,"16":10750629559402496,"45":1840564903324332032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198978560001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:09:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:09:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10750629559402496,"km_value":10750629559402.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324332032,"description":"Unknown IO ID 45"} 
[2026-08-05 18:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198978560001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1840564903324332032}} 
[2026-08-05 18:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":151218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:09:54] local.INFO: GPS data processed {"connection_id":151218,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:09:54] local.INFO: Acknowledgment sent {"connection_id":151218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:09:59] local.INFO: TCP Data received {"connection_id":148574,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:09:59] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:09:59] local.INFO: Packet analysis {"connection_id":148574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:09:59] local.INFO: Extracted packet for processing {"connection_id":148574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:09:59] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":36,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198866688001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785933374000,"timestamp_ms":1785933374000,"timestamp_seconds":1785933374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eca230"} 
[2026-08-05 18:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-05 18:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198866688001,"66":25712,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198866688001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:09:59] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:09:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198866688001,"power":25712,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":148574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:09:59] local.INFO: GPS data processed {"connection_id":148574,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:09:59] local.INFO: Acknowledgment sent {"connection_id":148574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:10:02] local.INFO: TCP Data received {"connection_id":151219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:02] local.INFO: Processing buffer {"connection_id":151219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:02] local.INFO: IMEI packet received {"connection_id":151219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":151219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:10:03] local.INFO: TCP Data received {"connection_id":151219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:03] local.INFO: Processing buffer {"connection_id":151219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:03] local.INFO: IMEI packet received {"connection_id":151219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":151219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:10:03] local.INFO: TCP Data received {"connection_id":151219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:03] local.INFO: Processing buffer {"connection_id":151219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:03] local.INFO: IMEI packet received {"connection_id":151219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":151219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:10:04] local.INFO: TCP Data received {"connection_id":151219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:04] local.INFO: Processing buffer {"connection_id":151219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:10:04] local.INFO: IMEI packet received {"connection_id":151219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":151219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:10:14] local.INFO: TCP Data received {"connection_id":149795,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:10:14] local.INFO: Processing buffer {"connection_id":149795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:10:14] local.INFO: IMEI packet received {"connection_id":149795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":149795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:10:19] local.INFO: TCP Data received {"connection_id":149795,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:10:19] local.INFO: Processing buffer {"connection_id":149795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:10:19] local.INFO: IMEI packet received {"connection_id":149795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":149795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:10:20] local.INFO: TCP Data received {"connection_id":149795,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:10:20] local.INFO: Processing buffer {"connection_id":149795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:10:20] local.INFO: Packet analysis {"connection_id":149795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:10:20] local.INFO: Extracted packet for processing {"connection_id":149795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:10:20] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":36,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198866688001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785933374000,"timestamp_ms":1785933374000,"timestamp_seconds":1785933374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eca230"} 
[2026-08-05 18:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-05 18:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198866688001,"66":25712,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198866688001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:10:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:10:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198866688001,"power":25712,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":149795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:10:20] local.INFO: GPS data processed {"connection_id":149795,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:10:20] local.INFO: Acknowledgment sent {"connection_id":149795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:10:35] local.INFO: TCP Data received {"connection_id":148575,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:35] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:35] local.INFO: IMEI packet received {"connection_id":148575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":148575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:10:37] local.INFO: TCP Data received {"connection_id":148575,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:37] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:37] local.INFO: IMEI packet received {"connection_id":148575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":148575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:10:39] local.INFO: TCP Data received {"connection_id":148575,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:39] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:39] local.INFO: IMEI packet received {"connection_id":148575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":148575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:10:42] local.INFO: TCP Data received {"connection_id":148575,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:42] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:10:42] local.INFO: IMEI packet received {"connection_id":148575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":148575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:10:43] local.INFO: TCP Data received {"connection_id":148575,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1efbb28012d18d400072105f00040015a25..."} 
[2026-08-05 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1efbb28012d18d400072105f00040015a25..."} 
[2026-08-05 18:10:43] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1efbb28012d18d400072105f00040015a25..."} 
[2026-08-05 18:10:43] local.INFO: Packet analysis {"connection_id":148575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ef"} 
[2026-08-05 18:10:43] local.INFO: Extracted packet for processing {"connection_id":148575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ef"} 
[2026-08-05 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119604720,"longitude_deg":75.6601856,"latitude_deg":11.960472,"altitude":64,"angle":346,"satellites":37,"speed":26,"hex_longitude":"2d18d400","hex_latitude":"072105f0","is_valid_coordinates":true} 
[2026-08-05 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198994944001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10753021856186368,"note":"Value kept but may cause issues"} 
[2026-08-05 18:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521396736,"note":"Value kept but may cause issues"} 
[2026-08-05 18:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785933577000,"timestamp_ms":1785933577000,"timestamp_seconds":1785933577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1efbb28"} 
[2026-08-05 18:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-05 18:10: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-08-05 18:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198994944001,"66":14113,"103":206,"83":41984,"24":26,"16":10753021856186368,"45":1789899407521396736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198994944001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:10:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10753021856186368,"km_value":10753021856186.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521396736,"description":"Unknown IO ID 45"} 
[2026-08-05 18:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198994944001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1789899407521396736}} 
[2026-08-05 18:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":148575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:10:43] local.INFO: GPS data processed {"connection_id":148575,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:10:43] local.INFO: Acknowledgment sent {"connection_id":148575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:10:52] local.INFO: TCP Data received {"connection_id":149795,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:10:52] local.INFO: Processing buffer {"connection_id":149795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:10:52] local.INFO: Packet analysis {"connection_id":149795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:10:52] local.INFO: Extracted packet for processing {"connection_id":149795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:10:52] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":36,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198866688001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785933374000,"timestamp_ms":1785933374000,"timestamp_seconds":1785933374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eca230"} 
[2026-08-05 18:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-05 18:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198866688001,"66":25712,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198866688001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:10:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:10:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198866688001,"power":25712,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":149795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:10:52] local.INFO: GPS data processed {"connection_id":149795,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:10:52] local.INFO: Acknowledgment sent {"connection_id":149795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:11:14] local.INFO: TCP Data received {"connection_id":148575,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1efd298012d18d140072115280041016627..."} 
[2026-08-05 18:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1efd298012d18d140072115280041016627..."} 
[2026-08-05 18:11:14] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1efd298012d18d140072115280041016627..."} 
[2026-08-05 18:11:14] local.INFO: Packet analysis {"connection_id":148575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ef"} 
[2026-08-05 18:11:14] local.INFO: Extracted packet for processing {"connection_id":148575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ef"} 
[2026-08-05 18:11:14] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119608616,"longitude_deg":75.6601152,"latitude_deg":11.9608616,"altitude":65,"angle":358,"satellites":39,"speed":26,"hex_longitude":"2d18d140","hex_latitude":"07211528","is_valid_coordinates":true} 
[2026-08-05 18:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198995712001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10753210834747392,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982591737856,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785933583000,"timestamp_ms":1785933583000,"timestamp_seconds":1785933583,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1efd298"} 
[2026-08-05 18:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-05 18:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198995712001,"66":14233,"103":206,"83":41984,"24":26,"16":10753210834747392,"45":1789054982591737856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-05 18:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198995712001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:11:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 18:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10753210834747392,"km_value":10753210834747.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982591737856,"description":"Unknown IO ID 45"} 
[2026-08-05 18:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198995712001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1789054982591737856}} 
[2026-08-05 18:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":148575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:11:14] local.INFO: GPS data processed {"connection_id":148575,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:11:14] local.INFO: Acknowledgment sent {"connection_id":148575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:11:20] local.INFO: TCP Data received {"connection_id":148576,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:11:20] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:11:20] local.INFO: IMEI packet received {"connection_id":148576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":148576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:11:25] local.INFO: TCP Data received {"connection_id":148576,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:11:25] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:11:25] local.INFO: IMEI packet received {"connection_id":148576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":148576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:11:26] local.INFO: TCP Data received {"connection_id":148576,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:11:26] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1eca230012d77a98005f27820000d001324..."} 
[2026-08-05 18:11:26] local.INFO: Packet analysis {"connection_id":148576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:11:26] local.INFO: Extracted packet for processing {"connection_id":148576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ec"} 
[2026-08-05 18:11:26] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":36,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198866688001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785933374000,"timestamp_ms":1785933374000,"timestamp_seconds":1785933374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1eca230"} 
[2026-08-05 18:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-05 18:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198866688001,"66":25712,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198866688001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:11:26] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:11:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198866688001,"power":25712,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":148576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:11:26] local.INFO: GPS data processed {"connection_id":148576,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:11:26] local.INFO: Acknowledgment sent {"connection_id":148576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:11:36] local.INFO: TCP Data received {"connection_id":151220,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:11:36] local.INFO: Processing buffer {"connection_id":151220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:11:36] local.INFO: IMEI packet received {"connection_id":151220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":151220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:11:39] local.INFO: TCP Data received {"connection_id":151220,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:11:39] local.INFO: Processing buffer {"connection_id":151220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:11:39] local.INFO: IMEI packet received {"connection_id":151220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":151220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:11:44] local.INFO: TCP Data received {"connection_id":151220,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:11:44] local.INFO: Processing buffer {"connection_id":151220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:11:44] local.INFO: IMEI packet received {"connection_id":151220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":151220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:11:44] local.INFO: TCP Data received {"connection_id":151220,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f0a970012d18740007218138004c010226..."} 
[2026-08-05 18:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f0a970012d18740007218138004c010226..."} 
[2026-08-05 18:11:44] local.INFO: Processing buffer {"connection_id":151220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f0a970012d18740007218138004c010226..."} 
[2026-08-05 18:11:44] local.INFO: Packet analysis {"connection_id":151220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f0"} 
[2026-08-05 18:11:44] local.INFO: Extracted packet for processing {"connection_id":151220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f0"} 
[2026-08-05 18:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756577280,"raw_latitude":119636280,"longitude_deg":75.657728,"latitude_deg":11.963628,"altitude":76,"angle":258,"satellites":38,"speed":24,"hex_longitude":"2d187400","hex_latitude":"07218138","is_valid_coordinates":true} 
[2026-08-05 18:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199010560001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10755199404605440,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815905126400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785933638000,"timestamp_ms":1785933638000,"timestamp_seconds":1785933638,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f0a970"} 
[2026-08-05 18:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 18:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199010560001,"66":14004,"106":206,"83":41984,"24":24,"16":10755199404605440,"45":1764214815905126400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 18:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199010560001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:11:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10755199404605440,"km_value":10755199404605.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815905126400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199010560001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1764214815905126400}} 
[2026-08-05 18:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":151220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:11:45] local.INFO: GPS data processed {"connection_id":151220,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:11:45] local.INFO: Acknowledgment sent {"connection_id":151220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:11:57] local.INFO: TCP Data received {"connection_id":148576,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f139f8012d77a98005f27820000d001327..."} 
[2026-08-05 18:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f139f8012d77a98005f27820000d001327..."} 
[2026-08-05 18:11:57] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f139f8012d77a98005f27820000d001327..."} 
[2026-08-05 18:11:57] local.INFO: Packet analysis {"connection_id":148576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f1"} 
[2026-08-05 18:11:57] local.INFO: Extracted packet for processing {"connection_id":148576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f1"} 
[2026-08-05 18:11:57] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198943744001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785933675000,"timestamp_ms":1785933675000,"timestamp_seconds":1785933675,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f139f8"} 
[2026-08-05 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-08-05 18:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-05 18:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198943744001,"66":26006,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198943744001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:11:57] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:11:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198943744001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":148576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:11:57] local.INFO: GPS data processed {"connection_id":148576,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:11:57] local.INFO: Acknowledgment sent {"connection_id":148576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:12:14] local.INFO: TCP Data received {"connection_id":149796,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:12:14] local.INFO: Processing buffer {"connection_id":149796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:12:14] local.INFO: IMEI packet received {"connection_id":149796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":149796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:12:16] local.INFO: TCP Data received {"connection_id":151220,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f0b910012d1868c007218070004c011127..."} 
[2026-08-05 18:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f0b910012d1868c007218070004c011127..."} 
[2026-08-05 18:12:16] local.INFO: Processing buffer {"connection_id":151220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f0b910012d1868c007218070004c011127..."} 
[2026-08-05 18:12:16] local.INFO: Packet analysis {"connection_id":151220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f0"} 
[2026-08-05 18:12:16] local.INFO: Extracted packet for processing {"connection_id":151220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f0"} 
[2026-08-05 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756574400,"raw_latitude":119636080,"longitude_deg":75.65744,"latitude_deg":11.963608,"altitude":76,"angle":273,"satellites":39,"speed":31,"hex_longitude":"2d1868c0","hex_latitude":"07218070","is_valid_coordinates":true} 
[2026-08-05 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199011328001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10755336843558912,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762033384835594240,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785933642000,"timestamp_ms":1785933642000,"timestamp_seconds":1785933642,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f0b910"} 
[2026-08-05 18:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-05 18:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199011328001,"66":14157,"106":206,"83":41984,"24":31,"16":10755336843558912,"45":1762033384835594240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 18:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199011328001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:12:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:12:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10755336843558912,"km_value":10755336843558.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762033384835594240,"description":"Unknown IO ID 45"} 
[2026-08-05 18:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199011328001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1762033384835594240}} 
[2026-08-05 18:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":151220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:12:16] local.INFO: GPS data processed {"connection_id":151220,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:12:16] local.INFO: Acknowledgment sent {"connection_id":151220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:12:20] local.INFO: TCP Data received {"connection_id":149796,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:12:20] local.INFO: Processing buffer {"connection_id":149796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:12:20] local.INFO: IMEI packet received {"connection_id":149796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":149796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:12:23] local.INFO: TCP Data received {"connection_id":149796,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f139f8012d77a98005f27820000d001327..."} 
[2026-08-05 18:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f139f8012d77a98005f27820000d001327..."} 
[2026-08-05 18:12:23] local.INFO: Processing buffer {"connection_id":149796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f139f8012d77a98005f27820000d001327..."} 
[2026-08-05 18:12:23] local.INFO: Packet analysis {"connection_id":149796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f1"} 
[2026-08-05 18:12:23] local.INFO: Extracted packet for processing {"connection_id":149796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f1"} 
[2026-08-05 18:12:23] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198943744001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785933675000,"timestamp_ms":1785933675000,"timestamp_seconds":1785933675,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f139f8"} 
[2026-08-05 18:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-05 18:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198943744001,"66":26006,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198943744001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:12:23] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:12:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198943744001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":149796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:12:23] local.INFO: GPS data processed {"connection_id":149796,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:12:23] local.INFO: Acknowledgment sent {"connection_id":149796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:12:39] local.INFO: TCP Data received {"connection_id":151221,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:12:39] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:12:39] local.INFO: IMEI packet received {"connection_id":151221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":151221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:12:40] local.INFO: TCP Data received {"connection_id":151221,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:12:40] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:12:40] local.INFO: IMEI packet received {"connection_id":151221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":151221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:12:44] local.INFO: TCP Data received {"connection_id":151221,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:12:44] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:12:44] local.INFO: IMEI packet received {"connection_id":151221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":151221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:12:45] local.INFO: TCP Data received {"connection_id":151221,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f0c0e0012d18628007218198004c011e27..."} 
[2026-08-05 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f0c0e0012d18628007218198004c011e27..."} 
[2026-08-05 18:12:45] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f0c0e0012d18628007218198004c011e27..."} 
[2026-08-05 18:12:45] local.INFO: Packet analysis {"connection_id":151221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f0"} 
[2026-08-05 18:12:45] local.INFO: Extracted packet for processing {"connection_id":151221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f0"} 
[2026-08-05 18:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756572800,"raw_latitude":119636376,"longitude_deg":75.65728,"latitude_deg":11.9636376,"altitude":76,"angle":286,"satellites":39,"speed":31,"hex_longitude":"2d186280","hex_latitude":"07218198","is_valid_coordinates":true} 
[2026-08-05 18:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199012352001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10755414152970240,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758866791347548160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785933644000,"timestamp_ms":1785933644000,"timestamp_seconds":1785933644,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f0c0e0"} 
[2026-08-05 18:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-05 18:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199012352001,"66":14004,"106":206,"83":41984,"24":31,"16":10755414152970240,"45":1758866791347548160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 18:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199012352001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:12:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10755414152970240,"km_value":10755414152970.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758866791347548160,"description":"Unknown IO ID 45"} 
[2026-08-05 18:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199012352001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1758866791347548160}} 
[2026-08-05 18:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":151221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:12:45] local.INFO: GPS data processed {"connection_id":151221,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:12:45] local.INFO: Acknowledgment sent {"connection_id":151221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:12:57] local.INFO: TCP Data received {"connection_id":149796,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f139f8012d77a98005f27820000d001327..."} 
[2026-08-05 18:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f139f8012d77a98005f27820000d001327..."} 
[2026-08-05 18:12:57] local.INFO: Processing buffer {"connection_id":149796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f139f8012d77a98005f27820000d001327..."} 
[2026-08-05 18:12:57] local.INFO: Packet analysis {"connection_id":149796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f1"} 
[2026-08-05 18:12:57] local.INFO: Extracted packet for processing {"connection_id":149796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f1"} 
[2026-08-05 18:12:57] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457198943744001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785933675000,"timestamp_ms":1785933675000,"timestamp_seconds":1785933675,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f139f8"} 
[2026-08-05 18:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-05 18:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457198943744001,"66":26006,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457198943744001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:12:57] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:12:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457198943744001,"power":26006,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":149796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:12:57] local.INFO: GPS data processed {"connection_id":149796,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:12:57] local.INFO: Acknowledgment sent {"connection_id":149796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:13:16] local.INFO: TCP Data received {"connection_id":151221,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f0d080012d185740072186b0004d012926..."} 
[2026-08-05 18:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f0d080012d185740072186b0004d012926..."} 
[2026-08-05 18:13:16] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f0d080012d185740072186b0004d012926..."} 
[2026-08-05 18:13:16] local.INFO: Packet analysis {"connection_id":151221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f0"} 
[2026-08-05 18:13:16] local.INFO: Extracted packet for processing {"connection_id":151221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f0"} 
[2026-08-05 18:13:16] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119637680,"longitude_deg":75.656992,"latitude_deg":11.963768,"altitude":77,"angle":297,"satellites":38,"speed":30,"hex_longitude":"2d185740","hex_latitude":"072186b0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199012864001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10755564476825600,"note":"Value kept but may cause issues"} 
[2026-08-05 18:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757107572743182336,"note":"Value kept but may cause issues"} 
[2026-08-05 18:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785933648000,"timestamp_ms":1785933648000,"timestamp_seconds":1785933648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f0d080"} 
[2026-08-05 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-08-05 18:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-05 18:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199012864001,"66":14070,"106":206,"83":41984,"24":30,"16":10755564476825600,"45":1757107572743182336},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-05 18:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199012864001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10755564476825600,"km_value":10755564476825.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757107572743182336,"description":"Unknown IO ID 45"} 
[2026-08-05 18:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199012864001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1757107572743182336}} 
[2026-08-05 18:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":151221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:13:16] local.INFO: GPS data processed {"connection_id":151221,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:13:16] local.INFO: Acknowledgment sent {"connection_id":151221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:13:34] local.INFO: TCP Data received {"connection_id":148578,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:13:34] local.INFO: Processing buffer {"connection_id":148578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:13:34] local.INFO: IMEI packet received {"connection_id":148578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":148578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:13:39] local.INFO: TCP Data received {"connection_id":148793,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:13:39] local.INFO: Processing buffer {"connection_id":148793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:13:39] local.INFO: IMEI packet received {"connection_id":148793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":148793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:13:42] local.INFO: TCP Data received {"connection_id":148793,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:13:42] local.INFO: Processing buffer {"connection_id":148793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:13:42] local.INFO: IMEI packet received {"connection_id":148793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":148793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:14:30] local.INFO: TCP Data received {"connection_id":149799,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:14:30] local.INFO: Processing buffer {"connection_id":149799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:14:30] local.INFO: IMEI packet received {"connection_id":149799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":149799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:14:35] local.INFO: TCP Data received {"connection_id":149799,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:14:35] local.INFO: Processing buffer {"connection_id":149799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:14:35] local.INFO: IMEI packet received {"connection_id":149799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":149799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:14:35] local.INFO: TCP Data received {"connection_id":149799,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f34950012d183480072196a00052007028..."} 
[2026-08-05 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f34950012d183480072196a00052007028..."} 
[2026-08-05 18:14:35] local.INFO: Processing buffer {"connection_id":149799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f34950012d183480072196a00052007028..."} 
[2026-08-05 18:14:35] local.INFO: Packet analysis {"connection_id":149799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:14:35] local.INFO: Extracted packet for processing {"connection_id":149799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119641760,"longitude_deg":75.6561024,"latitude_deg":11.964176,"altitude":82,"angle":112,"satellites":40,"speed":15,"hex_longitude":"2d183480","hex_latitude":"072196a0","is_valid_coordinates":true} 
[2026-08-05 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199054848001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10756127117541376,"note":"Value kept but may cause issues"} 
[2026-08-05 18:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743596773862526976,"note":"Value kept but may cause issues"} 
[2026-08-05 18:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785933810000,"timestamp_ms":1785933810000,"timestamp_seconds":1785933810,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f34950"} 
[2026-08-05 18:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-05 18:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 18:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18: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-08-05 18:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199054848001,"66":13222,"105":206,"83":41984,"24":15,"16":10756127117541376,"45":1743596773862526976},"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-08-05 18:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199054848001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:14:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10756127117541376,"km_value":10756127117541.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743596773862526976,"description":"Unknown IO ID 45"} 
[2026-08-05 18:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199054848001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1743596773862526976}} 
[2026-08-05 18:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":149799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:14:35] local.INFO: GPS data processed {"connection_id":149799,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:14:35] local.INFO: Acknowledgment sent {"connection_id":149799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:15:06] local.INFO: TCP Data received {"connection_id":149799,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f36890012d183e80072192500053008526..."} 
[2026-08-05 18:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f36890012d183e80072192500053008526..."} 
[2026-08-05 18:15:06] local.INFO: Processing buffer {"connection_id":149799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f36890012d183e80072192500053008526..."} 
[2026-08-05 18:15:06] local.INFO: Packet analysis {"connection_id":149799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:15:06] local.INFO: Extracted packet for processing {"connection_id":149799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640656,"longitude_deg":75.6563584,"latitude_deg":11.9640656,"altitude":83,"angle":133,"satellites":38,"speed":7,"hex_longitude":"2d183e80","hex_latitude":"07219250","is_valid_coordinates":true} 
[2026-08-05 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199055360001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10756260261527552,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723815870464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785933818000,"timestamp_ms":1785933818000,"timestamp_seconds":1785933818,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f36890"} 
[2026-08-05 18:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-05 18:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":149799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18: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-08-05 18:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199055360001,"66":13222,"105":206,"83":41984,"24":7,"16":10756260261527552,"45":1744159723815870464},"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-08-05 18:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199055360001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:15:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10756260261527552,"km_value":10756260261527.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723815870464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199055360001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1744159723815870464}} 
[2026-08-05 18:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":149799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:15:06] local.INFO: GPS data processed {"connection_id":149799,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:15:06] local.INFO: Acknowledgment sent {"connection_id":149799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:15:08] local.INFO: TCP Data received {"connection_id":148579,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:15:08] local.INFO: Processing buffer {"connection_id":148579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:15:08] local.INFO: IMEI packet received {"connection_id":148579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":148579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:15:09] local.INFO: TCP Data received {"connection_id":148579,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f35508012d7e358005d34db80002003323..."} 
[2026-08-05 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f35508012d7e358005d34db80002003323..."} 
[2026-08-05 18:15:09] local.INFO: Processing buffer {"connection_id":148579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f35508012d7e358005d34db80002003323..."} 
[2026-08-05 18:15:09] local.INFO: Packet analysis {"connection_id":148579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:15:09] local.INFO: Extracted packet for processing {"connection_id":148579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734072,"longitude_deg":76.3245952,"latitude_deg":9.7734072,"altitude":2,"angle":51,"satellites":35,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34db8","is_valid_coordinates":true} 
[2026-08-05 18:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199050752001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785933813000,"timestamp_ms":1785933813000,"timestamp_seconds":1785933813,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f35508"} 
[2026-08-05 18:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167744036173,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3522238160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4055556097,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3623955838,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2147865421,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040077,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3212705792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545085952,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,191,159,176,45,128,77,2,35,10,66,94,12,1,240,187,227,209,211,4,113,205,104,53,184,34,239,51,152,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-05 18:15:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144171404902793216,"timestamp_seconds":144171404902793.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 18:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199050752001,"66":13222,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199050752001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:15:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199050752001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":148579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:15:09] local.INFO: GPS data processed {"connection_id":148579,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:15:09] local.INFO: Acknowledgment sent {"connection_id":148579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:15:37] local.INFO: TCP Data received {"connection_id":149799,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f36c78012d183ec0072191c00053009725..."} 
[2026-08-05 18:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f36c78012d183ec0072191c00053009725..."} 
[2026-08-05 18:15:37] local.INFO: Processing buffer {"connection_id":149799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f36c78012d183ec0072191c00053009725..."} 
[2026-08-05 18:15:37] local.INFO: Packet analysis {"connection_id":149799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:15:37] local.INFO: Extracted packet for processing {"connection_id":149799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":119640512,"longitude_deg":75.6563648,"latitude_deg":11.9640512,"altitude":83,"angle":151,"satellites":37,"speed":6,"hex_longitude":"2d183ec0","hex_latitude":"072191c0","is_valid_coordinates":true} 
[2026-08-05 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199057408001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10756264556494848,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582694400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785933819000,"timestamp_ms":1785933819000,"timestamp_seconds":1785933819,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f36c78"} 
[2026-08-05 18:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-05 18:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":149799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:15: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-08-05 18:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199057408001,"66":13222,"105":206,"83":41984,"24":6,"16":10756264556494848,"45":1746974473582694400},"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-08-05 18:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199057408001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:15:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10756264556494848,"km_value":10756264556494.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582694400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199057408001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1746974473582694400}} 
[2026-08-05 18:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":149799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:15:37] local.INFO: GPS data processed {"connection_id":149799,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:15:37] local.INFO: Acknowledgment sent {"connection_id":149799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:15:40] local.INFO: TCP Data received {"connection_id":148579,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:15:40] local.INFO: Processing buffer {"connection_id":148579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:15:40] local.INFO: Packet analysis {"connection_id":148579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:15:40] local.INFO: Extracted packet for processing {"connection_id":148579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734072,"longitude_deg":76.3245952,"latitude_deg":9.7734072,"altitude":2,"angle":51,"satellites":33,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34db8","is_valid_coordinates":true} 
[2026-08-05 18:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199056128001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785933830000,"timestamp_ms":1785933830000,"timestamp_seconds":1785933830,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f39770"} 
[2026-08-05 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-08-05 18:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-05 18:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199056128001,"66":13461,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199056128001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:15:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199056128001,"power":13461,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":148579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:15:40] local.INFO: GPS data processed {"connection_id":148579,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:15:40] local.INFO: Acknowledgment sent {"connection_id":148579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:16:03] local.INFO: TCP Data received {"connection_id":148794,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:16:03] local.INFO: Processing buffer {"connection_id":148794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:16:03] local.INFO: IMEI packet received {"connection_id":148794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":148794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:16:08] local.INFO: TCP Data received {"connection_id":149799,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f3be80012d183ec0072190380052009722..."} 
[2026-08-05 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f3be80012d183ec0072190380052009722..."} 
[2026-08-05 18:16:08] local.INFO: Processing buffer {"connection_id":149799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f3be80012d183ec0072190380052009722..."} 
[2026-08-05 18:16:08] local.INFO: Packet analysis {"connection_id":149799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:16:08] local.INFO: Extracted packet for processing {"connection_id":149799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":119640120,"longitude_deg":75.6563648,"latitude_deg":11.964012,"altitude":82,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d183ec0","hex_latitude":"07219038","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199057664001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10756294621265920,"note":"Value kept but may cause issues"} 
[2026-08-05 18:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747044842326835200,"note":"Value kept but may cause issues"} 
[2026-08-05 18: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-08-05 18:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785933840000,"timestamp_ms":1785933840000,"timestamp_seconds":1785933840,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f3be80"} 
[2026-08-05 18:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:16: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-08-05 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-05 18:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:16: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-08-05 18:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199057664001,"66":13048,"105":206,"83":41984,"24":0,"16":10756294621265920,"45":1747044842326835200},"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-08-05 18:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199057664001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:16:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10756294621265920,"km_value":10756294621265.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747044842326835200,"description":"Unknown IO ID 45"} 
[2026-08-05 18:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199057664001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1747044842326835200}} 
[2026-08-05 18:16:08] local.INFO: TCP Data received {"connection_id":148794,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:16:08] local.INFO: Processing buffer {"connection_id":148794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:16:08] local.INFO: IMEI packet received {"connection_id":148794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":148794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":149799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:16:08] local.INFO: GPS data processed {"connection_id":149799,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:16:08] local.INFO: Acknowledgment sent {"connection_id":149799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:16:09] local.INFO: TCP Data received {"connection_id":148794,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:16:09] local.INFO: Processing buffer {"connection_id":148794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:16:09] local.INFO: Packet analysis {"connection_id":148794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:16:09] local.INFO: Extracted packet for processing {"connection_id":148794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734072,"longitude_deg":76.3245952,"latitude_deg":9.7734072,"altitude":2,"angle":51,"satellites":33,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34db8","is_valid_coordinates":true} 
[2026-08-05 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785933830000,"timestamp_ms":1785933830000,"timestamp_seconds":1785933830,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f39770"} 
[2026-08-05 18:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13461,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:16:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13461,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":148794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:16:09] local.INFO: GPS data processed {"connection_id":148794,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:16:09] local.INFO: Acknowledgment sent {"connection_id":148794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:16:39] local.INFO: TCP Data received {"connection_id":149799,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f41088012d183ec0072190380052009723..."} 
[2026-08-05 18:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f41088012d183ec0072190380052009723..."} 
[2026-08-05 18:16:39] local.INFO: Processing buffer {"connection_id":149799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f41088012d183ec0072190380052009723..."} 
[2026-08-05 18:16:39] local.INFO: Packet analysis {"connection_id":149799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f4"} 
[2026-08-05 18:16:39] local.INFO: Extracted packet for processing {"connection_id":149799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f4"} 
[2026-08-05 18:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":119640120,"longitude_deg":75.6563648,"latitude_deg":11.964012,"altitude":82,"angle":151,"satellites":35,"speed":0,"hex_longitude":"2d183ec0","hex_latitude":"07219038","is_valid_coordinates":true} 
[2026-08-05 18:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199063040001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10756294621265920,"note":"Value kept but may cause issues"} 
[2026-08-05 18:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747044842326734848,"note":"Value kept but may cause issues"} 
[2026-08-05 18:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785933861000,"timestamp_ms":1785933861000,"timestamp_seconds":1785933861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f41088"} 
[2026-08-05 18:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-05 18:16: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-08-05 18:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":149799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:16: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-08-05 18:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199063040001,"66":13102,"105":206,"83":41984,"24":0,"16":10756294621265920,"45":1747044842326734848},"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-08-05 18:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199063040001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:16:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10756294621265920,"km_value":10756294621265.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747044842326734848,"description":"Unknown IO ID 45"} 
[2026-08-05 18:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199063040001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1747044842326734848}} 
[2026-08-05 18:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":149799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:16:39] local.INFO: GPS data processed {"connection_id":149799,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:16:39] local.INFO: Acknowledgment sent {"connection_id":149799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:16:40] local.INFO: TCP Data received {"connection_id":148794,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:16:40] local.INFO: Processing buffer {"connection_id":148794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:16:40] local.INFO: Packet analysis {"connection_id":148794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:16:40] local.INFO: Extracted packet for processing {"connection_id":148794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734072,"longitude_deg":76.3245952,"latitude_deg":9.7734072,"altitude":2,"angle":51,"satellites":33,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34db8","is_valid_coordinates":true} 
[2026-08-05 18:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785933830000,"timestamp_ms":1785933830000,"timestamp_seconds":1785933830,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f39770"} 
[2026-08-05 18:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:16: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-08-05 18:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13461,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:16:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13461,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":148794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:16:40] local.INFO: GPS data processed {"connection_id":148794,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:16:40] local.INFO: Acknowledgment sent {"connection_id":148794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:17:03] local.INFO: TCP Data received {"connection_id":151223,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:17:03] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:17:03] local.INFO: IMEI packet received {"connection_id":151223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":151223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:17:08] local.INFO: TCP Data received {"connection_id":151223,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:17:08] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:17:08] local.INFO: IMEI packet received {"connection_id":151223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":151223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:17:08] local.INFO: TCP Data received {"connection_id":151223,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:17:08] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:17:08] local.INFO: Packet analysis {"connection_id":151223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:17:08] local.INFO: Extracted packet for processing {"connection_id":151223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734072,"longitude_deg":76.3245952,"latitude_deg":9.7734072,"altitude":2,"angle":51,"satellites":33,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34db8","is_valid_coordinates":true} 
[2026-08-05 18:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785933830000,"timestamp_ms":1785933830000,"timestamp_seconds":1785933830,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f39770"} 
[2026-08-05 18:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:17: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-08-05 18: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13461,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:17:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13461,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":151223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:17:08] local.INFO: GPS data processed {"connection_id":151223,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:17:08] local.INFO: Acknowledgment sent {"connection_id":151223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:17:10] local.INFO: TCP Data received {"connection_id":149799,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f5e930012d187700072182000050006827..."} 
[2026-08-05 18:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f5e930012d187700072182000050006827..."} 
[2026-08-05 18:17:10] local.INFO: Processing buffer {"connection_id":149799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f5e930012d187700072182000050006827..."} 
[2026-08-05 18:17:10] local.INFO: Packet analysis {"connection_id":149799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:17:10] local.INFO: Extracted packet for processing {"connection_id":149799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:17:10] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636480,"longitude_deg":75.6578048,"latitude_deg":11.963648,"altitude":80,"angle":104,"satellites":39,"speed":6,"hex_longitude":"2d187700","hex_latitude":"07218200","is_valid_coordinates":true} 
[2026-08-05 18:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199097088001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10757050535510016,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759640847533617152,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785933982000,"timestamp_ms":1785933982000,"timestamp_seconds":1785933982,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f5e930"} 
[2026-08-05 18:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:17: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-08-05 18:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-05 18:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":149799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:17: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-08-05 18:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199097088001,"66":12972,"106":206,"83":41984,"24":6,"16":10757050535510016,"45":1759640847533617152},"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-08-05 18:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199097088001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:17:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10757050535510016,"km_value":10757050535510.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759640847533617152,"description":"Unknown IO ID 45"} 
[2026-08-05 18:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199097088001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1759640847533617152}} 
[2026-08-05 18:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":149799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:17:10] local.INFO: GPS data processed {"connection_id":149799,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:17:10] local.INFO: Acknowledgment sent {"connection_id":149799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:17:40] local.INFO: TCP Data received {"connection_id":151223,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:17:40] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:17:40] local.INFO: Packet analysis {"connection_id":151223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:17:40] local.INFO: Extracted packet for processing {"connection_id":151223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734072,"longitude_deg":76.3245952,"latitude_deg":9.7734072,"altitude":2,"angle":51,"satellites":33,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34db8","is_valid_coordinates":true} 
[2026-08-05 18:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785933830000,"timestamp_ms":1785933830000,"timestamp_seconds":1785933830,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f39770"} 
[2026-08-05 18:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:17: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-08-05 18:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13461,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:17:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13461,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":151223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:17:40] local.INFO: GPS data processed {"connection_id":151223,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:17:40] local.INFO: Acknowledgment sent {"connection_id":151223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:17:41] local.INFO: TCP Data received {"connection_id":149799,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f5ed18012d1877c0072181a80050007a27..."} 
[2026-08-05 18:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f5ed18012d1877c0072181a80050007a27..."} 
[2026-08-05 18:17:41] local.INFO: Processing buffer {"connection_id":149799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f5ed18012d1877c0072181a80050007a27..."} 
[2026-08-05 18:17:41] local.INFO: Packet analysis {"connection_id":149799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:17:41] local.INFO: Extracted packet for processing {"connection_id":149799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756578240,"raw_latitude":119636392,"longitude_deg":75.657824,"latitude_deg":11.9636392,"altitude":80,"angle":122,"satellites":39,"speed":6,"hex_longitude":"2d1877c0","hex_latitude":"072181a8","is_valid_coordinates":true} 
[2026-08-05 18:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199099392001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10757059125444608,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765777408,"note":"Value kept but may cause issues"} 
[2026-08-05 18:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785933983000,"timestamp_ms":1785933983000,"timestamp_seconds":1785933983,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f5ed18"} 
[2026-08-05 18:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-05 18:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":149799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:17: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-08-05 18:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199099392001,"66":12993,"106":206,"83":41984,"24":6,"16":10757059125444608,"45":1762877809765777408},"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-08-05 18:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199099392001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:17:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10757059125444608,"km_value":10757059125444.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765777408,"description":"Unknown IO ID 45"} 
[2026-08-05 18:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199099392001,"power":12993,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1762877809765777408}} 
[2026-08-05 18:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":149799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:17:41] local.INFO: GPS data processed {"connection_id":149799,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:17:41] local.INFO: Acknowledgment sent {"connection_id":149799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:18:03] local.INFO: TCP Data received {"connection_id":148796,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:18:03] local.INFO: Processing buffer {"connection_id":148796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:18:03] local.INFO: IMEI packet received {"connection_id":148796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":148796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:18:08] local.INFO: TCP Data received {"connection_id":148796,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:18:08] local.INFO: Processing buffer {"connection_id":148796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:18:08] local.INFO: IMEI packet received {"connection_id":148796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":148796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:18:09] local.INFO: TCP Data received {"connection_id":148796,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:18:09] local.INFO: Processing buffer {"connection_id":148796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:18:09] local.INFO: Packet analysis {"connection_id":148796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:18:09] local.INFO: Extracted packet for processing {"connection_id":148796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734072,"longitude_deg":76.3245952,"latitude_deg":9.7734072,"altitude":2,"angle":51,"satellites":33,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34db8","is_valid_coordinates":true} 
[2026-08-05 18:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785933830000,"timestamp_ms":1785933830000,"timestamp_seconds":1785933830,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f39770"} 
[2026-08-05 18:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13461,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:18:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13461,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":148796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:18:09] local.INFO: GPS data processed {"connection_id":148796,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:18:09] local.INFO: Acknowledgment sent {"connection_id":148796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:18:12] local.INFO: TCP Data received {"connection_id":149799,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f5f100012d18780007218120005000a327..."} 
[2026-08-05 18:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f5f100012d18780007218120005000a327..."} 
[2026-08-05 18:18:12] local.INFO: Processing buffer {"connection_id":149799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f5f100012d18780007218120005000a327..."} 
[2026-08-05 18:18:12] local.INFO: Packet analysis {"connection_id":149799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:18:12] local.INFO: Extracted packet for processing {"connection_id":149799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756578304,"raw_latitude":119636256,"longitude_deg":75.6578304,"latitude_deg":11.9636256,"altitude":80,"angle":163,"satellites":39,"speed":5,"hex_longitude":"2d187800","hex_latitude":"07218120","is_valid_coordinates":true} 
[2026-08-05 18:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199099648001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10757067715379200,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763088915998287872,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785933984000,"timestamp_ms":1785933984000,"timestamp_seconds":1785933984,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f5f100"} 
[2026-08-05 18:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 18:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":149799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:18: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-08-05 18:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199099648001,"66":12993,"106":206,"83":41984,"24":5,"16":10757067715379200,"45":1763088915998287872},"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-08-05 18:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199099648001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:18:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10757067715379200,"km_value":10757067715379.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763088915998287872,"description":"Unknown IO ID 45"} 
[2026-08-05 18:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199099648001,"power":12993,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1763088915998287872}} 
[2026-08-05 18:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":149799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:18:12] local.INFO: GPS data processed {"connection_id":149799,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:18:12] local.INFO: Acknowledgment sent {"connection_id":149799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:18:40] local.INFO: TCP Data received {"connection_id":148796,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:18:40] local.INFO: Processing buffer {"connection_id":148796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f39770012d7e358005d34db80002003321..."} 
[2026-08-05 18:18:40] local.INFO: Packet analysis {"connection_id":148796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:18:40] local.INFO: Extracted packet for processing {"connection_id":148796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f3"} 
[2026-08-05 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734072,"longitude_deg":76.3245952,"latitude_deg":9.7734072,"altitude":2,"angle":51,"satellites":33,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34db8","is_valid_coordinates":true} 
[2026-08-05 18:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785933830000,"timestamp_ms":1785933830000,"timestamp_seconds":1785933830,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f39770"} 
[2026-08-05 18:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:18: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-08-05 18:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13461,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:18:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13461,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":148796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:18:40] local.INFO: GPS data processed {"connection_id":148796,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:18:40] local.INFO: Acknowledgment sent {"connection_id":148796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:18:43] local.INFO: TCP Data received {"connection_id":149799,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f64308012d18780007218070005100a326..."} 
[2026-08-05 18:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f64308012d18780007218070005100a326..."} 
[2026-08-05 18:18:43] local.INFO: Processing buffer {"connection_id":149799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f64308012d18780007218070005100a326..."} 
[2026-08-05 18:18:43] local.INFO: Packet analysis {"connection_id":149799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f6"} 
[2026-08-05 18:18:43] local.INFO: Extracted packet for processing {"connection_id":149799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f6"} 
[2026-08-05 18:18:43] local.INFO: GPS Element Parsed {"raw_longitude":756578304,"raw_latitude":119636080,"longitude_deg":75.6578304,"latitude_deg":11.963608,"altitude":81,"angle":163,"satellites":38,"speed":0,"hex_longitude":"2d187800","hex_latitude":"07218070","is_valid_coordinates":true} 
[2026-08-05 18:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199099904001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10757076305313792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763159284742430720,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785934005000,"timestamp_ms":1785934005000,"timestamp_seconds":1785934005,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f64308"} 
[2026-08-05 18:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 18:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":149799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":149799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:18: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-08-05 18:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199099904001,"66":12950,"106":206,"83":41984,"24":0,"16":10757076305313792,"45":1763159284742430720},"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-08-05 18:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199099904001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:18:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:18:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10757076305313792,"km_value":10757076305313.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763159284742430720,"description":"Unknown IO ID 45"} 
[2026-08-05 18:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199099904001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1763159284742430720}} 
[2026-08-05 18:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":149799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:18:43] local.INFO: GPS data processed {"connection_id":149799,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:18:43] local.INFO: Acknowledgment sent {"connection_id":149799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:18:54] local.INFO: TCP Data received {"connection_id":151224,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:18:54] local.INFO: Processing buffer {"connection_id":151224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:18:54] local.INFO: IMEI packet received {"connection_id":151224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":151224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:18:57] local.INFO: TCP Data received {"connection_id":151224,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f489a0012d77a98005f27820000d001327..."} 
[2026-08-05 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f489a0012d77a98005f27820000d001327..."} 
[2026-08-05 18:18:57] local.INFO: Processing buffer {"connection_id":151224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f489a0012d77a98005f27820000d001327..."} 
[2026-08-05 18:18:57] local.INFO: Packet analysis {"connection_id":151224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f4"} 
[2026-08-05 18:18:57] local.INFO: Extracted packet for processing {"connection_id":151224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f4"} 
[2026-08-05 18:18:57] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99776544,"longitude_deg":76.2816896,"latitude_deg":9.9776544,"altitude":13,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27820","is_valid_coordinates":true} 
[2026-08-05 18:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199020800001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785933892000,"timestamp_ms":1785933892000,"timestamp_seconds":1785933892,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f489a0"} 
[2026-08-05 18:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 18:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199020800001,"66":25973,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199020800001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:18:57] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:18:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199020800001,"power":25973,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":151224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:18:58] local.INFO: GPS data processed {"connection_id":151224,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:18:58] local.INFO: Acknowledgment sent {"connection_id":151224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:19:08] local.INFO: TCP Data received {"connection_id":149801,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:19:08] local.INFO: Processing buffer {"connection_id":149801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:19:08] local.INFO: IMEI packet received {"connection_id":149801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":149801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:19:09] local.INFO: TCP Data received {"connection_id":151225,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:19:09] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:19:09] local.INFO: IMEI packet received {"connection_id":151225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":151225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:19:13] local.INFO: TCP Data received {"connection_id":149801,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:19:13] local.INFO: Processing buffer {"connection_id":149801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:19:13] local.INFO: IMEI packet received {"connection_id":149801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":149801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:19:14] local.INFO: TCP Data received {"connection_id":149801,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:19:14] local.INFO: Processing buffer {"connection_id":149801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:19:14] local.INFO: Packet analysis {"connection_id":149801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:19:14] local.INFO: Extracted packet for processing {"connection_id":149801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:19:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785934131000,"timestamp_ms":1785934131000,"timestamp_seconds":1785934131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f82f38"} 
[2026-08-05 18:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13048,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:19:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:19:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:19:14] local.INFO: TCP Data received {"connection_id":151225,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:19:14] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:19:14] local.INFO: IMEI packet received {"connection_id":151225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":151225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":149801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:19:14] local.INFO: GPS data processed {"connection_id":149801,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:19:14] local.INFO: Acknowledgment sent {"connection_id":149801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:19:14] local.INFO: TCP Data received {"connection_id":148797,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:19:14] local.INFO: Processing buffer {"connection_id":148797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:19:14] local.INFO: IMEI packet received {"connection_id":148797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":148797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:19:14] local.INFO: TCP Data received {"connection_id":151225,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f69510012d18780007218070005100a325..."} 
[2026-08-05 18:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f69510012d18780007218070005100a325..."} 
[2026-08-05 18:19:14] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f69510012d18780007218070005100a325..."} 
[2026-08-05 18:19:14] local.INFO: Packet analysis {"connection_id":151225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f6"} 
[2026-08-05 18:19:14] local.INFO: Extracted packet for processing {"connection_id":151225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f6"} 
[2026-08-05 18:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756578304,"raw_latitude":119636080,"longitude_deg":75.6578304,"latitude_deg":11.963608,"altitude":81,"angle":163,"satellites":37,"speed":0,"hex_longitude":"2d187800","hex_latitude":"07218070","is_valid_coordinates":true} 
[2026-08-05 18:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199105280001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10757076305313792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763159284742385664,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785934026000,"timestamp_ms":1785934026000,"timestamp_seconds":1785934026,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f69510"} 
[2026-08-05 18:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 18:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:19: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-08-05 18:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199105280001,"66":12917,"106":206,"83":41984,"24":0,"16":10757076305313792,"45":1763159284742385664},"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-08-05 18:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199105280001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:19:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:19:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10757076305313792,"km_value":10757076305313.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763159284742385664,"description":"Unknown IO ID 45"} 
[2026-08-05 18:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199105280001,"power":12917,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1763159284742385664}} 
[2026-08-05 18:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":151225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:19:15] local.INFO: GPS data processed {"connection_id":151225,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:19:15] local.INFO: Acknowledgment sent {"connection_id":151225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:19:18] local.INFO: TCP Data received {"connection_id":149801,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:19:18] local.INFO: Processing buffer {"connection_id":149801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:19:18] local.INFO: Packet analysis {"connection_id":149801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:19:18] local.INFO: Extracted packet for processing {"connection_id":149801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785934131000,"timestamp_ms":1785934131000,"timestamp_seconds":1785934131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f82f38"} 
[2026-08-05 18:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13048,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:19:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":149801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:19:18] local.INFO: GPS data processed {"connection_id":149801,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:19:18] local.INFO: Acknowledgment sent {"connection_id":149801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:19:20] local.INFO: TCP Data received {"connection_id":148797,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:19:20] local.INFO: Processing buffer {"connection_id":148797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:19:20] local.INFO: IMEI packet received {"connection_id":148797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":148797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:19:25] local.INFO: TCP Data received {"connection_id":148797,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:19:25] local.INFO: Processing buffer {"connection_id":148797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:19:25] local.INFO: IMEI packet received {"connection_id":148797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":148797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:19:26] local.INFO: TCP Data received {"connection_id":148797,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f49d28012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f49d28012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:19:26] local.INFO: Processing buffer {"connection_id":148797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f49d28012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:19:26] local.INFO: Packet analysis {"connection_id":148797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f4"} 
[2026-08-05 18:19:26] local.INFO: Extracted packet for processing {"connection_id":148797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f4"} 
[2026-08-05 18:19:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199076352001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608675840,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785933897000,"timestamp_ms":1785933897000,"timestamp_seconds":1785933897,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f49d28"} 
[2026-08-05 18:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 18:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199076352001,"66":25756,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622563724608675840},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199076352001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:19:26] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:19:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608675840,"description":"Unknown IO ID 45"} 
[2026-08-05 18:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199076352001,"power":25756,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608675840}} 
[2026-08-05 18:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":148797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:19:26] local.INFO: GPS data processed {"connection_id":148797,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:19:26] local.INFO: Acknowledgment sent {"connection_id":148797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:19:45] local.INFO: TCP Data received {"connection_id":151225,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f6e718012d18780007218070005100a327..."} 
[2026-08-05 18:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f6e718012d18780007218070005100a327..."} 
[2026-08-05 18:19:45] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f6e718012d18780007218070005100a327..."} 
[2026-08-05 18:19:45] local.INFO: Packet analysis {"connection_id":151225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f6"} 
[2026-08-05 18:19:45] local.INFO: Extracted packet for processing {"connection_id":151225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f6"} 
[2026-08-05 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756578304,"raw_latitude":119636080,"longitude_deg":75.6578304,"latitude_deg":11.963608,"altitude":81,"angle":163,"satellites":39,"speed":0,"hex_longitude":"2d187800","hex_latitude":"07218070","is_valid_coordinates":true} 
[2026-08-05 18:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199110656001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10757076305313792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763159284742385664,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19: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-08-05 18:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785934047000,"timestamp_ms":1785934047000,"timestamp_seconds":1785934047,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f6e718"} 
[2026-08-05 18:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 18:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18: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-08-05 18:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199110656001,"66":12819,"106":206,"83":41984,"24":0,"16":10757076305313792,"45":1763159284742385664},"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-08-05 18:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199110656001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:19:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10757076305313792,"km_value":10757076305313.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763159284742385664,"description":"Unknown IO ID 45"} 
[2026-08-05 18:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199110656001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1763159284742385664}} 
[2026-08-05 18:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":151225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:19:45] local.INFO: GPS data processed {"connection_id":151225,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:19:45] local.INFO: Acknowledgment sent {"connection_id":151225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:19:57] local.INFO: TCP Data received {"connection_id":148797,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f4ef30012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f4ef30012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:19:57] local.INFO: Processing buffer {"connection_id":148797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f4ef30012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:19:57] local.INFO: Packet analysis {"connection_id":148797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f4"} 
[2026-08-05 18:19:57] local.INFO: Extracted packet for processing {"connection_id":148797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f4"} 
[2026-08-05 18:19:57] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199077632001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785933918000,"timestamp_ms":1785933918000,"timestamp_seconds":1785933918,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f4ef30"} 
[2026-08-05 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-08-05 18:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-05 18:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199077632001,"66":25375,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199077632001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:19:57] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:19:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199077632001,"power":25375,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":148797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:19:57] local.INFO: GPS data processed {"connection_id":148797,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:19:57] local.INFO: Acknowledgment sent {"connection_id":148797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:20:03] local.INFO: TCP Data received {"connection_id":149802,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:20:03] local.INFO: Processing buffer {"connection_id":149802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:20:03] local.INFO: IMEI packet received {"connection_id":149802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":149802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:20:08] local.INFO: TCP Data received {"connection_id":149802,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:20:08] local.INFO: Processing buffer {"connection_id":149802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:20:08] local.INFO: IMEI packet received {"connection_id":149802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":149802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:20:09] local.INFO: TCP Data received {"connection_id":149802,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:20:09] local.INFO: Processing buffer {"connection_id":149802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:20:09] local.INFO: Packet analysis {"connection_id":149802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:20:09] local.INFO: Extracted packet for processing {"connection_id":149802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785934131000,"timestamp_ms":1785934131000,"timestamp_seconds":1785934131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f82f38"} 
[2026-08-05 18:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13048,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:20:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":149802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:20:09] local.INFO: GPS data processed {"connection_id":149802,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:20:09] local.INFO: Acknowledgment sent {"connection_id":149802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:20:16] local.INFO: TCP Data received {"connection_id":151225,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f8c3a8012d181ec00721a5a8004c011a26..."} 
[2026-08-05 18:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f8c3a8012d181ec00721a5a8004c011a26..."} 
[2026-08-05 18:20:16] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f8c3a8012d181ec00721a5a8004c011a26..."} 
[2026-08-05 18:20:16] local.INFO: Packet analysis {"connection_id":151225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:20:16] local.INFO: Extracted packet for processing {"connection_id":151225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119645608,"longitude_deg":75.6555456,"latitude_deg":11.9645608,"altitude":76,"angle":282,"satellites":38,"speed":5,"hex_longitude":"2d181ec0","hex_latitude":"0721a5a8","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199146240001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10758326140796928,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259254784,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785934169000,"timestamp_ms":1785934169000,"timestamp_seconds":1785934169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f8c3a8"} 
[2026-08-05 18:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-05 18:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:20: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-08-05 18:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199146240001,"66":14428,"107":206,"83":41984,"24":5,"16":10758326140796928,"45":1738811699259254784},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199146240001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:20:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10758326140796928,"km_value":10758326140796.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259254784,"description":"Unknown IO ID 45"} 
[2026-08-05 18:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199146240001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738811699259254784}} 
[2026-08-05 18:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":151225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:20:16] local.INFO: GPS data processed {"connection_id":151225,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:20:16] local.INFO: Acknowledgment sent {"connection_id":151225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:20:20] local.INFO: TCP Data received {"connection_id":148580,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:20:20] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:20:20] local.INFO: IMEI packet received {"connection_id":148580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":148580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:20:24] local.INFO: TCP Data received {"connection_id":148580,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:20:24] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:20:24] local.INFO: IMEI packet received {"connection_id":148580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":148580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:20:30] local.INFO: TCP Data received {"connection_id":148580,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:20:30] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:20:30] local.INFO: IMEI packet received {"connection_id":148580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":148580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:20:33] local.INFO: TCP Data received {"connection_id":148580,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f54138012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f54138012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:20:33] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f54138012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:20:33] local.INFO: Packet analysis {"connection_id":148580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:20:33] local.INFO: Extracted packet for processing {"connection_id":148580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199083008001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785933939000,"timestamp_ms":1785933939000,"timestamp_seconds":1785933939,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f54138"} 
[2026-08-05 18:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 18:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199083008001,"66":25495,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199083008001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:20:33] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:20:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199083008001,"power":25495,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":148580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:20:33] local.INFO: GPS data processed {"connection_id":148580,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:20:33] local.INFO: Acknowledgment sent {"connection_id":148580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:20:35] local.INFO: TCP Data received {"connection_id":148580,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f59340012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f59340012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:20:35] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f59340012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:20:35] local.INFO: Packet analysis {"connection_id":148580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:20:35] local.INFO: Extracted packet for processing {"connection_id":148580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:20:35] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199088384001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785933960000,"timestamp_ms":1785933960000,"timestamp_seconds":1785933960,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f59340"} 
[2026-08-05 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-08-05 18:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 18:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199088384001,"66":25462,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199088384001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:20:35] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:20:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199088384001,"power":25462,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":148580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:20:35] local.INFO: GPS data processed {"connection_id":148580,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:20:35] local.INFO: Acknowledgment sent {"connection_id":148580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:20:40] local.INFO: TCP Data received {"connection_id":149802,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:20:40] local.INFO: Processing buffer {"connection_id":149802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:20:40] local.INFO: Packet analysis {"connection_id":149802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:20:40] local.INFO: Extracted packet for processing {"connection_id":149802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785934131000,"timestamp_ms":1785934131000,"timestamp_seconds":1785934131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f82f38"} 
[2026-08-05 18:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:20: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-08-05 18:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13048,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:20:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":149802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:20:40] local.INFO: GPS data processed {"connection_id":149802,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:20:40] local.INFO: Acknowledgment sent {"connection_id":149802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:20:48] local.INFO: TCP Data received {"connection_id":151225,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f8d730012d181c800721a548004b00de25..."} 
[2026-08-05 18:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f8d730012d181c800721a548004b00de25..."} 
[2026-08-05 18:20:48] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f8d730012d181c800721a548004b00de25..."} 
[2026-08-05 18:20:48] local.INFO: Packet analysis {"connection_id":151225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:20:48] local.INFO: Extracted packet for processing {"connection_id":151225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:20:48] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645512,"longitude_deg":75.655488,"latitude_deg":11.9645512,"altitude":75,"angle":222,"satellites":37,"speed":6,"hex_longitude":"2d181c80","hex_latitude":"0721a548","is_valid_coordinates":true} 
[2026-08-05 18:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199147264001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10758356205568000,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073398784,"note":"Value kept but may cause issues"} 
[2026-08-05 18:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785934174000,"timestamp_ms":1785934174000,"timestamp_seconds":1785934174,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f8d730"} 
[2026-08-05 18:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 18:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199147264001,"66":14396,"107":206,"83":41984,"24":6,"16":10758356205568000,"45":1738037643073398784},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199147264001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:20:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:20:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10758356205568000,"km_value":10758356205568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073398784,"description":"Unknown IO ID 45"} 
[2026-08-05 18:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199147264001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738037643073398784}} 
[2026-08-05 18:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":151225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:20:48] local.INFO: GPS data processed {"connection_id":151225,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:20:48] local.INFO: Acknowledgment sent {"connection_id":151225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:21:03] local.INFO: TCP Data received {"connection_id":151226,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:21:03] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:21:03] local.INFO: IMEI packet received {"connection_id":151226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":151226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:21:08] local.INFO: TCP Data received {"connection_id":151226,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:21:08] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:21:08] local.INFO: IMEI packet received {"connection_id":151226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":151226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:21:09] local.INFO: TCP Data received {"connection_id":151226,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:21:09] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:21:09] local.INFO: Packet analysis {"connection_id":151226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:21:09] local.INFO: Extracted packet for processing {"connection_id":151226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785934131000,"timestamp_ms":1785934131000,"timestamp_seconds":1785934131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f82f38"} 
[2026-08-05 18:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13048,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:21:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":151226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:21:09] local.INFO: GPS data processed {"connection_id":151226,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:21:09] local.INFO: Acknowledgment sent {"connection_id":151226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:21:09] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:21:09] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:21:09] local.INFO: IMEI packet received {"connection_id":148581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":148581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:21:14] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:21:14] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:21:14] local.INFO: IMEI packet received {"connection_id":148581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":148581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:21:14] local.INFO: TCP Data received {"connection_id":148582,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:21:14] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:21:14] local.INFO: IMEI packet received {"connection_id":148582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":148582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:21:14] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:21:14] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:21:14] local.INFO: IMEI packet received {"connection_id":148581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":148581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:21:15] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f95818012d180bc0072179e0004500a024..."} 
[2026-08-05 18:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f95818012d180bc0072179e0004500a024..."} 
[2026-08-05 18:21:15] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f95818012d180bc0072179e0004500a024..."} 
[2026-08-05 18:21:15] local.INFO: Packet analysis {"connection_id":148581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:21:15] local.INFO: Extracted packet for processing {"connection_id":148581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756550592,"raw_latitude":119634400,"longitude_deg":75.6550592,"latitude_deg":11.96344,"altitude":69,"angle":160,"satellites":36,"speed":7,"hex_longitude":"2d180bc0","hex_latitude":"072179e0","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199156736001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10758983270793216,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249768898560,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785934207000,"timestamp_ms":1785934207000,"timestamp_seconds":1785934207,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f95818"} 
[2026-08-05 18:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:21: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-08-05 18: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 18:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:21: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-08-05 18:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199156736001,"66":14363,"107":206,"83":41984,"24":7,"16":10758983270793216,"45":1732619249768898560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199156736001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:21:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10758983270793216,"km_value":10758983270793.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249768898560,"description":"Unknown IO ID 45"} 
[2026-08-05 18:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199156736001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1732619249768898560}} 
[2026-08-05 18:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":148581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:21:15] local.INFO: GPS data processed {"connection_id":148581,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:21:15] local.INFO: Acknowledgment sent {"connection_id":148581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:21:16] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f963d0012d180cc0072177980045009325..."} 
[2026-08-05 18:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f963d0012d180cc0072177980045009325..."} 
[2026-08-05 18:21:16] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f963d0012d180cc0072177980045009325..."} 
[2026-08-05 18:21:16] local.INFO: Packet analysis {"connection_id":148581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:21:16] local.INFO: Extracted packet for processing {"connection_id":148581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:21:16] local.INFO: GPS Element Parsed {"raw_longitude":756550848,"raw_latitude":119633816,"longitude_deg":75.6550848,"latitude_deg":11.9633816,"altitude":69,"angle":147,"satellites":37,"speed":9,"hex_longitude":"2d180cc0","hex_latitude":"07217798","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199156992001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10759013335564288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732689618513027072,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785934210000,"timestamp_ms":1785934210000,"timestamp_seconds":1785934210,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f963d0"} 
[2026-08-05 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-08-05 18:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-05 18:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:21: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-08-05 18:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199156992001,"66":14374,"107":206,"83":41984,"24":9,"16":10759013335564288,"45":1732689618513027072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199156992001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:21:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:21:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10759013335564288,"km_value":10759013335564.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732689618513027072,"description":"Unknown IO ID 45"} 
[2026-08-05 18:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199156992001,"power":14374,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1732689618513027072}} 
[2026-08-05 18:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":148581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:21:16] local.INFO: GPS data processed {"connection_id":148581,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:21:16] local.INFO: Acknowledgment sent {"connection_id":148581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:21:19] local.INFO: TCP Data received {"connection_id":148582,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:21:19] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:21:19] local.INFO: IMEI packet received {"connection_id":148582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":148582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:21:23] local.INFO: TCP Data received {"connection_id":148582,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f5cdd8012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f5cdd8012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:21:23] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f5cdd8012d77a94005f27ae0000d000027..."} 
[2026-08-05 18:21:23] local.INFO: Packet analysis {"connection_id":148582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:21:23] local.INFO: Extracted packet for processing {"connection_id":148582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f5"} 
[2026-08-05 18:21:23] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199093760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785933975000,"timestamp_ms":1785933975000,"timestamp_seconds":1785933975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f5cdd8"} 
[2026-08-05 18:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 18:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199093760001,"66":25158,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199093760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:21:23] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:21:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199093760001,"power":25158,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":148582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:21:23] local.INFO: GPS data processed {"connection_id":148582,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:21:23] local.INFO: Acknowledgment sent {"connection_id":148582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:21:40] local.INFO: TCP Data received {"connection_id":151226,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:21:40] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:21:40] local.INFO: Packet analysis {"connection_id":151226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:21:40] local.INFO: Extracted packet for processing {"connection_id":151226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785934131000,"timestamp_ms":1785934131000,"timestamp_seconds":1785934131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f82f38"} 
[2026-08-05 18:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:21: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-08-05 18:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13048,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"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-08-05 18:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:21:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":151226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:21:40] local.INFO: GPS data processed {"connection_id":151226,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:21:40] local.INFO: Acknowledgment sent {"connection_id":151226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:21:47] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f96f88012d180e40072174e80044009f24..."} 
[2026-08-05 18:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f96f88012d180e40072174e80044009f24..."} 
[2026-08-05 18:21:47] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f96f88012d180e40072174e80044009f24..."} 
[2026-08-05 18:21:47] local.INFO: Packet analysis {"connection_id":148581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:21:47] local.INFO: Extracted packet for processing {"connection_id":148581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756551232,"raw_latitude":119633128,"longitude_deg":75.6551232,"latitude_deg":11.9633128,"altitude":68,"angle":159,"satellites":36,"speed":9,"hex_longitude":"2d180e40","hex_latitude":"072174e8","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199157760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10759051990269952,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732971093489588224,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785934213000,"timestamp_ms":1785934213000,"timestamp_seconds":1785934213,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f96f88"} 
[2026-08-05 18:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 18:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:21: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-08-05 18:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199157760001,"66":14396,"107":206,"83":41984,"24":9,"16":10759051990269952,"45":1732971093489588224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199157760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:21:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10759051990269952,"km_value":10759051990269.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732971093489588224,"description":"Unknown IO ID 45"} 
[2026-08-05 18:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199157760001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1732971093489588224}} 
[2026-08-05 18:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":148581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:21:47] local.INFO: GPS data processed {"connection_id":148581,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:21:47] local.INFO: Acknowledgment sent {"connection_id":148581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:21:54] local.INFO: TCP Data received {"connection_id":148582,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f898b0012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f898b0012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:21:54] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f898b0012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:21:54] local.INFO: Packet analysis {"connection_id":148582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:21:54] local.INFO: Extracted packet for processing {"connection_id":148582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:21:54] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199097600001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785934158000,"timestamp_ms":1785934158000,"timestamp_seconds":1785934158,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f898b0"} 
[2026-08-05 18:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-05 18:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199097600001,"66":25625,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199097600001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:21:54] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:21:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199097600001,"power":25625,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":148582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:21:54] local.INFO: GPS data processed {"connection_id":148582,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:21:54] local.INFO: Acknowledgment sent {"connection_id":148582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:22:03] local.INFO: TCP Data received {"connection_id":149803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:22:03] local.INFO: Processing buffer {"connection_id":149803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:22:03] local.INFO: IMEI packet received {"connection_id":149803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":149803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:22:08] local.INFO: TCP Data received {"connection_id":149803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:22:08] local.INFO: Processing buffer {"connection_id":149803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:22:08] local.INFO: IMEI packet received {"connection_id":149803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":149803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:22:08] local.INFO: TCP Data received {"connection_id":149803,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:22:08] local.INFO: Processing buffer {"connection_id":149803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:22:08] local.INFO: Packet analysis {"connection_id":149803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:22:08] local.INFO: Extracted packet for processing {"connection_id":149803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785934131000,"timestamp_ms":1785934131000,"timestamp_seconds":1785934131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f82f38"} 
[2026-08-05 18:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:22: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-08-05 18: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":149803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":149803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":149803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13048,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:22:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":149803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:22:08] local.INFO: GPS data processed {"connection_id":149803,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:22:08] local.INFO: Acknowledgment sent {"connection_id":149803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:22:10] local.INFO: TCP Data received {"connection_id":148798,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:10] local.INFO: Processing buffer {"connection_id":148798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:10] local.INFO: IMEI packet received {"connection_id":148798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":148798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:22:12] local.INFO: TCP Data received {"connection_id":148798,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:12] local.INFO: Processing buffer {"connection_id":148798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:12] local.INFO: IMEI packet received {"connection_id":148798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":148798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:22:14] local.INFO: TCP Data received {"connection_id":148799,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:22:14] local.INFO: Processing buffer {"connection_id":148799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:22:14] local.INFO: IMEI packet received {"connection_id":148799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":148799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:22:14] local.INFO: TCP Data received {"connection_id":148798,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:14] local.INFO: Processing buffer {"connection_id":148798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:14] local.INFO: IMEI packet received {"connection_id":148798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":148798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:22:15] local.INFO: TCP Data received {"connection_id":148798,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:15] local.INFO: Processing buffer {"connection_id":148798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:22:15] local.INFO: IMEI packet received {"connection_id":148798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":148798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:22:20] local.INFO: TCP Data received {"connection_id":148799,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:22:20] local.INFO: Processing buffer {"connection_id":148799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:22:20] local.INFO: IMEI packet received {"connection_id":148799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":148799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:22:21] local.INFO: TCP Data received {"connection_id":148799,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f8f670012d77a94005f27ae0000d000026..."} 
[2026-08-05 18:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f8f670012d77a94005f27ae0000d000026..."} 
[2026-08-05 18:22:21] local.INFO: Processing buffer {"connection_id":148799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f8f670012d77a94005f27ae0000d000026..."} 
[2026-08-05 18:22:21] local.INFO: Packet analysis {"connection_id":148799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:22:21] local.INFO: Extracted packet for processing {"connection_id":148799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:22:21] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199144448001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785934182000,"timestamp_ms":1785934182000,"timestamp_seconds":1785934182,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f8f670"} 
[2026-08-05 18:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18: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-08-05 18: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":25,"data_length":795,"current_offset":136} 
[2026-08-05 18:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199144448001,"66":25397,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199144448001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:22:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:22:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199144448001,"power":25397,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":148799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:22:21] local.INFO: GPS data processed {"connection_id":148799,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:22:21] local.INFO: Acknowledgment sent {"connection_id":148799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:22:40] local.INFO: TCP Data received {"connection_id":149803,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:22:40] local.INFO: Processing buffer {"connection_id":149803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:22:40] local.INFO: Packet analysis {"connection_id":149803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:22:40] local.INFO: Extracted packet for processing {"connection_id":149803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785934131000,"timestamp_ms":1785934131000,"timestamp_seconds":1785934131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f82f38"} 
[2026-08-05 18:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:22: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-08-05 18: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13048,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:22:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":149803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:22:40] local.INFO: GPS data processed {"connection_id":149803,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:22:40] local.INFO: Acknowledgment sent {"connection_id":149803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:22:52] local.INFO: TCP Data received {"connection_id":148799,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f94878012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f94878012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:22:52] local.INFO: Processing buffer {"connection_id":148799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f94878012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:22:52] local.INFO: Packet analysis {"connection_id":148799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:22:52] local.INFO: Extracted packet for processing {"connection_id":148799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:22:52] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199150592001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785934203000,"timestamp_ms":1785934203000,"timestamp_seconds":1785934203,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f94878"} 
[2026-08-05 18:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 18:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199150592001,"66":25343,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199150592001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:22:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:22:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199150592001,"power":25343,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":148799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:22:52] local.INFO: GPS data processed {"connection_id":148799,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:22:52] local.INFO: Acknowledgment sent {"connection_id":148799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:23:03] local.INFO: TCP Data received {"connection_id":151227,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:23:03] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:23:03] local.INFO: IMEI packet received {"connection_id":151227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":151227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:23:08] local.INFO: TCP Data received {"connection_id":151227,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:23:08] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:23:08] local.INFO: IMEI packet received {"connection_id":151227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":151227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:23:09] local.INFO: TCP Data received {"connection_id":151227,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:23:09] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:23:09] local.INFO: Packet analysis {"connection_id":151227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:23:09] local.INFO: Extracted packet for processing {"connection_id":151227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785934131000,"timestamp_ms":1785934131000,"timestamp_seconds":1785934131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f82f38"} 
[2026-08-05 18:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13048,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:23:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":151227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:23:09] local.INFO: GPS data processed {"connection_id":151227,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:23:09] local.INFO: Acknowledgment sent {"connection_id":151227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:23:21] local.INFO: TCP Data received {"connection_id":148800,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:23:21] local.INFO: Processing buffer {"connection_id":148800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:23:21] local.INFO: IMEI packet received {"connection_id":148800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":148800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:23:25] local.INFO: TCP Data received {"connection_id":148800,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:23:25] local.INFO: Processing buffer {"connection_id":148800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:23:25] local.INFO: IMEI packet received {"connection_id":148800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":148800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:23:26] local.INFO: TCP Data received {"connection_id":148800,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f99a80012d77a94005f27ae0000d000025..."} 
[2026-08-05 18:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f99a80012d77a94005f27ae0000d000025..."} 
[2026-08-05 18:23:26] local.INFO: Processing buffer {"connection_id":148800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f99a80012d77a94005f27ae0000d000025..."} 
[2026-08-05 18:23:26] local.INFO: Packet analysis {"connection_id":148800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:23:26] local.INFO: Extracted packet for processing {"connection_id":148800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:23:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199155968001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785934224000,"timestamp_ms":1785934224000,"timestamp_seconds":1785934224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f99a80"} 
[2026-08-05 18:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 18:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199155968001,"66":25321,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199155968001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:23:26] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:23:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199155968001,"power":25321,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":148800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:23:26] local.INFO: GPS data processed {"connection_id":148800,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:23:26] local.INFO: Acknowledgment sent {"connection_id":148800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:23:30] local.INFO: TCP Data received {"connection_id":148800,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f9ec88012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f9ec88012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:23:30] local.INFO: Processing buffer {"connection_id":148800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f9ec88012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:23:30] local.INFO: Packet analysis {"connection_id":148800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:23:30] local.INFO: Extracted packet for processing {"connection_id":148800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:23:30] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199161344001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785934245000,"timestamp_ms":1785934245000,"timestamp_seconds":1785934245,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f9ec88"} 
[2026-08-05 18:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 18:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199161344001,"66":25288,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199161344001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:23:30] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:23:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199161344001,"power":25288,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":148800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:23:30] local.INFO: GPS data processed {"connection_id":148800,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:23:30] local.INFO: Acknowledgment sent {"connection_id":148800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:23:40] local.INFO: TCP Data received {"connection_id":151227,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:23:40] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f82f38012d7e37c005d34dd80002003326..."} 
[2026-08-05 18:23:40] local.INFO: Packet analysis {"connection_id":151227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:23:40] local.INFO: Extracted packet for processing {"connection_id":151227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f8"} 
[2026-08-05 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199060480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052862464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785934131000,"timestamp_ms":1785934131000,"timestamp_seconds":1785934131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f82f38"} 
[2026-08-05 18:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:23: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-08-05 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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-05 18:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199060480001,"66":13048,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094315785052862464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199060480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:23:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052862464,"description":"Unknown IO ID 45"} 
[2026-08-05 18:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199060480001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052862464}} 
[2026-08-05 18:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":151227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:23:40] local.INFO: GPS data processed {"connection_id":151227,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:23:40] local.INFO: Acknowledgment sent {"connection_id":151227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:24:08] local.INFO: TCP Data received {"connection_id":148801,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:24:08] local.INFO: Processing buffer {"connection_id":148801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:24:08] local.INFO: IMEI packet received {"connection_id":148801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":148801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:24:13] local.INFO: TCP Data received {"connection_id":148801,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:24:13] local.INFO: Processing buffer {"connection_id":148801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:24:13] local.INFO: IMEI packet received {"connection_id":148801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":148801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:24:14] local.INFO: TCP Data received {"connection_id":148801,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fcbb48012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fcbb48012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:24:14] local.INFO: Processing buffer {"connection_id":148801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fcbb48012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:24:14] local.INFO: Packet analysis {"connection_id":148801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:24:14] local.INFO: Extracted packet for processing {"connection_id":148801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:24:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199137536001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785934429000,"timestamp_ms":1785934429000,"timestamp_seconds":1785934429,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fcbb48"} 
[2026-08-05 18:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-05 18:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199137536001,"66":12689,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199137536001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:24:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:24:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199137536001,"power":12689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":148801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:24:14] local.INFO: GPS data processed {"connection_id":148801,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:24:14] local.INFO: Acknowledgment sent {"connection_id":148801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:24:16] local.INFO: TCP Data received {"connection_id":149806,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:16] local.INFO: Processing buffer {"connection_id":149806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:16] local.INFO: IMEI packet received {"connection_id":149806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":149806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:24:18] local.INFO: TCP Data received {"connection_id":148801,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fcbb48012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fcbb48012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:24:18] local.INFO: Processing buffer {"connection_id":148801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fcbb48012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:24:18] local.INFO: Packet analysis {"connection_id":148801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:24:18] local.INFO: Extracted packet for processing {"connection_id":148801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:24:18] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199213824001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785934429000,"timestamp_ms":1785934429000,"timestamp_seconds":1785934429,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fcbb48"} 
[2026-08-05 18:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 18:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199213824001,"66":12689,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199213824001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:24:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:24:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199213824001,"power":12689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":148801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:24:18] local.INFO: GPS data processed {"connection_id":148801,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:24:18] local.INFO: Acknowledgment sent {"connection_id":148801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:24:26] local.INFO: TCP Data received {"connection_id":149806,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:26] local.INFO: Processing buffer {"connection_id":149806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:26] local.INFO: IMEI packet received {"connection_id":149806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":149806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:24:27] local.INFO: TCP Data received {"connection_id":149806,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:27] local.INFO: Processing buffer {"connection_id":149806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:27] local.INFO: IMEI packet received {"connection_id":149806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":149806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:24:30] local.INFO: TCP Data received {"connection_id":149806,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:30] local.INFO: Processing buffer {"connection_id":149806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:24:30] local.INFO: IMEI packet received {"connection_id":149806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":149806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:24:31] local.INFO: TCP Data received {"connection_id":149806,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:24:31] local.INFO: Processing buffer {"connection_id":149806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:24:31] local.INFO: Packet analysis {"connection_id":149806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:24:31] local.INFO: Extracted packet for processing {"connection_id":149806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:24:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199166720001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785934248000,"timestamp_ms":1785934248000,"timestamp_seconds":1785934248,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f9f840"} 
[2026-08-05 18:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 18:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199166720001,"66":25299,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199166720001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:24:31] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:24:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199166720001,"power":25299,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":149806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:24:31] local.INFO: GPS data processed {"connection_id":149806,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:24:31] local.INFO: Acknowledgment sent {"connection_id":149806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:24:34] local.INFO: TCP Data received {"connection_id":149806,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:24:34] local.INFO: Processing buffer {"connection_id":149806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:24:34] local.INFO: Packet analysis {"connection_id":149806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:24:34] local.INFO: Extracted packet for processing {"connection_id":149806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:24:34] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199166720001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785934248000,"timestamp_ms":1785934248000,"timestamp_seconds":1785934248,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f9f840"} 
[2026-08-05 18:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 18:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":149806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":149806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":149806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199166720001,"66":25299,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199166720001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:24:34] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:24:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199166720001,"power":25299,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":149806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:24:34] local.INFO: GPS data processed {"connection_id":149806,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:24:34] local.INFO: Acknowledgment sent {"connection_id":149806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:25:03] local.INFO: TCP Data received {"connection_id":151228,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:25:03] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:25:03] local.INFO: IMEI packet received {"connection_id":151228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":151228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:25:08] local.INFO: TCP Data received {"connection_id":151228,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:25:08] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:25:08] local.INFO: IMEI packet received {"connection_id":151228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":151228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:25:09] local.INFO: TCP Data received {"connection_id":151228,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:25:09] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:25:09] local.INFO: Packet analysis {"connection_id":151228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:25:09] local.INFO: Extracted packet for processing {"connection_id":151228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199213824001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785934432000,"timestamp_ms":1785934432000,"timestamp_seconds":1785934432,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fcc700"} 
[2026-08-05 18:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 18:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199213824001,"66":4394,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199213824001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:25:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199213824001,"power":4394,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":151228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:25:09] local.INFO: GPS data processed {"connection_id":151228,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:25:09] local.INFO: Acknowledgment sent {"connection_id":151228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:25:19] local.INFO: TCP Data received {"connection_id":148802,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:25:19] local.INFO: Processing buffer {"connection_id":148802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:25:19] local.INFO: IMEI packet received {"connection_id":148802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":148802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:25:25] local.INFO: TCP Data received {"connection_id":148802,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:25:25] local.INFO: Processing buffer {"connection_id":148802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:25:25] local.INFO: IMEI packet received {"connection_id":148802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":148802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:25:26] local.INFO: TCP Data received {"connection_id":148802,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:25:26] local.INFO: Processing buffer {"connection_id":148802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:25:26] local.INFO: Packet analysis {"connection_id":148802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:25:26] local.INFO: Extracted packet for processing {"connection_id":148802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:25:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199166720001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785934248000,"timestamp_ms":1785934248000,"timestamp_seconds":1785934248,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f9f840"} 
[2026-08-05 18:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 18:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199166720001,"66":25299,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199166720001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:25:26] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:25:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199166720001,"power":25299,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":148802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:25:26] local.INFO: GPS data processed {"connection_id":148802,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:25:26] local.INFO: Acknowledgment sent {"connection_id":148802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:25:29] local.INFO: TCP Data received {"connection_id":148802,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:25:29] local.INFO: Processing buffer {"connection_id":148802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:25:29] local.INFO: Packet analysis {"connection_id":148802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:25:29] local.INFO: Extracted packet for processing {"connection_id":148802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:25:29] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199166720001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785934248000,"timestamp_ms":1785934248000,"timestamp_seconds":1785934248,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f9f840"} 
[2026-08-05 18:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 18:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199166720001,"66":25299,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199166720001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:25:29] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:25:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199166720001,"power":25299,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":148802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:25:29] local.INFO: GPS data processed {"connection_id":148802,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:25:29] local.INFO: Acknowledgment sent {"connection_id":148802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:25:40] local.INFO: TCP Data received {"connection_id":151228,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:25:40] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:25:40] local.INFO: Packet analysis {"connection_id":151228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:25:40] local.INFO: Extracted packet for processing {"connection_id":151228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199213824001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785934432000,"timestamp_ms":1785934432000,"timestamp_seconds":1785934432,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fcc700"} 
[2026-08-05 18:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 18:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199213824001,"66":4394,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199213824001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:25:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199213824001,"power":4394,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":151228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:25:40] local.INFO: GPS data processed {"connection_id":151228,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:25:40] local.INFO: Acknowledgment sent {"connection_id":151228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:26:03] local.INFO: TCP Data received {"connection_id":151229,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:26:03] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:26:03] local.INFO: IMEI packet received {"connection_id":151229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":151229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:26:08] local.INFO: TCP Data received {"connection_id":151229,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:26:08] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:26:08] local.INFO: IMEI packet received {"connection_id":151229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":151229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:26:09] local.INFO: TCP Data received {"connection_id":151229,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:26:09] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:26:09] local.INFO: Packet analysis {"connection_id":151229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:26:09] local.INFO: Extracted packet for processing {"connection_id":151229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199213824001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785934432000,"timestamp_ms":1785934432000,"timestamp_seconds":1785934432,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fcc700"} 
[2026-08-05 18:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 18:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199213824001,"66":4394,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199213824001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:26:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199213824001,"power":4394,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":151229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:26:09] local.INFO: GPS data processed {"connection_id":151229,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:26:09] local.INFO: Acknowledgment sent {"connection_id":151229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:26:19] local.INFO: TCP Data received {"connection_id":148585,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:26:19] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:26:19] local.INFO: IMEI packet received {"connection_id":148585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":148585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:26:24] local.INFO: TCP Data received {"connection_id":148585,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:26:24] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:26:24] local.INFO: IMEI packet received {"connection_id":148585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":148585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:26:25] local.INFO: TCP Data received {"connection_id":148585,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:26:25] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:26:25] local.INFO: Packet analysis {"connection_id":148585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:26:25] local.INFO: Extracted packet for processing {"connection_id":148585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199166720001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785934248000,"timestamp_ms":1785934248000,"timestamp_seconds":1785934248,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f9f840"} 
[2026-08-05 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-08-05 18:26: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-08-05 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 18:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 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-08-05 18:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199166720001,"66":25299,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199166720001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199166720001,"power":25299,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":148585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:26:25] local.INFO: GPS data processed {"connection_id":148585,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:26:25] local.INFO: Acknowledgment sent {"connection_id":148585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:26:30] local.INFO: TCP Data received {"connection_id":148585,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:26:30] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1f9f840012d77a94005f27ae0000d000028..."} 
[2026-08-05 18:26:30] local.INFO: Packet analysis {"connection_id":148585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:26:30] local.INFO: Extracted packet for processing {"connection_id":148585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1f9"} 
[2026-08-05 18:26:30] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777248,"longitude_deg":76.2816832,"latitude_deg":9.9777248,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27ae0","is_valid_coordinates":true} 
[2026-08-05 18:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199166720001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785934248000,"timestamp_ms":1785934248000,"timestamp_seconds":1785934248,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1f9f840"} 
[2026-08-05 18:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 18:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199166720001,"66":25299,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199166720001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:26:30] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:26:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199166720001,"power":25299,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":148585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:26:30] local.INFO: GPS data processed {"connection_id":148585,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:26:30] local.INFO: Acknowledgment sent {"connection_id":148585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:26:40] local.INFO: TCP Data received {"connection_id":151229,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:26:40] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:26:40] local.INFO: Packet analysis {"connection_id":151229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:26:40] local.INFO: Extracted packet for processing {"connection_id":151229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199213824001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785934432000,"timestamp_ms":1785934432000,"timestamp_seconds":1785934432,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fcc700"} 
[2026-08-05 18:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 18:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199213824001,"66":4394,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199213824001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:26:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199213824001,"power":4394,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":151229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:26:40] local.INFO: GPS data processed {"connection_id":151229,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:26:40] local.INFO: Acknowledgment sent {"connection_id":151229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:27:03] local.INFO: TCP Data received {"connection_id":148803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:27:03] local.INFO: Processing buffer {"connection_id":148803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:27:03] local.INFO: IMEI packet received {"connection_id":148803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":148803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:27:08] local.INFO: TCP Data received {"connection_id":148803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:27:08] local.INFO: Processing buffer {"connection_id":148803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:27:08] local.INFO: IMEI packet received {"connection_id":148803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":148803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:27:09] local.INFO: TCP Data received {"connection_id":148803,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:27:09] local.INFO: Processing buffer {"connection_id":148803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:27:09] local.INFO: Packet analysis {"connection_id":148803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:27:09] local.INFO: Extracted packet for processing {"connection_id":148803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199213824001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785934432000,"timestamp_ms":1785934432000,"timestamp_seconds":1785934432,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fcc700"} 
[2026-08-05 18:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 18:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199213824001,"66":4394,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199213824001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:27:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199213824001,"power":4394,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":148803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:27:09] local.INFO: GPS data processed {"connection_id":148803,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:27:09] local.INFO: Acknowledgment sent {"connection_id":148803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:27:17] local.INFO: TCP Data received {"connection_id":149807,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:27:17] local.INFO: Processing buffer {"connection_id":149807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:27:17] local.INFO: IMEI packet received {"connection_id":149807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":149807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:27:18] local.INFO: TCP Data received {"connection_id":149807,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fdb930012d18520007207188003500eb25..."} 
[2026-08-05 18:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fdb930012d18520007207188003500eb25..."} 
[2026-08-05 18:27:18] local.INFO: Processing buffer {"connection_id":149807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fdb930012d18520007207188003500eb25..."} 
[2026-08-05 18:27:18] local.INFO: Packet analysis {"connection_id":149807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fd"} 
[2026-08-05 18:27:18] local.INFO: Extracted packet for processing {"connection_id":149807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fd"} 
[2026-08-05 18:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756568576,"raw_latitude":119566728,"longitude_deg":75.6568576,"latitude_deg":11.9566728,"altitude":53,"angle":235,"satellites":37,"speed":0,"hex_longitude":"2d185200","hex_latitude":"07207188","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199225088001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10763651900243968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752885448074668032,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785934494000,"timestamp_ms":1785934494000,"timestamp_seconds":1785934494,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fdb930"} 
[2026-08-05 18:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 18:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199225088001,"66":13091,"102":206,"83":41984,"24":0,"16":10763651900243968,"45":1752885448074668032},"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-08-05 18:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199225088001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:27:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 18:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10763651900243968,"km_value":10763651900243.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752885448074668032,"description":"Unknown IO ID 45"} 
[2026-08-05 18:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199225088001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1752885448074668032}} 
[2026-08-05 18:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":149807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:27:19] local.INFO: GPS data processed {"connection_id":149807,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:27:19] local.INFO: Acknowledgment sent {"connection_id":149807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:27:23] local.INFO: TCP Data received {"connection_id":149808,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:27:23] local.INFO: Processing buffer {"connection_id":149808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:27:23] local.INFO: IMEI packet received {"connection_id":149808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":149808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:27:24] local.INFO: TCP Data received {"connection_id":149808,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:27:24] local.INFO: Processing buffer {"connection_id":149808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:27:24] local.INFO: IMEI packet received {"connection_id":149808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":149808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:27:25] local.INFO: TCP Data received {"connection_id":149808,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:27:25] local.INFO: Processing buffer {"connection_id":149808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:27:25] local.INFO: Packet analysis {"connection_id":149808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:27:25] local.INFO: Extracted packet for processing {"connection_id":149808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:27:25] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199167488001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785934552000,"timestamp_ms":1785934552000,"timestamp_seconds":1785934552,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fe9bc0"} 
[2026-08-05 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-08-05 18:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 18:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199167488001,"66":25625,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199167488001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:27:25] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:27:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199167488001,"power":25625,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":149808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:27:25] local.INFO: GPS data processed {"connection_id":149808,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:27:25] local.INFO: Acknowledgment sent {"connection_id":149808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:27:30] local.INFO: TCP Data received {"connection_id":149808,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:27:30] local.INFO: Processing buffer {"connection_id":149808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:27:30] local.INFO: Packet analysis {"connection_id":149808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:27:30] local.INFO: Extracted packet for processing {"connection_id":149808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199167488001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785934552000,"timestamp_ms":1785934552000,"timestamp_seconds":1785934552,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fe9bc0"} 
[2026-08-05 18:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 18:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199167488001,"66":25625,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199167488001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:27:30] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:27:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199167488001,"power":25625,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":149808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:27:30] local.INFO: GPS data processed {"connection_id":149808,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:27:30] local.INFO: Acknowledgment sent {"connection_id":149808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:27:40] local.INFO: TCP Data received {"connection_id":148803,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:27:40] local.INFO: Processing buffer {"connection_id":148803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:27:40] local.INFO: Packet analysis {"connection_id":148803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:27:40] local.INFO: Extracted packet for processing {"connection_id":148803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199213824001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785934432000,"timestamp_ms":1785934432000,"timestamp_seconds":1785934432,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fcc700"} 
[2026-08-05 18:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 18:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199213824001,"66":4394,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199213824001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:27:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199213824001,"power":4394,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":148803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:27:40] local.INFO: GPS data processed {"connection_id":148803,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:27:40] local.INFO: Acknowledgment sent {"connection_id":148803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:27:53] local.INFO: TCP Data received {"connection_id":149807,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ffb118012d186280072089d00036002c29..."} 
[2026-08-05 18:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ffb118012d186280072089d00036002c29..."} 
[2026-08-05 18:27:53] local.INFO: Processing buffer {"connection_id":149807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ffb118012d186280072089d00036002c29..."} 
[2026-08-05 18:27:53] local.INFO: Packet analysis {"connection_id":149807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ff"} 
[2026-08-05 18:27:53] local.INFO: Extracted packet for processing {"connection_id":149807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ff"} 
[2026-08-05 18:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756572800,"raw_latitude":119572944,"longitude_deg":75.65728,"latitude_deg":11.9572944,"altitude":54,"angle":44,"satellites":41,"speed":15,"hex_longitude":"2d186280","hex_latitude":"072089d0","is_valid_coordinates":true} 
[2026-08-05 18:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199261696001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10764154411417600,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753237291796965376,"note":"Value kept but may cause issues"} 
[2026-08-05 18:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785934623000,"timestamp_ms":1785934623000,"timestamp_seconds":1785934623,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ffb118"} 
[2026-08-05 18:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-05 18:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199261696001,"66":14374,"102":206,"83":41984,"24":15,"16":10764154411417600,"45":1753237291796965376},"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-08-05 18:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199261696001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:27:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 18:27:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10764154411417600,"km_value":10764154411417.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753237291796965376,"description":"Unknown IO ID 45"} 
[2026-08-05 18:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199261696001,"power":14374,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1753237291796965376}} 
[2026-08-05 18:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":149807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:27:53] local.INFO: GPS data processed {"connection_id":149807,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:27:53] local.INFO: Acknowledgment sent {"connection_id":149807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:28:03] local.INFO: TCP Data received {"connection_id":148586,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:28:03] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:28:03] local.INFO: IMEI packet received {"connection_id":148586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":148586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:28:08] local.INFO: TCP Data received {"connection_id":148586,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:28:08] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:28:08] local.INFO: IMEI packet received {"connection_id":148586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":148586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:28:08] local.INFO: TCP Data received {"connection_id":151230,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:28:08] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:28:08] local.INFO: IMEI packet received {"connection_id":151230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":151230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:28:09] local.INFO: TCP Data received {"connection_id":148586,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:28:09] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:28:09] local.INFO: Packet analysis {"connection_id":148586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:28:09] local.INFO: Extracted packet for processing {"connection_id":148586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199213824001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785934432000,"timestamp_ms":1785934432000,"timestamp_seconds":1785934432,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fcc700"} 
[2026-08-05 18:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 18:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199213824001,"66":4394,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199213824001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:28:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199213824001,"power":4394,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":148586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:28:09] local.INFO: GPS data processed {"connection_id":148586,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:28:09] local.INFO: Acknowledgment sent {"connection_id":148586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:28:09] local.INFO: TCP Data received {"connection_id":151230,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:28:09] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:28:09] local.INFO: IMEI packet received {"connection_id":151230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":151230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:28:14] local.INFO: TCP Data received {"connection_id":151230,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:28:14] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:28:14] local.INFO: IMEI packet received {"connection_id":151230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":151230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:28:14] local.INFO: TCP Data received {"connection_id":151230,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1ffb500012d18638007208b080036001729..."} 
[2026-08-05 18:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1ffb500012d18638007208b080036001729..."} 
[2026-08-05 18:28:14] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1ffb500012d18638007208b080036001729..."} 
[2026-08-05 18:28:14] local.INFO: Packet analysis {"connection_id":151230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1ff"} 
[2026-08-05 18:28:14] local.INFO: Extracted packet for processing {"connection_id":151230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1ff"} 
[2026-08-05 18:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756573056,"raw_latitude":119573256,"longitude_deg":75.6573056,"latitude_deg":11.9573256,"altitude":54,"angle":23,"satellites":41,"speed":14,"hex_longitude":"2d186380","hex_latitude":"07208b08","is_valid_coordinates":true} 
[2026-08-05 18:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199263488001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10764171591286784,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757107572726943744,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785934624000,"timestamp_ms":1785934624000,"timestamp_seconds":1785934624,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1ffb500"} 
[2026-08-05 18:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 18:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:28: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-08-05 18:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199263488001,"66":14374,"102":206,"83":41984,"24":14,"16":10764171591286784,"45":1757107572726943744},"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-08-05 18:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199263488001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:28:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 18:28:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10764171591286784,"km_value":10764171591286.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757107572726943744,"description":"Unknown IO ID 45"} 
[2026-08-05 18:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199263488001,"power":14374,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1757107572726943744}} 
[2026-08-05 18:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":151230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:28:15] local.INFO: GPS data processed {"connection_id":151230,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:28:15] local.INFO: Acknowledgment sent {"connection_id":151230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:28:15] local.INFO: TCP Data received {"connection_id":151231,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:28:15] local.INFO: Processing buffer {"connection_id":151231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:28:15] local.INFO: IMEI packet received {"connection_id":151231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":151231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:28:22] local.INFO: TCP Data received {"connection_id":151231,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:28:22] local.INFO: Processing buffer {"connection_id":151231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:28:22] local.INFO: IMEI packet received {"connection_id":151231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":151231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:28:25] local.INFO: TCP Data received {"connection_id":151231,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:28:25] local.INFO: Processing buffer {"connection_id":151231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:28:25] local.INFO: Packet analysis {"connection_id":151231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:28:25] local.INFO: Extracted packet for processing {"connection_id":151231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:28:25] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199167488001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785934552000,"timestamp_ms":1785934552000,"timestamp_seconds":1785934552,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fe9bc0"} 
[2026-08-05 18:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 18:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199167488001,"66":25625,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199167488001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:28:25] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:28:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199167488001,"power":25625,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":151231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:28:25] local.INFO: GPS data processed {"connection_id":151231,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:28:25] local.INFO: Acknowledgment sent {"connection_id":151231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:28:45] local.INFO: TCP Data received {"connection_id":151230,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2008fc0012d187ec00720bbb00035014e29..."} 
[2026-08-05 18:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2008fc0012d187ec00720bbb00035014e29..."} 
[2026-08-05 18:28:45] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2008fc0012d187ec00720bbb00035014e29..."} 
[2026-08-05 18:28:45] local.INFO: Packet analysis {"connection_id":151230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd200"} 
[2026-08-05 18:28:45] local.INFO: Extracted packet for processing {"connection_id":151230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd200"} 
[2026-08-05 18:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756580032,"raw_latitude":119585712,"longitude_deg":75.6580032,"latitude_deg":11.9585712,"altitude":53,"angle":334,"satellites":41,"speed":13,"hex_longitude":"2d187ec0","hex_latitude":"0720bbb0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199276800001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10765043469647872,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765903665752057856,"note":"Value kept but may cause issues"} 
[2026-08-05 18:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785934680000,"timestamp_ms":1785934680000,"timestamp_seconds":1785934680,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2008fc0"} 
[2026-08-05 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-08-05 18:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-05 18:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:28: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-08-05 18:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199276800001,"66":14396,"102":206,"83":41984,"24":13,"16":10765043469647872,"45":1765903665752057856},"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-08-05 18:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199276800001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:28:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 18:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10765043469647872,"km_value":10765043469647.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765903665752057856,"description":"Unknown IO ID 45"} 
[2026-08-05 18:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199276800001,"power":14396,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1765903665752057856}} 
[2026-08-05 18:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":151230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:28:45] local.INFO: GPS data processed {"connection_id":151230,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:28:45] local.INFO: Acknowledgment sent {"connection_id":151230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:29:01] local.INFO: TCP Data received {"connection_id":148586,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:29:01] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fcc700012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:29:01] local.INFO: Packet analysis {"connection_id":148586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:29:01] local.INFO: Extracted packet for processing {"connection_id":148586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fc"} 
[2026-08-05 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199213824001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 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-08-05 18:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785934432000,"timestamp_ms":1785934432000,"timestamp_seconds":1785934432,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fcc700"} 
[2026-08-05 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-08-05 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 18:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199213824001,"66":4394,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199213824001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:29:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199213824001,"power":4394,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":148586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:29:01] local.INFO: GPS data processed {"connection_id":148586,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:29:01] local.INFO: Acknowledgment sent {"connection_id":148586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:29:03] local.INFO: TCP Data received {"connection_id":148804,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:29:03] local.INFO: Processing buffer {"connection_id":148804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:29:03] local.INFO: IMEI packet received {"connection_id":148804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":148804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:29:08] local.INFO: TCP Data received {"connection_id":148804,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:29:08] local.INFO: Processing buffer {"connection_id":148804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:29:08] local.INFO: IMEI packet received {"connection_id":148804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":148804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:29:08] local.INFO: TCP Data received {"connection_id":148804,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:29:08] local.INFO: Processing buffer {"connection_id":148804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:29:08] local.INFO: Packet analysis {"connection_id":148804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:29:08] local.INFO: Extracted packet for processing {"connection_id":148804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199214592001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785934733000,"timestamp_ms":1785934733000,"timestamp_seconds":1785934733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2015ec8"} 
[2026-08-05 18:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-05 18:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199214592001,"66":2253,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199214592001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:29:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199214592001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":148804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:29:08] local.INFO: GPS data processed {"connection_id":148804,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:29:08] local.INFO: Acknowledgment sent {"connection_id":148804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:29:09] local.INFO: TCP Data received {"connection_id":148805,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:29:09] local.INFO: Processing buffer {"connection_id":148805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:29:09] local.INFO: IMEI packet received {"connection_id":148805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":148805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:29:10] local.INFO: TCP Data received {"connection_id":148805,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:29:10] local.INFO: Processing buffer {"connection_id":148805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:29:10] local.INFO: IMEI packet received {"connection_id":148805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":148805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:29:14] local.INFO: TCP Data received {"connection_id":151232,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:14] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:14] local.INFO: IMEI packet received {"connection_id":151232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":151232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:29:15] local.INFO: TCP Data received {"connection_id":148805,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:29:15] local.INFO: Processing buffer {"connection_id":148805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:29:15] local.INFO: IMEI packet received {"connection_id":148805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":148805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:29:15] local.INFO: TCP Data received {"connection_id":148805,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd200e998012d186a800720d508003b015e28..."} 
[2026-08-05 18:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd200e998012d186a800720d508003b015e28..."} 
[2026-08-05 18:29:15] local.INFO: Processing buffer {"connection_id":148805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd200e998012d186a800720d508003b015e28..."} 
[2026-08-05 18:29:15] local.INFO: Packet analysis {"connection_id":148805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd200"} 
[2026-08-05 18:29:15] local.INFO: Extracted packet for processing {"connection_id":148805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd200"} 
[2026-08-05 18:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756574848,"raw_latitude":119592200,"longitude_deg":75.6574848,"latitude_deg":11.95922,"altitude":59,"angle":350,"satellites":40,"speed":19,"hex_longitude":"2d186a80","hex_latitude":"0720d508","is_valid_coordinates":true} 
[2026-08-05 18:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199283712001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10765520211017728,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759429741289609216,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785934703000,"timestamp_ms":1785934703000,"timestamp_seconds":1785934703,"priority":1,"record_length":96,"hex_timestamp":"0000019fd200e998"} 
[2026-08-05 18:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-05 18:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:29: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-08-05 18:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199283712001,"66":14483,"106":206,"83":41984,"24":19,"16":10765520211017728,"45":1759429741289609216},"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-08-05 18:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199283712001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:29:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10765520211017728,"km_value":10765520211017.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759429741289609216,"description":"Unknown IO ID 45"} 
[2026-08-05 18:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199283712001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1759429741289609216}} 
[2026-08-05 18:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":148805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:29:15] local.INFO: GPS data processed {"connection_id":148805,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:29:15] local.INFO: Acknowledgment sent {"connection_id":148805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:29:27] local.INFO: TCP Data received {"connection_id":151232,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:27] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:27] local.INFO: IMEI packet received {"connection_id":151232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":151232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:29:28] local.INFO: TCP Data received {"connection_id":151232,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:28] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:28] local.INFO: IMEI packet received {"connection_id":151232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":151232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:29:29] local.INFO: TCP Data received {"connection_id":151232,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:29] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:29:29] local.INFO: IMEI packet received {"connection_id":151232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":151232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:29:30] local.INFO: TCP Data received {"connection_id":151232,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:29:30] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:29:30] local.INFO: Packet analysis {"connection_id":151232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:29:30] local.INFO: Extracted packet for processing {"connection_id":151232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:29:30] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199167488001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785934552000,"timestamp_ms":1785934552000,"timestamp_seconds":1785934552,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fe9bc0"} 
[2026-08-05 18:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 18:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199167488001,"66":25625,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199167488001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:29:30] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:29:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199167488001,"power":25625,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":151232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:29:30] local.INFO: GPS data processed {"connection_id":151232,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:29:30] local.INFO: Acknowledgment sent {"connection_id":151232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:29:34] local.INFO: TCP Data received {"connection_id":151232,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:29:34] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:29:34] local.INFO: Packet analysis {"connection_id":151232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:29:34] local.INFO: Extracted packet for processing {"connection_id":151232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199167488001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785934552000,"timestamp_ms":1785934552000,"timestamp_seconds":1785934552,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fe9bc0"} 
[2026-08-05 18:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 18:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199167488001,"66":25625,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199167488001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:29:34] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:29:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199167488001,"power":25625,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":151232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:29:34] local.INFO: GPS data processed {"connection_id":151232,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:29:34] local.INFO: Acknowledgment sent {"connection_id":151232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:29:40] local.INFO: TCP Data received {"connection_id":148804,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:29:40] local.INFO: Processing buffer {"connection_id":148804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:29:40] local.INFO: Packet analysis {"connection_id":148804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:29:40] local.INFO: Extracted packet for processing {"connection_id":148804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199214592001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785934733000,"timestamp_ms":1785934733000,"timestamp_seconds":1785934733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2015ec8"} 
[2026-08-05 18:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:29: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-08-05 18:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-05 18:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199214592001,"66":2253,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199214592001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:29:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199214592001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":148804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:29:40] local.INFO: GPS data processed {"connection_id":148804,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:29:40] local.INFO: Acknowledgment sent {"connection_id":148804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:29:47] local.INFO: TCP Data received {"connection_id":148805,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2017638012d183f4007210160003a012827..."} 
[2026-08-05 18:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2017638012d183f4007210160003a012827..."} 
[2026-08-05 18:29:47] local.INFO: Processing buffer {"connection_id":148805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2017638012d183f4007210160003a012827..."} 
[2026-08-05 18:29:47] local.INFO: Packet analysis {"connection_id":148805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:29:47] local.INFO: Extracted packet for processing {"connection_id":148805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756563776,"raw_latitude":119603552,"longitude_deg":75.6563776,"latitude_deg":11.9603552,"altitude":58,"angle":296,"satellites":39,"speed":20,"hex_longitude":"2d183f40","hex_latitude":"07210160","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199292928001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10766490873626624,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747678161014915072,"note":"Value kept but may cause issues"} 
[2026-08-05 18:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785934739000,"timestamp_ms":1785934739000,"timestamp_seconds":1785934739,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2017638"} 
[2026-08-05 18:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 18:29: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-08-05 18: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-08-05 18:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:29: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-08-05 18:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199292928001,"66":14407,"106":206,"83":41984,"24":20,"16":10766490873626624,"45":1747678161014915072},"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-08-05 18:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199292928001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:29:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10766490873626624,"km_value":10766490873626.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747678161014915072,"description":"Unknown IO ID 45"} 
[2026-08-05 18:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199292928001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1747678161014915072}} 
[2026-08-05 18:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":148805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:29:47] local.INFO: GPS data processed {"connection_id":148805,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:29:47] local.INFO: Acknowledgment sent {"connection_id":148805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:30:08] local.INFO: TCP Data received {"connection_id":151233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:30:08] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:30:08] local.INFO: IMEI packet received {"connection_id":151233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":151233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:30:10] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:30:10] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:30:10] local.INFO: IMEI packet received {"connection_id":148587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":148587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:30:13] local.INFO: TCP Data received {"connection_id":151233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:30:13] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:30:13] local.INFO: IMEI packet received {"connection_id":151233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":151233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:30:14] local.INFO: TCP Data received {"connection_id":151233,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:30:14] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:30:14] local.INFO: Packet analysis {"connection_id":151233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:30:14] local.INFO: Extracted packet for processing {"connection_id":151233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199214592001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785934733000,"timestamp_ms":1785934733000,"timestamp_seconds":1785934733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2015ec8"} 
[2026-08-05 18:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-05 18:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199214592001,"66":2253,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199214592001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:30:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199214592001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":151233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:30:14] local.INFO: GPS data processed {"connection_id":151233,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:30:14] local.INFO: Acknowledgment sent {"connection_id":151233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:30:15] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:30:15] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:30:15] local.INFO: IMEI packet received {"connection_id":148587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":148587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:30:18] local.INFO: TCP Data received {"connection_id":151233,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:30:18] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:30:18] local.INFO: Packet analysis {"connection_id":151233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:30:18] local.INFO: Extracted packet for processing {"connection_id":151233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199214592001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785934733000,"timestamp_ms":1785934733000,"timestamp_seconds":1785934733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2015ec8"} 
[2026-08-05 18:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":17,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-05 18:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199214592001,"66":2253,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199214592001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:30:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:30:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199214592001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":151233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:30:18] local.INFO: GPS data processed {"connection_id":151233,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:30:18] local.INFO: Acknowledgment sent {"connection_id":151233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:30:20] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:30:20] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:30:20] local.INFO: IMEI packet received {"connection_id":148587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":148587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:30:20] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2018da8012d183580072107a00039013f27..."} 
[2026-08-05 18:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2018da8012d183580072107a00039013f27..."} 
[2026-08-05 18:30:20] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2018da8012d183580072107a00039013f27..."} 
[2026-08-05 18:30:20] local.INFO: Packet analysis {"connection_id":148587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:30:20] local.INFO: Extracted packet for processing {"connection_id":148587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756561280,"raw_latitude":119605152,"longitude_deg":75.656128,"latitude_deg":11.9605152,"altitude":57,"angle":319,"satellites":39,"speed":15,"hex_longitude":"2d183580","hex_latitude":"072107a0","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199293184001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10766636902514688,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747185579805728768,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785934745000,"timestamp_ms":1785934745000,"timestamp_seconds":1785934745,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2018da8"} 
[2026-08-05 18:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-05 18:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199293184001,"66":14428,"106":206,"83":41984,"24":15,"16":10766636902514688,"45":1747185579805728768},"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-08-05 18:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199293184001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:30:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10766636902514688,"km_value":10766636902514.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747185579805728768,"description":"Unknown IO ID 45"} 
[2026-08-05 18:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199293184001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1747185579805728768}} 
[2026-08-05 18:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":148587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:30:20] local.INFO: GPS data processed {"connection_id":148587,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:30:20] local.INFO: Acknowledgment sent {"connection_id":148587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:30:20] local.INFO: TCP Data received {"connection_id":149809,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:30:20] local.INFO: Processing buffer {"connection_id":149809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:30:20] local.INFO: IMEI packet received {"connection_id":149809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":149809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:30:25] local.INFO: TCP Data received {"connection_id":149809,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:30:25] local.INFO: Processing buffer {"connection_id":149809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:30:25] local.INFO: IMEI packet received {"connection_id":149809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":149809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:30:26] local.INFO: TCP Data received {"connection_id":149809,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:30:26] local.INFO: Processing buffer {"connection_id":149809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:30:26] local.INFO: Packet analysis {"connection_id":149809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:30:26] local.INFO: Extracted packet for processing {"connection_id":149809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:30:26] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199167488001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785934552000,"timestamp_ms":1785934552000,"timestamp_seconds":1785934552,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fe9bc0"} 
[2026-08-05 18:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 18:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199167488001,"66":25625,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199167488001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:30:26] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:30:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199167488001,"power":25625,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":149809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:30:26] local.INFO: GPS data processed {"connection_id":149809,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:30:26] local.INFO: Acknowledgment sent {"connection_id":149809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:30:26] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2019190012d183500072108f80039015527..."} 
[2026-08-05 18:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2019190012d183500072108f80039015527..."} 
[2026-08-05 18:30:26] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2019190012d183500072108f80039015527..."} 
[2026-08-05 18:30:26] local.INFO: Packet analysis {"connection_id":148587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:30:26] local.INFO: Extracted packet for processing {"connection_id":148587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:30:26] local.INFO: GPS Element Parsed {"raw_longitude":756561152,"raw_latitude":119605496,"longitude_deg":75.6561152,"latitude_deg":11.9605496,"altitude":57,"angle":341,"satellites":39,"speed":13,"hex_longitude":"2d183500","hex_latitude":"072108f8","is_valid_coordinates":true} 
[2026-08-05 18:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199294720001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10766654082383872,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744441198783209472,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785934746000,"timestamp_ms":1785934746000,"timestamp_seconds":1785934746,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2019190"} 
[2026-08-05 18:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 18:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199294720001,"66":14428,"106":206,"83":41984,"24":13,"16":10766654082383872,"45":1744441198783209472},"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-08-05 18:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199294720001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:30:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:30:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10766654082383872,"km_value":10766654082383.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744441198783209472,"description":"Unknown IO ID 45"} 
[2026-08-05 18:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199294720001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1744441198783209472}} 
[2026-08-05 18:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":148587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:30:26] local.INFO: GPS data processed {"connection_id":148587,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:30:26] local.INFO: Acknowledgment sent {"connection_id":148587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:30:30] local.INFO: TCP Data received {"connection_id":149809,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:30:30] local.INFO: Processing buffer {"connection_id":149809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:30:30] local.INFO: Packet analysis {"connection_id":149809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:30:30] local.INFO: Extracted packet for processing {"connection_id":149809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:30:30] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199167488001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785934552000,"timestamp_ms":1785934552000,"timestamp_seconds":1785934552,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fe9bc0"} 
[2026-08-05 18:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 18:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199167488001,"66":25625,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199167488001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:30:30] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:30:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199167488001,"power":25625,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":149809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:30:30] local.INFO: GPS data processed {"connection_id":149809,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:30:30] local.INFO: Acknowledgment sent {"connection_id":149809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:31:03] local.INFO: TCP Data received {"connection_id":151234,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:31:03] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:31:03] local.INFO: IMEI packet received {"connection_id":151234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":151234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:31:08] local.INFO: TCP Data received {"connection_id":151234,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:31:08] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:31:08] local.INFO: IMEI packet received {"connection_id":151234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":151234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:31:09] local.INFO: TCP Data received {"connection_id":151234,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:31:09] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:31:09] local.INFO: Packet analysis {"connection_id":151234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:31:09] local.INFO: Extracted packet for processing {"connection_id":151234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199214592001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785934733000,"timestamp_ms":1785934733000,"timestamp_seconds":1785934733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2015ec8"} 
[2026-08-05 18:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-05 18:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199214592001,"66":2253,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199214592001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:31:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199214592001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":151234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:31:09] local.INFO: GPS data processed {"connection_id":151234,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:31:09] local.INFO: Acknowledgment sent {"connection_id":151234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:31:10] local.INFO: TCP Data received {"connection_id":151235,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:31:10] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:31:10] local.INFO: IMEI packet received {"connection_id":151235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":151235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:31:10] local.INFO: TCP Data received {"connection_id":151235,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:31:10] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:31:10] local.INFO: IMEI packet received {"connection_id":151235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":151235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:31:11] local.INFO: TCP Data received {"connection_id":151235,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:31:11] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:31:11] local.INFO: IMEI packet received {"connection_id":151235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":151235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:31:12] local.INFO: TCP Data received {"connection_id":151235,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2026098012d181c8007215868004a014422..."} 
[2026-08-05 18:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2026098012d181c8007215868004a014422..."} 
[2026-08-05 18:31:12] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2026098012d181c8007215868004a014422..."} 
[2026-08-05 18:31:12] local.INFO: Packet analysis {"connection_id":151235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd202"} 
[2026-08-05 18:31:12] local.INFO: Extracted packet for processing {"connection_id":151235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd202"} 
[2026-08-05 18:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119625832,"longitude_deg":75.655488,"latitude_deg":11.9625832,"altitude":74,"angle":324,"satellites":34,"speed":9,"hex_longitude":"2d181c80","hex_latitude":"07215868","is_valid_coordinates":true} 
[2026-08-05 18:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199308288001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10767818018521088,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061859041280,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785934799000,"timestamp_ms":1785934799000,"timestamp_seconds":1785934799,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2026098"} 
[2026-08-05 18:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-05 18:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:31: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-08-05 18:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199308288001,"66":14407,"107":206,"83":41984,"24":9,"16":10767818018521088,"45":1737545061859041280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199308288001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:31:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10767818018521088,"km_value":10767818018521.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061859041280,"description":"Unknown IO ID 45"} 
[2026-08-05 18:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199308288001,"power":14407,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737545061859041280}} 
[2026-08-05 18:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":151235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:31:12] local.INFO: GPS data processed {"connection_id":151235,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:31:12] local.INFO: Acknowledgment sent {"connection_id":151235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:31:14] local.INFO: TCP Data received {"connection_id":151236,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:31:14] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:31:14] local.INFO: IMEI packet received {"connection_id":151236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":151236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:31:20] local.INFO: TCP Data received {"connection_id":151236,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:31:20] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:31:20] local.INFO: IMEI packet received {"connection_id":151236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":151236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:31:20] local.INFO: TCP Data received {"connection_id":151236,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:31:20] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd1fe9bc0012d77aac005f27ad0000d000029..."} 
[2026-08-05 18:31:20] local.INFO: Packet analysis {"connection_id":151236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:31:20] local.INFO: Extracted packet for processing {"connection_id":151236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd1fe"} 
[2026-08-05 18:31:20] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199167488001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864678400,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785934552000,"timestamp_ms":1785934552000,"timestamp_seconds":1785934552,"priority":1,"record_length":96,"hex_timestamp":"0000019fd1fe9bc0"} 
[2026-08-05 18:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 18:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199167488001,"66":25625,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622493355864678400},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199167488001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:31:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:31:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864678400,"description":"Unknown IO ID 45"} 
[2026-08-05 18:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199167488001,"power":25625,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864678400}} 
[2026-08-05 18:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":151236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:31:20] local.INFO: GPS data processed {"connection_id":151236,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:31:20] local.INFO: Acknowledgment sent {"connection_id":151236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:31:40] local.INFO: TCP Data received {"connection_id":151234,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:31:40] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:31:40] local.INFO: Packet analysis {"connection_id":151234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:31:40] local.INFO: Extracted packet for processing {"connection_id":151234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199214592001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785934733000,"timestamp_ms":1785934733000,"timestamp_seconds":1785934733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2015ec8"} 
[2026-08-05 18:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:31: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-08-05 18:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-05 18:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199214592001,"66":2253,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199214592001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:31:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199214592001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":151234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:31:40] local.INFO: GPS data processed {"connection_id":151234,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:31:40] local.INFO: Acknowledgment sent {"connection_id":151234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:31:44] local.INFO: TCP Data received {"connection_id":151235,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2028f78012d18124007216a40004a015323..."} 
[2026-08-05 18:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2028f78012d18124007216a40004a015323..."} 
[2026-08-05 18:31:44] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2028f78012d18124007216a40004a015323..."} 
[2026-08-05 18:31:44] local.INFO: Packet analysis {"connection_id":151235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd202"} 
[2026-08-05 18:31:44] local.INFO: Extracted packet for processing {"connection_id":151235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd202"} 
[2026-08-05 18:31:44] local.INFO: GPS Element Parsed {"raw_longitude":756552256,"raw_latitude":119630400,"longitude_deg":75.6552256,"latitude_deg":11.96304,"altitude":74,"angle":339,"satellites":35,"speed":21,"hex_longitude":"2d181240","hex_latitude":"07216a40","is_valid_coordinates":true} 
[2026-08-05 18:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199308544001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10768071421591552,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324370737152,"note":"Value kept but may cause issues"} 
[2026-08-05 18:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785934811000,"timestamp_ms":1785934811000,"timestamp_seconds":1785934811,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2028f78"} 
[2026-08-05 18:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":71,"data_length":795,"current_offset":136} 
[2026-08-05 18:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199308544001,"66":14102,"107":206,"83":41984,"24":21,"16":10768071421591552,"45":1737404324370737152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199308544001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:31:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:31:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10768071421591552,"km_value":10768071421591.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324370737152,"description":"Unknown IO ID 45"} 
[2026-08-05 18:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199308544001,"power":14102,"unknown_107":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1737404324370737152}} 
[2026-08-05 18:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":151235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:31:44] local.INFO: GPS data processed {"connection_id":151235,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:31:44] local.INFO: Acknowledgment sent {"connection_id":151235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:32:03] local.INFO: TCP Data received {"connection_id":148806,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:32:03] local.INFO: Processing buffer {"connection_id":148806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:32:03] local.INFO: IMEI packet received {"connection_id":148806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":148806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:32:04] local.INFO: TCP Data received {"connection_id":151236,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:32:04] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:32:04] local.INFO: Packet analysis {"connection_id":151236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:32:04] local.INFO: Extracted packet for processing {"connection_id":151236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:32:04] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199245312001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785934853000,"timestamp_ms":1785934853000,"timestamp_seconds":1785934853,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2033388"} 
[2026-08-05 18:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 18:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199245312001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199245312001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:32:04] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:32:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199245312001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":151236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:32:04] local.INFO: GPS data processed {"connection_id":151236,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:32:04] local.INFO: Acknowledgment sent {"connection_id":151236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:32:08] local.INFO: TCP Data received {"connection_id":148806,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:32:08] local.INFO: Processing buffer {"connection_id":148806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:32:08] local.INFO: IMEI packet received {"connection_id":148806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":148806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:32:09] local.INFO: TCP Data received {"connection_id":148806,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:32:09] local.INFO: Processing buffer {"connection_id":148806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:32:09] local.INFO: Packet analysis {"connection_id":148806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:32:09] local.INFO: Extracted packet for processing {"connection_id":148806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199214592001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785934733000,"timestamp_ms":1785934733000,"timestamp_seconds":1785934733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2015ec8"} 
[2026-08-05 18:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-05 18:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199214592001,"66":2253,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199214592001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:32:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199214592001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":148806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:32:09] local.INFO: GPS data processed {"connection_id":148806,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:32:09] local.INFO: Acknowledgment sent {"connection_id":148806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:32:10] local.INFO: TCP Data received {"connection_id":149810,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:32:10] local.INFO: Processing buffer {"connection_id":149810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:32:10] local.INFO: IMEI packet received {"connection_id":149810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":149810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:32:15] local.INFO: TCP Data received {"connection_id":149810,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:32:15] local.INFO: Processing buffer {"connection_id":149810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:32:15] local.INFO: IMEI packet received {"connection_id":149810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":149810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:32:15] local.INFO: TCP Data received {"connection_id":149810,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd202be58012d180b80072179200049015e25..."} 
[2026-08-05 18:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd202be58012d180b80072179200049015e25..."} 
[2026-08-05 18:32:15] local.INFO: Processing buffer {"connection_id":149810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd202be58012d180b80072179200049015e25..."} 
[2026-08-05 18:32:15] local.INFO: Packet analysis {"connection_id":149810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd202"} 
[2026-08-05 18:32:15] local.INFO: Extracted packet for processing {"connection_id":149810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd202"} 
[2026-08-05 18:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119634208,"longitude_deg":75.6550528,"latitude_deg":11.9634208,"altitude":73,"angle":350,"satellites":37,"speed":9,"hex_longitude":"2d180b80","hex_latitude":"07217920","is_valid_coordinates":true} 
[2026-08-05 18:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199311616001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10768273285054464,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734519205860622336,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785934823000,"timestamp_ms":1785934823000,"timestamp_seconds":1785934823,"priority":1,"record_length":96,"hex_timestamp":"0000019fd202be58"} 
[2026-08-05 18:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:32: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-08-05 18:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-05 18:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:32: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-08-05 18:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199311616001,"66":14428,"107":206,"83":41984,"24":9,"16":10768273285054464,"45":1734519205860622336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199311616001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:32:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10768273285054464,"km_value":10768273285054.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734519205860622336,"description":"Unknown IO ID 45"} 
[2026-08-05 18:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199311616001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1734519205860622336}} 
[2026-08-05 18:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":149810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:32:16] local.INFO: GPS data processed {"connection_id":149810,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:32:16] local.INFO: Acknowledgment sent {"connection_id":149810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:32:25] local.INFO: TCP Data received {"connection_id":149811,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:32:25] local.INFO: Processing buffer {"connection_id":149811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:32:25] local.INFO: IMEI packet received {"connection_id":149811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":149811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:32:30] local.INFO: TCP Data received {"connection_id":149811,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:32:30] local.INFO: Processing buffer {"connection_id":149811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:32:30] local.INFO: IMEI packet received {"connection_id":149811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":149811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:32:31] local.INFO: TCP Data received {"connection_id":149811,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:32:31] local.INFO: Processing buffer {"connection_id":149811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:32:31] local.INFO: Packet analysis {"connection_id":149811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:32:31] local.INFO: Extracted packet for processing {"connection_id":149811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:32:31] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199245312001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785934853000,"timestamp_ms":1785934853000,"timestamp_seconds":1785934853,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2033388"} 
[2026-08-05 18:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 18:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199245312001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199245312001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:32:31] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:32:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199245312001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":149811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:32:31] local.INFO: GPS data processed {"connection_id":149811,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:32:31] local.INFO: Acknowledgment sent {"connection_id":149811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:32:40] local.INFO: TCP Data received {"connection_id":148806,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:32:40] local.INFO: Processing buffer {"connection_id":148806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:32:40] local.INFO: Packet analysis {"connection_id":148806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:32:40] local.INFO: Extracted packet for processing {"connection_id":148806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199214592001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785934733000,"timestamp_ms":1785934733000,"timestamp_seconds":1785934733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2015ec8"} 
[2026-08-05 18:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:32: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-08-05 18:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-05 18:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199214592001,"66":2253,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199214592001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:32:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199214592001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":148806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:32:40] local.INFO: GPS data processed {"connection_id":148806,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:32:40] local.INFO: Acknowledgment sent {"connection_id":148806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:32:47] local.INFO: TCP Data received {"connection_id":149810,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2040e48012d1825000721b7c8004a015927..."} 
[2026-08-05 18:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2040e48012d1825000721b7c8004a015927..."} 
[2026-08-05 18:32:47] local.INFO: Processing buffer {"connection_id":149810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2040e48012d1825000721b7c8004a015927..."} 
[2026-08-05 18:32:47] local.INFO: Packet analysis {"connection_id":149810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd204"} 
[2026-08-05 18:32:47] local.INFO: Extracted packet for processing {"connection_id":149810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd204"} 
[2026-08-05 18:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650248,"longitude_deg":75.6557056,"latitude_deg":11.9650248,"altitude":74,"angle":345,"satellites":39,"speed":8,"hex_longitude":"2d182500","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199336448001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769170933219328,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861678962688,"note":"Value kept but may cause issues"} 
[2026-08-05 18:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785934909000,"timestamp_ms":1785934909000,"timestamp_seconds":1785934909,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2040e48"} 
[2026-08-05 18:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 18:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:32: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-08-05 18:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199336448001,"66":12722,"105":206,"83":41984,"24":8,"16":10769170933219328,"45":1739796861678962688},"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-08-05 18:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199336448001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:32:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769170933219328,"km_value":10769170933219.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861678962688,"description":"Unknown IO ID 45"} 
[2026-08-05 18:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199336448001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739796861678962688}} 
[2026-08-05 18:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":149810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:32:47] local.INFO: GPS data processed {"connection_id":149810,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:32:47] local.INFO: Acknowledgment sent {"connection_id":149810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:33:03] local.INFO: TCP Data received {"connection_id":151237,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:33:03] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:33:03] local.INFO: IMEI packet received {"connection_id":151237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":151237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:33:08] local.INFO: TCP Data received {"connection_id":151237,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:33:08] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:33:08] local.INFO: IMEI packet received {"connection_id":151237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":151237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:33:09] local.INFO: TCP Data received {"connection_id":151237,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:33:09] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:33:09] local.INFO: Packet analysis {"connection_id":151237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:33:09] local.INFO: Extracted packet for processing {"connection_id":151237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199214592001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785934733000,"timestamp_ms":1785934733000,"timestamp_seconds":1785934733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2015ec8"} 
[2026-08-05 18:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":17,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-05 18:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199214592001,"66":2253,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199214592001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:33:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199214592001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":151237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:33:09] local.INFO: GPS data processed {"connection_id":151237,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:33:09] local.INFO: Acknowledgment sent {"connection_id":151237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:33:10] local.INFO: TCP Data received {"connection_id":148588,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:33:10] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:33:10] local.INFO: IMEI packet received {"connection_id":148588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":148588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:33:11] local.INFO: TCP Data received {"connection_id":148588,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:33:11] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:33:11] local.INFO: IMEI packet received {"connection_id":148588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":148588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:33:15] local.INFO: TCP Data received {"connection_id":148588,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:33:15] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:33:15] local.INFO: IMEI packet received {"connection_id":148588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":148588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:33:15] local.INFO: TCP Data received {"connection_id":148588,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2041230012d1824c00721b858004a013128..."} 
[2026-08-05 18:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2041230012d1824c00721b858004a013128..."} 
[2026-08-05 18:33:15] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2041230012d1824c00721b858004a013128..."} 
[2026-08-05 18:33:15] local.INFO: Packet analysis {"connection_id":148588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd204"} 
[2026-08-05 18:33:15] local.INFO: Extracted packet for processing {"connection_id":148588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd204"} 
[2026-08-05 18:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650392,"longitude_deg":75.6556992,"latitude_deg":11.9650392,"altitude":74,"angle":305,"satellites":40,"speed":6,"hex_longitude":"2d1824c0","hex_latitude":"0721b858","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199336704001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769175228186624,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679028224,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785934910000,"timestamp_ms":1785934910000,"timestamp_seconds":1785934910,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2041230"} 
[2026-08-05 18:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:33: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-08-05 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 18:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:33: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-08-05 18:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199336704001,"66":12722,"105":206,"83":41984,"24":6,"16":10769175228186624,"45":1739796861679028224},"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-08-05 18:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199336704001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:33:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769175228186624,"km_value":10769175228186.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679028224,"description":"Unknown IO ID 45"} 
[2026-08-05 18:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199336704001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739796861679028224}} 
[2026-08-05 18:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":148588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:33:15] local.INFO: GPS data processed {"connection_id":148588,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:33:15] local.INFO: Acknowledgment sent {"connection_id":148588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:33:19] local.INFO: TCP Data received {"connection_id":148807,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:33:19] local.INFO: Processing buffer {"connection_id":148807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:33:19] local.INFO: IMEI packet received {"connection_id":148807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":148807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:33:24] local.INFO: TCP Data received {"connection_id":148807,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:33:24] local.INFO: Processing buffer {"connection_id":148807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:33:24] local.INFO: IMEI packet received {"connection_id":148807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":148807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:33:26] local.INFO: TCP Data received {"connection_id":148807,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:33:26] local.INFO: Processing buffer {"connection_id":148807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:33:26] local.INFO: Packet analysis {"connection_id":148807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:33:26] local.INFO: Extracted packet for processing {"connection_id":148807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:33:26] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199245312001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785934853000,"timestamp_ms":1785934853000,"timestamp_seconds":1785934853,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2033388"} 
[2026-08-05 18:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 18:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199245312001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199245312001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:33:26] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:33:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199245312001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":148807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:33:26] local.INFO: GPS data processed {"connection_id":148807,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:33:26] local.INFO: Acknowledgment sent {"connection_id":148807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:33:40] local.INFO: TCP Data received {"connection_id":151237,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:33:40] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2015ec8012d7e37c005d34dd80002003328..."} 
[2026-08-05 18:33:40] local.INFO: Packet analysis {"connection_id":151237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:33:40] local.INFO: Extracted packet for processing {"connection_id":151237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd201"} 
[2026-08-05 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199214592001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785934733000,"timestamp_ms":1785934733000,"timestamp_seconds":1785934733,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2015ec8"} 
[2026-08-05 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-08-05 18:33: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-08-05 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":17,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-05 18:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199214592001,"66":2253,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199214592001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:33:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199214592001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":151237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:33:40] local.INFO: GPS data processed {"connection_id":151237,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:33:40] local.INFO: Acknowledgment sent {"connection_id":151237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:33:47] local.INFO: TCP Data received {"connection_id":148588,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2041a00012d1824000721b810004900d727..."} 
[2026-08-05 18:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2041a00012d1824000721b810004900d727..."} 
[2026-08-05 18:33:47] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2041a00012d1824000721b810004900d727..."} 
[2026-08-05 18:33:47] local.INFO: Packet analysis {"connection_id":148588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd204"} 
[2026-08-05 18:33:47] local.INFO: Extracted packet for processing {"connection_id":148588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd204"} 
[2026-08-05 18:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650320,"longitude_deg":75.65568,"latitude_deg":11.965032,"altitude":73,"angle":215,"satellites":39,"speed":6,"hex_longitude":"2d182400","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199336960001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769188113088512,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934887424,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785934912000,"timestamp_ms":1785934912000,"timestamp_seconds":1785934912,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2041a00"} 
[2026-08-05 18:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 18:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:33: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-08-05 18:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199336960001,"66":12504,"105":206,"83":41984,"24":6,"16":10769188113088512,"45":1739726492934887424},"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-08-05 18:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199336960001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:33:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769188113088512,"km_value":10769188113088.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934887424,"description":"Unknown IO ID 45"} 
[2026-08-05 18:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199336960001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739726492934887424}} 
[2026-08-05 18:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":148588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:33:47] local.INFO: GPS data processed {"connection_id":148588,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:33:47] local.INFO: Acknowledgment sent {"connection_id":148588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:33:57] local.INFO: TCP Data received {"connection_id":148807,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:33:58] local.INFO: Processing buffer {"connection_id":148807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:33:58] local.INFO: Packet analysis {"connection_id":148807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:33:58] local.INFO: Extracted packet for processing {"connection_id":148807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:33:58] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199245312001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785934853000,"timestamp_ms":1785934853000,"timestamp_seconds":1785934853,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2033388"} 
[2026-08-05 18:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 18:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199245312001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199245312001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:33:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:33:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199245312001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":148807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:33:58] local.INFO: GPS data processed {"connection_id":148807,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:33:58] local.INFO: Acknowledgment sent {"connection_id":148807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:34:03] local.INFO: TCP Data received {"connection_id":149812,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:34:03] local.INFO: Processing buffer {"connection_id":149812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:34:03] local.INFO: IMEI packet received {"connection_id":149812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":149812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:34:08] local.INFO: TCP Data received {"connection_id":149812,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:34:08] local.INFO: Processing buffer {"connection_id":149812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:34:08] local.INFO: IMEI packet received {"connection_id":149812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":149812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:34:09] local.INFO: TCP Data received {"connection_id":149812,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:34:09] local.INFO: Processing buffer {"connection_id":149812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:34:09] local.INFO: Packet analysis {"connection_id":149812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:34:09] local.INFO: Extracted packet for processing {"connection_id":149812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199291648001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785935034000,"timestamp_ms":1785935034000,"timestamp_seconds":1785935034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd205f690"} 
[2026-08-05 18:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 18:34: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-08-05 18:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":149812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":149812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":149812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199291648001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199291648001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:34:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199291648001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":149812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:34:09] local.INFO: GPS data processed {"connection_id":149812,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:34:09] local.INFO: Acknowledgment sent {"connection_id":149812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:34:09] local.INFO: TCP Data received {"connection_id":148808,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:34:09] local.INFO: Processing buffer {"connection_id":148808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:34:09] local.INFO: IMEI packet received {"connection_id":148808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":148808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:34:14] local.INFO: TCP Data received {"connection_id":151238,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:34:14] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:34:14] local.INFO: IMEI packet received {"connection_id":151238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":151238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:34:15] local.INFO: TCP Data received {"connection_id":148808,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:34:15] local.INFO: Processing buffer {"connection_id":148808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:34:15] local.INFO: IMEI packet received {"connection_id":148808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":148808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:34:16] local.INFO: TCP Data received {"connection_id":148808,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2046c08012d1823000721b558004900d727..."} 
[2026-08-05 18:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2046c08012d1823000721b558004900d727..."} 
[2026-08-05 18:34:16] local.INFO: Processing buffer {"connection_id":148808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2046c08012d1823000721b558004900d727..."} 
[2026-08-05 18:34:16] local.INFO: Packet analysis {"connection_id":148808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd204"} 
[2026-08-05 18:34:16] local.INFO: Extracted packet for processing {"connection_id":148808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd204"} 
[2026-08-05 18:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649624,"longitude_deg":75.6556544,"latitude_deg":11.9649624,"altitude":73,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b558","is_valid_coordinates":true} 
[2026-08-05 18:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199337472001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769226767794176,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702336000,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785934933000,"timestamp_ms":1785934933000,"timestamp_seconds":1785934933,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2046c08"} 
[2026-08-05 18:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 18:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:34: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-08-05 18:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199337472001,"66":12743,"105":206,"83":41984,"24":0,"16":10769226767794176,"45":1739515386702336000},"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-08-05 18:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199337472001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:34:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769226767794176,"km_value":10769226767794.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702336000,"description":"Unknown IO ID 45"} 
[2026-08-05 18:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199337472001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702336000}} 
[2026-08-05 18:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":148808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:34:16] local.INFO: GPS data processed {"connection_id":148808,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:34:16] local.INFO: Acknowledgment sent {"connection_id":148808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:34:19] local.INFO: TCP Data received {"connection_id":151238,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:34:19] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:34:19] local.INFO: IMEI packet received {"connection_id":151238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":151238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:34:24] local.INFO: TCP Data received {"connection_id":151238,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:34:24] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:34:24] local.INFO: Packet analysis {"connection_id":151238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:34:24] local.INFO: Extracted packet for processing {"connection_id":151238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:34:24] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199245312001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785934853000,"timestamp_ms":1785934853000,"timestamp_seconds":1785934853,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2033388"} 
[2026-08-05 18:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 18:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199245312001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199245312001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:34:24] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:34:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199245312001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":151238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:34:24] local.INFO: GPS data processed {"connection_id":151238,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:34:24] local.INFO: Acknowledgment sent {"connection_id":151238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:34:40] local.INFO: TCP Data received {"connection_id":149812,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:34:40] local.INFO: Processing buffer {"connection_id":149812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:34:40] local.INFO: Packet analysis {"connection_id":149812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:34:40] local.INFO: Extracted packet for processing {"connection_id":149812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199291648001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785935034000,"timestamp_ms":1785935034000,"timestamp_seconds":1785935034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd205f690"} 
[2026-08-05 18:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 18:34: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-08-05 18:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":149812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":149812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":149812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199291648001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199291648001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:34:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199291648001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":149812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:34:40] local.INFO: GPS data processed {"connection_id":149812,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:34:40] local.INFO: Acknowledgment sent {"connection_id":149812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:34:47] local.INFO: TCP Data received {"connection_id":148808,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd204be10012d1823000721b558004900d728..."} 
[2026-08-05 18:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd204be10012d1823000721b558004900d728..."} 
[2026-08-05 18:34:47] local.INFO: Processing buffer {"connection_id":148808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd204be10012d1823000721b558004900d728..."} 
[2026-08-05 18:34:47] local.INFO: Packet analysis {"connection_id":148808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd204"} 
[2026-08-05 18:34:47] local.INFO: Extracted packet for processing {"connection_id":148808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd204"} 
[2026-08-05 18:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649624,"longitude_deg":75.6556544,"latitude_deg":11.9649624,"altitude":73,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b558","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199342848001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769226767794176,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725447168,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785934954000,"timestamp_ms":1785934954000,"timestamp_seconds":1785934954,"priority":1,"record_length":96,"hex_timestamp":"0000019fd204be10"} 
[2026-08-05 18:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-05 18:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:34: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-08-05 18:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199342848001,"66":12722,"105":206,"83":41984,"24":0,"16":10769226767794176,"45":1739233911725447168},"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-08-05 18:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199342848001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:34:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769226767794176,"km_value":10769226767794.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725447168,"description":"Unknown IO ID 45"} 
[2026-08-05 18:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199342848001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725447168}} 
[2026-08-05 18:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":148808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:34:47] local.INFO: GPS data processed {"connection_id":148808,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:34:47] local.INFO: Acknowledgment sent {"connection_id":148808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:34:59] local.INFO: TCP Data received {"connection_id":151238,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:34:59] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:34:59] local.INFO: Packet analysis {"connection_id":151238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:34:59] local.INFO: Extracted packet for processing {"connection_id":151238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:34:59] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199245312001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785934853000,"timestamp_ms":1785934853000,"timestamp_seconds":1785934853,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2033388"} 
[2026-08-05 18:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 18:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199245312001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199245312001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:34:59] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:34:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199245312001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":151238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:34:59] local.INFO: GPS data processed {"connection_id":151238,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:34:59] local.INFO: Acknowledgment sent {"connection_id":151238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:35:03] local.INFO: TCP Data received {"connection_id":148589,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:35:03] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:35:03] local.INFO: IMEI packet received {"connection_id":148589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":148589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:35:08] local.INFO: TCP Data received {"connection_id":148589,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:35:08] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:35:08] local.INFO: IMEI packet received {"connection_id":148589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":148589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:35:09] local.INFO: TCP Data received {"connection_id":148589,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:35:09] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:35:09] local.INFO: Packet analysis {"connection_id":148589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:35:09] local.INFO: Extracted packet for processing {"connection_id":148589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199291648001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785935034000,"timestamp_ms":1785935034000,"timestamp_seconds":1785935034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd205f690"} 
[2026-08-05 18:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 18:35: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-08-05 18:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199291648001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199291648001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:35:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199291648001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":148589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:35:09] local.INFO: GPS data processed {"connection_id":148589,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:35:09] local.INFO: Acknowledgment sent {"connection_id":148589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:35:09] local.INFO: TCP Data received {"connection_id":148590,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:35:09] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:35:09] local.INFO: IMEI packet received {"connection_id":148590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":148590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:35:15] local.INFO: TCP Data received {"connection_id":148590,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:35:15] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:35:15] local.INFO: IMEI packet received {"connection_id":148590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":148590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:35:15] local.INFO: TCP Data received {"connection_id":148590,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2051018012d1823000721b558004900d729..."} 
[2026-08-05 18:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2051018012d1823000721b558004900d729..."} 
[2026-08-05 18:35:15] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2051018012d1823000721b558004900d729..."} 
[2026-08-05 18:35:15] local.INFO: Packet analysis {"connection_id":148590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:35:15] local.INFO: Extracted packet for processing {"connection_id":148590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649624,"longitude_deg":75.6556544,"latitude_deg":11.9649624,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b558","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199348224001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769226767794176,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725447168,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785934975000,"timestamp_ms":1785934975000,"timestamp_seconds":1785934975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2051018"} 
[2026-08-05 18:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:35: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-08-05 18:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 18:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:35: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-08-05 18:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199348224001,"66":12689,"105":206,"83":41984,"24":0,"16":10769226767794176,"45":1739233911725447168},"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-08-05 18:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199348224001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:35:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769226767794176,"km_value":10769226767794.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725447168,"description":"Unknown IO ID 45"} 
[2026-08-05 18:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199348224001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725447168}} 
[2026-08-05 18:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":148590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:35:16] local.INFO: GPS data processed {"connection_id":148590,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:35:16] local.INFO: Acknowledgment sent {"connection_id":148590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:35:19] local.INFO: TCP Data received {"connection_id":151239,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:35:19] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:35:19] local.INFO: IMEI packet received {"connection_id":151239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":151239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:35:26] local.INFO: TCP Data received {"connection_id":151239,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:35:26] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:35:26] local.INFO: IMEI packet received {"connection_id":151239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":151239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:35:29] local.INFO: TCP Data received {"connection_id":151239,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:35:29] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:35:29] local.INFO: Packet analysis {"connection_id":151239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:35:29] local.INFO: Extracted packet for processing {"connection_id":151239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:35:29] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199245312001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785934853000,"timestamp_ms":1785934853000,"timestamp_seconds":1785934853,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2033388"} 
[2026-08-05 18:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 18:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199245312001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199245312001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:35:29] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:35:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199245312001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":151239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:35:29] local.INFO: GPS data processed {"connection_id":151239,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:35:29] local.INFO: Acknowledgment sent {"connection_id":151239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:35:33] local.INFO: TCP Data received {"connection_id":151239,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:35:33] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:35:33] local.INFO: Packet analysis {"connection_id":151239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:35:33] local.INFO: Extracted packet for processing {"connection_id":151239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:35:33] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199245312001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785934853000,"timestamp_ms":1785934853000,"timestamp_seconds":1785934853,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2033388"} 
[2026-08-05 18:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 18:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199245312001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199245312001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:35:33] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:35:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199245312001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":151239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:35:33] local.INFO: GPS data processed {"connection_id":151239,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:35:33] local.INFO: Acknowledgment sent {"connection_id":151239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:35:40] local.INFO: TCP Data received {"connection_id":148589,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:35:40] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:35:40] local.INFO: Packet analysis {"connection_id":148589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:35:40] local.INFO: Extracted packet for processing {"connection_id":148589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199291648001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785935034000,"timestamp_ms":1785935034000,"timestamp_seconds":1785935034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd205f690"} 
[2026-08-05 18:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 18:35: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-08-05 18:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199291648001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199291648001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:35:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199291648001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":148589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:35:40] local.INFO: GPS data processed {"connection_id":148589,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:35:40] local.INFO: Acknowledgment sent {"connection_id":148589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:35:47] local.INFO: TCP Data received {"connection_id":148590,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2055e38012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2055e38012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:35:47] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2055e38012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:35:47] local.INFO: Packet analysis {"connection_id":148590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:35:47] local.INFO: Extracted packet for processing {"connection_id":148590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199353600001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725447168,"note":"Value kept but may cause issues"} 
[2026-08-05 18:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785934995000,"timestamp_ms":1785934995000,"timestamp_seconds":1785934995,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2055e38"} 
[2026-08-05 18:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 18:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:35: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-08-05 18:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199353600001,"66":12613,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1739233911725447168},"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-08-05 18:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199353600001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:35:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725447168,"description":"Unknown IO ID 45"} 
[2026-08-05 18:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199353600001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725447168}} 
[2026-08-05 18:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":148590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:35:47] local.INFO: GPS data processed {"connection_id":148590,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:35:47] local.INFO: Acknowledgment sent {"connection_id":148590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:36:03] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:36:03] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:36:03] local.INFO: IMEI packet received {"connection_id":148591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":148591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:36:08] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:36:08] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:36:08] local.INFO: IMEI packet received {"connection_id":148591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":148591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:36:09] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:36:09] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:36:09] local.INFO: Packet analysis {"connection_id":148591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:36:09] local.INFO: Extracted packet for processing {"connection_id":148591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199291648001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785935034000,"timestamp_ms":1785935034000,"timestamp_seconds":1785935034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd205f690"} 
[2026-08-05 18:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 18:36: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-08-05 18:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199291648001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199291648001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:36:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199291648001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":148591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:36:09] local.INFO: GPS data processed {"connection_id":148591,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:36:09] local.INFO: Acknowledgment sent {"connection_id":148591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:36:14] local.INFO: TCP Data received {"connection_id":149813,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:36:14] local.INFO: Processing buffer {"connection_id":149813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:36:14] local.INFO: IMEI packet received {"connection_id":149813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":149813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:36:15] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:36:15] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:36:15] local.INFO: IMEI packet received {"connection_id":148592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":148592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:36:19] local.INFO: TCP Data received {"connection_id":149813,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:36:19] local.INFO: Processing buffer {"connection_id":149813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:36:19] local.INFO: IMEI packet received {"connection_id":149813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":149813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:36:20] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:36:20] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:36:20] local.INFO: IMEI packet received {"connection_id":148592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":148592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:36:20] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd205b040012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd205b040012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:36:20] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd205b040012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:36:20] local.INFO: Packet analysis {"connection_id":148592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:36:20] local.INFO: Extracted packet for processing {"connection_id":148592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199358720001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785935016000,"timestamp_ms":1785935016000,"timestamp_seconds":1785935016,"priority":1,"record_length":96,"hex_timestamp":"0000019fd205b040"} 
[2026-08-05 18:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 18:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199358720001,"66":12613,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199358720001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:36:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199358720001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":148592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:36:20] local.INFO: GPS data processed {"connection_id":148592,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:36:20] local.INFO: Acknowledgment sent {"connection_id":148592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:36:20] local.INFO: TCP Data received {"connection_id":149813,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:36:20] local.INFO: Processing buffer {"connection_id":149813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2033388012d77aac005f27ad0000d000027..."} 
[2026-08-05 18:36:20] local.INFO: Packet analysis {"connection_id":149813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:36:20] local.INFO: Extracted packet for processing {"connection_id":149813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd203"} 
[2026-08-05 18:36:20] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199245312001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785934853000,"timestamp_ms":1785934853000,"timestamp_seconds":1785934853,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2033388"} 
[2026-08-05 18:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 18:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199245312001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199245312001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199245312001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":149813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:36:21] local.INFO: GPS data processed {"connection_id":149813,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:36:21] local.INFO: Acknowledgment sent {"connection_id":149813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:36:21] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2060630012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2060630012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:36:21] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2060630012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:36:21] local.INFO: Packet analysis {"connection_id":148592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd206"} 
[2026-08-05 18:36:21] local.INFO: Extracted packet for processing {"connection_id":148592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd206"} 
[2026-08-05 18:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199364096001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785935038000,"timestamp_ms":1785935038000,"timestamp_seconds":1785935038,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2060630"} 
[2026-08-05 18:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 18:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199364096001,"66":12613,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199364096001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199364096001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":148592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:36:21] local.INFO: GPS data processed {"connection_id":148592,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:36:21] local.INFO: Acknowledgment sent {"connection_id":148592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:36:40] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:36:40] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:36:40] local.INFO: Packet analysis {"connection_id":148591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:36:40] local.INFO: Extracted packet for processing {"connection_id":148591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199291648001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785935034000,"timestamp_ms":1785935034000,"timestamp_seconds":1785935034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd205f690"} 
[2026-08-05 18:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 18:36: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-08-05 18:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199291648001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199291648001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:36:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199291648001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":148591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:36:40] local.INFO: GPS data processed {"connection_id":148591,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:36:40] local.INFO: Acknowledgment sent {"connection_id":148591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:36:52] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2065838012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2065838012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:36:52] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2065838012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:36:52] local.INFO: Packet analysis {"connection_id":148592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd206"} 
[2026-08-05 18:36:52] local.INFO: Extracted packet for processing {"connection_id":148592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd206"} 
[2026-08-05 18:36:52] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199369728001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785935059000,"timestamp_ms":1785935059000,"timestamp_seconds":1785935059,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2065838"} 
[2026-08-05 18:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 18:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199369728001,"66":12515,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199369728001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:36:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:36:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199369728001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":148592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:36:52] local.INFO: GPS data processed {"connection_id":148592,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:36:52] local.INFO: Acknowledgment sent {"connection_id":148592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:36:59] local.INFO: TCP Data received {"connection_id":149813,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:36:59] local.INFO: Processing buffer {"connection_id":149813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:36:59] local.INFO: Packet analysis {"connection_id":149813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:36:59] local.INFO: Extracted packet for processing {"connection_id":149813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:36:59] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199322368001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785935154000,"timestamp_ms":1785935154000,"timestamp_seconds":1785935154,"priority":1,"record_length":96,"hex_timestamp":"0000019fd207cb50"} 
[2026-08-05 18:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":149813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":149813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":149813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199322368001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199322368001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:36:59] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:36:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199322368001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":149813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:36:59] local.INFO: GPS data processed {"connection_id":149813,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:36:59] local.INFO: Acknowledgment sent {"connection_id":149813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:37:03] local.INFO: TCP Data received {"connection_id":149814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:37:03] local.INFO: Processing buffer {"connection_id":149814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:37:03] local.INFO: IMEI packet received {"connection_id":149814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":149814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:37:08] local.INFO: TCP Data received {"connection_id":149814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:37:08] local.INFO: Processing buffer {"connection_id":149814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:37:08] local.INFO: IMEI packet received {"connection_id":149814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":149814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:37:10] local.INFO: TCP Data received {"connection_id":148809,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:37:10] local.INFO: Processing buffer {"connection_id":148809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:37:10] local.INFO: IMEI packet received {"connection_id":148809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":148809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:37:11] local.INFO: TCP Data received {"connection_id":149814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:37:11] local.INFO: Processing buffer {"connection_id":149814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:37:11] local.INFO: Packet analysis {"connection_id":149814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:37:11] local.INFO: Extracted packet for processing {"connection_id":149814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199291648001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785935034000,"timestamp_ms":1785935034000,"timestamp_seconds":1785935034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd205f690"} 
[2026-08-05 18:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 18:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":149814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":149814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":149814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199291648001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199291648001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:37:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199291648001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":149814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:37:11] local.INFO: GPS data processed {"connection_id":149814,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:37:11] local.INFO: Acknowledgment sent {"connection_id":149814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:37:17] local.INFO: TCP Data received {"connection_id":148809,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:37:17] local.INFO: Processing buffer {"connection_id":148809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:37:17] local.INFO: IMEI packet received {"connection_id":148809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":148809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:37:18] local.INFO: TCP Data received {"connection_id":148809,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd206aa40012d1820c00721b298004a00d728..."} 
[2026-08-05 18:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd206aa40012d1820c00721b298004a00d728..."} 
[2026-08-05 18:37:18] local.INFO: Processing buffer {"connection_id":148809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd206aa40012d1820c00721b298004a00d728..."} 
[2026-08-05 18:37:18] local.INFO: Packet analysis {"connection_id":148809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd206"} 
[2026-08-05 18:37:18] local.INFO: Extracted packet for processing {"connection_id":148809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd206"} 
[2026-08-05 18:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199375104001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785935080000,"timestamp_ms":1785935080000,"timestamp_seconds":1785935080,"priority":1,"record_length":96,"hex_timestamp":"0000019fd206aa40"} 
[2026-08-05 18:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-05 18:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199375104001,"66":12504,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199375104001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:37:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199375104001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":148809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:37:18] local.INFO: GPS data processed {"connection_id":148809,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:37:18] local.INFO: Acknowledgment sent {"connection_id":148809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:37:24] local.INFO: TCP Data received {"connection_id":149815,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:37:24] local.INFO: Processing buffer {"connection_id":149815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:37:24] local.INFO: IMEI packet received {"connection_id":149815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":149815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:37:29] local.INFO: TCP Data received {"connection_id":149815,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:37:29] local.INFO: Processing buffer {"connection_id":149815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:37:29] local.INFO: IMEI packet received {"connection_id":149815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":149815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:37:31] local.INFO: TCP Data received {"connection_id":149815,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:37:31] local.INFO: Processing buffer {"connection_id":149815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:37:31] local.INFO: Packet analysis {"connection_id":149815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:37:31] local.INFO: Extracted packet for processing {"connection_id":149815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:37:31] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199322368001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785935154000,"timestamp_ms":1785935154000,"timestamp_seconds":1785935154,"priority":1,"record_length":96,"hex_timestamp":"0000019fd207cb50"} 
[2026-08-05 18:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":149815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":149815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":149815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199322368001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199322368001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:37:31] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:37:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199322368001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":149815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:37:31] local.INFO: GPS data processed {"connection_id":149815,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:37:31] local.INFO: Acknowledgment sent {"connection_id":149815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:37:42] local.INFO: TCP Data received {"connection_id":149814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:37:42] local.INFO: Processing buffer {"connection_id":149814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:37:42] local.INFO: Packet analysis {"connection_id":149814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:37:42] local.INFO: Extracted packet for processing {"connection_id":149814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:37:42] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199291648001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785935034000,"timestamp_ms":1785935034000,"timestamp_seconds":1785935034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd205f690"} 
[2026-08-05 18:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 18:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":149814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":149814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":149814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199291648001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199291648001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199291648001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":149814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:37:42] local.INFO: GPS data processed {"connection_id":149814,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:37:42] local.INFO: Acknowledgment sent {"connection_id":149814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:37:49] local.INFO: TCP Data received {"connection_id":148809,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd206fc48012d1820c00721b298004a00d727..."} 
[2026-08-05 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd206fc48012d1820c00721b298004a00d727..."} 
[2026-08-05 18:37:49] local.INFO: Processing buffer {"connection_id":148809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd206fc48012d1820c00721b298004a00d727..."} 
[2026-08-05 18:37:49] local.INFO: Packet analysis {"connection_id":148809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd206"} 
[2026-08-05 18:37:49] local.INFO: Extracted packet for processing {"connection_id":148809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd206"} 
[2026-08-05 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199380480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785935101000,"timestamp_ms":1785935101000,"timestamp_seconds":1785935101,"priority":1,"record_length":96,"hex_timestamp":"0000019fd206fc48"} 
[2026-08-05 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-08-05 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 18:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199380480001,"66":12526,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199380480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:37:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199380480001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":148809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:37:49] local.INFO: GPS data processed {"connection_id":148809,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:37:49] local.INFO: Acknowledgment sent {"connection_id":148809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:38:03] local.INFO: TCP Data received {"connection_id":151240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:38:03] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:38:03] local.INFO: IMEI packet received {"connection_id":151240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":151240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:38:08] local.INFO: TCP Data received {"connection_id":151240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:38:08] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:38:08] local.INFO: IMEI packet received {"connection_id":151240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":151240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:38:08] local.INFO: TCP Data received {"connection_id":151240,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:38:08] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:38:08] local.INFO: Packet analysis {"connection_id":151240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:38:08] local.INFO: Extracted packet for processing {"connection_id":151240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199291648001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785935034000,"timestamp_ms":1785935034000,"timestamp_seconds":1785935034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd205f690"} 
[2026-08-05 18:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 18:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199291648001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199291648001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:38:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199291648001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":151240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:38:08] local.INFO: GPS data processed {"connection_id":151240,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:38:08] local.INFO: Acknowledgment sent {"connection_id":151240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:38:10] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:38:10] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:38:10] local.INFO: IMEI packet received {"connection_id":148593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":148593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:38:15] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:38:15] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:38:15] local.INFO: IMEI packet received {"connection_id":148593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":148593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:38:15] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2074e50012d1820c00721b298004a00d729..."} 
[2026-08-05 18:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2074e50012d1820c00721b298004a00d729..."} 
[2026-08-05 18:38:15] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2074e50012d1820c00721b298004a00d729..."} 
[2026-08-05 18:38:15] local.INFO: Packet analysis {"connection_id":148593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:38:15] local.INFO: Extracted packet for processing {"connection_id":148593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199385856001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785935122000,"timestamp_ms":1785935122000,"timestamp_seconds":1785935122,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2074e50"} 
[2026-08-05 18:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 18:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:38: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-08-05 18:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199385856001,"66":12504,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199385856001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:38:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199385856001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":148593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:38:15] local.INFO: GPS data processed {"connection_id":148593,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:38:15] local.INFO: Acknowledgment sent {"connection_id":148593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:38:19] local.INFO: TCP Data received {"connection_id":151241,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:38:19] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:38:19] local.INFO: IMEI packet received {"connection_id":151241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":151241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:38:24] local.INFO: TCP Data received {"connection_id":151241,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:38:24] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:38:24] local.INFO: IMEI packet received {"connection_id":151241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":151241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:38:25] local.INFO: TCP Data received {"connection_id":151241,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:38:25] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:38:25] local.INFO: Packet analysis {"connection_id":151241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:38:25] local.INFO: Extracted packet for processing {"connection_id":151241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199322368001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785935154000,"timestamp_ms":1785935154000,"timestamp_seconds":1785935154,"priority":1,"record_length":96,"hex_timestamp":"0000019fd207cb50"} 
[2026-08-05 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-08-05 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199322368001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199322368001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:38:25] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:38:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199322368001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":151241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:38:25] local.INFO: GPS data processed {"connection_id":151241,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:38:25] local.INFO: Acknowledgment sent {"connection_id":151241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:38:30] local.INFO: TCP Data received {"connection_id":151241,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:38:30] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:38:30] local.INFO: Packet analysis {"connection_id":151241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:38:30] local.INFO: Extracted packet for processing {"connection_id":151241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:38:30] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199322368001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785935154000,"timestamp_ms":1785935154000,"timestamp_seconds":1785935154,"priority":1,"record_length":96,"hex_timestamp":"0000019fd207cb50"} 
[2026-08-05 18:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199322368001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199322368001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:38:30] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:38:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199322368001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":151241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:38:30] local.INFO: GPS data processed {"connection_id":151241,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:38:30] local.INFO: Acknowledgment sent {"connection_id":151241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:38:39] local.INFO: TCP Data received {"connection_id":151240,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:38:39] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd205f690012d7e37c005d34dd8000200332a..."} 
[2026-08-05 18:38:39] local.INFO: Packet analysis {"connection_id":151240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:38:39] local.INFO: Extracted packet for processing {"connection_id":151240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd205"} 
[2026-08-05 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199291648001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785935034000,"timestamp_ms":1785935034000,"timestamp_seconds":1785935034,"priority":1,"record_length":96,"hex_timestamp":"0000019fd205f690"} 
[2026-08-05 18:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 18:38: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-08-05 18:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199291648001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199291648001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:38:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199291648001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":151240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:38:39] local.INFO: GPS data processed {"connection_id":151240,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:38:39] local.INFO: Acknowledgment sent {"connection_id":151240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:38:47] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.47","data_length":93,"data_hex":"00000000000000518e010000019fd207a058012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":93,"packet_hex":"00000000000000518e010000019fd207a058012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:38:47] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fd207a058012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:38:47] local.INFO: Packet analysis {"connection_id":148593,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fd207"} 
[2026-08-05 18:38:47] local.INFO: Extracted packet for processing {"connection_id":148593,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fd207"} 
[2026-08-05 18:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-05 18:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:38:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:38:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-05 18:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148593,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-05 18:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-05 18:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-05 18:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-05 18:38:47] local.WARNING: DEBUG: No valid data to process  
[2026-08-05 18:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":148593,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-05 18:38:47] local.ERROR: GPS data processing failed {"connection_id":148593,"error":"No valid data to process"} 
[2026-08-05 18:38:47] local.INFO: Acknowledgment sent {"connection_id":148593,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-05 18:39:03] local.INFO: TCP Data received {"connection_id":148810,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:39:03] local.INFO: Processing buffer {"connection_id":148810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:39:03] local.INFO: IMEI packet received {"connection_id":148810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":148810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:39:08] local.INFO: TCP Data received {"connection_id":148810,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:39:08] local.INFO: Processing buffer {"connection_id":148810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:39:08] local.INFO: IMEI packet received {"connection_id":148810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":148810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:39:08] local.INFO: TCP Data received {"connection_id":148594,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:39:08] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:39:08] local.INFO: IMEI packet received {"connection_id":148594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":148594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:39:09] local.INFO: TCP Data received {"connection_id":148810,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:39:09] local.INFO: Processing buffer {"connection_id":148810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:39:09] local.INFO: Packet analysis {"connection_id":148810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:39:09] local.INFO: Extracted packet for processing {"connection_id":148810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199368704001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785935335000,"timestamp_ms":1785935335000,"timestamp_seconds":1785935335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a8e58"} 
[2026-08-05 18:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199368704001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199368704001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:39:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199368704001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":148810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:39:09] local.INFO: GPS data processed {"connection_id":148810,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:39:09] local.INFO: Acknowledgment sent {"connection_id":148810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:39:09] local.INFO: TCP Data received {"connection_id":148594,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:39:09] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:39:09] local.INFO: IMEI packet received {"connection_id":148594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":148594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:39:14] local.INFO: TCP Data received {"connection_id":148595,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:39:14] local.INFO: Processing buffer {"connection_id":148595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:39:14] local.INFO: IMEI packet received {"connection_id":148595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":148595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:39:17] local.INFO: TCP Data received {"connection_id":148594,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:39:17] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:39:17] local.INFO: IMEI packet received {"connection_id":148594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":148594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:39:17] local.INFO: TCP Data received {"connection_id":148594,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd207f260012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd207f260012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:39:17] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd207f260012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:39:17] local.INFO: Packet analysis {"connection_id":148594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:39:17] local.INFO: Extracted packet for processing {"connection_id":148594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199396608001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785935164000,"timestamp_ms":1785935164000,"timestamp_seconds":1785935164,"priority":1,"record_length":96,"hex_timestamp":"0000019fd207f260"} 
[2026-08-05 18:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 18:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199396608001,"66":12504,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199396608001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:39:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199396608001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":148594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:39:18] local.INFO: GPS data processed {"connection_id":148594,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:39:18] local.INFO: Acknowledgment sent {"connection_id":148594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:39:19] local.INFO: TCP Data received {"connection_id":148595,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:39:19] local.INFO: Processing buffer {"connection_id":148595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:39:19] local.INFO: IMEI packet received {"connection_id":148595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":148595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:39:20] local.INFO: TCP Data received {"connection_id":148595,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:39:20] local.INFO: Processing buffer {"connection_id":148595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:39:20] local.INFO: Packet analysis {"connection_id":148595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:39:20] local.INFO: Extracted packet for processing {"connection_id":148595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:39:20] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199322368001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785935154000,"timestamp_ms":1785935154000,"timestamp_seconds":1785935154,"priority":1,"record_length":96,"hex_timestamp":"0000019fd207cb50"} 
[2026-08-05 18:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199322368001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199322368001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:39:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:39:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199322368001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":148595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:39:20] local.INFO: GPS data processed {"connection_id":148595,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:39:20] local.INFO: Acknowledgment sent {"connection_id":148595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:39:40] local.INFO: TCP Data received {"connection_id":148810,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:39:40] local.INFO: Processing buffer {"connection_id":148810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:39:40] local.INFO: Packet analysis {"connection_id":148810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:39:40] local.INFO: Extracted packet for processing {"connection_id":148810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199368704001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785935335000,"timestamp_ms":1785935335000,"timestamp_seconds":1785935335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a8e58"} 
[2026-08-05 18:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:39: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-08-05 18:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199368704001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199368704001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:39:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199368704001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":148810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:39:40] local.INFO: GPS data processed {"connection_id":148810,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:39:40] local.INFO: Acknowledgment sent {"connection_id":148810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:39:48] local.INFO: TCP Data received {"connection_id":148594,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2084468012d1820c00721b298004a00d729..."} 
[2026-08-05 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2084468012d1820c00721b298004a00d729..."} 
[2026-08-05 18:39:48] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2084468012d1820c00721b298004a00d729..."} 
[2026-08-05 18:39:48] local.INFO: Packet analysis {"connection_id":148594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd208"} 
[2026-08-05 18:39:48] local.INFO: Extracted packet for processing {"connection_id":148594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd208"} 
[2026-08-05 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199401984001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785935185000,"timestamp_ms":1785935185000,"timestamp_seconds":1785935185,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2084468"} 
[2026-08-05 18:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 18:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199401984001,"66":12461,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199401984001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:39:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199401984001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":148594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:39:49] local.INFO: GPS data processed {"connection_id":148594,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:39:49] local.INFO: Acknowledgment sent {"connection_id":148594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:39:52] local.INFO: TCP Data received {"connection_id":148595,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:39:52] local.INFO: Processing buffer {"connection_id":148595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:39:52] local.INFO: Packet analysis {"connection_id":148595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:39:52] local.INFO: Extracted packet for processing {"connection_id":148595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:39:52] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199322368001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785935154000,"timestamp_ms":1785935154000,"timestamp_seconds":1785935154,"priority":1,"record_length":96,"hex_timestamp":"0000019fd207cb50"} 
[2026-08-05 18:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199322368001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199322368001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:39:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:39:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199322368001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":148595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:39:52] local.INFO: GPS data processed {"connection_id":148595,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:39:52] local.INFO: Acknowledgment sent {"connection_id":148595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:40:03] local.INFO: TCP Data received {"connection_id":151242,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:40:03] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:40:03] local.INFO: IMEI packet received {"connection_id":151242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":151242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:40:08] local.INFO: TCP Data received {"connection_id":151242,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:40:08] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:40:08] local.INFO: IMEI packet received {"connection_id":151242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":151242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:40:08] local.INFO: TCP Data received {"connection_id":151242,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:40:08] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:40:08] local.INFO: Packet analysis {"connection_id":151242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:40:08] local.INFO: Extracted packet for processing {"connection_id":151242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199368704001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785935335000,"timestamp_ms":1785935335000,"timestamp_seconds":1785935335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a8e58"} 
[2026-08-05 18:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199368704001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199368704001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:40:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199368704001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":151242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:40:08] local.INFO: GPS data processed {"connection_id":151242,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:40:08] local.INFO: Acknowledgment sent {"connection_id":151242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:40:09] local.INFO: TCP Data received {"connection_id":148596,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:40:09] local.INFO: Processing buffer {"connection_id":148596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:40:09] local.INFO: IMEI packet received {"connection_id":148596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":148596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:40:11] local.INFO: TCP Data received {"connection_id":148596,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:40:11] local.INFO: Processing buffer {"connection_id":148596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:40:11] local.INFO: IMEI packet received {"connection_id":148596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":148596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:40:14] local.INFO: TCP Data received {"connection_id":149816,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:40:14] local.INFO: Processing buffer {"connection_id":149816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:40:14] local.INFO: IMEI packet received {"connection_id":149816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":149816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:40:15] local.INFO: TCP Data received {"connection_id":148596,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:40:15] local.INFO: Processing buffer {"connection_id":148596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:40:15] local.INFO: IMEI packet received {"connection_id":148596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":148596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:40:15] local.INFO: TCP Data received {"connection_id":148596,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2089288012d1820c00721b298004a00d727..."} 
[2026-08-05 18:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2089288012d1820c00721b298004a00d727..."} 
[2026-08-05 18:40:15] local.INFO: Processing buffer {"connection_id":148596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2089288012d1820c00721b298004a00d727..."} 
[2026-08-05 18:40:15] local.INFO: Packet analysis {"connection_id":148596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd208"} 
[2026-08-05 18:40:15] local.INFO: Extracted packet for processing {"connection_id":148596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd208"} 
[2026-08-05 18:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199407360001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785935205000,"timestamp_ms":1785935205000,"timestamp_seconds":1785935205,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2089288"} 
[2026-08-05 18:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:40: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-08-05 18:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 18:40: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-08-05 18: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-08-05 18:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:40: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-08-05 18:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199407360001,"66":12428,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199407360001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:40:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199407360001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":148596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:40:15] local.INFO: GPS data processed {"connection_id":148596,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:40:15] local.INFO: Acknowledgment sent {"connection_id":148596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:40:19] local.INFO: TCP Data received {"connection_id":149816,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:40:19] local.INFO: Processing buffer {"connection_id":149816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:40:19] local.INFO: IMEI packet received {"connection_id":149816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":149816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:40:21] local.INFO: TCP Data received {"connection_id":149816,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:40:21] local.INFO: Processing buffer {"connection_id":149816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:40:21] local.INFO: Packet analysis {"connection_id":149816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:40:21] local.INFO: Extracted packet for processing {"connection_id":149816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:40:21] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199322368001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785935154000,"timestamp_ms":1785935154000,"timestamp_seconds":1785935154,"priority":1,"record_length":96,"hex_timestamp":"0000019fd207cb50"} 
[2026-08-05 18:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:40: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-08-05 18:40: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-08-05 18:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199322368001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199322368001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:40:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:40:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199322368001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":149816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:40:21] local.INFO: GPS data processed {"connection_id":149816,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:40:21] local.INFO: Acknowledgment sent {"connection_id":149816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:40:39] local.INFO: TCP Data received {"connection_id":151242,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:40:39] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:40:39] local.INFO: Packet analysis {"connection_id":151242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:40:39] local.INFO: Extracted packet for processing {"connection_id":151242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199368704001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785935335000,"timestamp_ms":1785935335000,"timestamp_seconds":1785935335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a8e58"} 
[2026-08-05 18:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199368704001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199368704001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:40:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199368704001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":151242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:40:39] local.INFO: GPS data processed {"connection_id":151242,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:40:39] local.INFO: Acknowledgment sent {"connection_id":151242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:40:46] local.INFO: TCP Data received {"connection_id":148596,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd208e490012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd208e490012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:40:46] local.INFO: Processing buffer {"connection_id":148596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd208e490012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:40:46] local.INFO: Packet analysis {"connection_id":148596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd208"} 
[2026-08-05 18:40:46] local.INFO: Extracted packet for processing {"connection_id":148596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd208"} 
[2026-08-05 18:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199412480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785935226000,"timestamp_ms":1785935226000,"timestamp_seconds":1785935226,"priority":1,"record_length":96,"hex_timestamp":"0000019fd208e490"} 
[2026-08-05 18:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 18:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:40: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-08-05 18:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199412480001,"66":12428,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199412480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:40:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199412480001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":148596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:40:47] local.INFO: GPS data processed {"connection_id":148596,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:40:47] local.INFO: Acknowledgment sent {"connection_id":148596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:40:53] local.INFO: TCP Data received {"connection_id":149816,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:40:53] local.INFO: Processing buffer {"connection_id":149816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd207cb50012d77aac005f27ad0000d000024..."} 
[2026-08-05 18:40:53] local.INFO: Packet analysis {"connection_id":149816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:40:53] local.INFO: Extracted packet for processing {"connection_id":149816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd207"} 
[2026-08-05 18:40:53] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199322368001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785935154000,"timestamp_ms":1785935154000,"timestamp_seconds":1785935154,"priority":1,"record_length":96,"hex_timestamp":"0000019fd207cb50"} 
[2026-08-05 18:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199322368001,"66":25702,"3":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-05 18:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199322368001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:40:53] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-05 18:40:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199322368001,"power":25702,"unknown_3":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":149816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:40:54] local.INFO: GPS data processed {"connection_id":149816,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:40:54] local.INFO: Acknowledgment sent {"connection_id":149816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:41:03] local.INFO: TCP Data received {"connection_id":148597,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:41:03] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:41:03] local.INFO: IMEI packet received {"connection_id":148597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":148597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:41:08] local.INFO: TCP Data received {"connection_id":148597,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:41:08] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:41:08] local.INFO: IMEI packet received {"connection_id":148597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":148597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:41:09] local.INFO: TCP Data received {"connection_id":148597,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:41:09] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:41:09] local.INFO: Packet analysis {"connection_id":148597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:41:09] local.INFO: Extracted packet for processing {"connection_id":148597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:41:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199368704001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785935335000,"timestamp_ms":1785935335000,"timestamp_seconds":1785935335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a8e58"} 
[2026-08-05 18:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199368704001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199368704001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199368704001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":148597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:41:09] local.INFO: GPS data processed {"connection_id":148597,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:41:09] local.INFO: Acknowledgment sent {"connection_id":148597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:41:09] local.INFO: TCP Data received {"connection_id":151243,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:41:09] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:41:09] local.INFO: IMEI packet received {"connection_id":151243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":151243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:41:11] local.INFO: TCP Data received {"connection_id":151243,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:41:11] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:41:11] local.INFO: IMEI packet received {"connection_id":151243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":151243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:41:15] local.INFO: TCP Data received {"connection_id":151243,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:41:15] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:41:15] local.INFO: IMEI packet received {"connection_id":151243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":151243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:41:15] local.INFO: TCP Data received {"connection_id":151243,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2093698012d1820c00721b298004a00d728..."} 
[2026-08-05 18:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2093698012d1820c00721b298004a00d728..."} 
[2026-08-05 18:41:15] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2093698012d1820c00721b298004a00d728..."} 
[2026-08-05 18:41:15] local.INFO: Packet analysis {"connection_id":151243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd209"} 
[2026-08-05 18:41:15] local.INFO: Extracted packet for processing {"connection_id":151243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd209"} 
[2026-08-05 18:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199417856001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785935247000,"timestamp_ms":1785935247000,"timestamp_seconds":1785935247,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2093698"} 
[2026-08-05 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-08-05 18:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 18:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:41: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-08-05 18:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199417856001,"66":12428,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199417856001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:41:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199417856001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":151243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:41:15] local.INFO: GPS data processed {"connection_id":151243,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:41:15] local.INFO: Acknowledgment sent {"connection_id":151243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:41:28] local.INFO: TCP Data received {"connection_id":151244,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:28] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:28] local.INFO: IMEI packet received {"connection_id":151244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":151244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:41:28] local.INFO: TCP Data received {"connection_id":151244,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:28] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:28] local.INFO: IMEI packet received {"connection_id":151244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":151244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:41:34] local.INFO: TCP Data received {"connection_id":151244,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:34] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:34] local.INFO: IMEI packet received {"connection_id":151244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":151244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:41:35] local.INFO: TCP Data received {"connection_id":151244,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:35] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:41:35] local.INFO: IMEI packet received {"connection_id":151244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":151244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:41:36] local.INFO: TCP Data received {"connection_id":151244,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:41:36] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:41:36] local.INFO: Packet analysis {"connection_id":151244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:41:36] local.INFO: Extracted packet for processing {"connection_id":151244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:41:36] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199399424001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785935455000,"timestamp_ms":1785935455000,"timestamp_seconds":1785935455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20c6318"} 
[2026-08-05 18:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199399424001,"66":25680,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199399424001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:41:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199399424001,"power":25680,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":151244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:41:36] local.INFO: GPS data processed {"connection_id":151244,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:41:36] local.INFO: Acknowledgment sent {"connection_id":151244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:41:40] local.INFO: TCP Data received {"connection_id":148597,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:41:40] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:41:40] local.INFO: Packet analysis {"connection_id":148597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:41:40] local.INFO: Extracted packet for processing {"connection_id":148597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199368704001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785935335000,"timestamp_ms":1785935335000,"timestamp_seconds":1785935335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a8e58"} 
[2026-08-05 18:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:41: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-08-05 18:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199368704001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199368704001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:41:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199368704001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":148597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:41:40] local.INFO: GPS data processed {"connection_id":148597,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:41:40] local.INFO: Acknowledgment sent {"connection_id":148597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:41:40] local.INFO: TCP Data received {"connection_id":151244,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:41:40] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:41:40] local.INFO: Packet analysis {"connection_id":151244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:41:40] local.INFO: Extracted packet for processing {"connection_id":151244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:41:40] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199399424001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785935455000,"timestamp_ms":1785935455000,"timestamp_seconds":1785935455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20c6318"} 
[2026-08-05 18:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199399424001,"66":25680,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199399424001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:41:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199399424001,"power":25680,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":151244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:41:40] local.INFO: GPS data processed {"connection_id":151244,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:41:40] local.INFO: Acknowledgment sent {"connection_id":151244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:41:46] local.INFO: TCP Data received {"connection_id":151243,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20988a0012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20988a0012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:41:46] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20988a0012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:41:46] local.INFO: Packet analysis {"connection_id":151243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd209"} 
[2026-08-05 18:41:46] local.INFO: Extracted packet for processing {"connection_id":151243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd209"} 
[2026-08-05 18:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199423232001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785935268000,"timestamp_ms":1785935268000,"timestamp_seconds":1785935268,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20988a0"} 
[2026-08-05 18:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:41: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-08-05 18:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 18:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:41: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-08-05 18:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199423232001,"66":12406,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199423232001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:41:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199423232001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":151243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:41:46] local.INFO: GPS data processed {"connection_id":151243,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:41:46] local.INFO: Acknowledgment sent {"connection_id":151243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:42:03] local.INFO: TCP Data received {"connection_id":148811,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:42:03] local.INFO: Processing buffer {"connection_id":148811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:42:03] local.INFO: IMEI packet received {"connection_id":148811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":148811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:42:08] local.INFO: TCP Data received {"connection_id":148811,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:42:08] local.INFO: Processing buffer {"connection_id":148811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:42:08] local.INFO: IMEI packet received {"connection_id":148811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":148811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:42:09] local.INFO: TCP Data received {"connection_id":148811,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:42:09] local.INFO: Processing buffer {"connection_id":148811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:42:09] local.INFO: Packet analysis {"connection_id":148811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:42:09] local.INFO: Extracted packet for processing {"connection_id":148811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199368704001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785935335000,"timestamp_ms":1785935335000,"timestamp_seconds":1785935335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a8e58"} 
[2026-08-05 18:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199368704001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199368704001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:42:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199368704001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":148811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:42:09] local.INFO: GPS data processed {"connection_id":148811,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:42:09] local.INFO: Acknowledgment sent {"connection_id":148811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:42:14] local.INFO: TCP Data received {"connection_id":149818,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:42:14] local.INFO: Processing buffer {"connection_id":149818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:42:14] local.INFO: IMEI packet received {"connection_id":149818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":149818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:42:15] local.INFO: TCP Data received {"connection_id":149817,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:42:15] local.INFO: Processing buffer {"connection_id":149817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:42:15] local.INFO: IMEI packet received {"connection_id":149817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":149817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:42:15] local.INFO: TCP Data received {"connection_id":149817,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:42:15] local.INFO: Processing buffer {"connection_id":149817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:42:15] local.INFO: IMEI packet received {"connection_id":149817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":149817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:42:19] local.INFO: TCP Data received {"connection_id":149818,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:42:19] local.INFO: Processing buffer {"connection_id":149818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:42:19] local.INFO: IMEI packet received {"connection_id":149818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":149818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:42:20] local.INFO: TCP Data received {"connection_id":149817,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:42:20] local.INFO: Processing buffer {"connection_id":149817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:42:20] local.INFO: IMEI packet received {"connection_id":149817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":149817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:42:20] local.INFO: TCP Data received {"connection_id":149818,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:42:20] local.INFO: Processing buffer {"connection_id":149818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:42:20] local.INFO: Packet analysis {"connection_id":149818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:42:20] local.INFO: Extracted packet for processing {"connection_id":149818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:42:20] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199399424001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785935455000,"timestamp_ms":1785935455000,"timestamp_seconds":1785935455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20c6318"} 
[2026-08-05 18:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199399424001,"66":25680,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199399424001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:42:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199399424001,"power":25680,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":149818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:42:20] local.INFO: GPS data processed {"connection_id":149818,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:42:20] local.INFO: Acknowledgment sent {"connection_id":149818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:42:20] local.INFO: TCP Data received {"connection_id":149817,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd209daa8012d1820c00721b298004a00d728..."} 
[2026-08-05 18:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd209daa8012d1820c00721b298004a00d728..."} 
[2026-08-05 18:42:20] local.INFO: Processing buffer {"connection_id":149817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd209daa8012d1820c00721b298004a00d728..."} 
[2026-08-05 18:42:20] local.INFO: Packet analysis {"connection_id":149817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd209"} 
[2026-08-05 18:42:20] local.INFO: Extracted packet for processing {"connection_id":149817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd209"} 
[2026-08-05 18:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199428608001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785935289000,"timestamp_ms":1785935289000,"timestamp_seconds":1785935289,"priority":1,"record_length":96,"hex_timestamp":"0000019fd209daa8"} 
[2026-08-05 18:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 18:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199428608001,"66":12428,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199428608001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:42:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199428608001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":149817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:42:20] local.INFO: GPS data processed {"connection_id":149817,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:42:20] local.INFO: Acknowledgment sent {"connection_id":149817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:42:25] local.INFO: TCP Data received {"connection_id":149817,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a2cb0012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a2cb0012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:42:25] local.INFO: Processing buffer {"connection_id":149817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a2cb0012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:42:25] local.INFO: Packet analysis {"connection_id":149817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:42:25] local.INFO: Extracted packet for processing {"connection_id":149817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:42:25] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199433984001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785935310000,"timestamp_ms":1785935310000,"timestamp_seconds":1785935310,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a2cb0"} 
[2026-08-05 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-08-05 18:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 18:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199433984001,"66":12374,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199433984001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:42:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:42:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199433984001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":149817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:42:25] local.INFO: GPS data processed {"connection_id":149817,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:42:25] local.INFO: Acknowledgment sent {"connection_id":149817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:42:43] local.INFO: TCP Data received {"connection_id":148811,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:42:43] local.INFO: Processing buffer {"connection_id":148811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:42:43] local.INFO: Packet analysis {"connection_id":148811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:42:43] local.INFO: Extracted packet for processing {"connection_id":148811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:42:43] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199368704001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785935335000,"timestamp_ms":1785935335000,"timestamp_seconds":1785935335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a8e58"} 
[2026-08-05 18:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199368704001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199368704001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:42:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199368704001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":148811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:42:43] local.INFO: GPS data processed {"connection_id":148811,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:42:43] local.INFO: Acknowledgment sent {"connection_id":148811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:42:51] local.INFO: TCP Data received {"connection_id":149818,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:42:51] local.INFO: Processing buffer {"connection_id":149818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:42:51] local.INFO: Packet analysis {"connection_id":149818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:42:51] local.INFO: Extracted packet for processing {"connection_id":149818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:42:51] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199399424001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785935455000,"timestamp_ms":1785935455000,"timestamp_seconds":1785935455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20c6318"} 
[2026-08-05 18:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199399424001,"66":25680,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199399424001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:42:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199399424001,"power":25680,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":149818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:42:51] local.INFO: GPS data processed {"connection_id":149818,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:42:51] local.INFO: Acknowledgment sent {"connection_id":149818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:43:03] local.INFO: TCP Data received {"connection_id":148598,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:43:03] local.INFO: Processing buffer {"connection_id":148598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:43:03] local.INFO: IMEI packet received {"connection_id":148598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":148598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:43:08] local.INFO: TCP Data received {"connection_id":148598,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:43:08] local.INFO: Processing buffer {"connection_id":148598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:43:08] local.INFO: IMEI packet received {"connection_id":148598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":148598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:43:09] local.INFO: TCP Data received {"connection_id":148598,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:43:09] local.INFO: Processing buffer {"connection_id":148598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:43:09] local.INFO: Packet analysis {"connection_id":148598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:43:09] local.INFO: Extracted packet for processing {"connection_id":148598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:43:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199368704001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785935335000,"timestamp_ms":1785935335000,"timestamp_seconds":1785935335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a8e58"} 
[2026-08-05 18:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199368704001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199368704001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:43:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199368704001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":148598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:43:09] local.INFO: GPS data processed {"connection_id":148598,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:43:09] local.INFO: Acknowledgment sent {"connection_id":148598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:43:10] local.INFO: TCP Data received {"connection_id":151245,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:43:10] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:43:10] local.INFO: IMEI packet received {"connection_id":151245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":151245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:43:15] local.INFO: TCP Data received {"connection_id":151245,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:43:15] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:43:15] local.INFO: IMEI packet received {"connection_id":151245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":151245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:43:15] local.INFO: TCP Data received {"connection_id":151245,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a82a0012d1820c00721b298004a00d728..."} 
[2026-08-05 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a82a0012d1820c00721b298004a00d728..."} 
[2026-08-05 18:43:15] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a82a0012d1820c00721b298004a00d728..."} 
[2026-08-05 18:43:15] local.INFO: Packet analysis {"connection_id":151245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:43:15] local.INFO: Extracted packet for processing {"connection_id":151245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199439360001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785935332000,"timestamp_ms":1785935332000,"timestamp_seconds":1785935332,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a82a0"} 
[2026-08-05 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-08-05 18:43: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-08-05 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 18:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:43: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-08-05 18:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199439360001,"66":12374,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199439360001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:43:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199439360001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":151245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:43:15] local.INFO: GPS data processed {"connection_id":151245,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:43:15] local.INFO: Acknowledgment sent {"connection_id":151245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:43:19] local.INFO: TCP Data received {"connection_id":148599,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:43:19] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:43:19] local.INFO: IMEI packet received {"connection_id":148599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":148599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:43:24] local.INFO: TCP Data received {"connection_id":148599,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:43:24] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:43:24] local.INFO: IMEI packet received {"connection_id":148599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":148599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:43:25] local.INFO: TCP Data received {"connection_id":148599,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:43:25] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:43:25] local.INFO: Packet analysis {"connection_id":148599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:43:25] local.INFO: Extracted packet for processing {"connection_id":148599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199399424001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785935455000,"timestamp_ms":1785935455000,"timestamp_seconds":1785935455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20c6318"} 
[2026-08-05 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-08-05 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199399424001,"66":25680,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199399424001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:43:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199399424001,"power":25680,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":148599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:43:25] local.INFO: GPS data processed {"connection_id":148599,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:43:25] local.INFO: Acknowledgment sent {"connection_id":148599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:43:30] local.INFO: TCP Data received {"connection_id":148599,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:43:30] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:43:30] local.INFO: Packet analysis {"connection_id":148599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:43:30] local.INFO: Extracted packet for processing {"connection_id":148599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199399424001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785935455000,"timestamp_ms":1785935455000,"timestamp_seconds":1785935455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20c6318"} 
[2026-08-05 18:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199399424001,"66":25680,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199399424001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:43:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199399424001,"power":25680,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":148599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:43:30] local.INFO: GPS data processed {"connection_id":148599,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:43:30] local.INFO: Acknowledgment sent {"connection_id":148599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:43:40] local.INFO: TCP Data received {"connection_id":148598,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:43:40] local.INFO: Processing buffer {"connection_id":148598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20a8e58012d7e37c005d34dd80002003327..."} 
[2026-08-05 18:43:40] local.INFO: Packet analysis {"connection_id":148598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:43:40] local.INFO: Extracted packet for processing {"connection_id":148598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199368704001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785935335000,"timestamp_ms":1785935335000,"timestamp_seconds":1785935335,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20a8e58"} 
[2026-08-05 18:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:43: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-08-05 18: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":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199368704001,"66":2242,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199368704001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:43:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199368704001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":148598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:43:40] local.INFO: GPS data processed {"connection_id":148598,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:43:40] local.INFO: Acknowledgment sent {"connection_id":148598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:43:46] local.INFO: TCP Data received {"connection_id":151245,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20ad4a8012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20ad4a8012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:43:46] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20ad4a8012d1820c00721b298004a00d72a..."} 
[2026-08-05 18:43:46] local.INFO: Packet analysis {"connection_id":151245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:43:46] local.INFO: Extracted packet for processing {"connection_id":151245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20a"} 
[2026-08-05 18:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199444992001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785935353000,"timestamp_ms":1785935353000,"timestamp_seconds":1785935353,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20ad4a8"} 
[2026-08-05 18:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:43: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-08-05 18:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 18:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:43: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-08-05 18:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199444992001,"66":12363,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199444992001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:43:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199444992001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":151245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:43:47] local.INFO: GPS data processed {"connection_id":151245,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:43:47] local.INFO: Acknowledgment sent {"connection_id":151245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:44:03] local.INFO: TCP Data received {"connection_id":151246,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:44:03] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:44:03] local.INFO: IMEI packet received {"connection_id":151246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":151246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:44:08] local.INFO: TCP Data received {"connection_id":151246,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:44:08] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:44:08] local.INFO: IMEI packet received {"connection_id":151246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":151246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:44:08] local.INFO: TCP Data received {"connection_id":151246,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:44:08] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:44:08] local.INFO: Packet analysis {"connection_id":151246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:44:08] local.INFO: Extracted packet for processing {"connection_id":151246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199445760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785935636000,"timestamp_ms":1785935636000,"timestamp_seconds":1785935636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f2620"} 
[2026-08-05 18:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:44: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-08-05 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199445760001,"66":2220,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199445760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:44:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199445760001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":151246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:44:08] local.INFO: GPS data processed {"connection_id":151246,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:44:08] local.INFO: Acknowledgment sent {"connection_id":151246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:44:10] local.INFO: TCP Data received {"connection_id":151247,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:44:10] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:44:10] local.INFO: IMEI packet received {"connection_id":151247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":151247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:44:15] local.INFO: TCP Data received {"connection_id":151247,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:44:15] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:44:15] local.INFO: IMEI packet received {"connection_id":151247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":151247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:44:15] local.INFO: TCP Data received {"connection_id":148812,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:44:15] local.INFO: Processing buffer {"connection_id":148812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:44:15] local.INFO: IMEI packet received {"connection_id":148812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":148812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:44:15] local.INFO: TCP Data received {"connection_id":151247,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20b26b0012d1820c00721b298004a00d728..."} 
[2026-08-05 18:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20b26b0012d1820c00721b298004a00d728..."} 
[2026-08-05 18:44:15] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20b26b0012d1820c00721b298004a00d728..."} 
[2026-08-05 18:44:15] local.INFO: Packet analysis {"connection_id":151247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20b"} 
[2026-08-05 18:44:15] local.INFO: Extracted packet for processing {"connection_id":151247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20b"} 
[2026-08-05 18:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648920,"longitude_deg":75.6555968,"latitude_deg":11.964892,"altitude":74,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199450368001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769274012434432,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027667968,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785935374000,"timestamp_ms":1785935374000,"timestamp_seconds":1785935374,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20b26b0"} 
[2026-08-05 18:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:44: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-08-05 18:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 18:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:44: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-08-05 18:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199450368001,"66":12385,"105":206,"83":41984,"24":0,"16":10769274012434432,"45":1738600593027667968},"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-08-05 18:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199450368001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:44:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769274012434432,"km_value":10769274012434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027667968,"description":"Unknown IO ID 45"} 
[2026-08-05 18:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199450368001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027667968}} 
[2026-08-05 18:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":151247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:44:15] local.INFO: GPS data processed {"connection_id":151247,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:44:15] local.INFO: Acknowledgment sent {"connection_id":151247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:44:20] local.INFO: TCP Data received {"connection_id":148812,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:44:20] local.INFO: Processing buffer {"connection_id":148812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:44:20] local.INFO: IMEI packet received {"connection_id":148812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":148812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:44:20] local.INFO: TCP Data received {"connection_id":148812,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:44:20] local.INFO: Processing buffer {"connection_id":148812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20c6318012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:44:20] local.INFO: Packet analysis {"connection_id":148812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:44:20] local.INFO: Extracted packet for processing {"connection_id":148812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20c"} 
[2026-08-05 18:44:20] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199399424001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785935455000,"timestamp_ms":1785935455000,"timestamp_seconds":1785935455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20c6318"} 
[2026-08-05 18:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-05 18:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199399424001,"66":25680,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199399424001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:44:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199399424001,"power":25680,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":148812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:44:20] local.INFO: GPS data processed {"connection_id":148812,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:44:20] local.INFO: Acknowledgment sent {"connection_id":148812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:44:39] local.INFO: TCP Data received {"connection_id":151246,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:44:39] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:44:39] local.INFO: Packet analysis {"connection_id":151246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:44:39] local.INFO: Extracted packet for processing {"connection_id":151246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199445760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785935636000,"timestamp_ms":1785935636000,"timestamp_seconds":1785935636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f2620"} 
[2026-08-05 18:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199445760001,"66":2220,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199445760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:44:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199445760001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":151246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:44:39] local.INFO: GPS data processed {"connection_id":151246,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:44:39] local.INFO: Acknowledgment sent {"connection_id":151246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:44:46] local.INFO: TCP Data received {"connection_id":151247,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20e9d68012d181f800721af30004d00c82a..."} 
[2026-08-05 18:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20e9d68012d181f800721af30004d00c82a..."} 
[2026-08-05 18:44:46] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20e9d68012d181f800721af30004d00c82a..."} 
[2026-08-05 18:44:46] local.INFO: Packet analysis {"connection_id":151247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20e"} 
[2026-08-05 18:44:46] local.INFO: Extracted packet for processing {"connection_id":151247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20e"} 
[2026-08-05 18:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":77,"angle":200,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-05 18:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199508480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769316962107392,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785935601000,"timestamp_ms":1785935601000,"timestamp_seconds":1785935601,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20e9d68"} 
[2026-08-05 18:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:44: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-08-05 18:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 18:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:44: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-08-05 18:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199508480001,"66":12439,"105":206,"83":41984,"24":0,"16":10769316962107392,"45":1738248749306556416},"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-08-05 18:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199508480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:44:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769316962107392,"km_value":10769316962107.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-05 18:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199508480001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-05 18:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":151247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:44:47] local.INFO: GPS data processed {"connection_id":151247,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:44:47] local.INFO: Acknowledgment sent {"connection_id":151247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:44:51] local.INFO: TCP Data received {"connection_id":148812,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f31d8012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f31d8012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:44:51] local.INFO: Processing buffer {"connection_id":148812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f31d8012d77aac005f27ad0000d000025..."} 
[2026-08-05 18:44:51] local.INFO: Packet analysis {"connection_id":148812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:44:51] local.INFO: Extracted packet for processing {"connection_id":148812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:44:51] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99777232,"longitude_deg":76.2817216,"latitude_deg":9.9777232,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77aac0","hex_latitude":"05f27ad0","is_valid_coordinates":true} 
[2026-08-05 18:44: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-08-05 18:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199476480001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785935639000,"timestamp_ms":1785935639000,"timestamp_seconds":1785935639,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f31d8"} 
[2026-08-05 18:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 18:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199476480001,"66":25680,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199476480001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:44:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199476480001,"power":25680,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":148812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:44:51] local.INFO: GPS data processed {"connection_id":148812,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:44:51] local.INFO: Acknowledgment sent {"connection_id":148812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:45:03] local.INFO: TCP Data received {"connection_id":151248,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:45:03] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:45:03] local.INFO: IMEI packet received {"connection_id":151248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":151248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:45:08] local.INFO: TCP Data received {"connection_id":151248,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:45:08] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:45:08] local.INFO: IMEI packet received {"connection_id":151248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":151248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:45:09] local.INFO: TCP Data received {"connection_id":151248,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:45:09] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:45:09] local.INFO: Packet analysis {"connection_id":151248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:45:09] local.INFO: Extracted packet for processing {"connection_id":151248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199445760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785935636000,"timestamp_ms":1785935636000,"timestamp_seconds":1785935636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f2620"} 
[2026-08-05 18:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199445760001,"66":2220,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199445760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:45:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199445760001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":151248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:45:09] local.INFO: GPS data processed {"connection_id":151248,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:45:09] local.INFO: Acknowledgment sent {"connection_id":151248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:45:10] local.INFO: TCP Data received {"connection_id":151249,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:45:10] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:45:10] local.INFO: IMEI packet received {"connection_id":151249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":151249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:45:15] local.INFO: TCP Data received {"connection_id":151249,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:45:15] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:45:15] local.INFO: IMEI packet received {"connection_id":151249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":151249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:45:15] local.INFO: TCP Data received {"connection_id":151249,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20eef70012d181f800721af30004d00c828..."} 
[2026-08-05 18:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20eef70012d181f800721af30004d00c828..."} 
[2026-08-05 18:45:15] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20eef70012d181f800721af30004d00c828..."} 
[2026-08-05 18:45:15] local.INFO: Packet analysis {"connection_id":151249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20e"} 
[2026-08-05 18:45:15] local.INFO: Extracted packet for processing {"connection_id":151249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20e"} 
[2026-08-05 18:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":77,"angle":200,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199513856001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769316962107392,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785935622000,"timestamp_ms":1785935622000,"timestamp_seconds":1785935622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20eef70"} 
[2026-08-05 18:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:45: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-08-05 18:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 18:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:45: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-08-05 18:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199513856001,"66":12428,"105":206,"83":41984,"24":0,"16":10769316962107392,"45":1738248749306556416},"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-08-05 18:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199513856001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:45:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769316962107392,"km_value":10769316962107.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-05 18:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199513856001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-05 18:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":151249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:45:15] local.INFO: GPS data processed {"connection_id":151249,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:45:15] local.INFO: Acknowledgment sent {"connection_id":151249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:45:19] local.INFO: TCP Data received {"connection_id":148600,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:45:19] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:45:19] local.INFO: IMEI packet received {"connection_id":148600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":148600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:45:21] local.INFO: TCP Data received {"connection_id":148600,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:45:21] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:45:21] local.INFO: IMEI packet received {"connection_id":148600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":148600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:45:26] local.INFO: TCP Data received {"connection_id":148600,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f8bb0012d77a64005f27928000d000026..."} 
[2026-08-05 18:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f8bb0012d77a64005f27928000d000026..."} 
[2026-08-05 18:45:26] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f8bb0012d77a64005f27928000d000026..."} 
[2026-08-05 18:45:26] local.INFO: Packet analysis {"connection_id":148600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:45:26] local.INFO: Extracted packet for processing {"connection_id":148600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:45:26] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199523584001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568329740288,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785935662000,"timestamp_ms":1785935662000,"timestamp_seconds":1785935662,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f8bb0"} 
[2026-08-05 18:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-05 18:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199523584001,"66":27745,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622915568329740288},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199523584001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:45:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568329740288,"description":"Unknown IO ID 45"} 
[2026-08-05 18:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199523584001,"power":27745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568329740288}} 
[2026-08-05 18:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":148600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:45:26] local.INFO: GPS data processed {"connection_id":148600,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:45:26] local.INFO: Acknowledgment sent {"connection_id":148600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:45:27] local.INFO: TCP Data received {"connection_id":148600,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20fddb8012d77a64005f27928000d000027..."} 
[2026-08-05 18:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20fddb8012d77a64005f27928000d000027..."} 
[2026-08-05 18:45:27] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20fddb8012d77a64005f27928000d000027..."} 
[2026-08-05 18:45:27] local.INFO: Packet analysis {"connection_id":148600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:45:27] local.INFO: Extracted packet for processing {"connection_id":148600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:45:27] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199529472001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785935683000,"timestamp_ms":1785935683000,"timestamp_seconds":1785935683,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20fddb8"} 
[2026-08-05 18:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 18:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199529472001,"66":27604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199529472001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:45:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199529472001,"power":27604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":148600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:45:27] local.INFO: GPS data processed {"connection_id":148600,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:45:27] local.INFO: Acknowledgment sent {"connection_id":148600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:45:40] local.INFO: TCP Data received {"connection_id":151248,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:45:40] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:45:40] local.INFO: Packet analysis {"connection_id":151248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:45:40] local.INFO: Extracted packet for processing {"connection_id":151248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199445760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785935636000,"timestamp_ms":1785935636000,"timestamp_seconds":1785935636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f2620"} 
[2026-08-05 18:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:45: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-08-05 18:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199445760001,"66":2220,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199445760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:45:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199445760001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":151248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:45:40] local.INFO: GPS data processed {"connection_id":151248,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:45:40] local.INFO: Acknowledgment sent {"connection_id":151248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:45:46] local.INFO: TCP Data received {"connection_id":151249,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f4560012d181f800721af30004d00c828..."} 
[2026-08-05 18:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f4560012d181f800721af30004d00c828..."} 
[2026-08-05 18:45:46] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f4560012d181f800721af30004d00c828..."} 
[2026-08-05 18:45:46] local.INFO: Packet analysis {"connection_id":151249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:45:46] local.INFO: Extracted packet for processing {"connection_id":151249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":77,"angle":200,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-05 18:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199519232001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769316962107392,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785935644000,"timestamp_ms":1785935644000,"timestamp_seconds":1785935644,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f4560"} 
[2026-08-05 18:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-05 18:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:45: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-08-05 18:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199519232001,"66":12461,"105":206,"83":41984,"24":0,"16":10769316962107392,"45":1738248749306556416},"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-08-05 18:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199519232001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:45:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769316962107392,"km_value":10769316962107.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-05 18:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199519232001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-05 18:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":151249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:45:46] local.INFO: GPS data processed {"connection_id":151249,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:45:46] local.INFO: Acknowledgment sent {"connection_id":151249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:45:59] local.INFO: TCP Data received {"connection_id":148600,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2102fc0012d77a64005f27928000d000025..."} 
[2026-08-05 18:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2102fc0012d77a64005f27928000d000025..."} 
[2026-08-05 18:45:59] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2102fc0012d77a64005f27928000d000025..."} 
[2026-08-05 18:45:59] local.INFO: Packet analysis {"connection_id":148600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:45:59] local.INFO: Extracted packet for processing {"connection_id":148600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:45:59] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199534848001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785935704000,"timestamp_ms":1785935704000,"timestamp_seconds":1785935704,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2102fc0"} 
[2026-08-05 18:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 18:45: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-08-05 18:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199534848001,"66":27800,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199534848001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:45:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199534848001,"power":27800,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":148600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:45:59] local.INFO: GPS data processed {"connection_id":148600,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:45:59] local.INFO: Acknowledgment sent {"connection_id":148600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:46:03] local.INFO: TCP Data received {"connection_id":148813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:46:03] local.INFO: Processing buffer {"connection_id":148813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:46:03] local.INFO: IMEI packet received {"connection_id":148813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":148813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:46:08] local.INFO: TCP Data received {"connection_id":148813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:46:08] local.INFO: Processing buffer {"connection_id":148813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:46:08] local.INFO: IMEI packet received {"connection_id":148813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":148813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:46:10] local.INFO: TCP Data received {"connection_id":149819,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:46:10] local.INFO: Processing buffer {"connection_id":149819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:46:10] local.INFO: IMEI packet received {"connection_id":149819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":149819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:46:11] local.INFO: TCP Data received {"connection_id":148813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:46:11] local.INFO: Processing buffer {"connection_id":148813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:46:11] local.INFO: Packet analysis {"connection_id":148813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:46:11] local.INFO: Extracted packet for processing {"connection_id":148813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199445760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785935636000,"timestamp_ms":1785935636000,"timestamp_seconds":1785935636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f2620"} 
[2026-08-05 18:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199445760001,"66":2220,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199445760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:46:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199445760001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":148813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:46:11] local.INFO: GPS data processed {"connection_id":148813,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:46:11] local.INFO: Acknowledgment sent {"connection_id":148813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:46:14] local.INFO: TCP Data received {"connection_id":149820,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:46:14] local.INFO: Processing buffer {"connection_id":149820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:46:14] local.INFO: IMEI packet received {"connection_id":149820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":149820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:46:15] local.INFO: TCP Data received {"connection_id":149819,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:46:15] local.INFO: Processing buffer {"connection_id":149819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:46:15] local.INFO: IMEI packet received {"connection_id":149819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":149819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:46:15] local.INFO: TCP Data received {"connection_id":149819,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f9768012d181f800721af30004d00c827..."} 
[2026-08-05 18:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f9768012d181f800721af30004d00c827..."} 
[2026-08-05 18:46:15] local.INFO: Processing buffer {"connection_id":149819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f9768012d181f800721af30004d00c827..."} 
[2026-08-05 18:46:15] local.INFO: Packet analysis {"connection_id":149819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:46:15] local.INFO: Extracted packet for processing {"connection_id":149819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":77,"angle":200,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769316962107392,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785935665000,"timestamp_ms":1785935665000,"timestamp_seconds":1785935665,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f9768"} 
[2026-08-05 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-08-05 18:46: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-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 18:46: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-08-05 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-08-05 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-08-05 18:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:46: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-08-05 18:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199524864001,"66":12439,"105":206,"83":41984,"24":0,"16":10769316962107392,"45":1738248749306556416},"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-08-05 18:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:46:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769316962107392,"km_value":10769316962107.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-05 18:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199524864001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-05 18:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":149819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:46:16] local.INFO: GPS data processed {"connection_id":149819,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:46:16] local.INFO: Acknowledgment sent {"connection_id":149819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:46:19] local.INFO: TCP Data received {"connection_id":149820,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:46:19] local.INFO: Processing buffer {"connection_id":149820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:46:19] local.INFO: IMEI packet received {"connection_id":149820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":149820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:46:20] local.INFO: TCP Data received {"connection_id":149820,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21081c8012d77a64005f27928000d000024..."} 
[2026-08-05 18:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21081c8012d77a64005f27928000d000024..."} 
[2026-08-05 18:46:20] local.INFO: Processing buffer {"connection_id":149820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21081c8012d77a64005f27928000d000024..."} 
[2026-08-05 18:46:20] local.INFO: Packet analysis {"connection_id":149820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:46:20] local.INFO: Extracted packet for processing {"connection_id":149820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:46:20] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199540224001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785935725000,"timestamp_ms":1785935725000,"timestamp_seconds":1785935725,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21081c8"} 
[2026-08-05 18:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-05 18:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199540224001,"66":27908,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199540224001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:46:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199540224001,"power":27908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":149820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:46:20] local.INFO: GPS data processed {"connection_id":149820,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:46:20] local.INFO: Acknowledgment sent {"connection_id":149820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:46:42] local.INFO: TCP Data received {"connection_id":148813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:46:42] local.INFO: Processing buffer {"connection_id":148813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:46:42] local.INFO: Packet analysis {"connection_id":148813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:46:42] local.INFO: Extracted packet for processing {"connection_id":148813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199445760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785935636000,"timestamp_ms":1785935636000,"timestamp_seconds":1785935636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f2620"} 
[2026-08-05 18:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199445760001,"66":2220,"109":206,"85":15104,"24":0,"16":115052338384732160,"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-08-05 18:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199445760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:46:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199445760001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":148813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:46:42] local.INFO: GPS data processed {"connection_id":148813,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:46:42] local.INFO: Acknowledgment sent {"connection_id":148813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:46:46] local.INFO: TCP Data received {"connection_id":149819,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20fe970012d181f800721af30004d00c829..."} 
[2026-08-05 18:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20fe970012d181f800721af30004d00c829..."} 
[2026-08-05 18:46:46] local.INFO: Processing buffer {"connection_id":149819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20fe970012d181f800721af30004d00c829..."} 
[2026-08-05 18:46:46] local.INFO: Packet analysis {"connection_id":149819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:46:46] local.INFO: Extracted packet for processing {"connection_id":149819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":77,"angle":200,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-05 18:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199530240001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769316962107392,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785935686000,"timestamp_ms":1785935686000,"timestamp_seconds":1785935686,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20fe970"} 
[2026-08-05 18:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 18:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:46: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-08-05 18:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199530240001,"66":12439,"105":206,"83":41984,"24":0,"16":10769316962107392,"45":1738248749306556416},"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-08-05 18:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199530240001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:46:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769316962107392,"km_value":10769316962107.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-05 18:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199530240001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-05 18:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":149819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:46:47] local.INFO: GPS data processed {"connection_id":149819,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:46:47] local.INFO: Acknowledgment sent {"connection_id":149819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:46:52] local.INFO: TCP Data received {"connection_id":149820,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd210d3d0012d77a64005f27928000d000028..."} 
[2026-08-05 18:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd210d3d0012d77a64005f27928000d000028..."} 
[2026-08-05 18:46:52] local.INFO: Processing buffer {"connection_id":149820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd210d3d0012d77a64005f27928000d000028..."} 
[2026-08-05 18:46:52] local.INFO: Packet analysis {"connection_id":149820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:46:52] local.INFO: Extracted packet for processing {"connection_id":149820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:46:52] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199545600001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785935746000,"timestamp_ms":1785935746000,"timestamp_seconds":1785935746,"priority":1,"record_length":96,"hex_timestamp":"0000019fd210d3d0"} 
[2026-08-05 18:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 18:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199545600001,"66":27604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199545600001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:46:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199545600001,"power":27604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":149820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:46:52] local.INFO: GPS data processed {"connection_id":149820,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:46:52] local.INFO: Acknowledgment sent {"connection_id":149820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:47:03] local.INFO: TCP Data received {"connection_id":148814,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:47:03] local.INFO: Processing buffer {"connection_id":148814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:47:03] local.INFO: IMEI packet received {"connection_id":148814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":148814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:47:08] local.INFO: TCP Data received {"connection_id":148814,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:47:08] local.INFO: Processing buffer {"connection_id":148814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:47:08] local.INFO: IMEI packet received {"connection_id":148814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":148814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:47:08] local.INFO: TCP Data received {"connection_id":149821,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:47:08] local.INFO: Processing buffer {"connection_id":149821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:47:08] local.INFO: IMEI packet received {"connection_id":149821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":149821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:47:09] local.INFO: TCP Data received {"connection_id":148814,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:47:09] local.INFO: Processing buffer {"connection_id":148814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:47:09] local.INFO: Packet analysis {"connection_id":148814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:47:09] local.INFO: Extracted packet for processing {"connection_id":148814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199445760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785935636000,"timestamp_ms":1785935636000,"timestamp_seconds":1785935636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f2620"} 
[2026-08-05 18:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199445760001,"66":2220,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199445760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199445760001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":148814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:47:09] local.INFO: GPS data processed {"connection_id":148814,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:47:09] local.INFO: Acknowledgment sent {"connection_id":148814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:47:09] local.INFO: TCP Data received {"connection_id":149821,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:47:09] local.INFO: Processing buffer {"connection_id":149821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:47:09] local.INFO: IMEI packet received {"connection_id":149821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":149821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:47:14] local.INFO: TCP Data received {"connection_id":151250,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:47:14] local.INFO: Processing buffer {"connection_id":151250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:47:14] local.INFO: IMEI packet received {"connection_id":151250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":151250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:47:15] local.INFO: TCP Data received {"connection_id":149821,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:47:15] local.INFO: Processing buffer {"connection_id":149821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:47:15] local.INFO: IMEI packet received {"connection_id":149821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":149821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:47:15] local.INFO: TCP Data received {"connection_id":149821,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2103b78012d181f800721af30004d00c82a..."} 
[2026-08-05 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2103b78012d181f800721af30004d00c82a..."} 
[2026-08-05 18:47:15] local.INFO: Processing buffer {"connection_id":149821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2103b78012d181f800721af30004d00c82a..."} 
[2026-08-05 18:47:15] local.INFO: Packet analysis {"connection_id":149821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:47:15] local.INFO: Extracted packet for processing {"connection_id":149821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":77,"angle":200,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-05 18:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199535616001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769316962107392,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785935707000,"timestamp_ms":1785935707000,"timestamp_seconds":1785935707,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2103b78"} 
[2026-08-05 18:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 18:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:47: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-08-05 18:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199535616001,"66":12439,"105":206,"83":41984,"24":0,"16":10769316962107392,"45":1738248749306556416},"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-08-05 18:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199535616001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:47:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769316962107392,"km_value":10769316962107.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-05 18:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199535616001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-05 18:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":149821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:47:15] local.INFO: GPS data processed {"connection_id":149821,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:47:15] local.INFO: Acknowledgment sent {"connection_id":149821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:47:19] local.INFO: TCP Data received {"connection_id":151250,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:47:19] local.INFO: Processing buffer {"connection_id":151250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:47:19] local.INFO: IMEI packet received {"connection_id":151250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":151250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:47:38] local.INFO: TCP Data received {"connection_id":151250,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:47:38] local.INFO: Processing buffer {"connection_id":151250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:47:38] local.INFO: Packet analysis {"connection_id":151250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:47:38] local.INFO: Extracted packet for processing {"connection_id":151250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:47:38] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199550976001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785935757000,"timestamp_ms":1785935757000,"timestamp_seconds":1785935757,"priority":1,"record_length":96,"hex_timestamp":"0000019fd210fec8"} 
[2026-08-05 18:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 18:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199550976001,"66":28093,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199550976001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:47:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199550976001,"power":28093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":151250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:47:38] local.INFO: GPS data processed {"connection_id":151250,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:47:38] local.INFO: Acknowledgment sent {"connection_id":151250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:47:40] local.INFO: TCP Data received {"connection_id":148814,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:47:40] local.INFO: Processing buffer {"connection_id":148814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:47:40] local.INFO: Packet analysis {"connection_id":148814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:47:40] local.INFO: Extracted packet for processing {"connection_id":148814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199445760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785935636000,"timestamp_ms":1785935636000,"timestamp_seconds":1785935636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f2620"} 
[2026-08-05 18:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:47: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-08-05 18:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199445760001,"66":2220,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199445760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:47:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199445760001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":148814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:47:40] local.INFO: GPS data processed {"connection_id":148814,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:47:40] local.INFO: Acknowledgment sent {"connection_id":148814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:47:46] local.INFO: TCP Data received {"connection_id":149821,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2108d80012d181f800721af30004d00c82a..."} 
[2026-08-05 18:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2108d80012d181f800721af30004d00c82a..."} 
[2026-08-05 18:47:46] local.INFO: Processing buffer {"connection_id":149821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2108d80012d181f800721af30004d00c82a..."} 
[2026-08-05 18:47:46] local.INFO: Packet analysis {"connection_id":149821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:47:46] local.INFO: Extracted packet for processing {"connection_id":149821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":77,"angle":200,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199540992001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769316962107392,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-05 18:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785935728000,"timestamp_ms":1785935728000,"timestamp_seconds":1785935728,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2108d80"} 
[2026-08-05 18:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 18:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:47: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-08-05 18:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199540992001,"66":12461,"105":206,"83":41984,"24":0,"16":10769316962107392,"45":1738248749306556416},"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-08-05 18:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199540992001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:47:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769316962107392,"km_value":10769316962107.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-05 18:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199540992001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-05 18:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":149821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:47:47] local.INFO: GPS data processed {"connection_id":149821,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:47:47] local.INFO: Acknowledgment sent {"connection_id":149821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:48:03] local.INFO: TCP Data received {"connection_id":148815,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:48:03] local.INFO: Processing buffer {"connection_id":148815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:48:03] local.INFO: IMEI packet received {"connection_id":148815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":148815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:48:08] local.INFO: TCP Data received {"connection_id":148815,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:48:08] local.INFO: Processing buffer {"connection_id":148815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:48:08] local.INFO: IMEI packet received {"connection_id":148815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-05 18:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":148815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:48:09] local.INFO: TCP Data received {"connection_id":148815,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:48:09] local.INFO: Processing buffer {"connection_id":148815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:48:09] local.INFO: Packet analysis {"connection_id":148815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:48:09] local.INFO: Extracted packet for processing {"connection_id":148815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199445760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785935636000,"timestamp_ms":1785935636000,"timestamp_seconds":1785935636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f2620"} 
[2026-08-05 18:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199445760001,"66":2220,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199445760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:48:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199445760001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":148815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:48:09] local.INFO: GPS data processed {"connection_id":148815,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:48:09] local.INFO: Acknowledgment sent {"connection_id":148815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:48:09] local.INFO: TCP Data received {"connection_id":149822,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:48:09] local.INFO: Processing buffer {"connection_id":149822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:48:09] local.INFO: IMEI packet received {"connection_id":149822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":149822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:48:15] local.INFO: TCP Data received {"connection_id":149822,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:48:15] local.INFO: Processing buffer {"connection_id":149822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:48:15] local.INFO: IMEI packet received {"connection_id":149822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":149822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:48:15] local.INFO: TCP Data received {"connection_id":149822,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd210df88012d181f800721af30004d00c82b..."} 
[2026-08-05 18:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd210df88012d181f800721af30004d00c82b..."} 
[2026-08-05 18:48:15] local.INFO: Processing buffer {"connection_id":149822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd210df88012d181f800721af30004d00c82b..."} 
[2026-08-05 18:48:15] local.INFO: Packet analysis {"connection_id":149822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:48:15] local.INFO: Extracted packet for processing {"connection_id":149822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648048,"longitude_deg":75.6555648,"latitude_deg":11.9648048,"altitude":77,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199546368001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10769316962107392,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306556416,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785935749000,"timestamp_ms":1785935749000,"timestamp_seconds":1785935749,"priority":1,"record_length":96,"hex_timestamp":"0000019fd210df88"} 
[2026-08-05 18:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:48: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-08-05 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 18:48: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-08-05 18: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-08-05 18:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:48: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-08-05 18:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199546368001,"66":12428,"105":206,"83":41984,"24":0,"16":10769316962107392,"45":1738248749306556416},"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-08-05 18:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199546368001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:48:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10769316962107392,"km_value":10769316962107.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306556416,"description":"Unknown IO ID 45"} 
[2026-08-05 18:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199546368001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306556416}} 
[2026-08-05 18:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":149822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:48:15] local.INFO: GPS data processed {"connection_id":149822,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:48:15] local.INFO: Acknowledgment sent {"connection_id":149822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:48:19] local.INFO: TCP Data received {"connection_id":149823,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:48:19] local.INFO: Processing buffer {"connection_id":149823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:48:19] local.INFO: IMEI packet received {"connection_id":149823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":149823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:48:36] local.INFO: TCP Data received {"connection_id":149823,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:48:36] local.INFO: Processing buffer {"connection_id":149823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:48:36] local.INFO: IMEI packet received {"connection_id":149823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":149823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:48:40] local.INFO: TCP Data received {"connection_id":148815,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:48:40] local.INFO: Processing buffer {"connection_id":148815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd20f2620012d7e37c005d34dd8000200332b..."} 
[2026-08-05 18:48:40] local.INFO: Packet analysis {"connection_id":148815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:48:40] local.INFO: Extracted packet for processing {"connection_id":148815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd20f"} 
[2026-08-05 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734104,"longitude_deg":76.3246528,"latitude_deg":9.7734104,"altitude":2,"angle":51,"satellites":43,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199445760001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115052338384732160,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750469632,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785935636000,"timestamp_ms":1785935636000,"timestamp_seconds":1785935636,"priority":1,"record_length":96,"hex_timestamp":"0000019fd20f2620"} 
[2026-08-05 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-08-05 18:48: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-08-05 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":194,"data_length":795,"current_offset":136} 
[2026-08-05 18:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-05 18:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-05 18:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-05 18:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199445760001,"66":2220,"109":206,"85":15104,"24":0,"16":115052338384732160,"45":9094949103750469632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-05 18:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-05 18:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-05 18:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199445760001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:48:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-05 18:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-05 18:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115052338384732160,"km_value":115052338384732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750469632,"description":"Unknown IO ID 45"} 
[2026-08-05 18:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199445760001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750469632}} 
[2026-08-05 18:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":148815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:48:40] local.INFO: GPS data processed {"connection_id":148815,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:48:40] local.INFO: Acknowledgment sent {"connection_id":148815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:48:49] local.INFO: TCP Data received {"connection_id":149822,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd212cfa0012d180b0007217b60004800b729..."} 
[2026-08-05 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd212cfa0012d180b0007217b60004800b729..."} 
[2026-08-05 18:48:49] local.INFO: Processing buffer {"connection_id":149822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd212cfa0012d180b0007217b60004800b729..."} 
[2026-08-05 18:48:49] local.INFO: Packet analysis {"connection_id":149822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd212"} 
[2026-08-05 18:48:49] local.INFO: Extracted packet for processing {"connection_id":149822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd212"} 
[2026-08-05 18:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756550400,"raw_latitude":119634784,"longitude_deg":75.65504,"latitude_deg":11.9634784,"altitude":72,"angle":183,"satellites":41,"speed":9,"hex_longitude":"2d180b00","hex_latitude":"07217b60","is_valid_coordinates":true} 
[2026-08-05 18:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199582976001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10770081466286080,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733041462234480640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785935876000,"timestamp_ms":1785935876000,"timestamp_seconds":1785935876,"priority":1,"record_length":96,"hex_timestamp":"0000019fd212cfa0"} 
[2026-08-05 18:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:48: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-08-05 18:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 18:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":149822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":149822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":149822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199582976001,"66":14233,"107":206,"83":41984,"24":9,"16":10770081466286080,"45":1733041462234480640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199582976001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:48:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10770081466286080,"km_value":10770081466286.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733041462234480640,"description":"Unknown IO ID 45"} 
[2026-08-05 18:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199582976001,"power":14233,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1733041462234480640}} 
[2026-08-05 18:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":149822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:48:49] local.INFO: GPS data processed {"connection_id":149822,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:48:49] local.INFO: Acknowledgment sent {"connection_id":149822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:48:51] local.INFO: TCP Data received {"connection_id":149823,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:48:51] local.INFO: Processing buffer {"connection_id":149823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:48:51] local.INFO: Packet analysis {"connection_id":149823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:48:51] local.INFO: Extracted packet for processing {"connection_id":149823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:48:51] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:48: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-08-05 18:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199550976001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785935757000,"timestamp_ms":1785935757000,"timestamp_seconds":1785935757,"priority":1,"record_length":96,"hex_timestamp":"0000019fd210fec8"} 
[2026-08-05 18:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 18:48: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-08-05 18:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199550976001,"66":28093,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199550976001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:48:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199550976001,"power":28093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":149823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:48:51] local.INFO: GPS data processed {"connection_id":149823,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:48:51] local.INFO: Acknowledgment sent {"connection_id":149823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:48:52] local.INFO: TCP Data received {"connection_id":149823,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:48:52] local.INFO: Processing buffer {"connection_id":149823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:48:52] local.INFO: Packet analysis {"connection_id":149823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:48:52] local.INFO: Extracted packet for processing {"connection_id":149823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:48:52] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199550976001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785935757000,"timestamp_ms":1785935757000,"timestamp_seconds":1785935757,"priority":1,"record_length":96,"hex_timestamp":"0000019fd210fec8"} 
[2026-08-05 18:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 18:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199550976001,"66":28093,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199550976001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:48:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199550976001,"power":28093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":149823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:48:52] local.INFO: GPS data processed {"connection_id":149823,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:48:52] local.INFO: Acknowledgment sent {"connection_id":149823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:49:08] local.INFO: TCP Data received {"connection_id":151251,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:49:08] local.INFO: Processing buffer {"connection_id":151251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-05 18:49:08] local.INFO: IMEI packet received {"connection_id":151251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-05 18:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":151251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:49:09] local.INFO: TCP Data received {"connection_id":148816,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:09] local.INFO: Processing buffer {"connection_id":148816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:09] local.INFO: IMEI packet received {"connection_id":148816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":148816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:49:13] local.INFO: TCP Data received {"connection_id":148816,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:13] local.INFO: Processing buffer {"connection_id":148816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:13] local.INFO: IMEI packet received {"connection_id":148816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":148816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:49:13] local.INFO: TCP Data received {"connection_id":148816,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:13] local.INFO: Processing buffer {"connection_id":148816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:13] local.INFO: IMEI packet received {"connection_id":148816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":148816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:49:14] local.INFO: TCP Data received {"connection_id":148816,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:14] local.INFO: Processing buffer {"connection_id":148816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:49:14] local.INFO: IMEI packet received {"connection_id":148816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":148816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:49:15] local.INFO: TCP Data received {"connection_id":148601,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:49:15] local.INFO: Processing buffer {"connection_id":148601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:49:15] local.INFO: IMEI packet received {"connection_id":148601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":148601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:49:15] local.INFO: TCP Data received {"connection_id":148816,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd212d770012d180b40072179c0004700a729..."} 
[2026-08-05 18:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd212d770012d180b40072179c0004700a729..."} 
[2026-08-05 18:49:15] local.INFO: Processing buffer {"connection_id":148816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd212d770012d180b40072179c0004700a729..."} 
[2026-08-05 18:49:15] local.INFO: Packet analysis {"connection_id":148816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd212"} 
[2026-08-05 18:49:15] local.INFO: Extracted packet for processing {"connection_id":148816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd212"} 
[2026-08-05 18:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119634368,"longitude_deg":75.6550464,"latitude_deg":11.9634368,"altitude":71,"angle":167,"satellites":41,"speed":7,"hex_longitude":"2d180b40","hex_latitude":"072179c0","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199584256001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10770102941122560,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732478512280592384,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785935878000,"timestamp_ms":1785935878000,"timestamp_seconds":1785935878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd212d770"} 
[2026-08-05 18:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18: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-08-05 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-05 18:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:49: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-08-05 18:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199584256001,"66":14189,"107":206,"83":41984,"24":7,"16":10770102941122560,"45":1732478512280592384},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199584256001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:49:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10770102941122560,"km_value":10770102941122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732478512280592384,"description":"Unknown IO ID 45"} 
[2026-08-05 18:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199584256001,"power":14189,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1732478512280592384}} 
[2026-08-05 18:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":148816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:49:15] local.INFO: GPS data processed {"connection_id":148816,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:49:15] local.INFO: Acknowledgment sent {"connection_id":148816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:49:16] local.INFO: TCP Data received {"connection_id":148816,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd212e710012d180c40072176600046009c26..."} 
[2026-08-05 18:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd212e710012d180c40072176600046009c26..."} 
[2026-08-05 18:49:16] local.INFO: Processing buffer {"connection_id":148816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd212e710012d180c40072176600046009c26..."} 
[2026-08-05 18:49:16] local.INFO: Packet analysis {"connection_id":148816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd212"} 
[2026-08-05 18:49:16] local.INFO: Extracted packet for processing {"connection_id":148816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd212"} 
[2026-08-05 18:49:16] local.INFO: GPS Element Parsed {"raw_longitude":756550720,"raw_latitude":119633504,"longitude_deg":75.655072,"latitude_deg":11.9633504,"altitude":70,"angle":156,"satellites":38,"speed":13,"hex_longitude":"2d180c40","hex_latitude":"07217660","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199584768001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10770145890795520,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024663552,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785935882000,"timestamp_ms":1785935882000,"timestamp_seconds":1785935882,"priority":1,"record_length":96,"hex_timestamp":"0000019fd212e710"} 
[2026-08-05 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-08-05 18:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 18:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:49: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-08-05 18:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199584768001,"66":14265,"107":206,"83":41984,"24":13,"16":10770145890795520,"45":1732548881024663552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199584768001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:49:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10770145890795520,"km_value":10770145890795.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024663552,"description":"Unknown IO ID 45"} 
[2026-08-05 18:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199584768001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1732548881024663552}} 
[2026-08-05 18:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":148816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:49:16] local.INFO: GPS data processed {"connection_id":148816,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:49:16] local.INFO: Acknowledgment sent {"connection_id":148816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:49:19] local.INFO: TCP Data received {"connection_id":148601,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:49:19] local.INFO: Processing buffer {"connection_id":148601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:49:19] local.INFO: IMEI packet received {"connection_id":148601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":148601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:49:20] local.INFO: TCP Data received {"connection_id":148601,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:49:20] local.INFO: Processing buffer {"connection_id":148601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:49:20] local.INFO: Packet analysis {"connection_id":148601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:49:20] local.INFO: Extracted packet for processing {"connection_id":148601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:49:20] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:49: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-08-05 18:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199550976001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785935757000,"timestamp_ms":1785935757000,"timestamp_seconds":1785935757,"priority":1,"record_length":96,"hex_timestamp":"0000019fd210fec8"} 
[2026-08-05 18:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 18:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199550976001,"66":28093,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199550976001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:49:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199550976001,"power":28093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":148601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:49:20] local.INFO: GPS data processed {"connection_id":148601,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:49:20] local.INFO: Acknowledgment sent {"connection_id":148601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:49:47] local.INFO: TCP Data received {"connection_id":148816,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2133918012d181b0007215aa00042008f24..."} 
[2026-08-05 18:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2133918012d181b0007215aa00042008f24..."} 
[2026-08-05 18:49:47] local.INFO: Processing buffer {"connection_id":148816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2133918012d181b0007215aa00042008f24..."} 
[2026-08-05 18:49:47] local.INFO: Packet analysis {"connection_id":148816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd213"} 
[2026-08-05 18:49:47] local.INFO: Extracted packet for processing {"connection_id":148816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd213"} 
[2026-08-05 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119626400,"longitude_deg":75.6554496,"latitude_deg":11.96264,"altitude":66,"angle":143,"satellites":36,"speed":10,"hex_longitude":"2d181b00","hex_latitude":"07215aa0","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199585792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10770536732819456,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732830356001153024,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785935903000,"timestamp_ms":1785935903000,"timestamp_seconds":1785935903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2133918"} 
[2026-08-05 18:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 18:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:49: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-08-05 18:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199585792001,"66":13993,"107":206,"83":41984,"24":10,"16":10770536732819456,"45":1732830356001153024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199585792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:49:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10770536732819456,"km_value":10770536732819.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732830356001153024,"description":"Unknown IO ID 45"} 
[2026-08-05 18:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199585792001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1732830356001153024}} 
[2026-08-05 18:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":148816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:49:47] local.INFO: GPS data processed {"connection_id":148816,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:49:47] local.INFO: Acknowledgment sent {"connection_id":148816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:49:51] local.INFO: TCP Data received {"connection_id":148601,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:49:51] local.INFO: Processing buffer {"connection_id":148601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:49:51] local.INFO: Packet analysis {"connection_id":148601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:49:51] local.INFO: Extracted packet for processing {"connection_id":148601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:49:51] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:49: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-08-05 18:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199550976001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785935757000,"timestamp_ms":1785935757000,"timestamp_seconds":1785935757,"priority":1,"record_length":96,"hex_timestamp":"0000019fd210fec8"} 
[2026-08-05 18:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 18:49: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-08-05 18:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199550976001,"66":28093,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199550976001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:49:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199550976001,"power":28093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":148601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:49:51] local.INFO: GPS data processed {"connection_id":148601,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:49:51] local.INFO: Acknowledgment sent {"connection_id":148601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:50:10] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:10] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:10] local.INFO: IMEI packet received {"connection_id":148602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":148602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:50:11] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:11] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:11] local.INFO: IMEI packet received {"connection_id":148602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":148602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:50:14] local.INFO: TCP Data received {"connection_id":151252,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:50:14] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:50:14] local.INFO: IMEI packet received {"connection_id":151252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":151252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:50:14] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:14] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:14] local.INFO: IMEI packet received {"connection_id":148602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":148602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:50:20] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:20] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:50:20] local.INFO: IMEI packet received {"connection_id":148602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":148602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:50:20] local.INFO: TCP Data received {"connection_id":151252,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:50:20] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:50:20] local.INFO: IMEI packet received {"connection_id":151252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":151252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:50:20] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd213f880012d183400072109180035009a21..."} 
[2026-08-05 18:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd213f880012d183400072109180035009a21..."} 
[2026-08-05 18:50:20] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd213f880012d183400072109180035009a21..."} 
[2026-08-05 18:50:20] local.INFO: Packet analysis {"connection_id":148602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd213"} 
[2026-08-05 18:50:20] local.INFO: Extracted packet for processing {"connection_id":148602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd213"} 
[2026-08-05 18:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756560896,"raw_latitude":119605528,"longitude_deg":75.6560896,"latitude_deg":11.9605528,"altitude":53,"angle":154,"satellites":33,"speed":14,"hex_longitude":"2d183400","hex_latitude":"07210918","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199603200001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10771752208564224,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743737511341742080,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785935952000,"timestamp_ms":1785935952000,"timestamp_seconds":1785935952,"priority":1,"record_length":96,"hex_timestamp":"0000019fd213f880"} 
[2026-08-05 18:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 18:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199603200001,"66":13972,"107":206,"83":41984,"24":14,"16":10771752208564224,"45":1743737511341742080},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199603200001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:50:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10771752208564224,"km_value":10771752208564.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743737511341742080,"description":"Unknown IO ID 45"} 
[2026-08-05 18:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199603200001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1743737511341742080}} 
[2026-08-05 18:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":148602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:50:20] local.INFO: GPS data processed {"connection_id":148602,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:50:20] local.INFO: Acknowledgment sent {"connection_id":148602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:50:26] local.INFO: TCP Data received {"connection_id":151252,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:50:26] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:50:26] local.INFO: Packet analysis {"connection_id":151252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:50:26] local.INFO: Extracted packet for processing {"connection_id":151252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:50:26] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199550976001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785935757000,"timestamp_ms":1785935757000,"timestamp_seconds":1785935757,"priority":1,"record_length":96,"hex_timestamp":"0000019fd210fec8"} 
[2026-08-05 18:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 18:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199550976001,"66":28093,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199550976001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:50:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199550976001,"power":28093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":151252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:50:26] local.INFO: GPS data processed {"connection_id":151252,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:50:26] local.INFO: Acknowledgment sent {"connection_id":151252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:50:27] local.INFO: TCP Data received {"connection_id":151252,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:50:27] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:50:27] local.INFO: Packet analysis {"connection_id":151252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:50:27] local.INFO: Extracted packet for processing {"connection_id":151252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:50:27] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199550976001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785935757000,"timestamp_ms":1785935757000,"timestamp_seconds":1785935757,"priority":1,"record_length":96,"hex_timestamp":"0000019fd210fec8"} 
[2026-08-05 18:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 18:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":151252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199550976001,"66":28093,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199550976001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:50:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199550976001,"power":28093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":151252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:50:27] local.INFO: GPS data processed {"connection_id":151252,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:50:27] local.INFO: Acknowledgment sent {"connection_id":151252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:50:52] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd214d728012d187ec00720c680003800b922..."} 
[2026-08-05 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd214d728012d187ec00720c680003800b922..."} 
[2026-08-05 18:50:52] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd214d728012d187ec00720c680003800b922..."} 
[2026-08-05 18:50:52] local.INFO: Packet analysis {"connection_id":148602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd214"} 
[2026-08-05 18:50:52] local.INFO: Extracted packet for processing {"connection_id":148602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd214"} 
[2026-08-05 18:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756580032,"raw_latitude":119588480,"longitude_deg":75.6580032,"latitude_deg":11.958848,"altitude":56,"angle":185,"satellites":34,"speed":21,"hex_longitude":"2d187ec0","hex_latitude":"0720c680","is_valid_coordinates":true} 
[2026-08-05 18:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199618048001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10773251152150528,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765129609567322112,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785936009000,"timestamp_ms":1785936009000,"timestamp_seconds":1785936009,"priority":1,"record_length":96,"hex_timestamp":"0000019fd214d728"} 
[2026-08-05 18:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-05 18:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199618048001,"66":14341,"106":206,"83":41984,"24":21,"16":10773251152150528,"45":1765129609567322112},"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-08-05 18:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199618048001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:50:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10773251152150528,"km_value":10773251152150.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765129609567322112,"description":"Unknown IO ID 45"} 
[2026-08-05 18:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199618048001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1765129609567322112}} 
[2026-08-05 18:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":148602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:50:52] local.INFO: GPS data processed {"connection_id":148602,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:50:52] local.INFO: Acknowledgment sent {"connection_id":148602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:50:59] local.INFO: TCP Data received {"connection_id":151252,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:50:59] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:50:59] local.INFO: Packet analysis {"connection_id":151252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:50:59] local.INFO: Extracted packet for processing {"connection_id":151252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:50:59] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199550976001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785935757000,"timestamp_ms":1785935757000,"timestamp_seconds":1785935757,"priority":1,"record_length":96,"hex_timestamp":"0000019fd210fec8"} 
[2026-08-05 18:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 18:50: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-08-05 18:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199550976001,"66":28093,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199550976001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:50:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199550976001,"power":28093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":151252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:50:59] local.INFO: GPS data processed {"connection_id":151252,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:50:59] local.INFO: Acknowledgment sent {"connection_id":151252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:51:09] local.INFO: TCP Data received {"connection_id":148817,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:09] local.INFO: Processing buffer {"connection_id":148817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:09] local.INFO: IMEI packet received {"connection_id":148817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":148817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:51:10] local.INFO: TCP Data received {"connection_id":148817,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:10] local.INFO: Processing buffer {"connection_id":148817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:10] local.INFO: IMEI packet received {"connection_id":148817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":148817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:51:12] local.INFO: TCP Data received {"connection_id":148817,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:12] local.INFO: Processing buffer {"connection_id":148817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:12] local.INFO: IMEI packet received {"connection_id":148817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":148817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:51:13] local.INFO: TCP Data received {"connection_id":148817,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:13] local.INFO: Processing buffer {"connection_id":148817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:51:13] local.INFO: IMEI packet received {"connection_id":148817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":148817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:51:14] local.INFO: TCP Data received {"connection_id":149824,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:51:14] local.INFO: Processing buffer {"connection_id":149824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:51:14] local.INFO: IMEI packet received {"connection_id":149824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":149824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:51:19] local.INFO: TCP Data received {"connection_id":149824,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:51:19] local.INFO: Processing buffer {"connection_id":149824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:51:19] local.INFO: IMEI packet received {"connection_id":149824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":149824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:51:20] local.INFO: TCP Data received {"connection_id":149824,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:51:20] local.INFO: Processing buffer {"connection_id":149824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd210fec8012d77a64005f27928000d000028..."} 
[2026-08-05 18:51:20] local.INFO: Packet analysis {"connection_id":149824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:51:20] local.INFO: Extracted packet for processing {"connection_id":149824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd210"} 
[2026-08-05 18:51:20] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99776808,"longitude_deg":76.2816064,"latitude_deg":9.9776808,"altitude":13,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a640","hex_latitude":"05f27928","is_valid_coordinates":true} 
[2026-08-05 18:51: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-08-05 18:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199550976001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785935757000,"timestamp_ms":1785935757000,"timestamp_seconds":1785935757,"priority":1,"record_length":96,"hex_timestamp":"0000019fd210fec8"} 
[2026-08-05 18:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-05 18:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199550976001,"66":28093,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199550976001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:51:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199550976001,"power":28093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":149824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:51:20] local.INFO: GPS data processed {"connection_id":149824,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:51:20] local.INFO: Acknowledgment sent {"connection_id":149824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:51:51] local.INFO: TCP Data received {"connection_id":149824,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:51:51] local.INFO: Processing buffer {"connection_id":149824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:51:51] local.INFO: Packet analysis {"connection_id":149824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:51:51] local.INFO: Extracted packet for processing {"connection_id":149824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:51:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":13,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199553792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785936062000,"timestamp_ms":1785936062000,"timestamp_seconds":1785936062,"priority":1,"record_length":96,"hex_timestamp":"0000019fd215a630"} 
[2026-08-05 18:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 18:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199553792001,"66":26115,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199553792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:51:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199553792001,"power":26115,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":149824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:51:51] local.INFO: GPS data processed {"connection_id":149824,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:51:51] local.INFO: Acknowledgment sent {"connection_id":149824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:52:14] local.INFO: TCP Data received {"connection_id":148818,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:52:14] local.INFO: Processing buffer {"connection_id":148818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:52:14] local.INFO: IMEI packet received {"connection_id":148818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":148818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:52:19] local.INFO: TCP Data received {"connection_id":148818,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:52:19] local.INFO: Processing buffer {"connection_id":148818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:52:19] local.INFO: IMEI packet received {"connection_id":148818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":148818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:52:20] local.INFO: TCP Data received {"connection_id":148818,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:52:20] local.INFO: Processing buffer {"connection_id":148818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:52:20] local.INFO: Packet analysis {"connection_id":148818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:52:20] local.INFO: Extracted packet for processing {"connection_id":148818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:52:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":13,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199553792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785936062000,"timestamp_ms":1785936062000,"timestamp_seconds":1785936062,"priority":1,"record_length":96,"hex_timestamp":"0000019fd215a630"} 
[2026-08-05 18:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 18:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199553792001,"66":26115,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199553792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:52:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199553792001,"power":26115,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":148818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:52:20] local.INFO: GPS data processed {"connection_id":148818,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:52:20] local.INFO: Acknowledgment sent {"connection_id":148818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:52:52] local.INFO: TCP Data received {"connection_id":148818,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:52:52] local.INFO: Processing buffer {"connection_id":148818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:52:52] local.INFO: Packet analysis {"connection_id":148818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:52:52] local.INFO: Extracted packet for processing {"connection_id":148818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:52:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":13,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199553792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785936062000,"timestamp_ms":1785936062000,"timestamp_seconds":1785936062,"priority":1,"record_length":96,"hex_timestamp":"0000019fd215a630"} 
[2026-08-05 18:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 18:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199553792001,"66":26115,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199553792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:52:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199553792001,"power":26115,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":148818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:52:52] local.INFO: GPS data processed {"connection_id":148818,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:52:52] local.INFO: Acknowledgment sent {"connection_id":148818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:53:14] local.INFO: TCP Data received {"connection_id":148603,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:53:14] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:53:14] local.INFO: IMEI packet received {"connection_id":148603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":148603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:53:19] local.INFO: TCP Data received {"connection_id":148603,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:53:19] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:53:19] local.INFO: IMEI packet received {"connection_id":148603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":148603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:53:20] local.INFO: TCP Data received {"connection_id":148603,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:53:20] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:53:20] local.INFO: Packet analysis {"connection_id":148603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:53:20] local.INFO: Extracted packet for processing {"connection_id":148603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:53:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":13,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199553792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785936062000,"timestamp_ms":1785936062000,"timestamp_seconds":1785936062,"priority":1,"record_length":96,"hex_timestamp":"0000019fd215a630"} 
[2026-08-05 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-08-05 18:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 18:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199553792001,"66":26115,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199553792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:53:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199553792001,"power":26115,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":148603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:53:20] local.INFO: GPS data processed {"connection_id":148603,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:53:20] local.INFO: Acknowledgment sent {"connection_id":148603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:53:51] local.INFO: TCP Data received {"connection_id":148603,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:53:51] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:53:51] local.INFO: Packet analysis {"connection_id":148603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:53:51] local.INFO: Extracted packet for processing {"connection_id":148603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:53:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":13,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199553792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785936062000,"timestamp_ms":1785936062000,"timestamp_seconds":1785936062,"priority":1,"record_length":96,"hex_timestamp":"0000019fd215a630"} 
[2026-08-05 18:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 18:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199553792001,"66":26115,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199553792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:53:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199553792001,"power":26115,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":148603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:53:51] local.INFO: GPS data processed {"connection_id":148603,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:53:51] local.INFO: Acknowledgment sent {"connection_id":148603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:54:14] local.INFO: TCP Data received {"connection_id":151255,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:54:14] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:54:14] local.INFO: IMEI packet received {"connection_id":151255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":151255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:54:19] local.INFO: TCP Data received {"connection_id":151255,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:54:19] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:54:19] local.INFO: IMEI packet received {"connection_id":151255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":151255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:54:20] local.INFO: TCP Data received {"connection_id":151255,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:54:20] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:54:20] local.INFO: Packet analysis {"connection_id":151255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:54:20] local.INFO: Extracted packet for processing {"connection_id":151255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:54:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":13,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199553792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785936062000,"timestamp_ms":1785936062000,"timestamp_seconds":1785936062,"priority":1,"record_length":96,"hex_timestamp":"0000019fd215a630"} 
[2026-08-05 18:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 18:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199553792001,"66":26115,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199553792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:54:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199553792001,"power":26115,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":151255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:54:20] local.INFO: GPS data processed {"connection_id":151255,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:54:20] local.INFO: Acknowledgment sent {"connection_id":151255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:54:52] local.INFO: TCP Data received {"connection_id":151255,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:54:52] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:54:52] local.INFO: Packet analysis {"connection_id":151255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:54:52] local.INFO: Extracted packet for processing {"connection_id":151255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:54:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":13,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199553792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785936062000,"timestamp_ms":1785936062000,"timestamp_seconds":1785936062,"priority":1,"record_length":96,"hex_timestamp":"0000019fd215a630"} 
[2026-08-05 18:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 18:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199553792001,"66":26115,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199553792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:54:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199553792001,"power":26115,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":151255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:54:52] local.INFO: GPS data processed {"connection_id":151255,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:54:52] local.INFO: Acknowledgment sent {"connection_id":151255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:55:14] local.INFO: TCP Data received {"connection_id":148819,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:55:14] local.INFO: Processing buffer {"connection_id":148819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:55:14] local.INFO: IMEI packet received {"connection_id":148819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":148819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:55:19] local.INFO: TCP Data received {"connection_id":148819,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:55:19] local.INFO: Processing buffer {"connection_id":148819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:55:19] local.INFO: IMEI packet received {"connection_id":148819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":148819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:55:20] local.INFO: TCP Data received {"connection_id":148819,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:55:20] local.INFO: Processing buffer {"connection_id":148819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:55:20] local.INFO: Packet analysis {"connection_id":148819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:55:20] local.INFO: Extracted packet for processing {"connection_id":148819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:55:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":13,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199553792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785936062000,"timestamp_ms":1785936062000,"timestamp_seconds":1785936062,"priority":1,"record_length":96,"hex_timestamp":"0000019fd215a630"} 
[2026-08-05 18:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 18:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199553792001,"66":26115,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199553792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:55:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199553792001,"power":26115,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":148819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:55:20] local.INFO: GPS data processed {"connection_id":148819,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:55:20] local.INFO: Acknowledgment sent {"connection_id":148819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:55:51] local.INFO: TCP Data received {"connection_id":148819,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:55:51] local.INFO: Processing buffer {"connection_id":148819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:55:51] local.INFO: Packet analysis {"connection_id":148819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:55:51] local.INFO: Extracted packet for processing {"connection_id":148819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:55:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":13,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199553792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785936062000,"timestamp_ms":1785936062000,"timestamp_seconds":1785936062,"priority":1,"record_length":96,"hex_timestamp":"0000019fd215a630"} 
[2026-08-05 18:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 18:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199553792001,"66":26115,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199553792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:55:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199553792001,"power":26115,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":148819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:55:51] local.INFO: GPS data processed {"connection_id":148819,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:55:51] local.INFO: Acknowledgment sent {"connection_id":148819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:56:15] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:56:15] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:56:15] local.INFO: IMEI packet received {"connection_id":148604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":148604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:56:15] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21976c0012d187e000720c8b00038015f28..."} 
[2026-08-05 18:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21976c0012d187e000720c8b00038015f28..."} 
[2026-08-05 18:56:15] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21976c0012d187e000720c8b00038015f28..."} 
[2026-08-05 18:56:15] local.INFO: Packet analysis {"connection_id":148604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd219"} 
[2026-08-05 18:56:15] local.INFO: Extracted packet for processing {"connection_id":148604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd219"} 
[2026-08-05 18:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756579840,"raw_latitude":119589040,"longitude_deg":75.657984,"latitude_deg":11.958904,"altitude":56,"angle":351,"satellites":40,"speed":19,"hex_longitude":"2d187e00","hex_latitude":"0720c8b0","is_valid_coordinates":true} 
[2026-08-05 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-08-05 18:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199695616001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10777644903694336,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764918503334666240,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785936312000,"timestamp_ms":1785936312000,"timestamp_seconds":1785936312,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21976c0"} 
[2026-08-05 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-08-05 18:56: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-08-05 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-05 18:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 18:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:56: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-08-05 18:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199695616001,"66":14048,"106":206,"83":41984,"24":19,"16":10777644903694336,"45":1764918503334666240},"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-08-05 18:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199695616001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:56:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10777644903694336,"km_value":10777644903694.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764918503334666240,"description":"Unknown IO ID 45"} 
[2026-08-05 18:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199695616001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1764918503334666240}} 
[2026-08-05 18:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":148604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:56:15] local.INFO: GPS data processed {"connection_id":148604,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:56:15] local.INFO: Acknowledgment sent {"connection_id":148604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:56:19] local.INFO: TCP Data received {"connection_id":149827,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:56:19] local.INFO: Processing buffer {"connection_id":149827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:56:19] local.INFO: IMEI packet received {"connection_id":149827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":149827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:56:24] local.INFO: TCP Data received {"connection_id":149827,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:56:24] local.INFO: Processing buffer {"connection_id":149827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:56:24] local.INFO: IMEI packet received {"connection_id":149827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":149827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:56:25] local.INFO: TCP Data received {"connection_id":149827,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:56:25] local.INFO: Processing buffer {"connection_id":149827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:56:25] local.INFO: Packet analysis {"connection_id":149827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:56:25] local.INFO: Extracted packet for processing {"connection_id":149827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:56:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":13,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199553792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785936062000,"timestamp_ms":1785936062000,"timestamp_seconds":1785936062,"priority":1,"record_length":96,"hex_timestamp":"0000019fd215a630"} 
[2026-08-05 18:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 18:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199553792001,"66":26115,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199553792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:56:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199553792001,"power":26115,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":149827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:56:25] local.INFO: GPS data processed {"connection_id":149827,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:56:25] local.INFO: Acknowledgment sent {"connection_id":149827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:56:30] local.INFO: TCP Data received {"connection_id":149827,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:56:30] local.INFO: Processing buffer {"connection_id":149827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd215a630012d77a54005f27938000d000023..."} 
[2026-08-05 18:56:30] local.INFO: Packet analysis {"connection_id":149827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:56:30] local.INFO: Extracted packet for processing {"connection_id":149827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd215"} 
[2026-08-05 18:56:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":13,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199553792001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930934433792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785936062000,"timestamp_ms":1785936062000,"timestamp_seconds":1785936062,"priority":1,"record_length":96,"hex_timestamp":"0000019fd215a630"} 
[2026-08-05 18:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-05 18:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199553792001,"66":26115,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621648930934433792},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199553792001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:56:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930934433792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199553792001,"power":26115,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621648930934433792}} 
[2026-08-05 18:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":149827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:56:30] local.INFO: GPS data processed {"connection_id":149827,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:56:30] local.INFO: Acknowledgment sent {"connection_id":149827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:56:46] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a1eb8012d185740072105e8003d010d27..."} 
[2026-08-05 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a1eb8012d185740072105e8003d010d27..."} 
[2026-08-05 18:56:46] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a1eb8012d185740072105e8003d010d27..."} 
[2026-08-05 18:56:46] local.INFO: Packet analysis {"connection_id":148604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:56:46] local.INFO: Extracted packet for processing {"connection_id":148604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119604712,"longitude_deg":75.656992,"latitude_deg":11.9604712,"altitude":61,"angle":269,"satellites":39,"speed":12,"hex_longitude":"2d185740","hex_latitude":"072105e8","is_valid_coordinates":true} 
[2026-08-05 18:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199706624001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10778637041139712,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754222454223777792,"note":"Value kept but may cause issues"} 
[2026-08-05 18:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785936355000,"timestamp_ms":1785936355000,"timestamp_seconds":1785936355,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a1eb8"} 
[2026-08-05 18:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18: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-08-05 18:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 18:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:56: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-08-05 18:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199706624001,"66":14189,"106":206,"83":41984,"24":12,"16":10778637041139712,"45":1754222454223777792},"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-08-05 18:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199706624001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:56:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10778637041139712,"km_value":10778637041139.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754222454223777792,"description":"Unknown IO ID 45"} 
[2026-08-05 18:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199706624001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1754222454223777792}} 
[2026-08-05 18:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":148604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:56:46] local.INFO: GPS data processed {"connection_id":148604,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:56:46] local.INFO: Acknowledgment sent {"connection_id":148604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:57:10] local.INFO: TCP Data received {"connection_id":151256,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:57:10] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:57:10] local.INFO: IMEI packet received {"connection_id":151256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":151256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:57:14] local.INFO: TCP Data received {"connection_id":149828,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:57:14] local.INFO: Processing buffer {"connection_id":149828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:57:14] local.INFO: IMEI packet received {"connection_id":149828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":149828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:57:15] local.INFO: TCP Data received {"connection_id":151256,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:57:15] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:57:15] local.INFO: IMEI packet received {"connection_id":151256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":151256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:57:15] local.INFO: TCP Data received {"connection_id":151256,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a2688012d18544007210560003c00fe28..."} 
[2026-08-05 18:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a2688012d18544007210560003c00fe28..."} 
[2026-08-05 18:57:15] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a2688012d18544007210560003c00fe28..."} 
[2026-08-05 18:57:15] local.INFO: Packet analysis {"connection_id":151256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:57:15] local.INFO: Extracted packet for processing {"connection_id":151256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756569152,"raw_latitude":119604576,"longitude_deg":75.6569152,"latitude_deg":11.9604576,"altitude":60,"angle":254,"satellites":40,"speed":17,"hex_longitude":"2d185440","hex_latitude":"07210560","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199706880001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10778671400878080,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979247081472,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785936357000,"timestamp_ms":1785936357000,"timestamp_seconds":1785936357,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a2688"} 
[2026-08-05 18:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:57: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-08-05 18: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 18:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:57: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-08-05 18:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199706880001,"66":14233,"106":206,"83":41984,"24":17,"16":10778671400878080,"45":1753940979247081472},"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-08-05 18:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199706880001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:57:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-05 18:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10778671400878080,"km_value":10778671400878.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979247081472,"description":"Unknown IO ID 45"} 
[2026-08-05 18:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199706880001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1753940979247081472}} 
[2026-08-05 18:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":151256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:57:15] local.INFO: GPS data processed {"connection_id":151256,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:57:15] local.INFO: Acknowledgment sent {"connection_id":151256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:57:19] local.INFO: TCP Data received {"connection_id":149828,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:57:19] local.INFO: Processing buffer {"connection_id":149828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:57:19] local.INFO: IMEI packet received {"connection_id":149828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":149828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:57:26] local.INFO: TCP Data received {"connection_id":149828,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:57:26] local.INFO: Processing buffer {"connection_id":149828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:57:26] local.INFO: Packet analysis {"connection_id":149828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:57:26] local.INFO: Extracted packet for processing {"connection_id":149828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:57:26] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199631872001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785936363000,"timestamp_ms":1785936363000,"timestamp_seconds":1785936363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a3df8"} 
[2026-08-05 18:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 18:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199631872001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199631872001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:57:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199631872001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 18:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":149828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:57:26] local.INFO: GPS data processed {"connection_id":149828,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:57:26] local.INFO: Acknowledgment sent {"connection_id":149828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:57:46] local.INFO: TCP Data received {"connection_id":151256,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21b1ca0012d181c40072158000047012b27..."} 
[2026-08-05 18:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21b1ca0012d181c40072158000047012b27..."} 
[2026-08-05 18:57:46] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21b1ca0012d181c40072158000047012b27..."} 
[2026-08-05 18:57:46] local.INFO: Packet analysis {"connection_id":151256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21b"} 
[2026-08-05 18:57:46] local.INFO: Extracted packet for processing {"connection_id":151256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21b"} 
[2026-08-05 18:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119625728,"longitude_deg":75.6554816,"latitude_deg":11.9625728,"altitude":71,"angle":299,"satellites":39,"speed":13,"hex_longitude":"2d181c40","hex_latitude":"07215800","is_valid_coordinates":true} 
[2026-08-05 18:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199723264001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10780260538777600,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168091561984,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785936420000,"timestamp_ms":1785936420000,"timestamp_seconds":1785936420,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21b1ca0"} 
[2026-08-05 18:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 18:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:57: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-08-05 18:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199723264001,"66":14070,"107":206,"83":41984,"24":13,"16":10780260538777600,"45":1737756168091561984},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199723264001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:57:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10780260538777600,"km_value":10780260538777.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168091561984,"description":"Unknown IO ID 45"} 
[2026-08-05 18:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199723264001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737756168091561984}} 
[2026-08-05 18:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":151256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:57:46] local.INFO: GPS data processed {"connection_id":151256,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:57:46] local.INFO: Acknowledgment sent {"connection_id":151256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:57:57] local.INFO: TCP Data received {"connection_id":149828,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:57:57] local.INFO: Processing buffer {"connection_id":149828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:57:57] local.INFO: Packet analysis {"connection_id":149828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:57:57] local.INFO: Extracted packet for processing {"connection_id":149828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:57:57] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199631872001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785936363000,"timestamp_ms":1785936363000,"timestamp_seconds":1785936363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a3df8"} 
[2026-08-05 18:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 18:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199631872001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199631872001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:57:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199631872001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 18:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":149828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:57:57] local.INFO: GPS data processed {"connection_id":149828,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:57:57] local.INFO: Acknowledgment sent {"connection_id":149828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:58:08] local.INFO: TCP Data received {"connection_id":148605,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:08] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:08] local.INFO: IMEI packet received {"connection_id":148605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":148605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:58:09] local.INFO: TCP Data received {"connection_id":148605,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:09] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:09] local.INFO: IMEI packet received {"connection_id":148605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":148605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:58:10] local.INFO: TCP Data received {"connection_id":148605,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:10] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:10] local.INFO: IMEI packet received {"connection_id":148605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":148605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:58:13] local.INFO: TCP Data received {"connection_id":148605,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:13] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:58:13] local.INFO: IMEI packet received {"connection_id":148605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":148605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:58:14] local.INFO: TCP Data received {"connection_id":149829,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:58:14] local.INFO: Processing buffer {"connection_id":149829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:58:14] local.INFO: IMEI packet received {"connection_id":149829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":149829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:58:14] local.INFO: TCP Data received {"connection_id":148605,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21b2088012d181b40072158c00047013d28..."} 
[2026-08-05 18:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21b2088012d181b40072158c00047013d28..."} 
[2026-08-05 18:58:14] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21b2088012d181b40072158c00047013d28..."} 
[2026-08-05 18:58:14] local.INFO: Packet analysis {"connection_id":148605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21b"} 
[2026-08-05 18:58:14] local.INFO: Extracted packet for processing {"connection_id":148605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21b"} 
[2026-08-05 18:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119625920,"longitude_deg":75.655456,"latitude_deg":11.962592,"altitude":71,"angle":317,"satellites":40,"speed":9,"hex_longitude":"2d181b40","hex_latitude":"072158c0","is_valid_coordinates":true} 
[2026-08-05 18:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199723520001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10780273423679488,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955626532864,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785936421000,"timestamp_ms":1785936421000,"timestamp_seconds":1785936421,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21b2088"} 
[2026-08-05 18:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 18:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:58: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-08-05 18:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199723520001,"66":14070,"107":206,"83":41984,"24":9,"16":10780273423679488,"45":1737333955626532864},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199723520001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:58:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10780273423679488,"km_value":10780273423679.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955626532864,"description":"Unknown IO ID 45"} 
[2026-08-05 18:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199723520001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737333955626532864}} 
[2026-08-05 18:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":148605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:58:14] local.INFO: GPS data processed {"connection_id":148605,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:58:14] local.INFO: Acknowledgment sent {"connection_id":148605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:58:19] local.INFO: TCP Data received {"connection_id":149829,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:58:19] local.INFO: Processing buffer {"connection_id":149829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:58:19] local.INFO: IMEI packet received {"connection_id":149829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":149829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:58:20] local.INFO: TCP Data received {"connection_id":149829,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:58:20] local.INFO: Processing buffer {"connection_id":149829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:58:20] local.INFO: Packet analysis {"connection_id":149829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:58:20] local.INFO: Extracted packet for processing {"connection_id":149829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199631872001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785936363000,"timestamp_ms":1785936363000,"timestamp_seconds":1785936363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a3df8"} 
[2026-08-05 18:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 18:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199631872001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199631872001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:58:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199631872001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 18:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":149829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:58:20] local.INFO: GPS data processed {"connection_id":149829,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:58:20] local.INFO: Acknowledgment sent {"connection_id":149829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:58:45] local.INFO: TCP Data received {"connection_id":148605,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21b2470012d181b00072159780048014c28..."} 
[2026-08-05 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21b2470012d181b00072159780048014c28..."} 
[2026-08-05 18:58:45] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21b2470012d181b00072159780048014c28..."} 
[2026-08-05 18:58:45] local.INFO: Packet analysis {"connection_id":148605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21b"} 
[2026-08-05 18:58:45] local.INFO: Extracted packet for processing {"connection_id":148605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21b"} 
[2026-08-05 18:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119626104,"longitude_deg":75.6554496,"latitude_deg":11.9626104,"altitude":72,"angle":332,"satellites":40,"speed":7,"hex_longitude":"2d181b00","hex_latitude":"07215978","is_valid_coordinates":true} 
[2026-08-05 18:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199723776001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10780286308581376,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480649871360,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58: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-08-05 18:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785936422000,"timestamp_ms":1785936422000,"timestamp_seconds":1785936422,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21b2470"} 
[2026-08-05 18:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18: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-08-05 18:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-05 18:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:58: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-08-05 18:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199723776001,"66":14167,"107":206,"83":41984,"24":7,"16":10780286308581376,"45":1737052480649871360},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-05 18:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199723776001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:58:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-05 18:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10780286308581376,"km_value":10780286308581.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480649871360,"description":"Unknown IO ID 45"} 
[2026-08-05 18:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199723776001,"power":14167,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737052480649871360}} 
[2026-08-05 18:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":148605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:58:45] local.INFO: GPS data processed {"connection_id":148605,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:58:45] local.INFO: Acknowledgment sent {"connection_id":148605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:58:52] local.INFO: TCP Data received {"connection_id":149829,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:58:52] local.INFO: Processing buffer {"connection_id":149829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:58:52] local.INFO: Packet analysis {"connection_id":149829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:58:52] local.INFO: Extracted packet for processing {"connection_id":149829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:58:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199631872001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785936363000,"timestamp_ms":1785936363000,"timestamp_seconds":1785936363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a3df8"} 
[2026-08-05 18:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 18:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199631872001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199631872001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:58:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199631872001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 18:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":149829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:58:52] local.INFO: GPS data processed {"connection_id":149829,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:58:52] local.INFO: Acknowledgment sent {"connection_id":149829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:59:09] local.INFO: TCP Data received {"connection_id":151257,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:59:09] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:59:09] local.INFO: IMEI packet received {"connection_id":151257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 18:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":151257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:59:09] local.INFO: TCP Data received {"connection_id":151257,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:59:10] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:59:10] local.INFO: IMEI packet received {"connection_id":151257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":151257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:59:14] local.INFO: TCP Data received {"connection_id":151257,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:59:14] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 18:59:14] local.INFO: IMEI packet received {"connection_id":151257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 18:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":151257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:59:15] local.INFO: TCP Data received {"connection_id":151257,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21bf760012d180b40072190c00048002229..."} 
[2026-08-05 18:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21bf760012d180b40072190c00048002229..."} 
[2026-08-05 18:59:15] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21bf760012d180b40072190c00048002229..."} 
[2026-08-05 18:59:15] local.INFO: Packet analysis {"connection_id":151257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21b"} 
[2026-08-05 18:59:15] local.INFO: Extracted packet for processing {"connection_id":151257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21b"} 
[2026-08-05 18:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119640256,"longitude_deg":75.6550464,"latitude_deg":11.9640256,"altitude":72,"angle":34,"satellites":41,"speed":18,"hex_longitude":"2d180b40","hex_latitude":"072190c0","is_valid_coordinates":true} 
[2026-08-05 18:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199737344001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10781046517792768,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732126668560928768,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785936476000,"timestamp_ms":1785936476000,"timestamp_seconds":1785936476,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21bf760"} 
[2026-08-05 18:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:59: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-08-05 18:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 18:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:59: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-08-05 18:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199737344001,"66":14211,"105":206,"83":41984,"24":18,"16":10781046517792768,"45":1732126668560928768},"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-08-05 18:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199737344001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:59:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10781046517792768,"km_value":10781046517792.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732126668560928768,"description":"Unknown IO ID 45"} 
[2026-08-05 18:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199737344001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1732126668560928768}} 
[2026-08-05 18:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":151257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:59:15] local.INFO: GPS data processed {"connection_id":151257,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:59:15] local.INFO: Acknowledgment sent {"connection_id":151257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:59:19] local.INFO: TCP Data received {"connection_id":148606,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:59:19] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:59:19] local.INFO: IMEI packet received {"connection_id":148606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 18:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":148606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 18:59:24] local.INFO: TCP Data received {"connection_id":148606,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:59:24] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 18:59:24] local.INFO: IMEI packet received {"connection_id":148606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 18:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":148606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 18:59:26] local.INFO: TCP Data received {"connection_id":148606,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:59:26] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:59:26] local.INFO: Packet analysis {"connection_id":148606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:59:26] local.INFO: Extracted packet for processing {"connection_id":148606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:59:26] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 18:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199631872001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785936363000,"timestamp_ms":1785936363000,"timestamp_seconds":1785936363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a3df8"} 
[2026-08-05 18:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 18:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 18:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199631872001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199631872001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:59:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199631872001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 18:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":148606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:59:26] local.INFO: GPS data processed {"connection_id":148606,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:59:26] local.INFO: Acknowledgment sent {"connection_id":148606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:59:30] local.INFO: TCP Data received {"connection_id":148606,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:59:30] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 18:59:30] local.INFO: Packet analysis {"connection_id":148606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:59:30] local.INFO: Extracted packet for processing {"connection_id":148606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 18:59:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199631872001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785936363000,"timestamp_ms":1785936363000,"timestamp_seconds":1785936363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a3df8"} 
[2026-08-05 18:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 18:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 18:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 18:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 18:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 18:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199631872001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 18:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 18:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 18:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199631872001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:59:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 18:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 18:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199631872001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 18:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":148606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:59:30] local.INFO: GPS data processed {"connection_id":148606,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:59:30] local.INFO: Acknowledgment sent {"connection_id":148606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 18:59:46] local.INFO: TCP Data received {"connection_id":151257,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21c39c8012d181f400721ad800048002326..."} 
[2026-08-05 18:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21c39c8012d181f400721ad800048002326..."} 
[2026-08-05 18:59:46] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21c39c8012d181f400721ad800048002326..."} 
[2026-08-05 18:59:46] local.INFO: Packet analysis {"connection_id":151257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 18:59:46] local.INFO: Extracted packet for processing {"connection_id":151257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 18:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119647616,"longitude_deg":75.6555584,"latitude_deg":11.9647616,"altitude":72,"angle":35,"satellites":38,"speed":7,"hex_longitude":"2d181f40","hex_latitude":"0721ad80","is_valid_coordinates":true} 
[2026-08-05 18: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-08-05 18:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199737856001,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10781476014522368,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881026170880,"note":"Value kept but may cause issues"} 
[2026-08-05 18:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 18:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785936493000,"timestamp_ms":1785936493000,"timestamp_seconds":1785936493,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21c39c8"} 
[2026-08-05 18:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 18:59: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-08-05 18: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-05 18:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 18: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-08-05 18:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 18:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 18:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 18:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 18:59: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-08-05 18:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 18:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 18:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199737856001,"66":13972,"105":206,"83":41984,"24":7,"16":10781476014522368,"45":1732548881026170880},"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-08-05 18:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 18:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 18:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199737856001,"description":"Unknown IO ID 0"} 
[2026-08-05 18:59:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 18:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 18:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10781476014522368,"km_value":10781476014522.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 18:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881026170880,"description":"Unknown IO ID 45"} 
[2026-08-05 18:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199737856001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1732548881026170880}} 
[2026-08-05 18:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":151257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 18:59:46] local.INFO: GPS data processed {"connection_id":151257,"processed":1,"errors":0,"total":1} 
[2026-08-05 18:59:46] local.INFO: Acknowledgment sent {"connection_id":151257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:00:09] local.INFO: TCP Data received {"connection_id":149830,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:00:09] local.INFO: Processing buffer {"connection_id":149830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:00:09] local.INFO: IMEI packet received {"connection_id":149830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":149830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:00:14] local.INFO: TCP Data received {"connection_id":148607,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:00:14] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:00:14] local.INFO: IMEI packet received {"connection_id":148607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":148607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:00:14] local.INFO: TCP Data received {"connection_id":149830,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:00:14] local.INFO: Processing buffer {"connection_id":149830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:00:14] local.INFO: IMEI packet received {"connection_id":149830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":149830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:00:15] local.INFO: TCP Data received {"connection_id":149830,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21c8018012d1833800721cd580048002028..."} 
[2026-08-05 19:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21c8018012d1833800721cd580048002028..."} 
[2026-08-05 19:00:15] local.INFO: Processing buffer {"connection_id":149830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21c8018012d1833800721cd580048002028..."} 
[2026-08-05 19:00:15] local.INFO: Packet analysis {"connection_id":149830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:00:15] local.INFO: Extracted packet for processing {"connection_id":149830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756560768,"raw_latitude":119655768,"longitude_deg":75.6560768,"latitude_deg":11.9655768,"altitude":72,"angle":32,"satellites":40,"speed":31,"hex_longitude":"2d183380","hex_latitude":"0721cd58","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199742208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10781944165957632,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562268160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785936511000,"timestamp_ms":1785936511000,"timestamp_seconds":1785936511,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21c8018"} 
[2026-08-05 19:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-05 19:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:00: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-08-05 19:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199742208001,"66":13276,"105":206,"83":41984,"24":31,"16":10781944165957632,"45":1738178380562268160},"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-08-05 19:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199742208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:00:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10781944165957632,"km_value":10781944165957.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562268160,"description":"Unknown IO ID 45"} 
[2026-08-05 19:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199742208001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1738178380562268160}} 
[2026-08-05 19:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":149830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:00:15] local.INFO: GPS data processed {"connection_id":149830,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:00:15] local.INFO: Acknowledgment sent {"connection_id":149830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:00:16] local.INFO: TCP Data received {"connection_id":148820,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 19:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 19:00:16] local.INFO: Processing buffer {"connection_id":148820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 19:00:16] local.INFO: IMEI packet received {"connection_id":148820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-05 19:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":148820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:00:20] local.INFO: TCP Data received {"connection_id":148607,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:00:20] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:00:20] local.INFO: IMEI packet received {"connection_id":148607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":148607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:00:21] local.INFO: TCP Data received {"connection_id":148607,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:00:21] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:00:21] local.INFO: Packet analysis {"connection_id":148607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 19:00:21] local.INFO: Extracted packet for processing {"connection_id":148607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 19:00:21] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199631872001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785936363000,"timestamp_ms":1785936363000,"timestamp_seconds":1785936363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a3df8"} 
[2026-08-05 19:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 19:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199631872001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199631872001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:00:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199631872001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":148607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:00:21] local.INFO: GPS data processed {"connection_id":148607,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:00:21] local.INFO: Acknowledgment sent {"connection_id":148607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:00:46] local.INFO: TCP Data received {"connection_id":149830,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21caef8012d1847c00721eba8004b002228..."} 
[2026-08-05 19:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21caef8012d1847c00721eba8004b002228..."} 
[2026-08-05 19:00:46] local.INFO: Processing buffer {"connection_id":149830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21caef8012d1847c00721eba8004b002228..."} 
[2026-08-05 19:00:46] local.INFO: Packet analysis {"connection_id":149830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:00:46] local.INFO: Extracted packet for processing {"connection_id":149830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756565952,"raw_latitude":119663528,"longitude_deg":75.6565952,"latitude_deg":11.9663528,"altitude":75,"angle":34,"satellites":40,"speed":31,"hex_longitude":"2d1847c0","hex_latitude":"0721eba8","is_valid_coordinates":true} 
[2026-08-05 19:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199746816001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782395137523712,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743878248842745856,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785936523000,"timestamp_ms":1785936523000,"timestamp_seconds":1785936523,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21caef8"} 
[2026-08-05 19:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:00: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-08-05 19: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-05 19:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:00: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-08-05 19:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199746816001,"66":13091,"105":206,"83":41984,"24":31,"16":10782395137523712,"45":1743878248842745856},"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-08-05 19:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199746816001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:00:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782395137523712,"km_value":10782395137523.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743878248842745856,"description":"Unknown IO ID 45"} 
[2026-08-05 19:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199746816001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1743878248842745856}} 
[2026-08-05 19:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":149830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:00:46] local.INFO: GPS data processed {"connection_id":149830,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:00:46] local.INFO: Acknowledgment sent {"connection_id":149830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:00:53] local.INFO: TCP Data received {"connection_id":148607,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:00:53] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:00:53] local.INFO: Packet analysis {"connection_id":148607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 19:00:53] local.INFO: Extracted packet for processing {"connection_id":148607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 19:00:53] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199631872001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785936363000,"timestamp_ms":1785936363000,"timestamp_seconds":1785936363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a3df8"} 
[2026-08-05 19:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 19:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199631872001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199631872001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:00:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199631872001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":148607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:00:53] local.INFO: GPS data processed {"connection_id":148607,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:00:53] local.INFO: Acknowledgment sent {"connection_id":148607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:01:14] local.INFO: TCP Data received {"connection_id":148821,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:14] local.INFO: Processing buffer {"connection_id":148821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:14] local.INFO: IMEI packet received {"connection_id":148821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":148821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:01:15] local.INFO: TCP Data received {"connection_id":151258,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:01:15] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:01:15] local.INFO: IMEI packet received {"connection_id":151258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":151258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:01:20] local.INFO: TCP Data received {"connection_id":151258,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:01:20] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:01:20] local.INFO: IMEI packet received {"connection_id":151258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":151258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:01:21] local.INFO: TCP Data received {"connection_id":151258,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ced78012d1858c007220268005000612a..."} 
[2026-08-05 19:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ced78012d1858c007220268005000612a..."} 
[2026-08-05 19:01:21] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ced78012d1858c007220268005000612a..."} 
[2026-08-05 19:01:21] local.INFO: Packet analysis {"connection_id":151258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:01:21] local.INFO: Extracted packet for processing {"connection_id":151258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:01:21] local.INFO: GPS Element Parsed {"raw_longitude":756570304,"raw_latitude":119669352,"longitude_deg":75.6570304,"latitude_deg":11.9669352,"altitude":80,"angle":97,"satellites":42,"speed":6,"hex_longitude":"2d1858c0","hex_latitude":"07220268","is_valid_coordinates":true} 
[2026-08-05 19:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199749888001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782751619809280,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749578117123123200,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785936539000,"timestamp_ms":1785936539000,"timestamp_seconds":1785936539,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ced78"} 
[2026-08-05 19:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:01: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-08-05 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 19:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199749888001,"66":13048,"105":206,"83":41984,"24":6,"16":10782751619809280,"45":1749578117123123200},"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-08-05 19:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199749888001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:01:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:01:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782751619809280,"km_value":10782751619809.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749578117123123200,"description":"Unknown IO ID 45"} 
[2026-08-05 19:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199749888001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1749578117123123200}} 
[2026-08-05 19:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":151258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:01:21] local.INFO: GPS data processed {"connection_id":151258,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:01:21] local.INFO: Acknowledgment sent {"connection_id":151258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:01:24] local.INFO: TCP Data received {"connection_id":148821,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:24] local.INFO: Processing buffer {"connection_id":148821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:24] local.INFO: IMEI packet received {"connection_id":148821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":148821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:01:24] local.INFO: TCP Data received {"connection_id":151258,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21cf160012d18594007220218005000782a..."} 
[2026-08-05 19:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21cf160012d18594007220218005000782a..."} 
[2026-08-05 19:01:24] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21cf160012d18594007220218005000782a..."} 
[2026-08-05 19:01:24] local.INFO: Packet analysis {"connection_id":151258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:01:24] local.INFO: Extracted packet for processing {"connection_id":151258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119669272,"longitude_deg":75.6570432,"latitude_deg":11.9669272,"altitude":80,"angle":120,"satellites":42,"speed":6,"hex_longitude":"2d185940","hex_latitude":"07220218","is_valid_coordinates":true} 
[2026-08-05 19:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199753984001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782755914776576,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754363191728695296,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785936540000,"timestamp_ms":1785936540000,"timestamp_seconds":1785936540,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21cf160"} 
[2026-08-05 19:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:01: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-08-05 19: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-05 19:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199753984001,"66":13048,"105":206,"83":41984,"24":6,"16":10782755914776576,"45":1754363191728695296},"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-08-05 19:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199753984001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:01:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782755914776576,"km_value":10782755914776.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754363191728695296,"description":"Unknown IO ID 45"} 
[2026-08-05 19:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199753984001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1754363191728695296}} 
[2026-08-05 19:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":151258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:01:25] local.INFO: GPS data processed {"connection_id":151258,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:01:25] local.INFO: Acknowledgment sent {"connection_id":151258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:01:25] local.INFO: TCP Data received {"connection_id":148821,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:25] local.INFO: Processing buffer {"connection_id":148821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:25] local.INFO: IMEI packet received {"connection_id":148821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":148821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:01:32] local.INFO: TCP Data received {"connection_id":148821,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:32] local.INFO: Processing buffer {"connection_id":148821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:01:32] local.INFO: IMEI packet received {"connection_id":148821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":148821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:01:35] local.INFO: TCP Data received {"connection_id":148821,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:01:35] local.INFO: Processing buffer {"connection_id":148821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:01:35] local.INFO: Packet analysis {"connection_id":148821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 19:01:35] local.INFO: Extracted packet for processing {"connection_id":148821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199631872001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785936363000,"timestamp_ms":1785936363000,"timestamp_seconds":1785936363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a3df8"} 
[2026-08-05 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-08-05 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 19:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 19:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199631872001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199631872001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:01:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199631872001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":148821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:01:35] local.INFO: GPS data processed {"connection_id":148821,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:01:35] local.INFO: Acknowledgment sent {"connection_id":148821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:01:36] local.INFO: TCP Data received {"connection_id":148821,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:01:36] local.INFO: Processing buffer {"connection_id":148821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21a3df8012d77a54005f27938000b000026..."} 
[2026-08-05 19:01:36] local.INFO: Packet analysis {"connection_id":148821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 19:01:36] local.INFO: Extracted packet for processing {"connection_id":148821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21a"} 
[2026-08-05 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199631872001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785936363000,"timestamp_ms":1785936363000,"timestamp_seconds":1785936363,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21a3df8"} 
[2026-08-05 19:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-05 19:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199631872001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199631872001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:01:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199631872001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":148821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:01:36] local.INFO: GPS data processed {"connection_id":148821,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:01:36] local.INFO: Acknowledgment sent {"connection_id":148821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:02:09] local.INFO: TCP Data received {"connection_id":151259,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:02:09] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:02:09] local.INFO: IMEI packet received {"connection_id":151259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":151259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:02:09] local.INFO: TCP Data received {"connection_id":151259,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:02:09] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:02:09] local.INFO: IMEI packet received {"connection_id":151259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":151259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:02:15] local.INFO: TCP Data received {"connection_id":151259,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:02:15] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:02:15] local.INFO: IMEI packet received {"connection_id":151259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":151259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:02:15] local.INFO: TCP Data received {"connection_id":151259,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21cf548012d185980072201b00050008a2a..."} 
[2026-08-05 19:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21cf548012d185980072201b00050008a2a..."} 
[2026-08-05 19:02:15] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21cf548012d185980072201b00050008a2a..."} 
[2026-08-05 19:02:15] local.INFO: Packet analysis {"connection_id":151259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:02:15] local.INFO: Extracted packet for processing {"connection_id":151259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119669168,"longitude_deg":75.6570496,"latitude_deg":11.9669168,"altitude":80,"angle":138,"satellites":42,"speed":5,"hex_longitude":"2d185980","hex_latitude":"072201b0","is_valid_coordinates":true} 
[2026-08-05 19:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199754240001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782764504711168,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929217030144,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785936541000,"timestamp_ms":1785936541000,"timestamp_seconds":1785936541,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21cf548"} 
[2026-08-05 19:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:02: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-08-05 19: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-05 19:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:02: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-08-05 19:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199754240001,"66":13048,"105":206,"83":41984,"24":5,"16":10782764504711168,"45":1754503929217030144},"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-08-05 19:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199754240001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:02:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782764504711168,"km_value":10782764504711.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929217030144,"description":"Unknown IO ID 45"} 
[2026-08-05 19:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199754240001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1754503929217030144}} 
[2026-08-05 19:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":151259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:02:15] local.INFO: GPS data processed {"connection_id":151259,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:02:15] local.INFO: Acknowledgment sent {"connection_id":151259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:02:19] local.INFO: TCP Data received {"connection_id":148608,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:02:19] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:02:19] local.INFO: IMEI packet received {"connection_id":148608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":148608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:02:24] local.INFO: TCP Data received {"connection_id":148608,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:02:24] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:02:24] local.INFO: IMEI packet received {"connection_id":148608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":148608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:02:25] local.INFO: TCP Data received {"connection_id":148608,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:02:25] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:02:25] local.INFO: Packet analysis {"connection_id":148608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:02:25] local.INFO: Extracted packet for processing {"connection_id":148608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:02:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199708928001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785936664000,"timestamp_ms":1785936664000,"timestamp_seconds":1785936664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ed5c0"} 
[2026-08-05 19:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199708928001,"66":25647,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199708928001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:02:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199708928001,"power":25647,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":148608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:02:25] local.INFO: GPS data processed {"connection_id":148608,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:02:25] local.INFO: Acknowledgment sent {"connection_id":148608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:02:30] local.INFO: TCP Data received {"connection_id":148608,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:02:30] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:02:30] local.INFO: Packet analysis {"connection_id":148608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:02:30] local.INFO: Extracted packet for processing {"connection_id":148608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:02:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199708928001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785936664000,"timestamp_ms":1785936664000,"timestamp_seconds":1785936664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ed5c0"} 
[2026-08-05 19:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199708928001,"66":25647,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199708928001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:02:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199708928001,"power":25647,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":148608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:02:30] local.INFO: GPS data processed {"connection_id":148608,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:02:30] local.INFO: Acknowledgment sent {"connection_id":148608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:02:46] local.INFO: TCP Data received {"connection_id":151259,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21cf930012d1859c007220148005100982a..."} 
[2026-08-05 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21cf930012d1859c007220148005100982a..."} 
[2026-08-05 19:02:46] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21cf930012d1859c007220148005100982a..."} 
[2026-08-05 19:02:46] local.INFO: Packet analysis {"connection_id":151259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:02:46] local.INFO: Extracted packet for processing {"connection_id":151259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21c"} 
[2026-08-05 19:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119669064,"longitude_deg":75.657056,"latitude_deg":11.9669064,"altitude":81,"angle":152,"satellites":42,"speed":5,"hex_longitude":"2d1859c0","hex_latitude":"07220148","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199754496001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782768799678464,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961181184,"note":"Value kept but may cause issues"} 
[2026-08-05 19:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785936542000,"timestamp_ms":1785936542000,"timestamp_seconds":1785936542,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21cf930"} 
[2026-08-05 19:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:02: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-08-05 19: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-05 19:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:02: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-08-05 19:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199754496001,"66":13048,"105":206,"83":41984,"24":5,"16":10782768799678464,"45":1754574297961181184},"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-08-05 19:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199754496001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:02:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782768799678464,"km_value":10782768799678.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961181184,"description":"Unknown IO ID 45"} 
[2026-08-05 19:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199754496001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1754574297961181184}} 
[2026-08-05 19:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":151259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:02:46] local.INFO: GPS data processed {"connection_id":151259,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:02:46] local.INFO: Acknowledgment sent {"connection_id":151259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:03:11] local.INFO: TCP Data received {"connection_id":149831,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:03:11] local.INFO: Processing buffer {"connection_id":149831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:03:11] local.INFO: IMEI packet received {"connection_id":149831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":149831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:03:11] local.INFO: TCP Data received {"connection_id":149831,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:03:11] local.INFO: Processing buffer {"connection_id":149831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:03:11] local.INFO: IMEI packet received {"connection_id":149831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":149831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:03:12] local.INFO: TCP Data received {"connection_id":149831,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21d0100012d18598007220048005200b22a..."} 
[2026-08-05 19:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21d0100012d18598007220048005200b22a..."} 
[2026-08-05 19:03:12] local.INFO: Processing buffer {"connection_id":149831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21d0100012d18598007220048005200b22a..."} 
[2026-08-05 19:03:12] local.INFO: Packet analysis {"connection_id":149831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21d"} 
[2026-08-05 19:03:12] local.INFO: Extracted packet for processing {"connection_id":149831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21d"} 
[2026-08-05 19:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119668808,"longitude_deg":75.6570496,"latitude_deg":11.9668808,"altitude":82,"angle":178,"satellites":42,"speed":4,"hex_longitude":"2d185980","hex_latitude":"07220048","is_valid_coordinates":true} 
[2026-08-05 19:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199754752001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782781684580352,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666705332224,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785936544000,"timestamp_ms":1785936544000,"timestamp_seconds":1785936544,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21d0100"} 
[2026-08-05 19:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-05 19:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":149831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":149831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":149831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:03: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-08-05 19:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199754752001,"66":13015,"105":206,"83":41984,"24":4,"16":10782781684580352,"45":1754644666705332224},"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-08-05 19:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199754752001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:03:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782781684580352,"km_value":10782781684580.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666705332224,"description":"Unknown IO ID 45"} 
[2026-08-05 19:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199754752001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1754644666705332224}} 
[2026-08-05 19:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":149831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:03:12] local.INFO: GPS data processed {"connection_id":149831,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:03:12] local.INFO: Acknowledgment sent {"connection_id":149831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:03:14] local.INFO: TCP Data received {"connection_id":149832,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:03:14] local.INFO: Processing buffer {"connection_id":149832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:03:14] local.INFO: IMEI packet received {"connection_id":149832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":149832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:03:15] local.INFO: TCP Data received {"connection_id":149831,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21d5308012d1859000721fff8005200b229..."} 
[2026-08-05 19:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21d5308012d1859000721fff8005200b229..."} 
[2026-08-05 19:03:15] local.INFO: Processing buffer {"connection_id":149831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21d5308012d1859000721fff8005200b229..."} 
[2026-08-05 19:03:15] local.INFO: Packet analysis {"connection_id":149831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21d"} 
[2026-08-05 19:03:15] local.INFO: Extracted packet for processing {"connection_id":149831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21d"} 
[2026-08-05 19:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199755264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961089024,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785936565000,"timestamp_ms":1785936565000,"timestamp_seconds":1785936565,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21d5308"} 
[2026-08-05 19:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:03: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-08-05 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 19:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:03: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-08-05 19:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199755264001,"66":13015,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754574297961089024},"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-08-05 19:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199755264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:03:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961089024,"description":"Unknown IO ID 45"} 
[2026-08-05 19:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199755264001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754574297961089024}} 
[2026-08-05 19:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":149831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:03:15] local.INFO: GPS data processed {"connection_id":149831,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:03:15] local.INFO: Acknowledgment sent {"connection_id":149831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:03:19] local.INFO: TCP Data received {"connection_id":149832,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:03:19] local.INFO: Processing buffer {"connection_id":149832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:03:19] local.INFO: IMEI packet received {"connection_id":149832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":149832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:03:20] local.INFO: TCP Data received {"connection_id":149832,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:03:20] local.INFO: Processing buffer {"connection_id":149832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:03:20] local.INFO: Packet analysis {"connection_id":149832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:03:20] local.INFO: Extracted packet for processing {"connection_id":149832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:03:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199708928001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785936664000,"timestamp_ms":1785936664000,"timestamp_seconds":1785936664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ed5c0"} 
[2026-08-05 19:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:03: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-08-05 19:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199708928001,"66":25647,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199708928001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:03:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199708928001,"power":25647,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":149832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:03:20] local.INFO: GPS data processed {"connection_id":149832,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:03:20] local.INFO: Acknowledgment sent {"connection_id":149832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:03:46] local.INFO: TCP Data received {"connection_id":149831,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21da128012d1859000721fff8005200b227..."} 
[2026-08-05 19:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21da128012d1859000721fff8005200b227..."} 
[2026-08-05 19:03:46] local.INFO: Processing buffer {"connection_id":149831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21da128012d1859000721fff8005200b227..."} 
[2026-08-05 19:03:46] local.INFO: Packet analysis {"connection_id":149831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21d"} 
[2026-08-05 19:03:46] local.INFO: Extracted packet for processing {"connection_id":149831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21d"} 
[2026-08-05 19:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":39,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199760640001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785936585000,"timestamp_ms":1785936585000,"timestamp_seconds":1785936585,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21da128"} 
[2026-08-05 19:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 19:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:03: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-08-05 19:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199760640001,"66":12993,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199760640001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:03:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199760640001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":149831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:03:46] local.INFO: GPS data processed {"connection_id":149831,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:03:46] local.INFO: Acknowledgment sent {"connection_id":149831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:03:52] local.INFO: TCP Data received {"connection_id":149832,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:03:52] local.INFO: Processing buffer {"connection_id":149832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:03:52] local.INFO: Packet analysis {"connection_id":149832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:03:52] local.INFO: Extracted packet for processing {"connection_id":149832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:03:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199708928001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785936664000,"timestamp_ms":1785936664000,"timestamp_seconds":1785936664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ed5c0"} 
[2026-08-05 19:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199708928001,"66":25647,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199708928001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:03:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199708928001,"power":25647,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":149832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:03:52] local.INFO: GPS data processed {"connection_id":149832,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:03:52] local.INFO: Acknowledgment sent {"connection_id":149832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:04:10] local.INFO: TCP Data received {"connection_id":151260,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:04:10] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:04:10] local.INFO: IMEI packet received {"connection_id":151260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":151260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:04:14] local.INFO: TCP Data received {"connection_id":148609,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:04:14] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:04:14] local.INFO: IMEI packet received {"connection_id":148609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":148609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:04:15] local.INFO: TCP Data received {"connection_id":151260,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:04:15] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:04:15] local.INFO: IMEI packet received {"connection_id":151260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":151260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:04:15] local.INFO: TCP Data received {"connection_id":151260,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21df330012d1859000721fff8005200b229..."} 
[2026-08-05 19:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21df330012d1859000721fff8005200b229..."} 
[2026-08-05 19:04:15] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21df330012d1859000721fff8005200b229..."} 
[2026-08-05 19:04:15] local.INFO: Packet analysis {"connection_id":151260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21d"} 
[2026-08-05 19:04:15] local.INFO: Extracted packet for processing {"connection_id":151260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21d"} 
[2026-08-05 19:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199765760001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785936606000,"timestamp_ms":1785936606000,"timestamp_seconds":1785936606,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21df330"} 
[2026-08-05 19:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:04: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-08-05 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 19:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:04: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-08-05 19:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199765760001,"66":12993,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199765760001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:04:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199765760001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":151260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:04:15] local.INFO: GPS data processed {"connection_id":151260,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:04:15] local.INFO: Acknowledgment sent {"connection_id":151260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:04:19] local.INFO: TCP Data received {"connection_id":148609,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:04:19] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:04:19] local.INFO: IMEI packet received {"connection_id":148609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":148609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:04:21] local.INFO: TCP Data received {"connection_id":148609,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:04:21] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:04:21] local.INFO: Packet analysis {"connection_id":148609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:04:21] local.INFO: Extracted packet for processing {"connection_id":148609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:04:21] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199708928001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785936664000,"timestamp_ms":1785936664000,"timestamp_seconds":1785936664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ed5c0"} 
[2026-08-05 19:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:04: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-08-05 19: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-08-05 19:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199708928001,"66":25647,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199708928001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:04:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199708928001,"power":25647,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":148609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:04:21] local.INFO: GPS data processed {"connection_id":148609,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:04:21] local.INFO: Acknowledgment sent {"connection_id":148609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:04:47] local.INFO: TCP Data received {"connection_id":151260,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21e4538012d1859000721fff8005200b22b..."} 
[2026-08-05 19:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21e4538012d1859000721fff8005200b22b..."} 
[2026-08-05 19:04:47] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21e4538012d1859000721fff8005200b22b..."} 
[2026-08-05 19:04:47] local.INFO: Packet analysis {"connection_id":151260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:04:47] local.INFO: Extracted packet for processing {"connection_id":151260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199771136001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785936627000,"timestamp_ms":1785936627000,"timestamp_seconds":1785936627,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21e4538"} 
[2026-08-05 19:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 19:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:04: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-08-05 19:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199771136001,"66":12993,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199771136001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:04:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199771136001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":151260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:04:47] local.INFO: GPS data processed {"connection_id":151260,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:04:47] local.INFO: Acknowledgment sent {"connection_id":151260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:04:52] local.INFO: TCP Data received {"connection_id":148609,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:04:52] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:04:52] local.INFO: Packet analysis {"connection_id":148609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:04:52] local.INFO: Extracted packet for processing {"connection_id":148609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:04:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199708928001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785936664000,"timestamp_ms":1785936664000,"timestamp_seconds":1785936664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ed5c0"} 
[2026-08-05 19:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199708928001,"66":25647,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199708928001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:04:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199708928001,"power":25647,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":148609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:04:52] local.INFO: GPS data processed {"connection_id":148609,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:04:52] local.INFO: Acknowledgment sent {"connection_id":148609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:05:10] local.INFO: TCP Data received {"connection_id":151261,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:05:10] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:05:10] local.INFO: IMEI packet received {"connection_id":151261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":151261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:05:14] local.INFO: TCP Data received {"connection_id":149833,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:05:14] local.INFO: Processing buffer {"connection_id":149833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:05:14] local.INFO: IMEI packet received {"connection_id":149833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":149833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:05:15] local.INFO: TCP Data received {"connection_id":151261,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:05:15] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:05:15] local.INFO: IMEI packet received {"connection_id":151261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":151261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:05:15] local.INFO: TCP Data received {"connection_id":151261,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21e9740012d1859000721fff8005200b22b..."} 
[2026-08-05 19:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21e9740012d1859000721fff8005200b22b..."} 
[2026-08-05 19:05:15] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21e9740012d1859000721fff8005200b22b..."} 
[2026-08-05 19:05:15] local.INFO: Packet analysis {"connection_id":151261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:05:15] local.INFO: Extracted packet for processing {"connection_id":151261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199776512001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785936648000,"timestamp_ms":1785936648000,"timestamp_seconds":1785936648,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21e9740"} 
[2026-08-05 19:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:05: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-08-05 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 19:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19: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-08-05 19:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199776512001,"66":12939,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199776512001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199776512001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":151261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":596999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:05:15] local.INFO: GPS data processed {"connection_id":151261,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:05:15] local.INFO: Acknowledgment sent {"connection_id":151261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:05:19] local.INFO: TCP Data received {"connection_id":149833,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:05:19] local.INFO: Processing buffer {"connection_id":149833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:05:19] local.INFO: IMEI packet received {"connection_id":149833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":149833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:05:20] local.INFO: TCP Data received {"connection_id":149833,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:05:20] local.INFO: Processing buffer {"connection_id":149833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:05:20] local.INFO: Packet analysis {"connection_id":149833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:05:20] local.INFO: Extracted packet for processing {"connection_id":149833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:05:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199708928001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785936664000,"timestamp_ms":1785936664000,"timestamp_seconds":1785936664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ed5c0"} 
[2026-08-05 19:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:05: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-08-05 19:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199708928001,"66":25647,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199708928001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:05:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199708928001,"power":25647,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":149833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:05:20] local.INFO: GPS data processed {"connection_id":149833,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:05:20] local.INFO: Acknowledgment sent {"connection_id":149833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:05:30] local.INFO: TCP Data received {"connection_id":148822,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 19:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 19:05:30] local.INFO: Processing buffer {"connection_id":148822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 19:05:30] local.INFO: IMEI packet received {"connection_id":148822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-05 19:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":148822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:05:47] local.INFO: TCP Data received {"connection_id":151261,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ee948012d1859000721fff8005200b22b..."} 
[2026-08-05 19:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ee948012d1859000721fff8005200b22b..."} 
[2026-08-05 19:05:47] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ee948012d1859000721fff8005200b22b..."} 
[2026-08-05 19:05:47] local.INFO: Packet analysis {"connection_id":151261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:05:47] local.INFO: Extracted packet for processing {"connection_id":151261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199781888001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785936669000,"timestamp_ms":1785936669000,"timestamp_seconds":1785936669,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ee948"} 
[2026-08-05 19:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 19:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:05: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-08-05 19:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199781888001,"66":12950,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199781888001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:05:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:05:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199781888001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":151261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:05:47] local.INFO: GPS data processed {"connection_id":151261,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:05:47] local.INFO: Acknowledgment sent {"connection_id":151261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:05:52] local.INFO: TCP Data received {"connection_id":149833,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:05:52] local.INFO: Processing buffer {"connection_id":149833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:05:52] local.INFO: Packet analysis {"connection_id":149833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:05:52] local.INFO: Extracted packet for processing {"connection_id":149833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:05:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199708928001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785936664000,"timestamp_ms":1785936664000,"timestamp_seconds":1785936664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ed5c0"} 
[2026-08-05 19:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199708928001,"66":25647,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199708928001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:05:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199708928001,"power":25647,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":149833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:05:52] local.INFO: GPS data processed {"connection_id":149833,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:05:52] local.INFO: Acknowledgment sent {"connection_id":149833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:06:09] local.INFO: TCP Data received {"connection_id":148610,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:06:09] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:06:09] local.INFO: IMEI packet received {"connection_id":148610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":148610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:06:15] local.INFO: TCP Data received {"connection_id":148610,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:06:15] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:06:15] local.INFO: IMEI packet received {"connection_id":148610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":148610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:06:15] local.INFO: TCP Data received {"connection_id":148610,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21f3b50012d1859000721fff8005200b22b..."} 
[2026-08-05 19:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21f3b50012d1859000721fff8005200b22b..."} 
[2026-08-05 19:06:15] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21f3b50012d1859000721fff8005200b22b..."} 
[2026-08-05 19:06:15] local.INFO: Packet analysis {"connection_id":148610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21f"} 
[2026-08-05 19:06:15] local.INFO: Extracted packet for processing {"connection_id":148610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21f"} 
[2026-08-05 19:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199787264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785936690000,"timestamp_ms":1785936690000,"timestamp_seconds":1785936690,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21f3b50"} 
[2026-08-05 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-08-05 19:06: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-08-05 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-05 19:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 19:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:06: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-08-05 19:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199787264001,"66":12939,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199787264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:06:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199787264001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":148610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:06:15] local.INFO: GPS data processed {"connection_id":148610,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:06:15] local.INFO: Acknowledgment sent {"connection_id":148610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:06:19] local.INFO: TCP Data received {"connection_id":148823,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:06:19] local.INFO: Processing buffer {"connection_id":148823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:06:19] local.INFO: IMEI packet received {"connection_id":148823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":148823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:06:24] local.INFO: TCP Data received {"connection_id":148823,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:06:24] local.INFO: Processing buffer {"connection_id":148823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:06:24] local.INFO: IMEI packet received {"connection_id":148823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":148823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:06:31] local.INFO: TCP Data received {"connection_id":148823,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:06:31] local.INFO: Processing buffer {"connection_id":148823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:06:31] local.INFO: Packet analysis {"connection_id":148823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:06:31] local.INFO: Extracted packet for processing {"connection_id":148823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:06:31] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199708928001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785936664000,"timestamp_ms":1785936664000,"timestamp_seconds":1785936664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ed5c0"} 
[2026-08-05 19:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199708928001,"66":25647,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199708928001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:06:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199708928001,"power":25647,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":148823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:06:31] local.INFO: GPS data processed {"connection_id":148823,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:06:31] local.INFO: Acknowledgment sent {"connection_id":148823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:06:32] local.INFO: TCP Data received {"connection_id":148823,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:06:32] local.INFO: Processing buffer {"connection_id":148823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd21ed5c0012d77a54005f27938000b000025..."} 
[2026-08-05 19:06:32] local.INFO: Packet analysis {"connection_id":148823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:06:32] local.INFO: Extracted packet for processing {"connection_id":148823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd21e"} 
[2026-08-05 19:06:32] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199708928001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785936664000,"timestamp_ms":1785936664000,"timestamp_seconds":1785936664,"priority":1,"record_length":96,"hex_timestamp":"0000019fd21ed5c0"} 
[2026-08-05 19:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199708928001,"66":25647,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199708928001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:06:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199708928001,"power":25647,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":148823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:06:32] local.INFO: GPS data processed {"connection_id":148823,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:06:32] local.INFO: Acknowledgment sent {"connection_id":148823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:06:46] local.INFO: TCP Data received {"connection_id":148610,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd222c1a8012d1859000721fff8005200b22c..."} 
[2026-08-05 19:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd222c1a8012d1859000721fff8005200b22c..."} 
[2026-08-05 19:06:46] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd222c1a8012d1859000721fff8005200b22c..."} 
[2026-08-05 19:06:46] local.INFO: Packet analysis {"connection_id":148610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd222"} 
[2026-08-05 19:06:46] local.INFO: Extracted packet for processing {"connection_id":148610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd222"} 
[2026-08-05 19:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199846400001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785936921000,"timestamp_ms":1785936921000,"timestamp_seconds":1785936921,"priority":1,"record_length":96,"hex_timestamp":"0000019fd222c1a8"} 
[2026-08-05 19:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 19:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:06: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-08-05 19:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199846400001,"66":12776,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199846400001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:06:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199846400001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":148610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:06:47] local.INFO: GPS data processed {"connection_id":148610,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:06:47] local.INFO: Acknowledgment sent {"connection_id":148610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:07:14] local.INFO: TCP Data received {"connection_id":151263,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:07:14] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:07:14] local.INFO: IMEI packet received {"connection_id":151263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":151263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:07:15] local.INFO: TCP Data received {"connection_id":151262,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:07:15] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:07:15] local.INFO: IMEI packet received {"connection_id":151262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":151262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:07:19] local.INFO: TCP Data received {"connection_id":151263,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:07:19] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:07:19] local.INFO: IMEI packet received {"connection_id":151263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":151263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:07:20] local.INFO: TCP Data received {"connection_id":151262,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:07:20] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:07:20] local.INFO: IMEI packet received {"connection_id":151262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":151262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:07:20] local.INFO: TCP Data received {"connection_id":151262,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22313b0012d1859000721fff8005200b22c..."} 
[2026-08-05 19:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22313b0012d1859000721fff8005200b22c..."} 
[2026-08-05 19:07:20] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22313b0012d1859000721fff8005200b22c..."} 
[2026-08-05 19:07:20] local.INFO: Packet analysis {"connection_id":151262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:07:20] local.INFO: Extracted packet for processing {"connection_id":151262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199851776001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785936942000,"timestamp_ms":1785936942000,"timestamp_seconds":1785936942,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22313b0"} 
[2026-08-05 19:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 19:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199851776001,"66":12776,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199851776001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:07:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199851776001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":151262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:07:20] local.INFO: GPS data processed {"connection_id":151262,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:07:20] local.INFO: Acknowledgment sent {"connection_id":151262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:07:21] local.INFO: TCP Data received {"connection_id":151263,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:07:21] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:07:21] local.INFO: Packet analysis {"connection_id":151263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:07:21] local.INFO: Extracted packet for processing {"connection_id":151263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:07:21] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199785984001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785936965000,"timestamp_ms":1785936965000,"timestamp_seconds":1785936965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2236d88"} 
[2026-08-05 19:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 19:07: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-08-05 19: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-08-05 19:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199785984001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199785984001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:07:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199785984001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":151263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:07:21] local.INFO: GPS data processed {"connection_id":151263,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:07:21] local.INFO: Acknowledgment sent {"connection_id":151263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:07:23] local.INFO: TCP Data received {"connection_id":151262,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22365b8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22365b8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:07:23] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22365b8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:07:23] local.INFO: Packet analysis {"connection_id":151262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:07:23] local.INFO: Extracted packet for processing {"connection_id":151262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199857152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785936963000,"timestamp_ms":1785936963000,"timestamp_seconds":1785936963,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22365b8"} 
[2026-08-05 19:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:07: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-08-05 19: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 19:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:07: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-08-05 19:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199857152001,"66":12743,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199857152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:07:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199857152001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":151262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:07:24] local.INFO: GPS data processed {"connection_id":151262,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:07:24] local.INFO: Acknowledgment sent {"connection_id":151262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:07:52] local.INFO: TCP Data received {"connection_id":151263,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:07:52] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:07:52] local.INFO: Packet analysis {"connection_id":151263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:07:52] local.INFO: Extracted packet for processing {"connection_id":151263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:07:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199785984001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785936965000,"timestamp_ms":1785936965000,"timestamp_seconds":1785936965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2236d88"} 
[2026-08-05 19:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 19:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199785984001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199785984001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:07:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199785984001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":151263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:07:52] local.INFO: GPS data processed {"connection_id":151263,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:07:52] local.INFO: Acknowledgment sent {"connection_id":151263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:07:55] local.INFO: TCP Data received {"connection_id":151262,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd223b7c0012d1859000721fff8005200b22b..."} 
[2026-08-05 19:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd223b7c0012d1859000721fff8005200b22b..."} 
[2026-08-05 19:07:55] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd223b7c0012d1859000721fff8005200b22b..."} 
[2026-08-05 19:07:55] local.INFO: Packet analysis {"connection_id":151262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:07:55] local.INFO: Extracted packet for processing {"connection_id":151262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199862528001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785936984000,"timestamp_ms":1785936984000,"timestamp_seconds":1785936984,"priority":1,"record_length":96,"hex_timestamp":"0000019fd223b7c0"} 
[2026-08-05 19:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-05 19:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199862528001,"66":12689,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199862528001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:07:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:07:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199862528001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":151262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:07:55] local.INFO: GPS data processed {"connection_id":151262,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:07:55] local.INFO: Acknowledgment sent {"connection_id":151262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:08:05] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:08:05] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:08:05] local.INFO: IMEI packet received {"connection_id":148611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":148611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:08:09] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:08:10] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:08:10] local.INFO: IMEI packet received {"connection_id":148611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":148611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:08:14] local.INFO: TCP Data received {"connection_id":151264,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:08:14] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:08:14] local.INFO: IMEI packet received {"connection_id":151264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":151264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:08:14] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:08:14] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:08:14] local.INFO: IMEI packet received {"connection_id":148611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":148611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:08:19] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22409c8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22409c8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:08:19] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22409c8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:08:19] local.INFO: Packet analysis {"connection_id":148611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd224"} 
[2026-08-05 19:08:19] local.INFO: Extracted packet for processing {"connection_id":148611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd224"} 
[2026-08-05 19:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199867904001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785937005000,"timestamp_ms":1785937005000,"timestamp_seconds":1785937005,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22409c8"} 
[2026-08-05 19:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 19:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199867904001,"66":12667,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199867904001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:08:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:08:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199867904001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":148611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:08:19] local.INFO: GPS data processed {"connection_id":148611,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:08:19] local.INFO: Acknowledgment sent {"connection_id":148611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:08:19] local.INFO: TCP Data received {"connection_id":151264,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:08:19] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:08:19] local.INFO: IMEI packet received {"connection_id":151264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":151264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:08:20] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2245bd0012d1859000721fff8005200b22c..."} 
[2026-08-05 19:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2245bd0012d1859000721fff8005200b22c..."} 
[2026-08-05 19:08:20] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2245bd0012d1859000721fff8005200b22c..."} 
[2026-08-05 19:08:20] local.INFO: Packet analysis {"connection_id":148611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd224"} 
[2026-08-05 19:08:20] local.INFO: Extracted packet for processing {"connection_id":148611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd224"} 
[2026-08-05 19:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199873280001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937026000,"timestamp_ms":1785937026000,"timestamp_seconds":1785937026,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2245bd0"} 
[2026-08-05 19:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 19:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199873280001,"66":12689,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199873280001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:08:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199873280001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":148611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:08:20] local.INFO: GPS data processed {"connection_id":148611,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:08:20] local.INFO: Acknowledgment sent {"connection_id":148611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:08:20] local.INFO: TCP Data received {"connection_id":151264,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:08:20] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:08:20] local.INFO: Packet analysis {"connection_id":151264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:08:20] local.INFO: Extracted packet for processing {"connection_id":151264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:08:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199785984001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785936965000,"timestamp_ms":1785936965000,"timestamp_seconds":1785936965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2236d88"} 
[2026-08-05 19:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 19:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199785984001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199785984001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:08:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199785984001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":151264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:08:20] local.INFO: GPS data processed {"connection_id":151264,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:08:20] local.INFO: Acknowledgment sent {"connection_id":151264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:08:51] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd224add8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd224add8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:08:51] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd224add8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:08:51] local.INFO: Packet analysis {"connection_id":148611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd224"} 
[2026-08-05 19:08:51] local.INFO: Extracted packet for processing {"connection_id":148611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd224"} 
[2026-08-05 19:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199878656001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785937047000,"timestamp_ms":1785937047000,"timestamp_seconds":1785937047,"priority":1,"record_length":96,"hex_timestamp":"0000019fd224add8"} 
[2026-08-05 19:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 19:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199878656001,"66":12711,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199878656001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:08:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199878656001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":148611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:08:51] local.INFO: GPS data processed {"connection_id":148611,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:08:51] local.INFO: Acknowledgment sent {"connection_id":148611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:08:52] local.INFO: TCP Data received {"connection_id":151264,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:08:52] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:08:52] local.INFO: Packet analysis {"connection_id":151264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:08:52] local.INFO: Extracted packet for processing {"connection_id":151264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:08:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199785984001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785936965000,"timestamp_ms":1785936965000,"timestamp_seconds":1785936965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2236d88"} 
[2026-08-05 19:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 19:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199785984001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199785984001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:08:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199785984001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":151264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:08:52] local.INFO: GPS data processed {"connection_id":151264,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:08:52] local.INFO: Acknowledgment sent {"connection_id":151264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:09:08] local.INFO: TCP Data received {"connection_id":149834,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:09:08] local.INFO: Processing buffer {"connection_id":149834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:09:08] local.INFO: IMEI packet received {"connection_id":149834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":149834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:09:09] local.INFO: TCP Data received {"connection_id":149834,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:09:09] local.INFO: Processing buffer {"connection_id":149834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:09:09] local.INFO: IMEI packet received {"connection_id":149834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":149834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:09:14] local.INFO: TCP Data received {"connection_id":149834,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:09:14] local.INFO: Processing buffer {"connection_id":149834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:09:14] local.INFO: IMEI packet received {"connection_id":149834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":149834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:09:15] local.INFO: TCP Data received {"connection_id":149834,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd224ffe0012d1859000721fff8005200b22a..."} 
[2026-08-05 19:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd224ffe0012d1859000721fff8005200b22a..."} 
[2026-08-05 19:09:15] local.INFO: Processing buffer {"connection_id":149834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd224ffe0012d1859000721fff8005200b22a..."} 
[2026-08-05 19:09:15] local.INFO: Packet analysis {"connection_id":149834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd224"} 
[2026-08-05 19:09:15] local.INFO: Extracted packet for processing {"connection_id":149834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd224"} 
[2026-08-05 19:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199884032001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785937068000,"timestamp_ms":1785937068000,"timestamp_seconds":1785937068,"priority":1,"record_length":96,"hex_timestamp":"0000019fd224ffe0"} 
[2026-08-05 19:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-05 19:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:09: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-08-05 19:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199884032001,"66":12678,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199884032001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:09:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199884032001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":149834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:09:15] local.INFO: GPS data processed {"connection_id":149834,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:09:15] local.INFO: Acknowledgment sent {"connection_id":149834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:09:19] local.INFO: TCP Data received {"connection_id":151265,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:09:19] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:09:19] local.INFO: IMEI packet received {"connection_id":151265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":151265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:09:24] local.INFO: TCP Data received {"connection_id":151265,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:09:24] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:09:24] local.INFO: IMEI packet received {"connection_id":151265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":151265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:09:25] local.INFO: TCP Data received {"connection_id":151265,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:09:25] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:09:25] local.INFO: Packet analysis {"connection_id":151265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:09:25] local.INFO: Extracted packet for processing {"connection_id":151265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:09:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199785984001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785936965000,"timestamp_ms":1785936965000,"timestamp_seconds":1785936965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2236d88"} 
[2026-08-05 19:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 19:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199785984001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199785984001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:09:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199785984001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":151265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:09:25] local.INFO: GPS data processed {"connection_id":151265,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:09:25] local.INFO: Acknowledgment sent {"connection_id":151265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:09:30] local.INFO: TCP Data received {"connection_id":151265,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:09:30] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:09:30] local.INFO: Packet analysis {"connection_id":151265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:09:30] local.INFO: Extracted packet for processing {"connection_id":151265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199785984001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785936965000,"timestamp_ms":1785936965000,"timestamp_seconds":1785936965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2236d88"} 
[2026-08-05 19:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 19:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199785984001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199785984001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:09:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199785984001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":151265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:09:30] local.INFO: GPS data processed {"connection_id":151265,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:09:30] local.INFO: Acknowledgment sent {"connection_id":151265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:09:46] local.INFO: TCP Data received {"connection_id":149834,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22551e8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22551e8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:09:46] local.INFO: Processing buffer {"connection_id":149834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22551e8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:09:46] local.INFO: Packet analysis {"connection_id":149834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd225"} 
[2026-08-05 19:09:46] local.INFO: Extracted packet for processing {"connection_id":149834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd225"} 
[2026-08-05 19:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199889408001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785937089000,"timestamp_ms":1785937089000,"timestamp_seconds":1785937089,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22551e8"} 
[2026-08-05 19:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 19:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:09: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-08-05 19:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199889408001,"66":12667,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199889408001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:09:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199889408001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":149834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:09:46] local.INFO: GPS data processed {"connection_id":149834,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:09:46] local.INFO: Acknowledgment sent {"connection_id":149834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:10:09] local.INFO: TCP Data received {"connection_id":151266,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:10:09] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:10:09] local.INFO: IMEI packet received {"connection_id":151266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":151266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:10:11] local.INFO: TCP Data received {"connection_id":151266,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:10:11] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:10:11] local.INFO: IMEI packet received {"connection_id":151266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":151266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:10:14] local.INFO: TCP Data received {"connection_id":151266,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:10:14] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:10:14] local.INFO: IMEI packet received {"connection_id":151266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":151266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:10:14] local.INFO: TCP Data received {"connection_id":148824,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:10:14] local.INFO: Processing buffer {"connection_id":148824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:10:14] local.INFO: IMEI packet received {"connection_id":148824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":148824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:10:15] local.INFO: TCP Data received {"connection_id":151266,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd225a3f0012d1859000721fff8005200b22b..."} 
[2026-08-05 19:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd225a3f0012d1859000721fff8005200b22b..."} 
[2026-08-05 19:10:15] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd225a3f0012d1859000721fff8005200b22b..."} 
[2026-08-05 19:10:15] local.INFO: Packet analysis {"connection_id":151266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd225"} 
[2026-08-05 19:10:15] local.INFO: Extracted packet for processing {"connection_id":151266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd225"} 
[2026-08-05 19:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199894784001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785937110000,"timestamp_ms":1785937110000,"timestamp_seconds":1785937110,"priority":1,"record_length":96,"hex_timestamp":"0000019fd225a3f0"} 
[2026-08-05 19:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:10: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-08-05 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 19:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:10: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-08-05 19:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199894784001,"66":12645,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199894784001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:10:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199894784001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":151266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:10:15] local.INFO: GPS data processed {"connection_id":151266,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:10:15] local.INFO: Acknowledgment sent {"connection_id":151266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:10:19] local.INFO: TCP Data received {"connection_id":148824,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:10:19] local.INFO: Processing buffer {"connection_id":148824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:10:19] local.INFO: IMEI packet received {"connection_id":148824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":148824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:10:21] local.INFO: TCP Data received {"connection_id":148824,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:10:21] local.INFO: Processing buffer {"connection_id":148824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:10:21] local.INFO: Packet analysis {"connection_id":148824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:10:21] local.INFO: Extracted packet for processing {"connection_id":148824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:10:21] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199785984001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785936965000,"timestamp_ms":1785936965000,"timestamp_seconds":1785936965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2236d88"} 
[2026-08-05 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-08-05 19:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 19:10: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-08-05 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-08-05 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-08-05 19:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199785984001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199785984001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:10:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199785984001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":148824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:10:21] local.INFO: GPS data processed {"connection_id":148824,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:10:21] local.INFO: Acknowledgment sent {"connection_id":148824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:10:46] local.INFO: TCP Data received {"connection_id":151266,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd225f5f8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd225f5f8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:10:46] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd225f5f8012d1859000721fff8005200b22b..."} 
[2026-08-05 19:10:46] local.INFO: Packet analysis {"connection_id":151266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd225"} 
[2026-08-05 19:10:46] local.INFO: Extracted packet for processing {"connection_id":151266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd225"} 
[2026-08-05 19:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199900160001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785937131000,"timestamp_ms":1785937131000,"timestamp_seconds":1785937131,"priority":1,"record_length":96,"hex_timestamp":"0000019fd225f5f8"} 
[2026-08-05 19:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:10: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-08-05 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-05 19:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:10: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-08-05 19:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199900160001,"66":12667,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199900160001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:10:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199900160001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":151266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:10:46] local.INFO: GPS data processed {"connection_id":151266,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:10:46] local.INFO: Acknowledgment sent {"connection_id":151266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:10:52] local.INFO: TCP Data received {"connection_id":148824,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:10:52] local.INFO: Processing buffer {"connection_id":148824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:10:52] local.INFO: Packet analysis {"connection_id":148824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:10:52] local.INFO: Extracted packet for processing {"connection_id":148824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:10:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199785984001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785936965000,"timestamp_ms":1785936965000,"timestamp_seconds":1785936965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2236d88"} 
[2026-08-05 19:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 19:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199785984001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199785984001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:10:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199785984001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":148824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:10:52] local.INFO: GPS data processed {"connection_id":148824,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:10:52] local.INFO: Acknowledgment sent {"connection_id":148824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:11:09] local.INFO: TCP Data received {"connection_id":149835,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:11:09] local.INFO: Processing buffer {"connection_id":149835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:11:09] local.INFO: IMEI packet received {"connection_id":149835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":149835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:11:14] local.INFO: TCP Data received {"connection_id":148612,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:11:14] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:11:14] local.INFO: IMEI packet received {"connection_id":148612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":148612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:11:15] local.INFO: TCP Data received {"connection_id":149835,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:11:15] local.INFO: Processing buffer {"connection_id":149835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:11:15] local.INFO: IMEI packet received {"connection_id":149835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":149835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:11:15] local.INFO: TCP Data received {"connection_id":149835,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2264800012d1859000721fff8005200b22a..."} 
[2026-08-05 19:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2264800012d1859000721fff8005200b22a..."} 
[2026-08-05 19:11:15] local.INFO: Processing buffer {"connection_id":149835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2264800012d1859000721fff8005200b22a..."} 
[2026-08-05 19:11:15] local.INFO: Packet analysis {"connection_id":149835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd226"} 
[2026-08-05 19:11:15] local.INFO: Extracted packet for processing {"connection_id":149835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd226"} 
[2026-08-05 19:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199905536001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785937152000,"timestamp_ms":1785937152000,"timestamp_seconds":1785937152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2264800"} 
[2026-08-05 19:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:11: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-08-05 19:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 19:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:11: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-08-05 19:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199905536001,"66":12645,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199905536001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:11:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199905536001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":149835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:11:15] local.INFO: GPS data processed {"connection_id":149835,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:11:15] local.INFO: Acknowledgment sent {"connection_id":149835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:11:19] local.INFO: TCP Data received {"connection_id":148612,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:11:19] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:11:19] local.INFO: IMEI packet received {"connection_id":148612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":148612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:11:20] local.INFO: TCP Data received {"connection_id":148612,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:11:20] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2236d88012d77a54005f27938000b000027..."} 
[2026-08-05 19:11:20] local.INFO: Packet analysis {"connection_id":148612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:11:20] local.INFO: Extracted packet for processing {"connection_id":148612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd223"} 
[2026-08-05 19:11:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":11,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199785984001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785936965000,"timestamp_ms":1785936965000,"timestamp_seconds":1785936965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2236d88"} 
[2026-08-05 19:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 19:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199785984001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199785984001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:11:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199785984001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":148612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:11:20] local.INFO: GPS data processed {"connection_id":148612,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:11:20] local.INFO: Acknowledgment sent {"connection_id":148612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:11:47] local.INFO: TCP Data received {"connection_id":149835,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2269df0012d1859000721fff8005200b22a..."} 
[2026-08-05 19:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2269df0012d1859000721fff8005200b22a..."} 
[2026-08-05 19:11:47] local.INFO: Processing buffer {"connection_id":149835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2269df0012d1859000721fff8005200b22a..."} 
[2026-08-05 19:11:47] local.INFO: Packet analysis {"connection_id":149835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd226"} 
[2026-08-05 19:11:47] local.INFO: Extracted packet for processing {"connection_id":149835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd226"} 
[2026-08-05 19:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199910912001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785937174000,"timestamp_ms":1785937174000,"timestamp_seconds":1785937174,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2269df0"} 
[2026-08-05 19:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-05 19:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19: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-08-05 19:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199910912001,"66":12613,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199910912001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:11:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199910912001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":149835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:11:47] local.INFO: GPS data processed {"connection_id":149835,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:11:47] local.INFO: Acknowledgment sent {"connection_id":149835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:11:52] local.INFO: TCP Data received {"connection_id":148612,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:11:52] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:11:52] local.INFO: Packet analysis {"connection_id":148612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:11:52] local.INFO: Extracted packet for processing {"connection_id":148612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:11:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199863040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785937266000,"timestamp_ms":1785937266000,"timestamp_seconds":1785937266,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2280550"} 
[2026-08-05 19:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199863040001,"66":25593,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199863040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:11:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199863040001,"power":25593,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":148612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:11:52] local.INFO: GPS data processed {"connection_id":148612,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:11:52] local.INFO: Acknowledgment sent {"connection_id":148612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:12:09] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:12:09] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:12:09] local.INFO: IMEI packet received {"connection_id":148613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":148613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:12:14] local.INFO: TCP Data received {"connection_id":151267,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:12:14] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:12:14] local.INFO: IMEI packet received {"connection_id":151267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":151267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:12:14] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:12:14] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:12:14] local.INFO: IMEI packet received {"connection_id":148613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":148613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:12:15] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd226ec10012d1859000721fff8005200b22a..."} 
[2026-08-05 19:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd226ec10012d1859000721fff8005200b22a..."} 
[2026-08-05 19:12:15] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd226ec10012d1859000721fff8005200b22a..."} 
[2026-08-05 19:12:15] local.INFO: Packet analysis {"connection_id":148613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd226"} 
[2026-08-05 19:12:15] local.INFO: Extracted packet for processing {"connection_id":148613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd226"} 
[2026-08-05 19:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199916544001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785937194000,"timestamp_ms":1785937194000,"timestamp_seconds":1785937194,"priority":1,"record_length":96,"hex_timestamp":"0000019fd226ec10"} 
[2026-08-05 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-08-05 19:12: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-08-05 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 19:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 19:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:12: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-08-05 19:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199916544001,"66":12613,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199916544001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:12:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199916544001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":148613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:12:15] local.INFO: GPS data processed {"connection_id":148613,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:12:15] local.INFO: Acknowledgment sent {"connection_id":148613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:12:19] local.INFO: TCP Data received {"connection_id":151267,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:12:19] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:12:19] local.INFO: IMEI packet received {"connection_id":151267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":151267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:12:20] local.INFO: TCP Data received {"connection_id":151267,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:12:20] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:12:20] local.INFO: Packet analysis {"connection_id":151267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:12:20] local.INFO: Extracted packet for processing {"connection_id":151267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:12:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199863040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937266000,"timestamp_ms":1785937266000,"timestamp_seconds":1785937266,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2280550"} 
[2026-08-05 19:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:12: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-08-05 19:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199863040001,"66":25593,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199863040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:12:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199863040001,"power":25593,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":151267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:12:20] local.INFO: GPS data processed {"connection_id":151267,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:12:20] local.INFO: Acknowledgment sent {"connection_id":151267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:12:46] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2273e18012d1859000721fff8005200b22c..."} 
[2026-08-05 19:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2273e18012d1859000721fff8005200b22c..."} 
[2026-08-05 19:12:46] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2273e18012d1859000721fff8005200b22c..."} 
[2026-08-05 19:12:46] local.INFO: Packet analysis {"connection_id":148613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd227"} 
[2026-08-05 19:12:46] local.INFO: Extracted packet for processing {"connection_id":148613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd227"} 
[2026-08-05 19:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199921664001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785937215000,"timestamp_ms":1785937215000,"timestamp_seconds":1785937215,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2273e18"} 
[2026-08-05 19:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 19:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:12: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-08-05 19:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199921664001,"66":12591,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199921664001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:12:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199921664001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":148613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:12:46] local.INFO: GPS data processed {"connection_id":148613,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:12:46] local.INFO: Acknowledgment sent {"connection_id":148613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:12:51] local.INFO: TCP Data received {"connection_id":151267,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:12:51] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:12:51] local.INFO: Packet analysis {"connection_id":151267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:12:51] local.INFO: Extracted packet for processing {"connection_id":151267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:12:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199863040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785937266000,"timestamp_ms":1785937266000,"timestamp_seconds":1785937266,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2280550"} 
[2026-08-05 19:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:12: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-08-05 19:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199863040001,"66":25593,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199863040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:12:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199863040001,"power":25593,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":151267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:12:51] local.INFO: GPS data processed {"connection_id":151267,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:12:51] local.INFO: Acknowledgment sent {"connection_id":151267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:13:11] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:13:11] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:13:11] local.INFO: IMEI packet received {"connection_id":148614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":148614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:13:14] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:13:14] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:13:14] local.INFO: IMEI packet received {"connection_id":148614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":148614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:13:19] local.INFO: TCP Data received {"connection_id":148825,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:13:19] local.INFO: Processing buffer {"connection_id":148825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:13:19] local.INFO: IMEI packet received {"connection_id":148825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":148825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:13:19] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:13:19] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:13:19] local.INFO: IMEI packet received {"connection_id":148614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":148614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:13:20] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2279020012d1859000721fff8005200b22c..."} 
[2026-08-05 19:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2279020012d1859000721fff8005200b22c..."} 
[2026-08-05 19:13:20] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2279020012d1859000721fff8005200b22c..."} 
[2026-08-05 19:13:20] local.INFO: Packet analysis {"connection_id":148614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd227"} 
[2026-08-05 19:13:20] local.INFO: Extracted packet for processing {"connection_id":148614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd227"} 
[2026-08-05 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199927040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937236000,"timestamp_ms":1785937236000,"timestamp_seconds":1785937236,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2279020"} 
[2026-08-05 19:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 19:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199927040001,"66":12613,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199927040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:13:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:13:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199927040001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":148614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:13:20] local.INFO: GPS data processed {"connection_id":148614,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:13:20] local.INFO: Acknowledgment sent {"connection_id":148614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:13:24] local.INFO: TCP Data received {"connection_id":148825,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:13:24] local.INFO: Processing buffer {"connection_id":148825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:13:24] local.INFO: IMEI packet received {"connection_id":148825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":148825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:13:25] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd227e228012d1859000721fff8005200b22c..."} 
[2026-08-05 19:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd227e228012d1859000721fff8005200b22c..."} 
[2026-08-05 19:13:25] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd227e228012d1859000721fff8005200b22c..."} 
[2026-08-05 19:13:25] local.INFO: Packet analysis {"connection_id":148614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd227"} 
[2026-08-05 19:13:25] local.INFO: Extracted packet for processing {"connection_id":148614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd227"} 
[2026-08-05 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199932416001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785937257000,"timestamp_ms":1785937257000,"timestamp_seconds":1785937257,"priority":1,"record_length":96,"hex_timestamp":"0000019fd227e228"} 
[2026-08-05 19:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 19:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199932416001,"66":12580,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199932416001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:13:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:13:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199932416001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":148614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:13:25] local.INFO: GPS data processed {"connection_id":148614,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:13:25] local.INFO: Acknowledgment sent {"connection_id":148614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:13:25] local.INFO: TCP Data received {"connection_id":148825,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:13:25] local.INFO: Processing buffer {"connection_id":148825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:13:25] local.INFO: Packet analysis {"connection_id":148825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:13:25] local.INFO: Extracted packet for processing {"connection_id":148825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199863040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785937266000,"timestamp_ms":1785937266000,"timestamp_seconds":1785937266,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2280550"} 
[2026-08-05 19:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199863040001,"66":25593,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199863040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:13:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199863040001,"power":25593,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":148825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:13:25] local.INFO: GPS data processed {"connection_id":148825,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:13:25] local.INFO: Acknowledgment sent {"connection_id":148825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:13:30] local.INFO: TCP Data received {"connection_id":148825,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:13:30] local.INFO: Processing buffer {"connection_id":148825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:13:30] local.INFO: Packet analysis {"connection_id":148825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:13:30] local.INFO: Extracted packet for processing {"connection_id":148825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:13:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199863040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785937266000,"timestamp_ms":1785937266000,"timestamp_seconds":1785937266,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2280550"} 
[2026-08-05 19:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199863040001,"66":25593,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199863040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:13:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199863040001,"power":25593,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":148825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:13:30] local.INFO: GPS data processed {"connection_id":148825,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:13:30] local.INFO: Acknowledgment sent {"connection_id":148825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:14:09] local.INFO: TCP Data received {"connection_id":151268,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:14:09] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:14:09] local.INFO: IMEI packet received {"connection_id":151268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":151268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:14:14] local.INFO: TCP Data received {"connection_id":148615,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:14:14] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:14:14] local.INFO: IMEI packet received {"connection_id":148615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":148615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:14:14] local.INFO: TCP Data received {"connection_id":151268,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:14:14] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:14:14] local.INFO: IMEI packet received {"connection_id":151268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":151268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:14:15] local.INFO: TCP Data received {"connection_id":151268,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2283430012d1859000721fff8005200b229..."} 
[2026-08-05 19:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2283430012d1859000721fff8005200b229..."} 
[2026-08-05 19:14:15] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2283430012d1859000721fff8005200b229..."} 
[2026-08-05 19:14:15] local.INFO: Packet analysis {"connection_id":151268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:14:15] local.INFO: Extracted packet for processing {"connection_id":151268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199937792001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785937278000,"timestamp_ms":1785937278000,"timestamp_seconds":1785937278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2283430"} 
[2026-08-05 19:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:14: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-08-05 19:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-05 19:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:14: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-08-05 19:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199937792001,"66":12558,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199937792001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199937792001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":151268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:14:15] local.INFO: GPS data processed {"connection_id":151268,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:14:15] local.INFO: Acknowledgment sent {"connection_id":151268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:14:19] local.INFO: TCP Data received {"connection_id":148615,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:14:19] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:14:19] local.INFO: IMEI packet received {"connection_id":148615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":148615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:14:20] local.INFO: TCP Data received {"connection_id":148615,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:14:20] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:14:20] local.INFO: Packet analysis {"connection_id":148615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:14:20] local.INFO: Extracted packet for processing {"connection_id":148615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:14:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199863040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937266000,"timestamp_ms":1785937266000,"timestamp_seconds":1785937266,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2280550"} 
[2026-08-05 19:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:14: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-08-05 19:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199863040001,"66":25593,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199863040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:14:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199863040001,"power":25593,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":148615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:14:20] local.INFO: GPS data processed {"connection_id":148615,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:14:20] local.INFO: Acknowledgment sent {"connection_id":148615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:14:46] local.INFO: TCP Data received {"connection_id":151268,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2288638012d1859000721fff8005200b228..."} 
[2026-08-05 19:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2288638012d1859000721fff8005200b228..."} 
[2026-08-05 19:14:46] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2288638012d1859000721fff8005200b228..."} 
[2026-08-05 19:14:46] local.INFO: Packet analysis {"connection_id":151268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:14:46] local.INFO: Extracted packet for processing {"connection_id":151268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199943168001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785937299000,"timestamp_ms":1785937299000,"timestamp_seconds":1785937299,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2288638"} 
[2026-08-05 19:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:14: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-08-05 19:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3525724160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249444987802353656,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4294443090,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,78,159,226,45,255,82,44,10,66,144,62,1,240,47,227,210,33,4,113,205,89,248,42,239,49,2,38,7,106,92,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 19:14:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908918600273494016,"timestamp_seconds":5908918600273494.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 19:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:14: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-08-05 19:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199943168001,"66":12504,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199943168001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:14:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199943168001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":151268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:14:47] local.INFO: GPS data processed {"connection_id":151268,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:14:47] local.INFO: Acknowledgment sent {"connection_id":151268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:14:52] local.INFO: TCP Data received {"connection_id":148615,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:14:52] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:14:52] local.INFO: Packet analysis {"connection_id":148615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:14:52] local.INFO: Extracted packet for processing {"connection_id":148615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:14:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199863040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785937266000,"timestamp_ms":1785937266000,"timestamp_seconds":1785937266,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2280550"} 
[2026-08-05 19:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199863040001,"66":25593,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199863040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:14:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199863040001,"power":25593,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":148615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:14:52] local.INFO: GPS data processed {"connection_id":148615,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:14:52] local.INFO: Acknowledgment sent {"connection_id":148615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:15:07] local.INFO: TCP Data received {"connection_id":148826,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:15:07] local.INFO: Processing buffer {"connection_id":148826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:15:07] local.INFO: IMEI packet received {"connection_id":148826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":148826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:15:09] local.INFO: TCP Data received {"connection_id":148826,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:15:09] local.INFO: Processing buffer {"connection_id":148826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:15:09] local.INFO: IMEI packet received {"connection_id":148826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":148826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:15:14] local.INFO: TCP Data received {"connection_id":148616,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:15:14] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:15:14] local.INFO: IMEI packet received {"connection_id":148616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":148616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:15:14] local.INFO: TCP Data received {"connection_id":148826,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:15:14] local.INFO: Processing buffer {"connection_id":148826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:15:14] local.INFO: IMEI packet received {"connection_id":148826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":148826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:15:15] local.INFO: TCP Data received {"connection_id":148826,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd228d840012d1859000721fff8005200b22c..."} 
[2026-08-05 19:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd228d840012d1859000721fff8005200b22c..."} 
[2026-08-05 19:15:15] local.INFO: Processing buffer {"connection_id":148826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd228d840012d1859000721fff8005200b22c..."} 
[2026-08-05 19:15:15] local.INFO: Packet analysis {"connection_id":148826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:15:15] local.INFO: Extracted packet for processing {"connection_id":148826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199948544001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785937320000,"timestamp_ms":1785937320000,"timestamp_seconds":1785937320,"priority":1,"record_length":96,"hex_timestamp":"0000019fd228d840"} 
[2026-08-05 19:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:15: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-08-05 19:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 19:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:15: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-08-05 19:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199948544001,"66":11830,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199948544001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:15:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199948544001,"power":11830,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":148826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:15:15] local.INFO: GPS data processed {"connection_id":148826,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:15:15] local.INFO: Acknowledgment sent {"connection_id":148826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:15:19] local.INFO: TCP Data received {"connection_id":148616,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:15:19] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:15:19] local.INFO: IMEI packet received {"connection_id":148616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":148616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:15:26] local.INFO: TCP Data received {"connection_id":148616,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:15:26] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:15:26] local.INFO: Packet analysis {"connection_id":148616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:15:26] local.INFO: Extracted packet for processing {"connection_id":148616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:15:26] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199863040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785937266000,"timestamp_ms":1785937266000,"timestamp_seconds":1785937266,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2280550"} 
[2026-08-05 19:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199863040001,"66":25593,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199863040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:15:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199863040001,"power":25593,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":148616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:15:26] local.INFO: GPS data processed {"connection_id":148616,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:15:26] local.INFO: Acknowledgment sent {"connection_id":148616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:15:46] local.INFO: TCP Data received {"connection_id":148826,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2292a48012d1859000721fff8005200b229..."} 
[2026-08-05 19:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2292a48012d1859000721fff8005200b229..."} 
[2026-08-05 19:15:46] local.INFO: Processing buffer {"connection_id":148826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2292a48012d1859000721fff8005200b229..."} 
[2026-08-05 19:15:46] local.INFO: Packet analysis {"connection_id":148826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd229"} 
[2026-08-05 19:15:46] local.INFO: Extracted packet for processing {"connection_id":148826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd229"} 
[2026-08-05 19:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668728,"longitude_deg":75.6570368,"latitude_deg":11.9668728,"altitude":82,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d185900","hex_latitude":"0721fff8","is_valid_coordinates":true} 
[2026-08-05 19:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199953920001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10782794569482240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472713216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785937341000,"timestamp_ms":1785937341000,"timestamp_seconds":1785937341,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2292a48"} 
[2026-08-05 19:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:15: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-08-05 19: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-05 19:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:15: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-08-05 19:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199953920001,"66":11711,"105":206,"83":41984,"24":0,"16":10782794569482240,"45":1754433560472713216},"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-08-05 19:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199953920001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:15:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10782794569482240,"km_value":10782794569482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472713216,"description":"Unknown IO ID 45"} 
[2026-08-05 19:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199953920001,"power":11711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754433560472713216}} 
[2026-08-05 19:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":148826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:15:46] local.INFO: GPS data processed {"connection_id":148826,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:15:46] local.INFO: Acknowledgment sent {"connection_id":148826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:15:57] local.INFO: TCP Data received {"connection_id":148616,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:15:57] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:15:57] local.INFO: Packet analysis {"connection_id":148616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:15:57] local.INFO: Extracted packet for processing {"connection_id":148616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:15:57] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199863040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785937266000,"timestamp_ms":1785937266000,"timestamp_seconds":1785937266,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2280550"} 
[2026-08-05 19:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199863040001,"66":25593,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199863040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:15:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199863040001,"power":25593,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":148616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:15:57] local.INFO: GPS data processed {"connection_id":148616,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:15:57] local.INFO: Acknowledgment sent {"connection_id":148616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:16:09] local.INFO: TCP Data received {"connection_id":151269,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:16:09] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:16:09] local.INFO: IMEI packet received {"connection_id":151269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":151269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:16:11] local.INFO: TCP Data received {"connection_id":151269,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:16:11] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:16:11] local.INFO: IMEI packet received {"connection_id":151269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":151269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:16:14] local.INFO: TCP Data received {"connection_id":148827,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:16:14] local.INFO: Processing buffer {"connection_id":148827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:16:14] local.INFO: IMEI packet received {"connection_id":148827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":148827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:16:14] local.INFO: TCP Data received {"connection_id":151269,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:16:14] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:16:14] local.INFO: IMEI packet received {"connection_id":151269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":151269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:16:15] local.INFO: TCP Data received {"connection_id":151269,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22b7050012d1821c00721b3d8004d00d429..."} 
[2026-08-05 19:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22b7050012d1821c00721b3d8004d00d429..."} 
[2026-08-05 19:16:15] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22b7050012d1821c00721b3d8004d00d429..."} 
[2026-08-05 19:16:15] local.INFO: Packet analysis {"connection_id":151269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22b"} 
[2026-08-05 19:16:15] local.INFO: Extracted packet for processing {"connection_id":151269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22b"} 
[2026-08-05 19:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649240,"longitude_deg":75.6556224,"latitude_deg":11.964924,"altitude":77,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199992064001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10783962800586752,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004460544,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785937490000,"timestamp_ms":1785937490000,"timestamp_seconds":1785937490,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22b7050"} 
[2026-08-05 19:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:16: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-08-05 19: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-05 19:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:16: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-08-05 19:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199992064001,"66":12232,"105":206,"83":41984,"24":0,"16":10783962800586752,"45":1738882068004460544},"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-08-05 19:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199992064001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:16:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10783962800586752,"km_value":10783962800586.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004460544,"description":"Unknown IO ID 45"} 
[2026-08-05 19:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199992064001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004460544}} 
[2026-08-05 19:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":151269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:16:15] local.INFO: GPS data processed {"connection_id":151269,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:16:15] local.INFO: Acknowledgment sent {"connection_id":151269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:16:19] local.INFO: TCP Data received {"connection_id":148827,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:16:19] local.INFO: Processing buffer {"connection_id":148827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:16:19] local.INFO: IMEI packet received {"connection_id":148827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":148827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:16:20] local.INFO: TCP Data received {"connection_id":148827,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:16:20] local.INFO: Processing buffer {"connection_id":148827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2280550012d77a54005f279380008000026..."} 
[2026-08-05 19:16:20] local.INFO: Packet analysis {"connection_id":148827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:16:20] local.INFO: Extracted packet for processing {"connection_id":148827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd228"} 
[2026-08-05 19:16:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199863040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937266000,"timestamp_ms":1785937266000,"timestamp_seconds":1785937266,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2280550"} 
[2026-08-05 19:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:16: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-08-05 19: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-08-05 19:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199863040001,"66":25593,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199863040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:16:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199863040001,"power":25593,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":148827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:16:20] local.INFO: GPS data processed {"connection_id":148827,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:16:20] local.INFO: Acknowledgment sent {"connection_id":148827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:16:50] local.INFO: TCP Data received {"connection_id":151269,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22bc258012d1821c00721b3d8004d00d423..."} 
[2026-08-05 19:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22bc258012d1821c00721b3d8004d00d423..."} 
[2026-08-05 19:16:50] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22bc258012d1821c00721b3d8004d00d423..."} 
[2026-08-05 19:16:50] local.INFO: Packet analysis {"connection_id":151269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22b"} 
[2026-08-05 19:16:50] local.INFO: Extracted packet for processing {"connection_id":151269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22b"} 
[2026-08-05 19:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649240,"longitude_deg":75.6556224,"latitude_deg":11.964924,"altitude":77,"angle":212,"satellites":35,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199997440001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10783962800586752,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004460544,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785937511000,"timestamp_ms":1785937511000,"timestamp_seconds":1785937511,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22bc258"} 
[2026-08-05 19:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 19:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199997440001,"66":12178,"105":206,"83":41984,"24":0,"16":10783962800586752,"45":1738882068004460544},"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-08-05 19:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199997440001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:16:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10783962800586752,"km_value":10783962800586.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004460544,"description":"Unknown IO ID 45"} 
[2026-08-05 19:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199997440001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004460544}} 
[2026-08-05 19:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":151269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:16:50] local.INFO: GPS data processed {"connection_id":151269,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:16:50] local.INFO: Acknowledgment sent {"connection_id":151269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:16:52] local.INFO: TCP Data received {"connection_id":148827,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:16:52] local.INFO: Processing buffer {"connection_id":148827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:16:52] local.INFO: Packet analysis {"connection_id":148827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:16:52] local.INFO: Extracted packet for processing {"connection_id":148827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:16:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199940096001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785937567000,"timestamp_ms":1785937567000,"timestamp_seconds":1785937567,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c9d18"} 
[2026-08-05 19:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19: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-08-05 19:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199940096001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199940096001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:16:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199940096001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":148827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:16:52] local.INFO: GPS data processed {"connection_id":148827,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:16:52] local.INFO: Acknowledgment sent {"connection_id":148827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:17:09] local.INFO: TCP Data received {"connection_id":149836,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:17:09] local.INFO: Processing buffer {"connection_id":149836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:17:09] local.INFO: IMEI packet received {"connection_id":149836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":149836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:17:14] local.INFO: TCP Data received {"connection_id":149836,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:17:14] local.INFO: Processing buffer {"connection_id":149836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:17:14] local.INFO: IMEI packet received {"connection_id":149836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":149836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:17:14] local.INFO: TCP Data received {"connection_id":149836,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c1460012d1821c00721b3d8004d00d429..."} 
[2026-08-05 19:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c1460012d1821c00721b3d8004d00d429..."} 
[2026-08-05 19:17:14] local.INFO: Processing buffer {"connection_id":149836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c1460012d1821c00721b3d8004d00d429..."} 
[2026-08-05 19:17:14] local.INFO: Packet analysis {"connection_id":149836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:17:14] local.INFO: Extracted packet for processing {"connection_id":149836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649240,"longitude_deg":75.6556224,"latitude_deg":11.964924,"altitude":77,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-05 19:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200002816001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10783962800586752,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004460544,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785937532000,"timestamp_ms":1785937532000,"timestamp_seconds":1785937532,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c1460"} 
[2026-08-05 19:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-05 19:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:17: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-08-05 19:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200002816001,"66":12232,"105":206,"83":41984,"24":0,"16":10783962800586752,"45":1738882068004460544},"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-08-05 19:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200002816001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:17:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10783962800586752,"km_value":10783962800586.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004460544,"description":"Unknown IO ID 45"} 
[2026-08-05 19:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200002816001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004460544}} 
[2026-08-05 19:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":149836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:17:14] local.INFO: GPS data processed {"connection_id":149836,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:17:14] local.INFO: Acknowledgment sent {"connection_id":149836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:17:19] local.INFO: TCP Data received {"connection_id":148617,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:17:19] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:17:19] local.INFO: IMEI packet received {"connection_id":148617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":148617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:17:24] local.INFO: TCP Data received {"connection_id":148617,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:17:24] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:17:24] local.INFO: IMEI packet received {"connection_id":148617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":148617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:17:25] local.INFO: TCP Data received {"connection_id":148617,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:17:25] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:17:25] local.INFO: Packet analysis {"connection_id":148617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:17:25] local.INFO: Extracted packet for processing {"connection_id":148617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:17:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199940096001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785937567000,"timestamp_ms":1785937567000,"timestamp_seconds":1785937567,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c9d18"} 
[2026-08-05 19:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199940096001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199940096001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:17:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199940096001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":148617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:17:25] local.INFO: GPS data processed {"connection_id":148617,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:17:25] local.INFO: Acknowledgment sent {"connection_id":148617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:17:30] local.INFO: TCP Data received {"connection_id":148617,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:17:30] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:17:30] local.INFO: Packet analysis {"connection_id":148617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:17:30] local.INFO: Extracted packet for processing {"connection_id":148617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199940096001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785937567000,"timestamp_ms":1785937567000,"timestamp_seconds":1785937567,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c9d18"} 
[2026-08-05 19:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199940096001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199940096001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:17:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199940096001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":148617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:17:30] local.INFO: GPS data processed {"connection_id":148617,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:17:30] local.INFO: Acknowledgment sent {"connection_id":148617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:17:46] local.INFO: TCP Data received {"connection_id":149836,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c6668012d1821c00721b3d8004d00d429..."} 
[2026-08-05 19:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c6668012d1821c00721b3d8004d00d429..."} 
[2026-08-05 19:17:46] local.INFO: Processing buffer {"connection_id":149836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c6668012d1821c00721b3d8004d00d429..."} 
[2026-08-05 19:17:46] local.INFO: Packet analysis {"connection_id":149836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:17:46] local.INFO: Extracted packet for processing {"connection_id":149836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649240,"longitude_deg":75.6556224,"latitude_deg":11.964924,"altitude":77,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200008192001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10783962800586752,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004460544,"note":"Value kept but may cause issues"} 
[2026-08-05 19:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785937553000,"timestamp_ms":1785937553000,"timestamp_seconds":1785937553,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c6668"} 
[2026-08-05 19:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19: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-08-05 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 19:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:17: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-08-05 19:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200008192001,"66":12232,"105":206,"83":41984,"24":0,"16":10783962800586752,"45":1738882068004460544},"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-08-05 19:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200008192001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:17:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10783962800586752,"km_value":10783962800586.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004460544,"description":"Unknown IO ID 45"} 
[2026-08-05 19:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200008192001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004460544}} 
[2026-08-05 19:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":149836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:17:46] local.INFO: GPS data processed {"connection_id":149836,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:17:46] local.INFO: Acknowledgment sent {"connection_id":149836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:18:09] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:18:09] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:18:09] local.INFO: IMEI packet received {"connection_id":148618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":148618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:18:14] local.INFO: TCP Data received {"connection_id":151270,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:18:14] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:18:14] local.INFO: IMEI packet received {"connection_id":151270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":151270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:18:15] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:18:15] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:18:15] local.INFO: IMEI packet received {"connection_id":148618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":148618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:18:18] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22cb870012d1821c00721b3d8004d00d42a..."} 
[2026-08-05 19:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22cb870012d1821c00721b3d8004d00d42a..."} 
[2026-08-05 19:18:18] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22cb870012d1821c00721b3d8004d00d42a..."} 
[2026-08-05 19:18:18] local.INFO: Packet analysis {"connection_id":148618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:18:18] local.INFO: Extracted packet for processing {"connection_id":148618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649240,"longitude_deg":75.6556224,"latitude_deg":11.964924,"altitude":77,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-05 19:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200013568001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10783962800586752,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004460544,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785937574000,"timestamp_ms":1785937574000,"timestamp_seconds":1785937574,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22cb870"} 
[2026-08-05 19:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-05 19:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200013568001,"66":12178,"105":206,"83":41984,"24":0,"16":10783962800586752,"45":1738882068004460544},"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-08-05 19:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200013568001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:18:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10783962800586752,"km_value":10783962800586.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004460544,"description":"Unknown IO ID 45"} 
[2026-08-05 19:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200013568001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004460544}} 
[2026-08-05 19:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":148618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:18:18] local.INFO: GPS data processed {"connection_id":148618,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:18:18] local.INFO: Acknowledgment sent {"connection_id":148618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:18:19] local.INFO: TCP Data received {"connection_id":151270,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:18:19] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:18:19] local.INFO: IMEI packet received {"connection_id":151270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":151270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:18:20] local.INFO: TCP Data received {"connection_id":151270,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:18:20] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:18:20] local.INFO: Packet analysis {"connection_id":151270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:18:20] local.INFO: Extracted packet for processing {"connection_id":151270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:18:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199940096001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937567000,"timestamp_ms":1785937567000,"timestamp_seconds":1785937567,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c9d18"} 
[2026-08-05 19:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:18: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-08-05 19:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199940096001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199940096001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:18:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199940096001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":151270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:18:20] local.INFO: GPS data processed {"connection_id":151270,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:18:20] local.INFO: Acknowledgment sent {"connection_id":151270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:18:49] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22d0a78012d1821c00721b3d8004d00d42a..."} 
[2026-08-05 19:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22d0a78012d1821c00721b3d8004d00d42a..."} 
[2026-08-05 19:18:49] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22d0a78012d1821c00721b3d8004d00d42a..."} 
[2026-08-05 19:18:49] local.INFO: Packet analysis {"connection_id":148618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22d"} 
[2026-08-05 19:18:49] local.INFO: Extracted packet for processing {"connection_id":148618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22d"} 
[2026-08-05 19:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649240,"longitude_deg":75.6556224,"latitude_deg":11.964924,"altitude":77,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-05 19:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200018944001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10783962800586752,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004460544,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785937595000,"timestamp_ms":1785937595000,"timestamp_seconds":1785937595,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22d0a78"} 
[2026-08-05 19:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:18: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-08-05 19: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-05 19:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200018944001,"66":12113,"105":206,"83":41984,"24":0,"16":10783962800586752,"45":1738882068004460544},"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-08-05 19:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200018944001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:18:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10783962800586752,"km_value":10783962800586.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004460544,"description":"Unknown IO ID 45"} 
[2026-08-05 19:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200018944001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004460544}} 
[2026-08-05 19:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":148618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:18:49] local.INFO: GPS data processed {"connection_id":148618,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:18:49] local.INFO: Acknowledgment sent {"connection_id":148618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:18:52] local.INFO: TCP Data received {"connection_id":151270,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:18:52] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:18:52] local.INFO: Packet analysis {"connection_id":151270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:18:52] local.INFO: Extracted packet for processing {"connection_id":151270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:18:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199940096001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785937567000,"timestamp_ms":1785937567000,"timestamp_seconds":1785937567,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c9d18"} 
[2026-08-05 19:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199940096001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199940096001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:18:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199940096001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":151270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:18:52] local.INFO: GPS data processed {"connection_id":151270,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:18:52] local.INFO: Acknowledgment sent {"connection_id":151270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:19:09] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:19:09] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:19:09] local.INFO: IMEI packet received {"connection_id":148619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":148619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:19:14] local.INFO: TCP Data received {"connection_id":148828,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:19:14] local.INFO: Processing buffer {"connection_id":148828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:19:14] local.INFO: IMEI packet received {"connection_id":148828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":148828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:19:15] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:19:15] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:19:15] local.INFO: IMEI packet received {"connection_id":148619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":148619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:19:15] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22e75c0012d1821400721ba70004c00002b..."} 
[2026-08-05 19:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22e75c0012d1821400721ba70004c00002b..."} 
[2026-08-05 19:19:15] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22e75c0012d1821400721ba70004c00002b..."} 
[2026-08-05 19:19:15] local.INFO: Packet analysis {"connection_id":148619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22e"} 
[2026-08-05 19:19:15] local.INFO: Extracted packet for processing {"connection_id":148619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22e"} 
[2026-08-05 19:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119650928,"longitude_deg":75.6556096,"latitude_deg":11.9650928,"altitude":76,"angle":0,"satellites":43,"speed":9,"hex_longitude":"2d182140","hex_latitude":"0721ba70","is_valid_coordinates":true} 
[2026-08-05 19:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200047616001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10784087354638336,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260612608,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785937688000,"timestamp_ms":1785937688000,"timestamp_seconds":1785937688,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22e75c0"} 
[2026-08-05 19:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751523407,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2431951640112660557,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3526249160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13462121,"corrected_to":0} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3012034636,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635489448651369,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-4611460161515499949,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:15] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,80,159,102,45,64,183,76,43,10,66,98,128,182,90,192,1,240,203,227,210,33,4,113,205,8,78,34,216,42,239,52,2,38,7,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-05 19:19:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476752260736679936,"timestamp_seconds":5476752260736680.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 19:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:19: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-08-05 19:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200047616001,"66":13602,"105":206,"83":41984,"24":9,"16":10784087354638336,"45":1738811699260612608},"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-08-05 19:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200047616001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:19:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10784087354638336,"km_value":10784087354638.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260612608,"description":"Unknown IO ID 45"} 
[2026-08-05 19:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200047616001,"power":13602,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738811699260612608}} 
[2026-08-05 19:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":148619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:19:16] local.INFO: GPS data processed {"connection_id":148619,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:19:16] local.INFO: Acknowledgment sent {"connection_id":148619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:19:19] local.INFO: TCP Data received {"connection_id":148828,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:19:19] local.INFO: Processing buffer {"connection_id":148828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:19:19] local.INFO: IMEI packet received {"connection_id":148828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":148828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:19:20] local.INFO: TCP Data received {"connection_id":148828,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:19:20] local.INFO: Processing buffer {"connection_id":148828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:19:20] local.INFO: Packet analysis {"connection_id":148828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:19:20] local.INFO: Extracted packet for processing {"connection_id":148828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:19:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199940096001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937567000,"timestamp_ms":1785937567000,"timestamp_seconds":1785937567,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c9d18"} 
[2026-08-05 19:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:19: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-08-05 19: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-08-05 19:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199940096001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199940096001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:19:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199940096001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":148828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:19:20] local.INFO: GPS data processed {"connection_id":148828,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:19:20] local.INFO: Acknowledgment sent {"connection_id":148828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:19:46] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22f3cf8012d181ac00721e3a8004c000329..."} 
[2026-08-05 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22f3cf8012d181ac00721e3a8004c000329..."} 
[2026-08-05 19:19:46] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22f3cf8012d181ac00721e3a8004c000329..."} 
[2026-08-05 19:19:46] local.INFO: Packet analysis {"connection_id":148619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22f"} 
[2026-08-05 19:19:46] local.INFO: Extracted packet for processing {"connection_id":148619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22f"} 
[2026-08-05 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119661480,"longitude_deg":75.6554432,"latitude_deg":11.966148,"altitude":76,"angle":3,"satellites":41,"speed":11,"hex_longitude":"2d181ac0","hex_latitude":"0721e3a8","is_valid_coordinates":true} 
[2026-08-05 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200060672001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10784688650059776,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743170482176,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785937739000,"timestamp_ms":1785937739000,"timestamp_seconds":1785937739,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22f3cf8"} 
[2026-08-05 19:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:19: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-08-05 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 19:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:19: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-08-05 19:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200060672001,"66":13135,"105":206,"83":41984,"24":11,"16":10784688650059776,"45":1736911743170482176},"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-08-05 19:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200060672001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:19:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10784688650059776,"km_value":10784688650059.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743170482176,"description":"Unknown IO ID 45"} 
[2026-08-05 19:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200060672001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1736911743170482176}} 
[2026-08-05 19:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":148619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:19:47] local.INFO: GPS data processed {"connection_id":148619,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:19:47] local.INFO: Acknowledgment sent {"connection_id":148619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:19:51] local.INFO: TCP Data received {"connection_id":148828,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:19:51] local.INFO: Processing buffer {"connection_id":148828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:19:51] local.INFO: Packet analysis {"connection_id":148828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:19:51] local.INFO: Extracted packet for processing {"connection_id":148828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:19:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199940096001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785937567000,"timestamp_ms":1785937567000,"timestamp_seconds":1785937567,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c9d18"} 
[2026-08-05 19:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:19: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-08-05 19:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199940096001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199940096001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:19:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199940096001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":148828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:19:51] local.INFO: GPS data processed {"connection_id":148828,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:19:51] local.INFO: Acknowledgment sent {"connection_id":148828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:20:14] local.INFO: TCP Data received {"connection_id":148830,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:20:14] local.INFO: Processing buffer {"connection_id":148830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:20:14] local.INFO: IMEI packet received {"connection_id":148830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":148830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:20:14] local.INFO: TCP Data received {"connection_id":148829,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:20:14] local.INFO: Processing buffer {"connection_id":148829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:20:14] local.INFO: IMEI packet received {"connection_id":148829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":148829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:20:19] local.INFO: TCP Data received {"connection_id":148829,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:20:19] local.INFO: Processing buffer {"connection_id":148829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:20:19] local.INFO: IMEI packet received {"connection_id":148829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":148829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:20:19] local.INFO: TCP Data received {"connection_id":148830,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:20:19] local.INFO: Processing buffer {"connection_id":148830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:20:19] local.INFO: IMEI packet received {"connection_id":148830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":148830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:20:20] local.INFO: TCP Data received {"connection_id":148829,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22f5468012d181b400721eb28004d001229..."} 
[2026-08-05 19:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22f5468012d181b400721eb28004d001229..."} 
[2026-08-05 19:20:20] local.INFO: Processing buffer {"connection_id":148829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22f5468012d181b400721eb28004d001229..."} 
[2026-08-05 19:20:20] local.INFO: Packet analysis {"connection_id":148829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22f"} 
[2026-08-05 19:20:20] local.INFO: Extracted packet for processing {"connection_id":148829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22f"} 
[2026-08-05 19:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119663400,"longitude_deg":75.655456,"latitude_deg":11.96634,"altitude":77,"angle":18,"satellites":41,"speed":10,"hex_longitude":"2d181b40","hex_latitude":"0721eb28","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200061184001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10784783139340288,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743170619392,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937745000,"timestamp_ms":1785937745000,"timestamp_seconds":1785937745,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22f5468"} 
[2026-08-05 19:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 19:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200061184001,"66":13156,"105":206,"83":41984,"24":10,"16":10784783139340288,"45":1736911743170619392},"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-08-05 19:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200061184001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:20:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10784783139340288,"km_value":10784783139340.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743170619392,"description":"Unknown IO ID 45"} 
[2026-08-05 19:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200061184001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1736911743170619392}} 
[2026-08-05 19:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":148829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:20:20] local.INFO: GPS data processed {"connection_id":148829,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:20:20] local.INFO: Acknowledgment sent {"connection_id":148829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:20:20] local.INFO: TCP Data received {"connection_id":148830,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:20:20] local.INFO: Processing buffer {"connection_id":148830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:20:20] local.INFO: Packet analysis {"connection_id":148830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:20:20] local.INFO: Extracted packet for processing {"connection_id":148830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:20:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199940096001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937567000,"timestamp_ms":1785937567000,"timestamp_seconds":1785937567,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c9d18"} 
[2026-08-05 19:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:20: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-08-05 19: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-08-05 19:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199940096001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199940096001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:20:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199940096001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":148830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:20:20] local.INFO: GPS data processed {"connection_id":148830,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:20:20] local.INFO: Acknowledgment sent {"connection_id":148830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:20:25] local.INFO: TCP Data received {"connection_id":148829,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22f5850012d181b800721ebe8004e00272a..."} 
[2026-08-05 19:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22f5850012d181b800721ebe8004e00272a..."} 
[2026-08-05 19:20:25] local.INFO: Processing buffer {"connection_id":148829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22f5850012d181b800721ebe8004e00272a..."} 
[2026-08-05 19:20:25] local.INFO: Packet analysis {"connection_id":148829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22f"} 
[2026-08-05 19:20:25] local.INFO: Extracted packet for processing {"connection_id":148829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22f"} 
[2026-08-05 19:20:25] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119663592,"longitude_deg":75.6554624,"latitude_deg":11.9663592,"altitude":78,"angle":39,"satellites":42,"speed":7,"hex_longitude":"2d181b80","hex_latitude":"0721ebe8","is_valid_coordinates":true} 
[2026-08-05 19:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200062720001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10784796024242176,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480659466240,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785937746000,"timestamp_ms":1785937746000,"timestamp_seconds":1785937746,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22f5850"} 
[2026-08-05 19:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-05 19:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200062720001,"66":13167,"105":206,"83":41984,"24":7,"16":10784796024242176,"45":1737052480659466240},"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-08-05 19:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200062720001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:20:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10784796024242176,"km_value":10784796024242.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480659466240,"description":"Unknown IO ID 45"} 
[2026-08-05 19:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200062720001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737052480659466240}} 
[2026-08-05 19:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":148829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:20:25] local.INFO: GPS data processed {"connection_id":148829,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:20:25] local.INFO: Acknowledgment sent {"connection_id":148829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:20:52] local.INFO: TCP Data received {"connection_id":148830,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:20:52] local.INFO: Processing buffer {"connection_id":148830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:20:52] local.INFO: Packet analysis {"connection_id":148830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:20:52] local.INFO: Extracted packet for processing {"connection_id":148830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:20:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199940096001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785937567000,"timestamp_ms":1785937567000,"timestamp_seconds":1785937567,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c9d18"} 
[2026-08-05 19:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199940096001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199940096001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:20:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199940096001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":148830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:20:52] local.INFO: GPS data processed {"connection_id":148830,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:20:52] local.INFO: Acknowledgment sent {"connection_id":148830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:21:06] local.INFO: TCP Data received {"connection_id":149837,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:06] local.INFO: Processing buffer {"connection_id":149837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:06] local.INFO: IMEI packet received {"connection_id":149837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":149837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:21:07] local.INFO: TCP Data received {"connection_id":149837,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:07] local.INFO: Processing buffer {"connection_id":149837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:07] local.INFO: IMEI packet received {"connection_id":149837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":149837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:21:08] local.INFO: TCP Data received {"connection_id":149837,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:08] local.INFO: Processing buffer {"connection_id":149837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:08] local.INFO: IMEI packet received {"connection_id":149837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":149837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:21:09] local.INFO: TCP Data received {"connection_id":149837,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:09] local.INFO: Processing buffer {"connection_id":149837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:21:09] local.INFO: IMEI packet received {"connection_id":149837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":149837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:21:19] local.INFO: TCP Data received {"connection_id":149838,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:21:19] local.INFO: Processing buffer {"connection_id":149838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:21:19] local.INFO: IMEI packet received {"connection_id":149838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":149838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:21:24] local.INFO: TCP Data received {"connection_id":149838,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:21:24] local.INFO: Processing buffer {"connection_id":149838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:21:24] local.INFO: IMEI packet received {"connection_id":149838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":149838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:21:25] local.INFO: TCP Data received {"connection_id":149838,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:21:25] local.INFO: Processing buffer {"connection_id":149838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:21:25] local.INFO: Packet analysis {"connection_id":149838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:21:25] local.INFO: Extracted packet for processing {"connection_id":149838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:21:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199940096001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785937567000,"timestamp_ms":1785937567000,"timestamp_seconds":1785937567,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c9d18"} 
[2026-08-05 19:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199940096001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199940096001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:21:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199940096001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":149838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:21:25] local.INFO: GPS data processed {"connection_id":149838,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:21:25] local.INFO: Acknowledgment sent {"connection_id":149838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:21:30] local.INFO: TCP Data received {"connection_id":149838,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:21:30] local.INFO: Processing buffer {"connection_id":149838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd22c9d18012d77a54005f279380008000025..."} 
[2026-08-05 19:21:30] local.INFO: Packet analysis {"connection_id":149838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:21:30] local.INFO: Extracted packet for processing {"connection_id":149838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd22c"} 
[2026-08-05 19:21:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457199940096001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785937567000,"timestamp_ms":1785937567000,"timestamp_seconds":1785937567,"priority":1,"record_length":96,"hex_timestamp":"0000019fd22c9d18"} 
[2026-08-05 19:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457199940096001,"66":25604,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457199940096001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:21:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457199940096001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":149838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:21:30] local.INFO: GPS data processed {"connection_id":149838,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:21:30] local.INFO: Acknowledgment sent {"connection_id":149838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:22:14] local.INFO: TCP Data received {"connection_id":148620,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:22:14] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:22:14] local.INFO: IMEI packet received {"connection_id":148620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":148620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:22:19] local.INFO: TCP Data received {"connection_id":148620,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:22:19] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:22:19] local.INFO: IMEI packet received {"connection_id":148620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":148620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:22:20] local.INFO: TCP Data received {"connection_id":148620,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:22:20] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:22:20] local.INFO: Packet analysis {"connection_id":148620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:22:20] local.INFO: Extracted packet for processing {"connection_id":148620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:22:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200017152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937868000,"timestamp_ms":1785937868000,"timestamp_seconds":1785937868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23134e0"} 
[2026-08-05 19:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:22: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-08-05 19:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200017152001,"66":25625,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200017152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200017152001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":148620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:22:20] local.INFO: GPS data processed {"connection_id":148620,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:22:20] local.INFO: Acknowledgment sent {"connection_id":148620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:22:52] local.INFO: TCP Data received {"connection_id":148620,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:22:52] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:22:52] local.INFO: Packet analysis {"connection_id":148620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:22:52] local.INFO: Extracted packet for processing {"connection_id":148620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:22:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200017152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785937868000,"timestamp_ms":1785937868000,"timestamp_seconds":1785937868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23134e0"} 
[2026-08-05 19:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200017152001,"66":25625,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200017152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:22:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200017152001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":148620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:22:52] local.INFO: GPS data processed {"connection_id":148620,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:22:52] local.INFO: Acknowledgment sent {"connection_id":148620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:23:14] local.INFO: TCP Data received {"connection_id":149839,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:23:14] local.INFO: Processing buffer {"connection_id":149839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:23:14] local.INFO: IMEI packet received {"connection_id":149839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":149839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:23:19] local.INFO: TCP Data received {"connection_id":149839,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:23:19] local.INFO: Processing buffer {"connection_id":149839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:23:19] local.INFO: IMEI packet received {"connection_id":149839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":149839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:23:20] local.INFO: TCP Data received {"connection_id":149839,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:23:20] local.INFO: Processing buffer {"connection_id":149839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:23:20] local.INFO: Packet analysis {"connection_id":149839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:23:20] local.INFO: Extracted packet for processing {"connection_id":149839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:23:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200017152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937868000,"timestamp_ms":1785937868000,"timestamp_seconds":1785937868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23134e0"} 
[2026-08-05 19:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:23: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-08-05 19:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200017152001,"66":25625,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200017152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:23:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200017152001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":149839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:23:20] local.INFO: GPS data processed {"connection_id":149839,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:23:20] local.INFO: Acknowledgment sent {"connection_id":149839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:23:52] local.INFO: TCP Data received {"connection_id":149839,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:23:52] local.INFO: Processing buffer {"connection_id":149839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:23:52] local.INFO: Packet analysis {"connection_id":149839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:23:52] local.INFO: Extracted packet for processing {"connection_id":149839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:23:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200017152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785937868000,"timestamp_ms":1785937868000,"timestamp_seconds":1785937868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23134e0"} 
[2026-08-05 19:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200017152001,"66":25625,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200017152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:23:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200017152001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":149839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:23:52] local.INFO: GPS data processed {"connection_id":149839,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:23:52] local.INFO: Acknowledgment sent {"connection_id":149839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:24:14] local.INFO: TCP Data received {"connection_id":148832,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:24:14] local.INFO: Processing buffer {"connection_id":148832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:24:14] local.INFO: IMEI packet received {"connection_id":148832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":148832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:24:20] local.INFO: TCP Data received {"connection_id":148832,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:24:20] local.INFO: Processing buffer {"connection_id":148832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:24:20] local.INFO: IMEI packet received {"connection_id":148832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":148832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:24:27] local.INFO: TCP Data received {"connection_id":148832,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:24:27] local.INFO: Processing buffer {"connection_id":148832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:24:27] local.INFO: Packet analysis {"connection_id":148832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:24:27] local.INFO: Extracted packet for processing {"connection_id":148832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:24:27] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200017152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785937868000,"timestamp_ms":1785937868000,"timestamp_seconds":1785937868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23134e0"} 
[2026-08-05 19:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200017152001,"66":25625,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200017152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:24:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200017152001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":148832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:24:27] local.INFO: GPS data processed {"connection_id":148832,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:24:27] local.INFO: Acknowledgment sent {"connection_id":148832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:24:28] local.INFO: TCP Data received {"connection_id":148832,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:24:28] local.INFO: Processing buffer {"connection_id":148832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:24:28] local.INFO: Packet analysis {"connection_id":148832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:24:28] local.INFO: Extracted packet for processing {"connection_id":148832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:24:28] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200017152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785937868000,"timestamp_ms":1785937868000,"timestamp_seconds":1785937868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23134e0"} 
[2026-08-05 19:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200017152001,"66":25625,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200017152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:24:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200017152001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":148832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:24:28] local.INFO: GPS data processed {"connection_id":148832,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:24:28] local.INFO: Acknowledgment sent {"connection_id":148832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:24:59] local.INFO: TCP Data received {"connection_id":148832,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:24:59] local.INFO: Processing buffer {"connection_id":148832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:24:59] local.INFO: Packet analysis {"connection_id":148832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:24:59] local.INFO: Extracted packet for processing {"connection_id":148832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:24:59] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200017152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785937868000,"timestamp_ms":1785937868000,"timestamp_seconds":1785937868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23134e0"} 
[2026-08-05 19:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200017152001,"66":25625,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200017152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:24:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200017152001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":148832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:24:59] local.INFO: GPS data processed {"connection_id":148832,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:24:59] local.INFO: Acknowledgment sent {"connection_id":148832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:25:19] local.INFO: TCP Data received {"connection_id":149840,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:25:19] local.INFO: Processing buffer {"connection_id":149840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:25:19] local.INFO: IMEI packet received {"connection_id":149840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":149840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:25:24] local.INFO: TCP Data received {"connection_id":149840,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:25:24] local.INFO: Processing buffer {"connection_id":149840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:25:24] local.INFO: IMEI packet received {"connection_id":149840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":149840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:25:25] local.INFO: TCP Data received {"connection_id":149840,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:25:25] local.INFO: Processing buffer {"connection_id":149840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:25:25] local.INFO: Packet analysis {"connection_id":149840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:25:25] local.INFO: Extracted packet for processing {"connection_id":149840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:25:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200017152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785937868000,"timestamp_ms":1785937868000,"timestamp_seconds":1785937868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23134e0"} 
[2026-08-05 19:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200017152001,"66":25625,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200017152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:25:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200017152001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":149840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:25:25] local.INFO: GPS data processed {"connection_id":149840,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:25:25] local.INFO: Acknowledgment sent {"connection_id":149840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:25:29] local.INFO: TCP Data received {"connection_id":149840,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:25:29] local.INFO: Processing buffer {"connection_id":149840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:25:29] local.INFO: Packet analysis {"connection_id":149840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:25:29] local.INFO: Extracted packet for processing {"connection_id":149840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200017152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785937868000,"timestamp_ms":1785937868000,"timestamp_seconds":1785937868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23134e0"} 
[2026-08-05 19:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200017152001,"66":25625,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200017152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:25:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200017152001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":149840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:25:29] local.INFO: GPS data processed {"connection_id":149840,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:25:29] local.INFO: Acknowledgment sent {"connection_id":149840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:26:14] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:26:14] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:26:14] local.INFO: IMEI packet received {"connection_id":148621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":148621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:26:14] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2350d40012d181f800721a7c8004d008d2b..."} 
[2026-08-05 19:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2350d40012d181f800721a7c8004d008d2b..."} 
[2026-08-05 19:26:14] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2350d40012d181f800721a7c8004d008d2b..."} 
[2026-08-05 19:26:14] local.INFO: Packet analysis {"connection_id":148621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:26:14] local.INFO: Extracted packet for processing {"connection_id":148621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646152,"longitude_deg":75.6555648,"latitude_deg":11.9646152,"altitude":77,"angle":141,"satellites":43,"speed":5,"hex_longitude":"2d181f80","hex_latitude":"0721a7c8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200157184001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10787888400695296,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329552896,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785938120000,"timestamp_ms":1785938120000,"timestamp_seconds":1785938120,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2350d40"} 
[2026-08-05 19:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-05 19:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:26: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-08-05 19:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200157184001,"66":13091,"105":206,"83":41984,"24":5,"16":10787888400695296,"45":1737967274329552896},"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-08-05 19:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200157184001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:26:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10787888400695296,"km_value":10787888400695.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329552896,"description":"Unknown IO ID 45"} 
[2026-08-05 19:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200157184001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737967274329552896}} 
[2026-08-05 19:26:14] local.INFO: TCP Data received {"connection_id":148834,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:26:14] local.INFO: Processing buffer {"connection_id":148834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:26:14] local.INFO: IMEI packet received {"connection_id":148834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":148834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":148621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:26:14] local.INFO: GPS data processed {"connection_id":148621,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:26:14] local.INFO: Acknowledgment sent {"connection_id":148621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:26:19] local.INFO: TCP Data received {"connection_id":148834,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:26:19] local.INFO: Processing buffer {"connection_id":148834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:26:19] local.INFO: IMEI packet received {"connection_id":148834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":148834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:26:20] local.INFO: TCP Data received {"connection_id":148834,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:26:20] local.INFO: Processing buffer {"connection_id":148834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23134e0012d77a54005f279380008000025..."} 
[2026-08-05 19:26:20] local.INFO: Packet analysis {"connection_id":148834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:26:20] local.INFO: Extracted packet for processing {"connection_id":148834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd231"} 
[2026-08-05 19:26:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200017152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785937868000,"timestamp_ms":1785937868000,"timestamp_seconds":1785937868,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23134e0"} 
[2026-08-05 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-08-05 19:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:26: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-08-05 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-08-05 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-08-05 19:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200017152001,"66":25625,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200017152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:26:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200017152001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":148834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:26:20] local.INFO: GPS data processed {"connection_id":148834,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:26:20] local.INFO: Acknowledgment sent {"connection_id":148834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:26:48] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23518f8012d1821000721a678004e007b2b..."} 
[2026-08-05 19:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23518f8012d1821000721a678004e007b2b..."} 
[2026-08-05 19:26:48] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23518f8012d1821000721a678004e007b2b..."} 
[2026-08-05 19:26:48] local.INFO: Packet analysis {"connection_id":148621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:26:48] local.INFO: Extracted packet for processing {"connection_id":148621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119645816,"longitude_deg":75.6556032,"latitude_deg":11.9645816,"altitude":78,"angle":123,"satellites":43,"speed":7,"hex_longitude":"2d182100","hex_latitude":"0721a678","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200158720001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10787909875531776,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306071040,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785938123000,"timestamp_ms":1785938123000,"timestamp_seconds":1785938123,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23518f8"} 
[2026-08-05 19:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:26: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-08-05 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 19:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200158720001,"66":13015,"105":206,"83":41984,"24":7,"16":10787909875531776,"45":1738248749306071040},"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-08-05 19:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200158720001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:26:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10787909875531776,"km_value":10787909875531.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306071040,"description":"Unknown IO ID 45"} 
[2026-08-05 19:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200158720001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738248749306071040}} 
[2026-08-05 19:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":148621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:26:48] local.INFO: GPS data processed {"connection_id":148621,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:26:48] local.INFO: Acknowledgment sent {"connection_id":148621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:26:52] local.INFO: TCP Data received {"connection_id":148834,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:26:52] local.INFO: Processing buffer {"connection_id":148834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:26:52] local.INFO: Packet analysis {"connection_id":148834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:26:52] local.INFO: Extracted packet for processing {"connection_id":148834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:26:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200094208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785938169000,"timestamp_ms":1785938169000,"timestamp_seconds":1785938169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd235cca8"} 
[2026-08-05 19:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 19:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200094208001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200094208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:26:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200094208001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":148834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:26:52] local.INFO: GPS data processed {"connection_id":148834,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:26:52] local.INFO: Acknowledgment sent {"connection_id":148834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:27:10] local.INFO: TCP Data received {"connection_id":149841,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:27:10] local.INFO: Processing buffer {"connection_id":149841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:27:10] local.INFO: IMEI packet received {"connection_id":149841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":149841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:27:14] local.INFO: TCP Data received {"connection_id":148835,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:27:14] local.INFO: Processing buffer {"connection_id":148835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:27:14] local.INFO: IMEI packet received {"connection_id":148835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":148835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:27:14] local.INFO: TCP Data received {"connection_id":149841,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:27:14] local.INFO: Processing buffer {"connection_id":149841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:27:14] local.INFO: IMEI packet received {"connection_id":149841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":149841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:27:19] local.INFO: TCP Data received {"connection_id":149841,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:27:19] local.INFO: Processing buffer {"connection_id":149841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:27:19] local.INFO: IMEI packet received {"connection_id":149841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":149841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:27:19] local.INFO: TCP Data received {"connection_id":148835,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:27:19] local.INFO: Processing buffer {"connection_id":148835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:27:19] local.INFO: IMEI packet received {"connection_id":148835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":148835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:27:20] local.INFO: TCP Data received {"connection_id":149841,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2352898012d1823800721a428004e00892b..."} 
[2026-08-05 19:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2352898012d1823800721a428004e00892b..."} 
[2026-08-05 19:27:20] local.INFO: Processing buffer {"connection_id":149841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2352898012d1823800721a428004e00892b..."} 
[2026-08-05 19:27:20] local.INFO: Packet analysis {"connection_id":149841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:27:20] local.INFO: Extracted packet for processing {"connection_id":149841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119645224,"longitude_deg":75.6556672,"latitude_deg":11.9645224,"altitude":78,"angle":137,"satellites":43,"speed":10,"hex_longitude":"2d182380","hex_latitude":"0721a428","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200159488001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10787952825204736,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771051008,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938127000,"timestamp_ms":1785938127000,"timestamp_seconds":1785938127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2352898"} 
[2026-08-05 19:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-05 19:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200159488001,"66":12993,"105":206,"83":41984,"24":10,"16":10787952825204736,"45":1738670961771051008},"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-08-05 19:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200159488001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:27:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:27:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10787952825204736,"km_value":10787952825204.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771051008,"description":"Unknown IO ID 45"} 
[2026-08-05 19:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200159488001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738670961771051008}} 
[2026-08-05 19:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":149841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:27:20] local.INFO: GPS data processed {"connection_id":149841,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:27:20] local.INFO: Acknowledgment sent {"connection_id":149841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:27:20] local.INFO: TCP Data received {"connection_id":148835,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:27:20] local.INFO: Processing buffer {"connection_id":148835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:27:20] local.INFO: Packet analysis {"connection_id":148835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:27:20] local.INFO: Extracted packet for processing {"connection_id":148835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:27:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200094208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938169000,"timestamp_ms":1785938169000,"timestamp_seconds":1785938169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd235cca8"} 
[2026-08-05 19:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":25,"data_length":795,"current_offset":136} 
[2026-08-05 19:27: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-08-05 19: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-08-05 19:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200094208001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200094208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:27:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200094208001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":148835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:27:20] local.INFO: GPS data processed {"connection_id":148835,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:27:20] local.INFO: Acknowledgment sent {"connection_id":148835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:27:27] local.INFO: TCP Data received {"connection_id":149841,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23547d8012d18294007219e500050007825..."} 
[2026-08-05 19:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23547d8012d18294007219e500050007825..."} 
[2026-08-05 19:27:27] local.INFO: Processing buffer {"connection_id":149841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23547d8012d18294007219e500050007825..."} 
[2026-08-05 19:27:27] local.INFO: Packet analysis {"connection_id":149841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:27:27] local.INFO: Extracted packet for processing {"connection_id":149841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643728,"longitude_deg":75.6558144,"latitude_deg":11.9643728,"altitude":80,"angle":120,"satellites":37,"speed":8,"hex_longitude":"2d182940","hex_latitude":"07219e50","is_valid_coordinates":true} 
[2026-08-05 19:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200160512001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10788055904419840,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649212676096,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785938135000,"timestamp_ms":1785938135000,"timestamp_seconds":1785938135,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23547d8"} 
[2026-08-05 19:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-05 19:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200160512001,"66":12972,"105":206,"83":41984,"24":8,"16":10788055904419840,"45":1739374649212676096},"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-08-05 19:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200160512001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:27:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10788055904419840,"km_value":10788055904419.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649212676096,"description":"Unknown IO ID 45"} 
[2026-08-05 19:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200160512001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739374649212676096}} 
[2026-08-05 19:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":149841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:27:27] local.INFO: GPS data processed {"connection_id":149841,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:27:27] local.INFO: Acknowledgment sent {"connection_id":149841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:27:52] local.INFO: TCP Data received {"connection_id":148835,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:27:52] local.INFO: Processing buffer {"connection_id":148835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:27:52] local.INFO: Packet analysis {"connection_id":148835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:27:52] local.INFO: Extracted packet for processing {"connection_id":148835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:27:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200094208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785938169000,"timestamp_ms":1785938169000,"timestamp_seconds":1785938169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd235cca8"} 
[2026-08-05 19:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 19:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200094208001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200094208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:27:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200094208001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":148835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:27:52] local.INFO: GPS data processed {"connection_id":148835,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:27:52] local.INFO: Acknowledgment sent {"connection_id":148835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:28:09] local.INFO: TCP Data received {"connection_id":149842,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:28:09] local.INFO: Processing buffer {"connection_id":149842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:28:09] local.INFO: IMEI packet received {"connection_id":149842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":149842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:28:14] local.INFO: TCP Data received {"connection_id":149842,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:28:14] local.INFO: Processing buffer {"connection_id":149842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:28:14] local.INFO: IMEI packet received {"connection_id":149842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":149842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:28:14] local.INFO: TCP Data received {"connection_id":149843,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:28:14] local.INFO: Processing buffer {"connection_id":149843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:28:14] local.INFO: IMEI packet received {"connection_id":149843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":149843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:28:15] local.INFO: TCP Data received {"connection_id":149842,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23599e0012d182bc007219c900051007c28..."} 
[2026-08-05 19:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23599e0012d182bc007219c900051007c28..."} 
[2026-08-05 19:28:15] local.INFO: Processing buffer {"connection_id":149842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23599e0012d182bc007219c900051007c28..."} 
[2026-08-05 19:28:15] local.INFO: Packet analysis {"connection_id":149842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:28:15] local.INFO: Extracted packet for processing {"connection_id":149842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119643280,"longitude_deg":75.6558784,"latitude_deg":11.964328,"altitude":81,"angle":124,"satellites":40,"speed":0,"hex_longitude":"2d182bc0","hex_latitude":"07219c90","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200162560001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10788094559125504,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328379392,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938156000,"timestamp_ms":1785938156000,"timestamp_seconds":1785938156,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23599e0"} 
[2026-08-05 19:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:28: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-08-05 19: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-05 19:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:28: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-08-05 19:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200162560001,"66":13559,"105":206,"83":41984,"24":0,"16":10788094559125504,"45":1740993130328379392},"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-08-05 19:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200162560001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:28:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-05 19:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10788094559125504,"km_value":10788094559125.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328379392,"description":"Unknown IO ID 45"} 
[2026-08-05 19:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200162560001,"power":13559,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328379392}} 
[2026-08-05 19:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":149842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:28:15] local.INFO: GPS data processed {"connection_id":149842,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:28:15] local.INFO: Acknowledgment sent {"connection_id":149842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:28:19] local.INFO: TCP Data received {"connection_id":149843,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:28:19] local.INFO: Processing buffer {"connection_id":149843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:28:19] local.INFO: IMEI packet received {"connection_id":149843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":149843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:28:20] local.INFO: TCP Data received {"connection_id":149843,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:28:20] local.INFO: Processing buffer {"connection_id":149843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:28:20] local.INFO: Packet analysis {"connection_id":149843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:28:20] local.INFO: Extracted packet for processing {"connection_id":149843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:28:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200094208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938169000,"timestamp_ms":1785938169000,"timestamp_seconds":1785938169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd235cca8"} 
[2026-08-05 19:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 19:28: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-08-05 19:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200094208001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200094208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:28:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200094208001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":149843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:28:20] local.INFO: GPS data processed {"connection_id":149843,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:28:20] local.INFO: Acknowledgment sent {"connection_id":149843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:28:46] local.INFO: TCP Data received {"connection_id":149842,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2377670012d18d70007210280003c00a02b..."} 
[2026-08-05 19:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2377670012d18d70007210280003c00a02b..."} 
[2026-08-05 19:28:46] local.INFO: Processing buffer {"connection_id":149842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2377670012d18d70007210280003c00a02b..."} 
[2026-08-05 19:28:46] local.INFO: Packet analysis {"connection_id":149842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd237"} 
[2026-08-05 19:28:46] local.INFO: Extracted packet for processing {"connection_id":149842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd237"} 
[2026-08-05 19:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119603840,"longitude_deg":75.6602624,"latitude_deg":11.960384,"altitude":60,"angle":160,"satellites":43,"speed":39,"hex_longitude":"2d18d700","hex_latitude":"07210280","is_valid_coordinates":true} 
[2026-08-05 19:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200196864001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10791290014793728,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384427520,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785938278000,"timestamp_ms":1785938278000,"timestamp_seconds":1785938278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2377670"} 
[2026-08-05 19:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:28: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-08-05 19:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 19:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:28: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-08-05 19:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200196864001,"66":13559,"103":206,"83":41984,"24":39,"16":10791290014793728,"45":1788562401384427520},"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-08-05 19:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200196864001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:28:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 19:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10791290014793728,"km_value":10791290014793.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384427520,"description":"Unknown IO ID 45"} 
[2026-08-05 19:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200196864001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1788562401384427520}} 
[2026-08-05 19:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":149842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:28:46] local.INFO: GPS data processed {"connection_id":149842,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:28:46] local.INFO: Acknowledgment sent {"connection_id":149842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:28:51] local.INFO: TCP Data received {"connection_id":149843,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:28:51] local.INFO: Processing buffer {"connection_id":149843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:28:51] local.INFO: Packet analysis {"connection_id":149843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:28:51] local.INFO: Extracted packet for processing {"connection_id":149843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:28:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200094208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785938169000,"timestamp_ms":1785938169000,"timestamp_seconds":1785938169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd235cca8"} 
[2026-08-05 19:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":25,"data_length":795,"current_offset":136} 
[2026-08-05 19:28: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-08-05 19:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200094208001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200094208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:28:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200094208001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":149843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:28:51] local.INFO: GPS data processed {"connection_id":149843,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:28:51] local.INFO: Acknowledgment sent {"connection_id":149843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:29:07] local.INFO: TCP Data received {"connection_id":151273,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:29:07] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:29:07] local.INFO: IMEI packet received {"connection_id":151273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":151273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:29:10] local.INFO: TCP Data received {"connection_id":151273,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:29:10] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:29:10] local.INFO: IMEI packet received {"connection_id":151273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":151273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:29:14] local.INFO: TCP Data received {"connection_id":148622,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:29:14] local.INFO: Processing buffer {"connection_id":148622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:29:14] local.INFO: IMEI packet received {"connection_id":148622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":148622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:29:14] local.INFO: TCP Data received {"connection_id":151273,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:29:14] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:29:14] local.INFO: IMEI packet received {"connection_id":151273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":151273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:29:15] local.INFO: TCP Data received {"connection_id":151273,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2377e40012d18db000720fc28003c00882a..."} 
[2026-08-05 19:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2377e40012d18db000720fc28003c00882a..."} 
[2026-08-05 19:29:15] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2377e40012d18db000720fc28003c00882a..."} 
[2026-08-05 19:29:15] local.INFO: Packet analysis {"connection_id":151273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd237"} 
[2026-08-05 19:29:15] local.INFO: Extracted packet for processing {"connection_id":151273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd237"} 
[2026-08-05 19:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756603648,"raw_latitude":119602216,"longitude_deg":75.6603648,"latitude_deg":11.9602216,"altitude":60,"angle":136,"satellites":42,"speed":38,"hex_longitude":"2d18db00","hex_latitude":"0720fc28","is_valid_coordinates":true} 
[2026-08-05 19:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200199168001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10791380209106944,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521644544,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938280000,"timestamp_ms":1785938280000,"timestamp_seconds":1785938280,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2377e40"} 
[2026-08-05 19:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:29: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-08-05 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 19:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:29: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-08-05 19:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200199168001,"66":13472,"103":206,"83":41984,"24":38,"16":10791380209106944,"45":1789899407521644544},"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-08-05 19:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200199168001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:29:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 19:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10791380209106944,"km_value":10791380209106.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521644544,"description":"Unknown IO ID 45"} 
[2026-08-05 19:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200199168001,"power":13472,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1789899407521644544}} 
[2026-08-05 19:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":151273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:29:15] local.INFO: GPS data processed {"connection_id":151273,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:29:15] local.INFO: Acknowledgment sent {"connection_id":151273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:29:19] local.INFO: TCP Data received {"connection_id":148622,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:29:19] local.INFO: Processing buffer {"connection_id":148622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:29:19] local.INFO: IMEI packet received {"connection_id":148622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":148622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:29:21] local.INFO: TCP Data received {"connection_id":148622,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:29:21] local.INFO: Processing buffer {"connection_id":148622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:29:21] local.INFO: Packet analysis {"connection_id":148622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:29:21] local.INFO: Extracted packet for processing {"connection_id":148622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:29:21] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200094208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785938169000,"timestamp_ms":1785938169000,"timestamp_seconds":1785938169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd235cca8"} 
[2026-08-05 19:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 19:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200094208001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200094208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:29:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200094208001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":148622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:29:21] local.INFO: GPS data processed {"connection_id":148622,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:29:21] local.INFO: Acknowledgment sent {"connection_id":148622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:29:46] local.INFO: TCP Data received {"connection_id":151273,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23791c8012d18e7c00720ee10003b00942b..."} 
[2026-08-05 19:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23791c8012d18e7c00720ee10003b00942b..."} 
[2026-08-05 19:29:46] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23791c8012d18e7c00720ee10003b00942b..."} 
[2026-08-05 19:29:46] local.INFO: Packet analysis {"connection_id":151273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd237"} 
[2026-08-05 19:29:46] local.INFO: Extracted packet for processing {"connection_id":151273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd237"} 
[2026-08-05 19:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756606912,"raw_latitude":119598608,"longitude_deg":75.6606912,"latitude_deg":11.9598608,"altitude":59,"angle":148,"satellites":43,"speed":38,"hex_longitude":"2d18e7c0","hex_latitude":"0720ee10","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200199680001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10791616432308224,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791025307428071424,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785938285000,"timestamp_ms":1785938285000,"timestamp_seconds":1785938285,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23791c8"} 
[2026-08-05 19:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:29: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-08-05 19: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-05 19:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:29: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-08-05 19:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200199680001,"66":13559,"103":206,"83":41984,"24":38,"16":10791616432308224,"45":1791025307428071424},"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-08-05 19:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200199680001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:29:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 19:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10791616432308224,"km_value":10791616432308.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791025307428071424,"description":"Unknown IO ID 45"} 
[2026-08-05 19:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200199680001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1791025307428071424}} 
[2026-08-05 19:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":151273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:29:46] local.INFO: GPS data processed {"connection_id":151273,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:29:46] local.INFO: Acknowledgment sent {"connection_id":151273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:29:53] local.INFO: TCP Data received {"connection_id":148622,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:29:53] local.INFO: Processing buffer {"connection_id":148622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:29:53] local.INFO: Packet analysis {"connection_id":148622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:29:53] local.INFO: Extracted packet for processing {"connection_id":148622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:29:53] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200094208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785938169000,"timestamp_ms":1785938169000,"timestamp_seconds":1785938169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd235cca8"} 
[2026-08-05 19:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 19:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200094208001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200094208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:29:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200094208001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":148622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:29:53] local.INFO: GPS data processed {"connection_id":148622,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:29:53] local.INFO: Acknowledgment sent {"connection_id":148622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:30:09] local.INFO: TCP Data received {"connection_id":149844,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:09] local.INFO: Processing buffer {"connection_id":149844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:09] local.INFO: IMEI packet received {"connection_id":149844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":149844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:30:10] local.INFO: TCP Data received {"connection_id":149844,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:10] local.INFO: Processing buffer {"connection_id":149844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:10] local.INFO: IMEI packet received {"connection_id":149844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":149844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:30:11] local.INFO: TCP Data received {"connection_id":149844,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:11] local.INFO: Processing buffer {"connection_id":149844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:11] local.INFO: IMEI packet received {"connection_id":149844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":149844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:30:14] local.INFO: TCP Data received {"connection_id":149844,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:14] local.INFO: Processing buffer {"connection_id":149844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:30:14] local.INFO: IMEI packet received {"connection_id":149844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":149844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:30:15] local.INFO: TCP Data received {"connection_id":149844,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd237ad20012d18f7400720d7600039008526..."} 
[2026-08-05 19:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd237ad20012d18f7400720d7600039008526..."} 
[2026-08-05 19:30:15] local.INFO: Processing buffer {"connection_id":149844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd237ad20012d18f7400720d7600039008526..."} 
[2026-08-05 19:30:15] local.INFO: Packet analysis {"connection_id":149844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd237"} 
[2026-08-05 19:30:15] local.INFO: Extracted packet for processing {"connection_id":149844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd237"} 
[2026-08-05 19:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756610880,"raw_latitude":119592800,"longitude_deg":75.661088,"latitude_deg":11.95928,"altitude":57,"angle":133,"satellites":38,"speed":39,"hex_longitude":"2d18f740","hex_latitude":"0720d760","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200200960001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10791955734724608,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794614113380208640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938292000,"timestamp_ms":1785938292000,"timestamp_seconds":1785938292,"priority":1,"record_length":96,"hex_timestamp":"0000019fd237ad20"} 
[2026-08-05 19:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:30: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-08-05 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 19:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:30: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-08-05 19:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200200960001,"66":13537,"103":206,"83":41984,"24":39,"16":10791955734724608,"45":1794614113380208640},"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-08-05 19:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200200960001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:30:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 19:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10791955734724608,"km_value":10791955734724.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794614113380208640,"description":"Unknown IO ID 45"} 
[2026-08-05 19:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200200960001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1794614113380208640}} 
[2026-08-05 19:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":149844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:30:15] local.INFO: GPS data processed {"connection_id":149844,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:30:15] local.INFO: Acknowledgment sent {"connection_id":149844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:30:19] local.INFO: TCP Data received {"connection_id":151274,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:30:19] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:30:19] local.INFO: IMEI packet received {"connection_id":151274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":151274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:30:24] local.INFO: TCP Data received {"connection_id":151274,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:30:24] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:30:24] local.INFO: IMEI packet received {"connection_id":151274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":151274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:30:25] local.INFO: TCP Data received {"connection_id":151274,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:30:25] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:30:25] local.INFO: Packet analysis {"connection_id":151274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:30:25] local.INFO: Extracted packet for processing {"connection_id":151274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:30:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200094208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785938169000,"timestamp_ms":1785938169000,"timestamp_seconds":1785938169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd235cca8"} 
[2026-08-05 19:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 19:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200094208001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200094208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:30:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200094208001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":151274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:30:25] local.INFO: GPS data processed {"connection_id":151274,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:30:25] local.INFO: Acknowledgment sent {"connection_id":151274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:30:30] local.INFO: TCP Data received {"connection_id":151274,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:30:30] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:30:30] local.INFO: Packet analysis {"connection_id":151274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:30:30] local.INFO: Extracted packet for processing {"connection_id":151274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:30:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200094208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785938169000,"timestamp_ms":1785938169000,"timestamp_seconds":1785938169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd235cca8"} 
[2026-08-05 19:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 19:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200094208001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200094208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:30:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200094208001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":151274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:30:30] local.INFO: GPS data processed {"connection_id":151274,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:30:30] local.INFO: Acknowledgment sent {"connection_id":151274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:30:46] local.INFO: TCP Data received {"connection_id":149844,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2394b30012d19b9800720a1d0003200d527..."} 
[2026-08-05 19:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2394b30012d19b9800720a1d0003200d527..."} 
[2026-08-05 19:30:46] local.INFO: Processing buffer {"connection_id":149844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2394b30012d19b9800720a1d0003200d527..."} 
[2026-08-05 19:30:46] local.INFO: Packet analysis {"connection_id":149844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd239"} 
[2026-08-05 19:30:46] local.INFO: Extracted packet for processing {"connection_id":149844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd239"} 
[2026-08-05 19:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119579088,"longitude_deg":75.6660608,"latitude_deg":11.9579088,"altitude":50,"angle":213,"satellites":39,"speed":22,"hex_longitude":"2d19b980","hex_latitude":"0720a1d0","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200229632001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10794640089284608,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461278720,"note":"Value kept but may cause issues"} 
[2026-08-05 19:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785938398000,"timestamp_ms":1785938398000,"timestamp_seconds":1785938398,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2394b30"} 
[2026-08-05 19:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:30: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-08-05 19: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-08-05 19: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-08-05 19: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-08-05 19:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:30: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-08-05 19:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200229632001,"66":13374,"103":206,"83":41984,"24":22,"16":10794640089284608,"45":1854005333461278720},"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-08-05 19:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200229632001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:30:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 19:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10794640089284608,"km_value":10794640089284.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461278720,"description":"Unknown IO ID 45"} 
[2026-08-05 19:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200229632001,"power":13374,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1854005333461278720}} 
[2026-08-05 19:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":149844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:30:46] local.INFO: GPS data processed {"connection_id":149844,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:30:46] local.INFO: Acknowledgment sent {"connection_id":149844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:31:08] local.INFO: TCP Data received {"connection_id":149845,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:08] local.INFO: Processing buffer {"connection_id":149845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:08] local.INFO: IMEI packet received {"connection_id":149845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":149845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:31:09] local.INFO: TCP Data received {"connection_id":149845,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:09] local.INFO: Processing buffer {"connection_id":149845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:09] local.INFO: IMEI packet received {"connection_id":149845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":149845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:31:10] local.INFO: TCP Data received {"connection_id":149845,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:10] local.INFO: Processing buffer {"connection_id":149845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:10] local.INFO: IMEI packet received {"connection_id":149845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":149845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:31:14] local.INFO: TCP Data received {"connection_id":148623,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:31:14] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:31:14] local.INFO: IMEI packet received {"connection_id":148623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":148623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:31:14] local.INFO: TCP Data received {"connection_id":149845,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:14] local.INFO: Processing buffer {"connection_id":149845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:31:14] local.INFO: IMEI packet received {"connection_id":149845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":149845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:31:15] local.INFO: TCP Data received {"connection_id":149845,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2396a70012d19ad8007209180003000c328..."} 
[2026-08-05 19:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2396a70012d19ad8007209180003000c328..."} 
[2026-08-05 19:31:15] local.INFO: Processing buffer {"connection_id":149845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2396a70012d19ad8007209180003000c328..."} 
[2026-08-05 19:31:15] local.INFO: Packet analysis {"connection_id":149845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd239"} 
[2026-08-05 19:31:15] local.INFO: Extracted packet for processing {"connection_id":149845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd239"} 
[2026-08-05 19:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119574912,"longitude_deg":75.6657536,"latitude_deg":11.9574912,"altitude":48,"angle":195,"satellites":40,"speed":26,"hex_longitude":"2d19ad80","hex_latitude":"07209180","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200229888001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10794889197387776,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740271616,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938406000,"timestamp_ms":1785938406000,"timestamp_seconds":1785938406,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2396a70"} 
[2026-08-05 19:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-05 19:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:31: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-08-05 19:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200229888001,"66":12711,"103":206,"83":41984,"24":26,"16":10794889197387776,"45":1853653489740271616},"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-08-05 19:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200229888001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:31:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 19:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10794889197387776,"km_value":10794889197387.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740271616,"description":"Unknown IO ID 45"} 
[2026-08-05 19:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200229888001,"power":12711,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1853653489740271616}} 
[2026-08-05 19:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":149845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:31:15] local.INFO: GPS data processed {"connection_id":149845,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:31:15] local.INFO: Acknowledgment sent {"connection_id":149845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:31:20] local.INFO: TCP Data received {"connection_id":148623,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:31:20] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:31:20] local.INFO: IMEI packet received {"connection_id":148623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":148623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:31:20] local.INFO: TCP Data received {"connection_id":148623,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:31:20] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd235cca8012d77a54005f279380008000029..."} 
[2026-08-05 19:31:20] local.INFO: Packet analysis {"connection_id":148623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:31:20] local.INFO: Extracted packet for processing {"connection_id":148623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd235"} 
[2026-08-05 19:31:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200094208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938169000,"timestamp_ms":1785938169000,"timestamp_seconds":1785938169,"priority":1,"record_length":96,"hex_timestamp":"0000019fd235cca8"} 
[2026-08-05 19:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 19:31: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-08-05 19:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200094208001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200094208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:31:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200094208001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":148623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:31:20] local.INFO: GPS data processed {"connection_id":148623,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:31:20] local.INFO: Acknowledgment sent {"connection_id":148623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:31:46] local.INFO: TCP Data received {"connection_id":149845,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2396e58012d19ad4007208ed0003000b728..."} 
[2026-08-05 19:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2396e58012d19ad4007208ed0003000b728..."} 
[2026-08-05 19:31:46] local.INFO: Processing buffer {"connection_id":149845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2396e58012d19ad4007208ed0003000b728..."} 
[2026-08-05 19:31:46] local.INFO: Packet analysis {"connection_id":149845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd239"} 
[2026-08-05 19:31:46] local.INFO: Extracted packet for processing {"connection_id":149845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd239"} 
[2026-08-05 19:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119574224,"longitude_deg":75.6657472,"latitude_deg":11.9574224,"altitude":48,"angle":183,"satellites":40,"speed":26,"hex_longitude":"2d19ad40","hex_latitude":"07208ed0","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200231936001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10794923557126144,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018674688,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785938407000,"timestamp_ms":1785938407000,"timestamp_seconds":1785938407,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2396e58"} 
[2026-08-05 19:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:31: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-08-05 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-05 19:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:31: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-08-05 19:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200231936001,"66":12711,"103":206,"83":41984,"24":26,"16":10794923557126144,"45":1850275790018674688},"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-08-05 19:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200231936001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:31:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 19:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10794923557126144,"km_value":10794923557126.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018674688,"description":"Unknown IO ID 45"} 
[2026-08-05 19:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200231936001,"power":12711,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1850275790018674688}} 
[2026-08-05 19:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":149845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:31:46] local.INFO: GPS data processed {"connection_id":149845,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:31:46] local.INFO: Acknowledgment sent {"connection_id":149845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:31:51] local.INFO: TCP Data received {"connection_id":148623,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:31:51] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:31:51] local.INFO: Packet analysis {"connection_id":148623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:31:51] local.INFO: Extracted packet for processing {"connection_id":148623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:31:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200171264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785938470000,"timestamp_ms":1785938470000,"timestamp_seconds":1785938470,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23a6470"} 
[2026-08-05 19:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:31: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-08-05 19:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200171264001,"66":25615,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200171264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:31:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200171264001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":148623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:31:51] local.INFO: GPS data processed {"connection_id":148623,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:31:51] local.INFO: Acknowledgment sent {"connection_id":148623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:32:09] local.INFO: TCP Data received {"connection_id":149846,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:32:09] local.INFO: Processing buffer {"connection_id":149846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:32:09] local.INFO: IMEI packet received {"connection_id":149846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":149846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:32:12] local.INFO: TCP Data received {"connection_id":149846,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:32:12] local.INFO: Processing buffer {"connection_id":149846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:32:12] local.INFO: IMEI packet received {"connection_id":149846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":149846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:32:14] local.INFO: TCP Data received {"connection_id":149846,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:32:14] local.INFO: Processing buffer {"connection_id":149846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:32:14] local.INFO: IMEI packet received {"connection_id":149846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":149846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:32:15] local.INFO: TCP Data received {"connection_id":149846,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2397628012d19ae0007208918002f00a929..."} 
[2026-08-05 19:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2397628012d19ae0007208918002f00a929..."} 
[2026-08-05 19:32:15] local.INFO: Processing buffer {"connection_id":149846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2397628012d19ae0007208918002f00a929..."} 
[2026-08-05 19:32:15] local.INFO: Packet analysis {"connection_id":149846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd239"} 
[2026-08-05 19:32:15] local.INFO: Extracted packet for processing {"connection_id":149846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd239"} 
[2026-08-05 19:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119572760,"longitude_deg":75.6657664,"latitude_deg":11.957276,"altitude":47,"angle":169,"satellites":41,"speed":30,"hex_longitude":"2d19ae00","hex_latitude":"07208918","is_valid_coordinates":true} 
[2026-08-05 19:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200232192001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10794996571570176,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274320896,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938409000,"timestamp_ms":1785938409000,"timestamp_seconds":1785938409,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2397628"} 
[2026-08-05 19:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:32: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-08-05 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-05 19:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:32: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-08-05 19:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200232192001,"66":12667,"103":206,"83":41984,"24":30,"16":10794996571570176,"45":1850205421274320896},"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-08-05 19:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200232192001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:32:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-05 19:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10794996571570176,"km_value":10794996571570.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274320896,"description":"Unknown IO ID 45"} 
[2026-08-05 19:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200232192001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1850205421274320896}} 
[2026-08-05 19:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":149846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:32:15] local.INFO: GPS data processed {"connection_id":149846,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:32:15] local.INFO: Acknowledgment sent {"connection_id":149846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:32:19] local.INFO: TCP Data received {"connection_id":148624,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:32:19] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:32:19] local.INFO: IMEI packet received {"connection_id":148624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":148624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:32:24] local.INFO: TCP Data received {"connection_id":148624,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:32:24] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:32:24] local.INFO: IMEI packet received {"connection_id":148624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":148624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:32:26] local.INFO: TCP Data received {"connection_id":148624,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:32:26] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:32:26] local.INFO: Packet analysis {"connection_id":148624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:32:26] local.INFO: Extracted packet for processing {"connection_id":148624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:32:26] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200171264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785938470000,"timestamp_ms":1785938470000,"timestamp_seconds":1785938470,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23a6470"} 
[2026-08-05 19:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200171264001,"66":25615,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200171264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:32:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200171264001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":148624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:32:26] local.INFO: GPS data processed {"connection_id":148624,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:32:26] local.INFO: Acknowledgment sent {"connection_id":148624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:32:47] local.INFO: TCP Data received {"connection_id":149846,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23ae170012d19cf00072018b0002b00a92a..."} 
[2026-08-05 19:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23ae170012d19cf00072018b0002b00a92a..."} 
[2026-08-05 19:32:47] local.INFO: Processing buffer {"connection_id":149846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23ae170012d19cf00072018b0002b00a92a..."} 
[2026-08-05 19:32:47] local.INFO: Packet analysis {"connection_id":149846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:32:47] local.INFO: Extracted packet for processing {"connection_id":149846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543984,"longitude_deg":75.6666112,"latitude_deg":11.9543984,"altitude":43,"angle":169,"satellites":42,"speed":2,"hex_longitude":"2d19cf00","hex_latitude":"072018b0","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200256256001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796478335287296,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730580480,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785938502000,"timestamp_ms":1785938502000,"timestamp_seconds":1785938502,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23ae170"} 
[2026-08-05 19:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-05 19:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:32: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-08-05 19:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200256256001,"66":12928,"101":206,"83":41984,"24":2,"16":10796478335287296,"45":1859705201730580480},"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-08-05 19:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200256256001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:32:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796478335287296,"km_value":10796478335287.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730580480,"description":"Unknown IO ID 45"} 
[2026-08-05 19:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200256256001,"power":12928,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1859705201730580480}} 
[2026-08-05 19:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":149846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:32:47] local.INFO: GPS data processed {"connection_id":149846,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:32:47] local.INFO: Acknowledgment sent {"connection_id":149846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:32:57] local.INFO: TCP Data received {"connection_id":148624,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:32:57] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:32:57] local.INFO: Packet analysis {"connection_id":148624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:32:57] local.INFO: Extracted packet for processing {"connection_id":148624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:32:57] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200171264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785938470000,"timestamp_ms":1785938470000,"timestamp_seconds":1785938470,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23a6470"} 
[2026-08-05 19:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200171264001,"66":25615,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200171264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:32:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200171264001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":148624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:32:57] local.INFO: GPS data processed {"connection_id":148624,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:32:57] local.INFO: Acknowledgment sent {"connection_id":148624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:33:14] local.INFO: TCP Data received {"connection_id":149847,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:33:14] local.INFO: Processing buffer {"connection_id":149847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:33:14] local.INFO: IMEI packet received {"connection_id":149847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":149847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:33:19] local.INFO: TCP Data received {"connection_id":149848,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:33:19] local.INFO: Processing buffer {"connection_id":149848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:33:19] local.INFO: IMEI packet received {"connection_id":149848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":149848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:33:19] local.INFO: TCP Data received {"connection_id":149847,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:33:19] local.INFO: Processing buffer {"connection_id":149847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:33:19] local.INFO: IMEI packet received {"connection_id":149847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":149847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:33:20] local.INFO: TCP Data received {"connection_id":149847,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23ae558012d19cf0007201888002b00b42a..."} 
[2026-08-05 19:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23ae558012d19cf0007201888002b00b42a..."} 
[2026-08-05 19:33:20] local.INFO: Processing buffer {"connection_id":149847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23ae558012d19cf0007201888002b00b42a..."} 
[2026-08-05 19:33:20] local.INFO: Packet analysis {"connection_id":149847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:33:20] local.INFO: Extracted packet for processing {"connection_id":149847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:33:20] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543944,"longitude_deg":75.6666112,"latitude_deg":11.9543944,"altitude":43,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201888","is_valid_coordinates":true} 
[2026-08-05 19:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200256512001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730564096,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938503000,"timestamp_ms":1785938503000,"timestamp_seconds":1785938503,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23ae558"} 
[2026-08-05 19:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-05 19:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200256512001,"66":12928,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730564096},"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-08-05 19:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200256512001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:33:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:33:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730564096,"description":"Unknown IO ID 45"} 
[2026-08-05 19:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200256512001,"power":12928,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730564096}} 
[2026-08-05 19:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":149847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:33:20] local.INFO: GPS data processed {"connection_id":149847,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:33:20] local.INFO: Acknowledgment sent {"connection_id":149847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:33:24] local.INFO: TCP Data received {"connection_id":149848,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:33:24] local.INFO: Processing buffer {"connection_id":149848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:33:24] local.INFO: IMEI packet received {"connection_id":149848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":149848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:33:25] local.INFO: TCP Data received {"connection_id":149847,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23b3760012d19cf0007201868002b00b429..."} 
[2026-08-05 19:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23b3760012d19cf0007201868002b00b429..."} 
[2026-08-05 19:33:25] local.INFO: Processing buffer {"connection_id":149847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23b3760012d19cf0007201868002b00b429..."} 
[2026-08-05 19:33:25] local.INFO: Packet analysis {"connection_id":149847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23b"} 
[2026-08-05 19:33:25] local.INFO: Extracted packet for processing {"connection_id":149847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23b"} 
[2026-08-05 19:33:25] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200256768001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730553856,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785938524000,"timestamp_ms":1785938524000,"timestamp_seconds":1785938524,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23b3760"} 
[2026-08-05 19:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-05 19:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200256768001,"66":12885,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730553856},"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-08-05 19:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200256768001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:33:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:33:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730553856,"description":"Unknown IO ID 45"} 
[2026-08-05 19:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200256768001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730553856}} 
[2026-08-05 19:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":149847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:33:25] local.INFO: GPS data processed {"connection_id":149847,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:33:25] local.INFO: Acknowledgment sent {"connection_id":149847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:33:27] local.INFO: TCP Data received {"connection_id":149848,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:33:27] local.INFO: Processing buffer {"connection_id":149848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:33:27] local.INFO: Packet analysis {"connection_id":149848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:33:27] local.INFO: Extracted packet for processing {"connection_id":149848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:33:27] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200171264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785938470000,"timestamp_ms":1785938470000,"timestamp_seconds":1785938470,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23a6470"} 
[2026-08-05 19:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":149848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":149848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":149848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200171264001,"66":25615,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200171264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:33:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200171264001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":149848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:33:27] local.INFO: GPS data processed {"connection_id":149848,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:33:27] local.INFO: Acknowledgment sent {"connection_id":149848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:33:29] local.INFO: TCP Data received {"connection_id":149848,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:33:29] local.INFO: Processing buffer {"connection_id":149848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:33:29] local.INFO: Packet analysis {"connection_id":149848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:33:29] local.INFO: Extracted packet for processing {"connection_id":149848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:33:29] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200171264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785938470000,"timestamp_ms":1785938470000,"timestamp_seconds":1785938470,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23a6470"} 
[2026-08-05 19:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200171264001,"66":25615,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200171264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:33:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200171264001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":149848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:33:29] local.INFO: GPS data processed {"connection_id":149848,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:33:29] local.INFO: Acknowledgment sent {"connection_id":149848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:34:06] local.INFO: TCP Data received {"connection_id":149849,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:34:06] local.INFO: Processing buffer {"connection_id":149849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:34:06] local.INFO: IMEI packet received {"connection_id":149849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":149849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:34:09] local.INFO: TCP Data received {"connection_id":149849,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:34:09] local.INFO: Processing buffer {"connection_id":149849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:34:09] local.INFO: IMEI packet received {"connection_id":149849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":149849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:34:14] local.INFO: TCP Data received {"connection_id":148625,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:34:14] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:34:14] local.INFO: IMEI packet received {"connection_id":148625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":148625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:34:14] local.INFO: TCP Data received {"connection_id":149849,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:34:14] local.INFO: Processing buffer {"connection_id":149849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:34:14] local.INFO: IMEI packet received {"connection_id":149849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":149849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:34:15] local.INFO: TCP Data received {"connection_id":149849,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23b8968012d19cf0007201868002b00b427..."} 
[2026-08-05 19:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23b8968012d19cf0007201868002b00b427..."} 
[2026-08-05 19:34:15] local.INFO: Processing buffer {"connection_id":149849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23b8968012d19cf0007201868002b00b427..."} 
[2026-08-05 19:34:15] local.INFO: Packet analysis {"connection_id":149849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23b"} 
[2026-08-05 19:34:15] local.INFO: Extracted packet for processing {"connection_id":149849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23b"} 
[2026-08-05 19:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200262144001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938545000,"timestamp_ms":1785938545000,"timestamp_seconds":1785938545,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23b8968"} 
[2026-08-05 19:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:34: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-08-05 19:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 19:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:34: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-08-05 19:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200262144001,"66":12722,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200262144001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:34:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200262144001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":149849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:34:15] local.INFO: GPS data processed {"connection_id":149849,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:34:15] local.INFO: Acknowledgment sent {"connection_id":149849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:34:19] local.INFO: TCP Data received {"connection_id":148625,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:34:19] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:34:19] local.INFO: IMEI packet received {"connection_id":148625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":148625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:34:20] local.INFO: TCP Data received {"connection_id":148625,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:34:20] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:34:20] local.INFO: Packet analysis {"connection_id":148625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:34:20] local.INFO: Extracted packet for processing {"connection_id":148625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:34:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200171264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938470000,"timestamp_ms":1785938470000,"timestamp_seconds":1785938470,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23a6470"} 
[2026-08-05 19:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:34: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-08-05 19: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-08-05 19:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200171264001,"66":25615,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200171264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:34:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200171264001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":148625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:34:20] local.INFO: GPS data processed {"connection_id":148625,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:34:20] local.INFO: Acknowledgment sent {"connection_id":148625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:34:46] local.INFO: TCP Data received {"connection_id":149849,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23bdb70012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23bdb70012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:34:46] local.INFO: Processing buffer {"connection_id":149849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23bdb70012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:34:46] local.INFO: Packet analysis {"connection_id":149849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23b"} 
[2026-08-05 19:34:46] local.INFO: Extracted packet for processing {"connection_id":149849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23b"} 
[2026-08-05 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200267520001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34: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-08-05 19:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785938566000,"timestamp_ms":1785938566000,"timestamp_seconds":1785938566,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23bdb70"} 
[2026-08-05 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-08-05 19:34: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-08-05 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 19:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 19:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:34: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-08-05 19:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200267520001,"66":12917,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200267520001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:34:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200267520001,"power":12917,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":149849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:34:46] local.INFO: GPS data processed {"connection_id":149849,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:34:46] local.INFO: Acknowledgment sent {"connection_id":149849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:34:51] local.INFO: TCP Data received {"connection_id":148625,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:34:51] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:34:51] local.INFO: Packet analysis {"connection_id":148625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:34:51] local.INFO: Extracted packet for processing {"connection_id":148625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:34:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200171264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785938470000,"timestamp_ms":1785938470000,"timestamp_seconds":1785938470,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23a6470"} 
[2026-08-05 19:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:34: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-08-05 19:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200171264001,"66":25615,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200171264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:34:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200171264001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":148625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:34:51] local.INFO: GPS data processed {"connection_id":148625,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:34:51] local.INFO: Acknowledgment sent {"connection_id":148625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:35:10] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:35:10] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:35:10] local.INFO: IMEI packet received {"connection_id":148626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":148626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:35:10] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:35:10] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:35:10] local.INFO: IMEI packet received {"connection_id":148626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":148626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:35:14] local.INFO: TCP Data received {"connection_id":149850,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:35:14] local.INFO: Processing buffer {"connection_id":149850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:35:14] local.INFO: IMEI packet received {"connection_id":149850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":149850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:35:14] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:35:14] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:35:14] local.INFO: IMEI packet received {"connection_id":148626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":148626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:35:15] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23c2d78012d19cf0007201868002b00b429..."} 
[2026-08-05 19:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23c2d78012d19cf0007201868002b00b429..."} 
[2026-08-05 19:35:15] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23c2d78012d19cf0007201868002b00b429..."} 
[2026-08-05 19:35:15] local.INFO: Packet analysis {"connection_id":148626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23c"} 
[2026-08-05 19:35:15] local.INFO: Extracted packet for processing {"connection_id":148626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23c"} 
[2026-08-05 19:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200272896001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938587000,"timestamp_ms":1785938587000,"timestamp_seconds":1785938587,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23c2d78"} 
[2026-08-05 19:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:35: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-08-05 19:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-05 19:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:35: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-08-05 19:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200272896001,"66":12863,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200272896001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:35:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200272896001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":148626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:35:15] local.INFO: GPS data processed {"connection_id":148626,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:35:15] local.INFO: Acknowledgment sent {"connection_id":148626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:35:19] local.INFO: TCP Data received {"connection_id":149850,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:35:19] local.INFO: Processing buffer {"connection_id":149850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:35:19] local.INFO: IMEI packet received {"connection_id":149850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":149850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:35:20] local.INFO: TCP Data received {"connection_id":149850,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:35:20] local.INFO: Processing buffer {"connection_id":149850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:35:20] local.INFO: Packet analysis {"connection_id":149850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:35:20] local.INFO: Extracted packet for processing {"connection_id":149850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:35:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200171264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938470000,"timestamp_ms":1785938470000,"timestamp_seconds":1785938470,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23a6470"} 
[2026-08-05 19:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:35: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-08-05 19:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200171264001,"66":25615,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200171264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:35:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200171264001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":149850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:35:20] local.INFO: GPS data processed {"connection_id":149850,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:35:20] local.INFO: Acknowledgment sent {"connection_id":149850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:35:46] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23c7f80012d19cf0007201868002b00b427..."} 
[2026-08-05 19:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23c7f80012d19cf0007201868002b00b427..."} 
[2026-08-05 19:35:46] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23c7f80012d19cf0007201868002b00b427..."} 
[2026-08-05 19:35:46] local.INFO: Packet analysis {"connection_id":148626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23c"} 
[2026-08-05 19:35:46] local.INFO: Extracted packet for processing {"connection_id":148626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23c"} 
[2026-08-05 19:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200278272001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35: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-08-05 19:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785938608000,"timestamp_ms":1785938608000,"timestamp_seconds":1785938608,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23c7f80"} 
[2026-08-05 19:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:35: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-08-05 19:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-05 19:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:35: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-08-05 19:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200278272001,"66":12809,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200278272001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:35:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200278272001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":148626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:35:46] local.INFO: GPS data processed {"connection_id":148626,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:35:46] local.INFO: Acknowledgment sent {"connection_id":148626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:35:52] local.INFO: TCP Data received {"connection_id":149850,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:35:52] local.INFO: Processing buffer {"connection_id":149850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:35:52] local.INFO: Packet analysis {"connection_id":149850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:35:52] local.INFO: Extracted packet for processing {"connection_id":149850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:35:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200171264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785938470000,"timestamp_ms":1785938470000,"timestamp_seconds":1785938470,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23a6470"} 
[2026-08-05 19:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200171264001,"66":25615,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200171264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:35:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200171264001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":149850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:35:52] local.INFO: GPS data processed {"connection_id":149850,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:35:52] local.INFO: Acknowledgment sent {"connection_id":149850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:36:09] local.INFO: TCP Data received {"connection_id":148836,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:36:09] local.INFO: Processing buffer {"connection_id":148836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:36:09] local.INFO: IMEI packet received {"connection_id":148836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":148836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:36:13] local.INFO: TCP Data received {"connection_id":148836,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:36:13] local.INFO: Processing buffer {"connection_id":148836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:36:13] local.INFO: IMEI packet received {"connection_id":148836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":148836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:36:13] local.INFO: TCP Data received {"connection_id":148836,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23cd188012d19cf0007201868002b00b429..."} 
[2026-08-05 19:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23cd188012d19cf0007201868002b00b429..."} 
[2026-08-05 19:36:13] local.INFO: Processing buffer {"connection_id":148836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23cd188012d19cf0007201868002b00b429..."} 
[2026-08-05 19:36:13] local.INFO: Packet analysis {"connection_id":148836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23c"} 
[2026-08-05 19:36:13] local.INFO: Extracted packet for processing {"connection_id":148836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23c"} 
[2026-08-05 19:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200283648001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36: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-08-05 19:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785938629000,"timestamp_ms":1785938629000,"timestamp_seconds":1785938629,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23cd188"} 
[2026-08-05 19:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3527074160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4241695962685886208,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146119880454573,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2312862292166874154,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:13] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:13] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,91,159,45,43,41,10,66,219,137,1,240,178,227,210,32,4,113,205,229,207,136,42,239,50,2,38,7,164,87],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-05 19:36:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098674623227625472,"timestamp_seconds":3098674623227625.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 19:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:36: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-08-05 19:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200283648001,"66":12841,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200283648001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:36:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200283648001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":148836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:36:13] local.INFO: GPS data processed {"connection_id":148836,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:36:13] local.INFO: Acknowledgment sent {"connection_id":148836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:36:14] local.INFO: TCP Data received {"connection_id":148627,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:36:14] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:36:14] local.INFO: IMEI packet received {"connection_id":148627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":148627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:36:19] local.INFO: TCP Data received {"connection_id":148627,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:36:19] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:36:19] local.INFO: IMEI packet received {"connection_id":148627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":148627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:36:20] local.INFO: TCP Data received {"connection_id":148627,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:36:20] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23a6470012d77a54005f279380008000028..."} 
[2026-08-05 19:36:20] local.INFO: Packet analysis {"connection_id":148627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:36:20] local.INFO: Extracted packet for processing {"connection_id":148627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23a"} 
[2026-08-05 19:36:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200171264001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938470000,"timestamp_ms":1785938470000,"timestamp_seconds":1785938470,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23a6470"} 
[2026-08-05 19:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:36: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-08-05 19:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200171264001,"66":25615,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200171264001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:36:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200171264001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":148627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:36:20] local.INFO: GPS data processed {"connection_id":148627,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:36:20] local.INFO: Acknowledgment sent {"connection_id":148627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:36:44] local.INFO: TCP Data received {"connection_id":148836,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23d2390012d19cf0007201868002b00b428..."} 
[2026-08-05 19:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23d2390012d19cf0007201868002b00b428..."} 
[2026-08-05 19:36:44] local.INFO: Processing buffer {"connection_id":148836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23d2390012d19cf0007201868002b00b428..."} 
[2026-08-05 19:36:44] local.INFO: Packet analysis {"connection_id":148836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23d"} 
[2026-08-05 19:36:44] local.INFO: Extracted packet for processing {"connection_id":148836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23d"} 
[2026-08-05 19:36:44] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":40,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200289024001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785938650000,"timestamp_ms":1785938650000,"timestamp_seconds":1785938650,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23d2390"} 
[2026-08-05 19:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-05 19:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200289024001,"66":12776,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200289024001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:36:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:36:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200289024001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":148836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:36:44] local.INFO: GPS data processed {"connection_id":148836,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:36:44] local.INFO: Acknowledgment sent {"connection_id":148836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:36:51] local.INFO: TCP Data received {"connection_id":148627,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:36:51] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:36:51] local.INFO: Packet analysis {"connection_id":148627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:36:51] local.INFO: Extracted packet for processing {"connection_id":148627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:36:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200248320001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785938771000,"timestamp_ms":1785938771000,"timestamp_seconds":1785938771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23efc38"} 
[2026-08-05 19:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 19:36: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-08-05 19:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200248320001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200248320001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:36:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200248320001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":148627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:36:51] local.INFO: GPS data processed {"connection_id":148627,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:36:51] local.INFO: Acknowledgment sent {"connection_id":148627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:37:10] local.INFO: TCP Data received {"connection_id":151275,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:37:10] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:37:10] local.INFO: IMEI packet received {"connection_id":151275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":151275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:37:14] local.INFO: TCP Data received {"connection_id":151275,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:37:14] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:37:14] local.INFO: IMEI packet received {"connection_id":151275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":151275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:37:15] local.INFO: TCP Data received {"connection_id":151275,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23d7598012d19cf0007201868002b00b429..."} 
[2026-08-05 19:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23d7598012d19cf0007201868002b00b429..."} 
[2026-08-05 19:37:15] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23d7598012d19cf0007201868002b00b429..."} 
[2026-08-05 19:37:15] local.INFO: Packet analysis {"connection_id":151275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23d"} 
[2026-08-05 19:37:15] local.INFO: Extracted packet for processing {"connection_id":151275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23d"} 
[2026-08-05 19:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200294400001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938671000,"timestamp_ms":1785938671000,"timestamp_seconds":1785938671,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23d7598"} 
[2026-08-05 19:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-05 19:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:37: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-08-05 19:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200294400001,"66":12809,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200294400001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:37:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200294400001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":151275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:37:15] local.INFO: GPS data processed {"connection_id":151275,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:37:15] local.INFO: Acknowledgment sent {"connection_id":151275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:37:20] local.INFO: TCP Data received {"connection_id":148837,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:37:20] local.INFO: Processing buffer {"connection_id":148837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:37:20] local.INFO: IMEI packet received {"connection_id":148837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":148837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:37:24] local.INFO: TCP Data received {"connection_id":148837,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:37:24] local.INFO: Processing buffer {"connection_id":148837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:37:24] local.INFO: IMEI packet received {"connection_id":148837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":148837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:37:25] local.INFO: TCP Data received {"connection_id":148837,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:37:25] local.INFO: Processing buffer {"connection_id":148837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:37:25] local.INFO: Packet analysis {"connection_id":148837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:37:25] local.INFO: Extracted packet for processing {"connection_id":148837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:37:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200248320001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785938771000,"timestamp_ms":1785938771000,"timestamp_seconds":1785938771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23efc38"} 
[2026-08-05 19:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 19:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200248320001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200248320001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:37:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200248320001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":148837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:37:25] local.INFO: GPS data processed {"connection_id":148837,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:37:25] local.INFO: Acknowledgment sent {"connection_id":148837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:37:30] local.INFO: TCP Data received {"connection_id":148837,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:37:30] local.INFO: Processing buffer {"connection_id":148837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:37:30] local.INFO: Packet analysis {"connection_id":148837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:37:30] local.INFO: Extracted packet for processing {"connection_id":148837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:37:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200248320001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785938771000,"timestamp_ms":1785938771000,"timestamp_seconds":1785938771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23efc38"} 
[2026-08-05 19:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 19:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200248320001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200248320001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:37:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200248320001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":148837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:37:30] local.INFO: GPS data processed {"connection_id":148837,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:37:30] local.INFO: Acknowledgment sent {"connection_id":148837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:37:46] local.INFO: TCP Data received {"connection_id":151275,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23dc7a0012d19cf0007201868002b00b427..."} 
[2026-08-05 19:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23dc7a0012d19cf0007201868002b00b427..."} 
[2026-08-05 19:37:46] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23dc7a0012d19cf0007201868002b00b427..."} 
[2026-08-05 19:37:46] local.INFO: Packet analysis {"connection_id":151275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23d"} 
[2026-08-05 19:37:46] local.INFO: Extracted packet for processing {"connection_id":151275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23d"} 
[2026-08-05 19:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200299776001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37: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-08-05 19:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785938692000,"timestamp_ms":1785938692000,"timestamp_seconds":1785938692,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23dc7a0"} 
[2026-08-05 19:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-05 19:37:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3527117160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:46] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4266984730124734208,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 19:37:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2312712758585504809,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-5620266417984057773,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-05 19:37:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,91,159,35,45,43,40,10,66,209,41,127,1,240,9,227,210,32,4,113,205,219,207,104,239,50,2,38,7,49,164,88],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-05 19:37:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098674631817560064,"timestamp_seconds":3098674631817560.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 19:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:37: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-08-05 19:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200299776001,"66":12798,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200299776001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:37:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200299776001,"power":12798,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":151275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:37:47] local.INFO: GPS data processed {"connection_id":151275,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:37:47] local.INFO: Acknowledgment sent {"connection_id":151275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:38:09] local.INFO: TCP Data received {"connection_id":149851,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:38:09] local.INFO: Processing buffer {"connection_id":149851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:38:09] local.INFO: IMEI packet received {"connection_id":149851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":149851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:38:14] local.INFO: TCP Data received {"connection_id":149851,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:38:14] local.INFO: Processing buffer {"connection_id":149851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:38:14] local.INFO: IMEI packet received {"connection_id":149851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":149851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:38:15] local.INFO: TCP Data received {"connection_id":148838,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:38:15] local.INFO: Processing buffer {"connection_id":148838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:38:15] local.INFO: IMEI packet received {"connection_id":148838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":148838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:38:15] local.INFO: TCP Data received {"connection_id":149851,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23e19a8012d19cf0007201868002b00b426..."} 
[2026-08-05 19:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23e19a8012d19cf0007201868002b00b426..."} 
[2026-08-05 19:38:15] local.INFO: Processing buffer {"connection_id":149851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23e19a8012d19cf0007201868002b00b426..."} 
[2026-08-05 19:38:15] local.INFO: Packet analysis {"connection_id":149851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:38:15] local.INFO: Extracted packet for processing {"connection_id":149851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200305152001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938713000,"timestamp_ms":1785938713000,"timestamp_seconds":1785938713,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23e19a8"} 
[2026-08-05 19:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:38: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-08-05 19:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 19:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:38: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-08-05 19:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200305152001,"66":12798,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200305152001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:38:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200305152001,"power":12798,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":149851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:38:15] local.INFO: GPS data processed {"connection_id":149851,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:38:15] local.INFO: Acknowledgment sent {"connection_id":149851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:38:19] local.INFO: TCP Data received {"connection_id":148838,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:38:19] local.INFO: Processing buffer {"connection_id":148838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:38:19] local.INFO: IMEI packet received {"connection_id":148838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":148838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:38:20] local.INFO: TCP Data received {"connection_id":148838,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:38:20] local.INFO: Processing buffer {"connection_id":148838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:38:20] local.INFO: Packet analysis {"connection_id":148838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:38:20] local.INFO: Extracted packet for processing {"connection_id":148838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:38:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200248320001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938771000,"timestamp_ms":1785938771000,"timestamp_seconds":1785938771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23efc38"} 
[2026-08-05 19:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19: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-08-05 19:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200248320001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200248320001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:38:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200248320001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":148838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:38:20] local.INFO: GPS data processed {"connection_id":148838,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:38:20] local.INFO: Acknowledgment sent {"connection_id":148838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:38:46] local.INFO: TCP Data received {"connection_id":149851,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23e6bb0012d19cf0007201868002b00b429..."} 
[2026-08-05 19:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23e6bb0012d19cf0007201868002b00b429..."} 
[2026-08-05 19:38:46] local.INFO: Processing buffer {"connection_id":149851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23e6bb0012d19cf0007201868002b00b429..."} 
[2026-08-05 19:38:46] local.INFO: Packet analysis {"connection_id":149851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:38:46] local.INFO: Extracted packet for processing {"connection_id":149851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200310528001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38: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-08-05 19:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785938734000,"timestamp_ms":1785938734000,"timestamp_seconds":1785938734,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23e6bb0"} 
[2026-08-05 19:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:38: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-08-05 19:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-05 19:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:38: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-08-05 19:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200310528001,"66":12765,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200310528001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:38:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200310528001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":149851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:38:46] local.INFO: GPS data processed {"connection_id":149851,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:38:46] local.INFO: Acknowledgment sent {"connection_id":149851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:38:52] local.INFO: TCP Data received {"connection_id":148838,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:38:52] local.INFO: Processing buffer {"connection_id":148838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:38:52] local.INFO: Packet analysis {"connection_id":148838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:38:52] local.INFO: Extracted packet for processing {"connection_id":148838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:38:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200248320001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785938771000,"timestamp_ms":1785938771000,"timestamp_seconds":1785938771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23efc38"} 
[2026-08-05 19:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 19:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200248320001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200248320001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:38:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200248320001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":148838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:38:52] local.INFO: GPS data processed {"connection_id":148838,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:38:52] local.INFO: Acknowledgment sent {"connection_id":148838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:39:14] local.INFO: TCP Data received {"connection_id":148628,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:39:14] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:39:14] local.INFO: IMEI packet received {"connection_id":148628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":148628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:39:14] local.INFO: TCP Data received {"connection_id":151276,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:39:14] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:39:14] local.INFO: IMEI packet received {"connection_id":151276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":151276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:39:19] local.INFO: TCP Data received {"connection_id":148628,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:39:19] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:39:19] local.INFO: IMEI packet received {"connection_id":148628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":148628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:39:19] local.INFO: TCP Data received {"connection_id":151276,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:39:19] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:39:19] local.INFO: IMEI packet received {"connection_id":151276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":151276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:39:20] local.INFO: TCP Data received {"connection_id":151276,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23ebdb8012d19cf0007201868002b00b426..."} 
[2026-08-05 19:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23ebdb8012d19cf0007201868002b00b426..."} 
[2026-08-05 19:39:20] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23ebdb8012d19cf0007201868002b00b426..."} 
[2026-08-05 19:39:20] local.INFO: Packet analysis {"connection_id":151276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:39:20] local.INFO: Extracted packet for processing {"connection_id":151276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:39:20] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200315904001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938755000,"timestamp_ms":1785938755000,"timestamp_seconds":1785938755,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23ebdb8"} 
[2026-08-05 19:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-05 19:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200315904001,"66":12743,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200315904001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:39:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:39:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200315904001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":151276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:39:20] local.INFO: GPS data processed {"connection_id":151276,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:39:20] local.INFO: Acknowledgment sent {"connection_id":151276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:39:20] local.INFO: TCP Data received {"connection_id":148628,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:39:20] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:39:20] local.INFO: Packet analysis {"connection_id":148628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:39:20] local.INFO: Extracted packet for processing {"connection_id":148628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:39:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200248320001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938771000,"timestamp_ms":1785938771000,"timestamp_seconds":1785938771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23efc38"} 
[2026-08-05 19:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 19:39: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-08-05 19:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200248320001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200248320001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:39:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200248320001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":148628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:39:21] local.INFO: GPS data processed {"connection_id":148628,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:39:21] local.INFO: Acknowledgment sent {"connection_id":148628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:39:21] local.INFO: TCP Data received {"connection_id":151276,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23f0fc0012d19cf0007201868002b00b429..."} 
[2026-08-05 19:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23f0fc0012d19cf0007201868002b00b429..."} 
[2026-08-05 19:39:21] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23f0fc0012d19cf0007201868002b00b429..."} 
[2026-08-05 19:39:21] local.INFO: Packet analysis {"connection_id":151276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23f"} 
[2026-08-05 19:39:21] local.INFO: Extracted packet for processing {"connection_id":151276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23f"} 
[2026-08-05 19:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200321280001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785938776000,"timestamp_ms":1785938776000,"timestamp_seconds":1785938776,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23f0fc0"} 
[2026-08-05 19:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-05 19:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200321280001,"66":12722,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200321280001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:39:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200321280001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":151276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:39:21] local.INFO: GPS data processed {"connection_id":151276,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:39:21] local.INFO: Acknowledgment sent {"connection_id":151276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:39:52] local.INFO: TCP Data received {"connection_id":151276,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23f61c8012d19cf0007201868002b00b425..."} 
[2026-08-05 19:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23f61c8012d19cf0007201868002b00b425..."} 
[2026-08-05 19:39:52] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23f61c8012d19cf0007201868002b00b425..."} 
[2026-08-05 19:39:52] local.INFO: Packet analysis {"connection_id":151276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23f"} 
[2026-08-05 19:39:52] local.INFO: Extracted packet for processing {"connection_id":151276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23f"} 
[2026-08-05 19:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200326656001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785938797000,"timestamp_ms":1785938797000,"timestamp_seconds":1785938797,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23f61c8"} 
[2026-08-05 19:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 19:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200326656001,"66":12689,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200326656001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:39:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200326656001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":151276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:39:52] local.INFO: GPS data processed {"connection_id":151276,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:39:52] local.INFO: Acknowledgment sent {"connection_id":151276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:39:52] local.INFO: TCP Data received {"connection_id":148628,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:39:52] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:39:52] local.INFO: Packet analysis {"connection_id":148628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:39:52] local.INFO: Extracted packet for processing {"connection_id":148628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:39:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200248320001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785938771000,"timestamp_ms":1785938771000,"timestamp_seconds":1785938771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23efc38"} 
[2026-08-05 19:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 19:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200248320001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200248320001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:39:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200248320001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":148628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:39:52] local.INFO: GPS data processed {"connection_id":148628,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:39:52] local.INFO: Acknowledgment sent {"connection_id":148628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:40:09] local.INFO: TCP Data received {"connection_id":148839,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:40:09] local.INFO: Processing buffer {"connection_id":148839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:40:09] local.INFO: IMEI packet received {"connection_id":148839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":148839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:40:14] local.INFO: TCP Data received {"connection_id":148840,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:40:14] local.INFO: Processing buffer {"connection_id":148840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:40:14] local.INFO: IMEI packet received {"connection_id":148840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":148840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:40:14] local.INFO: TCP Data received {"connection_id":148839,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:40:14] local.INFO: Processing buffer {"connection_id":148839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:40:14] local.INFO: IMEI packet received {"connection_id":148839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":148839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:40:15] local.INFO: TCP Data received {"connection_id":148839,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23fb3d0012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23fb3d0012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:40:15] local.INFO: Processing buffer {"connection_id":148839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23fb3d0012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:40:15] local.INFO: Packet analysis {"connection_id":148839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23f"} 
[2026-08-05 19:40:15] local.INFO: Extracted packet for processing {"connection_id":148839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23f"} 
[2026-08-05 19:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200332032001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938818000,"timestamp_ms":1785938818000,"timestamp_seconds":1785938818,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23fb3d0"} 
[2026-08-05 19:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:40: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-08-05 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 19:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:40: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-08-05 19:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200332032001,"66":12722,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200332032001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:40:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200332032001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":148839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:40:15] local.INFO: GPS data processed {"connection_id":148839,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:40:15] local.INFO: Acknowledgment sent {"connection_id":148839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:40:19] local.INFO: TCP Data received {"connection_id":148840,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:40:19] local.INFO: Processing buffer {"connection_id":148840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:40:19] local.INFO: IMEI packet received {"connection_id":148840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":148840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:40:20] local.INFO: TCP Data received {"connection_id":148839,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24005d8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24005d8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:40:20] local.INFO: Processing buffer {"connection_id":148839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24005d8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:40:20] local.INFO: Packet analysis {"connection_id":148839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd240"} 
[2026-08-05 19:40:20] local.INFO: Extracted packet for processing {"connection_id":148839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd240"} 
[2026-08-05 19:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200337408001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938839000,"timestamp_ms":1785938839000,"timestamp_seconds":1785938839,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24005d8"} 
[2026-08-05 19:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-05 19:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200337408001,"66":12645,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200337408001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:40:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200337408001,"power":12645,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":148839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:40:20] local.INFO: GPS data processed {"connection_id":148839,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:40:20] local.INFO: Acknowledgment sent {"connection_id":148839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:40:20] local.INFO: TCP Data received {"connection_id":148840,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:40:20] local.INFO: Processing buffer {"connection_id":148840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:40:20] local.INFO: Packet analysis {"connection_id":148840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:40:20] local.INFO: Extracted packet for processing {"connection_id":148840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:40:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200248320001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785938771000,"timestamp_ms":1785938771000,"timestamp_seconds":1785938771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23efc38"} 
[2026-08-05 19:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 19:40: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-08-05 19:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200248320001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200248320001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:40:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200248320001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":148840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:40:20] local.INFO: GPS data processed {"connection_id":148840,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:40:20] local.INFO: Acknowledgment sent {"connection_id":148840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:40:51] local.INFO: TCP Data received {"connection_id":148839,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24057e0012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24057e0012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:40:51] local.INFO: Processing buffer {"connection_id":148839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24057e0012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:40:51] local.INFO: Packet analysis {"connection_id":148839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd240"} 
[2026-08-05 19:40:51] local.INFO: Extracted packet for processing {"connection_id":148839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd240"} 
[2026-08-05 19:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200342784001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785938860000,"timestamp_ms":1785938860000,"timestamp_seconds":1785938860,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24057e0"} 
[2026-08-05 19:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-05 19:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200342784001,"66":12678,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200342784001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:40:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200342784001,"power":12678,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":148839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:40:51] local.INFO: GPS data processed {"connection_id":148839,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:40:51] local.INFO: Acknowledgment sent {"connection_id":148839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:40:52] local.INFO: TCP Data received {"connection_id":148840,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:40:52] local.INFO: Processing buffer {"connection_id":148840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:40:52] local.INFO: Packet analysis {"connection_id":148840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:40:52] local.INFO: Extracted packet for processing {"connection_id":148840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:40:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200248320001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785938771000,"timestamp_ms":1785938771000,"timestamp_seconds":1785938771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23efc38"} 
[2026-08-05 19:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 19:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200248320001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200248320001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:40:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200248320001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":148840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:40:52] local.INFO: GPS data processed {"connection_id":148840,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:40:52] local.INFO: Acknowledgment sent {"connection_id":148840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:41:06] local.INFO: TCP Data received {"connection_id":151277,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:41:06] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:41:06] local.INFO: IMEI packet received {"connection_id":151277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":151277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:41:09] local.INFO: TCP Data received {"connection_id":151277,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:41:09] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:41:09] local.INFO: IMEI packet received {"connection_id":151277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":151277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:41:14] local.INFO: TCP Data received {"connection_id":151277,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:41:14] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:41:14] local.INFO: IMEI packet received {"connection_id":151277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":151277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:41:15] local.INFO: TCP Data received {"connection_id":151277,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd240a9e8012d19cf0007201868002b00b428..."} 
[2026-08-05 19:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd240a9e8012d19cf0007201868002b00b428..."} 
[2026-08-05 19:41:15] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd240a9e8012d19cf0007201868002b00b428..."} 
[2026-08-05 19:41:15] local.INFO: Packet analysis {"connection_id":151277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd240"} 
[2026-08-05 19:41:15] local.INFO: Extracted packet for processing {"connection_id":151277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd240"} 
[2026-08-05 19:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":40,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200348160001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938881000,"timestamp_ms":1785938881000,"timestamp_seconds":1785938881,"priority":1,"record_length":96,"hex_timestamp":"0000019fd240a9e8"} 
[2026-08-05 19:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:41: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-08-05 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 19:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:41: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-08-05 19:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200348160001,"66":12689,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200348160001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:41:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200348160001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":151277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:41:15] local.INFO: GPS data processed {"connection_id":151277,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:41:15] local.INFO: Acknowledgment sent {"connection_id":151277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:41:19] local.INFO: TCP Data received {"connection_id":148841,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:41:19] local.INFO: Processing buffer {"connection_id":148841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:41:19] local.INFO: IMEI packet received {"connection_id":148841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":148841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:41:24] local.INFO: TCP Data received {"connection_id":148841,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:41:24] local.INFO: Processing buffer {"connection_id":148841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:41:24] local.INFO: IMEI packet received {"connection_id":148841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":148841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:41:25] local.INFO: TCP Data received {"connection_id":148841,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:41:25] local.INFO: Processing buffer {"connection_id":148841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:41:25] local.INFO: Packet analysis {"connection_id":148841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:41:25] local.INFO: Extracted packet for processing {"connection_id":148841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:41:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200248320001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785938771000,"timestamp_ms":1785938771000,"timestamp_seconds":1785938771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23efc38"} 
[2026-08-05 19:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 19:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200248320001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200248320001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:41:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200248320001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":148841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:41:25] local.INFO: GPS data processed {"connection_id":148841,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:41:25] local.INFO: Acknowledgment sent {"connection_id":148841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:41:30] local.INFO: TCP Data received {"connection_id":148841,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:41:30] local.INFO: Processing buffer {"connection_id":148841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd23efc38012d77a54005f279380008000027..."} 
[2026-08-05 19:41:30] local.INFO: Packet analysis {"connection_id":148841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:41:30] local.INFO: Extracted packet for processing {"connection_id":148841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd23e"} 
[2026-08-05 19:41:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200248320001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785938771000,"timestamp_ms":1785938771000,"timestamp_seconds":1785938771,"priority":1,"record_length":96,"hex_timestamp":"0000019fd23efc38"} 
[2026-08-05 19:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-05 19:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200248320001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200248320001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:41:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200248320001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":148841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:41:30] local.INFO: GPS data processed {"connection_id":148841,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:41:30] local.INFO: Acknowledgment sent {"connection_id":148841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:41:46] local.INFO: TCP Data received {"connection_id":151277,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd240fbf0012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd240fbf0012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:41:46] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd240fbf0012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:41:46] local.INFO: Packet analysis {"connection_id":151277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd240"} 
[2026-08-05 19:41:46] local.INFO: Extracted packet for processing {"connection_id":151277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd240"} 
[2026-08-05 19:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200353536001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:41: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-08-05 19:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785938902000,"timestamp_ms":1785938902000,"timestamp_seconds":1785938902,"priority":1,"record_length":96,"hex_timestamp":"0000019fd240fbf0"} 
[2026-08-05 19:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:41: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-08-05 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-05 19:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:41: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-08-05 19:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200353536001,"66":12667,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200353536001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:41:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200353536001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":151277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:41:46] local.INFO: GPS data processed {"connection_id":151277,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:41:46] local.INFO: Acknowledgment sent {"connection_id":151277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:42:10] local.INFO: TCP Data received {"connection_id":148842,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:42:10] local.INFO: Processing buffer {"connection_id":148842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:42:10] local.INFO: IMEI packet received {"connection_id":148842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":148842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:42:10] local.INFO: TCP Data received {"connection_id":148842,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:42:10] local.INFO: Processing buffer {"connection_id":148842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:42:10] local.INFO: IMEI packet received {"connection_id":148842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":148842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:42:14] local.INFO: TCP Data received {"connection_id":148629,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:42:14] local.INFO: Processing buffer {"connection_id":148629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:42:14] local.INFO: IMEI packet received {"connection_id":148629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":148629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:42:14] local.INFO: TCP Data received {"connection_id":148842,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:42:14] local.INFO: Processing buffer {"connection_id":148842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:42:14] local.INFO: IMEI packet received {"connection_id":148842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":148842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:42:15] local.INFO: TCP Data received {"connection_id":148842,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2414df8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2414df8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:42:15] local.INFO: Processing buffer {"connection_id":148842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2414df8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:42:15] local.INFO: Packet analysis {"connection_id":148842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd241"} 
[2026-08-05 19:42:15] local.INFO: Extracted packet for processing {"connection_id":148842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd241"} 
[2026-08-05 19:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200358912001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785938923000,"timestamp_ms":1785938923000,"timestamp_seconds":1785938923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2414df8"} 
[2026-08-05 19:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 19:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:42: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-08-05 19:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200358912001,"66":12667,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200358912001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:42:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200358912001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":148842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:42:15] local.INFO: GPS data processed {"connection_id":148842,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:42:15] local.INFO: Acknowledgment sent {"connection_id":148842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:42:19] local.INFO: TCP Data received {"connection_id":148629,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:42:19] local.INFO: Processing buffer {"connection_id":148629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:42:19] local.INFO: IMEI packet received {"connection_id":148629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":148629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:42:20] local.INFO: TCP Data received {"connection_id":148629,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:42:20] local.INFO: Processing buffer {"connection_id":148629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:42:20] local.INFO: Packet analysis {"connection_id":148629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:42:20] local.INFO: Extracted packet for processing {"connection_id":148629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:42:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200325376001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939072000,"timestamp_ms":1785939072000,"timestamp_seconds":1785939072,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2439400"} 
[2026-08-05 19:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 19:42: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-08-05 19:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200325376001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200325376001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:42:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200325376001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":148629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:42:20] local.INFO: GPS data processed {"connection_id":148629,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:42:20] local.INFO: Acknowledgment sent {"connection_id":148629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:42:46] local.INFO: TCP Data received {"connection_id":148842,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd241a000012d19cf0007201868002b00b429..."} 
[2026-08-05 19:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd241a000012d19cf0007201868002b00b429..."} 
[2026-08-05 19:42:46] local.INFO: Processing buffer {"connection_id":148842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd241a000012d19cf0007201868002b00b429..."} 
[2026-08-05 19:42:46] local.INFO: Packet analysis {"connection_id":148842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd241"} 
[2026-08-05 19:42:46] local.INFO: Extracted packet for processing {"connection_id":148842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd241"} 
[2026-08-05 19:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200364288001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42: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-08-05 19:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785938944000,"timestamp_ms":1785938944000,"timestamp_seconds":1785938944,"priority":1,"record_length":96,"hex_timestamp":"0000019fd241a000"} 
[2026-08-05 19:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:42: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-08-05 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-05 19:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:42: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-08-05 19:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200364288001,"66":12602,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200364288001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:42:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200364288001,"power":12602,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":148842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:42:46] local.INFO: GPS data processed {"connection_id":148842,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:42:46] local.INFO: Acknowledgment sent {"connection_id":148842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:42:52] local.INFO: TCP Data received {"connection_id":148629,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:42:52] local.INFO: Processing buffer {"connection_id":148629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:42:52] local.INFO: Packet analysis {"connection_id":148629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:42:52] local.INFO: Extracted packet for processing {"connection_id":148629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:42:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200325376001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785939072000,"timestamp_ms":1785939072000,"timestamp_seconds":1785939072,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2439400"} 
[2026-08-05 19:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 19:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200325376001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200325376001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:42:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200325376001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":148629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:42:52] local.INFO: GPS data processed {"connection_id":148629,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:42:52] local.INFO: Acknowledgment sent {"connection_id":148629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:43:09] local.INFO: TCP Data received {"connection_id":151278,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:43:09] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:43:09] local.INFO: IMEI packet received {"connection_id":151278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":151278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:43:13] local.INFO: TCP Data received {"connection_id":151278,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:43:13] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:43:13] local.INFO: IMEI packet received {"connection_id":151278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":151278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:43:13] local.INFO: TCP Data received {"connection_id":151278,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd241f208012d19cf0007201868002b00b429..."} 
[2026-08-05 19:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd241f208012d19cf0007201868002b00b429..."} 
[2026-08-05 19:43:13] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd241f208012d19cf0007201868002b00b429..."} 
[2026-08-05 19:43:13] local.INFO: Packet analysis {"connection_id":151278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd241"} 
[2026-08-05 19:43:13] local.INFO: Extracted packet for processing {"connection_id":151278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd241"} 
[2026-08-05 19:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200369664001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43: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-08-05 19:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785938965000,"timestamp_ms":1785938965000,"timestamp_seconds":1785938965,"priority":1,"record_length":96,"hex_timestamp":"0000019fd241f208"} 
[2026-08-05 19:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-05 19:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:43: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-08-05 19:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200369664001,"66":12591,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200369664001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:43:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200369664001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":151278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:43:13] local.INFO: GPS data processed {"connection_id":151278,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:43:13] local.INFO: Acknowledgment sent {"connection_id":151278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:43:14] local.INFO: TCP Data received {"connection_id":151279,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:43:14] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:43:14] local.INFO: IMEI packet received {"connection_id":151279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":151279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:43:19] local.INFO: TCP Data received {"connection_id":151279,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:43:19] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:43:19] local.INFO: IMEI packet received {"connection_id":151279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":151279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:43:20] local.INFO: TCP Data received {"connection_id":151279,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:43:20] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:43:20] local.INFO: Packet analysis {"connection_id":151279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:43:20] local.INFO: Extracted packet for processing {"connection_id":151279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:43:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200325376001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939072000,"timestamp_ms":1785939072000,"timestamp_seconds":1785939072,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2439400"} 
[2026-08-05 19:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:43: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-08-05 19:43: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-08-05 19:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200325376001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200325376001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:43:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200325376001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":151279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:43:20] local.INFO: GPS data processed {"connection_id":151279,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:43:20] local.INFO: Acknowledgment sent {"connection_id":151279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:43:44] local.INFO: TCP Data received {"connection_id":151278,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2424410012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2424410012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:43:44] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2424410012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:43:44] local.INFO: Packet analysis {"connection_id":151278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd242"} 
[2026-08-05 19:43:44] local.INFO: Extracted packet for processing {"connection_id":151278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd242"} 
[2026-08-05 19:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200375040001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785938986000,"timestamp_ms":1785938986000,"timestamp_seconds":1785938986,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2424410"} 
[2026-08-05 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-08-05 19:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-05 19:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 19:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200375040001,"66":12613,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200375040001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:43:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:43:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200375040001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":151278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:43:44] local.INFO: GPS data processed {"connection_id":151278,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:43:44] local.INFO: Acknowledgment sent {"connection_id":151278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:43:52] local.INFO: TCP Data received {"connection_id":151279,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:43:52] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:43:52] local.INFO: Packet analysis {"connection_id":151279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:43:52] local.INFO: Extracted packet for processing {"connection_id":151279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:43:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200325376001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785939072000,"timestamp_ms":1785939072000,"timestamp_seconds":1785939072,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2439400"} 
[2026-08-05 19:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 19:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200325376001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200325376001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:43:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200325376001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":151279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:43:52] local.INFO: GPS data processed {"connection_id":151279,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:43:52] local.INFO: Acknowledgment sent {"connection_id":151279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:44:09] local.INFO: TCP Data received {"connection_id":149852,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:44:09] local.INFO: Processing buffer {"connection_id":149852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:44:09] local.INFO: IMEI packet received {"connection_id":149852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":149852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:44:14] local.INFO: TCP Data received {"connection_id":151280,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:44:14] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:44:14] local.INFO: IMEI packet received {"connection_id":151280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":151280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:44:14] local.INFO: TCP Data received {"connection_id":149852,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:44:14] local.INFO: Processing buffer {"connection_id":149852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:44:14] local.INFO: IMEI packet received {"connection_id":149852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":149852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:44:15] local.INFO: TCP Data received {"connection_id":149852,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2429618012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2429618012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:44:15] local.INFO: Processing buffer {"connection_id":149852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2429618012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:44:15] local.INFO: Packet analysis {"connection_id":149852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd242"} 
[2026-08-05 19:44:15] local.INFO: Extracted packet for processing {"connection_id":149852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd242"} 
[2026-08-05 19:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200380416001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939007000,"timestamp_ms":1785939007000,"timestamp_seconds":1785939007,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2429618"} 
[2026-08-05 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-08-05 19:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 19:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 19:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:44: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-08-05 19:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200380416001,"66":12613,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200380416001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:44:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200380416001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":149852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:44:15] local.INFO: GPS data processed {"connection_id":149852,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:44:15] local.INFO: Acknowledgment sent {"connection_id":149852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:44:19] local.INFO: TCP Data received {"connection_id":151280,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:44:19] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:44:19] local.INFO: IMEI packet received {"connection_id":151280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":151280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:44:20] local.INFO: TCP Data received {"connection_id":151280,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:44:20] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:44:20] local.INFO: Packet analysis {"connection_id":151280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:44:20] local.INFO: Extracted packet for processing {"connection_id":151280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:44:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200325376001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939072000,"timestamp_ms":1785939072000,"timestamp_seconds":1785939072,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2439400"} 
[2026-08-05 19:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 19:44: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-08-05 19:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200325376001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200325376001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:44:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200325376001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":151280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:44:20] local.INFO: GPS data processed {"connection_id":151280,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:44:20] local.INFO: Acknowledgment sent {"connection_id":151280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:44:46] local.INFO: TCP Data received {"connection_id":149852,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd242e820012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd242e820012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:44:46] local.INFO: Processing buffer {"connection_id":149852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd242e820012d19cf0007201868002b00b42b..."} 
[2026-08-05 19:44:46] local.INFO: Packet analysis {"connection_id":149852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd242"} 
[2026-08-05 19:44:46] local.INFO: Extracted packet for processing {"connection_id":149852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd242"} 
[2026-08-05 19:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200385792001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44: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-08-05 19:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785939028000,"timestamp_ms":1785939028000,"timestamp_seconds":1785939028,"priority":1,"record_length":96,"hex_timestamp":"0000019fd242e820"} 
[2026-08-05 19:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:44: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-08-05 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-05 19:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:44: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-08-05 19:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200385792001,"66":12526,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200385792001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:44:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200385792001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":149852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:44:46] local.INFO: GPS data processed {"connection_id":149852,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:44:46] local.INFO: Acknowledgment sent {"connection_id":149852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:44:52] local.INFO: TCP Data received {"connection_id":151280,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:44:52] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:44:52] local.INFO: Packet analysis {"connection_id":151280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:44:52] local.INFO: Extracted packet for processing {"connection_id":151280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:44:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200325376001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785939072000,"timestamp_ms":1785939072000,"timestamp_seconds":1785939072,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2439400"} 
[2026-08-05 19:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 19:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200325376001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200325376001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:44:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200325376001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":151280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:44:52] local.INFO: GPS data processed {"connection_id":151280,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:44:52] local.INFO: Acknowledgment sent {"connection_id":151280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:45:09] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:45:09] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:45:09] local.INFO: IMEI packet received {"connection_id":148630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":148630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:45:14] local.INFO: TCP Data received {"connection_id":148843,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:45:14] local.INFO: Processing buffer {"connection_id":148843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:45:14] local.INFO: IMEI packet received {"connection_id":148843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":148843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:45:14] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:45:14] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:45:14] local.INFO: IMEI packet received {"connection_id":148630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":148630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:45:15] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2433a28012d19cf0007201868002b00b42c..."} 
[2026-08-05 19:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2433a28012d19cf0007201868002b00b42c..."} 
[2026-08-05 19:45:15] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2433a28012d19cf0007201868002b00b42c..."} 
[2026-08-05 19:45:15] local.INFO: Packet analysis {"connection_id":148630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:45:15] local.INFO: Extracted packet for processing {"connection_id":148630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":44,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200391168001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939049000,"timestamp_ms":1785939049000,"timestamp_seconds":1785939049,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2433a28"} 
[2026-08-05 19:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:45: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-08-05 19:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200391168001,"66":12580,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200391168001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:45:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200391168001,"power":12580,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":148630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:45:15] local.INFO: GPS data processed {"connection_id":148630,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:45:15] local.INFO: Acknowledgment sent {"connection_id":148630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:45:19] local.INFO: TCP Data received {"connection_id":148843,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:45:19] local.INFO: Processing buffer {"connection_id":148843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:45:19] local.INFO: IMEI packet received {"connection_id":148843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":148843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:45:21] local.INFO: TCP Data received {"connection_id":148843,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:45:21] local.INFO: Processing buffer {"connection_id":148843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:45:21] local.INFO: Packet analysis {"connection_id":148843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:45:21] local.INFO: Extracted packet for processing {"connection_id":148843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:45:21] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200325376001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785939072000,"timestamp_ms":1785939072000,"timestamp_seconds":1785939072,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2439400"} 
[2026-08-05 19:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 19:45: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-08-05 19: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-08-05 19:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200325376001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200325376001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:45:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200325376001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":148843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:45:21] local.INFO: GPS data processed {"connection_id":148843,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:45:21] local.INFO: Acknowledgment sent {"connection_id":148843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:45:46] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2438c30012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2438c30012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:45:46] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2438c30012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:45:46] local.INFO: Packet analysis {"connection_id":148630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:45:46] local.INFO: Extracted packet for processing {"connection_id":148630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200396544001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45: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-08-05 19:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785939070000,"timestamp_ms":1785939070000,"timestamp_seconds":1785939070,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2438c30"} 
[2026-08-05 19:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:45: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-08-05 19:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-05 19:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:45: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-08-05 19:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200396544001,"66":12537,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200396544001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:45:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200396544001,"power":12537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":148630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:45:46] local.INFO: GPS data processed {"connection_id":148630,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:45:46] local.INFO: Acknowledgment sent {"connection_id":148630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:45:56] local.INFO: TCP Data received {"connection_id":148843,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:45:56] local.INFO: Processing buffer {"connection_id":148843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:45:56] local.INFO: Packet analysis {"connection_id":148843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:45:56] local.INFO: Extracted packet for processing {"connection_id":148843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:45:56] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200325376001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785939072000,"timestamp_ms":1785939072000,"timestamp_seconds":1785939072,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2439400"} 
[2026-08-05 19:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 19:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200325376001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200325376001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:45:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200325376001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":148843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:45:56] local.INFO: GPS data processed {"connection_id":148843,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:45:56] local.INFO: Acknowledgment sent {"connection_id":148843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:46:14] local.INFO: TCP Data received {"connection_id":148844,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:46:14] local.INFO: Processing buffer {"connection_id":148844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:46:14] local.INFO: IMEI packet received {"connection_id":148844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":148844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:46:14] local.INFO: TCP Data received {"connection_id":149853,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:46:14] local.INFO: Processing buffer {"connection_id":149853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:46:14] local.INFO: IMEI packet received {"connection_id":149853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":149853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:46:19] local.INFO: TCP Data received {"connection_id":148844,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:46:19] local.INFO: Processing buffer {"connection_id":148844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:46:19] local.INFO: IMEI packet received {"connection_id":148844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":148844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:46:19] local.INFO: TCP Data received {"connection_id":149853,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:46:19] local.INFO: Processing buffer {"connection_id":149853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:46:19] local.INFO: IMEI packet received {"connection_id":149853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":149853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:46:20] local.INFO: TCP Data received {"connection_id":149853,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd243de38012d19cf0007201868002b00b427..."} 
[2026-08-05 19:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd243de38012d19cf0007201868002b00b427..."} 
[2026-08-05 19:46:20] local.INFO: Processing buffer {"connection_id":149853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd243de38012d19cf0007201868002b00b427..."} 
[2026-08-05 19:46:20] local.INFO: Packet analysis {"connection_id":149853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:46:20] local.INFO: Extracted packet for processing {"connection_id":149853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:46:20] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200401920001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939091000,"timestamp_ms":1785939091000,"timestamp_seconds":1785939091,"priority":1,"record_length":96,"hex_timestamp":"0000019fd243de38"} 
[2026-08-05 19:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200401920001,"66":12580,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200401920001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:46:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:46:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200401920001,"power":12580,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":149853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:46:20] local.INFO: GPS data processed {"connection_id":149853,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:46:20] local.INFO: Acknowledgment sent {"connection_id":149853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:46:20] local.INFO: TCP Data received {"connection_id":148844,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:46:20] local.INFO: Processing buffer {"connection_id":148844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2439400012d77a54005f279380008000024..."} 
[2026-08-05 19:46:20] local.INFO: Packet analysis {"connection_id":148844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:46:20] local.INFO: Extracted packet for processing {"connection_id":148844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd243"} 
[2026-08-05 19:46:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200325376001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939072000,"timestamp_ms":1785939072000,"timestamp_seconds":1785939072,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2439400"} 
[2026-08-05 19:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 19:46: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-08-05 19:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200325376001,"66":25582,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200325376001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:46:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200325376001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":148844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:46:20] local.INFO: GPS data processed {"connection_id":148844,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:46:20] local.INFO: Acknowledgment sent {"connection_id":148844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:46:21] local.INFO: TCP Data received {"connection_id":149853,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2443040012d19cf0007201868002b00b429..."} 
[2026-08-05 19:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2443040012d19cf0007201868002b00b429..."} 
[2026-08-05 19:46:21] local.INFO: Processing buffer {"connection_id":149853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2443040012d19cf0007201868002b00b429..."} 
[2026-08-05 19:46:21] local.INFO: Packet analysis {"connection_id":149853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd244"} 
[2026-08-05 19:46:21] local.INFO: Extracted packet for processing {"connection_id":149853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd244"} 
[2026-08-05 19:46:21] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200407296001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785939112000,"timestamp_ms":1785939112000,"timestamp_seconds":1785939112,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2443040"} 
[2026-08-05 19:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-05 19:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200407296001,"66":12341,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200407296001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:46:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:46:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200407296001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":149853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:46:22] local.INFO: GPS data processed {"connection_id":149853,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:46:22] local.INFO: Acknowledgment sent {"connection_id":149853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:46:52] local.INFO: TCP Data received {"connection_id":148844,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:46:52] local.INFO: Processing buffer {"connection_id":148844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:46:52] local.INFO: Packet analysis {"connection_id":148844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:46:52] local.INFO: Extracted packet for processing {"connection_id":148844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:46:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200402432001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785939373000,"timestamp_ms":1785939373000,"timestamp_seconds":1785939373,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2482bc8"} 
[2026-08-05 19:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200402432001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200402432001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:46:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200402432001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":148844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:46:52] local.INFO: GPS data processed {"connection_id":148844,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:46:52] local.INFO: Acknowledgment sent {"connection_id":148844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:46:53] local.INFO: TCP Data received {"connection_id":149853,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2448248012d19cf0007201868002b00b428..."} 
[2026-08-05 19:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2448248012d19cf0007201868002b00b428..."} 
[2026-08-05 19:46:53] local.INFO: Processing buffer {"connection_id":149853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2448248012d19cf0007201868002b00b428..."} 
[2026-08-05 19:46:53] local.INFO: Packet analysis {"connection_id":149853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd244"} 
[2026-08-05 19:46:53] local.INFO: Extracted packet for processing {"connection_id":149853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd244"} 
[2026-08-05 19:46:53] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":40,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200412672001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785939133000,"timestamp_ms":1785939133000,"timestamp_seconds":1785939133,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2448248"} 
[2026-08-05 19:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 19:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200412672001,"66":12548,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200412672001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:46:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:46:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200412672001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":149853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:46:53] local.INFO: GPS data processed {"connection_id":149853,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:46:53] local.INFO: Acknowledgment sent {"connection_id":149853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:47:09] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:47:09] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:47:09] local.INFO: IMEI packet received {"connection_id":148631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":148631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:47:14] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:47:14] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:47:14] local.INFO: IMEI packet received {"connection_id":148631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":148631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:47:15] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd244d450012d19cf0007201868002b00b429..."} 
[2026-08-05 19:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd244d450012d19cf0007201868002b00b429..."} 
[2026-08-05 19:47:15] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd244d450012d19cf0007201868002b00b429..."} 
[2026-08-05 19:47:15] local.INFO: Packet analysis {"connection_id":148631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd244"} 
[2026-08-05 19:47:15] local.INFO: Extracted packet for processing {"connection_id":148631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd244"} 
[2026-08-05 19:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200418048001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939154000,"timestamp_ms":1785939154000,"timestamp_seconds":1785939154,"priority":1,"record_length":96,"hex_timestamp":"0000019fd244d450"} 
[2026-08-05 19:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3527579160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 19:47:15] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:15] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,91,159,48,45,43,41,10,66,222,39,140,1,240,249,227,210,32,4,113,205,232,207,104,239,2,38,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-05 19:47:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098674627522592768,"timestamp_seconds":3098674627522593.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 19:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:47: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-08-05 19:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200418048001,"66":12537,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200418048001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:47:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200418048001,"power":12537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":148631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:47:15] local.INFO: GPS data processed {"connection_id":148631,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:47:15] local.INFO: Acknowledgment sent {"connection_id":148631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:47:19] local.INFO: TCP Data received {"connection_id":148632,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:47:19] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:47:19] local.INFO: IMEI packet received {"connection_id":148632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":148632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:47:20] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2452658012d19cf0007201868002b00b425..."} 
[2026-08-05 19:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2452658012d19cf0007201868002b00b425..."} 
[2026-08-05 19:47:20] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2452658012d19cf0007201868002b00b425..."} 
[2026-08-05 19:47:20] local.INFO: Packet analysis {"connection_id":148631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd245"} 
[2026-08-05 19:47:20] local.INFO: Extracted packet for processing {"connection_id":148631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd245"} 
[2026-08-05 19:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":37,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200423424001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939175000,"timestamp_ms":1785939175000,"timestamp_seconds":1785939175,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2452658"} 
[2026-08-05 19:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200423424001,"66":12558,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200423424001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:47:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200423424001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":148631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:47:20] local.INFO: GPS data processed {"connection_id":148631,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:47:20] local.INFO: Acknowledgment sent {"connection_id":148631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:47:24] local.INFO: TCP Data received {"connection_id":148632,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:47:24] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:47:24] local.INFO: IMEI packet received {"connection_id":148632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":148632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:47:26] local.INFO: TCP Data received {"connection_id":148632,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:47:26] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:47:26] local.INFO: Packet analysis {"connection_id":148632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:47:26] local.INFO: Extracted packet for processing {"connection_id":148632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:47:26] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200402432001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785939373000,"timestamp_ms":1785939373000,"timestamp_seconds":1785939373,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2482bc8"} 
[2026-08-05 19:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200402432001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200402432001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:47:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200402432001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":148632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:47:26] local.INFO: GPS data processed {"connection_id":148632,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:47:26] local.INFO: Acknowledgment sent {"connection_id":148632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:47:51] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2457860012d19cf0007201868002b00b427..."} 
[2026-08-05 19:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2457860012d19cf0007201868002b00b427..."} 
[2026-08-05 19:47:51] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2457860012d19cf0007201868002b00b427..."} 
[2026-08-05 19:47:51] local.INFO: Packet analysis {"connection_id":148631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd245"} 
[2026-08-05 19:47:51] local.INFO: Extracted packet for processing {"connection_id":148631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd245"} 
[2026-08-05 19:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200428800001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785939196000,"timestamp_ms":1785939196000,"timestamp_seconds":1785939196,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2457860"} 
[2026-08-05 19:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3527621160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579384,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249856205151017064,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,91,159,212,45,43,41,10,66,130,40,48,1,240,53,227,210,32,4,113,205,140,207,104,42,239,2,38,7,120,93,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-05 19:47:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098674614637690880,"timestamp_seconds":3098674614637691.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 19:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200428800001,"66":12537,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200428800001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:47:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200428800001,"power":12537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":148631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:47:51] local.INFO: GPS data processed {"connection_id":148631,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:47:51] local.INFO: Acknowledgment sent {"connection_id":148631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:47:57] local.INFO: TCP Data received {"connection_id":148632,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:47:57] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:47:57] local.INFO: Packet analysis {"connection_id":148632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:47:57] local.INFO: Extracted packet for processing {"connection_id":148632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:47:57] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200402432001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785939373000,"timestamp_ms":1785939373000,"timestamp_seconds":1785939373,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2482bc8"} 
[2026-08-05 19:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200402432001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200402432001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:47:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200402432001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":148632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:47:57] local.INFO: GPS data processed {"connection_id":148632,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:47:57] local.INFO: Acknowledgment sent {"connection_id":148632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:48:06] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:48:06] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:48:06] local.INFO: IMEI packet received {"connection_id":151281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":151281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:48:09] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:48:09] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:48:09] local.INFO: IMEI packet received {"connection_id":151281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":151281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:48:14] local.INFO: TCP Data received {"connection_id":149854,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:48:14] local.INFO: Processing buffer {"connection_id":149854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:48:14] local.INFO: IMEI packet received {"connection_id":149854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":149854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:48:14] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:48:14] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:48:14] local.INFO: IMEI packet received {"connection_id":151281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":151281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:48:15] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd245ca68012d19cf0007201868002b00b427..."} 
[2026-08-05 19:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd245ca68012d19cf0007201868002b00b427..."} 
[2026-08-05 19:48:15] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd245ca68012d19cf0007201868002b00b427..."} 
[2026-08-05 19:48:15] local.INFO: Packet analysis {"connection_id":151281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd245"} 
[2026-08-05 19:48:15] local.INFO: Extracted packet for processing {"connection_id":151281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd245"} 
[2026-08-05 19:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200434176001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939217000,"timestamp_ms":1785939217000,"timestamp_seconds":1785939217,"priority":1,"record_length":96,"hex_timestamp":"0000019fd245ca68"} 
[2026-08-05 19:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-05 19:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:48: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-08-05 19:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200434176001,"66":12548,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200434176001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:48:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200434176001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":151281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:48:15] local.INFO: GPS data processed {"connection_id":151281,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:48:15] local.INFO: Acknowledgment sent {"connection_id":151281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:48:19] local.INFO: TCP Data received {"connection_id":149854,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:48:19] local.INFO: Processing buffer {"connection_id":149854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:48:19] local.INFO: IMEI packet received {"connection_id":149854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":149854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:48:20] local.INFO: TCP Data received {"connection_id":149854,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:48:20] local.INFO: Processing buffer {"connection_id":149854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:48:20] local.INFO: Packet analysis {"connection_id":149854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:48:20] local.INFO: Extracted packet for processing {"connection_id":149854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200402432001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939373000,"timestamp_ms":1785939373000,"timestamp_seconds":1785939373,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2482bc8"} 
[2026-08-05 19:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:48: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-08-05 19:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200402432001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200402432001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:48:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200402432001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":149854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:48:20] local.INFO: GPS data processed {"connection_id":149854,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:48:20] local.INFO: Acknowledgment sent {"connection_id":149854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:48:46] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2461c70012d19cf0007201868002b00b426..."} 
[2026-08-05 19:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2461c70012d19cf0007201868002b00b426..."} 
[2026-08-05 19:48:46] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2461c70012d19cf0007201868002b00b426..."} 
[2026-08-05 19:48:46] local.INFO: Packet analysis {"connection_id":151281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd246"} 
[2026-08-05 19:48:46] local.INFO: Extracted packet for processing {"connection_id":151281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd246"} 
[2026-08-05 19:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200439552001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48: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-08-05 19:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785939238000,"timestamp_ms":1785939238000,"timestamp_seconds":1785939238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2461c70"} 
[2026-08-05 19:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:48: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-08-05 19: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-05 19:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3527663160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 19:48:46] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,101,83,24,241,157,16,91,159,120,45,43,39,10,66,38,37,212,1,240,249,227,210,32,4,113,205,48,207,104,41,239,2,7],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-05 19:48:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098674623227625472,"timestamp_seconds":3098674623227625.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 19:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:48: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-08-05 19:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200439552001,"66":12548,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200439552001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:48:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200439552001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":151281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:48:46] local.INFO: GPS data processed {"connection_id":151281,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:48:46] local.INFO: Acknowledgment sent {"connection_id":151281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:48:52] local.INFO: TCP Data received {"connection_id":149854,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:48:52] local.INFO: Processing buffer {"connection_id":149854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:48:52] local.INFO: Packet analysis {"connection_id":149854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:48:52] local.INFO: Extracted packet for processing {"connection_id":149854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:48:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200402432001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785939373000,"timestamp_ms":1785939373000,"timestamp_seconds":1785939373,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2482bc8"} 
[2026-08-05 19:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200402432001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200402432001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:48:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200402432001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":149854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:48:52] local.INFO: GPS data processed {"connection_id":149854,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:48:52] local.INFO: Acknowledgment sent {"connection_id":149854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:49:09] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:49:09] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:49:09] local.INFO: IMEI packet received {"connection_id":148633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":148633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:49:10] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:49:10] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:49:10] local.INFO: IMEI packet received {"connection_id":148633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":148633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:49:14] local.INFO: TCP Data received {"connection_id":151282,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:49:14] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:49:14] local.INFO: IMEI packet received {"connection_id":151282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":151282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:49:14] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:49:14] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:49:14] local.INFO: IMEI packet received {"connection_id":148633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":148633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:49:15] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd249a2c8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd249a2c8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:49:15] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd249a2c8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:49:15] local.INFO: Packet analysis {"connection_id":148633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd249"} 
[2026-08-05 19:49:15] local.INFO: Extracted packet for processing {"connection_id":148633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd249"} 
[2026-08-05 19:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200498688001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939469000,"timestamp_ms":1785939469000,"timestamp_seconds":1785939469,"priority":1,"record_length":96,"hex_timestamp":"0000019fd249a2c8"} 
[2026-08-05 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-08-05 19:49: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-08-05 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 19:49: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-08-05 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-08-05 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-08-05 19:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:49: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-08-05 19:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200498688001,"66":12526,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200498688001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:49:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200498688001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":148633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:49:15] local.INFO: GPS data processed {"connection_id":148633,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:49:15] local.INFO: Acknowledgment sent {"connection_id":148633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:49:19] local.INFO: TCP Data received {"connection_id":151282,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:49:19] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:49:19] local.INFO: IMEI packet received {"connection_id":151282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":151282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:49:32] local.INFO: TCP Data received {"connection_id":151282,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:49:32] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:49:32] local.INFO: Packet analysis {"connection_id":151282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:49:32] local.INFO: Extracted packet for processing {"connection_id":151282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:49:32] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200402432001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785939373000,"timestamp_ms":1785939373000,"timestamp_seconds":1785939373,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2482bc8"} 
[2026-08-05 19:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200402432001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200402432001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:49:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200402432001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":151282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:49:32] local.INFO: GPS data processed {"connection_id":151282,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:49:32] local.INFO: Acknowledgment sent {"connection_id":151282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:49:46] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd249f4d0012d19cf0007201868002b00b428..."} 
[2026-08-05 19:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd249f4d0012d19cf0007201868002b00b428..."} 
[2026-08-05 19:49:46] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd249f4d0012d19cf0007201868002b00b428..."} 
[2026-08-05 19:49:46] local.INFO: Packet analysis {"connection_id":148633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd249"} 
[2026-08-05 19:49:46] local.INFO: Extracted packet for processing {"connection_id":148633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd249"} 
[2026-08-05 19:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":40,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200504064001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:49: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-08-05 19:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785939490000,"timestamp_ms":1785939490000,"timestamp_seconds":1785939490,"priority":1,"record_length":96,"hex_timestamp":"0000019fd249f4d0"} 
[2026-08-05 19:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:49: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-08-05 19:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:49: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-08-05 19:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200504064001,"66":11558,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200504064001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:49:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200504064001,"power":11558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":148633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:49:46] local.INFO: GPS data processed {"connection_id":148633,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:49:46] local.INFO: Acknowledgment sent {"connection_id":148633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:50:10] local.INFO: TCP Data received {"connection_id":149855,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:50:10] local.INFO: Processing buffer {"connection_id":149855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:50:10] local.INFO: IMEI packet received {"connection_id":149855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":149855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:50:13] local.INFO: TCP Data received {"connection_id":149855,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:50:13] local.INFO: Processing buffer {"connection_id":149855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:50:13] local.INFO: IMEI packet received {"connection_id":149855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":149855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:50:13] local.INFO: TCP Data received {"connection_id":149855,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24a46d8012d19cf0007201868002b00b429..."} 
[2026-08-05 19:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24a46d8012d19cf0007201868002b00b429..."} 
[2026-08-05 19:50:13] local.INFO: Processing buffer {"connection_id":149855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24a46d8012d19cf0007201868002b00b429..."} 
[2026-08-05 19:50:13] local.INFO: Packet analysis {"connection_id":149855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24a"} 
[2026-08-05 19:50:13] local.INFO: Extracted packet for processing {"connection_id":149855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24a"} 
[2026-08-05 19:50:13] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":41,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200509440001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50: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-08-05 19:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785939511000,"timestamp_ms":1785939511000,"timestamp_seconds":1785939511,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24a46d8"} 
[2026-08-05 19:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-05 19:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":149855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":149855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":149855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:50: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-08-05 19:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200509440001,"66":12504,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200509440001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:50:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:50:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200509440001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":149855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:50:13] local.INFO: GPS data processed {"connection_id":149855,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:50:13] local.INFO: Acknowledgment sent {"connection_id":149855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:50:19] local.INFO: TCP Data received {"connection_id":148845,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:50:19] local.INFO: Processing buffer {"connection_id":148845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:50:19] local.INFO: IMEI packet received {"connection_id":148845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":148845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:50:24] local.INFO: TCP Data received {"connection_id":148845,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:50:24] local.INFO: Processing buffer {"connection_id":148845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:50:24] local.INFO: IMEI packet received {"connection_id":148845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":148845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:50:28] local.INFO: TCP Data received {"connection_id":148845,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:50:28] local.INFO: Processing buffer {"connection_id":148845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:50:28] local.INFO: Packet analysis {"connection_id":148845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:50:28] local.INFO: Extracted packet for processing {"connection_id":148845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:50:28] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200402432001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785939373000,"timestamp_ms":1785939373000,"timestamp_seconds":1785939373,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2482bc8"} 
[2026-08-05 19:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200402432001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200402432001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:50:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200402432001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":148845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:50:28] local.INFO: GPS data processed {"connection_id":148845,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:50:28] local.INFO: Acknowledgment sent {"connection_id":148845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:50:29] local.INFO: TCP Data received {"connection_id":148845,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:50:29] local.INFO: Processing buffer {"connection_id":148845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:50:29] local.INFO: Packet analysis {"connection_id":148845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:50:29] local.INFO: Extracted packet for processing {"connection_id":148845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:50:29] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200402432001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785939373000,"timestamp_ms":1785939373000,"timestamp_seconds":1785939373,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2482bc8"} 
[2026-08-05 19:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200402432001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200402432001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:50:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200402432001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":148845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:50:30] local.INFO: GPS data processed {"connection_id":148845,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:50:30] local.INFO: Acknowledgment sent {"connection_id":148845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:50:44] local.INFO: TCP Data received {"connection_id":149855,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24a98e0012d19cf0007201868002b00b427..."} 
[2026-08-05 19:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24a98e0012d19cf0007201868002b00b427..."} 
[2026-08-05 19:50:44] local.INFO: Processing buffer {"connection_id":149855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24a98e0012d19cf0007201868002b00b427..."} 
[2026-08-05 19:50:44] local.INFO: Packet analysis {"connection_id":149855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24a"} 
[2026-08-05 19:50:44] local.INFO: Extracted packet for processing {"connection_id":149855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24a"} 
[2026-08-05 19:50:44] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":39,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200514816001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785939532000,"timestamp_ms":1785939532000,"timestamp_seconds":1785939532,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24a98e0"} 
[2026-08-05 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-08-05 19:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 19:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 19:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":149855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":149855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":149855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200514816001,"66":12504,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200514816001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:50:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:50:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200514816001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":149855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:50:45] local.INFO: GPS data processed {"connection_id":149855,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:50:45] local.INFO: Acknowledgment sent {"connection_id":149855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:51:09] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:51:09] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:51:09] local.INFO: IMEI packet received {"connection_id":148634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":148634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:51:14] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:51:14] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:51:14] local.INFO: IMEI packet received {"connection_id":148634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":148634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:51:15] local.INFO: TCP Data received {"connection_id":149856,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:51:15] local.INFO: Processing buffer {"connection_id":149856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:51:15] local.INFO: IMEI packet received {"connection_id":149856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":149856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:51:15] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24aeae8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24aeae8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:51:15] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24aeae8012d19cf0007201868002b00b42a..."} 
[2026-08-05 19:51:15] local.INFO: Packet analysis {"connection_id":148634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24a"} 
[2026-08-05 19:51:15] local.INFO: Extracted packet for processing {"connection_id":148634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24a"} 
[2026-08-05 19:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":42,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200520192001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939553000,"timestamp_ms":1785939553000,"timestamp_seconds":1785939553,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24aeae8"} 
[2026-08-05 19:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:51: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-08-05 19:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 19:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:51: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-08-05 19:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200520192001,"66":12461,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200520192001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200520192001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":148634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:51:15] local.INFO: GPS data processed {"connection_id":148634,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:51:15] local.INFO: Acknowledgment sent {"connection_id":148634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:51:19] local.INFO: TCP Data received {"connection_id":149856,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:51:19] local.INFO: Processing buffer {"connection_id":149856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:51:19] local.INFO: IMEI packet received {"connection_id":149856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":149856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:51:20] local.INFO: TCP Data received {"connection_id":149856,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:51:20] local.INFO: Processing buffer {"connection_id":149856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:51:20] local.INFO: Packet analysis {"connection_id":149856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:51:20] local.INFO: Extracted packet for processing {"connection_id":149856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:51:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200402432001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939373000,"timestamp_ms":1785939373000,"timestamp_seconds":1785939373,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2482bc8"} 
[2026-08-05 19:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:51: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-08-05 19: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-08-05 19:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200402432001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200402432001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:51:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200402432001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":149856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:51:20] local.INFO: GPS data processed {"connection_id":149856,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:51:20] local.INFO: Acknowledgment sent {"connection_id":149856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:51:46] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24b3cf0012d19cf0007201868002b00b428..."} 
[2026-08-05 19:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24b3cf0012d19cf0007201868002b00b428..."} 
[2026-08-05 19:51:46] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24b3cf0012d19cf0007201868002b00b428..."} 
[2026-08-05 19:51:46] local.INFO: Packet analysis {"connection_id":148634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24b"} 
[2026-08-05 19:51:46] local.INFO: Extracted packet for processing {"connection_id":148634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24b"} 
[2026-08-05 19:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":40,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200525568001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51: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-08-05 19:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785939574000,"timestamp_ms":1785939574000,"timestamp_seconds":1785939574,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24b3cf0"} 
[2026-08-05 19:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:51: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-08-05 19:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 19:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:51: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-08-05 19:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200525568001,"66":12504,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200525568001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200525568001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":148634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:51:46] local.INFO: GPS data processed {"connection_id":148634,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:51:46] local.INFO: Acknowledgment sent {"connection_id":148634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:51:52] local.INFO: TCP Data received {"connection_id":149856,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:51:52] local.INFO: Processing buffer {"connection_id":149856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2482bc8012d77a54005f279380008000025..."} 
[2026-08-05 19:51:52] local.INFO: Packet analysis {"connection_id":149856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:51:52] local.INFO: Extracted packet for processing {"connection_id":149856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd248"} 
[2026-08-05 19:51:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200402432001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785939373000,"timestamp_ms":1785939373000,"timestamp_seconds":1785939373,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2482bc8"} 
[2026-08-05 19:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 19:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200402432001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200402432001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:51:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200402432001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":149856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:51:52] local.INFO: GPS data processed {"connection_id":149856,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:51:52] local.INFO: Acknowledgment sent {"connection_id":149856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:52:09] local.INFO: TCP Data received {"connection_id":151283,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:52:09] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:52:09] local.INFO: IMEI packet received {"connection_id":151283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":151283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:52:14] local.INFO: TCP Data received {"connection_id":148635,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:52:14] local.INFO: Processing buffer {"connection_id":148635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:52:14] local.INFO: IMEI packet received {"connection_id":148635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":148635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:52:14] local.INFO: TCP Data received {"connection_id":151283,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:52:14] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:52:14] local.INFO: IMEI packet received {"connection_id":151283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":151283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:52:15] local.INFO: TCP Data received {"connection_id":151283,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24b8ef8012d19cf0007201868002b00b426..."} 
[2026-08-05 19:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24b8ef8012d19cf0007201868002b00b426..."} 
[2026-08-05 19:52:15] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24b8ef8012d19cf0007201868002b00b426..."} 
[2026-08-05 19:52:15] local.INFO: Packet analysis {"connection_id":151283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24b"} 
[2026-08-05 19:52:15] local.INFO: Extracted packet for processing {"connection_id":151283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24b"} 
[2026-08-05 19:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119543912,"longitude_deg":75.6666112,"latitude_deg":11.9543912,"altitude":43,"angle":180,"satellites":38,"speed":0,"hex_longitude":"2d19cf00","hex_latitude":"07201868","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200530944001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796482630254592,"note":"Value kept but may cause issues"} 
[2026-08-05 19:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730545664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939595000,"timestamp_ms":1785939595000,"timestamp_seconds":1785939595,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24b8ef8"} 
[2026-08-05 19:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-05 19:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19: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-08-05 19:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200530944001,"66":12504,"101":206,"83":41984,"24":0,"16":10796482630254592,"45":1859705201730545664},"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-08-05 19:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200530944001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:52:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796482630254592,"km_value":10796482630254.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730545664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200530944001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859705201730545664}} 
[2026-08-05 19:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":151283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:52:15] local.INFO: GPS data processed {"connection_id":151283,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:52:15] local.INFO: Acknowledgment sent {"connection_id":151283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:52:19] local.INFO: TCP Data received {"connection_id":148635,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:52:19] local.INFO: Processing buffer {"connection_id":148635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:52:19] local.INFO: IMEI packet received {"connection_id":148635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":148635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:52:20] local.INFO: TCP Data received {"connection_id":148635,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:52:20] local.INFO: Processing buffer {"connection_id":148635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:52:20] local.INFO: Packet analysis {"connection_id":148635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:52:20] local.INFO: Extracted packet for processing {"connection_id":148635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:52:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200479488001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939674000,"timestamp_ms":1785939674000,"timestamp_seconds":1785939674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24cc390"} 
[2026-08-05 19:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 19:52: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-08-05 19: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-08-05 19:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200479488001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200479488001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:52:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200479488001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":148635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:52:20] local.INFO: GPS data processed {"connection_id":148635,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:52:20] local.INFO: Acknowledgment sent {"connection_id":148635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:52:47] local.INFO: TCP Data received {"connection_id":151283,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24d6f70012d19dec007200aa8003200ab2a..."} 
[2026-08-05 19:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24d6f70012d19dec007200aa8003200ab2a..."} 
[2026-08-05 19:52:47] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24d6f70012d19dec007200aa8003200ab2a..."} 
[2026-08-05 19:52:47] local.INFO: Packet analysis {"connection_id":151283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24d"} 
[2026-08-05 19:52:47] local.INFO: Extracted packet for processing {"connection_id":151283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24d"} 
[2026-08-05 19:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119540392,"longitude_deg":75.6670144,"latitude_deg":11.9540392,"altitude":50,"angle":171,"satellites":42,"speed":6,"hex_longitude":"2d19dec0","hex_latitude":"07200aa8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200567552001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10796748918226944,"note":"Value kept but may cause issues"} 
[2026-08-05 19:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868700672,"note":"Value kept but may cause issues"} 
[2026-08-05 19:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785939718000,"timestamp_ms":1785939718000,"timestamp_seconds":1785939718,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24d6f70"} 
[2026-08-05 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-08-05 19:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-05 19:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 19:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:52: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-08-05 19:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200567552001,"66":13167,"101":206,"83":41984,"24":6,"16":10796748918226944,"45":1864068063868700672},"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-08-05 19:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200567552001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:52:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:52:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10796748918226944,"km_value":10796748918226.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868700672,"description":"Unknown IO ID 45"} 
[2026-08-05 19:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200567552001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1864068063868700672}} 
[2026-08-05 19:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":151283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:52:47] local.INFO: GPS data processed {"connection_id":151283,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:52:47] local.INFO: Acknowledgment sent {"connection_id":151283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:53:14] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:53:14] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:53:14] local.INFO: IMEI packet received {"connection_id":151284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":151284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:53:15] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:53:15] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:53:15] local.INFO: IMEI packet received {"connection_id":151284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":151284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:53:16] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:53:16] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:53:16] local.INFO: IMEI packet received {"connection_id":151284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":151284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:53:17] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24dd118012d19c780071ff1800034010027..."} 
[2026-08-05 19:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24dd118012d19c780071ff1800034010027..."} 
[2026-08-05 19:53:17] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24dd118012d19c780071ff1800034010027..."} 
[2026-08-05 19:53:17] local.INFO: Packet analysis {"connection_id":151284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24d"} 
[2026-08-05 19:53:17] local.INFO: Extracted packet for processing {"connection_id":151284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24d"} 
[2026-08-05 19:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756664192,"raw_latitude":119533952,"longitude_deg":75.6664192,"latitude_deg":11.9533952,"altitude":52,"angle":256,"satellites":39,"speed":11,"hex_longitude":"2d19c780","hex_latitude":"071ff180","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200573952001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10797182709923840,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945983123578880,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785939743000,"timestamp_ms":1785939743000,"timestamp_seconds":1785939743,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24dd118"} 
[2026-08-05 19:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751523419,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3528305160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193032618652077,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4163371059,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937935461,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221692409,"corrected_to":0} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3098468709642010573,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:17] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,91,159,201,45,242,52,39,10,66,197,192,243,185,64,1,240,12,227,210,31,4,113,205,177,112,43,239,53,2,38,7,51,17,25,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3221692409,"validated":0}]} 
[2026-08-05 19:53:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747263338313940992,"timestamp_seconds":3747263338313941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 19:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200573952001,"66":13580,"101":206,"83":41984,"24":11,"16":10797182709923840,"45":1857945983123578880},"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-08-05 19:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200573952001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:53:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:53:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10797182709923840,"km_value":10797182709923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945983123578880,"description":"Unknown IO ID 45"} 
[2026-08-05 19:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200573952001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1857945983123578880}} 
[2026-08-05 19:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":151284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:53:17] local.INFO: GPS data processed {"connection_id":151284,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:53:17] local.INFO: Acknowledgment sent {"connection_id":151284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:53:19] local.INFO: TCP Data received {"connection_id":148636,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:53:19] local.INFO: Processing buffer {"connection_id":148636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:53:19] local.INFO: IMEI packet received {"connection_id":148636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":148636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:53:20] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e03e0012d19b340071feef80035010c29..."} 
[2026-08-05 19:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e03e0012d19b340071feef80035010c29..."} 
[2026-08-05 19:53:20] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e03e0012d19b340071feef80035010c29..."} 
[2026-08-05 19:53:20] local.INFO: Packet analysis {"connection_id":151284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:53:20] local.INFO: Extracted packet for processing {"connection_id":151284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756659008,"raw_latitude":119533304,"longitude_deg":75.6659008,"latitude_deg":11.9533304,"altitude":53,"angle":268,"satellites":41,"speed":19,"hex_longitude":"2d19b340","hex_latitude":"071feef8","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200574208001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10797431818027008,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857594139402665984,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939756000,"timestamp_ms":1785939756000,"timestamp_seconds":1785939756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e03e0"} 
[2026-08-05 19:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":12,"data_length":795,"current_offset":136} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751523419,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":91,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3528307160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292429367030189,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4140302388,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132248677,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147950584,"corrected_to":0} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3422727882860396493,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,91,159,205,45,192,52,39,10,66,201,242,197,1,240,12,227,210,31,4,113,14,181,204,40,41,239,53,2,38,7,51,25,164],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":204,"original":2147950584,"validated":0}]} 
[2026-08-05 19:53:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747276532453408768,"timestamp_seconds":3747276532453409.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 19:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200574208001,"66":13624,"101":206,"83":41984,"24":19,"16":10797431818027008,"45":1857594139402665984},"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-08-05 19:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200574208001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:53:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10797431818027008,"km_value":10797431818027.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857594139402665984,"description":"Unknown IO ID 45"} 
[2026-08-05 19:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200574208001,"power":13624,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1857594139402665984}} 
[2026-08-05 19:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":151284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:53:20] local.INFO: GPS data processed {"connection_id":151284,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:53:20] local.INFO: Acknowledgment sent {"connection_id":151284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:53:24] local.INFO: TCP Data received {"connection_id":148636,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:53:24] local.INFO: Processing buffer {"connection_id":148636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:53:24] local.INFO: IMEI packet received {"connection_id":148636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":148636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:53:25] local.INFO: TCP Data received {"connection_id":148636,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:53:25] local.INFO: Processing buffer {"connection_id":148636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:53:25] local.INFO: Packet analysis {"connection_id":148636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:53:25] local.INFO: Extracted packet for processing {"connection_id":148636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:53:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200479488001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785939674000,"timestamp_ms":1785939674000,"timestamp_seconds":1785939674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24cc390"} 
[2026-08-05 19:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 19:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200479488001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200479488001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:53:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200479488001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":148636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:53:25] local.INFO: GPS data processed {"connection_id":148636,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:53:25] local.INFO: Acknowledgment sent {"connection_id":148636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:53:30] local.INFO: TCP Data received {"connection_id":148636,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:53:30] local.INFO: Processing buffer {"connection_id":148636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:53:30] local.INFO: Packet analysis {"connection_id":148636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:53:30] local.INFO: Extracted packet for processing {"connection_id":148636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:53:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200479488001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785939674000,"timestamp_ms":1785939674000,"timestamp_seconds":1785939674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24cc390"} 
[2026-08-05 19:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 19:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200479488001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200479488001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:53:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200479488001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":148636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:53:30] local.INFO: GPS data processed {"connection_id":148636,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:53:30] local.INFO: Acknowledgment sent {"connection_id":148636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:53:51] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e0bb0012d19af80071fef500035011928..."} 
[2026-08-05 19:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e0bb0012d19af80071fef500035011928..."} 
[2026-08-05 19:53:51] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e0bb0012d19af80071fef500035011928..."} 
[2026-08-05 19:53:51] local.INFO: Packet analysis {"connection_id":151284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:53:51] local.INFO: Extracted packet for processing {"connection_id":151284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756658048,"raw_latitude":119533392,"longitude_deg":75.6658048,"latitude_deg":11.9533392,"altitude":53,"angle":281,"satellites":40,"speed":21,"hex_longitude":"2d19af80","hex_latitude":"071fef50","is_valid_coordinates":true} 
[2026-08-05 19:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200577536001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10797479062667264,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851894271124109312,"note":"Value kept but may cause issues"} 
[2026-08-05 19:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785939758000,"timestamp_ms":1785939758000,"timestamp_seconds":1785939758,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e0bb0"} 
[2026-08-05 19:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-05 19:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200577536001,"66":13580,"101":206,"83":41984,"24":21,"16":10797479062667264,"45":1851894271124109312},"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-08-05 19:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200577536001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:53:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10797479062667264,"km_value":10797479062667.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851894271124109312,"description":"Unknown IO ID 45"} 
[2026-08-05 19:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200577536001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1851894271124109312}} 
[2026-08-05 19:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":151284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:53:52] local.INFO: GPS data processed {"connection_id":151284,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:53:52] local.INFO: Acknowledgment sent {"connection_id":151284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:54:09] local.INFO: TCP Data received {"connection_id":149857,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:54:09] local.INFO: Processing buffer {"connection_id":149857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:54:09] local.INFO: IMEI packet received {"connection_id":149857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":149857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:54:14] local.INFO: TCP Data received {"connection_id":148637,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:54:14] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:54:14] local.INFO: IMEI packet received {"connection_id":148637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":148637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:54:14] local.INFO: TCP Data received {"connection_id":149857,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:54:14] local.INFO: Processing buffer {"connection_id":149857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:54:14] local.INFO: IMEI packet received {"connection_id":149857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":149857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:54:15] local.INFO: TCP Data received {"connection_id":149857,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e2708012d19a500071ff1e8003800ff27..."} 
[2026-08-05 19:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e2708012d19a500071ff1e8003800ff27..."} 
[2026-08-05 19:54:15] local.INFO: Processing buffer {"connection_id":149857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e2708012d19a500071ff1e8003800ff27..."} 
[2026-08-05 19:54:15] local.INFO: Packet analysis {"connection_id":149857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:54:15] local.INFO: Extracted packet for processing {"connection_id":149857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":119534056,"longitude_deg":75.665536,"latitude_deg":11.9534056,"altitude":56,"angle":255,"satellites":39,"speed":8,"hex_longitude":"2d19a500","hex_latitude":"071ff1e8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200578048001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10797612206653440,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850838739961466880,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939765000,"timestamp_ms":1785939765000,"timestamp_seconds":1785939765,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e2708"} 
[2026-08-05 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-08-05 19:54: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-08-05 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751523419,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3528309160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917045429456467,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":91,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4068999220,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132248677,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3221692403,"corrected_to":0} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3710958259064537037,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:15] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,92,159,3,45,64,238,53,41,10,66,209,128,52,39,91,205,192,1,240,12,227,210,31,4,113,13,197,202,96,239,2,38,7,14,25,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":202,"original":3221692403,"validated":0}]} 
[2026-08-05 19:54:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819361618577653760,"timestamp_seconds":3819361618577654.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 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-08-05 19:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200578048001,"66":13580,"101":206,"83":41984,"24":8,"16":10797612206653440,"45":1850838739961466880},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200578048001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:54:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10797612206653440,"km_value":10797612206653.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850838739961466880,"description":"Unknown IO ID 45"} 
[2026-08-05 19:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200578048001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1850838739961466880}} 
[2026-08-05 19:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":149857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:54:15] local.INFO: GPS data processed {"connection_id":149857,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:54:15] local.INFO: Acknowledgment sent {"connection_id":149857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:54:19] local.INFO: TCP Data received {"connection_id":148637,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:54:19] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:54:19] local.INFO: IMEI packet received {"connection_id":148637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":148637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:54:20] local.INFO: TCP Data received {"connection_id":149857,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e2ed8012d19a340071ff128003900f028..."} 
[2026-08-05 19:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e2ed8012d19a340071ff128003900f028..."} 
[2026-08-05 19:54:20] local.INFO: Processing buffer {"connection_id":149857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e2ed8012d19a340071ff128003900f028..."} 
[2026-08-05 19:54:20] local.INFO: Packet analysis {"connection_id":149857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:54:20] local.INFO: Extracted packet for processing {"connection_id":149857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756654912,"raw_latitude":119533864,"longitude_deg":75.6654912,"latitude_deg":11.9533864,"altitude":57,"angle":240,"satellites":40,"speed":9,"hex_longitude":"2d19a340","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-05 19:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200579840001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10797633681489920,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252706174976,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939767000,"timestamp_ms":1785939767000,"timestamp_seconds":1785939767,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e2ed8"} 
[2026-08-05 19:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751523419,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3528312160,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917045429456467,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":91,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4057989172,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132248677,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-05 19:54:20] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":466930,"corrected_to":0} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3728972657597087692,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,92,159,11,45,128,239,53,40,10,66,3,64,238,41,209,1,240,12,227,91,210,31,4,113,205,201,202,136,39,2,38,7,52,13,25,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":202,"original":466930,"validated":0}]} 
[2026-08-05 19:54:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035505809093296128,"timestamp_seconds":4035505809093296.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-05 19:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200579840001,"66":13472,"101":206,"83":41984,"24":9,"16":10797633681489920,"45":1847883252706174976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200579840001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:54:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10797633681489920,"km_value":10797633681489.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252706174976,"description":"Unknown IO ID 45"} 
[2026-08-05 19:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200579840001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1847883252706174976}} 
[2026-08-05 19:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":149857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:54:20] local.INFO: GPS data processed {"connection_id":149857,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:54:20] local.INFO: Acknowledgment sent {"connection_id":149857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:54:20] local.INFO: TCP Data received {"connection_id":148637,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:54:20] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:54:20] local.INFO: Packet analysis {"connection_id":148637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:54:20] local.INFO: Extracted packet for processing {"connection_id":148637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:54:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200479488001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939674000,"timestamp_ms":1785939674000,"timestamp_seconds":1785939674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24cc390"} 
[2026-08-05 19:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 19:54: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-08-05 19:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200479488001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200479488001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:54:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200479488001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":148637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:54:20] local.INFO: GPS data processed {"connection_id":148637,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:54:20] local.INFO: Acknowledgment sent {"connection_id":148637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:54:52] local.INFO: TCP Data received {"connection_id":149857,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e3a90012d19a040071fefc8003a010229..."} 
[2026-08-05 19:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e3a90012d19a040071fefc8003a010229..."} 
[2026-08-05 19:54:52] local.INFO: Processing buffer {"connection_id":149857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e3a90012d19a040071fefc8003a010229..."} 
[2026-08-05 19:54:52] local.INFO: Packet analysis {"connection_id":149857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:54:52] local.INFO: Extracted packet for processing {"connection_id":149857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756654144,"raw_latitude":119533512,"longitude_deg":75.6654144,"latitude_deg":11.9533512,"altitude":58,"angle":258,"satellites":41,"speed":13,"hex_longitude":"2d19a040","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-08-05 19:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200580352001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10797676631162880,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847390671496882176,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785939770000,"timestamp_ms":1785939770000,"timestamp_seconds":1785939770,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e3a90"} 
[2026-08-05 19:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-05 19:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200580352001,"66":13515,"101":206,"83":41984,"24":13,"16":10797676631162880,"45":1847390671496882176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200580352001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:54:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10797676631162880,"km_value":10797676631162.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847390671496882176,"description":"Unknown IO ID 45"} 
[2026-08-05 19:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200580352001,"power":13515,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1847390671496882176}} 
[2026-08-05 19:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":149857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:54:52] local.INFO: GPS data processed {"connection_id":149857,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:54:52] local.INFO: Acknowledgment sent {"connection_id":149857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:54:52] local.INFO: TCP Data received {"connection_id":148637,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:54:52] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:54:52] local.INFO: Packet analysis {"connection_id":148637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:54:52] local.INFO: Extracted packet for processing {"connection_id":148637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:54:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200479488001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785939674000,"timestamp_ms":1785939674000,"timestamp_seconds":1785939674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24cc390"} 
[2026-08-05 19:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 19:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200479488001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200479488001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:54:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200479488001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":148637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:54:52] local.INFO: GPS data processed {"connection_id":148637,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:54:52] local.INFO: Acknowledgment sent {"connection_id":148637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:55:10] local.INFO: TCP Data received {"connection_id":148846,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:55:10] local.INFO: Processing buffer {"connection_id":148846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:55:10] local.INFO: IMEI packet received {"connection_id":148846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":148846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:55:14] local.INFO: TCP Data received {"connection_id":148638,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:55:14] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:55:14] local.INFO: IMEI packet received {"connection_id":148638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":148638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:55:14] local.INFO: TCP Data received {"connection_id":148846,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:55:14] local.INFO: Processing buffer {"connection_id":148846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:55:14] local.INFO: IMEI packet received {"connection_id":148846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":148846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:55:15] local.INFO: TCP Data received {"connection_id":148846,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e4260012d199d40071fef78003b011329..."} 
[2026-08-05 19:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e4260012d199d40071fef78003b011329..."} 
[2026-08-05 19:55:15] local.INFO: Processing buffer {"connection_id":148846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e4260012d199d40071fef78003b011329..."} 
[2026-08-05 19:55:15] local.INFO: Packet analysis {"connection_id":148846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:55:15] local.INFO: Extracted packet for processing {"connection_id":148846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756653376,"raw_latitude":119533432,"longitude_deg":75.6653376,"latitude_deg":11.9533432,"altitude":59,"angle":275,"satellites":41,"speed":15,"hex_longitude":"2d199d40","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200581120001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10797710990901248,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846546246566660096,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939772000,"timestamp_ms":1785939772000,"timestamp_seconds":1785939772,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e4260"} 
[2026-08-05 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-08-05 19:55: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-08-05 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-05 19:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 19:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200581120001,"66":13559,"101":206,"83":41984,"24":15,"16":10797710990901248,"45":1846546246566660096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200581120001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:55:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10797710990901248,"km_value":10797710990901.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846546246566660096,"description":"Unknown IO ID 45"} 
[2026-08-05 19:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200581120001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1846546246566660096}} 
[2026-08-05 19:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":148846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:55:15] local.INFO: GPS data processed {"connection_id":148846,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:55:15] local.INFO: Acknowledgment sent {"connection_id":148846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:55:19] local.INFO: TCP Data received {"connection_id":148638,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:55:19] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:55:19] local.INFO: IMEI packet received {"connection_id":148638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":148638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:55:20] local.INFO: TCP Data received {"connection_id":148638,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:55:20] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:55:20] local.INFO: Packet analysis {"connection_id":148638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:55:20] local.INFO: Extracted packet for processing {"connection_id":148638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:55:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200479488001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939674000,"timestamp_ms":1785939674000,"timestamp_seconds":1785939674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24cc390"} 
[2026-08-05 19:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 19:55: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-08-05 19:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200479488001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200479488001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:55:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200479488001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":148638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:55:20] local.INFO: GPS data processed {"connection_id":148638,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:55:20] local.INFO: Acknowledgment sent {"connection_id":148638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:55:46] local.INFO: TCP Data received {"connection_id":148846,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e7910012d198680071ff068004001082a..."} 
[2026-08-05 19:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e7910012d198680071ff068004001082a..."} 
[2026-08-05 19:55:46] local.INFO: Processing buffer {"connection_id":148846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e7910012d198680071ff068004001082a..."} 
[2026-08-05 19:55:46] local.INFO: Packet analysis {"connection_id":148846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:55:46] local.INFO: Extracted packet for processing {"connection_id":148846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756647552,"raw_latitude":119533672,"longitude_deg":75.6647552,"latitude_deg":11.9533672,"altitude":64,"angle":264,"satellites":42,"speed":16,"hex_longitude":"2d198680","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200581632001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10797990163775488,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845701821636507648,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55: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-08-05 19:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785939786000,"timestamp_ms":1785939786000,"timestamp_seconds":1785939786,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e7910"} 
[2026-08-05 19:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:55: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-08-05 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-05 19:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200581632001,"66":13787,"101":206,"83":41984,"24":16,"16":10797990163775488,"45":1845701821636507648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200581632001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:55:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10797990163775488,"km_value":10797990163775.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845701821636507648,"description":"Unknown IO ID 45"} 
[2026-08-05 19:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200581632001,"power":13787,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1845701821636507648}} 
[2026-08-05 19:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":148846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:55:46] local.INFO: GPS data processed {"connection_id":148846,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:55:46] local.INFO: Acknowledgment sent {"connection_id":148846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:55:51] local.INFO: TCP Data received {"connection_id":148638,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:55:51] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:55:51] local.INFO: Packet analysis {"connection_id":148638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:55:51] local.INFO: Extracted packet for processing {"connection_id":148638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:55:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200479488001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785939674000,"timestamp_ms":1785939674000,"timestamp_seconds":1785939674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24cc390"} 
[2026-08-05 19:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 19:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200479488001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200479488001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:55:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200479488001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":148638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:55:51] local.INFO: GPS data processed {"connection_id":148638,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:55:51] local.INFO: Acknowledgment sent {"connection_id":148638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:56:09] local.INFO: TCP Data received {"connection_id":149858,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:56:09] local.INFO: Processing buffer {"connection_id":149858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:56:09] local.INFO: IMEI packet received {"connection_id":149858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":149858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:56:14] local.INFO: TCP Data received {"connection_id":149858,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:56:14] local.INFO: Processing buffer {"connection_id":149858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:56:14] local.INFO: IMEI packet received {"connection_id":149858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":149858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:56:15] local.INFO: TCP Data received {"connection_id":149858,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e80e0012d198380071fefa0003f00ee29..."} 
[2026-08-05 19:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e80e0012d198380071fefa0003f00ee29..."} 
[2026-08-05 19:56:15] local.INFO: Processing buffer {"connection_id":149858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e80e0012d198380071fefa0003f00ee29..."} 
[2026-08-05 19:56:15] local.INFO: Packet analysis {"connection_id":149858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:56:15] local.INFO: Extracted packet for processing {"connection_id":149858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756646784,"raw_latitude":119533472,"longitude_deg":75.6646784,"latitude_deg":11.9533472,"altitude":63,"angle":238,"satellites":41,"speed":13,"hex_longitude":"2d198380","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-05 19:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200585216001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798024523513856,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839298265916401664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939788000,"timestamp_ms":1785939788000,"timestamp_seconds":1785939788,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e80e0"} 
[2026-08-05 19:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-05 19:56:15] 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-08-05 19:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200585216001,"66":13091,"101":206,"83":41984,"24":13,"16":10798024523513856,"45":1839298265916401664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200585216001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:56:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798024523513856,"km_value":10798024523513.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839298265916401664,"description":"Unknown IO ID 45"} 
[2026-08-05 19:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200585216001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1839298265916401664}} 
[2026-08-05 19:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":149858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:56:15] local.INFO: GPS data processed {"connection_id":149858,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:56:15] local.INFO: Acknowledgment sent {"connection_id":149858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:56:19] local.INFO: TCP Data received {"connection_id":151285,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:56:19] local.INFO: Processing buffer {"connection_id":151285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:56:19] local.INFO: IMEI packet received {"connection_id":151285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":151285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:56:24] local.INFO: TCP Data received {"connection_id":151285,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:56:24] local.INFO: Processing buffer {"connection_id":151285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:56:24] local.INFO: IMEI packet received {"connection_id":151285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":151285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:56:30] local.INFO: TCP Data received {"connection_id":151285,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:56:30] local.INFO: Processing buffer {"connection_id":151285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:56:30] local.INFO: Packet analysis {"connection_id":151285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:56:30] local.INFO: Extracted packet for processing {"connection_id":151285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:56:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200479488001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785939674000,"timestamp_ms":1785939674000,"timestamp_seconds":1785939674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24cc390"} 
[2026-08-05 19:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 19:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200479488001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200479488001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:56:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200479488001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":151285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:56:30] local.INFO: GPS data processed {"connection_id":151285,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:56:30] local.INFO: Acknowledgment sent {"connection_id":151285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:56:31] local.INFO: TCP Data received {"connection_id":151285,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:56:31] local.INFO: Processing buffer {"connection_id":151285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24cc390012d77a54005f279380008000025..."} 
[2026-08-05 19:56:31] local.INFO: Packet analysis {"connection_id":151285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:56:31] local.INFO: Extracted packet for processing {"connection_id":151285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24c"} 
[2026-08-05 19:56:31] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200479488001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785939674000,"timestamp_ms":1785939674000,"timestamp_seconds":1785939674,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24cc390"} 
[2026-08-05 19:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 19:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200479488001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200479488001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:56:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200479488001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":151285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:56:31] local.INFO: GPS data processed {"connection_id":151285,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:56:31] local.INFO: Acknowledgment sent {"connection_id":151285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:56:46] local.INFO: TCP Data received {"connection_id":149858,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e88b0012d1981c0071fee38003f00e329..."} 
[2026-08-05 19:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e88b0012d1981c0071fee38003f00e329..."} 
[2026-08-05 19:56:46] local.INFO: Processing buffer {"connection_id":149858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e88b0012d1981c0071fee38003f00e329..."} 
[2026-08-05 19:56:46] local.INFO: Packet analysis {"connection_id":149858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:56:46] local.INFO: Extracted packet for processing {"connection_id":149858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756646336,"raw_latitude":119533112,"longitude_deg":75.6646336,"latitude_deg":11.9533112,"altitude":63,"angle":227,"satellites":41,"speed":11,"hex_longitude":"2d1981c0","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-05 19:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200585728001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798054588284928,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838453840986218496,"note":"Value kept but may cause issues"} 
[2026-08-05 19:56: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-08-05 19:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785939790000,"timestamp_ms":1785939790000,"timestamp_seconds":1785939790,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e88b0"} 
[2026-08-05 19:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:56: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-08-05 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 19:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200585728001,"66":13004,"101":206,"83":41984,"24":11,"16":10798054588284928,"45":1838453840986218496},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200585728001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:56:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798054588284928,"km_value":10798054588284.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838453840986218496,"description":"Unknown IO ID 45"} 
[2026-08-05 19:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200585728001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1838453840986218496}} 
[2026-08-05 19:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":149858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:56:46] local.INFO: GPS data processed {"connection_id":149858,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:56:46] local.INFO: Acknowledgment sent {"connection_id":149858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:57:09] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:57:09] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:57:09] local.INFO: IMEI packet received {"connection_id":148639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":148639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:57:14] local.INFO: TCP Data received {"connection_id":148640,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:57:14] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:57:14] local.INFO: IMEI packet received {"connection_id":148640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":148640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:57:14] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:57:14] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:57:14] local.INFO: IMEI packet received {"connection_id":148639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":148639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:57:15] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e9468012d197ec0071fec78003f00f228..."} 
[2026-08-05 19:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e9468012d197ec0071fec78003f00f228..."} 
[2026-08-05 19:57:15] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e9468012d197ec0071fec78003f00f228..."} 
[2026-08-05 19:57:15] local.INFO: Packet analysis {"connection_id":148639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:57:15] local.INFO: Extracted packet for processing {"connection_id":148639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756645568,"raw_latitude":119532664,"longitude_deg":75.6645568,"latitude_deg":11.9532664,"altitude":63,"angle":242,"satellites":40,"speed":11,"hex_longitude":"2d197ec0","hex_latitude":"071fec78","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200586240001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798097537957888,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837961259776882688,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939793000,"timestamp_ms":1785939793000,"timestamp_seconds":1785939793,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e9468"} 
[2026-08-05 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-08-05 19:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-05 19:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 19:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200586240001,"66":13102,"101":206,"83":41984,"24":11,"16":10798097537957888,"45":1837961259776882688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200586240001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:57:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798097537957888,"km_value":10798097537957.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837961259776882688,"description":"Unknown IO ID 45"} 
[2026-08-05 19:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200586240001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1837961259776882688}} 
[2026-08-05 19:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":148639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:57:15] local.INFO: GPS data processed {"connection_id":148639,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:57:15] local.INFO: Acknowledgment sent {"connection_id":148639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:57:19] local.INFO: TCP Data received {"connection_id":148640,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:57:19] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:57:19] local.INFO: IMEI packet received {"connection_id":148640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":148640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:57:20] local.INFO: TCP Data received {"connection_id":148640,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:57:20] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:57:20] local.INFO: Packet analysis {"connection_id":148640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:57:20] local.INFO: Extracted packet for processing {"connection_id":148640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:57:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200556544001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939975000,"timestamp_ms":1785939975000,"timestamp_seconds":1785939975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2515b58"} 
[2026-08-05 19:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 19:57: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-08-05 19:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200556544001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200556544001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:57:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200556544001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":148640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:57:20] local.INFO: GPS data processed {"connection_id":148640,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:57:20] local.INFO: Acknowledgment sent {"connection_id":148640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:57:46] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e9c38012d197cc0071feba0003f010229..."} 
[2026-08-05 19:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e9c38012d197cc0071feba0003f010229..."} 
[2026-08-05 19:57:46] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e9c38012d197cc0071feba0003f010229..."} 
[2026-08-05 19:57:46] local.INFO: Packet analysis {"connection_id":148639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:57:46] local.INFO: Extracted packet for processing {"connection_id":148639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119532448,"longitude_deg":75.6645056,"latitude_deg":11.9532448,"altitude":63,"angle":258,"satellites":41,"speed":12,"hex_longitude":"2d197cc0","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-08-05 19:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587008001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837116834846636032,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57: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-08-05 19:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785939795000,"timestamp_ms":1785939795000,"timestamp_seconds":1785939795,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e9c38"} 
[2026-08-05 19:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:57: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-08-05 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-05 19:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587008001,"66":13135,"101":206,"83":41984,"24":12,"16":10798123307761664,"45":1837116834846636032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587008001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:57:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837116834846636032,"description":"Unknown IO ID 45"} 
[2026-08-05 19:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587008001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1837116834846636032}} 
[2026-08-05 19:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":148639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:57:46] local.INFO: GPS data processed {"connection_id":148639,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:57:46] local.INFO: Acknowledgment sent {"connection_id":148639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:57:51] local.INFO: TCP Data received {"connection_id":148640,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:57:51] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:57:51] local.INFO: Packet analysis {"connection_id":148640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:57:51] local.INFO: Extracted packet for processing {"connection_id":148640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200556544001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785939975000,"timestamp_ms":1785939975000,"timestamp_seconds":1785939975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2515b58"} 
[2026-08-05 19:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 19:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200556544001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200556544001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:57:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200556544001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":148640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:57:51] local.INFO: GPS data processed {"connection_id":148640,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:57:51] local.INFO: Acknowledgment sent {"connection_id":148640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:58:14] local.INFO: TCP Data received {"connection_id":148847,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:58:14] local.INFO: Processing buffer {"connection_id":148847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:58:14] local.INFO: IMEI packet received {"connection_id":148847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":148847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:58:14] local.INFO: TCP Data received {"connection_id":149859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:58:14] local.INFO: Processing buffer {"connection_id":149859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:58:14] local.INFO: IMEI packet received {"connection_id":149859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":149859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:58:19] local.INFO: TCP Data received {"connection_id":149859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:58:19] local.INFO: Processing buffer {"connection_id":149859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:58:19] local.INFO: IMEI packet received {"connection_id":149859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":149859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:58:19] local.INFO: TCP Data received {"connection_id":148847,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:58:19] local.INFO: Processing buffer {"connection_id":148847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:58:19] local.INFO: IMEI packet received {"connection_id":148847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":148847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:58:20] local.INFO: TCP Data received {"connection_id":149859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24e9c38012d197cc0071feba0003f010229..."} 
[2026-08-05 19:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24e9c38012d197cc0071feba0003f010229..."} 
[2026-08-05 19:58:20] local.INFO: Processing buffer {"connection_id":149859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24e9c38012d197cc0071feba0003f010229..."} 
[2026-08-05 19:58:20] local.INFO: Packet analysis {"connection_id":149859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:58:20] local.INFO: Extracted packet for processing {"connection_id":149859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119532448,"longitude_deg":75.6645056,"latitude_deg":11.9532448,"altitude":63,"angle":258,"satellites":41,"speed":12,"hex_longitude":"2d197cc0","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-08-05 19:58: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-08-05 19:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587520001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836553884893159424,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939795000,"timestamp_ms":1785939795000,"timestamp_seconds":1785939795,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24e9c38"} 
[2026-08-05 19:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 19: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 19:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587520001,"66":13135,"101":206,"83":41984,"24":12,"16":10798123307761664,"45":1836553884893159424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587520001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:58:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:58:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836553884893159424,"description":"Unknown IO ID 45"} 
[2026-08-05 19:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587520001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1836553884893159424}} 
[2026-08-05 19:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":149859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:58:20] local.INFO: GPS data processed {"connection_id":149859,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:58:20] local.INFO: Acknowledgment sent {"connection_id":149859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:58:20] local.INFO: TCP Data received {"connection_id":148847,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:58:20] local.INFO: Processing buffer {"connection_id":148847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:58:20] local.INFO: Packet analysis {"connection_id":148847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:58:20] local.INFO: Extracted packet for processing {"connection_id":148847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:58:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200556544001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939975000,"timestamp_ms":1785939975000,"timestamp_seconds":1785939975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2515b58"} 
[2026-08-05 19:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19: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":194,"data_length":795,"current_offset":136} 
[2026-08-05 19:58: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-08-05 19: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-08-05 19:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200556544001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200556544001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:58:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200556544001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":148847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:58:20] local.INFO: GPS data processed {"connection_id":148847,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:58:20] local.INFO: Acknowledgment sent {"connection_id":148847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:58:25] local.INFO: TCP Data received {"connection_id":149859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24ea020012d197b80071feb90003f010d29..."} 
[2026-08-05 19:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24ea020012d197b80071feb90003f010d29..."} 
[2026-08-05 19:58:25] local.INFO: Processing buffer {"connection_id":149859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24ea020012d197b80071feb90003f010d29..."} 
[2026-08-05 19:58:25] local.INFO: Packet analysis {"connection_id":149859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:58:25] local.INFO: Extracted packet for processing {"connection_id":149859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:58:25] local.INFO: GPS Element Parsed {"raw_longitude":756644736,"raw_latitude":119532432,"longitude_deg":75.6644736,"latitude_deg":11.9532432,"altitude":63,"angle":269,"satellites":41,"speed":12,"hex_longitude":"2d197b80","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-05 19:58: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-08-05 19:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587520001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836553884893159424,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785939796000,"timestamp_ms":1785939796000,"timestamp_seconds":1785939796,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24ea020"} 
[2026-08-05 19:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-05 19:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587520001,"66":4438,"101":206,"83":41984,"24":12,"16":10798123307761664,"45":1836553884893159424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587520001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:58:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:58:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836553884893159424,"description":"Unknown IO ID 45"} 
[2026-08-05 19:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587520001,"power":4438,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1836553884893159424}} 
[2026-08-05 19:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":149859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:58:25] local.INFO: GPS data processed {"connection_id":149859,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:58:25] local.INFO: Acknowledgment sent {"connection_id":149859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:58:51] local.INFO: TCP Data received {"connection_id":148847,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:58:51] local.INFO: Processing buffer {"connection_id":148847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:58:51] local.INFO: Packet analysis {"connection_id":148847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:58:51] local.INFO: Extracted packet for processing {"connection_id":148847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200556544001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785939975000,"timestamp_ms":1785939975000,"timestamp_seconds":1785939975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2515b58"} 
[2026-08-05 19:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 19:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200556544001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200556544001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:58:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200556544001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":148847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:58:51] local.INFO: GPS data processed {"connection_id":148847,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:58:51] local.INFO: Acknowledgment sent {"connection_id":148847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:59:09] local.INFO: TCP Data received {"connection_id":151286,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:59:09] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:59:09] local.INFO: IMEI packet received {"connection_id":151286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 19:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":151286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:59:14] local.INFO: TCP Data received {"connection_id":151286,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:59:14] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 19:59:14] local.INFO: IMEI packet received {"connection_id":151286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 19:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":151286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:59:15] local.INFO: TCP Data received {"connection_id":151286,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd24ea020012d197b80071feb90003f010d29..."} 
[2026-08-05 19:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd24ea020012d197b80071feb90003f010d29..."} 
[2026-08-05 19:59:15] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd24ea020012d197b80071feb90003f010d29..."} 
[2026-08-05 19:59:15] local.INFO: Packet analysis {"connection_id":151286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:59:15] local.INFO: Extracted packet for processing {"connection_id":151286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd24e"} 
[2026-08-05 19:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756644736,"raw_latitude":119532432,"longitude_deg":75.6644736,"latitude_deg":11.9532432,"altitude":63,"angle":269,"satellites":41,"speed":12,"hex_longitude":"2d197b80","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-08-05 19:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587776001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836202041172267008,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785939796000,"timestamp_ms":1785939796000,"timestamp_seconds":1785939796,"priority":1,"record_length":96,"hex_timestamp":"0000019fd24ea020"} 
[2026-08-05 19:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:59: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-08-05 19:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 19:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587776001,"66":4438,"101":206,"83":41984,"24":12,"16":10798123307761664,"45":1836202041172267008},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 19:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587776001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:59:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 19:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836202041172267008,"description":"Unknown IO ID 45"} 
[2026-08-05 19:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587776001,"power":4438,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1836202041172267008}} 
[2026-08-05 19:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":151286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:59:15] local.INFO: GPS data processed {"connection_id":151286,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:59:15] local.INFO: Acknowledgment sent {"connection_id":151286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:59:19] local.INFO: TCP Data received {"connection_id":151287,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:59:19] local.INFO: Processing buffer {"connection_id":151287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:59:19] local.INFO: IMEI packet received {"connection_id":151287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 19:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":151287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 19:59:24] local.INFO: TCP Data received {"connection_id":151287,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:59:24] local.INFO: Processing buffer {"connection_id":151287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 19:59:24] local.INFO: IMEI packet received {"connection_id":151287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 19:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":151287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 19:59:28] local.INFO: TCP Data received {"connection_id":151287,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:59:28] local.INFO: Processing buffer {"connection_id":151287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:59:28] local.INFO: Packet analysis {"connection_id":151287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:59:28] local.INFO: Extracted packet for processing {"connection_id":151287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:59:28] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 19:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 19:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200556544001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785939975000,"timestamp_ms":1785939975000,"timestamp_seconds":1785939975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2515b58"} 
[2026-08-05 19:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 19:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 19:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 19:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":151287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":151287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":151287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200556544001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200556544001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:59:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200556544001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":151287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:59:28] local.INFO: GPS data processed {"connection_id":151287,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:59:28] local.INFO: Acknowledgment sent {"connection_id":151287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:59:35] local.INFO: TCP Data received {"connection_id":151287,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:59:35] local.INFO: Processing buffer {"connection_id":151287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 19:59:35] local.INFO: Packet analysis {"connection_id":151287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:59:35] local.INFO: Extracted packet for processing {"connection_id":151287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 19:59:35] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 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-08-05 19:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200556544001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785939975000,"timestamp_ms":1785939975000,"timestamp_seconds":1785939975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2515b58"} 
[2026-08-05 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-08-05 19:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 19:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 19:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 19:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 19:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 19:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200556544001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 19:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 19:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 19:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200556544001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:59:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 19:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 19:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200556544001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 19:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":151287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:59:35] local.INFO: GPS data processed {"connection_id":151287,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:59:35] local.INFO: Acknowledgment sent {"connection_id":151287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 19:59:46] local.INFO: TCP Data received {"connection_id":151286,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 19:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 19:59:46] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 19:59:46] local.INFO: Packet analysis {"connection_id":151286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 19:59:46] local.INFO: Extracted packet for processing {"connection_id":151286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 19:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 19: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-08-05 19:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587776001,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836202041172267008,"note":"Value kept but may cause issues"} 
[2026-08-05 19:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 19:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940097000,"timestamp_ms":1785940097000,"timestamp_seconds":1785940097,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25337e8"} 
[2026-08-05 19:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 19:59: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-08-05 19: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":17,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 19:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 19: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-08-05 19:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 19:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 19:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 19:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 19:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 19:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 19:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 19:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587776001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1836202041172267008},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 19:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 19:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 19:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587776001,"description":"Unknown IO ID 0"} 
[2026-08-05 19:59:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 19:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 19:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 19:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836202041172267008,"description":"Unknown IO ID 45"} 
[2026-08-05 19:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836202041172267008}} 
[2026-08-05 19:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":151286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 19:59:46] local.INFO: GPS data processed {"connection_id":151286,"processed":1,"errors":0,"total":1} 
[2026-08-05 19:59:46] local.INFO: Acknowledgment sent {"connection_id":151286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:00:09] local.INFO: TCP Data received {"connection_id":148848,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:00:09] local.INFO: Processing buffer {"connection_id":148848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:00:09] local.INFO: IMEI packet received {"connection_id":148848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":148848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:00:14] local.INFO: TCP Data received {"connection_id":148849,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:00:14] local.INFO: Processing buffer {"connection_id":148849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:00:14] local.INFO: IMEI packet received {"connection_id":148849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":148849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:00:14] local.INFO: TCP Data received {"connection_id":148848,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:00:14] local.INFO: Processing buffer {"connection_id":148848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:00:14] local.INFO: IMEI packet received {"connection_id":148848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":148848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:00:15] local.INFO: TCP Data received {"connection_id":148848,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:00:15] local.INFO: Processing buffer {"connection_id":148848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:00:15] local.INFO: Packet analysis {"connection_id":148848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:00:15] local.INFO: Extracted packet for processing {"connection_id":148848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587776001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836202041172267008,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940097000,"timestamp_ms":1785940097000,"timestamp_seconds":1785940097,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25337e8"} 
[2026-08-05 20:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:00: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-08-05 20: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":17,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 20:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587776001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1836202041172267008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587776001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:00:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836202041172267008,"description":"Unknown IO ID 45"} 
[2026-08-05 20:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836202041172267008}} 
[2026-08-05 20:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":148848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:00:15] local.INFO: GPS data processed {"connection_id":148848,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:00:15] local.INFO: Acknowledgment sent {"connection_id":148848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:00:19] local.INFO: TCP Data received {"connection_id":148849,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:00:19] local.INFO: Processing buffer {"connection_id":148849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:00:19] local.INFO: IMEI packet received {"connection_id":148849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":148849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:00:20] local.INFO: TCP Data received {"connection_id":148849,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 20:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 20:00:20] local.INFO: Processing buffer {"connection_id":148849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 20:00:20] local.INFO: Packet analysis {"connection_id":148849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 20:00:20] local.INFO: Extracted packet for processing {"connection_id":148849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 20:00:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200556544001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785939975000,"timestamp_ms":1785939975000,"timestamp_seconds":1785939975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2515b58"} 
[2026-08-05 20:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:00: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-08-05 20: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-08-05 20:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200556544001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200556544001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:00:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200556544001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":148849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:00:20] local.INFO: GPS data processed {"connection_id":148849,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:00:20] local.INFO: Acknowledgment sent {"connection_id":148849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:00:46] local.INFO: TCP Data received {"connection_id":148848,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:00:46] local.INFO: Processing buffer {"connection_id":148848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:00:46] local.INFO: Packet analysis {"connection_id":148848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:00:46] local.INFO: Extracted packet for processing {"connection_id":148848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587776001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836202041172267008,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940097000,"timestamp_ms":1785940097000,"timestamp_seconds":1785940097,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25337e8"} 
[2026-08-05 20:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:00: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-08-05 20: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":17,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 20:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587776001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1836202041172267008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587776001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:00:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836202041172267008,"description":"Unknown IO ID 45"} 
[2026-08-05 20:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836202041172267008}} 
[2026-08-05 20:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":148848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:00:47] local.INFO: GPS data processed {"connection_id":148848,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:00:47] local.INFO: Acknowledgment sent {"connection_id":148848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:00:51] local.INFO: TCP Data received {"connection_id":148849,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 20:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 20:00:51] local.INFO: Processing buffer {"connection_id":148849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 20:00:51] local.INFO: Packet analysis {"connection_id":148849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 20:00:51] local.INFO: Extracted packet for processing {"connection_id":148849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 20:00:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200556544001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785939975000,"timestamp_ms":1785939975000,"timestamp_seconds":1785939975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2515b58"} 
[2026-08-05 20:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200556544001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200556544001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:00:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200556544001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":148849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:00:51] local.INFO: GPS data processed {"connection_id":148849,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:00:51] local.INFO: Acknowledgment sent {"connection_id":148849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:01:09] local.INFO: TCP Data received {"connection_id":149860,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:01:09] local.INFO: Processing buffer {"connection_id":149860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:01:09] local.INFO: IMEI packet received {"connection_id":149860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":149860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:01:14] local.INFO: TCP Data received {"connection_id":149861,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:01:14] local.INFO: Processing buffer {"connection_id":149861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:01:14] local.INFO: IMEI packet received {"connection_id":149861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":149861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:01:14] local.INFO: TCP Data received {"connection_id":149860,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:01:14] local.INFO: Processing buffer {"connection_id":149860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:01:14] local.INFO: IMEI packet received {"connection_id":149860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":149860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:01:15] local.INFO: TCP Data received {"connection_id":149860,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:01:15] local.INFO: Processing buffer {"connection_id":149860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:01:15] local.INFO: Packet analysis {"connection_id":149860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:01:15] local.INFO: Extracted packet for processing {"connection_id":149860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587776001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836202041172267008,"note":"Value kept but may cause issues"} 
[2026-08-05 20:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940097000,"timestamp_ms":1785940097000,"timestamp_seconds":1785940097,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25337e8"} 
[2026-08-05 20:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:01: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-08-05 20: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":17,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 20:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587776001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1836202041172267008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587776001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:01:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836202041172267008,"description":"Unknown IO ID 45"} 
[2026-08-05 20:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836202041172267008}} 
[2026-08-05 20:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":149860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:01:15] local.INFO: GPS data processed {"connection_id":149860,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:01:15] local.INFO: Acknowledgment sent {"connection_id":149860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:01:19] local.INFO: TCP Data received {"connection_id":149861,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:01:19] local.INFO: Processing buffer {"connection_id":149861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:01:19] local.INFO: IMEI packet received {"connection_id":149861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":149861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:01:26] local.INFO: TCP Data received {"connection_id":149861,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 20:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 20:01:26] local.INFO: Processing buffer {"connection_id":149861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2515b58012d77a54005f279380008000027..."} 
[2026-08-05 20:01:26] local.INFO: Packet analysis {"connection_id":149861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 20:01:26] local.INFO: Extracted packet for processing {"connection_id":149861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd251"} 
[2026-08-05 20:01:26] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200556544001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785939975000,"timestamp_ms":1785939975000,"timestamp_seconds":1785939975,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2515b58"} 
[2026-08-05 20:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200556544001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200556544001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:01:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200556544001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":149861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:01:26] local.INFO: GPS data processed {"connection_id":149861,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:01:26] local.INFO: Acknowledgment sent {"connection_id":149861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:01:46] local.INFO: TCP Data received {"connection_id":149860,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:01:46] local.INFO: Processing buffer {"connection_id":149860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:01:46] local.INFO: Packet analysis {"connection_id":149860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:01:46] local.INFO: Extracted packet for processing {"connection_id":149860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587776001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836202041172267008,"note":"Value kept but may cause issues"} 
[2026-08-05 20: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-08-05 20:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940097000,"timestamp_ms":1785940097000,"timestamp_seconds":1785940097,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25337e8"} 
[2026-08-05 20:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:01: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-08-05 20: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":17,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 20:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587776001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1836202041172267008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587776001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:01:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836202041172267008,"description":"Unknown IO ID 45"} 
[2026-08-05 20:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836202041172267008}} 
[2026-08-05 20:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":149860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:01:46] local.INFO: GPS data processed {"connection_id":149860,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:01:46] local.INFO: Acknowledgment sent {"connection_id":149860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:01:57] local.INFO: TCP Data received {"connection_id":149861,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:01:57] local.INFO: Processing buffer {"connection_id":149861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:01:57] local.INFO: Packet analysis {"connection_id":149861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:01:57] local.INFO: Extracted packet for processing {"connection_id":149861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:01:57] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200633600001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785940276000,"timestamp_ms":1785940276000,"timestamp_seconds":1785940276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd255f320"} 
[2026-08-05 20:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":149861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":149861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":149861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200633600001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200633600001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:01:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200633600001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":149861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:01:57] local.INFO: GPS data processed {"connection_id":149861,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:01:57] local.INFO: Acknowledgment sent {"connection_id":149861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:02:10] local.INFO: TCP Data received {"connection_id":149862,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:02:10] local.INFO: Processing buffer {"connection_id":149862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:02:10] local.INFO: IMEI packet received {"connection_id":149862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":149862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:02:14] local.INFO: TCP Data received {"connection_id":151288,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:02:14] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:02:14] local.INFO: IMEI packet received {"connection_id":151288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":151288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:02:14] local.INFO: TCP Data received {"connection_id":149862,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:02:14] local.INFO: Processing buffer {"connection_id":149862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:02:14] local.INFO: IMEI packet received {"connection_id":149862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":149862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:02:15] local.INFO: TCP Data received {"connection_id":149862,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:02:15] local.INFO: Processing buffer {"connection_id":149862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:02:15] local.INFO: Packet analysis {"connection_id":149862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:02:15] local.INFO: Extracted packet for processing {"connection_id":149862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587776001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836202041172267008,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940097000,"timestamp_ms":1785940097000,"timestamp_seconds":1785940097,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25337e8"} 
[2026-08-05 20:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":17,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 20:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587776001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1836202041172267008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587776001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:02:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836202041172267008,"description":"Unknown IO ID 45"} 
[2026-08-05 20:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836202041172267008}} 
[2026-08-05 20:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":149862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:02:15] local.INFO: GPS data processed {"connection_id":149862,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:02:15] local.INFO: Acknowledgment sent {"connection_id":149862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:02:19] local.INFO: TCP Data received {"connection_id":151288,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:02:19] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:02:19] local.INFO: IMEI packet received {"connection_id":151288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":151288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:02:20] local.INFO: TCP Data received {"connection_id":151288,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:02:20] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:02:20] local.INFO: Packet analysis {"connection_id":151288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:02:20] local.INFO: Extracted packet for processing {"connection_id":151288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:02:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200633600001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940276000,"timestamp_ms":1785940276000,"timestamp_seconds":1785940276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd255f320"} 
[2026-08-05 20:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:02: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-08-05 20:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200633600001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200633600001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:02:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200633600001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":151288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:02:20] local.INFO: GPS data processed {"connection_id":151288,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:02:20] local.INFO: Acknowledgment sent {"connection_id":151288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:02:46] local.INFO: TCP Data received {"connection_id":149862,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:02:46] local.INFO: Processing buffer {"connection_id":149862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:02:46] local.INFO: Packet analysis {"connection_id":149862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:02:46] local.INFO: Extracted packet for processing {"connection_id":149862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587776001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836202041172267008,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940097000,"timestamp_ms":1785940097000,"timestamp_seconds":1785940097,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25337e8"} 
[2026-08-05 20:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:02: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-08-05 20: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":17,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 20:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587776001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1836202041172267008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587776001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:02:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836202041172267008,"description":"Unknown IO ID 45"} 
[2026-08-05 20:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836202041172267008}} 
[2026-08-05 20:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":149862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:02:46] local.INFO: GPS data processed {"connection_id":149862,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:02:46] local.INFO: Acknowledgment sent {"connection_id":149862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:02:51] local.INFO: TCP Data received {"connection_id":151288,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:02:51] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:02:51] local.INFO: Packet analysis {"connection_id":151288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:02:51] local.INFO: Extracted packet for processing {"connection_id":151288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:02:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200633600001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785940276000,"timestamp_ms":1785940276000,"timestamp_seconds":1785940276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd255f320"} 
[2026-08-05 20:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200633600001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200633600001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:02:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200633600001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":151288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:02:51] local.INFO: GPS data processed {"connection_id":151288,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:02:51] local.INFO: Acknowledgment sent {"connection_id":151288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:03:09] local.INFO: TCP Data received {"connection_id":148850,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:03:09] local.INFO: Processing buffer {"connection_id":148850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:03:09] local.INFO: IMEI packet received {"connection_id":148850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":148850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:03:14] local.INFO: TCP Data received {"connection_id":148850,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:03:14] local.INFO: Processing buffer {"connection_id":148850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:03:14] local.INFO: IMEI packet received {"connection_id":148850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":148850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:03:15] local.INFO: TCP Data received {"connection_id":148850,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:03:15] local.INFO: Processing buffer {"connection_id":148850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:03:15] local.INFO: Packet analysis {"connection_id":148850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:03:15] local.INFO: Extracted packet for processing {"connection_id":148850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587776001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836202041172267008,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940097000,"timestamp_ms":1785940097000,"timestamp_seconds":1785940097,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25337e8"} 
[2026-08-05 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-08-05 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-08-05 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":17,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 20:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587776001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1836202041172267008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587776001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:03:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836202041172267008,"description":"Unknown IO ID 45"} 
[2026-08-05 20:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836202041172267008}} 
[2026-08-05 20:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":148850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:03:15] local.INFO: GPS data processed {"connection_id":148850,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:03:15] local.INFO: Acknowledgment sent {"connection_id":148850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:03:19] local.INFO: TCP Data received {"connection_id":148851,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:03:19] local.INFO: Processing buffer {"connection_id":148851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:03:19] local.INFO: IMEI packet received {"connection_id":148851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":148851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:03:24] local.INFO: TCP Data received {"connection_id":148851,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:03:24] local.INFO: Processing buffer {"connection_id":148851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:03:24] local.INFO: IMEI packet received {"connection_id":148851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":148851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:03:25] local.INFO: TCP Data received {"connection_id":148851,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:03:25] local.INFO: Processing buffer {"connection_id":148851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:03:25] local.INFO: Packet analysis {"connection_id":148851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:03:25] local.INFO: Extracted packet for processing {"connection_id":148851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:03:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200633600001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785940276000,"timestamp_ms":1785940276000,"timestamp_seconds":1785940276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd255f320"} 
[2026-08-05 20:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200633600001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200633600001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:03:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200633600001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":148851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:03:25] local.INFO: GPS data processed {"connection_id":148851,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:03:25] local.INFO: Acknowledgment sent {"connection_id":148851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:03:30] local.INFO: TCP Data received {"connection_id":148851,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:03:30] local.INFO: Processing buffer {"connection_id":148851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:03:30] local.INFO: Packet analysis {"connection_id":148851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:03:30] local.INFO: Extracted packet for processing {"connection_id":148851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:03:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200633600001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785940276000,"timestamp_ms":1785940276000,"timestamp_seconds":1785940276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd255f320"} 
[2026-08-05 20:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200633600001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200633600001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:03:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200633600001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":148851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:03:30] local.INFO: GPS data processed {"connection_id":148851,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:03:30] local.INFO: Acknowledgment sent {"connection_id":148851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:03:46] local.INFO: TCP Data received {"connection_id":148850,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:03:46] local.INFO: Processing buffer {"connection_id":148850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25337e8012d196840071fef08003f010925..."} 
[2026-08-05 20:03:46] local.INFO: Packet analysis {"connection_id":148850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:03:46] local.INFO: Extracted packet for processing {"connection_id":148850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd253"} 
[2026-08-05 20:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200587776001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836202041172267008,"note":"Value kept but may cause issues"} 
[2026-08-05 20:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940097000,"timestamp_ms":1785940097000,"timestamp_seconds":1785940097,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25337e8"} 
[2026-08-05 20:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:03: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-08-05 20: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":17,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 20:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200587776001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1836202041172267008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200587776001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:03:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836202041172267008,"description":"Unknown IO ID 45"} 
[2026-08-05 20:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200587776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836202041172267008}} 
[2026-08-05 20:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":148850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:03:46] local.INFO: GPS data processed {"connection_id":148850,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:03:46] local.INFO: Acknowledgment sent {"connection_id":148850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:04:09] local.INFO: TCP Data received {"connection_id":151289,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:04:09] local.INFO: Processing buffer {"connection_id":151289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:04:09] local.INFO: IMEI packet received {"connection_id":151289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":151289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:04:14] local.INFO: TCP Data received {"connection_id":151289,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:04:14] local.INFO: Processing buffer {"connection_id":151289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:04:14] local.INFO: IMEI packet received {"connection_id":151289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":151289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:04:15] local.INFO: TCP Data received {"connection_id":148641,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:04:15] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:04:15] local.INFO: IMEI packet received {"connection_id":148641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":148641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:04:15] local.INFO: TCP Data received {"connection_id":151289,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:04:15] local.INFO: Processing buffer {"connection_id":151289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:04:15] local.INFO: Packet analysis {"connection_id":151289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:04:15] local.INFO: Extracted packet for processing {"connection_id":151289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200664832001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940398000,"timestamp_ms":1785940398000,"timestamp_seconds":1785940398,"priority":1,"record_length":96,"hex_timestamp":"0000019fd257cfb0"} 
[2026-08-05 20:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200664832001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200664832001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:04:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200664832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":151289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:04:15] local.INFO: GPS data processed {"connection_id":151289,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:04:15] local.INFO: Acknowledgment sent {"connection_id":151289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:04:19] local.INFO: TCP Data received {"connection_id":148641,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:04:19] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:04:19] local.INFO: IMEI packet received {"connection_id":148641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":148641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:04:20] local.INFO: TCP Data received {"connection_id":148641,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:04:20] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:04:20] local.INFO: Packet analysis {"connection_id":148641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:04:20] local.INFO: Extracted packet for processing {"connection_id":148641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200633600001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940276000,"timestamp_ms":1785940276000,"timestamp_seconds":1785940276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd255f320"} 
[2026-08-05 20:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:04: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-08-05 20:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200633600001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200633600001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:04:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200633600001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":148641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:04:20] local.INFO: GPS data processed {"connection_id":148641,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:04:20] local.INFO: Acknowledgment sent {"connection_id":148641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:04:46] local.INFO: TCP Data received {"connection_id":151289,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:04:46] local.INFO: Processing buffer {"connection_id":151289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:04:46] local.INFO: Packet analysis {"connection_id":151289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:04:46] local.INFO: Extracted packet for processing {"connection_id":151289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200664832001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940398000,"timestamp_ms":1785940398000,"timestamp_seconds":1785940398,"priority":1,"record_length":96,"hex_timestamp":"0000019fd257cfb0"} 
[2026-08-05 20:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200664832001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200664832001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:04:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200664832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":151289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:04:46] local.INFO: GPS data processed {"connection_id":151289,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:04:46] local.INFO: Acknowledgment sent {"connection_id":151289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:04:52] local.INFO: TCP Data received {"connection_id":148641,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:04:52] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:04:52] local.INFO: Packet analysis {"connection_id":148641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:04:52] local.INFO: Extracted packet for processing {"connection_id":148641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:04:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200633600001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785940276000,"timestamp_ms":1785940276000,"timestamp_seconds":1785940276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd255f320"} 
[2026-08-05 20:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200633600001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200633600001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:04:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200633600001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":148641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:04:52] local.INFO: GPS data processed {"connection_id":148641,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:04:52] local.INFO: Acknowledgment sent {"connection_id":148641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:05:14] local.INFO: TCP Data received {"connection_id":148643,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:05:14] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:05:14] local.INFO: IMEI packet received {"connection_id":148643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":148643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:05:14] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:05:14] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:05:14] local.INFO: IMEI packet received {"connection_id":148642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":148642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:05:19] local.INFO: TCP Data received {"connection_id":148643,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:05:19] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:05:19] local.INFO: IMEI packet received {"connection_id":148643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":148643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:05:19] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:05:19] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:05:19] local.INFO: IMEI packet received {"connection_id":148642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":148642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:05:20] local.INFO: TCP Data received {"connection_id":148643,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:05:20] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:05:20] local.INFO: Packet analysis {"connection_id":148643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:05:20] local.INFO: Extracted packet for processing {"connection_id":148643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:05:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200633600001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940276000,"timestamp_ms":1785940276000,"timestamp_seconds":1785940276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd255f320"} 
[2026-08-05 20:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:05: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-08-05 20:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200633600001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200633600001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:05:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200633600001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":148643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:05:20] local.INFO: GPS data processed {"connection_id":148643,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:05:20] local.INFO: Acknowledgment sent {"connection_id":148643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:05:20] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:05:20] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:05:20] local.INFO: Packet analysis {"connection_id":148642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:05:20] local.INFO: Extracted packet for processing {"connection_id":148642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200664832001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940398000,"timestamp_ms":1785940398000,"timestamp_seconds":1785940398,"priority":1,"record_length":96,"hex_timestamp":"0000019fd257cfb0"} 
[2026-08-05 20:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200664832001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200664832001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:05:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200664832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":148642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:05:20] local.INFO: GPS data processed {"connection_id":148642,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:05:20] local.INFO: Acknowledgment sent {"connection_id":148642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:05:25] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:05:25] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:05:25] local.INFO: Packet analysis {"connection_id":148642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:05:25] local.INFO: Extracted packet for processing {"connection_id":148642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:05:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200664832001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785940398000,"timestamp_ms":1785940398000,"timestamp_seconds":1785940398,"priority":1,"record_length":96,"hex_timestamp":"0000019fd257cfb0"} 
[2026-08-05 20:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:05: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-08-05 20:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200664832001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200664832001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:05:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:05:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200664832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":148642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:05:25] local.INFO: GPS data processed {"connection_id":148642,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:05:25] local.INFO: Acknowledgment sent {"connection_id":148642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:05:51] local.INFO: TCP Data received {"connection_id":148643,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:05:51] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:05:51] local.INFO: Packet analysis {"connection_id":148643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:05:51] local.INFO: Extracted packet for processing {"connection_id":148643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:05:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200633600001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785940276000,"timestamp_ms":1785940276000,"timestamp_seconds":1785940276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd255f320"} 
[2026-08-05 20:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200633600001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200633600001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:05:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200633600001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":148643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:05:51] local.INFO: GPS data processed {"connection_id":148643,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:05:51] local.INFO: Acknowledgment sent {"connection_id":148643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:06:09] local.INFO: TCP Data received {"connection_id":148852,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:06:09] local.INFO: Processing buffer {"connection_id":148852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:06:09] local.INFO: IMEI packet received {"connection_id":148852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":148852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:06:14] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:06:14] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:06:14] local.INFO: IMEI packet received {"connection_id":151290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":151290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:06:14] local.INFO: TCP Data received {"connection_id":148852,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:06:14] local.INFO: Processing buffer {"connection_id":148852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:06:14] local.INFO: IMEI packet received {"connection_id":148852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":148852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:06:15] local.INFO: TCP Data received {"connection_id":148852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:06:15] local.INFO: Processing buffer {"connection_id":148852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:06:15] local.INFO: Packet analysis {"connection_id":148852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:06:15] local.INFO: Extracted packet for processing {"connection_id":148852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200664832001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940398000,"timestamp_ms":1785940398000,"timestamp_seconds":1785940398,"priority":1,"record_length":96,"hex_timestamp":"0000019fd257cfb0"} 
[2026-08-05 20:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200664832001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200664832001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200664832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":148852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:06:15] local.INFO: GPS data processed {"connection_id":148852,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:06:15] local.INFO: Acknowledgment sent {"connection_id":148852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:06:19] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:06:19] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:06:19] local.INFO: IMEI packet received {"connection_id":151290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":151290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:06:20] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:06:20] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:06:20] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:06:20] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:06:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200633600001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940276000,"timestamp_ms":1785940276000,"timestamp_seconds":1785940276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd255f320"} 
[2026-08-05 20:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:06: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-08-05 20:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200633600001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200633600001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:06:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200633600001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:06:20] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:06:20] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:06:46] local.INFO: TCP Data received {"connection_id":148852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:06:46] local.INFO: Processing buffer {"connection_id":148852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:06:46] local.INFO: Packet analysis {"connection_id":148852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:06:46] local.INFO: Extracted packet for processing {"connection_id":148852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200664832001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940398000,"timestamp_ms":1785940398000,"timestamp_seconds":1785940398,"priority":1,"record_length":96,"hex_timestamp":"0000019fd257cfb0"} 
[2026-08-05 20:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200664832001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200664832001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:06:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200664832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":148852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:06:46] local.INFO: GPS data processed {"connection_id":148852,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:06:46] local.INFO: Acknowledgment sent {"connection_id":148852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:06:52] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:06:52] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd255f320012d77a54005f27938000e000024..."} 
[2026-08-05 20:06:52] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:06:52] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd255"} 
[2026-08-05 20:06:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200633600001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785940276000,"timestamp_ms":1785940276000,"timestamp_seconds":1785940276,"priority":1,"record_length":96,"hex_timestamp":"0000019fd255f320"} 
[2026-08-05 20:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200633600001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200633600001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:06:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200633600001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:06:52] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:06:52] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:07:09] local.INFO: TCP Data received {"connection_id":149863,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:07:09] local.INFO: Processing buffer {"connection_id":149863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:07:09] local.INFO: IMEI packet received {"connection_id":149863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":149863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:07:14] local.INFO: TCP Data received {"connection_id":148644,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:07:14] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:07:14] local.INFO: IMEI packet received {"connection_id":148644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":148644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:07:14] local.INFO: TCP Data received {"connection_id":149863,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:07:14] local.INFO: Processing buffer {"connection_id":149863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:07:14] local.INFO: IMEI packet received {"connection_id":149863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":149863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:07:15] local.INFO: TCP Data received {"connection_id":149863,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:07:15] local.INFO: Processing buffer {"connection_id":149863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:07:15] local.INFO: Packet analysis {"connection_id":149863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:07:15] local.INFO: Extracted packet for processing {"connection_id":149863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200664832001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940398000,"timestamp_ms":1785940398000,"timestamp_seconds":1785940398,"priority":1,"record_length":96,"hex_timestamp":"0000019fd257cfb0"} 
[2026-08-05 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-08-05 20:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200664832001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200664832001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:07:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200664832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":149863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:07:15] local.INFO: GPS data processed {"connection_id":149863,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:07:15] local.INFO: Acknowledgment sent {"connection_id":149863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:07:19] local.INFO: TCP Data received {"connection_id":148644,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:07:19] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:07:19] local.INFO: IMEI packet received {"connection_id":148644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":148644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:07:20] local.INFO: TCP Data received {"connection_id":148644,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:07:20] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:07:20] local.INFO: Packet analysis {"connection_id":148644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:07:20] local.INFO: Extracted packet for processing {"connection_id":148644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:07:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200710656001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940577000,"timestamp_ms":1785940577000,"timestamp_seconds":1785940577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25a8ae8"} 
[2026-08-05 20:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:07: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-08-05 20:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200710656001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200710656001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:07:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200710656001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":148644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:07:20] local.INFO: GPS data processed {"connection_id":148644,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:07:20] local.INFO: Acknowledgment sent {"connection_id":148644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:07:46] local.INFO: TCP Data received {"connection_id":149863,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:07:46] local.INFO: Processing buffer {"connection_id":149863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:07:46] local.INFO: Packet analysis {"connection_id":149863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:07:46] local.INFO: Extracted packet for processing {"connection_id":149863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200664832001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940398000,"timestamp_ms":1785940398000,"timestamp_seconds":1785940398,"priority":1,"record_length":96,"hex_timestamp":"0000019fd257cfb0"} 
[2026-08-05 20:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200664832001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200664832001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:07:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200664832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":149863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:07:46] local.INFO: GPS data processed {"connection_id":149863,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:07:46] local.INFO: Acknowledgment sent {"connection_id":149863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:07:51] local.INFO: TCP Data received {"connection_id":148644,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:07:51] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:07:51] local.INFO: Packet analysis {"connection_id":148644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:07:51] local.INFO: Extracted packet for processing {"connection_id":148644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:07:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200710656001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785940577000,"timestamp_ms":1785940577000,"timestamp_seconds":1785940577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25a8ae8"} 
[2026-08-05 20:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200710656001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200710656001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:07:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200710656001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":148644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:07:51] local.INFO: GPS data processed {"connection_id":148644,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:07:51] local.INFO: Acknowledgment sent {"connection_id":148644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:08:10] local.INFO: TCP Data received {"connection_id":149864,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:08:10] local.INFO: Processing buffer {"connection_id":149864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:08:10] local.INFO: IMEI packet received {"connection_id":149864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":149864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:08:14] local.INFO: TCP Data received {"connection_id":149864,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:08:14] local.INFO: Processing buffer {"connection_id":149864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:08:14] local.INFO: IMEI packet received {"connection_id":149864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":149864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:08:15] local.INFO: TCP Data received {"connection_id":149864,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:08:15] local.INFO: Processing buffer {"connection_id":149864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:08:15] local.INFO: Packet analysis {"connection_id":149864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:08:15] local.INFO: Extracted packet for processing {"connection_id":149864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200664832001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940398000,"timestamp_ms":1785940398000,"timestamp_seconds":1785940398,"priority":1,"record_length":96,"hex_timestamp":"0000019fd257cfb0"} 
[2026-08-05 20:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200664832001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200664832001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:08:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200664832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":149864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:08:15] local.INFO: GPS data processed {"connection_id":149864,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:08:15] local.INFO: Acknowledgment sent {"connection_id":149864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:08:19] local.INFO: TCP Data received {"connection_id":148645,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:08:19] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:08:19] local.INFO: IMEI packet received {"connection_id":148645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":148645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:08:24] local.INFO: TCP Data received {"connection_id":148645,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:08:24] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:08:24] local.INFO: IMEI packet received {"connection_id":148645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":148645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:08:25] local.INFO: TCP Data received {"connection_id":148645,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:08:25] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:08:25] local.INFO: Packet analysis {"connection_id":148645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:08:25] local.INFO: Extracted packet for processing {"connection_id":148645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:08:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200710656001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785940577000,"timestamp_ms":1785940577000,"timestamp_seconds":1785940577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25a8ae8"} 
[2026-08-05 20:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200710656001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200710656001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:08:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200710656001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":148645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:08:25] local.INFO: GPS data processed {"connection_id":148645,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:08:25] local.INFO: Acknowledgment sent {"connection_id":148645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:08:30] local.INFO: TCP Data received {"connection_id":148645,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:08:30] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:08:30] local.INFO: Packet analysis {"connection_id":148645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:08:30] local.INFO: Extracted packet for processing {"connection_id":148645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:08:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200710656001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785940577000,"timestamp_ms":1785940577000,"timestamp_seconds":1785940577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25a8ae8"} 
[2026-08-05 20:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200710656001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200710656001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:08:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200710656001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":148645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:08:30] local.INFO: GPS data processed {"connection_id":148645,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:08:30] local.INFO: Acknowledgment sent {"connection_id":148645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:08:46] local.INFO: TCP Data received {"connection_id":149864,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:08:46] local.INFO: Processing buffer {"connection_id":149864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd257cfb0012d196840071fef08003f010927..."} 
[2026-08-05 20:08:46] local.INFO: Packet analysis {"connection_id":149864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:08:46] local.INFO: Extracted packet for processing {"connection_id":149864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd257"} 
[2026-08-05 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200664832001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20: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-08-05 20:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940398000,"timestamp_ms":1785940398000,"timestamp_seconds":1785940398,"priority":1,"record_length":96,"hex_timestamp":"0000019fd257cfb0"} 
[2026-08-05 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-08-05 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200664832001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200664832001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:08:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200664832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":149864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:08:46] local.INFO: GPS data processed {"connection_id":149864,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:08:46] local.INFO: Acknowledgment sent {"connection_id":149864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:09:09] local.INFO: TCP Data received {"connection_id":148853,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:09:09] local.INFO: Processing buffer {"connection_id":148853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:09:09] local.INFO: IMEI packet received {"connection_id":148853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":148853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:09:14] local.INFO: TCP Data received {"connection_id":148646,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:09:14] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:09:14] local.INFO: IMEI packet received {"connection_id":148646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":148646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:09:14] local.INFO: TCP Data received {"connection_id":148853,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:09:14] local.INFO: Processing buffer {"connection_id":148853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:09:14] local.INFO: IMEI packet received {"connection_id":148853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":148853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:09:15] local.INFO: TCP Data received {"connection_id":148853,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:09:15] local.INFO: Processing buffer {"connection_id":148853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:09:15] local.INFO: Packet analysis {"connection_id":148853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:09:15] local.INFO: Extracted packet for processing {"connection_id":148853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200741888001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940699000,"timestamp_ms":1785940699000,"timestamp_seconds":1785940699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25c6778"} 
[2026-08-05 20:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200741888001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200741888001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:09:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200741888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":148853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:09:15] local.INFO: GPS data processed {"connection_id":148853,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:09:15] local.INFO: Acknowledgment sent {"connection_id":148853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:09:19] local.INFO: TCP Data received {"connection_id":148646,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:09:19] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:09:19] local.INFO: IMEI packet received {"connection_id":148646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":148646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:09:20] local.INFO: TCP Data received {"connection_id":148646,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:09:20] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:09:20] local.INFO: Packet analysis {"connection_id":148646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:09:20] local.INFO: Extracted packet for processing {"connection_id":148646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:09:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200710656001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940577000,"timestamp_ms":1785940577000,"timestamp_seconds":1785940577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25a8ae8"} 
[2026-08-05 20:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:09: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-08-05 20: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-08-05 20:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200710656001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200710656001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:09:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200710656001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":148646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:09:20] local.INFO: GPS data processed {"connection_id":148646,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:09:20] local.INFO: Acknowledgment sent {"connection_id":148646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:09:46] local.INFO: TCP Data received {"connection_id":148853,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:09:46] local.INFO: Processing buffer {"connection_id":148853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:09:46] local.INFO: Packet analysis {"connection_id":148853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:09:46] local.INFO: Extracted packet for processing {"connection_id":148853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200741888001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940699000,"timestamp_ms":1785940699000,"timestamp_seconds":1785940699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25c6778"} 
[2026-08-05 20:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200741888001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200741888001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:09:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200741888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":148853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:09:47] local.INFO: GPS data processed {"connection_id":148853,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:09:47] local.INFO: Acknowledgment sent {"connection_id":148853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:09:52] local.INFO: TCP Data received {"connection_id":148646,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:09:52] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:09:52] local.INFO: Packet analysis {"connection_id":148646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:09:52] local.INFO: Extracted packet for processing {"connection_id":148646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:09:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200710656001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785940577000,"timestamp_ms":1785940577000,"timestamp_seconds":1785940577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25a8ae8"} 
[2026-08-05 20:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200710656001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200710656001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:09:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200710656001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":148646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:09:52] local.INFO: GPS data processed {"connection_id":148646,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:09:52] local.INFO: Acknowledgment sent {"connection_id":148646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:10:09] local.INFO: TCP Data received {"connection_id":151291,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:10:09] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:10:09] local.INFO: IMEI packet received {"connection_id":151291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":151291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:10:14] local.INFO: TCP Data received {"connection_id":151292,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:10:14] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:10:14] local.INFO: IMEI packet received {"connection_id":151292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":151292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:10:14] local.INFO: TCP Data received {"connection_id":151291,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:10:14] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:10:14] local.INFO: IMEI packet received {"connection_id":151291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":151291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:10:15] local.INFO: TCP Data received {"connection_id":151291,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:10:15] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:10:15] local.INFO: Packet analysis {"connection_id":151291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:10:15] local.INFO: Extracted packet for processing {"connection_id":151291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200741888001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940699000,"timestamp_ms":1785940699000,"timestamp_seconds":1785940699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25c6778"} 
[2026-08-05 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-08-05 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200741888001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200741888001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:10:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200741888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":151291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:10:15] local.INFO: GPS data processed {"connection_id":151291,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:10:15] local.INFO: Acknowledgment sent {"connection_id":151291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:10:19] local.INFO: TCP Data received {"connection_id":151292,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:10:19] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:10:19] local.INFO: IMEI packet received {"connection_id":151292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":151292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:10:20] local.INFO: TCP Data received {"connection_id":151292,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:10:20] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:10:20] local.INFO: Packet analysis {"connection_id":151292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:10:20] local.INFO: Extracted packet for processing {"connection_id":151292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:10:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200710656001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940577000,"timestamp_ms":1785940577000,"timestamp_seconds":1785940577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25a8ae8"} 
[2026-08-05 20:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:10: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-08-05 20: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-08-05 20:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200710656001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200710656001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:10:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200710656001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":151292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:10:20] local.INFO: GPS data processed {"connection_id":151292,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:10:20] local.INFO: Acknowledgment sent {"connection_id":151292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:10:46] local.INFO: TCP Data received {"connection_id":151291,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:10:46] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:10:46] local.INFO: Packet analysis {"connection_id":151291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:10:46] local.INFO: Extracted packet for processing {"connection_id":151291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200741888001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10: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-08-05 20:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940699000,"timestamp_ms":1785940699000,"timestamp_seconds":1785940699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25c6778"} 
[2026-08-05 20:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200741888001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200741888001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:10:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200741888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":151291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:10:46] local.INFO: GPS data processed {"connection_id":151291,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:10:46] local.INFO: Acknowledgment sent {"connection_id":151291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:10:51] local.INFO: TCP Data received {"connection_id":151292,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:10:51] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:10:51] local.INFO: Packet analysis {"connection_id":151292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:10:51] local.INFO: Extracted packet for processing {"connection_id":151292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:10:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200710656001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785940577000,"timestamp_ms":1785940577000,"timestamp_seconds":1785940577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25a8ae8"} 
[2026-08-05 20:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200710656001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200710656001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:10:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200710656001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":151292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:10:51] local.INFO: GPS data processed {"connection_id":151292,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:10:51] local.INFO: Acknowledgment sent {"connection_id":151292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:11:14] local.INFO: TCP Data received {"connection_id":151293,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:11:14] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:11:14] local.INFO: IMEI packet received {"connection_id":151293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":151293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:11:14] local.INFO: TCP Data received {"connection_id":149865,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:11:14] local.INFO: Processing buffer {"connection_id":149865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:11:14] local.INFO: IMEI packet received {"connection_id":149865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":149865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:11:19] local.INFO: TCP Data received {"connection_id":151293,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:11:19] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:11:19] local.INFO: IMEI packet received {"connection_id":151293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":151293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:11:19] local.INFO: TCP Data received {"connection_id":149865,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:11:19] local.INFO: Processing buffer {"connection_id":149865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:11:19] local.INFO: IMEI packet received {"connection_id":149865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":149865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:11:20] local.INFO: TCP Data received {"connection_id":149865,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:11:20] local.INFO: Processing buffer {"connection_id":149865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:11:20] local.INFO: Packet analysis {"connection_id":149865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:11:20] local.INFO: Extracted packet for processing {"connection_id":149865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200741888001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940699000,"timestamp_ms":1785940699000,"timestamp_seconds":1785940699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25c6778"} 
[2026-08-05 20:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200741888001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200741888001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:11:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:11:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200741888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:11:20] local.INFO: TCP Data received {"connection_id":151293,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:11:20] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:11:20] local.INFO: Packet analysis {"connection_id":151293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:11:20] local.INFO: Extracted packet for processing {"connection_id":151293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:11:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200710656001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940577000,"timestamp_ms":1785940577000,"timestamp_seconds":1785940577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25a8ae8"} 
[2026-08-05 20:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:11: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-08-05 20:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200710656001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200710656001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:11:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200710656001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":151293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:11:20] local.INFO: GPS data processed {"connection_id":151293,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:11:20] local.INFO: Acknowledgment sent {"connection_id":151293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":149865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:11:20] local.INFO: GPS data processed {"connection_id":149865,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:11:20] local.INFO: Acknowledgment sent {"connection_id":149865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:11:25] local.INFO: TCP Data received {"connection_id":149865,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:11:25] local.INFO: Processing buffer {"connection_id":149865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:11:25] local.INFO: Packet analysis {"connection_id":149865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:11:25] local.INFO: Extracted packet for processing {"connection_id":149865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:11:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200741888001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785940699000,"timestamp_ms":1785940699000,"timestamp_seconds":1785940699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25c6778"} 
[2026-08-05 20:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:11: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-08-05 20:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200741888001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200741888001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:11:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:11:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200741888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":149865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:11:25] local.INFO: GPS data processed {"connection_id":149865,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:11:25] local.INFO: Acknowledgment sent {"connection_id":149865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:11:57] local.INFO: TCP Data received {"connection_id":151293,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:11:57] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25a8ae8012d77a54005f27938000e000023..."} 
[2026-08-05 20:11:57] local.INFO: Packet analysis {"connection_id":151293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:11:57] local.INFO: Extracted packet for processing {"connection_id":151293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25a"} 
[2026-08-05 20:11:57] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200710656001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785940577000,"timestamp_ms":1785940577000,"timestamp_seconds":1785940577,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25a8ae8"} 
[2026-08-05 20:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200710656001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200710656001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:11:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200710656001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":151293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:11:57] local.INFO: GPS data processed {"connection_id":151293,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:11:57] local.INFO: Acknowledgment sent {"connection_id":151293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:12:10] local.INFO: TCP Data received {"connection_id":148854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:12:10] local.INFO: Processing buffer {"connection_id":148854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:12:10] local.INFO: IMEI packet received {"connection_id":148854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":148854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:12:14] local.INFO: TCP Data received {"connection_id":148647,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:12:14] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:12:14] local.INFO: IMEI packet received {"connection_id":148647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":148647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:12:14] local.INFO: TCP Data received {"connection_id":148854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:12:14] local.INFO: Processing buffer {"connection_id":148854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:12:14] local.INFO: IMEI packet received {"connection_id":148854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":148854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:12:15] local.INFO: TCP Data received {"connection_id":148854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:12:15] local.INFO: Processing buffer {"connection_id":148854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:12:15] local.INFO: Packet analysis {"connection_id":148854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:12:15] local.INFO: Extracted packet for processing {"connection_id":148854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200741888001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940699000,"timestamp_ms":1785940699000,"timestamp_seconds":1785940699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25c6778"} 
[2026-08-05 20:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200741888001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200741888001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:12:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200741888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":148854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:12:15] local.INFO: GPS data processed {"connection_id":148854,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:12:15] local.INFO: Acknowledgment sent {"connection_id":148854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:12:19] local.INFO: TCP Data received {"connection_id":148647,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:12:19] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:12:19] local.INFO: IMEI packet received {"connection_id":148647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":148647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:12:20] local.INFO: TCP Data received {"connection_id":148854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:12:20] local.INFO: Processing buffer {"connection_id":148854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:12:20] local.INFO: Packet analysis {"connection_id":148854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:12:20] local.INFO: Extracted packet for processing {"connection_id":148854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200741888001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940699000,"timestamp_ms":1785940699000,"timestamp_seconds":1785940699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25c6778"} 
[2026-08-05 20:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200741888001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200741888001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:12:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:12:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200741888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":148854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:12:20] local.INFO: GPS data processed {"connection_id":148854,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:12:20] local.INFO: Acknowledgment sent {"connection_id":148854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:12:20] local.INFO: TCP Data received {"connection_id":148647,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:12:20] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:12:20] local.INFO: Packet analysis {"connection_id":148647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:12:20] local.INFO: Extracted packet for processing {"connection_id":148647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:12:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200787712001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940878000,"timestamp_ms":1785940878000,"timestamp_seconds":1785940878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25f22b0"} 
[2026-08-05 20:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:12: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-08-05 20:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200787712001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200787712001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:12:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200787712001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":148647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:12:20] local.INFO: GPS data processed {"connection_id":148647,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:12:20] local.INFO: Acknowledgment sent {"connection_id":148647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:12:51] local.INFO: TCP Data received {"connection_id":148854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:12:51] local.INFO: Processing buffer {"connection_id":148854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:12:51] local.INFO: Packet analysis {"connection_id":148854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:12:51] local.INFO: Extracted packet for processing {"connection_id":148854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200741888001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785940699000,"timestamp_ms":1785940699000,"timestamp_seconds":1785940699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25c6778"} 
[2026-08-05 20:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200741888001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200741888001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:12:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200741888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":148854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:12:51] local.INFO: GPS data processed {"connection_id":148854,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:12:51] local.INFO: Acknowledgment sent {"connection_id":148854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:12:51] local.INFO: TCP Data received {"connection_id":148647,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:12:51] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:12:51] local.INFO: Packet analysis {"connection_id":148647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:12:51] local.INFO: Extracted packet for processing {"connection_id":148647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:12:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200787712001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785940878000,"timestamp_ms":1785940878000,"timestamp_seconds":1785940878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25f22b0"} 
[2026-08-05 20:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200787712001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200787712001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:12:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200787712001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":148647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:12:51] local.INFO: GPS data processed {"connection_id":148647,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:12:51] local.INFO: Acknowledgment sent {"connection_id":148647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:13:09] local.INFO: TCP Data received {"connection_id":148855,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:13:09] local.INFO: Processing buffer {"connection_id":148855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:13:09] local.INFO: IMEI packet received {"connection_id":148855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":148855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:13:14] local.INFO: TCP Data received {"connection_id":151294,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:13:14] local.INFO: Processing buffer {"connection_id":151294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:13:14] local.INFO: IMEI packet received {"connection_id":151294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":151294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:13:14] local.INFO: TCP Data received {"connection_id":148855,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:13:14] local.INFO: Processing buffer {"connection_id":148855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:13:14] local.INFO: IMEI packet received {"connection_id":148855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":148855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:13:15] local.INFO: TCP Data received {"connection_id":148855,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:13:15] local.INFO: Processing buffer {"connection_id":148855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:13:15] local.INFO: Packet analysis {"connection_id":148855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:13:15] local.INFO: Extracted packet for processing {"connection_id":148855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200741888001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785940699000,"timestamp_ms":1785940699000,"timestamp_seconds":1785940699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25c6778"} 
[2026-08-05 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-08-05 20:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200741888001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200741888001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:13:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200741888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":148855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:13:15] local.INFO: GPS data processed {"connection_id":148855,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:13:15] local.INFO: Acknowledgment sent {"connection_id":148855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:13:19] local.INFO: TCP Data received {"connection_id":151294,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:13:19] local.INFO: Processing buffer {"connection_id":151294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:13:19] local.INFO: IMEI packet received {"connection_id":151294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":151294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:13:20] local.INFO: TCP Data received {"connection_id":151294,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:13:20] local.INFO: Processing buffer {"connection_id":151294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:13:20] local.INFO: Packet analysis {"connection_id":151294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:13:20] local.INFO: Extracted packet for processing {"connection_id":151294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:13:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200787712001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940878000,"timestamp_ms":1785940878000,"timestamp_seconds":1785940878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25f22b0"} 
[2026-08-05 20:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:13: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-08-05 20: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-08-05 20:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200787712001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200787712001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:13:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200787712001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":151294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:13:20] local.INFO: GPS data processed {"connection_id":151294,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:13:20] local.INFO: Acknowledgment sent {"connection_id":151294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:13:46] local.INFO: TCP Data received {"connection_id":148855,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:13:46] local.INFO: Processing buffer {"connection_id":148855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25c6778012d196840071fef08003f010925..."} 
[2026-08-05 20:13:46] local.INFO: Packet analysis {"connection_id":148855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:13:46] local.INFO: Extracted packet for processing {"connection_id":148855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25c"} 
[2026-08-05 20:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200741888001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20: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-08-05 20:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785940699000,"timestamp_ms":1785940699000,"timestamp_seconds":1785940699,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25c6778"} 
[2026-08-05 20:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200741888001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200741888001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:13:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200741888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":148855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:13:46] local.INFO: GPS data processed {"connection_id":148855,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:13:46] local.INFO: Acknowledgment sent {"connection_id":148855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:13:51] local.INFO: TCP Data received {"connection_id":151294,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:13:51] local.INFO: Processing buffer {"connection_id":151294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:13:51] local.INFO: Packet analysis {"connection_id":151294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:13:51] local.INFO: Extracted packet for processing {"connection_id":151294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:13:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200787712001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785940878000,"timestamp_ms":1785940878000,"timestamp_seconds":1785940878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25f22b0"} 
[2026-08-05 20:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200787712001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200787712001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:13:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200787712001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":151294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:13:51] local.INFO: GPS data processed {"connection_id":151294,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:13:51] local.INFO: Acknowledgment sent {"connection_id":151294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:14:14] local.INFO: TCP Data received {"connection_id":151295,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:14:14] local.INFO: Processing buffer {"connection_id":151295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:14:14] local.INFO: IMEI packet received {"connection_id":151295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":151295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:14:14] local.INFO: TCP Data received {"connection_id":149866,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:14:14] local.INFO: Processing buffer {"connection_id":149866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:14:14] local.INFO: IMEI packet received {"connection_id":149866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":149866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:14:19] local.INFO: TCP Data received {"connection_id":151295,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:14:19] local.INFO: Processing buffer {"connection_id":151295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:14:19] local.INFO: IMEI packet received {"connection_id":151295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":151295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:14:19] local.INFO: TCP Data received {"connection_id":149866,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:14:19] local.INFO: Processing buffer {"connection_id":149866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:14:19] local.INFO: IMEI packet received {"connection_id":149866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":149866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:14:20] local.INFO: TCP Data received {"connection_id":151295,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:14:20] local.INFO: Processing buffer {"connection_id":151295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:14:20] local.INFO: Packet analysis {"connection_id":151295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:14:20] local.INFO: Extracted packet for processing {"connection_id":151295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:14:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200787712001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940878000,"timestamp_ms":1785940878000,"timestamp_seconds":1785940878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25f22b0"} 
[2026-08-05 20:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:14: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-08-05 20:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200787712001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200787712001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:14:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200787712001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":151295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:14:20] local.INFO: GPS data processed {"connection_id":151295,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:14:20] local.INFO: Acknowledgment sent {"connection_id":151295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:14:20] local.INFO: TCP Data received {"connection_id":149866,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:14:20] local.INFO: Processing buffer {"connection_id":149866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:14:20] local.INFO: Packet analysis {"connection_id":149866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:14:20] local.INFO: Extracted packet for processing {"connection_id":149866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200818944001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941000000,"timestamp_ms":1785941000000,"timestamp_seconds":1785941000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd260ff40"} 
[2026-08-05 20:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200818944001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200818944001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:14:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200818944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":149866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:14:20] local.INFO: GPS data processed {"connection_id":149866,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:14:20] local.INFO: Acknowledgment sent {"connection_id":149866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:14:51] local.INFO: TCP Data received {"connection_id":149866,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:14:51] local.INFO: Processing buffer {"connection_id":149866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:14:51] local.INFO: Packet analysis {"connection_id":149866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:14:51] local.INFO: Extracted packet for processing {"connection_id":149866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200818944001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785941000000,"timestamp_ms":1785941000000,"timestamp_seconds":1785941000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd260ff40"} 
[2026-08-05 20:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200818944001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200818944001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:14:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200818944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":149866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:14:51] local.INFO: GPS data processed {"connection_id":149866,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:14:51] local.INFO: Acknowledgment sent {"connection_id":149866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:15:09] local.INFO: TCP Data received {"connection_id":148856,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:15:09] local.INFO: Processing buffer {"connection_id":148856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:15:09] local.INFO: IMEI packet received {"connection_id":148856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":148856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:15:14] local.INFO: TCP Data received {"connection_id":148857,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:15:14] local.INFO: Processing buffer {"connection_id":148857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:15:14] local.INFO: IMEI packet received {"connection_id":148857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":148857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:15:14] local.INFO: TCP Data received {"connection_id":148856,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:15:14] local.INFO: Processing buffer {"connection_id":148856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:15:14] local.INFO: IMEI packet received {"connection_id":148856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":148856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:15:15] local.INFO: TCP Data received {"connection_id":148856,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:15:15] local.INFO: Processing buffer {"connection_id":148856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:15:15] local.INFO: Packet analysis {"connection_id":148856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:15:15] local.INFO: Extracted packet for processing {"connection_id":148856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200818944001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941000000,"timestamp_ms":1785941000000,"timestamp_seconds":1785941000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd260ff40"} 
[2026-08-05 20:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200818944001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200818944001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:15:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200818944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":148856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:15:15] local.INFO: GPS data processed {"connection_id":148856,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:15:15] local.INFO: Acknowledgment sent {"connection_id":148856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:15:19] local.INFO: TCP Data received {"connection_id":148857,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:15:19] local.INFO: Processing buffer {"connection_id":148857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:15:19] local.INFO: IMEI packet received {"connection_id":148857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":148857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:15:23] local.INFO: TCP Data received {"connection_id":148857,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:15:23] local.INFO: Processing buffer {"connection_id":148857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:15:23] local.INFO: Packet analysis {"connection_id":148857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:15:23] local.INFO: Extracted packet for processing {"connection_id":148857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:15:23] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200787712001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785940878000,"timestamp_ms":1785940878000,"timestamp_seconds":1785940878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25f22b0"} 
[2026-08-05 20:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200787712001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200787712001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:15:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200787712001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":148857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:15:23] local.INFO: GPS data processed {"connection_id":148857,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:15:23] local.INFO: Acknowledgment sent {"connection_id":148857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:15:46] local.INFO: TCP Data received {"connection_id":148856,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:15:46] local.INFO: Processing buffer {"connection_id":148856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:15:46] local.INFO: Packet analysis {"connection_id":148856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:15:46] local.INFO: Extracted packet for processing {"connection_id":148856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200818944001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941000000,"timestamp_ms":1785941000000,"timestamp_seconds":1785941000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd260ff40"} 
[2026-08-05 20:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200818944001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200818944001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:15:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200818944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":148856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:15:46] local.INFO: GPS data processed {"connection_id":148856,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:15:46] local.INFO: Acknowledgment sent {"connection_id":148856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:15:54] local.INFO: TCP Data received {"connection_id":148857,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:15:54] local.INFO: Processing buffer {"connection_id":148857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:15:54] local.INFO: Packet analysis {"connection_id":148857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:15:54] local.INFO: Extracted packet for processing {"connection_id":148857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:15:54] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200787712001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785940878000,"timestamp_ms":1785940878000,"timestamp_seconds":1785940878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25f22b0"} 
[2026-08-05 20:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200787712001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200787712001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:15:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200787712001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":148857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:15:54] local.INFO: GPS data processed {"connection_id":148857,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:15:54] local.INFO: Acknowledgment sent {"connection_id":148857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:16:09] local.INFO: TCP Data received {"connection_id":148648,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:16:09] local.INFO: Processing buffer {"connection_id":148648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:16:09] local.INFO: IMEI packet received {"connection_id":148648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":148648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:16:14] local.INFO: TCP Data received {"connection_id":148858,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:16:14] local.INFO: Processing buffer {"connection_id":148858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:16:14] local.INFO: IMEI packet received {"connection_id":148858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":148858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:16:14] local.INFO: TCP Data received {"connection_id":148648,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:16:14] local.INFO: Processing buffer {"connection_id":148648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:16:14] local.INFO: IMEI packet received {"connection_id":148648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":148648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:16:15] local.INFO: TCP Data received {"connection_id":148648,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:16:15] local.INFO: Processing buffer {"connection_id":148648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:16:15] local.INFO: Packet analysis {"connection_id":148648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:16:15] local.INFO: Extracted packet for processing {"connection_id":148648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200818944001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941000000,"timestamp_ms":1785941000000,"timestamp_seconds":1785941000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd260ff40"} 
[2026-08-05 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-08-05 20:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200818944001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200818944001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:16:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200818944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":148648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:16:15] local.INFO: GPS data processed {"connection_id":148648,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:16:15] local.INFO: Acknowledgment sent {"connection_id":148648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:16:19] local.INFO: TCP Data received {"connection_id":148858,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:16:19] local.INFO: Processing buffer {"connection_id":148858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:16:19] local.INFO: IMEI packet received {"connection_id":148858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":148858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:16:20] local.INFO: TCP Data received {"connection_id":148858,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:16:20] local.INFO: Processing buffer {"connection_id":148858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:16:20] local.INFO: Packet analysis {"connection_id":148858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:16:20] local.INFO: Extracted packet for processing {"connection_id":148858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:16:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200787712001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785940878000,"timestamp_ms":1785940878000,"timestamp_seconds":1785940878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25f22b0"} 
[2026-08-05 20:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:16: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-08-05 20: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-08-05 20:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200787712001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200787712001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:16:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200787712001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":148858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:16:20] local.INFO: GPS data processed {"connection_id":148858,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:16:20] local.INFO: Acknowledgment sent {"connection_id":148858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:16:46] local.INFO: TCP Data received {"connection_id":148648,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:16:46] local.INFO: Processing buffer {"connection_id":148648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:16:46] local.INFO: Packet analysis {"connection_id":148648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:16:46] local.INFO: Extracted packet for processing {"connection_id":148648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200818944001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941000000,"timestamp_ms":1785941000000,"timestamp_seconds":1785941000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd260ff40"} 
[2026-08-05 20:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200818944001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200818944001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:16:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200818944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":148648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:16:46] local.INFO: GPS data processed {"connection_id":148648,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:16:46] local.INFO: Acknowledgment sent {"connection_id":148648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:16:52] local.INFO: TCP Data received {"connection_id":148858,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:16:52] local.INFO: Processing buffer {"connection_id":148858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd25f22b0012d77a54005f27938000e000025..."} 
[2026-08-05 20:16:52] local.INFO: Packet analysis {"connection_id":148858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:16:52] local.INFO: Extracted packet for processing {"connection_id":148858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd25f"} 
[2026-08-05 20:16:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200787712001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785940878000,"timestamp_ms":1785940878000,"timestamp_seconds":1785940878,"priority":1,"record_length":96,"hex_timestamp":"0000019fd25f22b0"} 
[2026-08-05 20:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200787712001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200787712001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:16:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200787712001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":148858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:16:52] local.INFO: GPS data processed {"connection_id":148858,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:16:52] local.INFO: Acknowledgment sent {"connection_id":148858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:17:09] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:17:09] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:17:09] local.INFO: IMEI packet received {"connection_id":148649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":148649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:17:14] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:17:14] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:17:14] local.INFO: IMEI packet received {"connection_id":148649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":148649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:17:15] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:17:15] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:17:15] local.INFO: Packet analysis {"connection_id":148649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:17:15] local.INFO: Extracted packet for processing {"connection_id":148649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200818944001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941000000,"timestamp_ms":1785941000000,"timestamp_seconds":1785941000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd260ff40"} 
[2026-08-05 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-08-05 20:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200818944001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200818944001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:17:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200818944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":148649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:17:15] local.INFO: GPS data processed {"connection_id":148649,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:17:15] local.INFO: Acknowledgment sent {"connection_id":148649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:17:19] local.INFO: TCP Data received {"connection_id":151296,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:17:19] local.INFO: Processing buffer {"connection_id":151296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:17:19] local.INFO: IMEI packet received {"connection_id":151296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":151296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:17:24] local.INFO: TCP Data received {"connection_id":151296,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:17:24] local.INFO: Processing buffer {"connection_id":151296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:17:24] local.INFO: IMEI packet received {"connection_id":151296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":151296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:17:25] local.INFO: TCP Data received {"connection_id":151296,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:17:25] local.INFO: Processing buffer {"connection_id":151296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:17:25] local.INFO: Packet analysis {"connection_id":151296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:17:25] local.INFO: Extracted packet for processing {"connection_id":151296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:17:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":24,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200864768001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785941179000,"timestamp_ms":1785941179000,"timestamp_seconds":1785941179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd263ba78"} 
[2026-08-05 20:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200864768001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200864768001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:17:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200864768001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":151296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:17:25] local.INFO: GPS data processed {"connection_id":151296,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:17:25] local.INFO: Acknowledgment sent {"connection_id":151296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:17:46] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:17:46] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:17:46] local.INFO: Packet analysis {"connection_id":148649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:17:46] local.INFO: Extracted packet for processing {"connection_id":148649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200818944001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941000000,"timestamp_ms":1785941000000,"timestamp_seconds":1785941000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd260ff40"} 
[2026-08-05 20:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200818944001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200818944001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:17:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200818944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":148649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:17:46] local.INFO: GPS data processed {"connection_id":148649,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:17:46] local.INFO: Acknowledgment sent {"connection_id":148649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:17:56] local.INFO: TCP Data received {"connection_id":151296,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:17:56] local.INFO: Processing buffer {"connection_id":151296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:17:56] local.INFO: Packet analysis {"connection_id":151296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:17:56] local.INFO: Extracted packet for processing {"connection_id":151296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:17:56] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":24,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200864768001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785941179000,"timestamp_ms":1785941179000,"timestamp_seconds":1785941179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd263ba78"} 
[2026-08-05 20:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200864768001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200864768001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:17:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200864768001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":151296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:17:56] local.INFO: GPS data processed {"connection_id":151296,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:17:56] local.INFO: Acknowledgment sent {"connection_id":151296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:18:14] local.INFO: TCP Data received {"connection_id":149868,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:18:14] local.INFO: Processing buffer {"connection_id":149868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:18:14] local.INFO: IMEI packet received {"connection_id":149868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":149868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:18:14] local.INFO: TCP Data received {"connection_id":149867,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:18:14] local.INFO: Processing buffer {"connection_id":149867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:18:14] local.INFO: IMEI packet received {"connection_id":149867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":149867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:18:19] local.INFO: TCP Data received {"connection_id":149868,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:18:19] local.INFO: Processing buffer {"connection_id":149868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:18:19] local.INFO: IMEI packet received {"connection_id":149868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":149868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:18:19] local.INFO: TCP Data received {"connection_id":149867,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:18:19] local.INFO: Processing buffer {"connection_id":149867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:18:19] local.INFO: IMEI packet received {"connection_id":149867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":149867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:18:20] local.INFO: TCP Data received {"connection_id":149868,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:18:20] local.INFO: Processing buffer {"connection_id":149868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:18:20] local.INFO: Packet analysis {"connection_id":149868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:18:20] local.INFO: Extracted packet for processing {"connection_id":149868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:18:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":24,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200864768001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941179000,"timestamp_ms":1785941179000,"timestamp_seconds":1785941179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd263ba78"} 
[2026-08-05 20:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:18: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-08-05 20:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200864768001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200864768001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:18:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200864768001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":149868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:18:20] local.INFO: GPS data processed {"connection_id":149868,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:18:20] local.INFO: Acknowledgment sent {"connection_id":149868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:18:20] local.INFO: TCP Data received {"connection_id":149867,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:18:20] local.INFO: Processing buffer {"connection_id":149867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:18:20] local.INFO: Packet analysis {"connection_id":149867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:18:20] local.INFO: Extracted packet for processing {"connection_id":149867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:18:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200818944001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941000000,"timestamp_ms":1785941000000,"timestamp_seconds":1785941000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd260ff40"} 
[2026-08-05 20:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200818944001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200818944001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:18:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:18:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200818944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":149867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:18:20] local.INFO: GPS data processed {"connection_id":149867,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:18:20] local.INFO: Acknowledgment sent {"connection_id":149867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:18:25] local.INFO: TCP Data received {"connection_id":149867,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:18:25] local.INFO: Processing buffer {"connection_id":149867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd260ff40012d196840071fef08003f010928..."} 
[2026-08-05 20:18:25] local.INFO: Packet analysis {"connection_id":149867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:18:25] local.INFO: Extracted packet for processing {"connection_id":149867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd260"} 
[2026-08-05 20:18:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200818944001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785941000000,"timestamp_ms":1785941000000,"timestamp_seconds":1785941000,"priority":1,"record_length":96,"hex_timestamp":"0000019fd260ff40"} 
[2026-08-05 20:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:18: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-08-05 20:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200818944001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200818944001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:18:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:18:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200818944001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":149867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:18:25] local.INFO: GPS data processed {"connection_id":149867,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:18:25] local.INFO: Acknowledgment sent {"connection_id":149867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:18:51] local.INFO: TCP Data received {"connection_id":149868,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:18:51] local.INFO: Processing buffer {"connection_id":149868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:18:51] local.INFO: Packet analysis {"connection_id":149868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:18:51] local.INFO: Extracted packet for processing {"connection_id":149868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:18:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":24,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200864768001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785941179000,"timestamp_ms":1785941179000,"timestamp_seconds":1785941179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd263ba78"} 
[2026-08-05 20:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200864768001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200864768001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:18:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200864768001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":149868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:18:51] local.INFO: GPS data processed {"connection_id":149868,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:18:51] local.INFO: Acknowledgment sent {"connection_id":149868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:19:09] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:19:09] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:19:09] local.INFO: IMEI packet received {"connection_id":151297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":151297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:19:14] local.INFO: TCP Data received {"connection_id":148650,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:19:14] local.INFO: Processing buffer {"connection_id":148650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:19:14] local.INFO: IMEI packet received {"connection_id":148650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":148650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:19:14] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:19:14] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:19:14] local.INFO: IMEI packet received {"connection_id":151297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":151297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:19:15] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:19:15] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:19:15] local.INFO: Packet analysis {"connection_id":151297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:19:15] local.INFO: Extracted packet for processing {"connection_id":151297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200896000001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941301000,"timestamp_ms":1785941301000,"timestamp_seconds":1785941301,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2659708"} 
[2026-08-05 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-08-05 20:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200896000001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200896000001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:19:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200896000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":151297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:19:15] local.INFO: GPS data processed {"connection_id":151297,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:19:15] local.INFO: Acknowledgment sent {"connection_id":151297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:19:19] local.INFO: TCP Data received {"connection_id":148650,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:19:19] local.INFO: Processing buffer {"connection_id":148650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:19:19] local.INFO: IMEI packet received {"connection_id":148650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":148650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:19:20] local.INFO: TCP Data received {"connection_id":148650,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:19:20] local.INFO: Processing buffer {"connection_id":148650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:19:20] local.INFO: Packet analysis {"connection_id":148650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:19:20] local.INFO: Extracted packet for processing {"connection_id":148650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:19:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":24,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200864768001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941179000,"timestamp_ms":1785941179000,"timestamp_seconds":1785941179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd263ba78"} 
[2026-08-05 20:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:19: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-08-05 20: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-08-05 20:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200864768001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200864768001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:19:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200864768001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":148650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:19:20] local.INFO: GPS data processed {"connection_id":148650,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:19:20] local.INFO: Acknowledgment sent {"connection_id":148650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:19:46] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:19:46] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:19:46] local.INFO: Packet analysis {"connection_id":151297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:19:46] local.INFO: Extracted packet for processing {"connection_id":151297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200896000001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941301000,"timestamp_ms":1785941301000,"timestamp_seconds":1785941301,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2659708"} 
[2026-08-05 20:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:19: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-08-05 20: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-08-05 20:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200896000001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200896000001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:19:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200896000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":151297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:19:47] local.INFO: GPS data processed {"connection_id":151297,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:19:47] local.INFO: Acknowledgment sent {"connection_id":151297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:19:52] local.INFO: TCP Data received {"connection_id":148650,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:19:52] local.INFO: Processing buffer {"connection_id":148650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:19:52] local.INFO: Packet analysis {"connection_id":148650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:19:52] local.INFO: Extracted packet for processing {"connection_id":148650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:19:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":24,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200864768001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785941179000,"timestamp_ms":1785941179000,"timestamp_seconds":1785941179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd263ba78"} 
[2026-08-05 20:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200864768001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200864768001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:19:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200864768001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":148650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:19:52] local.INFO: GPS data processed {"connection_id":148650,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:19:52] local.INFO: Acknowledgment sent {"connection_id":148650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:20:09] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:20:09] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:20:09] local.INFO: IMEI packet received {"connection_id":148651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":148651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:20:14] local.INFO: TCP Data received {"connection_id":148859,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:20:14] local.INFO: Processing buffer {"connection_id":148859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:20:14] local.INFO: IMEI packet received {"connection_id":148859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":148859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:20:14] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:20:14] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:20:14] local.INFO: IMEI packet received {"connection_id":148651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":148651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:20:15] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:20:15] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:20:15] local.INFO: Packet analysis {"connection_id":148651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:20:15] local.INFO: Extracted packet for processing {"connection_id":148651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200896000001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941301000,"timestamp_ms":1785941301000,"timestamp_seconds":1785941301,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2659708"} 
[2026-08-05 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-08-05 20:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200896000001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200896000001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:20:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200896000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":148651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:20:15] local.INFO: GPS data processed {"connection_id":148651,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:20:15] local.INFO: Acknowledgment sent {"connection_id":148651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:20:19] local.INFO: TCP Data received {"connection_id":148859,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:20:19] local.INFO: Processing buffer {"connection_id":148859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:20:19] local.INFO: IMEI packet received {"connection_id":148859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":148859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:20:20] local.INFO: TCP Data received {"connection_id":148859,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:20:20] local.INFO: Processing buffer {"connection_id":148859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:20:20] local.INFO: Packet analysis {"connection_id":148859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:20:20] local.INFO: Extracted packet for processing {"connection_id":148859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:20:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":24,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200864768001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941179000,"timestamp_ms":1785941179000,"timestamp_seconds":1785941179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd263ba78"} 
[2026-08-05 20:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20: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-08-05 20: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-08-05 20:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200864768001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200864768001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:20:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200864768001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":148859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:20:20] local.INFO: GPS data processed {"connection_id":148859,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:20:20] local.INFO: Acknowledgment sent {"connection_id":148859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:20:46] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:20:46] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:20:46] local.INFO: Packet analysis {"connection_id":148651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:20:46] local.INFO: Extracted packet for processing {"connection_id":148651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200896000001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20: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-08-05 20:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941301000,"timestamp_ms":1785941301000,"timestamp_seconds":1785941301,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2659708"} 
[2026-08-05 20:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:20: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-08-05 20:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200896000001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200896000001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:20:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200896000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":148651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:20:46] local.INFO: GPS data processed {"connection_id":148651,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:20:46] local.INFO: Acknowledgment sent {"connection_id":148651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:20:55] local.INFO: TCP Data received {"connection_id":148859,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:20:55] local.INFO: Processing buffer {"connection_id":148859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:20:55] local.INFO: Packet analysis {"connection_id":148859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:20:55] local.INFO: Extracted packet for processing {"connection_id":148859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:20:55] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":24,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200864768001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785941179000,"timestamp_ms":1785941179000,"timestamp_seconds":1785941179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd263ba78"} 
[2026-08-05 20:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:20: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-08-05 20:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200864768001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200864768001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:20:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200864768001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":148859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:20:55] local.INFO: GPS data processed {"connection_id":148859,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:20:55] local.INFO: Acknowledgment sent {"connection_id":148859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:21:09] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:21:09] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:21:09] local.INFO: IMEI packet received {"connection_id":148652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":148652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:21:14] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:21:14] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:21:14] local.INFO: IMEI packet received {"connection_id":148652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":148652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:21:15] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:21:15] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:21:15] local.INFO: Packet analysis {"connection_id":148652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:21:15] local.INFO: Extracted packet for processing {"connection_id":148652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200896000001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941301000,"timestamp_ms":1785941301000,"timestamp_seconds":1785941301,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2659708"} 
[2026-08-05 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-08-05 20:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200896000001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200896000001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:21:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200896000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":148652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:21:15] local.INFO: GPS data processed {"connection_id":148652,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:21:15] local.INFO: Acknowledgment sent {"connection_id":148652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:21:19] local.INFO: TCP Data received {"connection_id":151298,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:21:19] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:21:19] local.INFO: IMEI packet received {"connection_id":151298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":151298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:21:24] local.INFO: TCP Data received {"connection_id":151298,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:21:24] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:21:24] local.INFO: IMEI packet received {"connection_id":151298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":151298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:21:26] local.INFO: TCP Data received {"connection_id":151298,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:21:26] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:21:26] local.INFO: Packet analysis {"connection_id":151298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:21:26] local.INFO: Extracted packet for processing {"connection_id":151298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:21:26] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":24,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200864768001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785941179000,"timestamp_ms":1785941179000,"timestamp_seconds":1785941179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd263ba78"} 
[2026-08-05 20:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200864768001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200864768001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:21:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200864768001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":151298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:21:26] local.INFO: GPS data processed {"connection_id":151298,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:21:26] local.INFO: Acknowledgment sent {"connection_id":151298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:21:30] local.INFO: TCP Data received {"connection_id":151298,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:21:30] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd263ba78012d77a54005f279380018000026..."} 
[2026-08-05 20:21:30] local.INFO: Packet analysis {"connection_id":151298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:21:30] local.INFO: Extracted packet for processing {"connection_id":151298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd263"} 
[2026-08-05 20:21:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":24,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200864768001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785941179000,"timestamp_ms":1785941179000,"timestamp_seconds":1785941179,"priority":1,"record_length":96,"hex_timestamp":"0000019fd263ba78"} 
[2026-08-05 20:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200864768001,"66":25549,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200864768001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:21:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200864768001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":151298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:21:30] local.INFO: GPS data processed {"connection_id":151298,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:21:30] local.INFO: Acknowledgment sent {"connection_id":151298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:21:46] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:21:46] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:21:46] local.INFO: Packet analysis {"connection_id":148652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:21:46] local.INFO: Extracted packet for processing {"connection_id":148652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200896000001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941301000,"timestamp_ms":1785941301000,"timestamp_seconds":1785941301,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2659708"} 
[2026-08-05 20:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:21: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-08-05 20: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-08-05 20:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200896000001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200896000001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:21:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200896000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":148652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:21:46] local.INFO: GPS data processed {"connection_id":148652,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:21:46] local.INFO: Acknowledgment sent {"connection_id":148652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:22:09] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:22:09] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:22:09] local.INFO: IMEI packet received {"connection_id":151299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":151299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:22:14] local.INFO: TCP Data received {"connection_id":151300,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:22:14] local.INFO: Processing buffer {"connection_id":151300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:22:14] local.INFO: IMEI packet received {"connection_id":151300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":151300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:22:14] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:22:14] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:22:14] local.INFO: IMEI packet received {"connection_id":151299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":151299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:22:15] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:22:15] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:22:15] local.INFO: Packet analysis {"connection_id":151299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:22:15] local.INFO: Extracted packet for processing {"connection_id":151299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200896000001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941301000,"timestamp_ms":1785941301000,"timestamp_seconds":1785941301,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2659708"} 
[2026-08-05 20:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200896000001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200896000001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:22:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200896000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":151299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:22:15] local.INFO: GPS data processed {"connection_id":151299,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:22:15] local.INFO: Acknowledgment sent {"connection_id":151299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:22:19] local.INFO: TCP Data received {"connection_id":151300,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:22:19] local.INFO: Processing buffer {"connection_id":151300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:22:19] local.INFO: IMEI packet received {"connection_id":151300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":151300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:22:20] local.INFO: TCP Data received {"connection_id":151300,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:22:20] local.INFO: Processing buffer {"connection_id":151300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:22:20] local.INFO: Packet analysis {"connection_id":151300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:22:20] local.INFO: Extracted packet for processing {"connection_id":151300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:22:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200941824001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941480000,"timestamp_ms":1785941480000,"timestamp_seconds":1785941480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2685240"} 
[2026-08-05 20:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:22: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-08-05 20:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200941824001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200941824001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:22:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200941824001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":151300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:22:20] local.INFO: GPS data processed {"connection_id":151300,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:22:20] local.INFO: Acknowledgment sent {"connection_id":151300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:22:46] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:22:46] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:22:46] local.INFO: Packet analysis {"connection_id":151299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:22:46] local.INFO: Extracted packet for processing {"connection_id":151299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200896000001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941301000,"timestamp_ms":1785941301000,"timestamp_seconds":1785941301,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2659708"} 
[2026-08-05 20:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:22: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-08-05 20:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200896000001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200896000001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:22:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200896000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":151299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:22:46] local.INFO: GPS data processed {"connection_id":151299,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:22:46] local.INFO: Acknowledgment sent {"connection_id":151299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:22:52] local.INFO: TCP Data received {"connection_id":151300,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:22:52] local.INFO: Processing buffer {"connection_id":151300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:22:52] local.INFO: Packet analysis {"connection_id":151300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:22:52] local.INFO: Extracted packet for processing {"connection_id":151300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:22:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200941824001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785941480000,"timestamp_ms":1785941480000,"timestamp_seconds":1785941480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2685240"} 
[2026-08-05 20:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200941824001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200941824001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:22:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200941824001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":151300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:22:52] local.INFO: GPS data processed {"connection_id":151300,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:22:52] local.INFO: Acknowledgment sent {"connection_id":151300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:23:09] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:23:09] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:23:09] local.INFO: IMEI packet received {"connection_id":151301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":151301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:23:14] local.INFO: TCP Data received {"connection_id":151302,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:23:14] local.INFO: Processing buffer {"connection_id":151302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:23:14] local.INFO: IMEI packet received {"connection_id":151302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":151302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:23:14] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:23:14] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:23:14] local.INFO: IMEI packet received {"connection_id":151301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":151301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:23:15] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:23:15] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:23:15] local.INFO: Packet analysis {"connection_id":151301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:23:15] local.INFO: Extracted packet for processing {"connection_id":151301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200896000001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941301000,"timestamp_ms":1785941301000,"timestamp_seconds":1785941301,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2659708"} 
[2026-08-05 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-08-05 20:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200896000001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200896000001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:23:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200896000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":151301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:23:15] local.INFO: GPS data processed {"connection_id":151301,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:23:15] local.INFO: Acknowledgment sent {"connection_id":151301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:23:19] local.INFO: TCP Data received {"connection_id":151302,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:23:19] local.INFO: Processing buffer {"connection_id":151302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:23:19] local.INFO: IMEI packet received {"connection_id":151302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":151302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:23:20] local.INFO: TCP Data received {"connection_id":151302,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:23:20] local.INFO: Processing buffer {"connection_id":151302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:23:20] local.INFO: Packet analysis {"connection_id":151302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:23:20] local.INFO: Extracted packet for processing {"connection_id":151302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:23:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200941824001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941480000,"timestamp_ms":1785941480000,"timestamp_seconds":1785941480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2685240"} 
[2026-08-05 20:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:23: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-08-05 20:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200941824001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200941824001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:23:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200941824001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":151302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:23:20] local.INFO: GPS data processed {"connection_id":151302,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:23:20] local.INFO: Acknowledgment sent {"connection_id":151302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:23:46] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:23:46] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2659708012d196840071fef08003f010927..."} 
[2026-08-05 20:23:46] local.INFO: Packet analysis {"connection_id":151301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:23:46] local.INFO: Extracted packet for processing {"connection_id":151301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd265"} 
[2026-08-05 20:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200896000001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941301000,"timestamp_ms":1785941301000,"timestamp_seconds":1785941301,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2659708"} 
[2026-08-05 20:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:23: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-08-05 20:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200896000001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200896000001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:23:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200896000001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":151301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:23:46] local.INFO: GPS data processed {"connection_id":151301,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:23:46] local.INFO: Acknowledgment sent {"connection_id":151301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:23:52] local.INFO: TCP Data received {"connection_id":151302,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:23:52] local.INFO: Processing buffer {"connection_id":151302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:23:52] local.INFO: Packet analysis {"connection_id":151302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:23:52] local.INFO: Extracted packet for processing {"connection_id":151302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:23:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200941824001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785941480000,"timestamp_ms":1785941480000,"timestamp_seconds":1785941480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2685240"} 
[2026-08-05 20:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200941824001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200941824001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:23:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200941824001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":151302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:23:52] local.INFO: GPS data processed {"connection_id":151302,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:23:52] local.INFO: Acknowledgment sent {"connection_id":151302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:24:14] local.INFO: TCP Data received {"connection_id":151303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:24:14] local.INFO: Processing buffer {"connection_id":151303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:24:14] local.INFO: IMEI packet received {"connection_id":151303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":151303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:24:19] local.INFO: TCP Data received {"connection_id":151303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:24:19] local.INFO: Processing buffer {"connection_id":151303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:24:19] local.INFO: IMEI packet received {"connection_id":151303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":151303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:24:19] local.INFO: TCP Data received {"connection_id":148860,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:24:19] local.INFO: Processing buffer {"connection_id":148860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:24:19] local.INFO: IMEI packet received {"connection_id":148860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":148860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:24:20] local.INFO: TCP Data received {"connection_id":151303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:24:20] local.INFO: Processing buffer {"connection_id":151303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:24:20] local.INFO: Packet analysis {"connection_id":151303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:24:20] local.INFO: Extracted packet for processing {"connection_id":151303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200973056001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941602000,"timestamp_ms":1785941602000,"timestamp_seconds":1785941602,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26a2ed0"} 
[2026-08-05 20:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200973056001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200973056001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:24:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:24:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200973056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":151303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:24:20] local.INFO: GPS data processed {"connection_id":151303,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:24:20] local.INFO: Acknowledgment sent {"connection_id":151303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:24:24] local.INFO: TCP Data received {"connection_id":148860,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:24:24] local.INFO: Processing buffer {"connection_id":148860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:24:24] local.INFO: IMEI packet received {"connection_id":148860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":148860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:24:26] local.INFO: TCP Data received {"connection_id":148860,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:24:26] local.INFO: Processing buffer {"connection_id":148860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:24:26] local.INFO: Packet analysis {"connection_id":148860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:24:26] local.INFO: Extracted packet for processing {"connection_id":148860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:24:26] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200941824001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785941480000,"timestamp_ms":1785941480000,"timestamp_seconds":1785941480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2685240"} 
[2026-08-05 20:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200941824001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200941824001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:24:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200941824001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":148860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:24:26] local.INFO: GPS data processed {"connection_id":148860,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:24:26] local.INFO: Acknowledgment sent {"connection_id":148860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:24:30] local.INFO: TCP Data received {"connection_id":148860,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:24:30] local.INFO: Processing buffer {"connection_id":148860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:24:30] local.INFO: Packet analysis {"connection_id":148860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:24:30] local.INFO: Extracted packet for processing {"connection_id":148860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200941824001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785941480000,"timestamp_ms":1785941480000,"timestamp_seconds":1785941480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2685240"} 
[2026-08-05 20:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200941824001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200941824001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:24:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200941824001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":148860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:24:30] local.INFO: GPS data processed {"connection_id":148860,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:24:30] local.INFO: Acknowledgment sent {"connection_id":148860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:24:51] local.INFO: TCP Data received {"connection_id":151303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:24:51] local.INFO: Processing buffer {"connection_id":151303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:24:51] local.INFO: Packet analysis {"connection_id":151303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:24:51] local.INFO: Extracted packet for processing {"connection_id":151303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200973056001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785941602000,"timestamp_ms":1785941602000,"timestamp_seconds":1785941602,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26a2ed0"} 
[2026-08-05 20:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200973056001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200973056001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:24:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200973056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":151303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:24:51] local.INFO: GPS data processed {"connection_id":151303,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:24:51] local.INFO: Acknowledgment sent {"connection_id":151303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:25:09] local.INFO: TCP Data received {"connection_id":151304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:25:09] local.INFO: Processing buffer {"connection_id":151304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:25:09] local.INFO: IMEI packet received {"connection_id":151304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":151304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:25:14] local.INFO: TCP Data received {"connection_id":151304,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:25:14] local.INFO: Processing buffer {"connection_id":151304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:25:14] local.INFO: IMEI packet received {"connection_id":151304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":151304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:25:15] local.INFO: TCP Data received {"connection_id":148861,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:25:15] local.INFO: Processing buffer {"connection_id":148861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:25:15] local.INFO: IMEI packet received {"connection_id":148861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":148861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:25:15] local.INFO: TCP Data received {"connection_id":151304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:25:15] local.INFO: Processing buffer {"connection_id":151304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:25:15] local.INFO: Packet analysis {"connection_id":151304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:25:15] local.INFO: Extracted packet for processing {"connection_id":151304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200973056001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941602000,"timestamp_ms":1785941602000,"timestamp_seconds":1785941602,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26a2ed0"} 
[2026-08-05 20:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200973056001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200973056001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:25:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200973056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":151304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:25:15] local.INFO: GPS data processed {"connection_id":151304,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:25:15] local.INFO: Acknowledgment sent {"connection_id":151304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:25:19] local.INFO: TCP Data received {"connection_id":148861,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:25:19] local.INFO: Processing buffer {"connection_id":148861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:25:19] local.INFO: IMEI packet received {"connection_id":148861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":148861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:25:21] local.INFO: TCP Data received {"connection_id":148861,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:25:21] local.INFO: Processing buffer {"connection_id":148861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:25:21] local.INFO: Packet analysis {"connection_id":148861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:25:21] local.INFO: Extracted packet for processing {"connection_id":148861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:25:21] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200941824001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785941480000,"timestamp_ms":1785941480000,"timestamp_seconds":1785941480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2685240"} 
[2026-08-05 20:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:25: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-08-05 20:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200941824001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200941824001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:25:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200941824001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":148861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:25:21] local.INFO: GPS data processed {"connection_id":148861,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:25:21] local.INFO: Acknowledgment sent {"connection_id":148861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:25:26] local.INFO: TCP Data received {"connection_id":148861,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:25:26] local.INFO: Processing buffer {"connection_id":148861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:25:26] local.INFO: Packet analysis {"connection_id":148861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:25:26] local.INFO: Extracted packet for processing {"connection_id":148861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:25:26] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200941824001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785941480000,"timestamp_ms":1785941480000,"timestamp_seconds":1785941480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2685240"} 
[2026-08-05 20:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200941824001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200941824001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:25:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200941824001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":148861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:25:26] local.INFO: GPS data processed {"connection_id":148861,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:25:26] local.INFO: Acknowledgment sent {"connection_id":148861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:25:46] local.INFO: TCP Data received {"connection_id":151304,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:25:46] local.INFO: Processing buffer {"connection_id":151304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:25:46] local.INFO: Packet analysis {"connection_id":151304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:25:46] local.INFO: Extracted packet for processing {"connection_id":151304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200973056001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20: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-08-05 20:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941602000,"timestamp_ms":1785941602000,"timestamp_seconds":1785941602,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26a2ed0"} 
[2026-08-05 20:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200973056001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200973056001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:25:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200973056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":151304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:25:46] local.INFO: GPS data processed {"connection_id":151304,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:25:46] local.INFO: Acknowledgment sent {"connection_id":151304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:25:57] local.INFO: TCP Data received {"connection_id":148861,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:25:57] local.INFO: Processing buffer {"connection_id":148861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:25:57] local.INFO: Packet analysis {"connection_id":148861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:25:57] local.INFO: Extracted packet for processing {"connection_id":148861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:25:57] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200941824001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785941480000,"timestamp_ms":1785941480000,"timestamp_seconds":1785941480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2685240"} 
[2026-08-05 20:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200941824001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200941824001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:25:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200941824001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":148861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:25:57] local.INFO: GPS data processed {"connection_id":148861,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:25:57] local.INFO: Acknowledgment sent {"connection_id":148861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:26:09] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:26:09] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:26:09] local.INFO: IMEI packet received {"connection_id":151305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":151305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:26:14] local.INFO: TCP Data received {"connection_id":149869,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:26:14] local.INFO: Processing buffer {"connection_id":149869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:26:14] local.INFO: IMEI packet received {"connection_id":149869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":149869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:26:14] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:26:14] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:26:14] local.INFO: IMEI packet received {"connection_id":151305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":151305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:26:15] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:26:15] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:26:15] local.INFO: Packet analysis {"connection_id":151305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:26:15] local.INFO: Extracted packet for processing {"connection_id":151305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200973056001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941602000,"timestamp_ms":1785941602000,"timestamp_seconds":1785941602,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26a2ed0"} 
[2026-08-05 20:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200973056001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200973056001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:26:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200973056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":151305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:26:15] local.INFO: GPS data processed {"connection_id":151305,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:26:15] local.INFO: Acknowledgment sent {"connection_id":151305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:26:19] local.INFO: TCP Data received {"connection_id":149869,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:26:19] local.INFO: Processing buffer {"connection_id":149869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:26:19] local.INFO: IMEI packet received {"connection_id":149869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":149869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:26:20] local.INFO: TCP Data received {"connection_id":149869,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:26:20] local.INFO: Processing buffer {"connection_id":149869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:26:20] local.INFO: Packet analysis {"connection_id":149869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:26:20] local.INFO: Extracted packet for processing {"connection_id":149869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:26:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200941824001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941480000,"timestamp_ms":1785941480000,"timestamp_seconds":1785941480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2685240"} 
[2026-08-05 20:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-05 20:26: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-08-05 20:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200941824001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200941824001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:26:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200941824001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":149869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:26:20] local.INFO: GPS data processed {"connection_id":149869,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:26:20] local.INFO: Acknowledgment sent {"connection_id":149869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:26:46] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:26:46] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:26:46] local.INFO: Packet analysis {"connection_id":151305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:26:46] local.INFO: Extracted packet for processing {"connection_id":151305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200973056001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26: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-08-05 20:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941602000,"timestamp_ms":1785941602000,"timestamp_seconds":1785941602,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26a2ed0"} 
[2026-08-05 20:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200973056001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200973056001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:26:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200973056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":151305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:26:46] local.INFO: GPS data processed {"connection_id":151305,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:26:46] local.INFO: Acknowledgment sent {"connection_id":151305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:26:51] local.INFO: TCP Data received {"connection_id":149869,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:26:51] local.INFO: Processing buffer {"connection_id":149869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2685240012d77a54005f27938001c000027..."} 
[2026-08-05 20:26:51] local.INFO: Packet analysis {"connection_id":149869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:26:51] local.INFO: Extracted packet for processing {"connection_id":149869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd268"} 
[2026-08-05 20:26:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200941824001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785941480000,"timestamp_ms":1785941480000,"timestamp_seconds":1785941480,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2685240"} 
[2026-08-05 20:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20: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-08-05 20:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200941824001,"66":25538,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200941824001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:26:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200941824001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":149869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:26:51] local.INFO: GPS data processed {"connection_id":149869,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:26:51] local.INFO: Acknowledgment sent {"connection_id":149869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:27:09] local.INFO: TCP Data received {"connection_id":149870,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:27:09] local.INFO: Processing buffer {"connection_id":149870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:27:09] local.INFO: IMEI packet received {"connection_id":149870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":149870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:27:14] local.INFO: TCP Data received {"connection_id":148862,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:27:14] local.INFO: Processing buffer {"connection_id":148862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:27:14] local.INFO: IMEI packet received {"connection_id":148862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":148862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:27:14] local.INFO: TCP Data received {"connection_id":149870,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:27:14] local.INFO: Processing buffer {"connection_id":149870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:27:14] local.INFO: IMEI packet received {"connection_id":149870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":149870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:27:15] local.INFO: TCP Data received {"connection_id":149870,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:27:15] local.INFO: Processing buffer {"connection_id":149870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:27:15] local.INFO: Packet analysis {"connection_id":149870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:27:15] local.INFO: Extracted packet for processing {"connection_id":149870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200973056001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941602000,"timestamp_ms":1785941602000,"timestamp_seconds":1785941602,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26a2ed0"} 
[2026-08-05 20:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200973056001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200973056001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:27:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200973056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":149870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:27:15] local.INFO: GPS data processed {"connection_id":149870,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:27:15] local.INFO: Acknowledgment sent {"connection_id":149870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:27:19] local.INFO: TCP Data received {"connection_id":148862,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:27:19] local.INFO: Processing buffer {"connection_id":148862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:27:19] local.INFO: IMEI packet received {"connection_id":148862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":148862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:27:20] local.INFO: TCP Data received {"connection_id":148862,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:27:20] local.INFO: Processing buffer {"connection_id":148862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:27:20] local.INFO: Packet analysis {"connection_id":148862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:27:20] local.INFO: Extracted packet for processing {"connection_id":148862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:27:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201018880001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941781000,"timestamp_ms":1785941781000,"timestamp_seconds":1785941781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26cea08"} 
[2026-08-05 20:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:27: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-08-05 20: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-08-05 20:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201018880001,"66":25517,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201018880001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:27:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201018880001,"power":25517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":148862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:27:20] local.INFO: GPS data processed {"connection_id":148862,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:27:20] local.INFO: Acknowledgment sent {"connection_id":148862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:27:46] local.INFO: TCP Data received {"connection_id":149870,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:27:46] local.INFO: Processing buffer {"connection_id":149870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:27:46] local.INFO: Packet analysis {"connection_id":149870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:27:46] local.INFO: Extracted packet for processing {"connection_id":149870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200973056001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20: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-08-05 20:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941602000,"timestamp_ms":1785941602000,"timestamp_seconds":1785941602,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26a2ed0"} 
[2026-08-05 20:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200973056001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200973056001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:27:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200973056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":149870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:27:47] local.INFO: GPS data processed {"connection_id":149870,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:27:47] local.INFO: Acknowledgment sent {"connection_id":149870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:27:51] local.INFO: TCP Data received {"connection_id":148862,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:27:51] local.INFO: Processing buffer {"connection_id":148862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:27:51] local.INFO: Packet analysis {"connection_id":148862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:27:51] local.INFO: Extracted packet for processing {"connection_id":148862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:27:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201018880001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785941781000,"timestamp_ms":1785941781000,"timestamp_seconds":1785941781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26cea08"} 
[2026-08-05 20:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201018880001,"66":25517,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201018880001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:27:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201018880001,"power":25517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":148862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:27:51] local.INFO: GPS data processed {"connection_id":148862,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:27:51] local.INFO: Acknowledgment sent {"connection_id":148862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:28:09] local.INFO: TCP Data received {"connection_id":151306,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:28:09] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:28:09] local.INFO: IMEI packet received {"connection_id":151306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":151306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:28:14] local.INFO: TCP Data received {"connection_id":151306,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:28:14] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:28:14] local.INFO: IMEI packet received {"connection_id":151306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":151306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:28:15] local.INFO: TCP Data received {"connection_id":149871,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:28:15] local.INFO: Processing buffer {"connection_id":149871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:28:15] local.INFO: IMEI packet received {"connection_id":149871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":149871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:28:15] local.INFO: TCP Data received {"connection_id":151306,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:28:15] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:28:15] local.INFO: Packet analysis {"connection_id":151306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:28:15] local.INFO: Extracted packet for processing {"connection_id":151306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200973056001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941602000,"timestamp_ms":1785941602000,"timestamp_seconds":1785941602,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26a2ed0"} 
[2026-08-05 20:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200973056001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200973056001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:28:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200973056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":151306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:28:15] local.INFO: GPS data processed {"connection_id":151306,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:28:15] local.INFO: Acknowledgment sent {"connection_id":151306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:28:20] local.INFO: TCP Data received {"connection_id":149871,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:28:20] local.INFO: Processing buffer {"connection_id":149871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:28:20] local.INFO: IMEI packet received {"connection_id":149871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":149871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:28:20] local.INFO: TCP Data received {"connection_id":149871,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:28:20] local.INFO: Processing buffer {"connection_id":149871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:28:20] local.INFO: Packet analysis {"connection_id":149871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:28:20] local.INFO: Extracted packet for processing {"connection_id":149871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:28:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201018880001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941781000,"timestamp_ms":1785941781000,"timestamp_seconds":1785941781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26cea08"} 
[2026-08-05 20:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201018880001,"66":25517,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201018880001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:28:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201018880001,"power":25517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":149871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:28:20] local.INFO: GPS data processed {"connection_id":149871,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:28:20] local.INFO: Acknowledgment sent {"connection_id":149871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:28:25] local.INFO: TCP Data received {"connection_id":149871,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:28:25] local.INFO: Processing buffer {"connection_id":149871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:28:25] local.INFO: Packet analysis {"connection_id":149871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:28:25] local.INFO: Extracted packet for processing {"connection_id":149871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:28:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201018880001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785941781000,"timestamp_ms":1785941781000,"timestamp_seconds":1785941781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26cea08"} 
[2026-08-05 20:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201018880001,"66":25517,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201018880001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:28:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201018880001,"power":25517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":149871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:28:25] local.INFO: GPS data processed {"connection_id":149871,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:28:25] local.INFO: Acknowledgment sent {"connection_id":149871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:28:46] local.INFO: TCP Data received {"connection_id":151306,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:28:46] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26a2ed0012d196840071fef08003f010926..."} 
[2026-08-05 20:28:46] local.INFO: Packet analysis {"connection_id":151306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:28:46] local.INFO: Extracted packet for processing {"connection_id":151306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26a"} 
[2026-08-05 20:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457200973056001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941602000,"timestamp_ms":1785941602000,"timestamp_seconds":1785941602,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26a2ed0"} 
[2026-08-05 20:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457200973056001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457200973056001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:28:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457200973056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":151306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:28:47] local.INFO: GPS data processed {"connection_id":151306,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:28:47] local.INFO: Acknowledgment sent {"connection_id":151306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:28:56] local.INFO: TCP Data received {"connection_id":149871,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:28:56] local.INFO: Processing buffer {"connection_id":149871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:28:56] local.INFO: Packet analysis {"connection_id":149871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:28:56] local.INFO: Extracted packet for processing {"connection_id":149871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201018880001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785941781000,"timestamp_ms":1785941781000,"timestamp_seconds":1785941781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26cea08"} 
[2026-08-05 20:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201018880001,"66":25517,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201018880001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:28:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201018880001,"power":25517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":149871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:28:56] local.INFO: GPS data processed {"connection_id":149871,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:28:56] local.INFO: Acknowledgment sent {"connection_id":149871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:29:09] local.INFO: TCP Data received {"connection_id":149872,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:29:09] local.INFO: Processing buffer {"connection_id":149872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:29:09] local.INFO: IMEI packet received {"connection_id":149872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":149872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:29:14] local.INFO: TCP Data received {"connection_id":148653,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:29:14] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:29:14] local.INFO: IMEI packet received {"connection_id":148653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":148653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:29:14] local.INFO: TCP Data received {"connection_id":149872,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:29:14] local.INFO: Processing buffer {"connection_id":149872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:29:14] local.INFO: IMEI packet received {"connection_id":149872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":149872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:29:15] local.INFO: TCP Data received {"connection_id":149872,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:29:15] local.INFO: Processing buffer {"connection_id":149872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:29:15] local.INFO: Packet analysis {"connection_id":149872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:29:15] local.INFO: Extracted packet for processing {"connection_id":149872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201050112001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941903000,"timestamp_ms":1785941903000,"timestamp_seconds":1785941903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26ec698"} 
[2026-08-05 20:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201050112001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201050112001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:29:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201050112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":149872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:29:15] local.INFO: GPS data processed {"connection_id":149872,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:29:15] local.INFO: Acknowledgment sent {"connection_id":149872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:29:19] local.INFO: TCP Data received {"connection_id":148653,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:29:19] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:29:19] local.INFO: IMEI packet received {"connection_id":148653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":148653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:29:20] local.INFO: TCP Data received {"connection_id":148653,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:29:20] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:29:20] local.INFO: Packet analysis {"connection_id":148653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:29:20] local.INFO: Extracted packet for processing {"connection_id":148653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:29:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201018880001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941781000,"timestamp_ms":1785941781000,"timestamp_seconds":1785941781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26cea08"} 
[2026-08-05 20:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:29: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-08-05 20:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201018880001,"66":25517,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201018880001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:29:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201018880001,"power":25517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":148653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:29:20] local.INFO: GPS data processed {"connection_id":148653,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:29:20] local.INFO: Acknowledgment sent {"connection_id":148653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:29:46] local.INFO: TCP Data received {"connection_id":149872,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:29:46] local.INFO: Processing buffer {"connection_id":149872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:29:46] local.INFO: Packet analysis {"connection_id":149872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:29:46] local.INFO: Extracted packet for processing {"connection_id":149872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201050112001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941903000,"timestamp_ms":1785941903000,"timestamp_seconds":1785941903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26ec698"} 
[2026-08-05 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-08-05 20:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201050112001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201050112001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:29:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201050112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":149872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:29:46] local.INFO: GPS data processed {"connection_id":149872,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:29:46] local.INFO: Acknowledgment sent {"connection_id":149872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:29:51] local.INFO: TCP Data received {"connection_id":148653,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:29:51] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:29:51] local.INFO: Packet analysis {"connection_id":148653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:29:51] local.INFO: Extracted packet for processing {"connection_id":148653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:29:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201018880001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785941781000,"timestamp_ms":1785941781000,"timestamp_seconds":1785941781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26cea08"} 
[2026-08-05 20:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201018880001,"66":25517,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201018880001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:29:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201018880001,"power":25517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":148653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:29:51] local.INFO: GPS data processed {"connection_id":148653,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:29:51] local.INFO: Acknowledgment sent {"connection_id":148653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:30:09] local.INFO: TCP Data received {"connection_id":148863,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:30:09] local.INFO: Processing buffer {"connection_id":148863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:30:09] local.INFO: IMEI packet received {"connection_id":148863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":148863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:30:14] local.INFO: TCP Data received {"connection_id":148864,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:30:14] local.INFO: Processing buffer {"connection_id":148864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:30:14] local.INFO: IMEI packet received {"connection_id":148864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":148864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:30:14] local.INFO: TCP Data received {"connection_id":148863,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:30:14] local.INFO: Processing buffer {"connection_id":148863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:30:14] local.INFO: IMEI packet received {"connection_id":148863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":148863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:30:15] local.INFO: TCP Data received {"connection_id":148863,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:30:15] local.INFO: Processing buffer {"connection_id":148863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:30:15] local.INFO: Packet analysis {"connection_id":148863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:30:15] local.INFO: Extracted packet for processing {"connection_id":148863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201050112001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941903000,"timestamp_ms":1785941903000,"timestamp_seconds":1785941903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26ec698"} 
[2026-08-05 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-08-05 20:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201050112001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201050112001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:30:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201050112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":148863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:30:15] local.INFO: GPS data processed {"connection_id":148863,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:30:15] local.INFO: Acknowledgment sent {"connection_id":148863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:30:19] local.INFO: TCP Data received {"connection_id":148864,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:30:19] local.INFO: Processing buffer {"connection_id":148864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:30:19] local.INFO: IMEI packet received {"connection_id":148864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":148864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:30:20] local.INFO: TCP Data received {"connection_id":148864,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:30:20] local.INFO: Processing buffer {"connection_id":148864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:30:20] local.INFO: Packet analysis {"connection_id":148864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:30:20] local.INFO: Extracted packet for processing {"connection_id":148864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:30:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201018880001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941781000,"timestamp_ms":1785941781000,"timestamp_seconds":1785941781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26cea08"} 
[2026-08-05 20:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:30: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-08-05 20: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-08-05 20:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201018880001,"66":25517,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201018880001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:30:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201018880001,"power":25517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":148864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:30:20] local.INFO: GPS data processed {"connection_id":148864,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:30:20] local.INFO: Acknowledgment sent {"connection_id":148864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:30:46] local.INFO: TCP Data received {"connection_id":148863,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:30:46] local.INFO: Processing buffer {"connection_id":148863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:30:46] local.INFO: Packet analysis {"connection_id":148863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:30:46] local.INFO: Extracted packet for processing {"connection_id":148863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201050112001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941903000,"timestamp_ms":1785941903000,"timestamp_seconds":1785941903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26ec698"} 
[2026-08-05 20:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201050112001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201050112001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:30:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201050112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":148863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:30:46] local.INFO: GPS data processed {"connection_id":148863,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:30:46] local.INFO: Acknowledgment sent {"connection_id":148863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:30:51] local.INFO: TCP Data received {"connection_id":148864,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:30:51] local.INFO: Processing buffer {"connection_id":148864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:30:51] local.INFO: Packet analysis {"connection_id":148864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:30:51] local.INFO: Extracted packet for processing {"connection_id":148864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:30:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201018880001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785941781000,"timestamp_ms":1785941781000,"timestamp_seconds":1785941781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26cea08"} 
[2026-08-05 20:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201018880001,"66":25517,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201018880001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:30:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201018880001,"power":25517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":148864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:30:51] local.INFO: GPS data processed {"connection_id":148864,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:30:51] local.INFO: Acknowledgment sent {"connection_id":148864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:31:09] local.INFO: TCP Data received {"connection_id":148865,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:31:09] local.INFO: Processing buffer {"connection_id":148865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:31:09] local.INFO: IMEI packet received {"connection_id":148865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":148865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:31:14] local.INFO: TCP Data received {"connection_id":148654,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:31:14] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:31:14] local.INFO: IMEI packet received {"connection_id":148654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":148654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:31:14] local.INFO: TCP Data received {"connection_id":148865,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:31:14] local.INFO: Processing buffer {"connection_id":148865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:31:14] local.INFO: IMEI packet received {"connection_id":148865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":148865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:31:15] local.INFO: TCP Data received {"connection_id":148865,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:31:15] local.INFO: Processing buffer {"connection_id":148865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:31:15] local.INFO: Packet analysis {"connection_id":148865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:31:15] local.INFO: Extracted packet for processing {"connection_id":148865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201050112001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941903000,"timestamp_ms":1785941903000,"timestamp_seconds":1785941903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26ec698"} 
[2026-08-05 20:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201050112001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201050112001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:31:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201050112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":148865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:31:15] local.INFO: GPS data processed {"connection_id":148865,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:31:15] local.INFO: Acknowledgment sent {"connection_id":148865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:31:19] local.INFO: TCP Data received {"connection_id":148654,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:31:19] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:31:19] local.INFO: IMEI packet received {"connection_id":148654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":148654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:31:20] local.INFO: TCP Data received {"connection_id":148654,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:31:20] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:31:20] local.INFO: Packet analysis {"connection_id":148654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:31:20] local.INFO: Extracted packet for processing {"connection_id":148654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:31:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201018880001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785941781000,"timestamp_ms":1785941781000,"timestamp_seconds":1785941781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26cea08"} 
[2026-08-05 20:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:31: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-08-05 20:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201018880001,"66":25517,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201018880001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:31:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201018880001,"power":25517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":148654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:31:20] local.INFO: GPS data processed {"connection_id":148654,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:31:20] local.INFO: Acknowledgment sent {"connection_id":148654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:31:46] local.INFO: TCP Data received {"connection_id":148865,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:31:46] local.INFO: Processing buffer {"connection_id":148865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:31:46] local.INFO: Packet analysis {"connection_id":148865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:31:46] local.INFO: Extracted packet for processing {"connection_id":148865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201050112001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31: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-08-05 20:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941903000,"timestamp_ms":1785941903000,"timestamp_seconds":1785941903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26ec698"} 
[2026-08-05 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-08-05 20:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201050112001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201050112001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:31:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201050112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":148865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:31:46] local.INFO: GPS data processed {"connection_id":148865,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:31:46] local.INFO: Acknowledgment sent {"connection_id":148865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:31:52] local.INFO: TCP Data received {"connection_id":148654,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:31:52] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26cea08012d77a54005f27938001c000028..."} 
[2026-08-05 20:31:52] local.INFO: Packet analysis {"connection_id":148654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:31:52] local.INFO: Extracted packet for processing {"connection_id":148654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26c"} 
[2026-08-05 20:31:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201018880001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785941781000,"timestamp_ms":1785941781000,"timestamp_seconds":1785941781,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26cea08"} 
[2026-08-05 20:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-05 20:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201018880001,"66":25517,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201018880001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:31:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201018880001,"power":25517,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":148654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:31:52] local.INFO: GPS data processed {"connection_id":148654,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:31:52] local.INFO: Acknowledgment sent {"connection_id":148654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:32:10] local.INFO: TCP Data received {"connection_id":149873,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:32:10] local.INFO: Processing buffer {"connection_id":149873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:32:10] local.INFO: IMEI packet received {"connection_id":149873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":149873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:32:14] local.INFO: TCP Data received {"connection_id":149873,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:32:14] local.INFO: Processing buffer {"connection_id":149873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:32:14] local.INFO: IMEI packet received {"connection_id":149873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":149873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:32:15] local.INFO: TCP Data received {"connection_id":149873,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:32:15] local.INFO: Processing buffer {"connection_id":149873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:32:15] local.INFO: Packet analysis {"connection_id":149873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:32:15] local.INFO: Extracted packet for processing {"connection_id":149873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201050112001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941903000,"timestamp_ms":1785941903000,"timestamp_seconds":1785941903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26ec698"} 
[2026-08-05 20:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201050112001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201050112001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:32:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201050112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":149873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:32:15] local.INFO: GPS data processed {"connection_id":149873,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:32:15] local.INFO: Acknowledgment sent {"connection_id":149873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:32:19] local.INFO: TCP Data received {"connection_id":151307,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:32:19] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:32:19] local.INFO: IMEI packet received {"connection_id":151307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":151307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:32:24] local.INFO: TCP Data received {"connection_id":151307,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:32:24] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:32:24] local.INFO: IMEI packet received {"connection_id":151307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":151307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:32:25] local.INFO: TCP Data received {"connection_id":151307,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:32:25] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:32:25] local.INFO: Packet analysis {"connection_id":151307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:32:25] local.INFO: Extracted packet for processing {"connection_id":151307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:32:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201095936001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785942082000,"timestamp_ms":1785942082000,"timestamp_seconds":1785942082,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27181d0"} 
[2026-08-05 20:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 20:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201095936001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201095936001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:32:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201095936001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":151307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:32:25] local.INFO: GPS data processed {"connection_id":151307,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:32:25] local.INFO: Acknowledgment sent {"connection_id":151307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:32:29] local.INFO: TCP Data received {"connection_id":151307,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:32:29] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:32:29] local.INFO: Packet analysis {"connection_id":151307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:32:29] local.INFO: Extracted packet for processing {"connection_id":151307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:32:29] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201095936001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785942082000,"timestamp_ms":1785942082000,"timestamp_seconds":1785942082,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27181d0"} 
[2026-08-05 20:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 20:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201095936001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201095936001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:32:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201095936001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":151307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:32:29] local.INFO: GPS data processed {"connection_id":151307,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:32:29] local.INFO: Acknowledgment sent {"connection_id":151307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:32:46] local.INFO: TCP Data received {"connection_id":149873,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:32:46] local.INFO: Processing buffer {"connection_id":149873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:32:46] local.INFO: Packet analysis {"connection_id":149873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:32:46] local.INFO: Extracted packet for processing {"connection_id":149873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201050112001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20: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-08-05 20:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941903000,"timestamp_ms":1785941903000,"timestamp_seconds":1785941903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26ec698"} 
[2026-08-05 20:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201050112001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201050112001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:32:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201050112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":149873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:32:46] local.INFO: GPS data processed {"connection_id":149873,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:32:46] local.INFO: Acknowledgment sent {"connection_id":149873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:33:09] local.INFO: TCP Data received {"connection_id":148866,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:33:09] local.INFO: Processing buffer {"connection_id":148866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:33:09] local.INFO: IMEI packet received {"connection_id":148866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":148866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:33:14] local.INFO: TCP Data received {"connection_id":151308,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:33:14] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:33:14] local.INFO: IMEI packet received {"connection_id":151308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":151308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:33:14] local.INFO: TCP Data received {"connection_id":148866,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:33:14] local.INFO: Processing buffer {"connection_id":148866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:33:14] local.INFO: IMEI packet received {"connection_id":148866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":148866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:33:15] local.INFO: TCP Data received {"connection_id":148866,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:33:15] local.INFO: Processing buffer {"connection_id":148866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:33:15] local.INFO: Packet analysis {"connection_id":148866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:33:15] local.INFO: Extracted packet for processing {"connection_id":148866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201050112001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785941903000,"timestamp_ms":1785941903000,"timestamp_seconds":1785941903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26ec698"} 
[2026-08-05 20:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201050112001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201050112001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:33:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201050112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":148866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:33:15] local.INFO: GPS data processed {"connection_id":148866,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:33:15] local.INFO: Acknowledgment sent {"connection_id":148866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:33:19] local.INFO: TCP Data received {"connection_id":151308,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:33:19] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:33:19] local.INFO: IMEI packet received {"connection_id":151308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":151308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:33:20] local.INFO: TCP Data received {"connection_id":151308,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:33:20] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:33:20] local.INFO: Packet analysis {"connection_id":151308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:33:20] local.INFO: Extracted packet for processing {"connection_id":151308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:33:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201095936001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785942082000,"timestamp_ms":1785942082000,"timestamp_seconds":1785942082,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27181d0"} 
[2026-08-05 20:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 20:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201095936001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201095936001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:33:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201095936001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":151308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:33:20] local.INFO: GPS data processed {"connection_id":151308,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:33:20] local.INFO: Acknowledgment sent {"connection_id":151308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:33:46] local.INFO: TCP Data received {"connection_id":148866,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:33:46] local.INFO: Processing buffer {"connection_id":148866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd26ec698012d196840071fef08003f010925..."} 
[2026-08-05 20:33:46] local.INFO: Packet analysis {"connection_id":148866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:33:46] local.INFO: Extracted packet for processing {"connection_id":148866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd26e"} 
[2026-08-05 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201050112001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785941903000,"timestamp_ms":1785941903000,"timestamp_seconds":1785941903,"priority":1,"record_length":96,"hex_timestamp":"0000019fd26ec698"} 
[2026-08-05 20:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201050112001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201050112001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201050112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":148866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:33:46] local.INFO: GPS data processed {"connection_id":148866,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:33:46] local.INFO: Acknowledgment sent {"connection_id":148866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:33:52] local.INFO: TCP Data received {"connection_id":151308,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:33:52] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:33:52] local.INFO: Packet analysis {"connection_id":151308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:33:52] local.INFO: Extracted packet for processing {"connection_id":151308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:33:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201095936001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785942082000,"timestamp_ms":1785942082000,"timestamp_seconds":1785942082,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27181d0"} 
[2026-08-05 20:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 20:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201095936001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201095936001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:33:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201095936001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":151308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:33:52] local.INFO: GPS data processed {"connection_id":151308,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:33:52] local.INFO: Acknowledgment sent {"connection_id":151308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:34:09] local.INFO: TCP Data received {"connection_id":149874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:34:09] local.INFO: Processing buffer {"connection_id":149874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:34:09] local.INFO: IMEI packet received {"connection_id":149874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":149874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:34:14] local.INFO: TCP Data received {"connection_id":148867,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:34:14] local.INFO: Processing buffer {"connection_id":148867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:34:14] local.INFO: IMEI packet received {"connection_id":148867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":148867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:34:14] local.INFO: TCP Data received {"connection_id":149874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:34:14] local.INFO: Processing buffer {"connection_id":149874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:34:14] local.INFO: IMEI packet received {"connection_id":149874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":149874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:34:15] local.INFO: TCP Data received {"connection_id":149874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:34:15] local.INFO: Processing buffer {"connection_id":149874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:34:15] local.INFO: Packet analysis {"connection_id":149874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:34:15] local.INFO: Extracted packet for processing {"connection_id":149874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201127168001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942204000,"timestamp_ms":1785942204000,"timestamp_seconds":1785942204,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2735e60"} 
[2026-08-05 20:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201127168001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201127168001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:34:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201127168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":149874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:34:15] local.INFO: GPS data processed {"connection_id":149874,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:34:15] local.INFO: Acknowledgment sent {"connection_id":149874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:34:19] local.INFO: TCP Data received {"connection_id":148867,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:34:19] local.INFO: Processing buffer {"connection_id":148867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:34:19] local.INFO: IMEI packet received {"connection_id":148867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":148867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:34:26] local.INFO: TCP Data received {"connection_id":148867,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:34:26] local.INFO: Processing buffer {"connection_id":148867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:34:26] local.INFO: Packet analysis {"connection_id":148867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:34:26] local.INFO: Extracted packet for processing {"connection_id":148867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:34:26] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201095936001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785942082000,"timestamp_ms":1785942082000,"timestamp_seconds":1785942082,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27181d0"} 
[2026-08-05 20:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 20:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201095936001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201095936001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:34:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201095936001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":148867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:34:26] local.INFO: GPS data processed {"connection_id":148867,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:34:26] local.INFO: Acknowledgment sent {"connection_id":148867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:34:45] local.INFO: TCP Data received {"connection_id":149874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:34:45] local.INFO: Processing buffer {"connection_id":149874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:34:45] local.INFO: Packet analysis {"connection_id":149874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:34:45] local.INFO: Extracted packet for processing {"connection_id":149874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201127168001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785942204000,"timestamp_ms":1785942204000,"timestamp_seconds":1785942204,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2735e60"} 
[2026-08-05 20:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:34: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-08-05 20:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201127168001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201127168001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:34:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201127168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":149874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:34:46] local.INFO: GPS data processed {"connection_id":149874,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:34:46] local.INFO: Acknowledgment sent {"connection_id":149874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:34:57] local.INFO: TCP Data received {"connection_id":148867,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:34:57] local.INFO: Processing buffer {"connection_id":148867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:34:57] local.INFO: Packet analysis {"connection_id":148867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:34:57] local.INFO: Extracted packet for processing {"connection_id":148867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:34:57] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201095936001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785942082000,"timestamp_ms":1785942082000,"timestamp_seconds":1785942082,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27181d0"} 
[2026-08-05 20:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 20:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201095936001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201095936001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:34:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201095936001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":148867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:34:57] local.INFO: GPS data processed {"connection_id":148867,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:34:57] local.INFO: Acknowledgment sent {"connection_id":148867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:35:09] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:35:09] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:35:09] local.INFO: IMEI packet received {"connection_id":148655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":148655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:35:14] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:35:14] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:35:14] local.INFO: IMEI packet received {"connection_id":148655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":148655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:35:15] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:35:15] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:35:15] local.INFO: Packet analysis {"connection_id":148655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:35:15] local.INFO: Extracted packet for processing {"connection_id":148655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201127168001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942204000,"timestamp_ms":1785942204000,"timestamp_seconds":1785942204,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2735e60"} 
[2026-08-05 20:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201127168001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201127168001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:35:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201127168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":148655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:35:15] local.INFO: GPS data processed {"connection_id":148655,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:35:15] local.INFO: Acknowledgment sent {"connection_id":148655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:35:20] local.INFO: TCP Data received {"connection_id":148656,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:35:20] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:35:20] local.INFO: IMEI packet received {"connection_id":148656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":148656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:35:24] local.INFO: TCP Data received {"connection_id":148656,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:35:24] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:35:24] local.INFO: IMEI packet received {"connection_id":148656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":148656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:35:25] local.INFO: TCP Data received {"connection_id":148656,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:35:25] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:35:25] local.INFO: Packet analysis {"connection_id":148656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:35:25] local.INFO: Extracted packet for processing {"connection_id":148656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:35:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201095936001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785942082000,"timestamp_ms":1785942082000,"timestamp_seconds":1785942082,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27181d0"} 
[2026-08-05 20:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 20:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201095936001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201095936001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:35:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201095936001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":148656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:35:25] local.INFO: GPS data processed {"connection_id":148656,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:35:25] local.INFO: Acknowledgment sent {"connection_id":148656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:35:30] local.INFO: TCP Data received {"connection_id":148656,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:35:30] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:35:30] local.INFO: Packet analysis {"connection_id":148656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:35:30] local.INFO: Extracted packet for processing {"connection_id":148656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:35:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201095936001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785942082000,"timestamp_ms":1785942082000,"timestamp_seconds":1785942082,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27181d0"} 
[2026-08-05 20:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 20:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201095936001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201095936001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:35:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201095936001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":148656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:35:30] local.INFO: GPS data processed {"connection_id":148656,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:35:30] local.INFO: Acknowledgment sent {"connection_id":148656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:35:46] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:35:46] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:35:46] local.INFO: Packet analysis {"connection_id":148655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:35:46] local.INFO: Extracted packet for processing {"connection_id":148655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201127168001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942204000,"timestamp_ms":1785942204000,"timestamp_seconds":1785942204,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2735e60"} 
[2026-08-05 20:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201127168001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201127168001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:35:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201127168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":148655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:35:46] local.INFO: GPS data processed {"connection_id":148655,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:35:46] local.INFO: Acknowledgment sent {"connection_id":148655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:36:09] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:36:09] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:36:09] local.INFO: IMEI packet received {"connection_id":151309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":151309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:36:14] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:36:14] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:36:14] local.INFO: IMEI packet received {"connection_id":151309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":151309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:36:15] local.INFO: TCP Data received {"connection_id":148657,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:36:15] local.INFO: Processing buffer {"connection_id":148657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:36:15] local.INFO: IMEI packet received {"connection_id":148657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":148657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:36:15] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:36:15] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:36:15] local.INFO: Packet analysis {"connection_id":151309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:36:15] local.INFO: Extracted packet for processing {"connection_id":151309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201127168001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942204000,"timestamp_ms":1785942204000,"timestamp_seconds":1785942204,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2735e60"} 
[2026-08-05 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-08-05 20:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201127168001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201127168001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:36:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201127168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":151309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:36:15] local.INFO: GPS data processed {"connection_id":151309,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:36:15] local.INFO: Acknowledgment sent {"connection_id":151309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:36:19] local.INFO: TCP Data received {"connection_id":148657,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:36:19] local.INFO: Processing buffer {"connection_id":148657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:36:19] local.INFO: IMEI packet received {"connection_id":148657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":148657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:36:24] local.INFO: TCP Data received {"connection_id":148657,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:36:24] local.INFO: Processing buffer {"connection_id":148657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:36:24] local.INFO: Packet analysis {"connection_id":148657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:36:24] local.INFO: Extracted packet for processing {"connection_id":148657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:36:24] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201095936001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785942082000,"timestamp_ms":1785942082000,"timestamp_seconds":1785942082,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27181d0"} 
[2026-08-05 20:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":173,"data_length":795,"current_offset":136} 
[2026-08-05 20:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201095936001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201095936001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:36:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201095936001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":148657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:36:24] local.INFO: GPS data processed {"connection_id":148657,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:36:24] local.INFO: Acknowledgment sent {"connection_id":148657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:36:46] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:36:46] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:36:46] local.INFO: Packet analysis {"connection_id":151309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:36:46] local.INFO: Extracted packet for processing {"connection_id":151309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201127168001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20: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-08-05 20:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942204000,"timestamp_ms":1785942204000,"timestamp_seconds":1785942204,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2735e60"} 
[2026-08-05 20:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201127168001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201127168001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:36:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201127168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":151309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:36:46] local.INFO: GPS data processed {"connection_id":151309,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:36:46] local.INFO: Acknowledgment sent {"connection_id":151309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:36:56] local.INFO: TCP Data received {"connection_id":148657,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:36:56] local.INFO: Processing buffer {"connection_id":148657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27181d0012d77a54005f27938001c000024..."} 
[2026-08-05 20:36:56] local.INFO: Packet analysis {"connection_id":148657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:36:56] local.INFO: Extracted packet for processing {"connection_id":148657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd271"} 
[2026-08-05 20:36:56] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201095936001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785942082000,"timestamp_ms":1785942082000,"timestamp_seconds":1785942082,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27181d0"} 
[2026-08-05 20:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 20:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201095936001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201095936001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:36:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201095936001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":148657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:36:56] local.INFO: GPS data processed {"connection_id":148657,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:36:56] local.INFO: Acknowledgment sent {"connection_id":148657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:37:09] local.INFO: TCP Data received {"connection_id":149875,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:37:09] local.INFO: Processing buffer {"connection_id":149875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:37:09] local.INFO: IMEI packet received {"connection_id":149875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":149875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:37:14] local.INFO: TCP Data received {"connection_id":149876,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:37:14] local.INFO: Processing buffer {"connection_id":149876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:37:14] local.INFO: IMEI packet received {"connection_id":149876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":149876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:37:14] local.INFO: TCP Data received {"connection_id":149875,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:37:14] local.INFO: Processing buffer {"connection_id":149875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:37:14] local.INFO: IMEI packet received {"connection_id":149875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":149875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:37:15] local.INFO: TCP Data received {"connection_id":149875,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:37:15] local.INFO: Processing buffer {"connection_id":149875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:37:15] local.INFO: Packet analysis {"connection_id":149875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:37:15] local.INFO: Extracted packet for processing {"connection_id":149875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201127168001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942204000,"timestamp_ms":1785942204000,"timestamp_seconds":1785942204,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2735e60"} 
[2026-08-05 20:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201127168001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201127168001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:37:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201127168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":149875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:37:15] local.INFO: GPS data processed {"connection_id":149875,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:37:15] local.INFO: Acknowledgment sent {"connection_id":149875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:37:19] local.INFO: TCP Data received {"connection_id":149876,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:37:19] local.INFO: Processing buffer {"connection_id":149876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:37:19] local.INFO: IMEI packet received {"connection_id":149876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":149876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:37:19] local.INFO: TCP Data received {"connection_id":149876,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:37:19] local.INFO: Processing buffer {"connection_id":149876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:37:19] local.INFO: Packet analysis {"connection_id":149876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:37:19] local.INFO: Extracted packet for processing {"connection_id":149876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:37:19] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201172992001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785942383000,"timestamp_ms":1785942383000,"timestamp_seconds":1785942383,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2761998"} 
[2026-08-05 20:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:37: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-08-05 20: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-08-05 20:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201172992001,"66":25321,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201172992001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:37:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201172992001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":149876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:37:20] local.INFO: GPS data processed {"connection_id":149876,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:37:20] local.INFO: Acknowledgment sent {"connection_id":149876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:37:48] local.INFO: TCP Data received {"connection_id":149875,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:37:48] local.INFO: Processing buffer {"connection_id":149875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:37:48] local.INFO: Packet analysis {"connection_id":149875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:37:48] local.INFO: Extracted packet for processing {"connection_id":149875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201127168001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785942204000,"timestamp_ms":1785942204000,"timestamp_seconds":1785942204,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2735e60"} 
[2026-08-05 20:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201127168001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201127168001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:37:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:37:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201127168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":149875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:37:48] local.INFO: GPS data processed {"connection_id":149875,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:37:48] local.INFO: Acknowledgment sent {"connection_id":149875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:37:51] local.INFO: TCP Data received {"connection_id":149876,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:37:51] local.INFO: Processing buffer {"connection_id":149876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:37:51] local.INFO: Packet analysis {"connection_id":149876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:37:51] local.INFO: Extracted packet for processing {"connection_id":149876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:37:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201172992001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785942383000,"timestamp_ms":1785942383000,"timestamp_seconds":1785942383,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2761998"} 
[2026-08-05 20:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201172992001,"66":25321,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201172992001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:37:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201172992001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":149876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:37:51] local.INFO: GPS data processed {"connection_id":149876,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:37:51] local.INFO: Acknowledgment sent {"connection_id":149876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:38:10] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:38:10] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:38:10] local.INFO: IMEI packet received {"connection_id":148658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":148658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:38:14] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:38:14] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:38:14] local.INFO: IMEI packet received {"connection_id":148658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":148658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:38:15] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:38:15] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:38:15] local.INFO: Packet analysis {"connection_id":148658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:38:15] local.INFO: Extracted packet for processing {"connection_id":148658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201127168001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942204000,"timestamp_ms":1785942204000,"timestamp_seconds":1785942204,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2735e60"} 
[2026-08-05 20:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201127168001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201127168001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:38:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201127168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":148658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:38:15] local.INFO: GPS data processed {"connection_id":148658,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:38:15] local.INFO: Acknowledgment sent {"connection_id":148658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:38:19] local.INFO: TCP Data received {"connection_id":148868,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:38:19] local.INFO: Processing buffer {"connection_id":148868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:38:19] local.INFO: IMEI packet received {"connection_id":148868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":148868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:38:26] local.INFO: TCP Data received {"connection_id":148868,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:38:26] local.INFO: Processing buffer {"connection_id":148868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:38:26] local.INFO: IMEI packet received {"connection_id":148868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":148868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:38:27] local.INFO: TCP Data received {"connection_id":148868,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:38:27] local.INFO: Processing buffer {"connection_id":148868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:38:27] local.INFO: Packet analysis {"connection_id":148868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:38:27] local.INFO: Extracted packet for processing {"connection_id":148868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:38:27] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201172992001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785942383000,"timestamp_ms":1785942383000,"timestamp_seconds":1785942383,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2761998"} 
[2026-08-05 20:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201172992001,"66":25321,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201172992001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:38:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201172992001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":148868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:38:27] local.INFO: GPS data processed {"connection_id":148868,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:38:27] local.INFO: Acknowledgment sent {"connection_id":148868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:38:29] local.INFO: TCP Data received {"connection_id":148868,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:38:29] local.INFO: Processing buffer {"connection_id":148868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:38:29] local.INFO: Packet analysis {"connection_id":148868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:38:29] local.INFO: Extracted packet for processing {"connection_id":148868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201172992001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785942383000,"timestamp_ms":1785942383000,"timestamp_seconds":1785942383,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2761998"} 
[2026-08-05 20:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201172992001,"66":25321,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201172992001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:38:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201172992001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":148868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:38:29] local.INFO: GPS data processed {"connection_id":148868,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:38:29] local.INFO: Acknowledgment sent {"connection_id":148868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:38:40] local.INFO: TCP Data received {"connection_id":149877,"ip":"66.132.195.53","data_length":243,"data_hex":"16030100ee010000ea03037e93a27909ef39c0c7c13db687d2323f68deebec34..."} 
[2026-08-05 20:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149877,"packet_length":243,"packet_hex":"16030100ee010000ea03037e93a27909ef39c0c7c13db687d2323f68deebec34..."} 
[2026-08-05 20:38:40] local.INFO: Processing buffer {"connection_id":149877,"buffer_length":243,"buffer_hex":"16030100ee010000ea03037e93a27909ef39c0c7c13db687d2323f68deebec34..."} 
[2026-08-05 20:38:40] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":149877,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03037e93a27909"} 
[2026-08-05 20:38:46] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:38:46] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2735e60012d196840071fef08003f010924..."} 
[2026-08-05 20:38:46] local.INFO: Packet analysis {"connection_id":148658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:38:46] local.INFO: Extracted packet for processing {"connection_id":148658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd273"} 
[2026-08-05 20:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201127168001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942204000,"timestamp_ms":1785942204000,"timestamp_seconds":1785942204,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2735e60"} 
[2026-08-05 20:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201127168001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201127168001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201127168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":148658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:38:46] local.INFO: GPS data processed {"connection_id":148658,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:38:46] local.INFO: Acknowledgment sent {"connection_id":148658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:39:09] local.INFO: TCP Data received {"connection_id":149879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:39:09] local.INFO: Processing buffer {"connection_id":149879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:39:09] local.INFO: IMEI packet received {"connection_id":149879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":149879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:39:14] local.INFO: TCP Data received {"connection_id":149879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:39:14] local.INFO: Processing buffer {"connection_id":149879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:39:14] local.INFO: IMEI packet received {"connection_id":149879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":149879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:39:15] local.INFO: TCP Data received {"connection_id":149880,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:39:15] local.INFO: Processing buffer {"connection_id":149880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:39:15] local.INFO: IMEI packet received {"connection_id":149880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":149880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:39:15] local.INFO: TCP Data received {"connection_id":149879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:39:15] local.INFO: Processing buffer {"connection_id":149879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:39:15] local.INFO: Packet analysis {"connection_id":149879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:39:15] local.INFO: Extracted packet for processing {"connection_id":149879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201204224001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942505000,"timestamp_ms":1785942505000,"timestamp_seconds":1785942505,"priority":1,"record_length":96,"hex_timestamp":"0000019fd277f628"} 
[2026-08-05 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-08-05 20:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201204224001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201204224001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:39:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201204224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":149879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:39:15] local.INFO: GPS data processed {"connection_id":149879,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:39:15] local.INFO: Acknowledgment sent {"connection_id":149879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:39:19] local.INFO: TCP Data received {"connection_id":149880,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:39:19] local.INFO: Processing buffer {"connection_id":149880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:39:19] local.INFO: IMEI packet received {"connection_id":149880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":149880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:39:20] local.INFO: TCP Data received {"connection_id":149880,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:39:20] local.INFO: Processing buffer {"connection_id":149880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:39:20] local.INFO: Packet analysis {"connection_id":149880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:39:20] local.INFO: Extracted packet for processing {"connection_id":149880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:39:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201172992001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785942383000,"timestamp_ms":1785942383000,"timestamp_seconds":1785942383,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2761998"} 
[2026-08-05 20:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:39: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-08-05 20:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201172992001,"66":25321,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201172992001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:39:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201172992001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":149880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:39:20] local.INFO: GPS data processed {"connection_id":149880,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:39:20] local.INFO: Acknowledgment sent {"connection_id":149880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:39:46] local.INFO: TCP Data received {"connection_id":149879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:39:46] local.INFO: Processing buffer {"connection_id":149879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:39:46] local.INFO: Packet analysis {"connection_id":149879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:39:46] local.INFO: Extracted packet for processing {"connection_id":149879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201204224001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942505000,"timestamp_ms":1785942505000,"timestamp_seconds":1785942505,"priority":1,"record_length":96,"hex_timestamp":"0000019fd277f628"} 
[2026-08-05 20:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201204224001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201204224001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:39:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201204224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":149879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:39:47] local.INFO: GPS data processed {"connection_id":149879,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:39:47] local.INFO: Acknowledgment sent {"connection_id":149879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:39:52] local.INFO: TCP Data received {"connection_id":149880,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:39:52] local.INFO: Processing buffer {"connection_id":149880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:39:52] local.INFO: Packet analysis {"connection_id":149880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:39:52] local.INFO: Extracted packet for processing {"connection_id":149880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:39:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201172992001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785942383000,"timestamp_ms":1785942383000,"timestamp_seconds":1785942383,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2761998"} 
[2026-08-05 20:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201172992001,"66":25321,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201172992001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:39:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201172992001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":149880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:39:52] local.INFO: GPS data processed {"connection_id":149880,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:39:52] local.INFO: Acknowledgment sent {"connection_id":149880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:40:09] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:40:09] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:40:09] local.INFO: IMEI packet received {"connection_id":148659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":148659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:40:14] local.INFO: TCP Data received {"connection_id":148870,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:40:14] local.INFO: Processing buffer {"connection_id":148870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:40:14] local.INFO: IMEI packet received {"connection_id":148870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":148870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:40:14] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:40:14] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:40:14] local.INFO: IMEI packet received {"connection_id":148659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":148659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:40:15] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:40:15] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:40:15] local.INFO: Packet analysis {"connection_id":148659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:40:15] local.INFO: Extracted packet for processing {"connection_id":148659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201204224001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942505000,"timestamp_ms":1785942505000,"timestamp_seconds":1785942505,"priority":1,"record_length":96,"hex_timestamp":"0000019fd277f628"} 
[2026-08-05 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-08-05 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201204224001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201204224001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:40:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201204224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":148659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:40:15] local.INFO: GPS data processed {"connection_id":148659,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:40:15] local.INFO: Acknowledgment sent {"connection_id":148659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:40:19] local.INFO: TCP Data received {"connection_id":148870,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:40:19] local.INFO: Processing buffer {"connection_id":148870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:40:19] local.INFO: IMEI packet received {"connection_id":148870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":148870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:40:20] local.INFO: TCP Data received {"connection_id":148870,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:40:20] local.INFO: Processing buffer {"connection_id":148870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:40:20] local.INFO: Packet analysis {"connection_id":148870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:40:20] local.INFO: Extracted packet for processing {"connection_id":148870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:40:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201172992001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785942383000,"timestamp_ms":1785942383000,"timestamp_seconds":1785942383,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2761998"} 
[2026-08-05 20:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:40: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-08-05 20:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201172992001,"66":25321,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201172992001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:40:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201172992001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":148870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:40:20] local.INFO: GPS data processed {"connection_id":148870,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:40:20] local.INFO: Acknowledgment sent {"connection_id":148870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:40:46] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:40:46] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:40:46] local.INFO: Packet analysis {"connection_id":148659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:40:46] local.INFO: Extracted packet for processing {"connection_id":148659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201204224001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40: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-08-05 20:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942505000,"timestamp_ms":1785942505000,"timestamp_seconds":1785942505,"priority":1,"record_length":96,"hex_timestamp":"0000019fd277f628"} 
[2026-08-05 20:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201204224001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201204224001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:40:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201204224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":148659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:40:46] local.INFO: GPS data processed {"connection_id":148659,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:40:46] local.INFO: Acknowledgment sent {"connection_id":148659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:40:52] local.INFO: TCP Data received {"connection_id":148870,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:40:52] local.INFO: Processing buffer {"connection_id":148870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2761998012d77a54005f27938001c000025..."} 
[2026-08-05 20:40:52] local.INFO: Packet analysis {"connection_id":148870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:40:52] local.INFO: Extracted packet for processing {"connection_id":148870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd276"} 
[2026-08-05 20:40:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201172992001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785942383000,"timestamp_ms":1785942383000,"timestamp_seconds":1785942383,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2761998"} 
[2026-08-05 20:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201172992001,"66":25321,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201172992001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:40:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201172992001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":148870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:40:52] local.INFO: GPS data processed {"connection_id":148870,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:40:52] local.INFO: Acknowledgment sent {"connection_id":148870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:41:09] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:41:09] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:41:09] local.INFO: IMEI packet received {"connection_id":148660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":148660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:41:14] local.INFO: TCP Data received {"connection_id":151311,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:41:14] local.INFO: Processing buffer {"connection_id":151311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:41:14] local.INFO: IMEI packet received {"connection_id":151311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":151311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:41:14] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:41:14] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:41:14] local.INFO: IMEI packet received {"connection_id":148660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":148660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:41:15] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:41:15] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:41:15] local.INFO: Packet analysis {"connection_id":148660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:41:15] local.INFO: Extracted packet for processing {"connection_id":148660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201204224001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942505000,"timestamp_ms":1785942505000,"timestamp_seconds":1785942505,"priority":1,"record_length":96,"hex_timestamp":"0000019fd277f628"} 
[2026-08-05 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-08-05 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201204224001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201204224001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:41:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201204224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":148660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:41:15] local.INFO: GPS data processed {"connection_id":148660,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:41:15] local.INFO: Acknowledgment sent {"connection_id":148660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:41:44] local.INFO: TCP Data received {"connection_id":151311,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:41:44] local.INFO: Processing buffer {"connection_id":151311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:41:44] local.INFO: IMEI packet received {"connection_id":151311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":151311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:41:46] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:41:46] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:41:46] local.INFO: Packet analysis {"connection_id":148660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:41:46] local.INFO: Extracted packet for processing {"connection_id":148660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201204224001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942505000,"timestamp_ms":1785942505000,"timestamp_seconds":1785942505,"priority":1,"record_length":96,"hex_timestamp":"0000019fd277f628"} 
[2026-08-05 20:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201204224001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201204224001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:41:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201204224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":148660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:41:46] local.INFO: GPS data processed {"connection_id":148660,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:41:46] local.INFO: Acknowledgment sent {"connection_id":148660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:42:09] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:42:09] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:42:09] local.INFO: IMEI packet received {"connection_id":151312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":151312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:42:14] local.INFO: TCP Data received {"connection_id":148871,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:42:14] local.INFO: Processing buffer {"connection_id":148871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:42:14] local.INFO: IMEI packet received {"connection_id":148871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":148871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:42:14] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:42:14] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:42:14] local.INFO: IMEI packet received {"connection_id":151312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":151312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:42:15] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:42:15] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:42:15] local.INFO: Packet analysis {"connection_id":151312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:42:15] local.INFO: Extracted packet for processing {"connection_id":151312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201204224001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942505000,"timestamp_ms":1785942505000,"timestamp_seconds":1785942505,"priority":1,"record_length":96,"hex_timestamp":"0000019fd277f628"} 
[2026-08-05 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-08-05 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201204224001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201204224001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201204224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":151312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:42:15] local.INFO: GPS data processed {"connection_id":151312,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:42:15] local.INFO: Acknowledgment sent {"connection_id":151312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:42:19] local.INFO: TCP Data received {"connection_id":148871,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:42:19] local.INFO: Processing buffer {"connection_id":148871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:42:19] local.INFO: IMEI packet received {"connection_id":148871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":148871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:42:20] local.INFO: TCP Data received {"connection_id":148871,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:42:20] local.INFO: Processing buffer {"connection_id":148871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:42:20] local.INFO: Packet analysis {"connection_id":148871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:42:20] local.INFO: Extracted packet for processing {"connection_id":148871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:42:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201250048001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785942684000,"timestamp_ms":1785942684000,"timestamp_seconds":1785942684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27ab160"} 
[2026-08-05 20:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 20:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201250048001,"66":25462,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201250048001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:42:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201250048001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":148871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:42:20] local.INFO: GPS data processed {"connection_id":148871,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:42:20] local.INFO: Acknowledgment sent {"connection_id":148871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:42:46] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:42:46] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:42:46] local.INFO: Packet analysis {"connection_id":151312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:42:46] local.INFO: Extracted packet for processing {"connection_id":151312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201204224001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942505000,"timestamp_ms":1785942505000,"timestamp_seconds":1785942505,"priority":1,"record_length":96,"hex_timestamp":"0000019fd277f628"} 
[2026-08-05 20:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201204224001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201204224001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:42:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201204224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":151312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:42:46] local.INFO: GPS data processed {"connection_id":151312,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:42:46] local.INFO: Acknowledgment sent {"connection_id":151312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:42:57] local.INFO: TCP Data received {"connection_id":148871,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:42:57] local.INFO: Processing buffer {"connection_id":148871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:42:57] local.INFO: Packet analysis {"connection_id":148871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:42:57] local.INFO: Extracted packet for processing {"connection_id":148871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:42:57] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201250048001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785942684000,"timestamp_ms":1785942684000,"timestamp_seconds":1785942684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27ab160"} 
[2026-08-05 20:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 20:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201250048001,"66":25462,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201250048001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:42:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201250048001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":148871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:42:57] local.INFO: GPS data processed {"connection_id":148871,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:42:57] local.INFO: Acknowledgment sent {"connection_id":148871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:43:10] local.INFO: TCP Data received {"connection_id":149881,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:43:10] local.INFO: Processing buffer {"connection_id":149881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:43:10] local.INFO: IMEI packet received {"connection_id":149881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":149881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:43:14] local.INFO: TCP Data received {"connection_id":148661,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:43:14] local.INFO: Processing buffer {"connection_id":148661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:43:14] local.INFO: IMEI packet received {"connection_id":148661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":148661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:43:14] local.INFO: TCP Data received {"connection_id":149881,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:43:14] local.INFO: Processing buffer {"connection_id":149881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:43:14] local.INFO: IMEI packet received {"connection_id":149881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":149881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:43:15] local.INFO: TCP Data received {"connection_id":149881,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:43:15] local.INFO: Processing buffer {"connection_id":149881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:43:15] local.INFO: Packet analysis {"connection_id":149881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:43:15] local.INFO: Extracted packet for processing {"connection_id":149881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201204224001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942505000,"timestamp_ms":1785942505000,"timestamp_seconds":1785942505,"priority":1,"record_length":96,"hex_timestamp":"0000019fd277f628"} 
[2026-08-05 20:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201204224001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201204224001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:43:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201204224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":149881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:43:15] local.INFO: GPS data processed {"connection_id":149881,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:43:15] local.INFO: Acknowledgment sent {"connection_id":149881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:43:19] local.INFO: TCP Data received {"connection_id":148661,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:43:19] local.INFO: Processing buffer {"connection_id":148661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:43:19] local.INFO: IMEI packet received {"connection_id":148661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":148661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:43:20] local.INFO: TCP Data received {"connection_id":148661,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:43:20] local.INFO: Processing buffer {"connection_id":148661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:43:20] local.INFO: Packet analysis {"connection_id":148661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:43:20] local.INFO: Extracted packet for processing {"connection_id":148661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:43:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201250048001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785942684000,"timestamp_ms":1785942684000,"timestamp_seconds":1785942684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27ab160"} 
[2026-08-05 20:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 20:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201250048001,"66":25462,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201250048001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:43:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201250048001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":148661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:43:20] local.INFO: GPS data processed {"connection_id":148661,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:43:20] local.INFO: Acknowledgment sent {"connection_id":148661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:43:46] local.INFO: TCP Data received {"connection_id":149881,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:43:46] local.INFO: Processing buffer {"connection_id":149881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd277f628012d196840071fef08003f010926..."} 
[2026-08-05 20:43:46] local.INFO: Packet analysis {"connection_id":149881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:43:46] local.INFO: Extracted packet for processing {"connection_id":149881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd277"} 
[2026-08-05 20:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201204224001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942505000,"timestamp_ms":1785942505000,"timestamp_seconds":1785942505,"priority":1,"record_length":96,"hex_timestamp":"0000019fd277f628"} 
[2026-08-05 20:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201204224001,"66":2166,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201204224001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:43:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201204224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":149881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:43:46] local.INFO: GPS data processed {"connection_id":149881,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:43:46] local.INFO: Acknowledgment sent {"connection_id":149881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:43:51] local.INFO: TCP Data received {"connection_id":148661,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:43:51] local.INFO: Processing buffer {"connection_id":148661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:43:51] local.INFO: Packet analysis {"connection_id":148661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:43:51] local.INFO: Extracted packet for processing {"connection_id":148661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:43:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201250048001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785942684000,"timestamp_ms":1785942684000,"timestamp_seconds":1785942684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27ab160"} 
[2026-08-05 20:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 20:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201250048001,"66":25462,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201250048001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:43:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201250048001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":148661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:43:51] local.INFO: GPS data processed {"connection_id":148661,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:43:51] local.INFO: Acknowledgment sent {"connection_id":148661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:44:09] local.INFO: TCP Data received {"connection_id":149882,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:44:09] local.INFO: Processing buffer {"connection_id":149882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:44:09] local.INFO: IMEI packet received {"connection_id":149882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":149882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:44:14] local.INFO: TCP Data received {"connection_id":151313,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:44:14] local.INFO: Processing buffer {"connection_id":151313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:44:14] local.INFO: IMEI packet received {"connection_id":151313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":151313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:44:14] local.INFO: TCP Data received {"connection_id":149882,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:44:14] local.INFO: Processing buffer {"connection_id":149882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:44:14] local.INFO: IMEI packet received {"connection_id":149882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":149882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:44:15] local.INFO: TCP Data received {"connection_id":149882,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:44:15] local.INFO: Processing buffer {"connection_id":149882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:44:15] local.INFO: Packet analysis {"connection_id":149882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:44:15] local.INFO: Extracted packet for processing {"connection_id":149882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201281280001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20: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-08-05 20:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942806000,"timestamp_ms":1785942806000,"timestamp_seconds":1785942806,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27c8df0"} 
[2026-08-05 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-08-05 20:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201281280001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201281280001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:44:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201281280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":149882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:44:15] local.INFO: GPS data processed {"connection_id":149882,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:44:15] local.INFO: Acknowledgment sent {"connection_id":149882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:44:19] local.INFO: TCP Data received {"connection_id":151313,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:44:19] local.INFO: Processing buffer {"connection_id":151313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:44:19] local.INFO: IMEI packet received {"connection_id":151313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":151313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:44:20] local.INFO: TCP Data received {"connection_id":151313,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:44:20] local.INFO: Processing buffer {"connection_id":151313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:44:20] local.INFO: Packet analysis {"connection_id":151313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:44:20] local.INFO: Extracted packet for processing {"connection_id":151313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:44:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201250048001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785942684000,"timestamp_ms":1785942684000,"timestamp_seconds":1785942684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27ab160"} 
[2026-08-05 20:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 20:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201250048001,"66":25462,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201250048001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:44:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201250048001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":151313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:44:20] local.INFO: GPS data processed {"connection_id":151313,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:44:20] local.INFO: Acknowledgment sent {"connection_id":151313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:44:46] local.INFO: TCP Data received {"connection_id":149882,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:44:46] local.INFO: Processing buffer {"connection_id":149882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:44:46] local.INFO: Packet analysis {"connection_id":149882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:44:46] local.INFO: Extracted packet for processing {"connection_id":149882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201281280001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942806000,"timestamp_ms":1785942806000,"timestamp_seconds":1785942806,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27c8df0"} 
[2026-08-05 20:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201281280001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201281280001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:44:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201281280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":149882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:44:46] local.INFO: GPS data processed {"connection_id":149882,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:44:46] local.INFO: Acknowledgment sent {"connection_id":149882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:44:52] local.INFO: TCP Data received {"connection_id":151313,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:44:52] local.INFO: Processing buffer {"connection_id":151313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:44:52] local.INFO: Packet analysis {"connection_id":151313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:44:52] local.INFO: Extracted packet for processing {"connection_id":151313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:44:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201250048001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785942684000,"timestamp_ms":1785942684000,"timestamp_seconds":1785942684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27ab160"} 
[2026-08-05 20:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 20:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201250048001,"66":25462,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201250048001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:44:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201250048001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":151313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:44:52] local.INFO: GPS data processed {"connection_id":151313,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:44:52] local.INFO: Acknowledgment sent {"connection_id":151313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:45:09] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:45:09] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:45:09] local.INFO: IMEI packet received {"connection_id":148662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":148662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:45:14] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:45:14] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:45:14] local.INFO: IMEI packet received {"connection_id":148662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":148662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:45:15] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:45:15] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:45:15] local.INFO: Packet analysis {"connection_id":148662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:45:15] local.INFO: Extracted packet for processing {"connection_id":148662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201281280001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942806000,"timestamp_ms":1785942806000,"timestamp_seconds":1785942806,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27c8df0"} 
[2026-08-05 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-08-05 20:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201281280001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201281280001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:45:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201281280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":148662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:45:15] local.INFO: GPS data processed {"connection_id":148662,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:45:15] local.INFO: Acknowledgment sent {"connection_id":148662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:45:20] local.INFO: TCP Data received {"connection_id":151314,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:45:20] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:45:20] local.INFO: IMEI packet received {"connection_id":151314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":151314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:45:24] local.INFO: TCP Data received {"connection_id":151314,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:45:24] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:45:24] local.INFO: IMEI packet received {"connection_id":151314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":151314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:45:26] local.INFO: TCP Data received {"connection_id":151314,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:45:26] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:45:26] local.INFO: Packet analysis {"connection_id":151314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:45:26] local.INFO: Extracted packet for processing {"connection_id":151314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:45:26] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201250048001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785942684000,"timestamp_ms":1785942684000,"timestamp_seconds":1785942684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27ab160"} 
[2026-08-05 20:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 20:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201250048001,"66":25462,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201250048001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:45:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201250048001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":151314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:45:26] local.INFO: GPS data processed {"connection_id":151314,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:45:26] local.INFO: Acknowledgment sent {"connection_id":151314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:45:29] local.INFO: TCP Data received {"connection_id":151314,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:45:29] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:45:29] local.INFO: Packet analysis {"connection_id":151314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:45:29] local.INFO: Extracted packet for processing {"connection_id":151314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:45:29] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201250048001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785942684000,"timestamp_ms":1785942684000,"timestamp_seconds":1785942684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27ab160"} 
[2026-08-05 20:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 20:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201250048001,"66":25462,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201250048001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:45:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201250048001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":151314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:45:29] local.INFO: GPS data processed {"connection_id":151314,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:45:29] local.INFO: Acknowledgment sent {"connection_id":151314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:45:46] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:45:46] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:45:46] local.INFO: Packet analysis {"connection_id":148662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:45:46] local.INFO: Extracted packet for processing {"connection_id":148662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201281280001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942806000,"timestamp_ms":1785942806000,"timestamp_seconds":1785942806,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27c8df0"} 
[2026-08-05 20:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201281280001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201281280001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:45:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201281280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":148662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:45:46] local.INFO: GPS data processed {"connection_id":148662,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:45:46] local.INFO: Acknowledgment sent {"connection_id":148662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:46:09] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:46:09] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:46:09] local.INFO: IMEI packet received {"connection_id":151315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":151315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:46:14] local.INFO: TCP Data received {"connection_id":148872,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:46:14] local.INFO: Processing buffer {"connection_id":148872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:46:14] local.INFO: IMEI packet received {"connection_id":148872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":148872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:46:14] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:46:14] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:46:14] local.INFO: IMEI packet received {"connection_id":151315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":151315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:46:15] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:46:15] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:46:15] local.INFO: Packet analysis {"connection_id":151315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:46:15] local.INFO: Extracted packet for processing {"connection_id":151315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201281280001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942806000,"timestamp_ms":1785942806000,"timestamp_seconds":1785942806,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27c8df0"} 
[2026-08-05 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-08-05 20:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201281280001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201281280001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:46:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201281280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":151315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:46:15] local.INFO: GPS data processed {"connection_id":151315,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:46:15] local.INFO: Acknowledgment sent {"connection_id":151315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:46:19] local.INFO: TCP Data received {"connection_id":148872,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:46:19] local.INFO: Processing buffer {"connection_id":148872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:46:19] local.INFO: IMEI packet received {"connection_id":148872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":148872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:46:20] local.INFO: TCP Data received {"connection_id":148872,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:46:20] local.INFO: Processing buffer {"connection_id":148872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:46:20] local.INFO: Packet analysis {"connection_id":148872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:46:20] local.INFO: Extracted packet for processing {"connection_id":148872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:46:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201250048001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785942684000,"timestamp_ms":1785942684000,"timestamp_seconds":1785942684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27ab160"} 
[2026-08-05 20:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 20:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201250048001,"66":25462,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201250048001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:46:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201250048001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":148872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:46:20] local.INFO: GPS data processed {"connection_id":148872,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:46:20] local.INFO: Acknowledgment sent {"connection_id":148872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:46:46] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:46:46] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:46:46] local.INFO: Packet analysis {"connection_id":151315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:46:46] local.INFO: Extracted packet for processing {"connection_id":151315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201281280001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942806000,"timestamp_ms":1785942806000,"timestamp_seconds":1785942806,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27c8df0"} 
[2026-08-05 20:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201281280001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201281280001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:46:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201281280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":151315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:46:46] local.INFO: GPS data processed {"connection_id":151315,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:46:46] local.INFO: Acknowledgment sent {"connection_id":151315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:46:52] local.INFO: TCP Data received {"connection_id":148872,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:46:52] local.INFO: Processing buffer {"connection_id":148872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27ab160012d77a54005f27938001c000027..."} 
[2026-08-05 20:46:52] local.INFO: Packet analysis {"connection_id":148872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:46:52] local.INFO: Extracted packet for processing {"connection_id":148872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27a"} 
[2026-08-05 20:46:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201250048001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785942684000,"timestamp_ms":1785942684000,"timestamp_seconds":1785942684,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27ab160"} 
[2026-08-05 20:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 20:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201250048001,"66":25462,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201250048001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:46:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201250048001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":148872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:46:52] local.INFO: GPS data processed {"connection_id":148872,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:46:52] local.INFO: Acknowledgment sent {"connection_id":148872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:47:09] local.INFO: TCP Data received {"connection_id":151316,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:47:09] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:47:09] local.INFO: IMEI packet received {"connection_id":151316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":151316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:47:14] local.INFO: TCP Data received {"connection_id":151317,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:47:14] local.INFO: Processing buffer {"connection_id":151317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:47:14] local.INFO: IMEI packet received {"connection_id":151317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":151317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:47:14] local.INFO: TCP Data received {"connection_id":151316,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:47:14] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:47:14] local.INFO: IMEI packet received {"connection_id":151316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":151316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:47:15] local.INFO: TCP Data received {"connection_id":151316,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:47:15] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:47:15] local.INFO: Packet analysis {"connection_id":151316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:47:15] local.INFO: Extracted packet for processing {"connection_id":151316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201281280001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942806000,"timestamp_ms":1785942806000,"timestamp_seconds":1785942806,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27c8df0"} 
[2026-08-05 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-08-05 20:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201281280001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201281280001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:47:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201281280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":151316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:47:15] local.INFO: GPS data processed {"connection_id":151316,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:47:15] local.INFO: Acknowledgment sent {"connection_id":151316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:47:19] local.INFO: TCP Data received {"connection_id":151317,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:47:19] local.INFO: Processing buffer {"connection_id":151317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:47:19] local.INFO: IMEI packet received {"connection_id":151317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":151317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:47:20] local.INFO: TCP Data received {"connection_id":151317,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:47:20] local.INFO: Processing buffer {"connection_id":151317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:47:20] local.INFO: Packet analysis {"connection_id":151317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:47:20] local.INFO: Extracted packet for processing {"connection_id":151317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:47:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201327104001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785942985000,"timestamp_ms":1785942985000,"timestamp_seconds":1785942985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27f4928"} 
[2026-08-05 20:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201327104001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201327104001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:47:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201327104001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":151317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:47:20] local.INFO: GPS data processed {"connection_id":151317,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:47:20] local.INFO: Acknowledgment sent {"connection_id":151317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:47:46] local.INFO: TCP Data received {"connection_id":151316,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:47:46] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:47:46] local.INFO: Packet analysis {"connection_id":151316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:47:46] local.INFO: Extracted packet for processing {"connection_id":151316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201281280001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20: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-08-05 20:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942806000,"timestamp_ms":1785942806000,"timestamp_seconds":1785942806,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27c8df0"} 
[2026-08-05 20:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20: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-08-05 20: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-08-05 20:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201281280001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201281280001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:47:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201281280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":151316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:47:46] local.INFO: GPS data processed {"connection_id":151316,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:47:46] local.INFO: Acknowledgment sent {"connection_id":151316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:47:51] local.INFO: TCP Data received {"connection_id":151317,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:47:51] local.INFO: Processing buffer {"connection_id":151317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:47:51] local.INFO: Packet analysis {"connection_id":151317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:47:51] local.INFO: Extracted packet for processing {"connection_id":151317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:47:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201327104001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785942985000,"timestamp_ms":1785942985000,"timestamp_seconds":1785942985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27f4928"} 
[2026-08-05 20:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201327104001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201327104001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:47:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201327104001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":151317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:47:51] local.INFO: GPS data processed {"connection_id":151317,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:47:51] local.INFO: Acknowledgment sent {"connection_id":151317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:48:09] local.INFO: TCP Data received {"connection_id":148873,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:48:09] local.INFO: Processing buffer {"connection_id":148873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:48:09] local.INFO: IMEI packet received {"connection_id":148873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":148873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:48:14] local.INFO: TCP Data received {"connection_id":148873,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:48:14] local.INFO: Processing buffer {"connection_id":148873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:48:14] local.INFO: IMEI packet received {"connection_id":148873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":148873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:48:15] local.INFO: TCP Data received {"connection_id":149883,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:48:15] local.INFO: Processing buffer {"connection_id":149883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:48:15] local.INFO: IMEI packet received {"connection_id":149883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":149883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:48:15] local.INFO: TCP Data received {"connection_id":148873,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:48:15] local.INFO: Processing buffer {"connection_id":148873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:48:15] local.INFO: Packet analysis {"connection_id":148873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:48:15] local.INFO: Extracted packet for processing {"connection_id":148873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201281280001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785942806000,"timestamp_ms":1785942806000,"timestamp_seconds":1785942806,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27c8df0"} 
[2026-08-05 20:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201281280001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201281280001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:48:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201281280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":148873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:48:15] local.INFO: GPS data processed {"connection_id":148873,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:48:15] local.INFO: Acknowledgment sent {"connection_id":148873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:48:20] local.INFO: TCP Data received {"connection_id":149883,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:48:20] local.INFO: Processing buffer {"connection_id":149883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:48:20] local.INFO: IMEI packet received {"connection_id":149883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":149883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:48:20] local.INFO: TCP Data received {"connection_id":149883,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:48:20] local.INFO: Processing buffer {"connection_id":149883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:48:20] local.INFO: Packet analysis {"connection_id":149883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:48:20] local.INFO: Extracted packet for processing {"connection_id":149883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:48:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201327104001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785942985000,"timestamp_ms":1785942985000,"timestamp_seconds":1785942985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27f4928"} 
[2026-08-05 20:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201327104001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201327104001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:48:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201327104001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":149883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:48:21] local.INFO: GPS data processed {"connection_id":149883,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:48:21] local.INFO: Acknowledgment sent {"connection_id":149883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:48:25] local.INFO: TCP Data received {"connection_id":149883,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:48:25] local.INFO: Processing buffer {"connection_id":149883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:48:25] local.INFO: Packet analysis {"connection_id":149883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:48:25] local.INFO: Extracted packet for processing {"connection_id":149883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:48:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201327104001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785942985000,"timestamp_ms":1785942985000,"timestamp_seconds":1785942985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27f4928"} 
[2026-08-05 20:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201327104001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201327104001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:48:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201327104001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":149883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:48:25] local.INFO: GPS data processed {"connection_id":149883,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:48:25] local.INFO: Acknowledgment sent {"connection_id":149883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:48:46] local.INFO: TCP Data received {"connection_id":148873,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:48:46] local.INFO: Processing buffer {"connection_id":148873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27c8df0012d196840071fef08003f010927..."} 
[2026-08-05 20:48:46] local.INFO: Packet analysis {"connection_id":148873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:48:46] local.INFO: Extracted packet for processing {"connection_id":148873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27c"} 
[2026-08-05 20:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201281280001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785942806000,"timestamp_ms":1785942806000,"timestamp_seconds":1785942806,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27c8df0"} 
[2026-08-05 20:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201281280001,"66":2155,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201281280001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:48:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201281280001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":148873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:48:46] local.INFO: GPS data processed {"connection_id":148873,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:48:46] local.INFO: Acknowledgment sent {"connection_id":148873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:49:09] local.INFO: TCP Data received {"connection_id":149884,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:49:09] local.INFO: Processing buffer {"connection_id":149884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:49:09] local.INFO: IMEI packet received {"connection_id":149884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":149884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:49:14] local.INFO: TCP Data received {"connection_id":148663,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:49:14] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:49:14] local.INFO: IMEI packet received {"connection_id":148663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":148663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:49:14] local.INFO: TCP Data received {"connection_id":149884,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:49:14] local.INFO: Processing buffer {"connection_id":149884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:49:14] local.INFO: IMEI packet received {"connection_id":149884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":149884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:49:15] local.INFO: TCP Data received {"connection_id":149884,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:49:15] local.INFO: Processing buffer {"connection_id":149884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:49:15] local.INFO: Packet analysis {"connection_id":149884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:49:15] local.INFO: Extracted packet for processing {"connection_id":149884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201358336001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785943107000,"timestamp_ms":1785943107000,"timestamp_seconds":1785943107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28125b8"} 
[2026-08-05 20:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201358336001,"66":2177,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201358336001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:49:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201358336001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":149884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:49:15] local.INFO: GPS data processed {"connection_id":149884,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:49:15] local.INFO: Acknowledgment sent {"connection_id":149884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:49:19] local.INFO: TCP Data received {"connection_id":148663,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:49:19] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:49:19] local.INFO: IMEI packet received {"connection_id":148663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":148663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:49:20] local.INFO: TCP Data received {"connection_id":148663,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:49:20] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:49:20] local.INFO: Packet analysis {"connection_id":148663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:49:20] local.INFO: Extracted packet for processing {"connection_id":148663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:49:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201327104001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785942985000,"timestamp_ms":1785942985000,"timestamp_seconds":1785942985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27f4928"} 
[2026-08-05 20:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201327104001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201327104001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:49:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201327104001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":148663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:49:20] local.INFO: GPS data processed {"connection_id":148663,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:49:20] local.INFO: Acknowledgment sent {"connection_id":148663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:49:47] local.INFO: TCP Data received {"connection_id":149884,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:49:47] local.INFO: Processing buffer {"connection_id":149884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:49:47] local.INFO: Packet analysis {"connection_id":149884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:49:47] local.INFO: Extracted packet for processing {"connection_id":149884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201358336001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49: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-08-05 20:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785943107000,"timestamp_ms":1785943107000,"timestamp_seconds":1785943107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28125b8"} 
[2026-08-05 20:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201358336001,"66":2177,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201358336001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:49:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201358336001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":149884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:49:47] local.INFO: GPS data processed {"connection_id":149884,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:49:47] local.INFO: Acknowledgment sent {"connection_id":149884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:49:51] local.INFO: TCP Data received {"connection_id":148663,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:49:51] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:49:51] local.INFO: Packet analysis {"connection_id":148663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:49:51] local.INFO: Extracted packet for processing {"connection_id":148663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:49:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201327104001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785942985000,"timestamp_ms":1785942985000,"timestamp_seconds":1785942985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27f4928"} 
[2026-08-05 20:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201327104001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201327104001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:49:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201327104001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":148663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:49:51] local.INFO: GPS data processed {"connection_id":148663,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:49:51] local.INFO: Acknowledgment sent {"connection_id":148663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:50:14] local.INFO: TCP Data received {"connection_id":149885,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:50:14] local.INFO: Processing buffer {"connection_id":149885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:50:14] local.INFO: IMEI packet received {"connection_id":149885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":149885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:50:14] local.INFO: TCP Data received {"connection_id":148874,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:50:14] local.INFO: Processing buffer {"connection_id":148874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:50:14] local.INFO: IMEI packet received {"connection_id":148874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":148874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:50:19] local.INFO: TCP Data received {"connection_id":149885,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:50:19] local.INFO: Processing buffer {"connection_id":149885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:50:19] local.INFO: IMEI packet received {"connection_id":149885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":149885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:50:19] local.INFO: TCP Data received {"connection_id":148874,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:50:19] local.INFO: Processing buffer {"connection_id":148874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:50:19] local.INFO: IMEI packet received {"connection_id":148874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":148874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:50:20] local.INFO: TCP Data received {"connection_id":149885,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:50:20] local.INFO: Processing buffer {"connection_id":149885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:50:20] local.INFO: Packet analysis {"connection_id":149885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:50:20] local.INFO: Extracted packet for processing {"connection_id":149885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:50:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201327104001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785942985000,"timestamp_ms":1785942985000,"timestamp_seconds":1785942985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27f4928"} 
[2026-08-05 20:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201327104001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201327104001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:50:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201327104001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":149885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:50:20] local.INFO: GPS data processed {"connection_id":149885,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:50:20] local.INFO: Acknowledgment sent {"connection_id":149885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:50:20] local.INFO: TCP Data received {"connection_id":148874,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:50:20] local.INFO: Processing buffer {"connection_id":148874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:50:20] local.INFO: Packet analysis {"connection_id":148874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:50:20] local.INFO: Extracted packet for processing {"connection_id":148874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201358336001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943107000,"timestamp_ms":1785943107000,"timestamp_seconds":1785943107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28125b8"} 
[2026-08-05 20:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201358336001,"66":2177,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201358336001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:50:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201358336001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":148874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:50:20] local.INFO: GPS data processed {"connection_id":148874,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:50:20] local.INFO: Acknowledgment sent {"connection_id":148874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:50:25] local.INFO: TCP Data received {"connection_id":148874,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:50:25] local.INFO: Processing buffer {"connection_id":148874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:50:25] local.INFO: Packet analysis {"connection_id":148874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:50:25] local.INFO: Extracted packet for processing {"connection_id":148874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:50:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201358336001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785943107000,"timestamp_ms":1785943107000,"timestamp_seconds":1785943107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28125b8"} 
[2026-08-05 20:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201358336001,"66":2177,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201358336001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:50:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:50:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201358336001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":148874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:50:25] local.INFO: GPS data processed {"connection_id":148874,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:50:25] local.INFO: Acknowledgment sent {"connection_id":148874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:50:51] local.INFO: TCP Data received {"connection_id":149885,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:50:51] local.INFO: Processing buffer {"connection_id":149885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:50:51] local.INFO: Packet analysis {"connection_id":149885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:50:51] local.INFO: Extracted packet for processing {"connection_id":149885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:50:51] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201327104001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785942985000,"timestamp_ms":1785942985000,"timestamp_seconds":1785942985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27f4928"} 
[2026-08-05 20:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201327104001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201327104001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:50:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201327104001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":149885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:50:51] local.INFO: GPS data processed {"connection_id":149885,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:50:51] local.INFO: Acknowledgment sent {"connection_id":149885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:51:09] local.INFO: TCP Data received {"connection_id":148875,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:51:09] local.INFO: Processing buffer {"connection_id":148875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:51:09] local.INFO: IMEI packet received {"connection_id":148875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":148875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:51:17] local.INFO: TCP Data received {"connection_id":148875,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:51:17] local.INFO: Processing buffer {"connection_id":148875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:51:17] local.INFO: IMEI packet received {"connection_id":148875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":148875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:51:18] local.INFO: TCP Data received {"connection_id":148875,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:51:18] local.INFO: Processing buffer {"connection_id":148875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:51:18] local.INFO: Packet analysis {"connection_id":148875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:51:18] local.INFO: Extracted packet for processing {"connection_id":148875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201358336001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785943107000,"timestamp_ms":1785943107000,"timestamp_seconds":1785943107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28125b8"} 
[2026-08-05 20:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201358336001,"66":2177,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201358336001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:51:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201358336001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":148875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:51:18] local.INFO: GPS data processed {"connection_id":148875,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:51:18] local.INFO: Acknowledgment sent {"connection_id":148875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:51:19] local.INFO: TCP Data received {"connection_id":148664,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:51:19] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:51:19] local.INFO: IMEI packet received {"connection_id":148664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":148664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:51:24] local.INFO: TCP Data received {"connection_id":148664,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:51:24] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:51:24] local.INFO: IMEI packet received {"connection_id":148664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":148664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:51:25] local.INFO: TCP Data received {"connection_id":148664,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:51:25] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:51:25] local.INFO: Packet analysis {"connection_id":148664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:51:25] local.INFO: Extracted packet for processing {"connection_id":148664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:51:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201327104001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785942985000,"timestamp_ms":1785942985000,"timestamp_seconds":1785942985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27f4928"} 
[2026-08-05 20:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201327104001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201327104001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:51:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201327104001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":148664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:51:25] local.INFO: GPS data processed {"connection_id":148664,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:51:25] local.INFO: Acknowledgment sent {"connection_id":148664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:51:29] local.INFO: TCP Data received {"connection_id":148664,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:51:29] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd27f4928012d77a54005f27938001c000023..."} 
[2026-08-05 20:51:29] local.INFO: Packet analysis {"connection_id":148664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:51:29] local.INFO: Extracted packet for processing {"connection_id":148664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd27f"} 
[2026-08-05 20:51:29] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201327104001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785942985000,"timestamp_ms":1785942985000,"timestamp_seconds":1785942985,"priority":1,"record_length":96,"hex_timestamp":"0000019fd27f4928"} 
[2026-08-05 20:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 20:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201327104001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201327104001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:51:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201327104001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":148664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:51:29] local.INFO: GPS data processed {"connection_id":148664,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:51:29] local.INFO: Acknowledgment sent {"connection_id":148664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:51:49] local.INFO: TCP Data received {"connection_id":148875,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:51:49] local.INFO: Processing buffer {"connection_id":148875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:51:49] local.INFO: Packet analysis {"connection_id":148875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:51:49] local.INFO: Extracted packet for processing {"connection_id":148875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201358336001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785943107000,"timestamp_ms":1785943107000,"timestamp_seconds":1785943107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28125b8"} 
[2026-08-05 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-08-05 20:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201358336001,"66":2177,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201358336001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:51:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201358336001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":148875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:51:49] local.INFO: GPS data processed {"connection_id":148875,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:51:49] local.INFO: Acknowledgment sent {"connection_id":148875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:52:09] local.INFO: TCP Data received {"connection_id":151318,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:52:09] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:52:09] local.INFO: IMEI packet received {"connection_id":151318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":151318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:52:14] local.INFO: TCP Data received {"connection_id":151318,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:52:14] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:52:14] local.INFO: IMEI packet received {"connection_id":151318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":151318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:52:14] local.INFO: TCP Data received {"connection_id":149886,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:52:14] local.INFO: Processing buffer {"connection_id":149886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:52:14] local.INFO: IMEI packet received {"connection_id":149886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":149886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:52:15] local.INFO: TCP Data received {"connection_id":151318,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:52:15] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:52:15] local.INFO: Packet analysis {"connection_id":151318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:52:15] local.INFO: Extracted packet for processing {"connection_id":151318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201358336001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785943107000,"timestamp_ms":1785943107000,"timestamp_seconds":1785943107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28125b8"} 
[2026-08-05 20:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201358336001,"66":2177,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201358336001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:52:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201358336001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":151318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:52:15] local.INFO: GPS data processed {"connection_id":151318,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:52:15] local.INFO: Acknowledgment sent {"connection_id":151318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:52:19] local.INFO: TCP Data received {"connection_id":149886,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:52:19] local.INFO: Processing buffer {"connection_id":149886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:52:19] local.INFO: IMEI packet received {"connection_id":149886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":149886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:52:20] local.INFO: TCP Data received {"connection_id":149886,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:52:20] local.INFO: Processing buffer {"connection_id":149886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:52:20] local.INFO: Packet analysis {"connection_id":149886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:52:20] local.INFO: Extracted packet for processing {"connection_id":149886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:52:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201404160001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943286000,"timestamp_ms":1785943286000,"timestamp_seconds":1785943286,"priority":1,"record_length":96,"hex_timestamp":"0000019fd283e0f0"} 
[2026-08-05 20:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:52: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-08-05 20: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:52: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-08-05 20: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-08-05 20:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201404160001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201404160001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:52:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201404160001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":149886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:52:20] local.INFO: GPS data processed {"connection_id":149886,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:52:20] local.INFO: Acknowledgment sent {"connection_id":149886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:52:25] local.INFO: TCP Data received {"connection_id":149886,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:52:25] local.INFO: Processing buffer {"connection_id":149886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:52:25] local.INFO: Packet analysis {"connection_id":149886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:52:25] local.INFO: Extracted packet for processing {"connection_id":149886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:52:25] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201404160001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785943286000,"timestamp_ms":1785943286000,"timestamp_seconds":1785943286,"priority":1,"record_length":96,"hex_timestamp":"0000019fd283e0f0"} 
[2026-08-05 20:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201404160001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201404160001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:52:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201404160001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":149886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:52:25] local.INFO: GPS data processed {"connection_id":149886,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:52:25] local.INFO: Acknowledgment sent {"connection_id":149886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:52:46] local.INFO: TCP Data received {"connection_id":151318,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:52:46] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:52:46] local.INFO: Packet analysis {"connection_id":151318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:52:46] local.INFO: Extracted packet for processing {"connection_id":151318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201358336001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20: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-08-05 20:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785943107000,"timestamp_ms":1785943107000,"timestamp_seconds":1785943107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28125b8"} 
[2026-08-05 20:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:52: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-08-05 20: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-08-05 20:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201358336001,"66":2177,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201358336001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:52:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201358336001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":151318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:52:46] local.INFO: GPS data processed {"connection_id":151318,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:52:46] local.INFO: Acknowledgment sent {"connection_id":151318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:52:56] local.INFO: TCP Data received {"connection_id":149886,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:52:56] local.INFO: Processing buffer {"connection_id":149886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:52:56] local.INFO: Packet analysis {"connection_id":149886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:52:56] local.INFO: Extracted packet for processing {"connection_id":149886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:52:56] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201404160001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785943286000,"timestamp_ms":1785943286000,"timestamp_seconds":1785943286,"priority":1,"record_length":96,"hex_timestamp":"0000019fd283e0f0"} 
[2026-08-05 20:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201404160001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201404160001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:52:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201404160001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":149886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:52:57] local.INFO: GPS data processed {"connection_id":149886,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:52:57] local.INFO: Acknowledgment sent {"connection_id":149886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:53:09] local.INFO: TCP Data received {"connection_id":148876,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:53:09] local.INFO: Processing buffer {"connection_id":148876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:53:09] local.INFO: IMEI packet received {"connection_id":148876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":148876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:53:14] local.INFO: TCP Data received {"connection_id":151319,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:53:14] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:53:14] local.INFO: IMEI packet received {"connection_id":151319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":151319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:53:14] local.INFO: TCP Data received {"connection_id":148876,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:53:14] local.INFO: Processing buffer {"connection_id":148876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:53:14] local.INFO: IMEI packet received {"connection_id":148876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":148876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:53:15] local.INFO: TCP Data received {"connection_id":148876,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:53:15] local.INFO: Processing buffer {"connection_id":148876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:53:15] local.INFO: Packet analysis {"connection_id":148876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:53:15] local.INFO: Extracted packet for processing {"connection_id":148876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201358336001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785943107000,"timestamp_ms":1785943107000,"timestamp_seconds":1785943107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28125b8"} 
[2026-08-05 20:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201358336001,"66":2177,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201358336001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:53:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201358336001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":148876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:53:15] local.INFO: GPS data processed {"connection_id":148876,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:53:15] local.INFO: Acknowledgment sent {"connection_id":148876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:53:19] local.INFO: TCP Data received {"connection_id":151319,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:53:19] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:53:19] local.INFO: IMEI packet received {"connection_id":151319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":151319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:53:20] local.INFO: TCP Data received {"connection_id":151319,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:53:20] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:53:20] local.INFO: Packet analysis {"connection_id":151319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:53:20] local.INFO: Extracted packet for processing {"connection_id":151319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:53:20] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201404160001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943286000,"timestamp_ms":1785943286000,"timestamp_seconds":1785943286,"priority":1,"record_length":96,"hex_timestamp":"0000019fd283e0f0"} 
[2026-08-05 20:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:53: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-08-05 20: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:53: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-08-05 20: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-08-05 20:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201404160001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201404160001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:53:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201404160001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":151319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:53:20] local.INFO: GPS data processed {"connection_id":151319,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:53:20] local.INFO: Acknowledgment sent {"connection_id":151319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:53:46] local.INFO: TCP Data received {"connection_id":148876,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:53:46] local.INFO: Processing buffer {"connection_id":148876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28125b8012d196840071fef08003f010924..."} 
[2026-08-05 20:53:46] local.INFO: Packet analysis {"connection_id":148876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:53:46] local.INFO: Extracted packet for processing {"connection_id":148876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd281"} 
[2026-08-05 20:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201358336001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785943107000,"timestamp_ms":1785943107000,"timestamp_seconds":1785943107,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28125b8"} 
[2026-08-05 20:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:53: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-08-05 20: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-08-05 20:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201358336001,"66":2177,"102":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-05 20:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201358336001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:53:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-05 20:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201358336001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":148876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:53:46] local.INFO: GPS data processed {"connection_id":148876,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:53:46] local.INFO: Acknowledgment sent {"connection_id":148876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:53:52] local.INFO: TCP Data received {"connection_id":151319,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:53:52] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:53:52] local.INFO: Packet analysis {"connection_id":151319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:53:52] local.INFO: Extracted packet for processing {"connection_id":151319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:53:52] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201404160001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785943286000,"timestamp_ms":1785943286000,"timestamp_seconds":1785943286,"priority":1,"record_length":96,"hex_timestamp":"0000019fd283e0f0"} 
[2026-08-05 20:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201404160001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201404160001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:53:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201404160001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":151319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:53:52] local.INFO: GPS data processed {"connection_id":151319,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:53:52] local.INFO: Acknowledgment sent {"connection_id":151319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:54:10] local.INFO: TCP Data received {"connection_id":148665,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:54:10] local.INFO: Processing buffer {"connection_id":148665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:54:10] local.INFO: IMEI packet received {"connection_id":148665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":148665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:54:14] local.INFO: TCP Data received {"connection_id":148665,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:54:14] local.INFO: Processing buffer {"connection_id":148665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:54:14] local.INFO: IMEI packet received {"connection_id":148665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":148665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:54:15] local.INFO: TCP Data received {"connection_id":148665,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:54:15] local.INFO: Processing buffer {"connection_id":148665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:54:15] local.INFO: Packet analysis {"connection_id":148665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:54:15] local.INFO: Extracted packet for processing {"connection_id":148665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201435392001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785943408000,"timestamp_ms":1785943408000,"timestamp_seconds":1785943408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd285bd80"} 
[2026-08-05 20:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201435392001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201435392001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:54:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201435392001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":148665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:54:15] local.INFO: GPS data processed {"connection_id":148665,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:54:15] local.INFO: Acknowledgment sent {"connection_id":148665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:54:19] local.INFO: TCP Data received {"connection_id":148666,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:54:19] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:54:19] local.INFO: IMEI packet received {"connection_id":148666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":148666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:54:24] local.INFO: TCP Data received {"connection_id":148666,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:54:24] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:54:24] local.INFO: IMEI packet received {"connection_id":148666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":148666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:54:28] local.INFO: TCP Data received {"connection_id":148666,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:54:28] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:54:28] local.INFO: Packet analysis {"connection_id":148666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:54:28] local.INFO: Extracted packet for processing {"connection_id":148666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:54:28] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201404160001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785943286000,"timestamp_ms":1785943286000,"timestamp_seconds":1785943286,"priority":1,"record_length":96,"hex_timestamp":"0000019fd283e0f0"} 
[2026-08-05 20:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201404160001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201404160001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:54:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201404160001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":148666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:54:28] local.INFO: GPS data processed {"connection_id":148666,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:54:28] local.INFO: Acknowledgment sent {"connection_id":148666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:54:29] local.INFO: TCP Data received {"connection_id":148666,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:54:29] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd283e0f0012d77a54005f27938001c000026..."} 
[2026-08-05 20:54:29] local.INFO: Packet analysis {"connection_id":148666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:54:29] local.INFO: Extracted packet for processing {"connection_id":148666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd283"} 
[2026-08-05 20:54:29] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99776824,"longitude_deg":76.2815808,"latitude_deg":9.9776824,"altitude":28,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f27938","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201404160001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785943286000,"timestamp_ms":1785943286000,"timestamp_seconds":1785943286,"priority":1,"record_length":96,"hex_timestamp":"0000019fd283e0f0"} 
[2026-08-05 20:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 20:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201404160001,"66":25473,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201404160001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:54:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201404160001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":148666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:54:29] local.INFO: GPS data processed {"connection_id":148666,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:54:29] local.INFO: Acknowledgment sent {"connection_id":148666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:54:46] local.INFO: TCP Data received {"connection_id":148665,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:54:46] local.INFO: Processing buffer {"connection_id":148665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:54:46] local.INFO: Packet analysis {"connection_id":148665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:54:46] local.INFO: Extracted packet for processing {"connection_id":148665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201435392001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:54: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-08-05 20:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785943408000,"timestamp_ms":1785943408000,"timestamp_seconds":1785943408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd285bd80"} 
[2026-08-05 20:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201435392001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201435392001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:54:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201435392001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":148665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:54:46] local.INFO: GPS data processed {"connection_id":148665,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:54:46] local.INFO: Acknowledgment sent {"connection_id":148665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:55:14] local.INFO: TCP Data received {"connection_id":149888,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:55:14] local.INFO: Processing buffer {"connection_id":149888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:55:14] local.INFO: IMEI packet received {"connection_id":149888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":149888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:55:14] local.INFO: TCP Data received {"connection_id":149887,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:55:14] local.INFO: Processing buffer {"connection_id":149887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:55:14] local.INFO: IMEI packet received {"connection_id":149887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":149887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:55:19] local.INFO: TCP Data received {"connection_id":149888,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:55:19] local.INFO: Processing buffer {"connection_id":149888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:55:19] local.INFO: IMEI packet received {"connection_id":149888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":149888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:55:19] local.INFO: TCP Data received {"connection_id":149887,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:55:19] local.INFO: Processing buffer {"connection_id":149887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:55:19] local.INFO: IMEI packet received {"connection_id":149887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":149887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:55:20] local.INFO: TCP Data received {"connection_id":149887,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:55:20] local.INFO: Processing buffer {"connection_id":149887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:55:20] local.INFO: Packet analysis {"connection_id":149887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:55:20] local.INFO: Extracted packet for processing {"connection_id":149887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201435392001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943408000,"timestamp_ms":1785943408000,"timestamp_seconds":1785943408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd285bd80"} 
[2026-08-05 20:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201435392001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201435392001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:55:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201435392001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":149887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:55:20] local.INFO: GPS data processed {"connection_id":149887,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:55:20] local.INFO: Acknowledgment sent {"connection_id":149887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:55:20] local.INFO: TCP Data received {"connection_id":149888,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:55:20] local.INFO: Processing buffer {"connection_id":149888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:55:20] local.INFO: Packet analysis {"connection_id":149888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:55:20] local.INFO: Extracted packet for processing {"connection_id":149888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:55:20] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 20:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201481216001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943455000,"timestamp_ms":1785943455000,"timestamp_seconds":1785943455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2867518"} 
[2026-08-05 20:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:55: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-08-05 20:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:55: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-08-05 20:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201481216001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201481216001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:55:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201481216001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":149888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:55:20] local.INFO: GPS data processed {"connection_id":149888,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:55:20] local.INFO: Acknowledgment sent {"connection_id":149888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:55:25] local.INFO: TCP Data received {"connection_id":149887,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:55:25] local.INFO: Processing buffer {"connection_id":149887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:55:25] local.INFO: Packet analysis {"connection_id":149887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:55:25] local.INFO: Extracted packet for processing {"connection_id":149887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:55:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201435392001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785943408000,"timestamp_ms":1785943408000,"timestamp_seconds":1785943408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd285bd80"} 
[2026-08-05 20:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201435392001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201435392001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:55:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:55:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201435392001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":149887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:55:25] local.INFO: GPS data processed {"connection_id":149887,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:55:25] local.INFO: Acknowledgment sent {"connection_id":149887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:55:52] local.INFO: TCP Data received {"connection_id":149888,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:55:52] local.INFO: Processing buffer {"connection_id":149888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:55:52] local.INFO: Packet analysis {"connection_id":149888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:55:52] local.INFO: Extracted packet for processing {"connection_id":149888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:55:52] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 20:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201481216001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785943455000,"timestamp_ms":1785943455000,"timestamp_seconds":1785943455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2867518"} 
[2026-08-05 20:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201481216001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201481216001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:55:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201481216001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":149888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:55:52] local.INFO: GPS data processed {"connection_id":149888,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:55:52] local.INFO: Acknowledgment sent {"connection_id":149888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:56:09] local.INFO: TCP Data received {"connection_id":148877,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:56:09] local.INFO: Processing buffer {"connection_id":148877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:56:09] local.INFO: IMEI packet received {"connection_id":148877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":148877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:56:14] local.INFO: TCP Data received {"connection_id":149889,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:56:14] local.INFO: Processing buffer {"connection_id":149889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:56:14] local.INFO: IMEI packet received {"connection_id":149889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":149889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:56:14] local.INFO: TCP Data received {"connection_id":148877,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:56:14] local.INFO: Processing buffer {"connection_id":148877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:56:14] local.INFO: IMEI packet received {"connection_id":148877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":148877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:56:15] local.INFO: TCP Data received {"connection_id":148877,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:56:15] local.INFO: Processing buffer {"connection_id":148877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:56:15] local.INFO: Packet analysis {"connection_id":148877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:56:15] local.INFO: Extracted packet for processing {"connection_id":148877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201435392001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785943408000,"timestamp_ms":1785943408000,"timestamp_seconds":1785943408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd285bd80"} 
[2026-08-05 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-08-05 20:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201435392001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201435392001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:56:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201435392001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":148877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:56:15] local.INFO: GPS data processed {"connection_id":148877,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:56:15] local.INFO: Acknowledgment sent {"connection_id":148877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:56:19] local.INFO: TCP Data received {"connection_id":149889,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:56:19] local.INFO: Processing buffer {"connection_id":149889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:56:19] local.INFO: IMEI packet received {"connection_id":149889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":149889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:56:20] local.INFO: TCP Data received {"connection_id":148877,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:56:20] local.INFO: Processing buffer {"connection_id":148877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:56:20] local.INFO: Packet analysis {"connection_id":148877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:56:20] local.INFO: Extracted packet for processing {"connection_id":148877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201435392001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943408000,"timestamp_ms":1785943408000,"timestamp_seconds":1785943408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd285bd80"} 
[2026-08-05 20:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201435392001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201435392001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:56:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201435392001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":148877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:56:20] local.INFO: GPS data processed {"connection_id":148877,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:56:20] local.INFO: Acknowledgment sent {"connection_id":148877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:56:20] local.INFO: TCP Data received {"connection_id":149889,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:56:20] local.INFO: Processing buffer {"connection_id":149889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:56:20] local.INFO: Packet analysis {"connection_id":149889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:56:20] local.INFO: Extracted packet for processing {"connection_id":149889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:56:20] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201481216001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943455000,"timestamp_ms":1785943455000,"timestamp_seconds":1785943455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2867518"} 
[2026-08-05 20:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:56: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-08-05 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:56: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-08-05 20: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-08-05 20:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201481216001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201481216001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:56:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201481216001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":149889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:56:20] local.INFO: GPS data processed {"connection_id":149889,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:56:20] local.INFO: Acknowledgment sent {"connection_id":149889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:56:51] local.INFO: TCP Data received {"connection_id":148877,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:56:51] local.INFO: Processing buffer {"connection_id":148877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:56:51] local.INFO: Packet analysis {"connection_id":148877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:56:51] local.INFO: Extracted packet for processing {"connection_id":148877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201435392001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785943408000,"timestamp_ms":1785943408000,"timestamp_seconds":1785943408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd285bd80"} 
[2026-08-05 20:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201435392001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201435392001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:56:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201435392001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":148877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:56:51] local.INFO: GPS data processed {"connection_id":148877,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:56:51] local.INFO: Acknowledgment sent {"connection_id":148877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:56:52] local.INFO: TCP Data received {"connection_id":149889,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:56:52] local.INFO: Processing buffer {"connection_id":149889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:56:52] local.INFO: Packet analysis {"connection_id":149889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:56:52] local.INFO: Extracted packet for processing {"connection_id":149889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:56:52] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 20:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201481216001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785943455000,"timestamp_ms":1785943455000,"timestamp_seconds":1785943455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2867518"} 
[2026-08-05 20:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201481216001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201481216001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:56:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201481216001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":149889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:56:52] local.INFO: GPS data processed {"connection_id":149889,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:56:52] local.INFO: Acknowledgment sent {"connection_id":149889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:57:09] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:57:09] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:57:09] local.INFO: IMEI packet received {"connection_id":151320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":151320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:57:14] local.INFO: TCP Data received {"connection_id":148667,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:57:14] local.INFO: Processing buffer {"connection_id":148667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:57:14] local.INFO: IMEI packet received {"connection_id":148667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":148667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:57:14] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:57:14] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:57:14] local.INFO: IMEI packet received {"connection_id":151320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":151320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:57:15] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:57:15] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:57:15] local.INFO: Packet analysis {"connection_id":151320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:57:15] local.INFO: Extracted packet for processing {"connection_id":151320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201435392001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785943408000,"timestamp_ms":1785943408000,"timestamp_seconds":1785943408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd285bd80"} 
[2026-08-05 20:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20: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-08-05 20:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201435392001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201435392001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:57:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201435392001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":151320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:57:15] local.INFO: GPS data processed {"connection_id":151320,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:57:15] local.INFO: Acknowledgment sent {"connection_id":151320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:57:19] local.INFO: TCP Data received {"connection_id":148667,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:57:19] local.INFO: Processing buffer {"connection_id":148667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:57:19] local.INFO: IMEI packet received {"connection_id":148667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":148667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:57:20] local.INFO: TCP Data received {"connection_id":148667,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:57:20] local.INFO: Processing buffer {"connection_id":148667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:57:20] local.INFO: Packet analysis {"connection_id":148667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:57:20] local.INFO: Extracted packet for processing {"connection_id":148667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:57:20] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201481216001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943455000,"timestamp_ms":1785943455000,"timestamp_seconds":1785943455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2867518"} 
[2026-08-05 20:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:57: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-08-05 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:57: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-08-05 20:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201481216001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201481216001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:57:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201481216001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":148667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:57:20] local.INFO: GPS data processed {"connection_id":148667,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:57:20] local.INFO: Acknowledgment sent {"connection_id":148667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:57:46] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:57:46] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:57:46] local.INFO: Packet analysis {"connection_id":151320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:57:46] local.INFO: Extracted packet for processing {"connection_id":151320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201435392001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57: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-08-05 20:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785943408000,"timestamp_ms":1785943408000,"timestamp_seconds":1785943408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd285bd80"} 
[2026-08-05 20:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201435392001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201435392001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:57:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201435392001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":151320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:57:46] local.INFO: GPS data processed {"connection_id":151320,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:57:46] local.INFO: Acknowledgment sent {"connection_id":151320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:57:52] local.INFO: TCP Data received {"connection_id":148667,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:57:52] local.INFO: Processing buffer {"connection_id":148667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:57:52] local.INFO: Packet analysis {"connection_id":148667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:57:52] local.INFO: Extracted packet for processing {"connection_id":148667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:57:52] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 20:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201481216001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785943455000,"timestamp_ms":1785943455000,"timestamp_seconds":1785943455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2867518"} 
[2026-08-05 20:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201481216001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201481216001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:57:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201481216001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":148667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:57:52] local.INFO: GPS data processed {"connection_id":148667,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:57:52] local.INFO: Acknowledgment sent {"connection_id":148667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:58:10] local.INFO: TCP Data received {"connection_id":148878,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:58:10] local.INFO: Processing buffer {"connection_id":148878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:58:10] local.INFO: IMEI packet received {"connection_id":148878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":148878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:58:14] local.INFO: TCP Data received {"connection_id":148878,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:58:14] local.INFO: Processing buffer {"connection_id":148878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:58:14] local.INFO: IMEI packet received {"connection_id":148878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":148878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:58:15] local.INFO: TCP Data received {"connection_id":148878,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:58:15] local.INFO: Processing buffer {"connection_id":148878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:58:15] local.INFO: Packet analysis {"connection_id":148878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:58:15] local.INFO: Extracted packet for processing {"connection_id":148878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201435392001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785943408000,"timestamp_ms":1785943408000,"timestamp_seconds":1785943408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd285bd80"} 
[2026-08-05 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-08-05 20:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201435392001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201435392001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:58:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201435392001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":148878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:58:15] local.INFO: GPS data processed {"connection_id":148878,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:58:15] local.INFO: Acknowledgment sent {"connection_id":148878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:58:19] local.INFO: TCP Data received {"connection_id":148879,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:58:19] local.INFO: Processing buffer {"connection_id":148879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:58:19] local.INFO: IMEI packet received {"connection_id":148879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":148879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:58:24] local.INFO: TCP Data received {"connection_id":148879,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:58:24] local.INFO: Processing buffer {"connection_id":148879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:58:24] local.INFO: IMEI packet received {"connection_id":148879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":148879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:58:25] local.INFO: TCP Data received {"connection_id":148879,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:58:25] local.INFO: Processing buffer {"connection_id":148879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:58:25] local.INFO: Packet analysis {"connection_id":148879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:58:25] local.INFO: Extracted packet for processing {"connection_id":148879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:58:25] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 20:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201481216001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785943455000,"timestamp_ms":1785943455000,"timestamp_seconds":1785943455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2867518"} 
[2026-08-05 20:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201481216001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201481216001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:58:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201481216001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":148879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:58:25] local.INFO: GPS data processed {"connection_id":148879,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:58:25] local.INFO: Acknowledgment sent {"connection_id":148879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:58:30] local.INFO: TCP Data received {"connection_id":148879,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:58:30] local.INFO: Processing buffer {"connection_id":148879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:58:30] local.INFO: Packet analysis {"connection_id":148879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:58:30] local.INFO: Extracted packet for processing {"connection_id":148879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:58:30] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 20:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201481216001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785943455000,"timestamp_ms":1785943455000,"timestamp_seconds":1785943455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2867518"} 
[2026-08-05 20:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201481216001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201481216001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:58:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201481216001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":148879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:58:30] local.INFO: GPS data processed {"connection_id":148879,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:58:30] local.INFO: Acknowledgment sent {"connection_id":148879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:58:46] local.INFO: TCP Data received {"connection_id":148878,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:58:46] local.INFO: Processing buffer {"connection_id":148878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd285bd80012d196840071fef08003f010925..."} 
[2026-08-05 20:58:46] local.INFO: Packet analysis {"connection_id":148878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:58:46] local.INFO: Extracted packet for processing {"connection_id":148878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd285"} 
[2026-08-05 20:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 20:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201435392001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20: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-08-05 20:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785943408000,"timestamp_ms":1785943408000,"timestamp_seconds":1785943408,"priority":1,"record_length":96,"hex_timestamp":"0000019fd285bd80"} 
[2026-08-05 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-08-05 20:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 20:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201435392001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201435392001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:58:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201435392001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":148878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:58:47] local.INFO: GPS data processed {"connection_id":148878,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:58:47] local.INFO: Acknowledgment sent {"connection_id":148878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:59:09] local.INFO: TCP Data received {"connection_id":151321,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:59:09] local.INFO: Processing buffer {"connection_id":151321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:59:09] local.INFO: IMEI packet received {"connection_id":151321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 20:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":151321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:59:14] local.INFO: TCP Data received {"connection_id":151321,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:59:14] local.INFO: Processing buffer {"connection_id":151321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 20:59:14] local.INFO: IMEI packet received {"connection_id":151321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 20:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":151321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:59:15] local.INFO: TCP Data received {"connection_id":149890,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:59:15] local.INFO: Processing buffer {"connection_id":149890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:59:15] local.INFO: IMEI packet received {"connection_id":149890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 20:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":149890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 20:59:15] local.INFO: TCP Data received {"connection_id":151321,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 20:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 20:59:15] local.INFO: Processing buffer {"connection_id":151321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 20:59:15] local.INFO: Packet analysis {"connection_id":151321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 20:59:15] local.INFO: Extracted packet for processing {"connection_id":151321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 20:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201512448001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785943709000,"timestamp_ms":1785943709000,"timestamp_seconds":1785943709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28a5548"} 
[2026-08-05 20:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201512448001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201512448001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:59:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201512448001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":151321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:59:15] local.INFO: GPS data processed {"connection_id":151321,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:59:15] local.INFO: Acknowledgment sent {"connection_id":151321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:59:19] local.INFO: TCP Data received {"connection_id":149890,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:59:19] local.INFO: Processing buffer {"connection_id":149890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 20:59:19] local.INFO: IMEI packet received {"connection_id":149890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 20:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":149890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 20:59:20] local.INFO: TCP Data received {"connection_id":149890,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:59:20] local.INFO: Processing buffer {"connection_id":149890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:59:20] local.INFO: Packet analysis {"connection_id":149890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:59:20] local.INFO: Extracted packet for processing {"connection_id":149890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:59:20] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 20:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201481216001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943455000,"timestamp_ms":1785943455000,"timestamp_seconds":1785943455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2867518"} 
[2026-08-05 20:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:59: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-08-05 20:59: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-08-05 20:59: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-08-05 20:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201481216001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201481216001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:59:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201481216001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":149890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:59:20] local.INFO: GPS data processed {"connection_id":149890,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:59:20] local.INFO: Acknowledgment sent {"connection_id":149890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:59:46] local.INFO: TCP Data received {"connection_id":151321,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 20:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 20:59:46] local.INFO: Processing buffer {"connection_id":151321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 20:59:46] local.INFO: Packet analysis {"connection_id":151321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 20:59:46] local.INFO: Extracted packet for processing {"connection_id":151321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 20:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 20: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-08-05 20:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201512448001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59: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-08-05 20:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785943709000,"timestamp_ms":1785943709000,"timestamp_seconds":1785943709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28a5548"} 
[2026-08-05 20:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 20:59: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-08-05 20: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-08-05 20:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 20:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 20:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 20:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201512448001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 20:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 20:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201512448001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 20:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 20:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201512448001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 20:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":151321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:59:46] local.INFO: GPS data processed {"connection_id":151321,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:59:46] local.INFO: Acknowledgment sent {"connection_id":151321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 20:59:52] local.INFO: TCP Data received {"connection_id":149890,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:59:52] local.INFO: Processing buffer {"connection_id":149890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2867518012d77a88005f27a18001c008924..."} 
[2026-08-05 20:59:52] local.INFO: Packet analysis {"connection_id":149890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:59:52] local.INFO: Extracted packet for processing {"connection_id":149890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd286"} 
[2026-08-05 20:59:52] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 20:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 20:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201481216001,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455957727232,"note":"Value kept but may cause issues"} 
[2026-08-05 20:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 20:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785943455000,"timestamp_ms":1785943455000,"timestamp_seconds":1785943455,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2867518"} 
[2026-08-05 20:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 20:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 20:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 20:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 20:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 20:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 20:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 20:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 20:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 20:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 20:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 20:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 20:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201481216001,"66":25495,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8621367455957727232},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 20:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 20:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 20:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201481216001,"description":"Unknown IO ID 0"} 
[2026-08-05 20:59:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 20:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 20:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455957727232,"description":"Unknown IO ID 45"} 
[2026-08-05 20:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201481216001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455957727232}} 
[2026-08-05 20:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":149890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 20:59:52] local.INFO: GPS data processed {"connection_id":149890,"processed":1,"errors":0,"total":1} 
[2026-08-05 20:59:52] local.INFO: Acknowledgment sent {"connection_id":149890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:00:14] local.INFO: TCP Data received {"connection_id":148880,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:00:14] local.INFO: Processing buffer {"connection_id":148880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:00:14] local.INFO: IMEI packet received {"connection_id":148880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":148880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:00:14] local.INFO: TCP Data received {"connection_id":149891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:00:14] local.INFO: Processing buffer {"connection_id":149891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:00:14] local.INFO: IMEI packet received {"connection_id":149891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":149891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:00:19] local.INFO: TCP Data received {"connection_id":148880,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:00:19] local.INFO: Processing buffer {"connection_id":148880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:00:19] local.INFO: IMEI packet received {"connection_id":148880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":148880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:00:20] local.INFO: TCP Data received {"connection_id":148880,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:00:20] local.INFO: Processing buffer {"connection_id":148880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:00:20] local.INFO: Packet analysis {"connection_id":148880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:00:20] local.INFO: Extracted packet for processing {"connection_id":148880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:00:20] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201524480001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943756000,"timestamp_ms":1785943756000,"timestamp_seconds":1785943756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28b0ce0"} 
[2026-08-05 21:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21: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-08-05 21: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-08-05 21:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201524480001,"66":25397,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201524480001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:00:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201524480001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":148880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:00:20] local.INFO: GPS data processed {"connection_id":148880,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:00:20] local.INFO: Acknowledgment sent {"connection_id":148880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:00:22] local.INFO: TCP Data received {"connection_id":149891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:00:22] local.INFO: Processing buffer {"connection_id":149891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:00:22] local.INFO: IMEI packet received {"connection_id":149891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":149891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:00:23] local.INFO: TCP Data received {"connection_id":149891,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:00:23] local.INFO: Processing buffer {"connection_id":149891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:00:23] local.INFO: Packet analysis {"connection_id":149891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:00:23] local.INFO: Extracted packet for processing {"connection_id":149891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201512448001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785943709000,"timestamp_ms":1785943709000,"timestamp_seconds":1785943709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28a5548"} 
[2026-08-05 21:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201512448001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201512448001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:00:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201512448001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":149891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:00:23] local.INFO: GPS data processed {"connection_id":149891,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:00:23] local.INFO: Acknowledgment sent {"connection_id":149891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:00:54] local.INFO: TCP Data received {"connection_id":149891,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:00:54] local.INFO: Processing buffer {"connection_id":149891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:00:54] local.INFO: Packet analysis {"connection_id":149891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:00:54] local.INFO: Extracted packet for processing {"connection_id":149891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:00:54] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201512448001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785943709000,"timestamp_ms":1785943709000,"timestamp_seconds":1785943709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28a5548"} 
[2026-08-05 21:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201512448001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201512448001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:00:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201512448001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":149891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:00:54] local.INFO: GPS data processed {"connection_id":149891,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:00:54] local.INFO: Acknowledgment sent {"connection_id":149891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:00:57] local.INFO: TCP Data received {"connection_id":148880,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:00:57] local.INFO: Processing buffer {"connection_id":148880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:00:57] local.INFO: Packet analysis {"connection_id":148880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:00:57] local.INFO: Extracted packet for processing {"connection_id":148880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:00:57] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201524480001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785943756000,"timestamp_ms":1785943756000,"timestamp_seconds":1785943756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28b0ce0"} 
[2026-08-05 21:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201524480001,"66":25397,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201524480001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:00:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201524480001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":148880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:00:57] local.INFO: GPS data processed {"connection_id":148880,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:00:57] local.INFO: Acknowledgment sent {"connection_id":148880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:01:09] local.INFO: TCP Data received {"connection_id":151322,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:01:09] local.INFO: Processing buffer {"connection_id":151322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:01:09] local.INFO: IMEI packet received {"connection_id":151322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":151322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:01:14] local.INFO: TCP Data received {"connection_id":151323,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:01:14] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:01:14] local.INFO: IMEI packet received {"connection_id":151323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":151323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:01:14] local.INFO: TCP Data received {"connection_id":151322,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:01:14] local.INFO: Processing buffer {"connection_id":151322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:01:14] local.INFO: IMEI packet received {"connection_id":151322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":151322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:01:15] local.INFO: TCP Data received {"connection_id":151322,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:01:15] local.INFO: Processing buffer {"connection_id":151322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:01:15] local.INFO: Packet analysis {"connection_id":151322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:01:15] local.INFO: Extracted packet for processing {"connection_id":151322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201512448001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785943709000,"timestamp_ms":1785943709000,"timestamp_seconds":1785943709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28a5548"} 
[2026-08-05 21:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:01: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-08-05 21:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201512448001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"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-08-05 21:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201512448001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:01:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201512448001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":151322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:01:15] local.INFO: GPS data processed {"connection_id":151322,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:01:15] local.INFO: Acknowledgment sent {"connection_id":151322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:01:19] local.INFO: TCP Data received {"connection_id":151323,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:01:19] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:01:19] local.INFO: IMEI packet received {"connection_id":151323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":151323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:01:20] local.INFO: TCP Data received {"connection_id":151323,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:01:20] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:01:20] local.INFO: Packet analysis {"connection_id":151323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:01:20] local.INFO: Extracted packet for processing {"connection_id":151323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:01:20] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201524480001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943756000,"timestamp_ms":1785943756000,"timestamp_seconds":1785943756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28b0ce0"} 
[2026-08-05 21:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:01: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-08-05 21:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201524480001,"66":25397,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201524480001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:01:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201524480001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":151323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:01:20] local.INFO: GPS data processed {"connection_id":151323,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:01:20] local.INFO: Acknowledgment sent {"connection_id":151323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:01:46] local.INFO: TCP Data received {"connection_id":151322,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:01:46] local.INFO: Processing buffer {"connection_id":151322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:01:46] local.INFO: Packet analysis {"connection_id":151322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:01:46] local.INFO: Extracted packet for processing {"connection_id":151322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201512448001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01: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-08-05 21:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785943709000,"timestamp_ms":1785943709000,"timestamp_seconds":1785943709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28a5548"} 
[2026-08-05 21:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:01: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-08-05 21:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:01: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-08-05 21:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201512448001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"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-08-05 21:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201512448001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:01:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201512448001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":151322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:01:46] local.INFO: GPS data processed {"connection_id":151322,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:01:46] local.INFO: Acknowledgment sent {"connection_id":151322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:01:52] local.INFO: TCP Data received {"connection_id":151323,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:01:52] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:01:52] local.INFO: Packet analysis {"connection_id":151323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:01:52] local.INFO: Extracted packet for processing {"connection_id":151323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:01:52] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201524480001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785943756000,"timestamp_ms":1785943756000,"timestamp_seconds":1785943756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28b0ce0"} 
[2026-08-05 21:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201524480001,"66":25397,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201524480001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:01:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201524480001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":151323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:01:52] local.INFO: GPS data processed {"connection_id":151323,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:01:52] local.INFO: Acknowledgment sent {"connection_id":151323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:02:09] local.INFO: TCP Data received {"connection_id":148881,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:02:09] local.INFO: Processing buffer {"connection_id":148881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:02:09] local.INFO: IMEI packet received {"connection_id":148881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":148881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:02:14] local.INFO: TCP Data received {"connection_id":148881,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:02:14] local.INFO: Processing buffer {"connection_id":148881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:02:14] local.INFO: IMEI packet received {"connection_id":148881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":148881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:02:15] local.INFO: TCP Data received {"connection_id":148881,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:02:15] local.INFO: Processing buffer {"connection_id":148881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:02:15] local.INFO: Packet analysis {"connection_id":148881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:02:15] local.INFO: Extracted packet for processing {"connection_id":148881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201512448001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785943709000,"timestamp_ms":1785943709000,"timestamp_seconds":1785943709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28a5548"} 
[2026-08-05 21:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201512448001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201512448001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:02:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201512448001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":148881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:02:15] local.INFO: GPS data processed {"connection_id":148881,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:02:15] local.INFO: Acknowledgment sent {"connection_id":148881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:02:19] local.INFO: TCP Data received {"connection_id":151324,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:02:19] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:02:19] local.INFO: IMEI packet received {"connection_id":151324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":151324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:02:24] local.INFO: TCP Data received {"connection_id":151324,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:02:24] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:02:24] local.INFO: IMEI packet received {"connection_id":151324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":151324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:02:25] local.INFO: TCP Data received {"connection_id":151324,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:02:25] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:02:25] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:02:25] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:02:25] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201524480001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785943756000,"timestamp_ms":1785943756000,"timestamp_seconds":1785943756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28b0ce0"} 
[2026-08-05 21:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201524480001,"66":25397,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201524480001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:02:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201524480001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:02:25] local.INFO: GPS data processed {"connection_id":151324,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:02:25] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:02:30] local.INFO: TCP Data received {"connection_id":151324,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:02:30] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:02:30] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:02:30] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:02:30] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201524480001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785943756000,"timestamp_ms":1785943756000,"timestamp_seconds":1785943756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28b0ce0"} 
[2026-08-05 21:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201524480001,"66":25397,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201524480001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:02:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201524480001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:02:30] local.INFO: GPS data processed {"connection_id":151324,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:02:30] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:02:46] local.INFO: TCP Data received {"connection_id":148881,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:02:46] local.INFO: Processing buffer {"connection_id":148881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:02:46] local.INFO: Packet analysis {"connection_id":148881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:02:46] local.INFO: Extracted packet for processing {"connection_id":148881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201512448001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:02: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-08-05 21:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785943709000,"timestamp_ms":1785943709000,"timestamp_seconds":1785943709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28a5548"} 
[2026-08-05 21:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:02: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-08-05 21: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-08-05 21:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201512448001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201512448001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:02:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201512448001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":148881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:02:46] local.INFO: GPS data processed {"connection_id":148881,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:02:46] local.INFO: Acknowledgment sent {"connection_id":148881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:03:10] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:03:10] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:03:10] local.INFO: IMEI packet received {"connection_id":148668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":148668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:03:14] local.INFO: TCP Data received {"connection_id":149892,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:03:14] local.INFO: Processing buffer {"connection_id":149892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:03:14] local.INFO: IMEI packet received {"connection_id":149892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":149892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:03:14] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:03:14] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:03:14] local.INFO: IMEI packet received {"connection_id":148668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":148668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:03:15] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:03:15] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:03:15] local.INFO: Packet analysis {"connection_id":148668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:03:15] local.INFO: Extracted packet for processing {"connection_id":148668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201512448001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785943709000,"timestamp_ms":1785943709000,"timestamp_seconds":1785943709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28a5548"} 
[2026-08-05 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-08-05 21:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201512448001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201512448001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:03:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201512448001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":148668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:03:15] local.INFO: GPS data processed {"connection_id":148668,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:03:15] local.INFO: Acknowledgment sent {"connection_id":148668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:03:19] local.INFO: TCP Data received {"connection_id":149892,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:03:19] local.INFO: Processing buffer {"connection_id":149892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:03:19] local.INFO: IMEI packet received {"connection_id":149892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":149892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:03:20] local.INFO: TCP Data received {"connection_id":149892,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:03:20] local.INFO: Processing buffer {"connection_id":149892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:03:20] local.INFO: Packet analysis {"connection_id":149892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:03:20] local.INFO: Extracted packet for processing {"connection_id":149892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:03:20] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201524480001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943756000,"timestamp_ms":1785943756000,"timestamp_seconds":1785943756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28b0ce0"} 
[2026-08-05 21:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:03: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-08-05 21:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201524480001,"66":25397,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201524480001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:03:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201524480001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":149892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:03:20] local.INFO: GPS data processed {"connection_id":149892,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:03:20] local.INFO: Acknowledgment sent {"connection_id":149892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:03:46] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:03:46] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28a5548012d196840071fef08003f010928..."} 
[2026-08-05 21:03:46] local.INFO: Packet analysis {"connection_id":148668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:03:46] local.INFO: Extracted packet for processing {"connection_id":148668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28a"} 
[2026-08-05 21:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201512448001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03: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-08-05 21:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785943709000,"timestamp_ms":1785943709000,"timestamp_seconds":1785943709,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28a5548"} 
[2026-08-05 21:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:03: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-08-05 21:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201512448001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201512448001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:03:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201512448001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":148668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:03:46] local.INFO: GPS data processed {"connection_id":148668,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:03:46] local.INFO: Acknowledgment sent {"connection_id":148668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:03:52] local.INFO: TCP Data received {"connection_id":149892,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:03:52] local.INFO: Processing buffer {"connection_id":149892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:03:52] local.INFO: Packet analysis {"connection_id":149892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:03:52] local.INFO: Extracted packet for processing {"connection_id":149892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:03:52] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201524480001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785943756000,"timestamp_ms":1785943756000,"timestamp_seconds":1785943756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28b0ce0"} 
[2026-08-05 21:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201524480001,"66":25397,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201524480001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:03:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201524480001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":149892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:03:52] local.INFO: GPS data processed {"connection_id":149892,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:03:52] local.INFO: Acknowledgment sent {"connection_id":149892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:04:08] local.INFO: TCP Data received {"connection_id":151325,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:04:08] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:04:08] local.INFO: IMEI packet received {"connection_id":151325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":151325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:04:09] local.INFO: TCP Data received {"connection_id":151325,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:04:09] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:04:09] local.INFO: IMEI packet received {"connection_id":151325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":151325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:04:14] local.INFO: TCP Data received {"connection_id":151326,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:04:14] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:04:14] local.INFO: IMEI packet received {"connection_id":151326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":151326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:04:14] local.INFO: TCP Data received {"connection_id":151325,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:04:14] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:04:14] local.INFO: IMEI packet received {"connection_id":151325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":151325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:04:15] local.INFO: TCP Data received {"connection_id":151325,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:04:15] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:04:15] local.INFO: Packet analysis {"connection_id":151325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:04:15] local.INFO: Extracted packet for processing {"connection_id":151325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201589504001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944010000,"timestamp_ms":1785944010000,"timestamp_seconds":1785944010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28eed10"} 
[2026-08-05 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-08-05 21:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201589504001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201589504001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:04:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201589504001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":151325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:04:15] local.INFO: GPS data processed {"connection_id":151325,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:04:15] local.INFO: Acknowledgment sent {"connection_id":151325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:04:19] local.INFO: TCP Data received {"connection_id":151326,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:04:19] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:04:19] local.INFO: IMEI packet received {"connection_id":151326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":151326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:04:20] local.INFO: TCP Data received {"connection_id":151326,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:04:20] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:04:20] local.INFO: Packet analysis {"connection_id":151326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:04:20] local.INFO: Extracted packet for processing {"connection_id":151326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:04:20] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201524480001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785943756000,"timestamp_ms":1785943756000,"timestamp_seconds":1785943756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28b0ce0"} 
[2026-08-05 21:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:04: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-08-05 21:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201524480001,"66":25397,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201524480001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:04:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201524480001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":151326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:04:20] local.INFO: GPS data processed {"connection_id":151326,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:04:20] local.INFO: Acknowledgment sent {"connection_id":151326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:04:46] local.INFO: TCP Data received {"connection_id":151325,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:04:46] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:04:46] local.INFO: Packet analysis {"connection_id":151325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:04:46] local.INFO: Extracted packet for processing {"connection_id":151325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201589504001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04: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-08-05 21:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944010000,"timestamp_ms":1785944010000,"timestamp_seconds":1785944010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28eed10"} 
[2026-08-05 21:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:04: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-08-05 21:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201589504001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201589504001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:04:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201589504001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":151325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:04:46] local.INFO: GPS data processed {"connection_id":151325,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:04:46] local.INFO: Acknowledgment sent {"connection_id":151325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:04:52] local.INFO: TCP Data received {"connection_id":151326,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:04:52] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28b0ce0012d77aa0005f27a00001c008925..."} 
[2026-08-05 21:04:52] local.INFO: Packet analysis {"connection_id":151326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:04:52] local.INFO: Extracted packet for processing {"connection_id":151326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28b"} 
[2026-08-05 21:04:52] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201524480001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785943756000,"timestamp_ms":1785943756000,"timestamp_seconds":1785943756,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28b0ce0"} 
[2026-08-05 21:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201524480001,"66":25397,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201524480001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:04:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201524480001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":151326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:04:52] local.INFO: GPS data processed {"connection_id":151326,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:04:52] local.INFO: Acknowledgment sent {"connection_id":151326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:05:14] local.INFO: TCP Data received {"connection_id":148882,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:05:14] local.INFO: Processing buffer {"connection_id":148882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:05:14] local.INFO: IMEI packet received {"connection_id":148882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":148882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:05:14] local.INFO: TCP Data received {"connection_id":149893,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:05:14] local.INFO: Processing buffer {"connection_id":149893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:05:14] local.INFO: IMEI packet received {"connection_id":149893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":149893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:05:19] local.INFO: TCP Data received {"connection_id":148882,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:05:19] local.INFO: Processing buffer {"connection_id":148882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:05:19] local.INFO: IMEI packet received {"connection_id":148882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":148882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:05:19] local.INFO: TCP Data received {"connection_id":149893,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:05:19] local.INFO: Processing buffer {"connection_id":149893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:05:19] local.INFO: IMEI packet received {"connection_id":149893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":149893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:05:20] local.INFO: TCP Data received {"connection_id":149893,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:05:20] local.INFO: Processing buffer {"connection_id":149893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:05:20] local.INFO: Packet analysis {"connection_id":149893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:05:20] local.INFO: Extracted packet for processing {"connection_id":149893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201589504001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944010000,"timestamp_ms":1785944010000,"timestamp_seconds":1785944010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28eed10"} 
[2026-08-05 21:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201589504001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201589504001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:05:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201589504001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":149893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:05:20] local.INFO: GPS data processed {"connection_id":149893,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:05:20] local.INFO: Acknowledgment sent {"connection_id":149893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:05:20] local.INFO: TCP Data received {"connection_id":148882,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28fa4a8012d77aa0005f27a00001c008921..."} 
[2026-08-05 21:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28fa4a8012d77aa0005f27a00001c008921..."} 
[2026-08-05 21:05:20] local.INFO: Processing buffer {"connection_id":148882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28fa4a8012d77aa0005f27a00001c008921..."} 
[2026-08-05 21:05:20] local.INFO: Packet analysis {"connection_id":148882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28f"} 
[2026-08-05 21:05:20] local.INFO: Extracted packet for processing {"connection_id":148882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28f"} 
[2026-08-05 21:05:20] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":33,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201601536001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097154048,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944057000,"timestamp_ms":1785944057000,"timestamp_seconds":1785944057,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28fa4a8"} 
[2026-08-05 21:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:05: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-08-05 21: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 21:05: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-08-05 21:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201601536001,"66":25375,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622704462097154048},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201601536001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:05:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097154048,"description":"Unknown IO ID 45"} 
[2026-08-05 21:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201601536001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462097154048}} 
[2026-08-05 21:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":148882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:05:20] local.INFO: GPS data processed {"connection_id":148882,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:05:20] local.INFO: Acknowledgment sent {"connection_id":148882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:05:24] local.INFO: TCP Data received {"connection_id":149893,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:05:24] local.INFO: Processing buffer {"connection_id":149893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:05:24] local.INFO: Packet analysis {"connection_id":149893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:05:24] local.INFO: Extracted packet for processing {"connection_id":149893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201589504001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785944010000,"timestamp_ms":1785944010000,"timestamp_seconds":1785944010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28eed10"} 
[2026-08-05 21:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201589504001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201589504001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:05:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:05:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201589504001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":149893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:05:25] local.INFO: GPS data processed {"connection_id":149893,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:05:25] local.INFO: Acknowledgment sent {"connection_id":149893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:05:25] local.INFO: TCP Data received {"connection_id":148882,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28fa4a8012d77aa0005f27a00001c008921..."} 
[2026-08-05 21:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28fa4a8012d77aa0005f27a00001c008921..."} 
[2026-08-05 21:05:25] local.INFO: Processing buffer {"connection_id":148882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28fa4a8012d77aa0005f27a00001c008921..."} 
[2026-08-05 21:05:25] local.INFO: Packet analysis {"connection_id":148882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28f"} 
[2026-08-05 21:05:25] local.INFO: Extracted packet for processing {"connection_id":148882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28f"} 
[2026-08-05 21:05:25] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":33,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201601536001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097154048,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785944057000,"timestamp_ms":1785944057000,"timestamp_seconds":1785944057,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28fa4a8"} 
[2026-08-05 21:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 21:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201601536001,"66":25375,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622704462097154048},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201601536001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:05:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097154048,"description":"Unknown IO ID 45"} 
[2026-08-05 21:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201601536001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462097154048}} 
[2026-08-05 21:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":148882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:05:25] local.INFO: GPS data processed {"connection_id":148882,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:05:25] local.INFO: Acknowledgment sent {"connection_id":148882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:05:56] local.INFO: TCP Data received {"connection_id":148882,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2903148012d77aa0005f27a00001c008926..."} 
[2026-08-05 21:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2903148012d77aa0005f27a00001c008926..."} 
[2026-08-05 21:05:56] local.INFO: Processing buffer {"connection_id":148882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2903148012d77aa0005f27a00001c008926..."} 
[2026-08-05 21:05:56] local.INFO: Packet analysis {"connection_id":148882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd290"} 
[2026-08-05 21:05:56] local.INFO: Extracted packet for processing {"connection_id":148882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd290"} 
[2026-08-05 21:05:56] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99777024,"longitude_deg":76.2817024,"latitude_deg":9.9777024,"altitude":28,"angle":137,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201678592001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097154048,"note":"Value kept but may cause issues"} 
[2026-08-05 21:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785944093000,"timestamp_ms":1785944093000,"timestamp_seconds":1785944093,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2903148"} 
[2026-08-05 21:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 21:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201678592001,"66":25462,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622704462097154048},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201678592001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:05:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097154048,"description":"Unknown IO ID 45"} 
[2026-08-05 21:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201678592001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462097154048}} 
[2026-08-05 21:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":148882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:05:56] local.INFO: GPS data processed {"connection_id":148882,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:05:56] local.INFO: Acknowledgment sent {"connection_id":148882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:06:09] local.INFO: TCP Data received {"connection_id":148883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:06:09] local.INFO: Processing buffer {"connection_id":148883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:06:09] local.INFO: IMEI packet received {"connection_id":148883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":148883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:06:14] local.INFO: TCP Data received {"connection_id":148669,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:06:14] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:06:14] local.INFO: IMEI packet received {"connection_id":148669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":148669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:06:14] local.INFO: TCP Data received {"connection_id":148883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:06:14] local.INFO: Processing buffer {"connection_id":148883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:06:14] local.INFO: IMEI packet received {"connection_id":148883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":148883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:06:15] local.INFO: TCP Data received {"connection_id":148883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:06:15] local.INFO: Processing buffer {"connection_id":148883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:06:15] local.INFO: Packet analysis {"connection_id":148883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:06:15] local.INFO: Extracted packet for processing {"connection_id":148883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201589504001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944010000,"timestamp_ms":1785944010000,"timestamp_seconds":1785944010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28eed10"} 
[2026-08-05 21:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201589504001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201589504001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:06:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201589504001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":148883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:06:15] local.INFO: GPS data processed {"connection_id":148883,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:06:15] local.INFO: Acknowledgment sent {"connection_id":148883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:06:16] local.INFO: TCP Data received {"connection_id":148669,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:06:16] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:06:16] local.INFO: IMEI packet received {"connection_id":148669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":148669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:06:22] local.INFO: TCP Data received {"connection_id":148669,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:06:22] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:06:22] local.INFO: IMEI packet received {"connection_id":148669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":148669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:06:32] local.INFO: TCP Data received {"connection_id":148669,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2908f08012d77a88005f27a18001c008924..."} 
[2026-08-05 21:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2908f08012d77a88005f27a18001c008924..."} 
[2026-08-05 21:06:32] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2908f08012d77a88005f27a18001c008924..."} 
[2026-08-05 21:06:32] local.INFO: Packet analysis {"connection_id":148669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd290"} 
[2026-08-05 21:06:32] local.INFO: Extracted packet for processing {"connection_id":148669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd290"} 
[2026-08-05 21:06:32] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 21:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201687808001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462097154048,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785944117000,"timestamp_ms":1785944117000,"timestamp_seconds":1785944117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2908f08"} 
[2026-08-05 21:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201687808001,"66":27843,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622704462097154048},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201687808001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:06:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462097154048,"description":"Unknown IO ID 45"} 
[2026-08-05 21:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201687808001,"power":27843,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462097154048}} 
[2026-08-05 21:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":148669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:06:32] local.INFO: GPS data processed {"connection_id":148669,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:06:32] local.INFO: Acknowledgment sent {"connection_id":148669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:06:33] local.INFO: TCP Data received {"connection_id":148669,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd290e110012d77a88005f27a18001c008924..."} 
[2026-08-05 21:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd290e110012d77a88005f27a18001c008924..."} 
[2026-08-05 21:06:33] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd290e110012d77a88005f27a18001c008924..."} 
[2026-08-05 21:06:33] local.INFO: Packet analysis {"connection_id":148669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd290"} 
[2026-08-05 21:06:33] local.INFO: Extracted packet for processing {"connection_id":148669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd290"} 
[2026-08-05 21:06:33] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 21:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201693952001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785944138000,"timestamp_ms":1785944138000,"timestamp_seconds":1785944138,"priority":1,"record_length":96,"hex_timestamp":"0000019fd290e110"} 
[2026-08-05 21:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-05 21:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201693952001,"66":27626,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201693952001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:06:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201693952001,"power":27626,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":148669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:06:33] local.INFO: GPS data processed {"connection_id":148669,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:06:33] local.INFO: Acknowledgment sent {"connection_id":148669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:06:46] local.INFO: TCP Data received {"connection_id":148883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:06:46] local.INFO: Processing buffer {"connection_id":148883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:06:46] local.INFO: Packet analysis {"connection_id":148883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:06:46] local.INFO: Extracted packet for processing {"connection_id":148883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201589504001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:06: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-08-05 21:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944010000,"timestamp_ms":1785944010000,"timestamp_seconds":1785944010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28eed10"} 
[2026-08-05 21:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:06: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-08-05 21: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-08-05 21:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201589504001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201589504001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:06:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201589504001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":148883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:06:46] local.INFO: GPS data processed {"connection_id":148883,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:06:46] local.INFO: Acknowledgment sent {"connection_id":148883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:07:09] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:07:09] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:07:09] local.INFO: IMEI packet received {"connection_id":148670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":148670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:07:14] local.INFO: TCP Data received {"connection_id":148884,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:07:14] local.INFO: Processing buffer {"connection_id":148884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:07:14] local.INFO: IMEI packet received {"connection_id":148884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":148884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:07:14] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:07:14] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:07:14] local.INFO: IMEI packet received {"connection_id":148670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":148670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:07:15] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:07:15] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:07:15] local.INFO: Packet analysis {"connection_id":148670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:07:15] local.INFO: Extracted packet for processing {"connection_id":148670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201589504001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944010000,"timestamp_ms":1785944010000,"timestamp_seconds":1785944010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28eed10"} 
[2026-08-05 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-08-05 21:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201589504001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201589504001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:07:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201589504001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":148670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:07:15] local.INFO: GPS data processed {"connection_id":148670,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:07:15] local.INFO: Acknowledgment sent {"connection_id":148670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:07:19] local.INFO: TCP Data received {"connection_id":148884,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:07:19] local.INFO: Processing buffer {"connection_id":148884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:07:19] local.INFO: IMEI packet received {"connection_id":148884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":148884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:07:20] local.INFO: TCP Data received {"connection_id":148884,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2913318012d77a88005f27a18001c008923..."} 
[2026-08-05 21:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2913318012d77a88005f27a18001c008923..."} 
[2026-08-05 21:07:20] local.INFO: Processing buffer {"connection_id":148884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2913318012d77a88005f27a18001c008923..."} 
[2026-08-05 21:07:20] local.INFO: Packet analysis {"connection_id":148884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd291"} 
[2026-08-05 21:07:20] local.INFO: Extracted packet for processing {"connection_id":148884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd291"} 
[2026-08-05 21:07:20] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":35,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 21:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201699328001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944159000,"timestamp_ms":1785944159000,"timestamp_seconds":1785944159,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2913318"} 
[2026-08-05 21:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-05 21:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201699328001,"66":27245,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201699328001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:07:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201699328001,"power":27245,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":148884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:07:20] local.INFO: GPS data processed {"connection_id":148884,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:07:20] local.INFO: Acknowledgment sent {"connection_id":148884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:07:46] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:07:46] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:07:46] local.INFO: Packet analysis {"connection_id":148670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:07:46] local.INFO: Extracted packet for processing {"connection_id":148670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201589504001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07: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-08-05 21:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944010000,"timestamp_ms":1785944010000,"timestamp_seconds":1785944010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28eed10"} 
[2026-08-05 21:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:07: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-08-05 21: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-08-05 21:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201589504001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201589504001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:07:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201589504001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":148670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:07:46] local.INFO: GPS data processed {"connection_id":148670,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:07:46] local.INFO: Acknowledgment sent {"connection_id":148670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:07:52] local.INFO: TCP Data received {"connection_id":148884,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2918520012d77a88005f27a18001c008924..."} 
[2026-08-05 21:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2918520012d77a88005f27a18001c008924..."} 
[2026-08-05 21:07:52] local.INFO: Processing buffer {"connection_id":148884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2918520012d77a88005f27a18001c008924..."} 
[2026-08-05 21:07:52] local.INFO: Packet analysis {"connection_id":148884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd291"} 
[2026-08-05 21:07:52] local.INFO: Extracted packet for processing {"connection_id":148884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd291"} 
[2026-08-05 21:07:52] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 21:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201704704001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785944180000,"timestamp_ms":1785944180000,"timestamp_seconds":1785944180,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2918520"} 
[2026-08-05 21:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-05 21:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201704704001,"66":27626,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201704704001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:07:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201704704001,"power":27626,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":148884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:07:52] local.INFO: GPS data processed {"connection_id":148884,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:07:52] local.INFO: Acknowledgment sent {"connection_id":148884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:08:09] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:08:09] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:08:09] local.INFO: IMEI packet received {"connection_id":151327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":151327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:08:14] local.INFO: TCP Data received {"connection_id":151328,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:08:14] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:08:14] local.INFO: IMEI packet received {"connection_id":151328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":151328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:08:14] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:08:14] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:08:14] local.INFO: IMEI packet received {"connection_id":151327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":151327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:08:15] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:08:15] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:08:15] local.INFO: Packet analysis {"connection_id":151327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:08:15] local.INFO: Extracted packet for processing {"connection_id":151327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201589504001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944010000,"timestamp_ms":1785944010000,"timestamp_seconds":1785944010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28eed10"} 
[2026-08-05 21:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201589504001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201589504001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:08:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201589504001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":151327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:08:15] local.INFO: GPS data processed {"connection_id":151327,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:08:15] local.INFO: Acknowledgment sent {"connection_id":151327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:08:20] local.INFO: TCP Data received {"connection_id":151328,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:08:20] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:08:20] local.INFO: IMEI packet received {"connection_id":151328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":151328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:08:33] local.INFO: TCP Data received {"connection_id":151328,"ip":"117.224.45.48","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 21:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 21:08:33] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-05 21:08:33] local.INFO: IMEI packet received {"connection_id":151328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":151328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:08:34] local.INFO: TCP Data received {"connection_id":151328,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd291d728012d77a88005f27a18001c008922..."} 
[2026-08-05 21:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd291d728012d77a88005f27a18001c008922..."} 
[2026-08-05 21:08:34] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fd2..."} 
[2026-08-05 21:08:34] local.INFO: IMEI packet received {"connection_id":151328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":151328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:08:35] local.INFO: TCP Data received {"connection_id":151328,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2922930012d77a88005f27a18001c008924..."} 
[2026-08-05 21:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2922930012d77a88005f27a18001c008924..."} 
[2026-08-05 21:08:35] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd291d728012d77a88005f27a18001c008922..."} 
[2026-08-05 21:08:35] local.INFO: Packet analysis {"connection_id":151328,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd291"} 
[2026-08-05 21:08:35] local.INFO: Extracted packet for processing {"connection_id":151328,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd291"} 
[2026-08-05 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":34,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201710080001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785944201000,"timestamp_ms":1785944201000,"timestamp_seconds":1785944201,"priority":1,"record_length":96,"hex_timestamp":"0000019fd291d728"} 
[2026-08-05 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-08-05 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-05 21:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201710080001,"66":27365,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201710080001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:08:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201710080001,"power":27365,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":151328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:08:35] local.INFO: GPS data processed {"connection_id":151328,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:08:35] local.INFO: Acknowledgment sent {"connection_id":151328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:08:35] local.INFO: Packet analysis {"connection_id":151328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd292"} 
[2026-08-05 21:08:35] local.INFO: Extracted packet for processing {"connection_id":151328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd292"} 
[2026-08-05 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777048,"longitude_deg":76.281664,"latitude_deg":9.9777048,"altitude":28,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d77a880","hex_latitude":"05f27a18","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201715456001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716193734000640,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785944222000,"timestamp_ms":1785944222000,"timestamp_seconds":1785944222,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2922930"} 
[2026-08-05 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-08-05 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-05 21:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201715456001,"66":27321,"2":206,"9":24832,"24":0,"16":370716193734000640,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201715456001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:08:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716193734000640,"km_value":370716193734000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201715456001,"power":27321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":151328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:08:35] local.INFO: GPS data processed {"connection_id":151328,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:08:35] local.INFO: Acknowledgment sent {"connection_id":151328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:08:46] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:08:46] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd28eed10012d196840071fef08003f010927..."} 
[2026-08-05 21:08:46] local.INFO: Packet analysis {"connection_id":151327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:08:46] local.INFO: Extracted packet for processing {"connection_id":151327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd28e"} 
[2026-08-05 21:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201589504001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:08: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-08-05 21:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944010000,"timestamp_ms":1785944010000,"timestamp_seconds":1785944010,"priority":1,"record_length":96,"hex_timestamp":"0000019fd28eed10"} 
[2026-08-05 21:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:08: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-08-05 21:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201589504001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201589504001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:08:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201589504001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":151327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:08:46] local.INFO: GPS data processed {"connection_id":151327,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:08:46] local.INFO: Acknowledgment sent {"connection_id":151327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:09:09] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:09:09] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:09:09] local.INFO: IMEI packet received {"connection_id":151329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":151329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:09:10] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:09:10] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:09:10] local.INFO: IMEI packet received {"connection_id":151329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":151329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:09:14] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:09:14] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:09:14] local.INFO: IMEI packet received {"connection_id":151329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":151329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:09:15] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:09:15] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:09:15] local.INFO: Packet analysis {"connection_id":151329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:09:15] local.INFO: Extracted packet for processing {"connection_id":151329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201666560001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944311000,"timestamp_ms":1785944311000,"timestamp_seconds":1785944311,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29384d8"} 
[2026-08-05 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-08-05 21:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201666560001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201666560001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:09:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201666560001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":151329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:09:15] local.INFO: GPS data processed {"connection_id":151329,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:09:15] local.INFO: Acknowledgment sent {"connection_id":151329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:09:17] local.INFO: TCP Data received {"connection_id":148885,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:09:17] local.INFO: Processing buffer {"connection_id":148885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:09:17] local.INFO: IMEI packet received {"connection_id":148885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":148885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:09:19] local.INFO: TCP Data received {"connection_id":148885,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:09:19] local.INFO: Processing buffer {"connection_id":148885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:09:19] local.INFO: IMEI packet received {"connection_id":148885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":148885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:09:24] local.INFO: TCP Data received {"connection_id":148885,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:09:24] local.INFO: Processing buffer {"connection_id":148885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:09:24] local.INFO: IMEI packet received {"connection_id":148885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":148885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:09:24] local.INFO: TCP Data received {"connection_id":148885,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2925fe0012d77a80005f27a00000e002924..."} 
[2026-08-05 21:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2925fe0012d77a80005f27a00000e002924..."} 
[2026-08-05 21:09:25] local.INFO: Processing buffer {"connection_id":148885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2925fe0012d77a80005f27a00000e002924..."} 
[2026-08-05 21:09:25] local.INFO: Packet analysis {"connection_id":148885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd292"} 
[2026-08-05 21:09:25] local.INFO: Extracted packet for processing {"connection_id":148885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd292"} 
[2026-08-05 21:09:25] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99777024,"longitude_deg":76.2816512,"latitude_deg":9.9777024,"altitude":14,"angle":41,"satellites":36,"speed":1,"hex_longitude":"2d77a800","hex_latitude":"05f27a00","is_valid_coordinates":true} 
[2026-08-05 21:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201720832001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716198028967936,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632094208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785944236000,"timestamp_ms":1785944236000,"timestamp_seconds":1785944236,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2925fe0"} 
[2026-08-05 21:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-05 21:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201720832001,"66":27517,"2":206,"9":24832,"24":1,"16":370716198028967936,"45":8622282249632094208},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201720832001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:09:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716198028967936,"km_value":370716198028967.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632094208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201720832001,"power":27517,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8622282249632094208}} 
[2026-08-05 21:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":148885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:09:25] local.INFO: GPS data processed {"connection_id":148885,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:09:25] local.INFO: Acknowledgment sent {"connection_id":148885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:09:29] local.INFO: TCP Data received {"connection_id":148885,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29263c8012d77a80005f27a30000d001124..."} 
[2026-08-05 21:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29263c8012d77a80005f27a30000d001124..."} 
[2026-08-05 21:09:29] local.INFO: Processing buffer {"connection_id":148885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29263c8012d77a80005f27a30000d001124..."} 
[2026-08-05 21:09:29] local.INFO: Packet analysis {"connection_id":148885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd292"} 
[2026-08-05 21:09:29] local.INFO: Extracted packet for processing {"connection_id":148885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd292"} 
[2026-08-05 21:09:29] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99777072,"longitude_deg":76.2816512,"latitude_deg":9.9777072,"altitude":13,"angle":17,"satellites":36,"speed":2,"hex_longitude":"2d77a800","hex_latitude":"05f27a30","is_valid_coordinates":true} 
[2026-08-05 21:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201724416001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716202323935232,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512143732736,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785944237000,"timestamp_ms":1785944237000,"timestamp_seconds":1785944237,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29263c8"} 
[2026-08-05 21:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-05 21:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201724416001,"66":26984,"2":206,"9":24832,"24":2,"16":370716202323935232,"45":8622141512143732736},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201724416001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:09:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716202323935232,"km_value":370716202323935.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512143732736,"description":"Unknown IO ID 45"} 
[2026-08-05 21:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201724416001,"power":26984,"power_alt":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8622141512143732736}} 
[2026-08-05 21:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":148885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:09:29] local.INFO: GPS data processed {"connection_id":148885,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:09:29] local.INFO: Acknowledgment sent {"connection_id":148885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:09:46] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:09:46] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:09:46] local.INFO: Packet analysis {"connection_id":151329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:09:46] local.INFO: Extracted packet for processing {"connection_id":151329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201666560001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:09: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-08-05 21:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944311000,"timestamp_ms":1785944311000,"timestamp_seconds":1785944311,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29384d8"} 
[2026-08-05 21:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201666560001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201666560001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:09:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201666560001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":151329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:09:46] local.INFO: GPS data processed {"connection_id":151329,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:09:46] local.INFO: Acknowledgment sent {"connection_id":151329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:10:14] local.INFO: TCP Data received {"connection_id":149895,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:10:14] local.INFO: Processing buffer {"connection_id":149895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:10:14] local.INFO: IMEI packet received {"connection_id":149895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":149895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:10:14] local.INFO: TCP Data received {"connection_id":149894,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:10:14] local.INFO: Processing buffer {"connection_id":149894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:10:14] local.INFO: IMEI packet received {"connection_id":149894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":149894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:10:19] local.INFO: TCP Data received {"connection_id":149895,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:10:19] local.INFO: Processing buffer {"connection_id":149895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:10:19] local.INFO: IMEI packet received {"connection_id":149895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":149895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:10:19] local.INFO: TCP Data received {"connection_id":149894,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:10:19] local.INFO: Processing buffer {"connection_id":149894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:10:19] local.INFO: IMEI packet received {"connection_id":149894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":149894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:10:20] local.INFO: TCP Data received {"connection_id":149894,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:10:20] local.INFO: Processing buffer {"connection_id":149894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:10:20] local.INFO: Packet analysis {"connection_id":149894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:10:20] local.INFO: Extracted packet for processing {"connection_id":149894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201666560001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944311000,"timestamp_ms":1785944311000,"timestamp_seconds":1785944311,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29384d8"} 
[2026-08-05 21:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201666560001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201666560001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:10:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201666560001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":149894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:10:20] local.INFO: GPS data processed {"connection_id":149894,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:10:20] local.INFO: Acknowledgment sent {"connection_id":149894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:10:20] local.INFO: TCP Data received {"connection_id":149895,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29267b0012d77a80005f27a70000d000123..."} 
[2026-08-05 21:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29267b0012d77a80005f27a70000d000123..."} 
[2026-08-05 21:10:20] local.INFO: Processing buffer {"connection_id":149895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29267b0012d77a80005f27a70000d000123..."} 
[2026-08-05 21:10:20] local.INFO: Packet analysis {"connection_id":149895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd292"} 
[2026-08-05 21:10:20] local.INFO: Extracted packet for processing {"connection_id":149895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd292"} 
[2026-08-05 21:10:20] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99777136,"longitude_deg":76.2816512,"latitude_deg":9.9777136,"altitude":13,"angle":1,"satellites":35,"speed":2,"hex_longitude":"2d77a800","hex_latitude":"05f27a70","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201724672001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716206618902528,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512143745024,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944238000,"timestamp_ms":1785944238000,"timestamp_seconds":1785944238,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29267b0"} 
[2026-08-05 21:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 21:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201724672001,"66":26984,"2":206,"9":24832,"24":2,"16":370716206618902528,"45":8622141512143745024},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201724672001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:10:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716206618902528,"km_value":370716206618902.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512143745024,"description":"Unknown IO ID 45"} 
[2026-08-05 21:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201724672001,"power":26984,"power_alt":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8622141512143745024}} 
[2026-08-05 21:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":149895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:10:20] local.INFO: GPS data processed {"connection_id":149895,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:10:20] local.INFO: Acknowledgment sent {"connection_id":149895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:10:24] local.INFO: TCP Data received {"connection_id":149894,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:10:24] local.INFO: Processing buffer {"connection_id":149894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:10:24] local.INFO: Packet analysis {"connection_id":149894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:10:24] local.INFO: Extracted packet for processing {"connection_id":149894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201666560001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785944311000,"timestamp_ms":1785944311000,"timestamp_seconds":1785944311,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29384d8"} 
[2026-08-05 21:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201666560001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201666560001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:10:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201666560001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":149894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:10:25] local.INFO: GPS data processed {"connection_id":149894,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:10:25] local.INFO: Acknowledgment sent {"connection_id":149894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:10:51] local.INFO: TCP Data received {"connection_id":149895,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd292b9b8012d77a80005f27b00000e016225..."} 
[2026-08-05 21:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd292b9b8012d77a80005f27b00000e016225..."} 
[2026-08-05 21:10:51] local.INFO: Processing buffer {"connection_id":149895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd292b9b8012d77a80005f27b00000e016225..."} 
[2026-08-05 21:10:51] local.INFO: Packet analysis {"connection_id":149895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd292"} 
[2026-08-05 21:10:51] local.INFO: Extracted packet for processing {"connection_id":149895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd292"} 
[2026-08-05 21:10:51] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99777280,"longitude_deg":76.2816512,"latitude_deg":9.977728,"altitude":14,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77a800","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-08-05 21:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201724928001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716210913869824,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512143761408,"note":"Value kept but may cause issues"} 
[2026-08-05 21:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785944259000,"timestamp_ms":1785944259000,"timestamp_seconds":1785944259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd292b9b8"} 
[2026-08-05 21:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-05 21:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201724928001,"66":27365,"2":206,"9":24832,"24":0,"16":370716210913869824,"45":8622141512143761408},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201724928001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:10:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716210913869824,"km_value":370716210913869.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512143761408,"description":"Unknown IO ID 45"} 
[2026-08-05 21:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201724928001,"power":27365,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622141512143761408}} 
[2026-08-05 21:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":149895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:10:51] local.INFO: GPS data processed {"connection_id":149895,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:10:51] local.INFO: Acknowledgment sent {"connection_id":149895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:11:09] local.INFO: TCP Data received {"connection_id":151330,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:11:09] local.INFO: Processing buffer {"connection_id":151330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:11:09] local.INFO: IMEI packet received {"connection_id":151330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":151330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:11:14] local.INFO: TCP Data received {"connection_id":151330,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:11:14] local.INFO: Processing buffer {"connection_id":151330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:11:14] local.INFO: IMEI packet received {"connection_id":151330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":151330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:11:15] local.INFO: TCP Data received {"connection_id":151330,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:11:15] local.INFO: Processing buffer {"connection_id":151330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:11:15] local.INFO: Packet analysis {"connection_id":151330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:11:15] local.INFO: Extracted packet for processing {"connection_id":151330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201666560001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944311000,"timestamp_ms":1785944311000,"timestamp_seconds":1785944311,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29384d8"} 
[2026-08-05 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-08-05 21:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201666560001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201666560001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:11:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201666560001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":151330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:11:15] local.INFO: GPS data processed {"connection_id":151330,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:11:15] local.INFO: Acknowledgment sent {"connection_id":151330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:11:19] local.INFO: TCP Data received {"connection_id":148671,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:11:19] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:11:19] local.INFO: IMEI packet received {"connection_id":148671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":148671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:11:24] local.INFO: TCP Data received {"connection_id":148671,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:11:24] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:11:24] local.INFO: IMEI packet received {"connection_id":148671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":148671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:11:24] local.INFO: TCP Data received {"connection_id":148671,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29303f0012d77a80005f27e900011015225..."} 
[2026-08-05 21:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29303f0012d77a80005f27e900011015225..."} 
[2026-08-05 21:11:24] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29303f0012d77a80005f27e900011015225..."} 
[2026-08-05 21:11:24] local.INFO: Packet analysis {"connection_id":148671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:11:24] local.INFO: Extracted packet for processing {"connection_id":148671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:11:24] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99778192,"longitude_deg":76.2816512,"latitude_deg":9.9778192,"altitude":17,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d77a800","hex_latitude":"05f27e90","is_valid_coordinates":true} 
[2026-08-05 21:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201730304001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716258158510080,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512143798272,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785944278000,"timestamp_ms":1785944278000,"timestamp_seconds":1785944278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29303f0"} 
[2026-08-05 21:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-05 21:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201730304001,"66":27213,"2":206,"9":24832,"24":0,"16":370716258158510080,"45":8622141512143798272},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201730304001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:11:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716258158510080,"km_value":370716258158510.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512143798272,"description":"Unknown IO ID 45"} 
[2026-08-05 21:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201730304001,"power":27213,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622141512143798272}} 
[2026-08-05 21:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":148671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:11:24] local.INFO: GPS data processed {"connection_id":148671,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:11:24] local.INFO: Acknowledgment sent {"connection_id":148671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:11:46] local.INFO: TCP Data received {"connection_id":151330,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:11:46] local.INFO: Processing buffer {"connection_id":151330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:11:46] local.INFO: Packet analysis {"connection_id":151330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:11:46] local.INFO: Extracted packet for processing {"connection_id":151330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201666560001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11: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-08-05 21:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944311000,"timestamp_ms":1785944311000,"timestamp_seconds":1785944311,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29384d8"} 
[2026-08-05 21:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201666560001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201666560001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:11:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201666560001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":151330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:11:46] local.INFO: GPS data processed {"connection_id":151330,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:11:46] local.INFO: Acknowledgment sent {"connection_id":151330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:11:56] local.INFO: TCP Data received {"connection_id":148671,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29307d8012d77a80005f27ee00011016225..."} 
[2026-08-05 21:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29307d8012d77a80005f27ee00011016225..."} 
[2026-08-05 21:11:56] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29307d8012d77a80005f27ee00011016225..."} 
[2026-08-05 21:11:56] local.INFO: Packet analysis {"connection_id":148671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:11:56] local.INFO: Extracted packet for processing {"connection_id":148671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:11:56] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99778272,"longitude_deg":76.2816512,"latitude_deg":9.9778272,"altitude":17,"angle":354,"satellites":37,"speed":0,"hex_longitude":"2d77a800","hex_latitude":"05f27ee0","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201735168001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716258158510080,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512144031744,"note":"Value kept but may cause issues"} 
[2026-08-05 21:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785944279000,"timestamp_ms":1785944279000,"timestamp_seconds":1785944279,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29307d8"} 
[2026-08-05 21:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-05 21:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201735168001,"66":27376,"2":206,"9":24832,"24":0,"16":370716258158510080,"45":8622141512144031744},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201735168001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:11:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716258158510080,"km_value":370716258158510.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512144031744,"description":"Unknown IO ID 45"} 
[2026-08-05 21:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201735168001,"power":27376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622141512144031744}} 
[2026-08-05 21:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":148671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:11:56] local.INFO: GPS data processed {"connection_id":148671,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:11:56] local.INFO: Acknowledgment sent {"connection_id":148671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:12:09] local.INFO: TCP Data received {"connection_id":148886,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:12:09] local.INFO: Processing buffer {"connection_id":148886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:12:09] local.INFO: IMEI packet received {"connection_id":148886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":148886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:12:14] local.INFO: TCP Data received {"connection_id":151331,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:12:14] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:12:14] local.INFO: IMEI packet received {"connection_id":151331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":151331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:12:14] local.INFO: TCP Data received {"connection_id":148886,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:12:14] local.INFO: Processing buffer {"connection_id":148886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:12:14] local.INFO: IMEI packet received {"connection_id":148886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":148886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:12:15] local.INFO: TCP Data received {"connection_id":148886,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:12:15] local.INFO: Processing buffer {"connection_id":148886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:12:15] local.INFO: Packet analysis {"connection_id":148886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:12:15] local.INFO: Extracted packet for processing {"connection_id":148886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201666560001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944311000,"timestamp_ms":1785944311000,"timestamp_seconds":1785944311,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29384d8"} 
[2026-08-05 21:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201666560001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201666560001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:12:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201666560001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":148886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:12:15] local.INFO: GPS data processed {"connection_id":148886,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:12:15] local.INFO: Acknowledgment sent {"connection_id":148886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:12:19] local.INFO: TCP Data received {"connection_id":151331,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:12:19] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:12:19] local.INFO: IMEI packet received {"connection_id":151331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":151331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:12:20] local.INFO: TCP Data received {"connection_id":151331,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29359e0012d77a6c005f29688000e016726..."} 
[2026-08-05 21:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29359e0012d77a6c005f29688000e016726..."} 
[2026-08-05 21:12:20] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29359e0012d77a6c005f29688000e016726..."} 
[2026-08-05 21:12:20] local.INFO: Packet analysis {"connection_id":151331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:12:20] local.INFO: Extracted packet for processing {"connection_id":151331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:12:20] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99784328,"longitude_deg":76.2816192,"latitude_deg":9.9784328,"altitude":14,"angle":359,"satellites":38,"speed":14,"hex_longitude":"2d77a6c0","hex_latitude":"05f29688","is_valid_coordinates":true} 
[2026-08-05 21:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201735424001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716554511253504,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512144052224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944300000,"timestamp_ms":1785944300000,"timestamp_seconds":1785944300,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29359e0"} 
[2026-08-05 21:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-05 21:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201735424001,"66":27397,"2":206,"9":24832,"24":14,"16":370716554511253504,"45":8622141512144052224},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201735424001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:12:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716554511253504,"km_value":370716554511253.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512144052224,"description":"Unknown IO ID 45"} 
[2026-08-05 21:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201735424001,"power":27397,"power_alt":206,"unknown_9":24832,"ignition":14,"odometer":null,"unknown_45":8622141512144052224}} 
[2026-08-05 21:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":151331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:12:20] local.INFO: GPS data processed {"connection_id":151331,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:12:20] local.INFO: Acknowledgment sent {"connection_id":151331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:12:46] local.INFO: TCP Data received {"connection_id":148886,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:12:46] local.INFO: Processing buffer {"connection_id":148886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:12:46] local.INFO: Packet analysis {"connection_id":148886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:12:46] local.INFO: Extracted packet for processing {"connection_id":148886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201666560001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12: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-08-05 21:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944311000,"timestamp_ms":1785944311000,"timestamp_seconds":1785944311,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29384d8"} 
[2026-08-05 21:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201666560001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201666560001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:12:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201666560001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":148886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:12:46] local.INFO: GPS data processed {"connection_id":148886,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:12:46] local.INFO: Acknowledgment sent {"connection_id":148886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:12:51] local.INFO: TCP Data received {"connection_id":151331,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2937d08012d77a5c005f2a0c8000c015925..."} 
[2026-08-05 21:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2937d08012d77a5c005f2a0c8000c015925..."} 
[2026-08-05 21:12:51] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2937d08012d77a5c005f2a0c8000c015925..."} 
[2026-08-05 21:12:51] local.INFO: Packet analysis {"connection_id":151331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:12:51] local.INFO: Extracted packet for processing {"connection_id":151331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:12:51] local.INFO: GPS Element Parsed {"raw_longitude":762815936,"raw_latitude":99786952,"longitude_deg":76.2815936,"latitude_deg":9.9786952,"altitude":12,"angle":345,"satellites":37,"speed":8,"hex_longitude":"2d77a5c0","hex_latitude":"05f2a0c8","is_valid_coordinates":true} 
[2026-08-05 21:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201740800001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716683360272384,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668424714240,"note":"Value kept but may cause issues"} 
[2026-08-05 21:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785944309000,"timestamp_ms":1785944309000,"timestamp_seconds":1785944309,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2937d08"} 
[2026-08-05 21:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-05 21:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201740800001,"66":27995,"2":206,"9":24832,"24":8,"16":370716683360272384,"45":8621789668424714240},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201740800001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:12:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716683360272384,"km_value":370716683360272.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668424714240,"description":"Unknown IO ID 45"} 
[2026-08-05 21:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201740800001,"power":27995,"power_alt":206,"unknown_9":24832,"ignition":8,"odometer":null,"unknown_45":8621789668424714240}} 
[2026-08-05 21:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":151331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:12:51] local.INFO: GPS data processed {"connection_id":151331,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:12:51] local.INFO: Acknowledgment sent {"connection_id":151331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:13:09] local.INFO: TCP Data received {"connection_id":148887,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:13:09] local.INFO: Processing buffer {"connection_id":148887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:13:09] local.INFO: IMEI packet received {"connection_id":148887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":148887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:13:14] local.INFO: TCP Data received {"connection_id":148887,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:13:14] local.INFO: Processing buffer {"connection_id":148887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:13:14] local.INFO: IMEI packet received {"connection_id":148887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":148887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:13:15] local.INFO: TCP Data received {"connection_id":148887,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:13:15] local.INFO: Processing buffer {"connection_id":148887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:13:15] local.INFO: Packet analysis {"connection_id":148887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:13:15] local.INFO: Extracted packet for processing {"connection_id":148887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201666560001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944311000,"timestamp_ms":1785944311000,"timestamp_seconds":1785944311,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29384d8"} 
[2026-08-05 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-08-05 21:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201666560001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201666560001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:13:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201666560001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":148887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:13:15] local.INFO: GPS data processed {"connection_id":148887,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:13:15] local.INFO: Acknowledgment sent {"connection_id":148887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:13:19] local.INFO: TCP Data received {"connection_id":149896,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:13:19] local.INFO: Processing buffer {"connection_id":149896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:13:19] local.INFO: IMEI packet received {"connection_id":149896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":149896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:13:24] local.INFO: TCP Data received {"connection_id":149896,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:13:24] local.INFO: Processing buffer {"connection_id":149896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:13:24] local.INFO: IMEI packet received {"connection_id":149896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":149896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:13:25] local.INFO: TCP Data received {"connection_id":149896,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29388c0012d77a4c005f2a308000a000526..."} 
[2026-08-05 21:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29388c0012d77a4c005f2a308000a000526..."} 
[2026-08-05 21:13:25] local.INFO: Processing buffer {"connection_id":149896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29388c0012d77a4c005f2a308000a000526..."} 
[2026-08-05 21:13:25] local.INFO: Packet analysis {"connection_id":149896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:13:25] local.INFO: Extracted packet for processing {"connection_id":149896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:13:25] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99787528,"longitude_deg":76.281568,"latitude_deg":9.9787528,"altitude":10,"angle":5,"satellites":38,"speed":7,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a308","is_valid_coordinates":true} 
[2026-08-05 21:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201743104001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716713425043456,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621508193448675328,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785944312000,"timestamp_ms":1785944312000,"timestamp_seconds":1785944312,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29388c0"} 
[2026-08-05 21:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-05 21:13: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-08-05 21:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201743104001,"66":27821,"2":206,"9":24832,"24":7,"16":370716713425043456,"45":8621508193448675328},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201743104001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:13:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716713425043456,"km_value":370716713425043.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621508193448675328,"description":"Unknown IO ID 45"} 
[2026-08-05 21:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201743104001,"power":27821,"power_alt":206,"unknown_9":24832,"ignition":7,"odometer":null,"unknown_45":8621508193448675328}} 
[2026-08-05 21:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":149896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:13:25] local.INFO: GPS data processed {"connection_id":149896,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:13:25] local.INFO: Acknowledgment sent {"connection_id":149896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:13:30] local.INFO: TCP Data received {"connection_id":149896,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2938ca8012d77a54005f2a3e8000a001625..."} 
[2026-08-05 21:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2938ca8012d77a54005f2a3e8000a001625..."} 
[2026-08-05 21:13:30] local.INFO: Processing buffer {"connection_id":149896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2938ca8012d77a54005f2a3e8000a001625..."} 
[2026-08-05 21:13:30] local.INFO: Packet analysis {"connection_id":149896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:13:30] local.INFO: Extracted packet for processing {"connection_id":149896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:13:30] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99787752,"longitude_deg":76.2815808,"latitude_deg":9.9787752,"altitude":10,"angle":22,"satellites":37,"speed":6,"hex_longitude":"2d77a540","hex_latitude":"05f2a3e8","is_valid_coordinates":true} 
[2026-08-05 21:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201743872001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716726309945344,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472112128,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785944313000,"timestamp_ms":1785944313000,"timestamp_seconds":1785944313,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2938ca8"} 
[2026-08-05 21:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-05 21:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201743872001,"66":27484,"2":206,"9":24832,"24":6,"16":370716726309945344,"45":8621226718472112128},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201743872001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:13:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716726309945344,"km_value":370716726309945.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472112128,"description":"Unknown IO ID 45"} 
[2026-08-05 21:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201743872001,"power":27484,"power_alt":206,"unknown_9":24832,"ignition":6,"odometer":null,"unknown_45":8621226718472112128}} 
[2026-08-05 21:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":149896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:13:30] local.INFO: GPS data processed {"connection_id":149896,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:13:30] local.INFO: Acknowledgment sent {"connection_id":149896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:13:46] local.INFO: TCP Data received {"connection_id":148887,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:13:46] local.INFO: Processing buffer {"connection_id":148887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29384d8012d196840071fef08003f010929..."} 
[2026-08-05 21:13:46] local.INFO: Packet analysis {"connection_id":148887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:13:46] local.INFO: Extracted packet for processing {"connection_id":148887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201666560001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:13: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-08-05 21:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944311000,"timestamp_ms":1785944311000,"timestamp_seconds":1785944311,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29384d8"} 
[2026-08-05 21:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201666560001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201666560001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:13:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201666560001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":148887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:13:46] local.INFO: GPS data processed {"connection_id":148887,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:13:46] local.INFO: Acknowledgment sent {"connection_id":148887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:14:09] local.INFO: TCP Data received {"connection_id":151332,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:14:09] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:14:09] local.INFO: IMEI packet received {"connection_id":151332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":151332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:14:10] local.INFO: TCP Data received {"connection_id":151332,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:14:10] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:14:10] local.INFO: IMEI packet received {"connection_id":151332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":151332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:14:14] local.INFO: TCP Data received {"connection_id":151333,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:14:14] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:14:14] local.INFO: IMEI packet received {"connection_id":151333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":151333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:14:14] local.INFO: TCP Data received {"connection_id":151332,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:14:14] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:14:14] local.INFO: IMEI packet received {"connection_id":151332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":151332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:14:15] local.INFO: TCP Data received {"connection_id":151332,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:14:15] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:14:15] local.INFO: Packet analysis {"connection_id":151332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:14:15] local.INFO: Extracted packet for processing {"connection_id":151332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201743616001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944612000,"timestamp_ms":1785944612000,"timestamp_seconds":1785944612,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2981ca0"} 
[2026-08-05 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-08-05 21:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201743616001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201743616001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:14:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201743616001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":151332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:14:15] local.INFO: GPS data processed {"connection_id":151332,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:14:15] local.INFO: Acknowledgment sent {"connection_id":151332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:14:19] local.INFO: TCP Data received {"connection_id":151333,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:14:19] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:14:19] local.INFO: IMEI packet received {"connection_id":151333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":151333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:14:20] local.INFO: TCP Data received {"connection_id":151333,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd293a418012d77a74005f2a5280009005627..."} 
[2026-08-05 21:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd293a418012d77a74005f2a5280009005627..."} 
[2026-08-05 21:14:20] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd293a418012d77a74005f2a5280009005627..."} 
[2026-08-05 21:14:20] local.INFO: Packet analysis {"connection_id":151333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:14:20] local.INFO: Extracted packet for processing {"connection_id":151333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:14:20] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788072,"longitude_deg":76.281632,"latitude_deg":9.9788072,"altitude":9,"angle":86,"satellites":39,"speed":5,"hex_longitude":"2d77a740","hex_latitude":"05f2a528","is_valid_coordinates":true} 
[2026-08-05 21:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201744128001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716760669683712,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455960524800,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944319000,"timestamp_ms":1785944319000,"timestamp_seconds":1785944319,"priority":1,"record_length":96,"hex_timestamp":"0000019fd293a418"} 
[2026-08-05 21:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 21:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201744128001,"66":27039,"2":206,"9":24832,"24":5,"16":370716760669683712,"45":8621367455960524800},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201744128001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:14:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716760669683712,"km_value":370716760669683.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455960524800,"description":"Unknown IO ID 45"} 
[2026-08-05 21:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201744128001,"power":27039,"power_alt":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621367455960524800}} 
[2026-08-05 21:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":151333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:14:20] local.INFO: GPS data processed {"connection_id":151333,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:14:20] local.INFO: Acknowledgment sent {"connection_id":151333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:14:46] local.INFO: TCP Data received {"connection_id":151332,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:14:46] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:14:46] local.INFO: Packet analysis {"connection_id":151332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:14:46] local.INFO: Extracted packet for processing {"connection_id":151332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201743616001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14: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-08-05 21:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944612000,"timestamp_ms":1785944612000,"timestamp_seconds":1785944612,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2981ca0"} 
[2026-08-05 21:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201743616001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201743616001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:14:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201743616001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":151332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:14:46] local.INFO: GPS data processed {"connection_id":151332,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:14:46] local.INFO: Acknowledgment sent {"connection_id":151332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:14:52] local.INFO: TCP Data received {"connection_id":151333,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd293f620012d77ad0005f2a7300007005325..."} 
[2026-08-05 21:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd293f620012d77ad0005f2a7300007005325..."} 
[2026-08-05 21:14:52] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd293f620012d77ad0005f2a7300007005325..."} 
[2026-08-05 21:14:52] local.INFO: Packet analysis {"connection_id":151333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:14:52] local.INFO: Extracted packet for processing {"connection_id":151333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd293"} 
[2026-08-05 21:14:52] local.INFO: GPS Element Parsed {"raw_longitude":762817792,"raw_latitude":99788592,"longitude_deg":76.2817792,"latitude_deg":9.9788592,"altitude":7,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d77ad00","hex_latitude":"05f2a730","is_valid_coordinates":true} 
[2026-08-05 21:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201745664001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716837979095040,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914028032,"note":"Value kept but may cause issues"} 
[2026-08-05 21:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785944340000,"timestamp_ms":1785944340000,"timestamp_seconds":1785944340,"priority":1,"record_length":96,"hex_timestamp":"0000019fd293f620"} 
[2026-08-05 21:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-05 21:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201745664001,"66":27865,"2":206,"9":24832,"24":0,"16":370716837979095040,"45":8621930405914028032},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201745664001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:14:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716837979095040,"km_value":370716837979095.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914028032,"description":"Unknown IO ID 45"} 
[2026-08-05 21:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201745664001,"power":27865,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405914028032}} 
[2026-08-05 21:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":151333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:14:52] local.INFO: GPS data processed {"connection_id":151333,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:14:52] local.INFO: Acknowledgment sent {"connection_id":151333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:15:09] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:15:09] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:15:09] local.INFO: IMEI packet received {"connection_id":148672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":148672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:15:14] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:15:14] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:15:14] local.INFO: IMEI packet received {"connection_id":148672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":148672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:15:15] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:15:15] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:15:15] local.INFO: Packet analysis {"connection_id":148672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:15:15] local.INFO: Extracted packet for processing {"connection_id":148672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201743616001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944612000,"timestamp_ms":1785944612000,"timestamp_seconds":1785944612,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2981ca0"} 
[2026-08-05 21:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201743616001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201743616001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:15:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201743616001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":148672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:15:15] local.INFO: GPS data processed {"connection_id":148672,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:15:15] local.INFO: Acknowledgment sent {"connection_id":148672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:15:19] local.INFO: TCP Data received {"connection_id":148888,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:15:19] local.INFO: Processing buffer {"connection_id":148888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:15:19] local.INFO: IMEI packet received {"connection_id":148888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":148888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:15:24] local.INFO: TCP Data received {"connection_id":148888,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:15:24] local.INFO: Processing buffer {"connection_id":148888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:15:24] local.INFO: IMEI packet received {"connection_id":148888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":148888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:15:25] local.INFO: TCP Data received {"connection_id":148888,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29405c0012d77ac0005f2a6d80007010425..."} 
[2026-08-05 21:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29405c0012d77ac0005f2a6d80007010425..."} 
[2026-08-05 21:15:25] local.INFO: Processing buffer {"connection_id":148888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29405c0012d77ac0005f2a6d80007010425..."} 
[2026-08-05 21:15:25] local.INFO: Packet analysis {"connection_id":148888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd294"} 
[2026-08-05 21:15:25] local.INFO: Extracted packet for processing {"connection_id":148888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd294"} 
[2026-08-05 21:15:25] local.INFO: GPS Element Parsed {"raw_longitude":762817536,"raw_latitude":99788504,"longitude_deg":76.2817536,"latitude_deg":9.9788504,"altitude":7,"angle":260,"satellites":37,"speed":1,"hex_longitude":"2d77ac00","hex_latitude":"05f2a6d8","is_valid_coordinates":true} 
[2026-08-05 21:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201751040001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716850863996928,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623548887030247424,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785944344000,"timestamp_ms":1785944344000,"timestamp_seconds":1785944344,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29405c0"} 
[2026-08-05 21:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-05 21:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201751040001,"66":27930,"2":206,"9":24832,"24":1,"16":370716850863996928,"45":8623548887030247424},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201751040001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:15:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716850863996928,"km_value":370716850863996.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623548887030247424,"description":"Unknown IO ID 45"} 
[2026-08-05 21:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201751040001,"power":27930,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8623548887030247424}} 
[2026-08-05 21:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":148888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:15:25] local.INFO: GPS data processed {"connection_id":148888,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:15:25] local.INFO: Acknowledgment sent {"connection_id":148888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:15:30] local.INFO: TCP Data received {"connection_id":148888,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29409a8012d77abc005f2a6d80007010225..."} 
[2026-08-05 21:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29409a8012d77abc005f2a6d80007010225..."} 
[2026-08-05 21:15:30] local.INFO: Processing buffer {"connection_id":148888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29409a8012d77abc005f2a6d80007010225..."} 
[2026-08-05 21:15:30] local.INFO: Packet analysis {"connection_id":148888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd294"} 
[2026-08-05 21:15:30] local.INFO: Extracted packet for processing {"connection_id":148888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd294"} 
[2026-08-05 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788504,"longitude_deg":76.2817472,"latitude_deg":9.9788504,"altitude":7,"angle":258,"satellites":37,"speed":1,"hex_longitude":"2d77abc0","hex_latitude":"05f2a6d8","is_valid_coordinates":true} 
[2026-08-05 21:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201752064001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623267412053514240,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785944345000,"timestamp_ms":1785944345000,"timestamp_seconds":1785944345,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29409a8"} 
[2026-08-05 21:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-05 21: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-05 21:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201752064001,"66":27658,"2":206,"9":24832,"24":1,"16":370716855158964224,"45":8623267412053514240},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201752064001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:15:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623267412053514240,"description":"Unknown IO ID 45"} 
[2026-08-05 21:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201752064001,"power":27658,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8623267412053514240}} 
[2026-08-05 21:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":148888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:15:30] local.INFO: GPS data processed {"connection_id":148888,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:15:30] local.INFO: Acknowledgment sent {"connection_id":148888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:15:46] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:15:46] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:15:46] local.INFO: Packet analysis {"connection_id":148672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:15:46] local.INFO: Extracted packet for processing {"connection_id":148672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201743616001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:15: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-08-05 21:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944612000,"timestamp_ms":1785944612000,"timestamp_seconds":1785944612,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2981ca0"} 
[2026-08-05 21:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201743616001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201743616001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:15:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201743616001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":148672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:15:46] local.INFO: GPS data processed {"connection_id":148672,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:15:46] local.INFO: Acknowledgment sent {"connection_id":148672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:16:09] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:16:09] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:16:09] local.INFO: IMEI packet received {"connection_id":148673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":148673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:16:14] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:16:14] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:16:14] local.INFO: IMEI packet received {"connection_id":148673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":148673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:16:14] local.INFO: TCP Data received {"connection_id":148674,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:16:14] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:16:14] local.INFO: IMEI packet received {"connection_id":148674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":148674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:16:15] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:16:15] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:16:15] local.INFO: Packet analysis {"connection_id":148673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:16:15] local.INFO: Extracted packet for processing {"connection_id":148673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201743616001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944612000,"timestamp_ms":1785944612000,"timestamp_seconds":1785944612,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2981ca0"} 
[2026-08-05 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-08-05 21:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201743616001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201743616001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:16:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201743616001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":148673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:16:15] local.INFO: GPS data processed {"connection_id":148673,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:16:15] local.INFO: Acknowledgment sent {"connection_id":148673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:16:19] local.INFO: TCP Data received {"connection_id":148674,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:16:19] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:16:19] local.INFO: IMEI packet received {"connection_id":148674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":148674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:16:20] local.INFO: TCP Data received {"connection_id":148674,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:16:20] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:16:20] local.INFO: Packet analysis {"connection_id":148674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:16:20] local.INFO: Extracted packet for processing {"connection_id":148674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:16:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201752320001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309336576,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944647000,"timestamp_ms":1785944647000,"timestamp_seconds":1785944647,"priority":1,"record_length":96,"hex_timestamp":"0000019fd298a558"} 
[2026-08-05 21:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 21:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201752320001,"66":26452,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623197043309336576},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201752320001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:16:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309336576,"description":"Unknown IO ID 45"} 
[2026-08-05 21:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201752320001,"power":26452,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623197043309336576}} 
[2026-08-05 21:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":148674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:16:20] local.INFO: GPS data processed {"connection_id":148674,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:16:20] local.INFO: Acknowledgment sent {"connection_id":148674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:16:46] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:16:46] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:16:46] local.INFO: Packet analysis {"connection_id":148673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:16:46] local.INFO: Extracted packet for processing {"connection_id":148673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201743616001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16: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-08-05 21:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944612000,"timestamp_ms":1785944612000,"timestamp_seconds":1785944612,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2981ca0"} 
[2026-08-05 21:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201743616001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201743616001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:16:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201743616001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":148673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:16:46] local.INFO: GPS data processed {"connection_id":148673,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:16:46] local.INFO: Acknowledgment sent {"connection_id":148673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:16:52] local.INFO: TCP Data received {"connection_id":148674,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:16:52] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:16:52] local.INFO: Packet analysis {"connection_id":148674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:16:52] local.INFO: Extracted packet for processing {"connection_id":148674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:16:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201752320001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309336576,"note":"Value kept but may cause issues"} 
[2026-08-05 21:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785944647000,"timestamp_ms":1785944647000,"timestamp_seconds":1785944647,"priority":1,"record_length":96,"hex_timestamp":"0000019fd298a558"} 
[2026-08-05 21:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 21:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201752320001,"66":26452,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623197043309336576},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201752320001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:16:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309336576,"description":"Unknown IO ID 45"} 
[2026-08-05 21:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201752320001,"power":26452,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623197043309336576}} 
[2026-08-05 21:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":148674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:16:52] local.INFO: GPS data processed {"connection_id":148674,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:16:52] local.INFO: Acknowledgment sent {"connection_id":148674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:17:09] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:17:09] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:17:09] local.INFO: IMEI packet received {"connection_id":148675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":148675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:17:14] local.INFO: TCP Data received {"connection_id":148889,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:17:14] local.INFO: Processing buffer {"connection_id":148889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:17:14] local.INFO: IMEI packet received {"connection_id":148889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":148889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:17:14] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:17:14] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:17:14] local.INFO: IMEI packet received {"connection_id":148675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":148675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:17:15] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:17:15] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:17:15] local.INFO: Packet analysis {"connection_id":148675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:17:15] local.INFO: Extracted packet for processing {"connection_id":148675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201743616001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944612000,"timestamp_ms":1785944612000,"timestamp_seconds":1785944612,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2981ca0"} 
[2026-08-05 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-08-05 21:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201743616001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201743616001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:17:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201743616001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":148675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:17:15] local.INFO: GPS data processed {"connection_id":148675,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:17:15] local.INFO: Acknowledgment sent {"connection_id":148675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:17:19] local.INFO: TCP Data received {"connection_id":148889,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:17:19] local.INFO: Processing buffer {"connection_id":148889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:17:19] local.INFO: IMEI packet received {"connection_id":148889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":148889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:17:20] local.INFO: TCP Data received {"connection_id":148889,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:17:20] local.INFO: Processing buffer {"connection_id":148889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:17:20] local.INFO: Packet analysis {"connection_id":148889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:17:20] local.INFO: Extracted packet for processing {"connection_id":148889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:17:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201752320001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309336576,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944647000,"timestamp_ms":1785944647000,"timestamp_seconds":1785944647,"priority":1,"record_length":96,"hex_timestamp":"0000019fd298a558"} 
[2026-08-05 21:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 21:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201752320001,"66":26452,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623197043309336576},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201752320001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:17:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309336576,"description":"Unknown IO ID 45"} 
[2026-08-05 21:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201752320001,"power":26452,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623197043309336576}} 
[2026-08-05 21:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":148889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:17:20] local.INFO: GPS data processed {"connection_id":148889,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:17:20] local.INFO: Acknowledgment sent {"connection_id":148889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:17:46] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:17:46] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:17:46] local.INFO: Packet analysis {"connection_id":148675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:17:46] local.INFO: Extracted packet for processing {"connection_id":148675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201743616001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944612000,"timestamp_ms":1785944612000,"timestamp_seconds":1785944612,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2981ca0"} 
[2026-08-05 21:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201743616001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201743616001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:17:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201743616001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":148675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:17:46] local.INFO: GPS data processed {"connection_id":148675,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:17:46] local.INFO: Acknowledgment sent {"connection_id":148675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:17:52] local.INFO: TCP Data received {"connection_id":148889,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:17:52] local.INFO: Processing buffer {"connection_id":148889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:17:52] local.INFO: Packet analysis {"connection_id":148889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:17:52] local.INFO: Extracted packet for processing {"connection_id":148889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:17:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201752320001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309336576,"note":"Value kept but may cause issues"} 
[2026-08-05 21:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785944647000,"timestamp_ms":1785944647000,"timestamp_seconds":1785944647,"priority":1,"record_length":96,"hex_timestamp":"0000019fd298a558"} 
[2026-08-05 21:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 21:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201752320001,"66":26452,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623197043309336576},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201752320001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:17:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309336576,"description":"Unknown IO ID 45"} 
[2026-08-05 21:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201752320001,"power":26452,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623197043309336576}} 
[2026-08-05 21:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":148889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:17:52] local.INFO: GPS data processed {"connection_id":148889,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:17:52] local.INFO: Acknowledgment sent {"connection_id":148889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:18:09] local.INFO: TCP Data received {"connection_id":151334,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:18:09] local.INFO: Processing buffer {"connection_id":151334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:18:09] local.INFO: IMEI packet received {"connection_id":151334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":151334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:18:14] local.INFO: TCP Data received {"connection_id":148676,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:18:14] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:18:14] local.INFO: IMEI packet received {"connection_id":148676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":148676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:18:14] local.INFO: TCP Data received {"connection_id":151334,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:18:14] local.INFO: Processing buffer {"connection_id":151334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:18:14] local.INFO: IMEI packet received {"connection_id":151334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":151334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:18:19] local.INFO: TCP Data received {"connection_id":148676,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:18:19] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:18:19] local.INFO: IMEI packet received {"connection_id":148676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":148676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:18:20] local.INFO: TCP Data received {"connection_id":148676,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:18:20] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:18:20] local.INFO: Packet analysis {"connection_id":148676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:18:20] local.INFO: Extracted packet for processing {"connection_id":148676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:18:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201752320001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309336576,"note":"Value kept but may cause issues"} 
[2026-08-05 21:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944647000,"timestamp_ms":1785944647000,"timestamp_seconds":1785944647,"priority":1,"record_length":96,"hex_timestamp":"0000019fd298a558"} 
[2026-08-05 21:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 21:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201752320001,"66":26452,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623197043309336576},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201752320001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:18:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309336576,"description":"Unknown IO ID 45"} 
[2026-08-05 21:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201752320001,"power":26452,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623197043309336576}} 
[2026-08-05 21:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":148676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:18:20] local.INFO: GPS data processed {"connection_id":148676,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:18:20] local.INFO: Acknowledgment sent {"connection_id":148676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:18:24] local.INFO: TCP Data received {"connection_id":151334,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:18:24] local.INFO: Processing buffer {"connection_id":151334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2981ca0012d196840071fef08003f010928..."} 
[2026-08-05 21:18:24] local.INFO: Packet analysis {"connection_id":151334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:18:24] local.INFO: Extracted packet for processing {"connection_id":151334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201743616001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785944612000,"timestamp_ms":1785944612000,"timestamp_seconds":1785944612,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2981ca0"} 
[2026-08-05 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-08-05 21:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201743616001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201743616001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:18:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201743616001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":151334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:18:24] local.INFO: GPS data processed {"connection_id":151334,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:18:24] local.INFO: Acknowledgment sent {"connection_id":151334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:18:54] local.INFO: TCP Data received {"connection_id":148676,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:18:54] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:18:54] local.INFO: Packet analysis {"connection_id":148676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:18:54] local.INFO: Extracted packet for processing {"connection_id":148676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:18:54] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201752320001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309336576,"note":"Value kept but may cause issues"} 
[2026-08-05 21:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785944647000,"timestamp_ms":1785944647000,"timestamp_seconds":1785944647,"priority":1,"record_length":96,"hex_timestamp":"0000019fd298a558"} 
[2026-08-05 21:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 21:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201752320001,"66":26452,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623197043309336576},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201752320001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:18:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309336576,"description":"Unknown IO ID 45"} 
[2026-08-05 21:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201752320001,"power":26452,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623197043309336576}} 
[2026-08-05 21:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":148676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:18:54] local.INFO: GPS data processed {"connection_id":148676,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:18:54] local.INFO: Acknowledgment sent {"connection_id":148676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:19:09] local.INFO: TCP Data received {"connection_id":149897,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:19:09] local.INFO: Processing buffer {"connection_id":149897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:19:09] local.INFO: IMEI packet received {"connection_id":149897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":149897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:19:11] local.INFO: TCP Data received {"connection_id":149897,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:19:11] local.INFO: Processing buffer {"connection_id":149897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:19:11] local.INFO: IMEI packet received {"connection_id":149897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":149897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:19:14] local.INFO: TCP Data received {"connection_id":149897,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:19:14] local.INFO: Processing buffer {"connection_id":149897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:19:14] local.INFO: IMEI packet received {"connection_id":149897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":149897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:19:15] local.INFO: TCP Data received {"connection_id":149897,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:19:15] local.INFO: Processing buffer {"connection_id":149897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:19:15] local.INFO: Packet analysis {"connection_id":149897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:19:15] local.INFO: Extracted packet for processing {"connection_id":149897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201820672001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944913000,"timestamp_ms":1785944913000,"timestamp_seconds":1785944913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29cb468"} 
[2026-08-05 21:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201820672001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201820672001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:19:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201820672001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":149897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:19:15] local.INFO: GPS data processed {"connection_id":149897,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:19:15] local.INFO: Acknowledgment sent {"connection_id":149897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:19:19] local.INFO: TCP Data received {"connection_id":148890,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:19:19] local.INFO: Processing buffer {"connection_id":148890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:19:19] local.INFO: IMEI packet received {"connection_id":148890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":148890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:19:24] local.INFO: TCP Data received {"connection_id":148890,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:19:24] local.INFO: Processing buffer {"connection_id":148890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:19:24] local.INFO: IMEI packet received {"connection_id":148890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":148890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:19:25] local.INFO: TCP Data received {"connection_id":148890,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:19:25] local.INFO: Processing buffer {"connection_id":148890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:19:25] local.INFO: Packet analysis {"connection_id":148890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:19:25] local.INFO: Extracted packet for processing {"connection_id":148890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:19:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201752320001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309336576,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785944647000,"timestamp_ms":1785944647000,"timestamp_seconds":1785944647,"priority":1,"record_length":96,"hex_timestamp":"0000019fd298a558"} 
[2026-08-05 21:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 21:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201752320001,"66":26452,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623197043309336576},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201752320001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:19:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309336576,"description":"Unknown IO ID 45"} 
[2026-08-05 21:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201752320001,"power":26452,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623197043309336576}} 
[2026-08-05 21:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":148890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:19:25] local.INFO: GPS data processed {"connection_id":148890,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:19:25] local.INFO: Acknowledgment sent {"connection_id":148890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:19:30] local.INFO: TCP Data received {"connection_id":148890,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:19:30] local.INFO: Processing buffer {"connection_id":148890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd298a558012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:19:30] local.INFO: Packet analysis {"connection_id":148890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:19:30] local.INFO: Extracted packet for processing {"connection_id":148890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd298"} 
[2026-08-05 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201752320001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309336576,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785944647000,"timestamp_ms":1785944647000,"timestamp_seconds":1785944647,"priority":1,"record_length":96,"hex_timestamp":"0000019fd298a558"} 
[2026-08-05 21:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-05 21:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201752320001,"66":26452,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623197043309336576},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201752320001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:19:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309336576,"description":"Unknown IO ID 45"} 
[2026-08-05 21:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201752320001,"power":26452,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623197043309336576}} 
[2026-08-05 21:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":148890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:19:30] local.INFO: GPS data processed {"connection_id":148890,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:19:30] local.INFO: Acknowledgment sent {"connection_id":148890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:19:46] local.INFO: TCP Data received {"connection_id":149897,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:19:46] local.INFO: Processing buffer {"connection_id":149897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:19:46] local.INFO: Packet analysis {"connection_id":149897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:19:46] local.INFO: Extracted packet for processing {"connection_id":149897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201820672001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:19: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-08-05 21:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944913000,"timestamp_ms":1785944913000,"timestamp_seconds":1785944913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29cb468"} 
[2026-08-05 21:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201820672001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201820672001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:19:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201820672001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":149897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:19:46] local.INFO: GPS data processed {"connection_id":149897,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:19:46] local.INFO: Acknowledgment sent {"connection_id":149897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:20:09] local.INFO: TCP Data received {"connection_id":151335,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:20:09] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:20:09] local.INFO: IMEI packet received {"connection_id":151335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":151335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:20:14] local.INFO: TCP Data received {"connection_id":151335,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:20:14] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:20:14] local.INFO: IMEI packet received {"connection_id":151335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":151335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:20:15] local.INFO: TCP Data received {"connection_id":148891,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:20:15] local.INFO: Processing buffer {"connection_id":148891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:20:15] local.INFO: IMEI packet received {"connection_id":148891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":148891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:20:15] local.INFO: TCP Data received {"connection_id":151335,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:20:15] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:20:15] local.INFO: Packet analysis {"connection_id":151335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:20:15] local.INFO: Extracted packet for processing {"connection_id":151335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201820672001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944913000,"timestamp_ms":1785944913000,"timestamp_seconds":1785944913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29cb468"} 
[2026-08-05 21:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201820672001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201820672001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:20:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201820672001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":151335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:20:15] local.INFO: GPS data processed {"connection_id":151335,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:20:15] local.INFO: Acknowledgment sent {"connection_id":151335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:20:19] local.INFO: TCP Data received {"connection_id":148891,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:20:19] local.INFO: Processing buffer {"connection_id":148891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:20:19] local.INFO: IMEI packet received {"connection_id":148891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":148891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:20:20] local.INFO: TCP Data received {"connection_id":148891,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:20:20] local.INFO: Processing buffer {"connection_id":148891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:20:20] local.INFO: Packet analysis {"connection_id":148891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:20:20] local.INFO: Extracted packet for processing {"connection_id":148891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:20:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944948000,"timestamp_ms":1785944948000,"timestamp_seconds":1785944948,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29d3d20"} 
[2026-08-05 21:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 21:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201829632001,"66":26147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:20:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201829632001,"power":26147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":148891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:20:20] local.INFO: GPS data processed {"connection_id":148891,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:20:20] local.INFO: Acknowledgment sent {"connection_id":148891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:20:46] local.INFO: TCP Data received {"connection_id":151335,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:20:46] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:20:46] local.INFO: Packet analysis {"connection_id":151335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:20:46] local.INFO: Extracted packet for processing {"connection_id":151335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201820672001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20: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-08-05 21:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944913000,"timestamp_ms":1785944913000,"timestamp_seconds":1785944913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29cb468"} 
[2026-08-05 21:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201820672001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201820672001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:20:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201820672001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":151335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:20:46] local.INFO: GPS data processed {"connection_id":151335,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:20:46] local.INFO: Acknowledgment sent {"connection_id":151335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:20:52] local.INFO: TCP Data received {"connection_id":148891,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:20:52] local.INFO: Processing buffer {"connection_id":148891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:20:52] local.INFO: Packet analysis {"connection_id":148891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:20:52] local.INFO: Extracted packet for processing {"connection_id":148891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:20:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785944948000,"timestamp_ms":1785944948000,"timestamp_seconds":1785944948,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29d3d20"} 
[2026-08-05 21:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 21:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201829632001,"66":26147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:20:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201829632001,"power":26147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":148891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:20:52] local.INFO: GPS data processed {"connection_id":148891,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:20:52] local.INFO: Acknowledgment sent {"connection_id":148891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:21:09] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:21:09] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:21:09] local.INFO: IMEI packet received {"connection_id":148677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":148677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:21:14] local.INFO: TCP Data received {"connection_id":151336,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:21:14] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:21:14] local.INFO: IMEI packet received {"connection_id":151336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":151336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:21:14] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:21:14] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:21:14] local.INFO: IMEI packet received {"connection_id":148677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":148677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:21:15] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:21:15] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:21:15] local.INFO: Packet analysis {"connection_id":148677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:21:15] local.INFO: Extracted packet for processing {"connection_id":148677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201820672001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944913000,"timestamp_ms":1785944913000,"timestamp_seconds":1785944913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29cb468"} 
[2026-08-05 21:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201820672001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201820672001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:21:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201820672001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":148677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:21:15] local.INFO: GPS data processed {"connection_id":148677,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:21:15] local.INFO: Acknowledgment sent {"connection_id":148677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:21:19] local.INFO: TCP Data received {"connection_id":151336,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:21:19] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:21:19] local.INFO: IMEI packet received {"connection_id":151336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":151336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:21:20] local.INFO: TCP Data received {"connection_id":151336,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:21:20] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:21:20] local.INFO: Packet analysis {"connection_id":151336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:21:20] local.INFO: Extracted packet for processing {"connection_id":151336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:21:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944948000,"timestamp_ms":1785944948000,"timestamp_seconds":1785944948,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29d3d20"} 
[2026-08-05 21:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 21:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201829632001,"66":26147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:21:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201829632001,"power":26147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":151336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:21:20] local.INFO: GPS data processed {"connection_id":151336,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:21:20] local.INFO: Acknowledgment sent {"connection_id":151336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:21:46] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:21:46] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:21:46] local.INFO: Packet analysis {"connection_id":148677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:21:46] local.INFO: Extracted packet for processing {"connection_id":148677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201820672001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21: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-08-05 21:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944913000,"timestamp_ms":1785944913000,"timestamp_seconds":1785944913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29cb468"} 
[2026-08-05 21:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201820672001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201820672001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:21:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201820672001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":148677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:21:46] local.INFO: GPS data processed {"connection_id":148677,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:21:46] local.INFO: Acknowledgment sent {"connection_id":148677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:21:52] local.INFO: TCP Data received {"connection_id":151336,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:21:52] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:21:52] local.INFO: Packet analysis {"connection_id":151336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:21:52] local.INFO: Extracted packet for processing {"connection_id":151336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:21:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785944948000,"timestamp_ms":1785944948000,"timestamp_seconds":1785944948,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29d3d20"} 
[2026-08-05 21:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 21:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201829632001,"66":26147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:21:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201829632001,"power":26147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":151336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:21:52] local.INFO: GPS data processed {"connection_id":151336,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:21:52] local.INFO: Acknowledgment sent {"connection_id":151336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:22:10] local.INFO: TCP Data received {"connection_id":149898,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:22:10] local.INFO: Processing buffer {"connection_id":149898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:22:10] local.INFO: IMEI packet received {"connection_id":149898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":149898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:22:14] local.INFO: TCP Data received {"connection_id":148892,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:22:14] local.INFO: Processing buffer {"connection_id":148892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:22:14] local.INFO: IMEI packet received {"connection_id":148892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":148892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:22:14] local.INFO: TCP Data received {"connection_id":149898,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:22:14] local.INFO: Processing buffer {"connection_id":149898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:22:14] local.INFO: IMEI packet received {"connection_id":149898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":149898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:22:15] local.INFO: TCP Data received {"connection_id":149898,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:22:15] local.INFO: Processing buffer {"connection_id":149898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:22:15] local.INFO: Packet analysis {"connection_id":149898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:22:15] local.INFO: Extracted packet for processing {"connection_id":149898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201820672001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944913000,"timestamp_ms":1785944913000,"timestamp_seconds":1785944913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29cb468"} 
[2026-08-05 21:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201820672001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201820672001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:22:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201820672001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":149898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:22:15] local.INFO: GPS data processed {"connection_id":149898,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:22:15] local.INFO: Acknowledgment sent {"connection_id":149898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:22:19] local.INFO: TCP Data received {"connection_id":148892,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:22:19] local.INFO: Processing buffer {"connection_id":148892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:22:19] local.INFO: IMEI packet received {"connection_id":148892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":148892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:22:20] local.INFO: TCP Data received {"connection_id":148892,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:22:20] local.INFO: Processing buffer {"connection_id":148892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:22:20] local.INFO: Packet analysis {"connection_id":148892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:22:20] local.INFO: Extracted packet for processing {"connection_id":148892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:22:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944948000,"timestamp_ms":1785944948000,"timestamp_seconds":1785944948,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29d3d20"} 
[2026-08-05 21:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 21:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201829632001,"66":26147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:22:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201829632001,"power":26147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":148892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:22:20] local.INFO: GPS data processed {"connection_id":148892,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:22:20] local.INFO: Acknowledgment sent {"connection_id":148892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:22:46] local.INFO: TCP Data received {"connection_id":149898,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:22:46] local.INFO: Processing buffer {"connection_id":149898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:22:46] local.INFO: Packet analysis {"connection_id":149898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:22:46] local.INFO: Extracted packet for processing {"connection_id":149898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201820672001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22: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-08-05 21:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944913000,"timestamp_ms":1785944913000,"timestamp_seconds":1785944913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29cb468"} 
[2026-08-05 21:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201820672001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201820672001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:22:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201820672001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":149898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:22:46] local.INFO: GPS data processed {"connection_id":149898,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:22:46] local.INFO: Acknowledgment sent {"connection_id":149898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:22:52] local.INFO: TCP Data received {"connection_id":148892,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:22:52] local.INFO: Processing buffer {"connection_id":148892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:22:52] local.INFO: Packet analysis {"connection_id":148892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:22:52] local.INFO: Extracted packet for processing {"connection_id":148892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:22:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785944948000,"timestamp_ms":1785944948000,"timestamp_seconds":1785944948,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29d3d20"} 
[2026-08-05 21:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 21:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201829632001,"66":26147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:22:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201829632001,"power":26147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":148892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:22:52] local.INFO: GPS data processed {"connection_id":148892,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:22:52] local.INFO: Acknowledgment sent {"connection_id":148892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:23:09] local.INFO: TCP Data received {"connection_id":148893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:23:09] local.INFO: Processing buffer {"connection_id":148893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:23:09] local.INFO: IMEI packet received {"connection_id":148893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":148893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:23:14] local.INFO: TCP Data received {"connection_id":148893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:23:14] local.INFO: Processing buffer {"connection_id":148893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:23:14] local.INFO: IMEI packet received {"connection_id":148893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":148893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:23:15] local.INFO: TCP Data received {"connection_id":148893,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:23:15] local.INFO: Processing buffer {"connection_id":148893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:23:15] local.INFO: Packet analysis {"connection_id":148893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:23:15] local.INFO: Extracted packet for processing {"connection_id":148893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201820672001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785944913000,"timestamp_ms":1785944913000,"timestamp_seconds":1785944913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29cb468"} 
[2026-08-05 21:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201820672001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201820672001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:23:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201820672001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":148893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:23:15] local.INFO: GPS data processed {"connection_id":148893,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:23:15] local.INFO: Acknowledgment sent {"connection_id":148893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:23:19] local.INFO: TCP Data received {"connection_id":148894,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:23:19] local.INFO: Processing buffer {"connection_id":148894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:23:19] local.INFO: IMEI packet received {"connection_id":148894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":148894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:23:24] local.INFO: TCP Data received {"connection_id":148894,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:23:24] local.INFO: Processing buffer {"connection_id":148894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:23:24] local.INFO: IMEI packet received {"connection_id":148894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":148894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:23:25] local.INFO: TCP Data received {"connection_id":148894,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:23:25] local.INFO: Processing buffer {"connection_id":148894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:23:25] local.INFO: Packet analysis {"connection_id":148894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:23:25] local.INFO: Extracted packet for processing {"connection_id":148894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:23:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785944948000,"timestamp_ms":1785944948000,"timestamp_seconds":1785944948,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29d3d20"} 
[2026-08-05 21:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 21:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201829632001,"66":26147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:23:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201829632001,"power":26147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":148894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:23:25] local.INFO: GPS data processed {"connection_id":148894,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:23:25] local.INFO: Acknowledgment sent {"connection_id":148894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:23:30] local.INFO: TCP Data received {"connection_id":148894,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:23:30] local.INFO: Processing buffer {"connection_id":148894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:23:30] local.INFO: Packet analysis {"connection_id":148894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:23:30] local.INFO: Extracted packet for processing {"connection_id":148894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:23:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785944948000,"timestamp_ms":1785944948000,"timestamp_seconds":1785944948,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29d3d20"} 
[2026-08-05 21:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 21:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201829632001,"66":26147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:23:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201829632001,"power":26147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":148894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:23:30] local.INFO: GPS data processed {"connection_id":148894,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:23:30] local.INFO: Acknowledgment sent {"connection_id":148894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:23:46] local.INFO: TCP Data received {"connection_id":148893,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:23:46] local.INFO: Processing buffer {"connection_id":148893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29cb468012d196840071fef08003f01092a..."} 
[2026-08-05 21:23:46] local.INFO: Packet analysis {"connection_id":148893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:23:46] local.INFO: Extracted packet for processing {"connection_id":148893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29c"} 
[2026-08-05 21:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201820672001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:23: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-08-05 21:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785944913000,"timestamp_ms":1785944913000,"timestamp_seconds":1785944913,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29cb468"} 
[2026-08-05 21:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201820672001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201820672001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:23:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201820672001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":148893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:23:46] local.INFO: GPS data processed {"connection_id":148893,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:23:46] local.INFO: Acknowledgment sent {"connection_id":148893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:24:09] local.INFO: TCP Data received {"connection_id":151337,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:24:09] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:24:09] local.INFO: IMEI packet received {"connection_id":151337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":151337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:24:12] local.INFO: TCP Data received {"connection_id":151337,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:24:12] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:24:12] local.INFO: IMEI packet received {"connection_id":151337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":151337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:24:14] local.INFO: TCP Data received {"connection_id":151338,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:24:14] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:24:14] local.INFO: IMEI packet received {"connection_id":151338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":151338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:24:15] local.INFO: TCP Data received {"connection_id":151337,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:24:15] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:24:15] local.INFO: IMEI packet received {"connection_id":151337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":151337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:24:15] local.INFO: TCP Data received {"connection_id":151337,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:24:15] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:24:15] local.INFO: Packet analysis {"connection_id":151337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:24:15] local.INFO: Extracted packet for processing {"connection_id":151337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201897728001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945214000,"timestamp_ms":1785945214000,"timestamp_seconds":1785945214,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a14c30"} 
[2026-08-05 21:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201897728001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201897728001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:24:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201897728001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":151337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:24:16] local.INFO: GPS data processed {"connection_id":151337,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:24:16] local.INFO: Acknowledgment sent {"connection_id":151337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:24:19] local.INFO: TCP Data received {"connection_id":151338,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:24:19] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:24:19] local.INFO: IMEI packet received {"connection_id":151338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":151338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:24:20] local.INFO: TCP Data received {"connection_id":151338,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:24:20] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:24:20] local.INFO: Packet analysis {"connection_id":151338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:24:20] local.INFO: Extracted packet for processing {"connection_id":151338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:24:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785944948000,"timestamp_ms":1785944948000,"timestamp_seconds":1785944948,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29d3d20"} 
[2026-08-05 21:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 21:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201829632001,"66":26147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:24:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201829632001,"power":26147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":151338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:24:20] local.INFO: GPS data processed {"connection_id":151338,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:24:20] local.INFO: Acknowledgment sent {"connection_id":151338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:24:26] local.INFO: TCP Data received {"connection_id":151338,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:24:26] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd29d3d20012d77ab8005f2a6b80009010823..."} 
[2026-08-05 21:24:26] local.INFO: Packet analysis {"connection_id":151338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:24:26] local.INFO: Extracted packet for processing {"connection_id":151338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd29d"} 
[2026-08-05 21:24:26] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201829632001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785944948000,"timestamp_ms":1785944948000,"timestamp_seconds":1785944948,"priority":1,"record_length":96,"hex_timestamp":"0000019fd29d3d20"} 
[2026-08-05 21:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-05 21:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201829632001,"66":26147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201829632001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:24:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201829632001,"power":26147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":151338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:24:26] local.INFO: GPS data processed {"connection_id":151338,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:24:26] local.INFO: Acknowledgment sent {"connection_id":151338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:24:47] local.INFO: TCP Data received {"connection_id":151337,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:24:47] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:24:47] local.INFO: Packet analysis {"connection_id":151337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:24:47] local.INFO: Extracted packet for processing {"connection_id":151337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201897728001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785945214000,"timestamp_ms":1785945214000,"timestamp_seconds":1785945214,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a14c30"} 
[2026-08-05 21:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:24: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-08-05 21: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-08-05 21:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201897728001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201897728001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:24:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:24:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201897728001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":151337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:24:47] local.INFO: GPS data processed {"connection_id":151337,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:24:47] local.INFO: Acknowledgment sent {"connection_id":151337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:24:57] local.INFO: TCP Data received {"connection_id":151338,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:24:57] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:24:57] local.INFO: Packet analysis {"connection_id":151338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:24:57] local.INFO: Extracted packet for processing {"connection_id":151338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:24:57] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785945249000,"timestamp_ms":1785945249000,"timestamp_seconds":1785945249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a1d4e8"} 
[2026-08-05 21:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 21:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201906688001,"66":25952,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:24:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201906688001,"power":25952,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":151338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:24:57] local.INFO: GPS data processed {"connection_id":151338,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:24:57] local.INFO: Acknowledgment sent {"connection_id":151338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:25:09] local.INFO: TCP Data received {"connection_id":148895,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:25:09] local.INFO: Processing buffer {"connection_id":148895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:25:09] local.INFO: IMEI packet received {"connection_id":148895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":148895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:25:14] local.INFO: TCP Data received {"connection_id":148896,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:25:14] local.INFO: Processing buffer {"connection_id":148896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:25:14] local.INFO: IMEI packet received {"connection_id":148896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":148896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:25:14] local.INFO: TCP Data received {"connection_id":148895,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:25:14] local.INFO: Processing buffer {"connection_id":148895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:25:14] local.INFO: IMEI packet received {"connection_id":148895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":148895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:25:15] local.INFO: TCP Data received {"connection_id":148895,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:25:15] local.INFO: Processing buffer {"connection_id":148895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:25:15] local.INFO: Packet analysis {"connection_id":148895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:25:15] local.INFO: Extracted packet for processing {"connection_id":148895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201897728001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945214000,"timestamp_ms":1785945214000,"timestamp_seconds":1785945214,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a14c30"} 
[2026-08-05 21:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201897728001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201897728001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:25:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201897728001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":148895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:25:15] local.INFO: GPS data processed {"connection_id":148895,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:25:15] local.INFO: Acknowledgment sent {"connection_id":148895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:25:19] local.INFO: TCP Data received {"connection_id":148896,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:25:19] local.INFO: Processing buffer {"connection_id":148896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:25:19] local.INFO: IMEI packet received {"connection_id":148896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":148896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:25:20] local.INFO: TCP Data received {"connection_id":148896,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:25:20] local.INFO: Processing buffer {"connection_id":148896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:25:20] local.INFO: Packet analysis {"connection_id":148896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:25:20] local.INFO: Extracted packet for processing {"connection_id":148896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:25:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785945249000,"timestamp_ms":1785945249000,"timestamp_seconds":1785945249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a1d4e8"} 
[2026-08-05 21:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 21:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201906688001,"66":25952,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:25:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201906688001,"power":25952,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":148896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:25:20] local.INFO: GPS data processed {"connection_id":148896,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:25:20] local.INFO: Acknowledgment sent {"connection_id":148896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:25:46] local.INFO: TCP Data received {"connection_id":148895,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:25:46] local.INFO: Processing buffer {"connection_id":148895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:25:46] local.INFO: Packet analysis {"connection_id":148895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:25:46] local.INFO: Extracted packet for processing {"connection_id":148895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201897728001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25: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-08-05 21:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785945214000,"timestamp_ms":1785945214000,"timestamp_seconds":1785945214,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a14c30"} 
[2026-08-05 21:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201897728001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201897728001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:25:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201897728001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":148895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:25:46] local.INFO: GPS data processed {"connection_id":148895,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:25:46] local.INFO: Acknowledgment sent {"connection_id":148895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:25:51] local.INFO: TCP Data received {"connection_id":148896,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:25:51] local.INFO: Processing buffer {"connection_id":148896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:25:51] local.INFO: Packet analysis {"connection_id":148896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:25:51] local.INFO: Extracted packet for processing {"connection_id":148896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:25:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785945249000,"timestamp_ms":1785945249000,"timestamp_seconds":1785945249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a1d4e8"} 
[2026-08-05 21:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 21:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201906688001,"66":25952,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:25:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201906688001,"power":25952,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":148896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:25:51] local.INFO: GPS data processed {"connection_id":148896,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:25:51] local.INFO: Acknowledgment sent {"connection_id":148896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:26:09] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:26:09] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:26:09] local.INFO: IMEI packet received {"connection_id":148678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":148678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:26:14] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:26:14] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:26:14] local.INFO: IMEI packet received {"connection_id":148678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":148678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:26:15] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:26:15] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:26:15] local.INFO: Packet analysis {"connection_id":148678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:26:15] local.INFO: Extracted packet for processing {"connection_id":148678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201897728001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945214000,"timestamp_ms":1785945214000,"timestamp_seconds":1785945214,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a14c30"} 
[2026-08-05 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-08-05 21:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201897728001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201897728001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:26:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201897728001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":148678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:26:15] local.INFO: GPS data processed {"connection_id":148678,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:26:15] local.INFO: Acknowledgment sent {"connection_id":148678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:26:19] local.INFO: TCP Data received {"connection_id":148897,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:26:19] local.INFO: Processing buffer {"connection_id":148897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:26:19] local.INFO: IMEI packet received {"connection_id":148897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":148897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:26:24] local.INFO: TCP Data received {"connection_id":148897,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:26:24] local.INFO: Processing buffer {"connection_id":148897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:26:24] local.INFO: IMEI packet received {"connection_id":148897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":148897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:26:25] local.INFO: TCP Data received {"connection_id":148897,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:26:25] local.INFO: Processing buffer {"connection_id":148897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:26:25] local.INFO: Packet analysis {"connection_id":148897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:26:25] local.INFO: Extracted packet for processing {"connection_id":148897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:26:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785945249000,"timestamp_ms":1785945249000,"timestamp_seconds":1785945249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a1d4e8"} 
[2026-08-05 21:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 21:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201906688001,"66":25952,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:26:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201906688001,"power":25952,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":148897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:26:25] local.INFO: GPS data processed {"connection_id":148897,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:26:25] local.INFO: Acknowledgment sent {"connection_id":148897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:26:30] local.INFO: TCP Data received {"connection_id":148897,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:26:30] local.INFO: Processing buffer {"connection_id":148897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:26:30] local.INFO: Packet analysis {"connection_id":148897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:26:30] local.INFO: Extracted packet for processing {"connection_id":148897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:26:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785945249000,"timestamp_ms":1785945249000,"timestamp_seconds":1785945249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a1d4e8"} 
[2026-08-05 21:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 21:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201906688001,"66":25952,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:26:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201906688001,"power":25952,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":148897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:26:30] local.INFO: GPS data processed {"connection_id":148897,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:26:30] local.INFO: Acknowledgment sent {"connection_id":148897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:26:46] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:26:46] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:26:46] local.INFO: Packet analysis {"connection_id":148678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:26:46] local.INFO: Extracted packet for processing {"connection_id":148678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201897728001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:26: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-08-05 21:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785945214000,"timestamp_ms":1785945214000,"timestamp_seconds":1785945214,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a14c30"} 
[2026-08-05 21:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201897728001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201897728001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:26:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201897728001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":148678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:26:46] local.INFO: GPS data processed {"connection_id":148678,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:26:46] local.INFO: Acknowledgment sent {"connection_id":148678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:27:09] local.INFO: TCP Data received {"connection_id":148898,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:27:09] local.INFO: Processing buffer {"connection_id":148898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:27:09] local.INFO: IMEI packet received {"connection_id":148898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":148898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:27:14] local.INFO: TCP Data received {"connection_id":148898,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:27:14] local.INFO: Processing buffer {"connection_id":148898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:27:14] local.INFO: IMEI packet received {"connection_id":148898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":148898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:27:15] local.INFO: TCP Data received {"connection_id":149899,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:27:15] local.INFO: Processing buffer {"connection_id":149899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:27:15] local.INFO: IMEI packet received {"connection_id":149899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":149899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:27:15] local.INFO: TCP Data received {"connection_id":148898,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:27:15] local.INFO: Processing buffer {"connection_id":148898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:27:15] local.INFO: Packet analysis {"connection_id":148898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:27:15] local.INFO: Extracted packet for processing {"connection_id":148898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201897728001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945214000,"timestamp_ms":1785945214000,"timestamp_seconds":1785945214,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a14c30"} 
[2026-08-05 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-08-05 21:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201897728001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201897728001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:27:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201897728001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":148898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:27:15] local.INFO: GPS data processed {"connection_id":148898,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:27:15] local.INFO: Acknowledgment sent {"connection_id":148898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:27:19] local.INFO: TCP Data received {"connection_id":149899,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:27:19] local.INFO: Processing buffer {"connection_id":149899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:27:19] local.INFO: IMEI packet received {"connection_id":149899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":149899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:27:20] local.INFO: TCP Data received {"connection_id":149899,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:27:20] local.INFO: Processing buffer {"connection_id":149899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:27:20] local.INFO: Packet analysis {"connection_id":149899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:27:20] local.INFO: Extracted packet for processing {"connection_id":149899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:27:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785945249000,"timestamp_ms":1785945249000,"timestamp_seconds":1785945249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a1d4e8"} 
[2026-08-05 21:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 21:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201906688001,"66":25952,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:27:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201906688001,"power":25952,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":149899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:27:20] local.INFO: GPS data processed {"connection_id":149899,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:27:20] local.INFO: Acknowledgment sent {"connection_id":149899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:27:46] local.INFO: TCP Data received {"connection_id":148898,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:27:46] local.INFO: Processing buffer {"connection_id":148898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:27:46] local.INFO: Packet analysis {"connection_id":148898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:27:46] local.INFO: Extracted packet for processing {"connection_id":148898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201897728001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27: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-08-05 21:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785945214000,"timestamp_ms":1785945214000,"timestamp_seconds":1785945214,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a14c30"} 
[2026-08-05 21:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201897728001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201897728001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:27:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201897728001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":148898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:27:46] local.INFO: GPS data processed {"connection_id":148898,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:27:46] local.INFO: Acknowledgment sent {"connection_id":148898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:27:52] local.INFO: TCP Data received {"connection_id":149899,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:27:52] local.INFO: Processing buffer {"connection_id":149899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:27:52] local.INFO: Packet analysis {"connection_id":149899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:27:52] local.INFO: Extracted packet for processing {"connection_id":149899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:27:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785945249000,"timestamp_ms":1785945249000,"timestamp_seconds":1785945249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a1d4e8"} 
[2026-08-05 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-08-05 21:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 21:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201906688001,"66":25952,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:27:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201906688001,"power":25952,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":149899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:27:52] local.INFO: GPS data processed {"connection_id":149899,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:27:52] local.INFO: Acknowledgment sent {"connection_id":149899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:28:09] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:28:09] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:28:09] local.INFO: IMEI packet received {"connection_id":148679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":148679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:28:14] local.INFO: TCP Data received {"connection_id":148899,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:28:14] local.INFO: Processing buffer {"connection_id":148899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:28:14] local.INFO: IMEI packet received {"connection_id":148899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":148899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:28:14] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:28:14] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:28:14] local.INFO: IMEI packet received {"connection_id":148679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":148679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:28:15] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:28:15] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:28:15] local.INFO: Packet analysis {"connection_id":148679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:28:15] local.INFO: Extracted packet for processing {"connection_id":148679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201897728001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945214000,"timestamp_ms":1785945214000,"timestamp_seconds":1785945214,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a14c30"} 
[2026-08-05 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-08-05 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201897728001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201897728001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:28:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201897728001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":148679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:28:15] local.INFO: GPS data processed {"connection_id":148679,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:28:15] local.INFO: Acknowledgment sent {"connection_id":148679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:28:19] local.INFO: TCP Data received {"connection_id":148899,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:28:19] local.INFO: Processing buffer {"connection_id":148899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:28:19] local.INFO: IMEI packet received {"connection_id":148899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":148899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:28:20] local.INFO: TCP Data received {"connection_id":148899,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:28:20] local.INFO: Processing buffer {"connection_id":148899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:28:20] local.INFO: Packet analysis {"connection_id":148899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:28:20] local.INFO: Extracted packet for processing {"connection_id":148899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:28:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785945249000,"timestamp_ms":1785945249000,"timestamp_seconds":1785945249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a1d4e8"} 
[2026-08-05 21:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 21:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201906688001,"66":25952,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:28:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201906688001,"power":25952,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":148899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:28:20] local.INFO: GPS data processed {"connection_id":148899,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:28:20] local.INFO: Acknowledgment sent {"connection_id":148899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:28:46] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:28:46] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a14c30012d196840071fef08003f01092a..."} 
[2026-08-05 21:28:46] local.INFO: Packet analysis {"connection_id":148679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:28:46] local.INFO: Extracted packet for processing {"connection_id":148679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201897728001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28: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-08-05 21:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785945214000,"timestamp_ms":1785945214000,"timestamp_seconds":1785945214,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a14c30"} 
[2026-08-05 21:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201897728001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201897728001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:28:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201897728001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":148679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:28:46] local.INFO: GPS data processed {"connection_id":148679,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:28:46] local.INFO: Acknowledgment sent {"connection_id":148679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:28:51] local.INFO: TCP Data received {"connection_id":148899,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:28:51] local.INFO: Processing buffer {"connection_id":148899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:28:51] local.INFO: Packet analysis {"connection_id":148899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:28:51] local.INFO: Extracted packet for processing {"connection_id":148899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:28:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785945249000,"timestamp_ms":1785945249000,"timestamp_seconds":1785945249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a1d4e8"} 
[2026-08-05 21:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 21:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201906688001,"66":25952,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:28:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201906688001,"power":25952,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":148899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:28:52] local.INFO: GPS data processed {"connection_id":148899,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:28:52] local.INFO: Acknowledgment sent {"connection_id":148899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:29:09] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:29:09] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:29:09] local.INFO: IMEI packet received {"connection_id":148680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":148680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:29:13] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:29:13] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:29:13] local.INFO: IMEI packet received {"connection_id":148680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":148680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:29:14] local.INFO: TCP Data received {"connection_id":149900,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:29:14] local.INFO: Processing buffer {"connection_id":149900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:29:14] local.INFO: IMEI packet received {"connection_id":149900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":149900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:29:14] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:29:14] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:29:14] local.INFO: Packet analysis {"connection_id":148680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:29:14] local.INFO: Extracted packet for processing {"connection_id":148680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201974784001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29: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-08-05 21:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785945515000,"timestamp_ms":1785945515000,"timestamp_seconds":1785945515,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a5e3f8"} 
[2026-08-05 21:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201974784001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201974784001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:29:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201974784001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":148680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:29:14] local.INFO: GPS data processed {"connection_id":148680,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:29:14] local.INFO: Acknowledgment sent {"connection_id":148680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:29:19] local.INFO: TCP Data received {"connection_id":149900,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:29:19] local.INFO: Processing buffer {"connection_id":149900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:29:19] local.INFO: IMEI packet received {"connection_id":149900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":149900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:29:20] local.INFO: TCP Data received {"connection_id":149900,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:29:20] local.INFO: Processing buffer {"connection_id":149900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a1d4e8012d77ab8005f2a6b80009010828..."} 
[2026-08-05 21:29:20] local.INFO: Packet analysis {"connection_id":149900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:29:20] local.INFO: Extracted packet for processing {"connection_id":149900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a1"} 
[2026-08-05 21:29:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201906688001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785945249000,"timestamp_ms":1785945249000,"timestamp_seconds":1785945249,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a1d4e8"} 
[2026-08-05 21:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-05 21:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201906688001,"66":25952,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201906688001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:29:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201906688001,"power":25952,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":149900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:29:20] local.INFO: GPS data processed {"connection_id":149900,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:29:20] local.INFO: Acknowledgment sent {"connection_id":149900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:29:45] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:29:45] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:29:45] local.INFO: Packet analysis {"connection_id":148680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:29:45] local.INFO: Extracted packet for processing {"connection_id":148680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201974784001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29: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-08-05 21:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785945515000,"timestamp_ms":1785945515000,"timestamp_seconds":1785945515,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a5e3f8"} 
[2026-08-05 21:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201974784001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201974784001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:29:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201974784001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":148680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:29:45] local.INFO: GPS data processed {"connection_id":148680,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:29:45] local.INFO: Acknowledgment sent {"connection_id":148680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:29:51] local.INFO: TCP Data received {"connection_id":149900,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:29:51] local.INFO: Processing buffer {"connection_id":149900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:29:51] local.INFO: Packet analysis {"connection_id":149900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:29:51] local.INFO: Extracted packet for processing {"connection_id":149900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:29:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785945550000,"timestamp_ms":1785945550000,"timestamp_seconds":1785945550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a66cb0"} 
[2026-08-05 21:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 21:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201983744001,"66":25734,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:29:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201983744001,"power":25734,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":149900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:29:51] local.INFO: GPS data processed {"connection_id":149900,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:29:51] local.INFO: Acknowledgment sent {"connection_id":149900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:30:14] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:30:14] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:30:14] local.INFO: IMEI packet received {"connection_id":151339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":151339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:30:19] local.INFO: TCP Data received {"connection_id":148900,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:30:19] local.INFO: Processing buffer {"connection_id":148900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:30:19] local.INFO: IMEI packet received {"connection_id":148900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":148900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:30:19] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:30:19] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:30:19] local.INFO: IMEI packet received {"connection_id":151339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":151339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:30:20] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:30:20] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:30:20] local.INFO: Packet analysis {"connection_id":151339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:30:20] local.INFO: Extracted packet for processing {"connection_id":151339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201974784001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785945515000,"timestamp_ms":1785945515000,"timestamp_seconds":1785945515,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a5e3f8"} 
[2026-08-05 21:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201974784001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201974784001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:30:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201974784001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":151339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:30:20] local.INFO: GPS data processed {"connection_id":151339,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:30:20] local.INFO: Acknowledgment sent {"connection_id":151339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:30:24] local.INFO: TCP Data received {"connection_id":148900,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:30:24] local.INFO: Processing buffer {"connection_id":148900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:30:24] local.INFO: IMEI packet received {"connection_id":148900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":148900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:30:25] local.INFO: TCP Data received {"connection_id":148900,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:30:25] local.INFO: Processing buffer {"connection_id":148900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:30:25] local.INFO: Packet analysis {"connection_id":148900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:30:25] local.INFO: Extracted packet for processing {"connection_id":148900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:30:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785945550000,"timestamp_ms":1785945550000,"timestamp_seconds":1785945550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a66cb0"} 
[2026-08-05 21:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 21:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201983744001,"66":25734,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:30:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201983744001,"power":25734,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":148900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:30:25] local.INFO: GPS data processed {"connection_id":148900,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:30:25] local.INFO: Acknowledgment sent {"connection_id":148900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:30:51] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:30:51] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:30:51] local.INFO: Packet analysis {"connection_id":151339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:30:51] local.INFO: Extracted packet for processing {"connection_id":151339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201974784001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785945515000,"timestamp_ms":1785945515000,"timestamp_seconds":1785945515,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a5e3f8"} 
[2026-08-05 21:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201974784001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201974784001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:30:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201974784001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":151339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:30:51] local.INFO: GPS data processed {"connection_id":151339,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:30:51] local.INFO: Acknowledgment sent {"connection_id":151339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:30:57] local.INFO: TCP Data received {"connection_id":148900,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:30:57] local.INFO: Processing buffer {"connection_id":148900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:30:57] local.INFO: Packet analysis {"connection_id":148900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:30:57] local.INFO: Extracted packet for processing {"connection_id":148900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:30:57] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785945550000,"timestamp_ms":1785945550000,"timestamp_seconds":1785945550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a66cb0"} 
[2026-08-05 21:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 21:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201983744001,"66":25734,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:30:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201983744001,"power":25734,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":148900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:30:57] local.INFO: GPS data processed {"connection_id":148900,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:30:57] local.INFO: Acknowledgment sent {"connection_id":148900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:31:09] local.INFO: TCP Data received {"connection_id":148681,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:31:09] local.INFO: Processing buffer {"connection_id":148681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:31:09] local.INFO: IMEI packet received {"connection_id":148681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":148681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:31:14] local.INFO: TCP Data received {"connection_id":148682,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:31:14] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:31:14] local.INFO: IMEI packet received {"connection_id":148682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":148682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:31:14] local.INFO: TCP Data received {"connection_id":148681,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:31:14] local.INFO: Processing buffer {"connection_id":148681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:31:14] local.INFO: IMEI packet received {"connection_id":148681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":148681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:31:19] local.INFO: TCP Data received {"connection_id":148682,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:31:19] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:31:19] local.INFO: IMEI packet received {"connection_id":148682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":148682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:31:20] local.INFO: TCP Data received {"connection_id":148682,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:31:20] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:31:20] local.INFO: Packet analysis {"connection_id":148682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:31:20] local.INFO: Extracted packet for processing {"connection_id":148682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:31:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785945550000,"timestamp_ms":1785945550000,"timestamp_seconds":1785945550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a66cb0"} 
[2026-08-05 21:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 21:31: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-08-05 21:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201983744001,"66":25734,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:31:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201983744001,"power":25734,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":148682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:31:20] local.INFO: GPS data processed {"connection_id":148682,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:31:20] local.INFO: Acknowledgment sent {"connection_id":148682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:31:26] local.INFO: TCP Data received {"connection_id":148681,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:31:26] local.INFO: Processing buffer {"connection_id":148681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:31:26] local.INFO: Packet analysis {"connection_id":148681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:31:26] local.INFO: Extracted packet for processing {"connection_id":148681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201974784001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785945515000,"timestamp_ms":1785945515000,"timestamp_seconds":1785945515,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a5e3f8"} 
[2026-08-05 21:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201974784001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201974784001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:31:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:31:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201974784001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":148681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:31:26] local.INFO: GPS data processed {"connection_id":148681,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:31:26] local.INFO: Acknowledgment sent {"connection_id":148681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:31:51] local.INFO: TCP Data received {"connection_id":148682,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:31:51] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:31:51] local.INFO: Packet analysis {"connection_id":148682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:31:51] local.INFO: Extracted packet for processing {"connection_id":148682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:31:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785945550000,"timestamp_ms":1785945550000,"timestamp_seconds":1785945550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a66cb0"} 
[2026-08-05 21:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 21:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201983744001,"66":25734,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:31:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201983744001,"power":25734,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":148682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:31:51] local.INFO: GPS data processed {"connection_id":148682,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:31:51] local.INFO: Acknowledgment sent {"connection_id":148682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:32:10] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:32:10] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:32:10] local.INFO: IMEI packet received {"connection_id":148683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":148683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:32:14] local.INFO: TCP Data received {"connection_id":149901,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:32:14] local.INFO: Processing buffer {"connection_id":149901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:32:14] local.INFO: IMEI packet received {"connection_id":149901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":149901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:32:14] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:32:14] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:32:14] local.INFO: IMEI packet received {"connection_id":148683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":148683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:32:15] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:32:15] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:32:15] local.INFO: Packet analysis {"connection_id":148683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:32:15] local.INFO: Extracted packet for processing {"connection_id":148683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201974784001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945515000,"timestamp_ms":1785945515000,"timestamp_seconds":1785945515,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a5e3f8"} 
[2026-08-05 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-08-05 21:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201974784001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201974784001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:32:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201974784001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":148683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:32:15] local.INFO: GPS data processed {"connection_id":148683,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:32:15] local.INFO: Acknowledgment sent {"connection_id":148683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:32:19] local.INFO: TCP Data received {"connection_id":149901,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:32:19] local.INFO: Processing buffer {"connection_id":149901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:32:19] local.INFO: IMEI packet received {"connection_id":149901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":149901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:32:21] local.INFO: TCP Data received {"connection_id":149901,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:32:21] local.INFO: Processing buffer {"connection_id":149901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:32:21] local.INFO: Packet analysis {"connection_id":149901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:32:21] local.INFO: Extracted packet for processing {"connection_id":149901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:32:21] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785945550000,"timestamp_ms":1785945550000,"timestamp_seconds":1785945550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a66cb0"} 
[2026-08-05 21:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 21:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201983744001,"66":25734,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:32:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201983744001,"power":25734,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":149901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:32:21] local.INFO: GPS data processed {"connection_id":149901,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:32:21] local.INFO: Acknowledgment sent {"connection_id":149901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:32:46] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:32:46] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:32:46] local.INFO: Packet analysis {"connection_id":148683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:32:46] local.INFO: Extracted packet for processing {"connection_id":148683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201974784001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32: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-08-05 21:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785945515000,"timestamp_ms":1785945515000,"timestamp_seconds":1785945515,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a5e3f8"} 
[2026-08-05 21:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:32: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-08-05 21: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-08-05 21:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201974784001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201974784001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:32:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201974784001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":148683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:32:46] local.INFO: GPS data processed {"connection_id":148683,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:32:46] local.INFO: Acknowledgment sent {"connection_id":148683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:32:53] local.INFO: TCP Data received {"connection_id":149901,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:32:53] local.INFO: Processing buffer {"connection_id":149901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:32:53] local.INFO: Packet analysis {"connection_id":149901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:32:53] local.INFO: Extracted packet for processing {"connection_id":149901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:32:53] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785945550000,"timestamp_ms":1785945550000,"timestamp_seconds":1785945550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a66cb0"} 
[2026-08-05 21:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 21:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":149901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":149901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":149901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201983744001,"66":25734,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:32:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201983744001,"power":25734,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":149901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:32:53] local.INFO: GPS data processed {"connection_id":149901,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:32:53] local.INFO: Acknowledgment sent {"connection_id":149901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:33:09] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:33:09] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:33:09] local.INFO: IMEI packet received {"connection_id":148684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":148684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:33:14] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:33:14] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:33:14] local.INFO: IMEI packet received {"connection_id":148684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":148684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:33:15] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:33:15] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:33:15] local.INFO: Packet analysis {"connection_id":148684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:33:15] local.INFO: Extracted packet for processing {"connection_id":148684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201974784001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945515000,"timestamp_ms":1785945515000,"timestamp_seconds":1785945515,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a5e3f8"} 
[2026-08-05 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-08-05 21:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201974784001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201974784001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:33:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201974784001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":148684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:33:15] local.INFO: GPS data processed {"connection_id":148684,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:33:15] local.INFO: Acknowledgment sent {"connection_id":148684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:33:19] local.INFO: TCP Data received {"connection_id":149902,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:33:19] local.INFO: Processing buffer {"connection_id":149902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:33:19] local.INFO: IMEI packet received {"connection_id":149902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":149902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:33:24] local.INFO: TCP Data received {"connection_id":149902,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:33:24] local.INFO: Processing buffer {"connection_id":149902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:33:24] local.INFO: IMEI packet received {"connection_id":149902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":149902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:33:25] local.INFO: TCP Data received {"connection_id":149902,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:33:25] local.INFO: Processing buffer {"connection_id":149902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:33:25] local.INFO: Packet analysis {"connection_id":149902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:33:25] local.INFO: Extracted packet for processing {"connection_id":149902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:33:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785945550000,"timestamp_ms":1785945550000,"timestamp_seconds":1785945550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a66cb0"} 
[2026-08-05 21:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 21:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201983744001,"66":25734,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:33:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201983744001,"power":25734,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":149902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:33:25] local.INFO: GPS data processed {"connection_id":149902,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:33:25] local.INFO: Acknowledgment sent {"connection_id":149902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:33:46] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:33:46] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a5e3f8012d196840071fef08003f010925..."} 
[2026-08-05 21:33:46] local.INFO: Packet analysis {"connection_id":148684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:33:46] local.INFO: Extracted packet for processing {"connection_id":148684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a5"} 
[2026-08-05 21:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201974784001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33: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-08-05 21:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785945515000,"timestamp_ms":1785945515000,"timestamp_seconds":1785945515,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a5e3f8"} 
[2026-08-05 21:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:33: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-08-05 21:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201974784001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201974784001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:33:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201974784001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":148684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:33:46] local.INFO: GPS data processed {"connection_id":148684,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:33:46] local.INFO: Acknowledgment sent {"connection_id":148684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:33:56] local.INFO: TCP Data received {"connection_id":149902,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:33:56] local.INFO: Processing buffer {"connection_id":149902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:33:56] local.INFO: Packet analysis {"connection_id":149902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:33:56] local.INFO: Extracted packet for processing {"connection_id":149902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:33:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785945550000,"timestamp_ms":1785945550000,"timestamp_seconds":1785945550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a66cb0"} 
[2026-08-05 21:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 21:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201983744001,"66":25734,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:33:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201983744001,"power":25734,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":149902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:33:56] local.INFO: GPS data processed {"connection_id":149902,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:33:56] local.INFO: Acknowledgment sent {"connection_id":149902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:34:09] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:34:09] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:34:09] local.INFO: IMEI packet received {"connection_id":148685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":148685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:34:14] local.INFO: TCP Data received {"connection_id":148901,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:34:14] local.INFO: Processing buffer {"connection_id":148901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:34:14] local.INFO: IMEI packet received {"connection_id":148901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":148901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:34:14] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:34:14] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:34:14] local.INFO: IMEI packet received {"connection_id":148685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":148685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:34:15] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:34:15] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:34:15] local.INFO: Packet analysis {"connection_id":148685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:34:15] local.INFO: Extracted packet for processing {"connection_id":148685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945816000,"timestamp_ms":1785945816000,"timestamp_seconds":1785945816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2aa7bc0"} 
[2026-08-05 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-08-05 21:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202051840001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:34:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202051840001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":148685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:34:15] local.INFO: GPS data processed {"connection_id":148685,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:34:15] local.INFO: Acknowledgment sent {"connection_id":148685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:34:20] local.INFO: TCP Data received {"connection_id":148901,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:34:20] local.INFO: Processing buffer {"connection_id":148901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:34:20] local.INFO: IMEI packet received {"connection_id":148901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":148901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:34:21] local.INFO: TCP Data received {"connection_id":148901,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:34:21] local.INFO: Processing buffer {"connection_id":148901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2a66cb0012d77ab8005f2a6b80009010825..."} 
[2026-08-05 21:34:21] local.INFO: Packet analysis {"connection_id":148901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:34:21] local.INFO: Extracted packet for processing {"connection_id":148901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2a6"} 
[2026-08-05 21:34:21] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457201983744001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785945550000,"timestamp_ms":1785945550000,"timestamp_seconds":1785945550,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2a66cb0"} 
[2026-08-05 21:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 21:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457201983744001,"66":25734,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457201983744001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:34:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457201983744001,"power":25734,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":148901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:34:21] local.INFO: GPS data processed {"connection_id":148901,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:34:21] local.INFO: Acknowledgment sent {"connection_id":148901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:34:46] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:34:46] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:34:46] local.INFO: Packet analysis {"connection_id":148685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:34:46] local.INFO: Extracted packet for processing {"connection_id":148685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34: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-08-05 21:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785945816000,"timestamp_ms":1785945816000,"timestamp_seconds":1785945816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2aa7bc0"} 
[2026-08-05 21:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:34: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-08-05 21:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:34: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-08-05 21: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-08-05 21:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202051840001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:34:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202051840001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":148685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:34:46] local.INFO: GPS data processed {"connection_id":148685,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:34:46] local.INFO: Acknowledgment sent {"connection_id":148685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:34:52] local.INFO: TCP Data received {"connection_id":148901,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:34:52] local.INFO: Processing buffer {"connection_id":148901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:34:52] local.INFO: Packet analysis {"connection_id":148901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:34:52] local.INFO: Extracted packet for processing {"connection_id":148901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:34:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785945851000,"timestamp_ms":1785945851000,"timestamp_seconds":1785945851,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2ab0478"} 
[2026-08-05 21:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":134,"data_length":795,"current_offset":136} 
[2026-08-05 21:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202060800001,"66":25625,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:34:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202060800001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":148901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:34:52] local.INFO: GPS data processed {"connection_id":148901,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:34:52] local.INFO: Acknowledgment sent {"connection_id":148901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:35:09] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:35:09] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:35:09] local.INFO: IMEI packet received {"connection_id":148686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":148686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:35:14] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:35:14] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:35:14] local.INFO: IMEI packet received {"connection_id":148686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":148686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:35:15] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:35:15] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:35:15] local.INFO: Packet analysis {"connection_id":148686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:35:15] local.INFO: Extracted packet for processing {"connection_id":148686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945816000,"timestamp_ms":1785945816000,"timestamp_seconds":1785945816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2aa7bc0"} 
[2026-08-05 21:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202051840001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:35:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202051840001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":148686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:35:15] local.INFO: GPS data processed {"connection_id":148686,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:35:15] local.INFO: Acknowledgment sent {"connection_id":148686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:35:19] local.INFO: TCP Data received {"connection_id":151340,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:35:19] local.INFO: Processing buffer {"connection_id":151340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:35:19] local.INFO: IMEI packet received {"connection_id":151340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":151340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:35:24] local.INFO: TCP Data received {"connection_id":151340,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:35:24] local.INFO: Processing buffer {"connection_id":151340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:35:24] local.INFO: IMEI packet received {"connection_id":151340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":151340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:35:25] local.INFO: TCP Data received {"connection_id":151340,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:35:25] local.INFO: Processing buffer {"connection_id":151340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:35:25] local.INFO: Packet analysis {"connection_id":151340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:35:25] local.INFO: Extracted packet for processing {"connection_id":151340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:35:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785945851000,"timestamp_ms":1785945851000,"timestamp_seconds":1785945851,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2ab0478"} 
[2026-08-05 21:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 21:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202060800001,"66":25625,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:35:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202060800001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":151340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:35:25] local.INFO: GPS data processed {"connection_id":151340,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:35:25] local.INFO: Acknowledgment sent {"connection_id":151340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:35:29] local.INFO: TCP Data received {"connection_id":151340,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:35:29] local.INFO: Processing buffer {"connection_id":151340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:35:29] local.INFO: Packet analysis {"connection_id":151340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:35:29] local.INFO: Extracted packet for processing {"connection_id":151340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:35:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785945851000,"timestamp_ms":1785945851000,"timestamp_seconds":1785945851,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2ab0478"} 
[2026-08-05 21:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 21:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202060800001,"66":25625,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:35:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202060800001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":151340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:35:29] local.INFO: GPS data processed {"connection_id":151340,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:35:29] local.INFO: Acknowledgment sent {"connection_id":151340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:35:46] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:35:46] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:35:46] local.INFO: Packet analysis {"connection_id":148686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:35:46] local.INFO: Extracted packet for processing {"connection_id":148686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:35: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-08-05 21:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785945816000,"timestamp_ms":1785945816000,"timestamp_seconds":1785945816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2aa7bc0"} 
[2026-08-05 21:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:35: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-08-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:35: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-08-05 21: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-08-05 21:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202051840001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:35:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202051840001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":148686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:35:46] local.INFO: GPS data processed {"connection_id":148686,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:35:46] local.INFO: Acknowledgment sent {"connection_id":148686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:36:09] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:36:09] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:36:09] local.INFO: IMEI packet received {"connection_id":148687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":148687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:36:14] local.INFO: TCP Data received {"connection_id":151341,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:36:14] local.INFO: Processing buffer {"connection_id":151341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:36:14] local.INFO: IMEI packet received {"connection_id":151341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":151341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:36:14] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:36:14] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:36:14] local.INFO: IMEI packet received {"connection_id":148687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":148687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:36:15] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:36:15] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:36:15] local.INFO: Packet analysis {"connection_id":148687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:36:15] local.INFO: Extracted packet for processing {"connection_id":148687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945816000,"timestamp_ms":1785945816000,"timestamp_seconds":1785945816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2aa7bc0"} 
[2026-08-05 21:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202051840001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:36:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202051840001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":148687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:36:15] local.INFO: GPS data processed {"connection_id":148687,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:36:15] local.INFO: Acknowledgment sent {"connection_id":148687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:36:19] local.INFO: TCP Data received {"connection_id":151341,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:36:19] local.INFO: Processing buffer {"connection_id":151341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:36:19] local.INFO: IMEI packet received {"connection_id":151341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":151341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:36:20] local.INFO: TCP Data received {"connection_id":151341,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:36:20] local.INFO: Processing buffer {"connection_id":151341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:36:20] local.INFO: Packet analysis {"connection_id":151341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:36:20] local.INFO: Extracted packet for processing {"connection_id":151341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:36:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785945851000,"timestamp_ms":1785945851000,"timestamp_seconds":1785945851,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2ab0478"} 
[2026-08-05 21:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 21:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202060800001,"66":25625,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:36:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202060800001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":151341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:36:20] local.INFO: GPS data processed {"connection_id":151341,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:36:20] local.INFO: Acknowledgment sent {"connection_id":151341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:36:46] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:36:46] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:36:46] local.INFO: Packet analysis {"connection_id":148687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:36:46] local.INFO: Extracted packet for processing {"connection_id":148687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36: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-08-05 21:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785945816000,"timestamp_ms":1785945816000,"timestamp_seconds":1785945816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2aa7bc0"} 
[2026-08-05 21:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:36: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-08-05 21: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-08-05 21: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-08-05 21:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202051840001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:36:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202051840001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":148687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:36:46] local.INFO: GPS data processed {"connection_id":148687,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:36:46] local.INFO: Acknowledgment sent {"connection_id":148687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:36:51] local.INFO: TCP Data received {"connection_id":151341,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:36:51] local.INFO: Processing buffer {"connection_id":151341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:36:51] local.INFO: Packet analysis {"connection_id":151341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:36:51] local.INFO: Extracted packet for processing {"connection_id":151341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:36:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785945851000,"timestamp_ms":1785945851000,"timestamp_seconds":1785945851,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2ab0478"} 
[2026-08-05 21:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 21:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202060800001,"66":25625,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:36:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202060800001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":151341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:36:51] local.INFO: GPS data processed {"connection_id":151341,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:36:51] local.INFO: Acknowledgment sent {"connection_id":151341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:37:09] local.INFO: TCP Data received {"connection_id":148902,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:37:09] local.INFO: Processing buffer {"connection_id":148902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:37:09] local.INFO: IMEI packet received {"connection_id":148902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":148902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:37:14] local.INFO: TCP Data received {"connection_id":149903,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:37:14] local.INFO: Processing buffer {"connection_id":149903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:37:14] local.INFO: IMEI packet received {"connection_id":149903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":149903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:37:14] local.INFO: TCP Data received {"connection_id":148902,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:37:14] local.INFO: Processing buffer {"connection_id":148902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:37:14] local.INFO: IMEI packet received {"connection_id":148902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":148902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:37:15] local.INFO: TCP Data received {"connection_id":148902,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:37:15] local.INFO: Processing buffer {"connection_id":148902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:37:15] local.INFO: Packet analysis {"connection_id":148902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:37:15] local.INFO: Extracted packet for processing {"connection_id":148902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945816000,"timestamp_ms":1785945816000,"timestamp_seconds":1785945816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2aa7bc0"} 
[2026-08-05 21:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202051840001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:37:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202051840001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":148902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:37:15] local.INFO: GPS data processed {"connection_id":148902,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:37:15] local.INFO: Acknowledgment sent {"connection_id":148902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:37:19] local.INFO: TCP Data received {"connection_id":149903,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:37:19] local.INFO: Processing buffer {"connection_id":149903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:37:19] local.INFO: IMEI packet received {"connection_id":149903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":149903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:37:20] local.INFO: TCP Data received {"connection_id":149903,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:37:20] local.INFO: Processing buffer {"connection_id":149903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:37:20] local.INFO: Packet analysis {"connection_id":149903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:37:20] local.INFO: Extracted packet for processing {"connection_id":149903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:37:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785945851000,"timestamp_ms":1785945851000,"timestamp_seconds":1785945851,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2ab0478"} 
[2026-08-05 21:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 21:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202060800001,"66":25625,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:37:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202060800001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":149903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:37:20] local.INFO: GPS data processed {"connection_id":149903,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:37:20] local.INFO: Acknowledgment sent {"connection_id":149903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:37:46] local.INFO: TCP Data received {"connection_id":148902,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:37:46] local.INFO: Processing buffer {"connection_id":148902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:37:46] local.INFO: Packet analysis {"connection_id":148902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:37:46] local.INFO: Extracted packet for processing {"connection_id":148902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37: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-08-05 21:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785945816000,"timestamp_ms":1785945816000,"timestamp_seconds":1785945816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2aa7bc0"} 
[2026-08-05 21:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:37: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-08-05 21:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:37: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-08-05 21:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202051840001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:37:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202051840001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":148902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:37:46] local.INFO: GPS data processed {"connection_id":148902,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:37:46] local.INFO: Acknowledgment sent {"connection_id":148902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:37:51] local.INFO: TCP Data received {"connection_id":149903,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:37:51] local.INFO: Processing buffer {"connection_id":149903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:37:51] local.INFO: Packet analysis {"connection_id":149903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:37:51] local.INFO: Extracted packet for processing {"connection_id":149903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:37:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785945851000,"timestamp_ms":1785945851000,"timestamp_seconds":1785945851,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2ab0478"} 
[2026-08-05 21:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 21:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202060800001,"66":25625,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:37:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202060800001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":149903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:37:51] local.INFO: GPS data processed {"connection_id":149903,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:37:51] local.INFO: Acknowledgment sent {"connection_id":149903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:38:10] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:38:10] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:38:10] local.INFO: IMEI packet received {"connection_id":148688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":148688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:38:14] local.INFO: TCP Data received {"connection_id":148689,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:38:14] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:38:14] local.INFO: IMEI packet received {"connection_id":148689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":148689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:38:14] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:38:14] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:38:14] local.INFO: IMEI packet received {"connection_id":148688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":148688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:38:15] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:38:15] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:38:15] local.INFO: Packet analysis {"connection_id":148688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:38:15] local.INFO: Extracted packet for processing {"connection_id":148688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945816000,"timestamp_ms":1785945816000,"timestamp_seconds":1785945816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2aa7bc0"} 
[2026-08-05 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-08-05 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202051840001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:38:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202051840001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":148688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:38:15] local.INFO: GPS data processed {"connection_id":148688,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:38:15] local.INFO: Acknowledgment sent {"connection_id":148688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:38:19] local.INFO: TCP Data received {"connection_id":148689,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:38:19] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:38:19] local.INFO: IMEI packet received {"connection_id":148689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":148689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:38:20] local.INFO: TCP Data received {"connection_id":148689,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:38:20] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:38:20] local.INFO: Packet analysis {"connection_id":148689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:38:20] local.INFO: Extracted packet for processing {"connection_id":148689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:38:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785945851000,"timestamp_ms":1785945851000,"timestamp_seconds":1785945851,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2ab0478"} 
[2026-08-05 21:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":134,"data_length":795,"current_offset":136} 
[2026-08-05 21:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202060800001,"66":25625,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:38:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202060800001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":148689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:38:20] local.INFO: GPS data processed {"connection_id":148689,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:38:20] local.INFO: Acknowledgment sent {"connection_id":148689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:38:46] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:38:46] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:38:46] local.INFO: Packet analysis {"connection_id":148688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:38:46] local.INFO: Extracted packet for processing {"connection_id":148688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38: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-08-05 21:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785945816000,"timestamp_ms":1785945816000,"timestamp_seconds":1785945816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2aa7bc0"} 
[2026-08-05 21:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:38: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-08-05 21:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:38: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-08-05 21:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202051840001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:38:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202051840001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":148688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:38:46] local.INFO: GPS data processed {"connection_id":148688,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:38:46] local.INFO: Acknowledgment sent {"connection_id":148688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:38:52] local.INFO: TCP Data received {"connection_id":148689,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:38:52] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:38:52] local.INFO: Packet analysis {"connection_id":148689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:38:52] local.INFO: Extracted packet for processing {"connection_id":148689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:38:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785945851000,"timestamp_ms":1785945851000,"timestamp_seconds":1785945851,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2ab0478"} 
[2026-08-05 21:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 21:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202060800001,"66":25625,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:38:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202060800001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":148689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:38:52] local.INFO: GPS data processed {"connection_id":148689,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:38:52] local.INFO: Acknowledgment sent {"connection_id":148689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:39:09] local.INFO: TCP Data received {"connection_id":148903,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:39:09] local.INFO: Processing buffer {"connection_id":148903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:39:09] local.INFO: IMEI packet received {"connection_id":148903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":148903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:39:14] local.INFO: TCP Data received {"connection_id":151342,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:39:14] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:39:14] local.INFO: IMEI packet received {"connection_id":151342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":151342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:39:14] local.INFO: TCP Data received {"connection_id":148903,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:39:14] local.INFO: Processing buffer {"connection_id":148903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:39:14] local.INFO: IMEI packet received {"connection_id":148903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":148903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:39:15] local.INFO: TCP Data received {"connection_id":148903,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:39:15] local.INFO: Processing buffer {"connection_id":148903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2aa7bc0012d196840071fef08003f010926..."} 
[2026-08-05 21:39:15] local.INFO: Packet analysis {"connection_id":148903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:39:15] local.INFO: Extracted packet for processing {"connection_id":148903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2aa"} 
[2026-08-05 21:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202051840001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785945816000,"timestamp_ms":1785945816000,"timestamp_seconds":1785945816,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2aa7bc0"} 
[2026-08-05 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-08-05 21:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 21:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202051840001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202051840001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:39:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202051840001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":148903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:39:15] local.INFO: GPS data processed {"connection_id":148903,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:39:15] local.INFO: Acknowledgment sent {"connection_id":148903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:39:21] local.INFO: TCP Data received {"connection_id":151342,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:39:21] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:39:21] local.INFO: IMEI packet received {"connection_id":151342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":151342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:39:21] local.INFO: TCP Data received {"connection_id":151342,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:39:21] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2ab0478012d77ab8005f2a6b80009010824..."} 
[2026-08-05 21:39:21] local.INFO: Packet analysis {"connection_id":151342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:39:21] local.INFO: Extracted packet for processing {"connection_id":151342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ab"} 
[2026-08-05 21:39:21] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202060800001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785945851000,"timestamp_ms":1785945851000,"timestamp_seconds":1785945851,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2ab0478"} 
[2026-08-05 21:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-05 21:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202060800001,"66":25625,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202060800001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:39:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202060800001,"power":25625,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":151342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:39:21] local.INFO: GPS data processed {"connection_id":151342,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:39:21] local.INFO: Acknowledgment sent {"connection_id":151342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:39:46] local.INFO: TCP Data received {"connection_id":148903,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:39:46] local.INFO: Processing buffer {"connection_id":148903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:39:46] local.INFO: Packet analysis {"connection_id":148903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:39:46] local.INFO: Extracted packet for processing {"connection_id":148903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202128896001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39: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-08-05 21:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785946117000,"timestamp_ms":1785946117000,"timestamp_seconds":1785946117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af1388"} 
[2026-08-05 21:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202128896001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202128896001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:39:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202128896001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":148903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:39:46] local.INFO: GPS data processed {"connection_id":148903,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:39:46] local.INFO: Acknowledgment sent {"connection_id":148903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:39:52] local.INFO: TCP Data received {"connection_id":151342,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:39:52] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:39:52] local.INFO: Packet analysis {"connection_id":151342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:39:52] local.INFO: Extracted packet for processing {"connection_id":151342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:39:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785946152000,"timestamp_ms":1785946152000,"timestamp_seconds":1785946152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af9c40"} 
[2026-08-05 21:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 21:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202137856001,"66":25582,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:39:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202137856001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":151342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:39:52] local.INFO: GPS data processed {"connection_id":151342,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:39:52] local.INFO: Acknowledgment sent {"connection_id":151342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:40:09] local.INFO: TCP Data received {"connection_id":148904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:40:09] local.INFO: Processing buffer {"connection_id":148904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:40:09] local.INFO: IMEI packet received {"connection_id":148904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":148904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:40:14] local.INFO: TCP Data received {"connection_id":148904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:40:14] local.INFO: Processing buffer {"connection_id":148904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:40:14] local.INFO: IMEI packet received {"connection_id":148904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":148904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:40:17] local.INFO: TCP Data received {"connection_id":148904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:40:17] local.INFO: Processing buffer {"connection_id":148904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:40:17] local.INFO: Packet analysis {"connection_id":148904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:40:17] local.INFO: Extracted packet for processing {"connection_id":148904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202128896001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785946117000,"timestamp_ms":1785946117000,"timestamp_seconds":1785946117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af1388"} 
[2026-08-05 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-08-05 21:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202128896001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202128896001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:40:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:40:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202128896001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":148904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:40:17] local.INFO: GPS data processed {"connection_id":148904,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:40:17] local.INFO: Acknowledgment sent {"connection_id":148904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:40:20] local.INFO: TCP Data received {"connection_id":149904,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:40:20] local.INFO: Processing buffer {"connection_id":149904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:40:20] local.INFO: IMEI packet received {"connection_id":149904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":149904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:40:25] local.INFO: TCP Data received {"connection_id":149904,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:40:25] local.INFO: Processing buffer {"connection_id":149904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:40:25] local.INFO: IMEI packet received {"connection_id":149904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":149904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:40:26] local.INFO: TCP Data received {"connection_id":149904,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:40:26] local.INFO: Processing buffer {"connection_id":149904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:40:26] local.INFO: Packet analysis {"connection_id":149904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:40:26] local.INFO: Extracted packet for processing {"connection_id":149904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:40:26] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785946152000,"timestamp_ms":1785946152000,"timestamp_seconds":1785946152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af9c40"} 
[2026-08-05 21:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 21:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202137856001,"66":25582,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:40:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202137856001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":149904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:40:26] local.INFO: GPS data processed {"connection_id":149904,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:40:26] local.INFO: Acknowledgment sent {"connection_id":149904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:40:30] local.INFO: TCP Data received {"connection_id":149904,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:40:30] local.INFO: Processing buffer {"connection_id":149904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:40:30] local.INFO: Packet analysis {"connection_id":149904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:40:30] local.INFO: Extracted packet for processing {"connection_id":149904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785946152000,"timestamp_ms":1785946152000,"timestamp_seconds":1785946152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af9c40"} 
[2026-08-05 21:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 21:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202137856001,"66":25582,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:40:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202137856001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":149904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:40:30] local.INFO: GPS data processed {"connection_id":149904,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:40:30] local.INFO: Acknowledgment sent {"connection_id":149904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:40:57] local.INFO: TCP Data received {"connection_id":148904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:40:57] local.INFO: Processing buffer {"connection_id":148904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:40:57] local.INFO: Packet analysis {"connection_id":148904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:40:57] local.INFO: Extracted packet for processing {"connection_id":148904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202128896001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785946117000,"timestamp_ms":1785946117000,"timestamp_seconds":1785946117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af1388"} 
[2026-08-05 21:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202128896001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202128896001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:40:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202128896001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":148904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:40:57] local.INFO: GPS data processed {"connection_id":148904,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:40:57] local.INFO: Acknowledgment sent {"connection_id":148904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:41:09] local.INFO: TCP Data received {"connection_id":151343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:41:09] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:41:09] local.INFO: IMEI packet received {"connection_id":151343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":151343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:41:14] local.INFO: TCP Data received {"connection_id":149905,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:41:14] local.INFO: Processing buffer {"connection_id":149905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:41:14] local.INFO: IMEI packet received {"connection_id":149905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":149905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:41:14] local.INFO: TCP Data received {"connection_id":151343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:41:14] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:41:14] local.INFO: IMEI packet received {"connection_id":151343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":151343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:41:15] local.INFO: TCP Data received {"connection_id":151343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:41:15] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:41:15] local.INFO: Packet analysis {"connection_id":151343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:41:15] local.INFO: Extracted packet for processing {"connection_id":151343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202128896001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785946117000,"timestamp_ms":1785946117000,"timestamp_seconds":1785946117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af1388"} 
[2026-08-05 21:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202128896001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202128896001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:41:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202128896001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":151343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:41:15] local.INFO: GPS data processed {"connection_id":151343,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:41:15] local.INFO: Acknowledgment sent {"connection_id":151343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:41:19] local.INFO: TCP Data received {"connection_id":149905,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:41:19] local.INFO: Processing buffer {"connection_id":149905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:41:19] local.INFO: IMEI packet received {"connection_id":149905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":149905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:41:20] local.INFO: TCP Data received {"connection_id":149905,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:41:20] local.INFO: Processing buffer {"connection_id":149905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:41:20] local.INFO: Packet analysis {"connection_id":149905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:41:20] local.INFO: Extracted packet for processing {"connection_id":149905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:41:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785946152000,"timestamp_ms":1785946152000,"timestamp_seconds":1785946152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af9c40"} 
[2026-08-05 21:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 21:41: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-08-05 21:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202137856001,"66":25582,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:41:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202137856001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":149905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:41:20] local.INFO: GPS data processed {"connection_id":149905,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:41:20] local.INFO: Acknowledgment sent {"connection_id":149905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:41:46] local.INFO: TCP Data received {"connection_id":151343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:41:46] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:41:46] local.INFO: Packet analysis {"connection_id":151343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:41:46] local.INFO: Extracted packet for processing {"connection_id":151343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202128896001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41: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-08-05 21:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785946117000,"timestamp_ms":1785946117000,"timestamp_seconds":1785946117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af1388"} 
[2026-08-05 21:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202128896001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202128896001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:41:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202128896001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":151343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:41:46] local.INFO: GPS data processed {"connection_id":151343,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:41:46] local.INFO: Acknowledgment sent {"connection_id":151343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:41:51] local.INFO: TCP Data received {"connection_id":149905,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:41:51] local.INFO: Processing buffer {"connection_id":149905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:41:51] local.INFO: Packet analysis {"connection_id":149905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:41:51] local.INFO: Extracted packet for processing {"connection_id":149905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:41:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785946152000,"timestamp_ms":1785946152000,"timestamp_seconds":1785946152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af9c40"} 
[2026-08-05 21:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 21:41: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-08-05 21:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202137856001,"66":25582,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:41:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202137856001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":149905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:41:51] local.INFO: GPS data processed {"connection_id":149905,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:41:51] local.INFO: Acknowledgment sent {"connection_id":149905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:42:09] local.INFO: TCP Data received {"connection_id":149906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:42:09] local.INFO: Processing buffer {"connection_id":149906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:42:09] local.INFO: IMEI packet received {"connection_id":149906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":149906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:42:14] local.INFO: TCP Data received {"connection_id":148690,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:42:14] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:42:14] local.INFO: IMEI packet received {"connection_id":148690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":148690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:42:14] local.INFO: TCP Data received {"connection_id":149906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:42:14] local.INFO: Processing buffer {"connection_id":149906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:42:14] local.INFO: IMEI packet received {"connection_id":149906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":149906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:42:15] local.INFO: TCP Data received {"connection_id":149906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:42:15] local.INFO: Processing buffer {"connection_id":149906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:42:15] local.INFO: Packet analysis {"connection_id":149906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:42:15] local.INFO: Extracted packet for processing {"connection_id":149906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202128896001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785946117000,"timestamp_ms":1785946117000,"timestamp_seconds":1785946117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af1388"} 
[2026-08-05 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-08-05 21:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202128896001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202128896001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:42:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202128896001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":149906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:42:15] local.INFO: GPS data processed {"connection_id":149906,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:42:15] local.INFO: Acknowledgment sent {"connection_id":149906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:42:19] local.INFO: TCP Data received {"connection_id":148690,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:42:19] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:42:19] local.INFO: IMEI packet received {"connection_id":148690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":148690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:42:20] local.INFO: TCP Data received {"connection_id":148690,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:42:20] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:42:20] local.INFO: Packet analysis {"connection_id":148690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:42:20] local.INFO: Extracted packet for processing {"connection_id":148690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:42:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785946152000,"timestamp_ms":1785946152000,"timestamp_seconds":1785946152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af9c40"} 
[2026-08-05 21:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 21:42: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-08-05 21:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202137856001,"66":25582,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:42:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202137856001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":148690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:42:20] local.INFO: GPS data processed {"connection_id":148690,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:42:20] local.INFO: Acknowledgment sent {"connection_id":148690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:42:46] local.INFO: TCP Data received {"connection_id":149906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:42:46] local.INFO: Processing buffer {"connection_id":149906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:42:46] local.INFO: Packet analysis {"connection_id":149906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:42:46] local.INFO: Extracted packet for processing {"connection_id":149906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202128896001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42: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-08-05 21:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785946117000,"timestamp_ms":1785946117000,"timestamp_seconds":1785946117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af1388"} 
[2026-08-05 21:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202128896001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202128896001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:42:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202128896001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":149906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:42:46] local.INFO: GPS data processed {"connection_id":149906,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:42:46] local.INFO: Acknowledgment sent {"connection_id":149906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:42:51] local.INFO: TCP Data received {"connection_id":148690,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:42:51] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:42:51] local.INFO: Packet analysis {"connection_id":148690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:42:51] local.INFO: Extracted packet for processing {"connection_id":148690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:42:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785946152000,"timestamp_ms":1785946152000,"timestamp_seconds":1785946152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af9c40"} 
[2026-08-05 21:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 21:42: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-08-05 21:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202137856001,"66":25582,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:42:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202137856001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":148690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:42:51] local.INFO: GPS data processed {"connection_id":148690,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:42:51] local.INFO: Acknowledgment sent {"connection_id":148690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:43:10] local.INFO: TCP Data received {"connection_id":148905,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:43:10] local.INFO: Processing buffer {"connection_id":148905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:43:10] local.INFO: IMEI packet received {"connection_id":148905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":148905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:43:14] local.INFO: TCP Data received {"connection_id":148906,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:43:14] local.INFO: Processing buffer {"connection_id":148906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:43:14] local.INFO: IMEI packet received {"connection_id":148906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":148906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:43:14] local.INFO: TCP Data received {"connection_id":148905,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:43:14] local.INFO: Processing buffer {"connection_id":148905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:43:14] local.INFO: IMEI packet received {"connection_id":148905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":148905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:43:15] local.INFO: TCP Data received {"connection_id":148905,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:43:15] local.INFO: Processing buffer {"connection_id":148905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:43:15] local.INFO: Packet analysis {"connection_id":148905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:43:15] local.INFO: Extracted packet for processing {"connection_id":148905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202128896001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785946117000,"timestamp_ms":1785946117000,"timestamp_seconds":1785946117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af1388"} 
[2026-08-05 21:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202128896001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202128896001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:43:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202128896001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":148905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:43:15] local.INFO: GPS data processed {"connection_id":148905,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:43:15] local.INFO: Acknowledgment sent {"connection_id":148905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:43:19] local.INFO: TCP Data received {"connection_id":148906,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:43:19] local.INFO: Processing buffer {"connection_id":148906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:43:19] local.INFO: IMEI packet received {"connection_id":148906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":148906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:43:24] local.INFO: TCP Data received {"connection_id":148906,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:43:24] local.INFO: Processing buffer {"connection_id":148906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:43:24] local.INFO: Packet analysis {"connection_id":148906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:43:24] local.INFO: Extracted packet for processing {"connection_id":148906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:43:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785946152000,"timestamp_ms":1785946152000,"timestamp_seconds":1785946152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af9c40"} 
[2026-08-05 21:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 21:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202137856001,"66":25582,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:43:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202137856001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":148906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:43:24] local.INFO: GPS data processed {"connection_id":148906,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:43:24] local.INFO: Acknowledgment sent {"connection_id":148906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:43:46] local.INFO: TCP Data received {"connection_id":148905,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:43:46] local.INFO: Processing buffer {"connection_id":148905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:43:46] local.INFO: Packet analysis {"connection_id":148905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:43:46] local.INFO: Extracted packet for processing {"connection_id":148905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202128896001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43: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-08-05 21:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785946117000,"timestamp_ms":1785946117000,"timestamp_seconds":1785946117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af1388"} 
[2026-08-05 21:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202128896001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202128896001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:43:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202128896001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":148905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:43:46] local.INFO: GPS data processed {"connection_id":148905,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:43:46] local.INFO: Acknowledgment sent {"connection_id":148905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:43:55] local.INFO: TCP Data received {"connection_id":148906,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:43:55] local.INFO: Processing buffer {"connection_id":148906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:43:55] local.INFO: Packet analysis {"connection_id":148906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:43:55] local.INFO: Extracted packet for processing {"connection_id":148906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:43:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785946152000,"timestamp_ms":1785946152000,"timestamp_seconds":1785946152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af9c40"} 
[2026-08-05 21:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:43: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-08-05 21:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 21:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202137856001,"66":25582,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:43:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202137856001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":148906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:43:55] local.INFO: GPS data processed {"connection_id":148906,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:43:55] local.INFO: Acknowledgment sent {"connection_id":148906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:44:09] local.INFO: TCP Data received {"connection_id":148907,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:44:09] local.INFO: Processing buffer {"connection_id":148907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:44:09] local.INFO: IMEI packet received {"connection_id":148907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":148907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:44:14] local.INFO: TCP Data received {"connection_id":148907,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:44:14] local.INFO: Processing buffer {"connection_id":148907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:44:14] local.INFO: IMEI packet received {"connection_id":148907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":148907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:44:17] local.INFO: TCP Data received {"connection_id":148907,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:44:17] local.INFO: Processing buffer {"connection_id":148907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af1388012d196840071fef08003f010929..."} 
[2026-08-05 21:44:17] local.INFO: Packet analysis {"connection_id":148907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:44:17] local.INFO: Extracted packet for processing {"connection_id":148907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202128896001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785946117000,"timestamp_ms":1785946117000,"timestamp_seconds":1785946117,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af1388"} 
[2026-08-05 21:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202128896001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202128896001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:44:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202128896001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":148907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:44:17] local.INFO: GPS data processed {"connection_id":148907,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:44:17] local.INFO: Acknowledgment sent {"connection_id":148907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:44:19] local.INFO: TCP Data received {"connection_id":148691,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:44:19] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:44:19] local.INFO: IMEI packet received {"connection_id":148691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":148691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:44:24] local.INFO: TCP Data received {"connection_id":148691,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:44:24] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:44:24] local.INFO: IMEI packet received {"connection_id":148691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":148691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:44:25] local.INFO: TCP Data received {"connection_id":148691,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:44:25] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:44:25] local.INFO: Packet analysis {"connection_id":148691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:44:25] local.INFO: Extracted packet for processing {"connection_id":148691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:44:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785946152000,"timestamp_ms":1785946152000,"timestamp_seconds":1785946152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af9c40"} 
[2026-08-05 21:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 21:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202137856001,"66":25582,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:44:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202137856001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":148691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:44:25] local.INFO: GPS data processed {"connection_id":148691,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:44:25] local.INFO: Acknowledgment sent {"connection_id":148691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:44:29] local.INFO: TCP Data received {"connection_id":148691,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:44:29] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2af9c40012d77ab8005f2a6b80009010826..."} 
[2026-08-05 21:44:29] local.INFO: Packet analysis {"connection_id":148691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:44:29] local.INFO: Extracted packet for processing {"connection_id":148691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2af"} 
[2026-08-05 21:44:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202137856001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785946152000,"timestamp_ms":1785946152000,"timestamp_seconds":1785946152,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2af9c40"} 
[2026-08-05 21:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-05 21:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202137856001,"66":25582,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202137856001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:44:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202137856001,"power":25582,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":148691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:44:29] local.INFO: GPS data processed {"connection_id":148691,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:44:29] local.INFO: Acknowledgment sent {"connection_id":148691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:44:48] local.INFO: TCP Data received {"connection_id":148907,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:44:48] local.INFO: Processing buffer {"connection_id":148907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:44:48] local.INFO: Packet analysis {"connection_id":148907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:44:48] local.INFO: Extracted packet for processing {"connection_id":148907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:44:48] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202205952001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785946418000,"timestamp_ms":1785946418000,"timestamp_seconds":1785946418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b3ab50"} 
[2026-08-05 21:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202205952001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202205952001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:44:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:44:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202205952001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":148907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:44:49] local.INFO: GPS data processed {"connection_id":148907,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:44:49] local.INFO: Acknowledgment sent {"connection_id":148907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:45:14] local.INFO: TCP Data received {"connection_id":151345,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:45:14] local.INFO: Processing buffer {"connection_id":151345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:45:14] local.INFO: IMEI packet received {"connection_id":151345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":151345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:45:14] local.INFO: TCP Data received {"connection_id":151344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:45:14] local.INFO: Processing buffer {"connection_id":151344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:45:14] local.INFO: IMEI packet received {"connection_id":151344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":151344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:45:19] local.INFO: TCP Data received {"connection_id":151345,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:45:19] local.INFO: Processing buffer {"connection_id":151345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:45:19] local.INFO: IMEI packet received {"connection_id":151345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":151345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:45:19] local.INFO: TCP Data received {"connection_id":151344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:45:19] local.INFO: Processing buffer {"connection_id":151344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:45:19] local.INFO: IMEI packet received {"connection_id":151344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":151344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:45:20] local.INFO: TCP Data received {"connection_id":151345,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:45:20] local.INFO: Processing buffer {"connection_id":151345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:45:20] local.INFO: Packet analysis {"connection_id":151345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:45:20] local.INFO: Extracted packet for processing {"connection_id":151345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:45:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785946453000,"timestamp_ms":1785946453000,"timestamp_seconds":1785946453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b43408"} 
[2026-08-05 21:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 21:45: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-08-05 21:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202214912001,"66":25495,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:45:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202214912001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":151345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:45:20] local.INFO: GPS data processed {"connection_id":151345,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:45:20] local.INFO: Acknowledgment sent {"connection_id":151345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:45:20] local.INFO: TCP Data received {"connection_id":151344,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:45:20] local.INFO: Processing buffer {"connection_id":151344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:45:20] local.INFO: Packet analysis {"connection_id":151344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:45:20] local.INFO: Extracted packet for processing {"connection_id":151344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202205952001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785946418000,"timestamp_ms":1785946418000,"timestamp_seconds":1785946418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b3ab50"} 
[2026-08-05 21:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202205952001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202205952001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:45:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:45:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202205952001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":151344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:45:20] local.INFO: GPS data processed {"connection_id":151344,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:45:20] local.INFO: Acknowledgment sent {"connection_id":151344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:45:24] local.INFO: TCP Data received {"connection_id":151344,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:45:24] local.INFO: Processing buffer {"connection_id":151344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:45:24] local.INFO: Packet analysis {"connection_id":151344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:45:24] local.INFO: Extracted packet for processing {"connection_id":151344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202205952001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785946418000,"timestamp_ms":1785946418000,"timestamp_seconds":1785946418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b3ab50"} 
[2026-08-05 21:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202205952001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202205952001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:45:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202205952001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":151344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:45:25] local.INFO: GPS data processed {"connection_id":151344,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:45:25] local.INFO: Acknowledgment sent {"connection_id":151344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:45:51] local.INFO: TCP Data received {"connection_id":151345,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:45:51] local.INFO: Processing buffer {"connection_id":151345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:45:51] local.INFO: Packet analysis {"connection_id":151345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:45:51] local.INFO: Extracted packet for processing {"connection_id":151345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:45:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785946453000,"timestamp_ms":1785946453000,"timestamp_seconds":1785946453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b43408"} 
[2026-08-05 21:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":238,"data_length":795,"current_offset":136} 
[2026-08-05 21:45: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-08-05 21:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202214912001,"66":25495,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:45:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202214912001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":151345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:45:51] local.INFO: GPS data processed {"connection_id":151345,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:45:51] local.INFO: Acknowledgment sent {"connection_id":151345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:46:09] local.INFO: TCP Data received {"connection_id":148908,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:46:09] local.INFO: Processing buffer {"connection_id":148908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:46:09] local.INFO: IMEI packet received {"connection_id":148908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":148908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:46:14] local.INFO: TCP Data received {"connection_id":148692,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:46:14] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:46:14] local.INFO: IMEI packet received {"connection_id":148692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":148692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:46:14] local.INFO: TCP Data received {"connection_id":148908,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:46:14] local.INFO: Processing buffer {"connection_id":148908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:46:14] local.INFO: IMEI packet received {"connection_id":148908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":148908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:46:15] local.INFO: TCP Data received {"connection_id":148908,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:46:15] local.INFO: Processing buffer {"connection_id":148908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:46:15] local.INFO: Packet analysis {"connection_id":148908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:46:15] local.INFO: Extracted packet for processing {"connection_id":148908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202205952001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785946418000,"timestamp_ms":1785946418000,"timestamp_seconds":1785946418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b3ab50"} 
[2026-08-05 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-08-05 21:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:46: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-08-05 21:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202205952001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"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-08-05 21:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202205952001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:46:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202205952001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":148908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:46:15] local.INFO: GPS data processed {"connection_id":148908,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:46:15] local.INFO: Acknowledgment sent {"connection_id":148908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:46:19] local.INFO: TCP Data received {"connection_id":148692,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:46:19] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:46:19] local.INFO: IMEI packet received {"connection_id":148692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":148692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:46:20] local.INFO: TCP Data received {"connection_id":148692,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:46:20] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:46:20] local.INFO: Packet analysis {"connection_id":148692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:46:20] local.INFO: Extracted packet for processing {"connection_id":148692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:46:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785946453000,"timestamp_ms":1785946453000,"timestamp_seconds":1785946453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b43408"} 
[2026-08-05 21:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 21:46: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-08-05 21:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202214912001,"66":25495,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:46:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202214912001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":148692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:46:20] local.INFO: GPS data processed {"connection_id":148692,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:46:20] local.INFO: Acknowledgment sent {"connection_id":148692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:46:46] local.INFO: TCP Data received {"connection_id":148908,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:46:46] local.INFO: Processing buffer {"connection_id":148908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:46:46] local.INFO: Packet analysis {"connection_id":148908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:46:46] local.INFO: Extracted packet for processing {"connection_id":148908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202205952001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46: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-08-05 21:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785946418000,"timestamp_ms":1785946418000,"timestamp_seconds":1785946418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b3ab50"} 
[2026-08-05 21:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:46: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-08-05 21:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202205952001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"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-08-05 21:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202205952001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:46:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202205952001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":148908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:46:46] local.INFO: GPS data processed {"connection_id":148908,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:46:46] local.INFO: Acknowledgment sent {"connection_id":148908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:46:58] local.INFO: TCP Data received {"connection_id":148692,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:46:58] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:46:58] local.INFO: Packet analysis {"connection_id":148692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:46:58] local.INFO: Extracted packet for processing {"connection_id":148692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:46:58] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785946453000,"timestamp_ms":1785946453000,"timestamp_seconds":1785946453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b43408"} 
[2026-08-05 21:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 21:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202214912001,"66":25495,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:46:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202214912001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":148692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:46:58] local.INFO: GPS data processed {"connection_id":148692,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:46:58] local.INFO: Acknowledgment sent {"connection_id":148692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:47:09] local.INFO: TCP Data received {"connection_id":149907,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:47:09] local.INFO: Processing buffer {"connection_id":149907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:47:09] local.INFO: IMEI packet received {"connection_id":149907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":149907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:47:14] local.INFO: TCP Data received {"connection_id":149907,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:47:14] local.INFO: Processing buffer {"connection_id":149907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:47:14] local.INFO: IMEI packet received {"connection_id":149907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":149907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:47:15] local.INFO: TCP Data received {"connection_id":149907,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:47:15] local.INFO: Processing buffer {"connection_id":149907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:47:15] local.INFO: Packet analysis {"connection_id":149907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:47:15] local.INFO: Extracted packet for processing {"connection_id":149907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202205952001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785946418000,"timestamp_ms":1785946418000,"timestamp_seconds":1785946418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b3ab50"} 
[2026-08-05 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-08-05 21:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202205952001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202205952001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:47:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202205952001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":149907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:47:15] local.INFO: GPS data processed {"connection_id":149907,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:47:15] local.INFO: Acknowledgment sent {"connection_id":149907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:47:19] local.INFO: TCP Data received {"connection_id":149908,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:47:19] local.INFO: Processing buffer {"connection_id":149908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:47:19] local.INFO: IMEI packet received {"connection_id":149908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":149908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:47:24] local.INFO: TCP Data received {"connection_id":149908,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:47:24] local.INFO: Processing buffer {"connection_id":149908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:47:24] local.INFO: IMEI packet received {"connection_id":149908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":149908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:47:25] local.INFO: TCP Data received {"connection_id":149908,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:47:25] local.INFO: Processing buffer {"connection_id":149908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:47:25] local.INFO: Packet analysis {"connection_id":149908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:47:25] local.INFO: Extracted packet for processing {"connection_id":149908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:47:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785946453000,"timestamp_ms":1785946453000,"timestamp_seconds":1785946453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b43408"} 
[2026-08-05 21:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 21:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202214912001,"66":25495,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:47:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202214912001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":149908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:47:25] local.INFO: GPS data processed {"connection_id":149908,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:47:25] local.INFO: Acknowledgment sent {"connection_id":149908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:47:30] local.INFO: TCP Data received {"connection_id":149908,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:47:30] local.INFO: Processing buffer {"connection_id":149908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:47:30] local.INFO: Packet analysis {"connection_id":149908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:47:30] local.INFO: Extracted packet for processing {"connection_id":149908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:47:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785946453000,"timestamp_ms":1785946453000,"timestamp_seconds":1785946453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b43408"} 
[2026-08-05 21:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 21:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202214912001,"66":25495,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:47:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202214912001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":149908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:47:30] local.INFO: GPS data processed {"connection_id":149908,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:47:30] local.INFO: Acknowledgment sent {"connection_id":149908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:47:46] local.INFO: TCP Data received {"connection_id":149907,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:47:46] local.INFO: Processing buffer {"connection_id":149907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:47:46] local.INFO: Packet analysis {"connection_id":149907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:47:46] local.INFO: Extracted packet for processing {"connection_id":149907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202205952001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:47: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-08-05 21:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785946418000,"timestamp_ms":1785946418000,"timestamp_seconds":1785946418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b3ab50"} 
[2026-08-05 21:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21: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-08-05 21: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-08-05 21:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202205952001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202205952001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:47:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202205952001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":149907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:47:46] local.INFO: GPS data processed {"connection_id":149907,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:47:46] local.INFO: Acknowledgment sent {"connection_id":149907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:48:10] local.INFO: TCP Data received {"connection_id":148909,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:48:10] local.INFO: Processing buffer {"connection_id":148909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:48:10] local.INFO: IMEI packet received {"connection_id":148909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":148909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:48:14] local.INFO: TCP Data received {"connection_id":149909,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:48:14] local.INFO: Processing buffer {"connection_id":149909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:48:14] local.INFO: IMEI packet received {"connection_id":149909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":149909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:48:14] local.INFO: TCP Data received {"connection_id":148909,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:48:14] local.INFO: Processing buffer {"connection_id":148909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:48:14] local.INFO: IMEI packet received {"connection_id":148909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":148909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:48:15] local.INFO: TCP Data received {"connection_id":148909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:48:15] local.INFO: Processing buffer {"connection_id":148909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:48:15] local.INFO: Packet analysis {"connection_id":148909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:48:15] local.INFO: Extracted packet for processing {"connection_id":148909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202205952001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785946418000,"timestamp_ms":1785946418000,"timestamp_seconds":1785946418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b3ab50"} 
[2026-08-05 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-08-05 21:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202205952001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202205952001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:48:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202205952001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":148909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:48:15] local.INFO: GPS data processed {"connection_id":148909,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:48:15] local.INFO: Acknowledgment sent {"connection_id":148909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:48:19] local.INFO: TCP Data received {"connection_id":149909,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:48:19] local.INFO: Processing buffer {"connection_id":149909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:48:19] local.INFO: IMEI packet received {"connection_id":149909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":149909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:48:20] local.INFO: TCP Data received {"connection_id":149909,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:48:20] local.INFO: Processing buffer {"connection_id":149909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:48:20] local.INFO: Packet analysis {"connection_id":149909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:48:20] local.INFO: Extracted packet for processing {"connection_id":149909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:48:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785946453000,"timestamp_ms":1785946453000,"timestamp_seconds":1785946453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b43408"} 
[2026-08-05 21:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 21:48: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-08-05 21:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202214912001,"66":25495,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:48:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202214912001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":149909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:48:20] local.INFO: GPS data processed {"connection_id":149909,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:48:20] local.INFO: Acknowledgment sent {"connection_id":149909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:48:25] local.INFO: TCP Data received {"connection_id":149909,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:48:25] local.INFO: Processing buffer {"connection_id":149909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:48:25] local.INFO: Packet analysis {"connection_id":149909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:48:25] local.INFO: Extracted packet for processing {"connection_id":149909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:48:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785946453000,"timestamp_ms":1785946453000,"timestamp_seconds":1785946453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b43408"} 
[2026-08-05 21:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 21:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202214912001,"66":25495,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:48:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202214912001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":149909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:48:25] local.INFO: GPS data processed {"connection_id":149909,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:48:25] local.INFO: Acknowledgment sent {"connection_id":149909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:48:46] local.INFO: TCP Data received {"connection_id":148909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:48:46] local.INFO: Processing buffer {"connection_id":148909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:48:46] local.INFO: Packet analysis {"connection_id":148909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:48:46] local.INFO: Extracted packet for processing {"connection_id":148909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202205952001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48: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-08-05 21:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785946418000,"timestamp_ms":1785946418000,"timestamp_seconds":1785946418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b3ab50"} 
[2026-08-05 21:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202205952001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202205952001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:48:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202205952001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":148909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:48:46] local.INFO: GPS data processed {"connection_id":148909,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:48:46] local.INFO: Acknowledgment sent {"connection_id":148909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:48:56] local.INFO: TCP Data received {"connection_id":149909,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:48:56] local.INFO: Processing buffer {"connection_id":149909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:48:56] local.INFO: Packet analysis {"connection_id":149909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:48:56] local.INFO: Extracted packet for processing {"connection_id":149909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:48:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785946453000,"timestamp_ms":1785946453000,"timestamp_seconds":1785946453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b43408"} 
[2026-08-05 21:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":238,"data_length":795,"current_offset":136} 
[2026-08-05 21:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202214912001,"66":25495,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:48:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202214912001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":149909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:48:56] local.INFO: GPS data processed {"connection_id":149909,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:48:56] local.INFO: Acknowledgment sent {"connection_id":149909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:49:09] local.INFO: TCP Data received {"connection_id":149910,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:49:09] local.INFO: Processing buffer {"connection_id":149910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:49:09] local.INFO: IMEI packet received {"connection_id":149910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":149910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:49:14] local.INFO: TCP Data received {"connection_id":149910,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:49:14] local.INFO: Processing buffer {"connection_id":149910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:49:14] local.INFO: IMEI packet received {"connection_id":149910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":149910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:49:14] local.INFO: TCP Data received {"connection_id":151346,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:49:14] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:49:14] local.INFO: IMEI packet received {"connection_id":151346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":151346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:49:15] local.INFO: TCP Data received {"connection_id":149910,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:49:15] local.INFO: Processing buffer {"connection_id":149910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b3ab50012d196840071fef08003f010927..."} 
[2026-08-05 21:49:15] local.INFO: Packet analysis {"connection_id":149910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:49:15] local.INFO: Extracted packet for processing {"connection_id":149910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b3"} 
[2026-08-05 21:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202205952001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785946418000,"timestamp_ms":1785946418000,"timestamp_seconds":1785946418,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b3ab50"} 
[2026-08-05 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-08-05 21:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202205952001,"66":2177,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202205952001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:49:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202205952001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":149910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:49:15] local.INFO: GPS data processed {"connection_id":149910,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:49:15] local.INFO: Acknowledgment sent {"connection_id":149910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:49:19] local.INFO: TCP Data received {"connection_id":151346,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:49:19] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:49:19] local.INFO: IMEI packet received {"connection_id":151346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":151346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:49:20] local.INFO: TCP Data received {"connection_id":151346,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:49:20] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:49:20] local.INFO: Packet analysis {"connection_id":151346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:49:20] local.INFO: Extracted packet for processing {"connection_id":151346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:49:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785946453000,"timestamp_ms":1785946453000,"timestamp_seconds":1785946453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b43408"} 
[2026-08-05 21:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 21:49: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-08-05 21:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202214912001,"66":25495,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:49:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202214912001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":151346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:49:20] local.INFO: GPS data processed {"connection_id":151346,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:49:20] local.INFO: Acknowledgment sent {"connection_id":151346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:49:46] local.INFO: TCP Data received {"connection_id":149910,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:49:46] local.INFO: Processing buffer {"connection_id":149910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:49:46] local.INFO: Packet analysis {"connection_id":149910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:49:46] local.INFO: Extracted packet for processing {"connection_id":149910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202283008001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49: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-08-05 21:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785946719000,"timestamp_ms":1785946719000,"timestamp_seconds":1785946719,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b84318"} 
[2026-08-05 21:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202283008001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202283008001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:49:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202283008001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":149910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:49:46] local.INFO: GPS data processed {"connection_id":149910,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:49:46] local.INFO: Acknowledgment sent {"connection_id":149910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:49:52] local.INFO: TCP Data received {"connection_id":151346,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:49:52] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b43408012d77ab8005f2a6b8000901082a..."} 
[2026-08-05 21:49:52] local.INFO: Packet analysis {"connection_id":151346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:49:52] local.INFO: Extracted packet for processing {"connection_id":151346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b4"} 
[2026-08-05 21:49:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202214912001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785946453000,"timestamp_ms":1785946453000,"timestamp_seconds":1785946453,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b43408"} 
[2026-08-05 21:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-05 21:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202214912001,"66":25495,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202214912001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:49:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202214912001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":151346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:49:52] local.INFO: GPS data processed {"connection_id":151346,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:49:52] local.INFO: Acknowledgment sent {"connection_id":151346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:50:14] local.INFO: TCP Data received {"connection_id":148910,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:50:14] local.INFO: Processing buffer {"connection_id":148910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:50:14] local.INFO: IMEI packet received {"connection_id":148910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":148910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:50:19] local.INFO: TCP Data received {"connection_id":148910,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:50:19] local.INFO: Processing buffer {"connection_id":148910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:50:19] local.INFO: IMEI packet received {"connection_id":148910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":148910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:50:20] local.INFO: TCP Data received {"connection_id":148910,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:50:20] local.INFO: Processing buffer {"connection_id":148910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:50:20] local.INFO: Packet analysis {"connection_id":148910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:50:20] local.INFO: Extracted packet for processing {"connection_id":148910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202283008001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785946719000,"timestamp_ms":1785946719000,"timestamp_seconds":1785946719,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b84318"} 
[2026-08-05 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-08-05 21:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202283008001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202283008001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:50:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202283008001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":148910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:50:20] local.INFO: GPS data processed {"connection_id":148910,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:50:20] local.INFO: Acknowledgment sent {"connection_id":148910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:50:24] local.INFO: TCP Data received {"connection_id":151347,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:50:24] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:50:24] local.INFO: IMEI packet received {"connection_id":151347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":151347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:50:24] local.INFO: TCP Data received {"connection_id":148910,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:50:24] local.INFO: Processing buffer {"connection_id":148910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:50:24] local.INFO: Packet analysis {"connection_id":148910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:50:24] local.INFO: Extracted packet for processing {"connection_id":148910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202283008001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785946719000,"timestamp_ms":1785946719000,"timestamp_seconds":1785946719,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b84318"} 
[2026-08-05 21:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202283008001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202283008001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:50:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202283008001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":148910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:50:25] local.INFO: GPS data processed {"connection_id":148910,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:50:25] local.INFO: Acknowledgment sent {"connection_id":148910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:50:29] local.INFO: TCP Data received {"connection_id":151347,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:50:29] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:50:29] local.INFO: IMEI packet received {"connection_id":151347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":151347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:50:30] local.INFO: TCP Data received {"connection_id":151347,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:50:30] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:50:30] local.INFO: Packet analysis {"connection_id":151347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:50:30] local.INFO: Extracted packet for processing {"connection_id":151347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:50:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785946754000,"timestamp_ms":1785946754000,"timestamp_seconds":1785946754,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b8cbd0"} 
[2026-08-05 21:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202291968001,"66":25462,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:50:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202291968001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":151347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:50:30] local.INFO: GPS data processed {"connection_id":151347,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:50:30] local.INFO: Acknowledgment sent {"connection_id":151347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:51:09] local.INFO: TCP Data received {"connection_id":149911,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:51:09] local.INFO: Processing buffer {"connection_id":149911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:51:09] local.INFO: IMEI packet received {"connection_id":149911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":149911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:51:14] local.INFO: TCP Data received {"connection_id":148693,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:51:14] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:51:14] local.INFO: IMEI packet received {"connection_id":148693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":148693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:51:14] local.INFO: TCP Data received {"connection_id":149911,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:51:14] local.INFO: Processing buffer {"connection_id":149911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:51:14] local.INFO: IMEI packet received {"connection_id":149911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":149911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:51:15] local.INFO: TCP Data received {"connection_id":149911,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:51:15] local.INFO: Processing buffer {"connection_id":149911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:51:15] local.INFO: Packet analysis {"connection_id":149911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:51:15] local.INFO: Extracted packet for processing {"connection_id":149911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202283008001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785946719000,"timestamp_ms":1785946719000,"timestamp_seconds":1785946719,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b84318"} 
[2026-08-05 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-08-05 21:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202283008001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202283008001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:51:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202283008001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":149911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:51:15] local.INFO: GPS data processed {"connection_id":149911,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:51:15] local.INFO: Acknowledgment sent {"connection_id":149911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:51:19] local.INFO: TCP Data received {"connection_id":148693,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:51:19] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:51:19] local.INFO: IMEI packet received {"connection_id":148693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":148693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:51:20] local.INFO: TCP Data received {"connection_id":148693,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:51:20] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:51:20] local.INFO: Packet analysis {"connection_id":148693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:51:20] local.INFO: Extracted packet for processing {"connection_id":148693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:51:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785946754000,"timestamp_ms":1785946754000,"timestamp_seconds":1785946754,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b8cbd0"} 
[2026-08-05 21:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:51: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-08-05 21: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-08-05 21:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202291968001,"66":25462,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:51:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202291968001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":148693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:51:20] local.INFO: GPS data processed {"connection_id":148693,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:51:20] local.INFO: Acknowledgment sent {"connection_id":148693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:51:46] local.INFO: TCP Data received {"connection_id":149911,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:51:46] local.INFO: Processing buffer {"connection_id":149911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:51:46] local.INFO: Packet analysis {"connection_id":149911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:51:46] local.INFO: Extracted packet for processing {"connection_id":149911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202283008001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51: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-08-05 21:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785946719000,"timestamp_ms":1785946719000,"timestamp_seconds":1785946719,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b84318"} 
[2026-08-05 21:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202283008001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202283008001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:51:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202283008001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":149911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:51:46] local.INFO: GPS data processed {"connection_id":149911,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:51:46] local.INFO: Acknowledgment sent {"connection_id":149911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:51:51] local.INFO: TCP Data received {"connection_id":148693,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:51:51] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:51:51] local.INFO: Packet analysis {"connection_id":148693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:51:51] local.INFO: Extracted packet for processing {"connection_id":148693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:51:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785946754000,"timestamp_ms":1785946754000,"timestamp_seconds":1785946754,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b8cbd0"} 
[2026-08-05 21:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202291968001,"66":25462,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:51:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202291968001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":148693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:51:51] local.INFO: GPS data processed {"connection_id":148693,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:51:51] local.INFO: Acknowledgment sent {"connection_id":148693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:52:09] local.INFO: TCP Data received {"connection_id":151348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:52:09] local.INFO: Processing buffer {"connection_id":151348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:52:09] local.INFO: IMEI packet received {"connection_id":151348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":151348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:52:14] local.INFO: TCP Data received {"connection_id":151348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:52:14] local.INFO: Processing buffer {"connection_id":151348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:52:14] local.INFO: IMEI packet received {"connection_id":151348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":151348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:52:15] local.INFO: TCP Data received {"connection_id":151348,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:52:15] local.INFO: Processing buffer {"connection_id":151348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:52:15] local.INFO: Packet analysis {"connection_id":151348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:52:15] local.INFO: Extracted packet for processing {"connection_id":151348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202283008001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785946719000,"timestamp_ms":1785946719000,"timestamp_seconds":1785946719,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b84318"} 
[2026-08-05 21:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202283008001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202283008001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:52:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202283008001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":151348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:52:15] local.INFO: GPS data processed {"connection_id":151348,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:52:15] local.INFO: Acknowledgment sent {"connection_id":151348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:52:19] local.INFO: TCP Data received {"connection_id":148911,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:52:19] local.INFO: Processing buffer {"connection_id":148911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:52:19] local.INFO: IMEI packet received {"connection_id":148911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":148911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:52:24] local.INFO: TCP Data received {"connection_id":148911,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:52:24] local.INFO: Processing buffer {"connection_id":148911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:52:24] local.INFO: IMEI packet received {"connection_id":148911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":148911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:52:25] local.INFO: TCP Data received {"connection_id":148911,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:52:25] local.INFO: Processing buffer {"connection_id":148911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:52:25] local.INFO: Packet analysis {"connection_id":148911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:52:25] local.INFO: Extracted packet for processing {"connection_id":148911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:52:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785946754000,"timestamp_ms":1785946754000,"timestamp_seconds":1785946754,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b8cbd0"} 
[2026-08-05 21:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202291968001,"66":25462,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:52:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202291968001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":148911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:52:25] local.INFO: GPS data processed {"connection_id":148911,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:52:25] local.INFO: Acknowledgment sent {"connection_id":148911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:52:30] local.INFO: TCP Data received {"connection_id":148911,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:52:30] local.INFO: Processing buffer {"connection_id":148911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:52:30] local.INFO: Packet analysis {"connection_id":148911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:52:30] local.INFO: Extracted packet for processing {"connection_id":148911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:52:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785946754000,"timestamp_ms":1785946754000,"timestamp_seconds":1785946754,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b8cbd0"} 
[2026-08-05 21:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202291968001,"66":25462,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:52:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202291968001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":148911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:52:30] local.INFO: GPS data processed {"connection_id":148911,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:52:30] local.INFO: Acknowledgment sent {"connection_id":148911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:52:46] local.INFO: TCP Data received {"connection_id":151348,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:52:46] local.INFO: Processing buffer {"connection_id":151348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:52:46] local.INFO: Packet analysis {"connection_id":151348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:52:46] local.INFO: Extracted packet for processing {"connection_id":151348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202283008001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:52: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-08-05 21:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785946719000,"timestamp_ms":1785946719000,"timestamp_seconds":1785946719,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b84318"} 
[2026-08-05 21:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202283008001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202283008001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:52:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202283008001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":151348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:52:46] local.INFO: GPS data processed {"connection_id":151348,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:52:46] local.INFO: Acknowledgment sent {"connection_id":151348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:53:09] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:53:09] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:53:09] local.INFO: IMEI packet received {"connection_id":148694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":148694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:53:14] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:53:14] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:53:14] local.INFO: IMEI packet received {"connection_id":148694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":148694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:53:14] local.INFO: TCP Data received {"connection_id":151349,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:53:14] local.INFO: Processing buffer {"connection_id":151349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:53:14] local.INFO: IMEI packet received {"connection_id":151349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":151349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:53:15] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:53:15] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:53:15] local.INFO: Packet analysis {"connection_id":148694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:53:15] local.INFO: Extracted packet for processing {"connection_id":148694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202283008001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785946719000,"timestamp_ms":1785946719000,"timestamp_seconds":1785946719,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b84318"} 
[2026-08-05 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-08-05 21:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202283008001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202283008001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:53:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202283008001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":148694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:53:15] local.INFO: GPS data processed {"connection_id":148694,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:53:15] local.INFO: Acknowledgment sent {"connection_id":148694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:53:19] local.INFO: TCP Data received {"connection_id":151349,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:53:19] local.INFO: Processing buffer {"connection_id":151349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:53:19] local.INFO: IMEI packet received {"connection_id":151349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":151349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:53:19] local.INFO: TCP Data received {"connection_id":151349,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:53:19] local.INFO: Processing buffer {"connection_id":151349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:53:19] local.INFO: Packet analysis {"connection_id":151349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:53:19] local.INFO: Extracted packet for processing {"connection_id":151349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:53:19] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785946754000,"timestamp_ms":1785946754000,"timestamp_seconds":1785946754,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b8cbd0"} 
[2026-08-05 21:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21: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-08-05 21:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202291968001,"66":25462,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:53:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202291968001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":151349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:53:19] local.INFO: GPS data processed {"connection_id":151349,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:53:19] local.INFO: Acknowledgment sent {"connection_id":151349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:53:24] local.INFO: TCP Data received {"connection_id":151349,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:53:24] local.INFO: Processing buffer {"connection_id":151349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:53:24] local.INFO: Packet analysis {"connection_id":151349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:53:24] local.INFO: Extracted packet for processing {"connection_id":151349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785946754000,"timestamp_ms":1785946754000,"timestamp_seconds":1785946754,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b8cbd0"} 
[2026-08-05 21:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202291968001,"66":25462,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:53:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202291968001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":151349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:53:24] local.INFO: GPS data processed {"connection_id":151349,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:53:24] local.INFO: Acknowledgment sent {"connection_id":151349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:53:46] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:53:46] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:53:46] local.INFO: Packet analysis {"connection_id":148694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:53:46] local.INFO: Extracted packet for processing {"connection_id":148694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202283008001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53: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-08-05 21:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785946719000,"timestamp_ms":1785946719000,"timestamp_seconds":1785946719,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b84318"} 
[2026-08-05 21:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202283008001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202283008001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:53:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202283008001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":148694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:53:46] local.INFO: GPS data processed {"connection_id":148694,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:53:46] local.INFO: Acknowledgment sent {"connection_id":148694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:53:55] local.INFO: TCP Data received {"connection_id":151349,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:53:55] local.INFO: Processing buffer {"connection_id":151349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:53:55] local.INFO: Packet analysis {"connection_id":151349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:53:55] local.INFO: Extracted packet for processing {"connection_id":151349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:53:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785946754000,"timestamp_ms":1785946754000,"timestamp_seconds":1785946754,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b8cbd0"} 
[2026-08-05 21:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:53: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-08-05 21: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":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:53: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-08-05 21:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202291968001,"66":25462,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:53:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202291968001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":151349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:53:55] local.INFO: GPS data processed {"connection_id":151349,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:53:55] local.INFO: Acknowledgment sent {"connection_id":151349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:54:10] local.INFO: TCP Data received {"connection_id":149912,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:54:10] local.INFO: Processing buffer {"connection_id":149912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:54:10] local.INFO: IMEI packet received {"connection_id":149912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":149912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:54:14] local.INFO: TCP Data received {"connection_id":151350,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:54:14] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:54:14] local.INFO: IMEI packet received {"connection_id":151350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":151350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:54:14] local.INFO: TCP Data received {"connection_id":149912,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:54:14] local.INFO: Processing buffer {"connection_id":149912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:54:14] local.INFO: IMEI packet received {"connection_id":149912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":149912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:54:15] local.INFO: TCP Data received {"connection_id":149912,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:54:15] local.INFO: Processing buffer {"connection_id":149912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b84318012d196840071fef08003f010927..."} 
[2026-08-05 21:54:15] local.INFO: Packet analysis {"connection_id":149912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:54:15] local.INFO: Extracted packet for processing {"connection_id":149912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202283008001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785946719000,"timestamp_ms":1785946719000,"timestamp_seconds":1785946719,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b84318"} 
[2026-08-05 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-08-05 21:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-05 21:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202283008001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202283008001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:54:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202283008001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":149912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:54:15] local.INFO: GPS data processed {"connection_id":149912,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:54:15] local.INFO: Acknowledgment sent {"connection_id":149912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:54:19] local.INFO: TCP Data received {"connection_id":151350,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:54:19] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:54:19] local.INFO: IMEI packet received {"connection_id":151350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":151350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:54:20] local.INFO: TCP Data received {"connection_id":151350,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:54:20] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2b8cbd0012d77ab8005f2a6b80009010829..."} 
[2026-08-05 21:54:20] local.INFO: Packet analysis {"connection_id":151350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:54:20] local.INFO: Extracted packet for processing {"connection_id":151350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2b8"} 
[2026-08-05 21:54:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202291968001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785946754000,"timestamp_ms":1785946754000,"timestamp_seconds":1785946754,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2b8cbd0"} 
[2026-08-05 21:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-05 21:54: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-08-05 21:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202291968001,"66":25462,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202291968001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:54:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202291968001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":151350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:54:20] local.INFO: GPS data processed {"connection_id":151350,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:54:20] local.INFO: Acknowledgment sent {"connection_id":151350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:54:46] local.INFO: TCP Data received {"connection_id":149912,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:54:46] local.INFO: Processing buffer {"connection_id":149912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:54:46] local.INFO: Packet analysis {"connection_id":149912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:54:46] local.INFO: Extracted packet for processing {"connection_id":149912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202360064001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54: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-08-05 21:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947020000,"timestamp_ms":1785947020000,"timestamp_seconds":1785947020,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bcdae0"} 
[2026-08-05 21:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:54: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-08-05 21:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202360064001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202360064001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:54:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202360064001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":149912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:54:46] local.INFO: GPS data processed {"connection_id":149912,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:54:46] local.INFO: Acknowledgment sent {"connection_id":149912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:54:54] local.INFO: TCP Data received {"connection_id":151350,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:54:54] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:54:54] local.INFO: Packet analysis {"connection_id":151350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:54:54] local.INFO: Extracted packet for processing {"connection_id":151350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:54:54] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":151350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":151350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":151350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:54:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":151350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:54:54] local.INFO: GPS data processed {"connection_id":151350,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:54:54] local.INFO: Acknowledgment sent {"connection_id":151350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:55:14] local.INFO: TCP Data received {"connection_id":148912,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:55:14] local.INFO: Processing buffer {"connection_id":148912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:55:14] local.INFO: IMEI packet received {"connection_id":148912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":148912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:55:19] local.INFO: TCP Data received {"connection_id":149913,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:55:19] local.INFO: Processing buffer {"connection_id":149913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:55:19] local.INFO: IMEI packet received {"connection_id":149913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":149913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:55:19] local.INFO: TCP Data received {"connection_id":148912,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:55:19] local.INFO: Processing buffer {"connection_id":148912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:55:19] local.INFO: IMEI packet received {"connection_id":148912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":148912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:55:24] local.INFO: TCP Data received {"connection_id":149913,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:55:24] local.INFO: Processing buffer {"connection_id":149913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:55:24] local.INFO: IMEI packet received {"connection_id":149913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":149913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:55:25] local.INFO: TCP Data received {"connection_id":149913,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:55:25] local.INFO: Processing buffer {"connection_id":149913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:55:25] local.INFO: Packet analysis {"connection_id":149913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:55:25] local.INFO: Extracted packet for processing {"connection_id":149913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:55:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:55:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":149913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:55:25] local.INFO: GPS data processed {"connection_id":149913,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:55:25] local.INFO: Acknowledgment sent {"connection_id":149913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:55:30] local.INFO: TCP Data received {"connection_id":149913,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:55:30] local.INFO: Processing buffer {"connection_id":149913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:55:30] local.INFO: Packet analysis {"connection_id":149913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:55:30] local.INFO: Extracted packet for processing {"connection_id":149913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:55:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:55:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":149913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:55:30] local.INFO: GPS data processed {"connection_id":149913,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:55:30] local.INFO: Acknowledgment sent {"connection_id":149913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:56:09] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:56:09] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:56:09] local.INFO: IMEI packet received {"connection_id":151351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":151351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:56:14] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:56:14] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:56:14] local.INFO: IMEI packet received {"connection_id":151351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":151351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:56:14] local.INFO: TCP Data received {"connection_id":148913,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:56:14] local.INFO: Processing buffer {"connection_id":148913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:56:14] local.INFO: IMEI packet received {"connection_id":148913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":148913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:56:15] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:56:15] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:56:15] local.INFO: Packet analysis {"connection_id":151351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:56:15] local.INFO: Extracted packet for processing {"connection_id":151351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202360064001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947020000,"timestamp_ms":1785947020000,"timestamp_seconds":1785947020,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bcdae0"} 
[2026-08-05 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-08-05 21:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202360064001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202360064001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:56:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202360064001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":151351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:56:15] local.INFO: GPS data processed {"connection_id":151351,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:56:15] local.INFO: Acknowledgment sent {"connection_id":151351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:56:19] local.INFO: TCP Data received {"connection_id":148913,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:56:19] local.INFO: Processing buffer {"connection_id":148913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:56:19] local.INFO: IMEI packet received {"connection_id":148913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":148913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:56:20] local.INFO: TCP Data received {"connection_id":148913,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:56:20] local.INFO: Processing buffer {"connection_id":148913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:56:20] local.INFO: Packet analysis {"connection_id":148913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:56:20] local.INFO: Extracted packet for processing {"connection_id":148913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:56:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:56:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":148913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:56:20] local.INFO: GPS data processed {"connection_id":148913,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:56:20] local.INFO: Acknowledgment sent {"connection_id":148913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:56:25] local.INFO: TCP Data received {"connection_id":148913,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:56:25] local.INFO: Processing buffer {"connection_id":148913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:56:25] local.INFO: Packet analysis {"connection_id":148913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:56:25] local.INFO: Extracted packet for processing {"connection_id":148913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:56:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:56:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":148913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:56:25] local.INFO: GPS data processed {"connection_id":148913,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:56:25] local.INFO: Acknowledgment sent {"connection_id":148913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:56:46] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:56:46] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:56:46] local.INFO: Packet analysis {"connection_id":151351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:56:46] local.INFO: Extracted packet for processing {"connection_id":151351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202360064001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56: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-08-05 21:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947020000,"timestamp_ms":1785947020000,"timestamp_seconds":1785947020,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bcdae0"} 
[2026-08-05 21:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:56: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-08-05 21:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202360064001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202360064001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:56:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202360064001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":151351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:56:46] local.INFO: GPS data processed {"connection_id":151351,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:56:46] local.INFO: Acknowledgment sent {"connection_id":151351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:56:56] local.INFO: TCP Data received {"connection_id":148913,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:56:56] local.INFO: Processing buffer {"connection_id":148913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:56:56] local.INFO: Packet analysis {"connection_id":148913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:56:56] local.INFO: Extracted packet for processing {"connection_id":148913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:56:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:56:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":148913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:56:56] local.INFO: GPS data processed {"connection_id":148913,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:56:56] local.INFO: Acknowledgment sent {"connection_id":148913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:57:09] local.INFO: TCP Data received {"connection_id":149914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:57:09] local.INFO: Processing buffer {"connection_id":149914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:57:09] local.INFO: IMEI packet received {"connection_id":149914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":149914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:57:14] local.INFO: TCP Data received {"connection_id":149914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:57:14] local.INFO: Processing buffer {"connection_id":149914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:57:14] local.INFO: IMEI packet received {"connection_id":149914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":149914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:57:14] local.INFO: TCP Data received {"connection_id":148695,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:57:14] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:57:14] local.INFO: IMEI packet received {"connection_id":148695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":148695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:57:15] local.INFO: TCP Data received {"connection_id":149914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:57:15] local.INFO: Processing buffer {"connection_id":149914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:57:15] local.INFO: Packet analysis {"connection_id":149914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:57:15] local.INFO: Extracted packet for processing {"connection_id":149914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202360064001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947020000,"timestamp_ms":1785947020000,"timestamp_seconds":1785947020,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bcdae0"} 
[2026-08-05 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-08-05 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202360064001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202360064001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:57:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202360064001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":149914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:57:15] local.INFO: GPS data processed {"connection_id":149914,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:57:15] local.INFO: Acknowledgment sent {"connection_id":149914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:57:19] local.INFO: TCP Data received {"connection_id":148695,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:57:19] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:57:19] local.INFO: IMEI packet received {"connection_id":148695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":148695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:57:20] local.INFO: TCP Data received {"connection_id":148695,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:57:20] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:57:20] local.INFO: Packet analysis {"connection_id":148695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:57:20] local.INFO: Extracted packet for processing {"connection_id":148695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:57:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:57:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":148695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:57:20] local.INFO: GPS data processed {"connection_id":148695,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:57:20] local.INFO: Acknowledgment sent {"connection_id":148695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:57:46] local.INFO: TCP Data received {"connection_id":149914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:57:46] local.INFO: Processing buffer {"connection_id":149914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:57:46] local.INFO: Packet analysis {"connection_id":149914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:57:46] local.INFO: Extracted packet for processing {"connection_id":149914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202360064001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57: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-08-05 21:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947020000,"timestamp_ms":1785947020000,"timestamp_seconds":1785947020,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bcdae0"} 
[2026-08-05 21:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:57: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-08-05 21:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202360064001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202360064001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:57:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202360064001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":149914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:57:46] local.INFO: GPS data processed {"connection_id":149914,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:57:46] local.INFO: Acknowledgment sent {"connection_id":149914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:57:53] local.INFO: TCP Data received {"connection_id":148695,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:57:53] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:57:53] local.INFO: Packet analysis {"connection_id":148695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:57:53] local.INFO: Extracted packet for processing {"connection_id":148695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:57:53] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:57:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":148695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:57:53] local.INFO: GPS data processed {"connection_id":148695,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:57:53] local.INFO: Acknowledgment sent {"connection_id":148695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:58:09] local.INFO: TCP Data received {"connection_id":149915,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:58:09] local.INFO: Processing buffer {"connection_id":149915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:58:09] local.INFO: IMEI packet received {"connection_id":149915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":149915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:58:13] local.INFO: TCP Data received {"connection_id":148696,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:58:13] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:58:13] local.INFO: IMEI packet received {"connection_id":148696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":148696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:58:14] local.INFO: TCP Data received {"connection_id":149915,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:58:14] local.INFO: Processing buffer {"connection_id":149915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:58:14] local.INFO: IMEI packet received {"connection_id":149915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":149915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:58:15] local.INFO: TCP Data received {"connection_id":149915,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:58:15] local.INFO: Processing buffer {"connection_id":149915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:58:15] local.INFO: Packet analysis {"connection_id":149915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:58:15] local.INFO: Extracted packet for processing {"connection_id":149915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202360064001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947020000,"timestamp_ms":1785947020000,"timestamp_seconds":1785947020,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bcdae0"} 
[2026-08-05 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-08-05 21:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202360064001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202360064001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:58:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202360064001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":149915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:58:15] local.INFO: GPS data processed {"connection_id":149915,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:58:15] local.INFO: Acknowledgment sent {"connection_id":149915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:58:19] local.INFO: TCP Data received {"connection_id":148696,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:58:19] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:58:19] local.INFO: IMEI packet received {"connection_id":148696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":148696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:58:20] local.INFO: TCP Data received {"connection_id":148696,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:58:20] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:58:20] local.INFO: Packet analysis {"connection_id":148696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:58:20] local.INFO: Extracted packet for processing {"connection_id":148696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:58:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:58:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":148696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:58:20] local.INFO: GPS data processed {"connection_id":148696,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:58:20] local.INFO: Acknowledgment sent {"connection_id":148696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:58:46] local.INFO: TCP Data received {"connection_id":149915,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:58:46] local.INFO: Processing buffer {"connection_id":149915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:58:46] local.INFO: Packet analysis {"connection_id":149915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:58:46] local.INFO: Extracted packet for processing {"connection_id":149915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202360064001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21: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-08-05 21:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947020000,"timestamp_ms":1785947020000,"timestamp_seconds":1785947020,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bcdae0"} 
[2026-08-05 21:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:58: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-08-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202360064001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202360064001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:58:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202360064001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":149915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:58:46] local.INFO: GPS data processed {"connection_id":149915,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:58:46] local.INFO: Acknowledgment sent {"connection_id":149915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:58:51] local.INFO: TCP Data received {"connection_id":148696,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:58:51] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:58:51] local.INFO: Packet analysis {"connection_id":148696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:58:51] local.INFO: Extracted packet for processing {"connection_id":148696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:58:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:58:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":148696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:58:51] local.INFO: GPS data processed {"connection_id":148696,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:58:51] local.INFO: Acknowledgment sent {"connection_id":148696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:59:09] local.INFO: TCP Data received {"connection_id":151352,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:59:09] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:59:09] local.INFO: IMEI packet received {"connection_id":151352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 21:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":151352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:59:13] local.INFO: TCP Data received {"connection_id":148914,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:59:13] local.INFO: Processing buffer {"connection_id":148914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:59:13] local.INFO: IMEI packet received {"connection_id":148914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 21:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":148914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 21:59:14] local.INFO: TCP Data received {"connection_id":151352,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:59:14] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 21:59:14] local.INFO: IMEI packet received {"connection_id":151352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 21:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":151352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:59:15] local.INFO: TCP Data received {"connection_id":151352,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:59:15] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:59:15] local.INFO: Packet analysis {"connection_id":151352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:59:15] local.INFO: Extracted packet for processing {"connection_id":151352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202360064001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947020000,"timestamp_ms":1785947020000,"timestamp_seconds":1785947020,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bcdae0"} 
[2026-08-05 21:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202360064001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202360064001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:59:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202360064001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":151352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:59:15] local.INFO: GPS data processed {"connection_id":151352,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:59:15] local.INFO: Acknowledgment sent {"connection_id":151352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:59:19] local.INFO: TCP Data received {"connection_id":148914,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:59:19] local.INFO: Processing buffer {"connection_id":148914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 21:59:19] local.INFO: IMEI packet received {"connection_id":148914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 21:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":148914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 21:59:20] local.INFO: TCP Data received {"connection_id":148914,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:59:20] local.INFO: Processing buffer {"connection_id":148914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:59:20] local.INFO: Packet analysis {"connection_id":148914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:59:20] local.INFO: Extracted packet for processing {"connection_id":148914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:59:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:59: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:59:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":148914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:59:20] local.INFO: GPS data processed {"connection_id":148914,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:59:20] local.INFO: Acknowledgment sent {"connection_id":148914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:59:44] local.INFO: TCP Data received {"connection_id":148912,"ip":"42.106.6.24","data_length":1590,"data_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148912,"packet_length":1590,"packet_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:59:44] local.INFO: Processing buffer {"connection_id":148912,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fd2bcdae0012d196840071fef08003f010928..."} 
[2026-08-05 21:59:44] local.INFO: Packet analysis {"connection_id":148912,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:59:44] local.INFO: Extracted packet for processing {"connection_id":148912,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202360064001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785947020000,"timestamp_ms":1785947020000,"timestamp_seconds":1785947020,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bcdae0"} 
[2026-08-05 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-08-05 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202360064001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202360064001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:59:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202360064001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":148912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:59:44] local.INFO: GPS data processed {"connection_id":148912,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:59:44] local.INFO: Acknowledgment sent {"connection_id":148912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:59:44] local.INFO: Packet analysis {"connection_id":148912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:59:44] local.INFO: Extracted packet for processing {"connection_id":148912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bc"} 
[2026-08-05 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 21:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202360064001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785947020000,"timestamp_ms":1785947020000,"timestamp_seconds":1785947020,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bcdae0"} 
[2026-08-05 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-08-05 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 21:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202360064001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202360064001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:59:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202360064001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":148912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:59:45] local.INFO: GPS data processed {"connection_id":148912,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:59:45] local.INFO: Acknowledgment sent {"connection_id":148912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:59:46] local.INFO: TCP Data received {"connection_id":151352,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 21:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 21:59:46] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 21:59:46] local.INFO: Packet analysis {"connection_id":151352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 21:59:46] local.INFO: Extracted packet for processing {"connection_id":151352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 21:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 21: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-08-05 21:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202437120001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59: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-08-05 21:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947321000,"timestamp_ms":1785947321000,"timestamp_seconds":1785947321,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c172a8"} 
[2026-08-05 21:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21: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-08-05 21:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 21:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 21:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 21:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202437120001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 21:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 21:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 21:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202437120001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:59:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 21:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 21:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 21:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202437120001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 21:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":151352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:59:46] local.INFO: GPS data processed {"connection_id":151352,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:59:46] local.INFO: Acknowledgment sent {"connection_id":151352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 21:59:51] local.INFO: TCP Data received {"connection_id":148914,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:59:51] local.INFO: Processing buffer {"connection_id":148914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2bd6398012d77ab8005f2a6b80009010827..."} 
[2026-08-05 21:59:51] local.INFO: Packet analysis {"connection_id":148914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:59:51] local.INFO: Extracted packet for processing {"connection_id":148914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2bd"} 
[2026-08-05 21:59:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":9,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 21:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 21:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202369024001,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 21:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 21:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785947055000,"timestamp_ms":1785947055000,"timestamp_seconds":1785947055,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2bd6398"} 
[2026-08-05 21:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 21:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 21:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 21:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 21:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 21:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 21:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 21:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 21:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 21:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 21:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 21:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202369024001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 21:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 21:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 21:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202369024001,"description":"Unknown IO ID 0"} 
[2026-08-05 21:59:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 21:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 21:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 21:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202369024001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 21:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":148914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 21:59:51] local.INFO: GPS data processed {"connection_id":148914,"processed":1,"errors":0,"total":1} 
[2026-08-05 21:59:51] local.INFO: Acknowledgment sent {"connection_id":148914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:00:14] local.INFO: TCP Data received {"connection_id":149916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:00:14] local.INFO: Processing buffer {"connection_id":149916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:00:14] local.INFO: IMEI packet received {"connection_id":149916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":149916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:00:19] local.INFO: TCP Data received {"connection_id":149917,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:00:19] local.INFO: Processing buffer {"connection_id":149917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:00:19] local.INFO: IMEI packet received {"connection_id":149917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":149917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:00:19] local.INFO: TCP Data received {"connection_id":149916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:00:19] local.INFO: Processing buffer {"connection_id":149916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:00:19] local.INFO: IMEI packet received {"connection_id":149916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":149916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:00:22] local.INFO: TCP Data received {"connection_id":149916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:00:22] local.INFO: Processing buffer {"connection_id":149916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:00:22] local.INFO: Packet analysis {"connection_id":149916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:00:22] local.INFO: Extracted packet for processing {"connection_id":149916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202437120001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785947321000,"timestamp_ms":1785947321000,"timestamp_seconds":1785947321,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c172a8"} 
[2026-08-05 22:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":149916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":149916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":149916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202437120001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202437120001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:00:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202437120001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":149916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:00:22] local.INFO: GPS data processed {"connection_id":149916,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:00:22] local.INFO: Acknowledgment sent {"connection_id":149916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:00:24] local.INFO: TCP Data received {"connection_id":149917,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:00:24] local.INFO: Processing buffer {"connection_id":149917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:00:24] local.INFO: IMEI packet received {"connection_id":149917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":149917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:00:25] local.INFO: TCP Data received {"connection_id":149917,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:00:25] local.INFO: Processing buffer {"connection_id":149917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:00:25] local.INFO: Packet analysis {"connection_id":149917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:00:25] local.INFO: Extracted packet for processing {"connection_id":149917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:00:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785947356000,"timestamp_ms":1785947356000,"timestamp_seconds":1785947356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c1fb60"} 
[2026-08-05 22:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202446080001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:00:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202446080001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":149917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:00:25] local.INFO: GPS data processed {"connection_id":149917,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:00:25] local.INFO: Acknowledgment sent {"connection_id":149917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:00:29] local.INFO: TCP Data received {"connection_id":149917,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:00:29] local.INFO: Processing buffer {"connection_id":149917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:00:29] local.INFO: Packet analysis {"connection_id":149917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:00:29] local.INFO: Extracted packet for processing {"connection_id":149917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:00:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785947356000,"timestamp_ms":1785947356000,"timestamp_seconds":1785947356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c1fb60"} 
[2026-08-05 22:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202446080001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:00:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202446080001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":149917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:00:30] local.INFO: GPS data processed {"connection_id":149917,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:00:30] local.INFO: Acknowledgment sent {"connection_id":149917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:00:53] local.INFO: TCP Data received {"connection_id":149916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:00:53] local.INFO: Processing buffer {"connection_id":149916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:00:53] local.INFO: Packet analysis {"connection_id":149916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:00:53] local.INFO: Extracted packet for processing {"connection_id":149916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202437120001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785947321000,"timestamp_ms":1785947321000,"timestamp_seconds":1785947321,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c172a8"} 
[2026-08-05 22:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":149916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":149916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":149916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202437120001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202437120001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:00:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202437120001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":149916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:00:54] local.INFO: GPS data processed {"connection_id":149916,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:00:54] local.INFO: Acknowledgment sent {"connection_id":149916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:01:09] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:01:09] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:01:09] local.INFO: IMEI packet received {"connection_id":151353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":151353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:01:14] local.INFO: TCP Data received {"connection_id":151354,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:01:14] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:01:14] local.INFO: IMEI packet received {"connection_id":151354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":151354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:01:14] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:01:14] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:01:14] local.INFO: IMEI packet received {"connection_id":151353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":151353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:01:15] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:01:15] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:01:15] local.INFO: Packet analysis {"connection_id":151353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:01:15] local.INFO: Extracted packet for processing {"connection_id":151353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202437120001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947321000,"timestamp_ms":1785947321000,"timestamp_seconds":1785947321,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c172a8"} 
[2026-08-05 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-08-05 22:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202437120001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202437120001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:01:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202437120001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":151353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:01:15] local.INFO: GPS data processed {"connection_id":151353,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:01:15] local.INFO: Acknowledgment sent {"connection_id":151353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:01:19] local.INFO: TCP Data received {"connection_id":151354,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:01:19] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:01:19] local.INFO: IMEI packet received {"connection_id":151354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":151354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:01:20] local.INFO: TCP Data received {"connection_id":151354,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:01:20] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:01:20] local.INFO: Packet analysis {"connection_id":151354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:01:20] local.INFO: Extracted packet for processing {"connection_id":151354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:01:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947356000,"timestamp_ms":1785947356000,"timestamp_seconds":1785947356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c1fb60"} 
[2026-08-05 22:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202446080001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:01:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202446080001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":151354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:01:20] local.INFO: GPS data processed {"connection_id":151354,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:01:20] local.INFO: Acknowledgment sent {"connection_id":151354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:01:25] local.INFO: TCP Data received {"connection_id":151354,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:01:25] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:01:25] local.INFO: Packet analysis {"connection_id":151354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:01:25] local.INFO: Extracted packet for processing {"connection_id":151354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:01:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785947356000,"timestamp_ms":1785947356000,"timestamp_seconds":1785947356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c1fb60"} 
[2026-08-05 22:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202446080001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:01:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202446080001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":151354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:01:25] local.INFO: GPS data processed {"connection_id":151354,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:01:25] local.INFO: Acknowledgment sent {"connection_id":151354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:01:46] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:01:46] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:01:46] local.INFO: Packet analysis {"connection_id":151353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:01:46] local.INFO: Extracted packet for processing {"connection_id":151353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202437120001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01: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-08-05 22:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947321000,"timestamp_ms":1785947321000,"timestamp_seconds":1785947321,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c172a8"} 
[2026-08-05 22:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22: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-08-05 22:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202437120001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202437120001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:01:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202437120001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":151353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:01:46] local.INFO: GPS data processed {"connection_id":151353,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:01:46] local.INFO: Acknowledgment sent {"connection_id":151353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:01:56] local.INFO: TCP Data received {"connection_id":151354,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:01:56] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:01:56] local.INFO: Packet analysis {"connection_id":151354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:01:56] local.INFO: Extracted packet for processing {"connection_id":151354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:01:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785947356000,"timestamp_ms":1785947356000,"timestamp_seconds":1785947356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c1fb60"} 
[2026-08-05 22:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202446080001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:01:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202446080001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":151354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:01:56] local.INFO: GPS data processed {"connection_id":151354,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:01:56] local.INFO: Acknowledgment sent {"connection_id":151354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:02:10] local.INFO: TCP Data received {"connection_id":151355,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:02:10] local.INFO: Processing buffer {"connection_id":151355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:02:10] local.INFO: IMEI packet received {"connection_id":151355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":151355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:02:14] local.INFO: TCP Data received {"connection_id":149918,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:02:14] local.INFO: Processing buffer {"connection_id":149918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:02:14] local.INFO: IMEI packet received {"connection_id":149918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":149918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:02:14] local.INFO: TCP Data received {"connection_id":151355,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:02:14] local.INFO: Processing buffer {"connection_id":151355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:02:14] local.INFO: IMEI packet received {"connection_id":151355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":151355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:02:15] local.INFO: TCP Data received {"connection_id":151355,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:02:15] local.INFO: Processing buffer {"connection_id":151355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:02:15] local.INFO: Packet analysis {"connection_id":151355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:02:15] local.INFO: Extracted packet for processing {"connection_id":151355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202437120001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947321000,"timestamp_ms":1785947321000,"timestamp_seconds":1785947321,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c172a8"} 
[2026-08-05 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-08-05 22:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202437120001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202437120001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:02:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202437120001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":151355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:02:15] local.INFO: GPS data processed {"connection_id":151355,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:02:15] local.INFO: Acknowledgment sent {"connection_id":151355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:02:19] local.INFO: TCP Data received {"connection_id":149918,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:02:19] local.INFO: Processing buffer {"connection_id":149918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:02:19] local.INFO: IMEI packet received {"connection_id":149918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":149918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:02:20] local.INFO: TCP Data received {"connection_id":149918,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:02:20] local.INFO: Processing buffer {"connection_id":149918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:02:20] local.INFO: Packet analysis {"connection_id":149918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:02:20] local.INFO: Extracted packet for processing {"connection_id":149918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:02:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947356000,"timestamp_ms":1785947356000,"timestamp_seconds":1785947356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c1fb60"} 
[2026-08-05 22:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202446080001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:02:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202446080001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":149918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:02:20] local.INFO: GPS data processed {"connection_id":149918,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:02:20] local.INFO: Acknowledgment sent {"connection_id":149918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:02:46] local.INFO: TCP Data received {"connection_id":151355,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:02:46] local.INFO: Processing buffer {"connection_id":151355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:02:46] local.INFO: Packet analysis {"connection_id":151355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:02:46] local.INFO: Extracted packet for processing {"connection_id":151355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202437120001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02: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-08-05 22:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947321000,"timestamp_ms":1785947321000,"timestamp_seconds":1785947321,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c172a8"} 
[2026-08-05 22:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202437120001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202437120001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:02:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202437120001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":151355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:02:46] local.INFO: GPS data processed {"connection_id":151355,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:02:46] local.INFO: Acknowledgment sent {"connection_id":151355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:02:51] local.INFO: TCP Data received {"connection_id":149918,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:02:51] local.INFO: Processing buffer {"connection_id":149918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:02:51] local.INFO: Packet analysis {"connection_id":149918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:02:51] local.INFO: Extracted packet for processing {"connection_id":149918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:02:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785947356000,"timestamp_ms":1785947356000,"timestamp_seconds":1785947356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c1fb60"} 
[2026-08-05 22:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202446080001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:02:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202446080001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":149918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:02:51] local.INFO: GPS data processed {"connection_id":149918,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:02:51] local.INFO: Acknowledgment sent {"connection_id":149918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:03:09] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:03:09] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:03:09] local.INFO: IMEI packet received {"connection_id":148697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":148697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:03:14] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:03:14] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:03:14] local.INFO: IMEI packet received {"connection_id":148697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":148697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:03:15] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:03:15] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:03:15] local.INFO: Packet analysis {"connection_id":148697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:03:15] local.INFO: Extracted packet for processing {"connection_id":148697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202437120001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947321000,"timestamp_ms":1785947321000,"timestamp_seconds":1785947321,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c172a8"} 
[2026-08-05 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-08-05 22:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202437120001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202437120001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:03:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202437120001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":148697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:03:15] local.INFO: GPS data processed {"connection_id":148697,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:03:15] local.INFO: Acknowledgment sent {"connection_id":148697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:03:19] local.INFO: TCP Data received {"connection_id":148915,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:03:19] local.INFO: Processing buffer {"connection_id":148915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:03:19] local.INFO: IMEI packet received {"connection_id":148915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":148915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:03:24] local.INFO: TCP Data received {"connection_id":148915,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:03:24] local.INFO: Processing buffer {"connection_id":148915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:03:24] local.INFO: IMEI packet received {"connection_id":148915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":148915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:03:25] local.INFO: TCP Data received {"connection_id":148915,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:03:25] local.INFO: Processing buffer {"connection_id":148915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:03:25] local.INFO: Packet analysis {"connection_id":148915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:03:25] local.INFO: Extracted packet for processing {"connection_id":148915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:03:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785947356000,"timestamp_ms":1785947356000,"timestamp_seconds":1785947356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c1fb60"} 
[2026-08-05 22:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202446080001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:03:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202446080001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":148915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:03:25] local.INFO: GPS data processed {"connection_id":148915,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:03:25] local.INFO: Acknowledgment sent {"connection_id":148915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:03:29] local.INFO: TCP Data received {"connection_id":148915,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:03:29] local.INFO: Processing buffer {"connection_id":148915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:03:29] local.INFO: Packet analysis {"connection_id":148915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:03:29] local.INFO: Extracted packet for processing {"connection_id":148915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:03:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785947356000,"timestamp_ms":1785947356000,"timestamp_seconds":1785947356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c1fb60"} 
[2026-08-05 22:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202446080001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:03:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202446080001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":148915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:03:29] local.INFO: GPS data processed {"connection_id":148915,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:03:29] local.INFO: Acknowledgment sent {"connection_id":148915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:03:46] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:03:46] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:03:46] local.INFO: Packet analysis {"connection_id":148697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:03:46] local.INFO: Extracted packet for processing {"connection_id":148697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202437120001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:03: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-08-05 22:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947321000,"timestamp_ms":1785947321000,"timestamp_seconds":1785947321,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c172a8"} 
[2026-08-05 22:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202437120001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202437120001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:03:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202437120001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":148697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:03:46] local.INFO: GPS data processed {"connection_id":148697,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:03:46] local.INFO: Acknowledgment sent {"connection_id":148697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:04:09] local.INFO: TCP Data received {"connection_id":148916,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:04:09] local.INFO: Processing buffer {"connection_id":148916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:04:09] local.INFO: IMEI packet received {"connection_id":148916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":148916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:04:14] local.INFO: TCP Data received {"connection_id":148916,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:04:14] local.INFO: Processing buffer {"connection_id":148916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:04:14] local.INFO: IMEI packet received {"connection_id":148916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":148916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:04:14] local.INFO: TCP Data received {"connection_id":148917,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:04:14] local.INFO: Processing buffer {"connection_id":148917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:04:14] local.INFO: IMEI packet received {"connection_id":148917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":148917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:04:15] local.INFO: TCP Data received {"connection_id":148916,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:04:15] local.INFO: Processing buffer {"connection_id":148916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c172a8012d196840071fef08003f010929..."} 
[2026-08-05 22:04:15] local.INFO: Packet analysis {"connection_id":148916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:04:15] local.INFO: Extracted packet for processing {"connection_id":148916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202437120001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947321000,"timestamp_ms":1785947321000,"timestamp_seconds":1785947321,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c172a8"} 
[2026-08-05 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-08-05 22:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202437120001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202437120001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:04:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202437120001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":148916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:04:15] local.INFO: GPS data processed {"connection_id":148916,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:04:15] local.INFO: Acknowledgment sent {"connection_id":148916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:04:19] local.INFO: TCP Data received {"connection_id":148917,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:04:19] local.INFO: Processing buffer {"connection_id":148917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:04:19] local.INFO: IMEI packet received {"connection_id":148917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":148917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:04:20] local.INFO: TCP Data received {"connection_id":148917,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:04:20] local.INFO: Processing buffer {"connection_id":148917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:04:20] local.INFO: Packet analysis {"connection_id":148917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:04:20] local.INFO: Extracted packet for processing {"connection_id":148917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:04:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947356000,"timestamp_ms":1785947356000,"timestamp_seconds":1785947356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c1fb60"} 
[2026-08-05 22:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202446080001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:04:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202446080001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":148917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:04:20] local.INFO: GPS data processed {"connection_id":148917,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:04:20] local.INFO: Acknowledgment sent {"connection_id":148917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:04:51] local.INFO: TCP Data received {"connection_id":148917,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:04:51] local.INFO: Processing buffer {"connection_id":148917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c1fb60012d77ab8005f2a6b8001901082b..."} 
[2026-08-05 22:04:51] local.INFO: Packet analysis {"connection_id":148917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:04:51] local.INFO: Extracted packet for processing {"connection_id":148917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c1"} 
[2026-08-05 22:04:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202446080001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785947356000,"timestamp_ms":1785947356000,"timestamp_seconds":1785947356,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c1fb60"} 
[2026-08-05 22:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202446080001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202446080001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:04:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202446080001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":148917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:04:51] local.INFO: GPS data processed {"connection_id":148917,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:04:51] local.INFO: Acknowledgment sent {"connection_id":148917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:04:54] local.INFO: TCP Data received {"connection_id":148916,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:04:54] local.INFO: Processing buffer {"connection_id":148916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:04:54] local.INFO: Packet analysis {"connection_id":148916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:04:54] local.INFO: Extracted packet for processing {"connection_id":148916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:04:54] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202514176001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785947622000,"timestamp_ms":1785947622000,"timestamp_seconds":1785947622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c60a70"} 
[2026-08-05 22:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202514176001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202514176001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:04:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:04:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202514176001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":148916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:04:54] local.INFO: GPS data processed {"connection_id":148916,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:04:54] local.INFO: Acknowledgment sent {"connection_id":148916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:05:13] local.INFO: TCP Data received {"connection_id":148698,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:05:13] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:05:13] local.INFO: IMEI packet received {"connection_id":148698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":148698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:05:14] local.INFO: TCP Data received {"connection_id":149919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:05:14] local.INFO: Processing buffer {"connection_id":149919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:05:14] local.INFO: IMEI packet received {"connection_id":149919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":149919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:05:19] local.INFO: TCP Data received {"connection_id":149919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:05:19] local.INFO: Processing buffer {"connection_id":149919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:05:19] local.INFO: IMEI packet received {"connection_id":149919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":149919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:05:19] local.INFO: TCP Data received {"connection_id":148698,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:05:19] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:05:19] local.INFO: IMEI packet received {"connection_id":148698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":148698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:05:20] local.INFO: TCP Data received {"connection_id":149919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:05:20] local.INFO: Processing buffer {"connection_id":149919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:05:20] local.INFO: Packet analysis {"connection_id":149919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:05:20] local.INFO: Extracted packet for processing {"connection_id":149919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202514176001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947622000,"timestamp_ms":1785947622000,"timestamp_seconds":1785947622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c60a70"} 
[2026-08-05 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-08-05 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202514176001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202514176001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:05:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202514176001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:05:20] local.INFO: TCP Data received {"connection_id":148698,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:05:20] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:05:20] local.INFO: Packet analysis {"connection_id":148698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:05:20] local.INFO: Extracted packet for processing {"connection_id":148698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947657000,"timestamp_ms":1785947657000,"timestamp_seconds":1785947657,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c69328"} 
[2026-08-05 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-08-05 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202523136001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":149919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:05:20] local.INFO: GPS data processed {"connection_id":149919,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:05:20] local.INFO: Acknowledgment sent {"connection_id":149919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:05:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202523136001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":148698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:05:20] local.INFO: GPS data processed {"connection_id":148698,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:05:20] local.INFO: Acknowledgment sent {"connection_id":148698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:05:24] local.INFO: TCP Data received {"connection_id":149919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:05:24] local.INFO: Processing buffer {"connection_id":149919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:05:24] local.INFO: Packet analysis {"connection_id":149919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:05:24] local.INFO: Extracted packet for processing {"connection_id":149919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202514176001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785947622000,"timestamp_ms":1785947622000,"timestamp_seconds":1785947622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c60a70"} 
[2026-08-05 22:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202514176001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202514176001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:05:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202514176001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":149919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:05:24] local.INFO: GPS data processed {"connection_id":149919,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:05:24] local.INFO: Acknowledgment sent {"connection_id":149919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:05:51] local.INFO: TCP Data received {"connection_id":148698,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:05:51] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:05:51] local.INFO: Packet analysis {"connection_id":148698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:05:51] local.INFO: Extracted packet for processing {"connection_id":148698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:05:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785947657000,"timestamp_ms":1785947657000,"timestamp_seconds":1785947657,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c69328"} 
[2026-08-05 22:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202523136001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:05:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202523136001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":148698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:05:51] local.INFO: GPS data processed {"connection_id":148698,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:05:51] local.INFO: Acknowledgment sent {"connection_id":148698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:06:09] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:06:09] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:06:09] local.INFO: IMEI packet received {"connection_id":151356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":151356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:06:14] local.INFO: TCP Data received {"connection_id":149920,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:06:14] local.INFO: Processing buffer {"connection_id":149920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:06:14] local.INFO: IMEI packet received {"connection_id":149920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":149920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:06:14] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:06:14] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:06:14] local.INFO: IMEI packet received {"connection_id":151356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":151356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:06:14] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:06:14] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:06:14] local.INFO: Packet analysis {"connection_id":151356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:06:14] local.INFO: Extracted packet for processing {"connection_id":151356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202514176001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06: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-08-05 22:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785947622000,"timestamp_ms":1785947622000,"timestamp_seconds":1785947622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c60a70"} 
[2026-08-05 22:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202514176001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202514176001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:06:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202514176001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":151356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:06:15] local.INFO: GPS data processed {"connection_id":151356,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:06:15] local.INFO: Acknowledgment sent {"connection_id":151356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:06:19] local.INFO: TCP Data received {"connection_id":149920,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:06:19] local.INFO: Processing buffer {"connection_id":149920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:06:19] local.INFO: IMEI packet received {"connection_id":149920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":149920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:06:20] local.INFO: TCP Data received {"connection_id":149920,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:06:20] local.INFO: Processing buffer {"connection_id":149920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:06:20] local.INFO: Packet analysis {"connection_id":149920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:06:20] local.INFO: Extracted packet for processing {"connection_id":149920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:06:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947657000,"timestamp_ms":1785947657000,"timestamp_seconds":1785947657,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c69328"} 
[2026-08-05 22:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202523136001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:06:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202523136001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":149920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:06:20] local.INFO: GPS data processed {"connection_id":149920,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:06:20] local.INFO: Acknowledgment sent {"connection_id":149920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:06:46] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:06:46] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:06:46] local.INFO: Packet analysis {"connection_id":151356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:06:46] local.INFO: Extracted packet for processing {"connection_id":151356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202514176001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06: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-08-05 22:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947622000,"timestamp_ms":1785947622000,"timestamp_seconds":1785947622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c60a70"} 
[2026-08-05 22:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202514176001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202514176001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:06:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202514176001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":151356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:06:46] local.INFO: GPS data processed {"connection_id":151356,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:06:46] local.INFO: Acknowledgment sent {"connection_id":151356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:06:51] local.INFO: TCP Data received {"connection_id":149920,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:06:51] local.INFO: Processing buffer {"connection_id":149920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:06:51] local.INFO: Packet analysis {"connection_id":149920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:06:51] local.INFO: Extracted packet for processing {"connection_id":149920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:06:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785947657000,"timestamp_ms":1785947657000,"timestamp_seconds":1785947657,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c69328"} 
[2026-08-05 22:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202523136001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:06:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202523136001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":149920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:06:51] local.INFO: GPS data processed {"connection_id":149920,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:06:51] local.INFO: Acknowledgment sent {"connection_id":149920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:07:09] local.INFO: TCP Data received {"connection_id":149921,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:07:09] local.INFO: Processing buffer {"connection_id":149921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:07:09] local.INFO: IMEI packet received {"connection_id":149921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":149921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:07:13] local.INFO: TCP Data received {"connection_id":148699,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:07:13] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:07:13] local.INFO: IMEI packet received {"connection_id":148699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":148699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:07:14] local.INFO: TCP Data received {"connection_id":149921,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:07:14] local.INFO: Processing buffer {"connection_id":149921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:07:14] local.INFO: IMEI packet received {"connection_id":149921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":149921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:07:15] local.INFO: TCP Data received {"connection_id":149921,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:07:15] local.INFO: Processing buffer {"connection_id":149921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:07:15] local.INFO: Packet analysis {"connection_id":149921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:07:15] local.INFO: Extracted packet for processing {"connection_id":149921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202514176001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947622000,"timestamp_ms":1785947622000,"timestamp_seconds":1785947622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c60a70"} 
[2026-08-05 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-08-05 22:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202514176001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202514176001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:07:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202514176001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":149921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:07:15] local.INFO: GPS data processed {"connection_id":149921,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:07:15] local.INFO: Acknowledgment sent {"connection_id":149921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:07:19] local.INFO: TCP Data received {"connection_id":148699,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:07:19] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:07:19] local.INFO: IMEI packet received {"connection_id":148699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":148699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:07:20] local.INFO: TCP Data received {"connection_id":148699,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:07:20] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:07:20] local.INFO: Packet analysis {"connection_id":148699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:07:20] local.INFO: Extracted packet for processing {"connection_id":148699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:07:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947657000,"timestamp_ms":1785947657000,"timestamp_seconds":1785947657,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c69328"} 
[2026-08-05 22:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202523136001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:07:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202523136001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":148699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:07:20] local.INFO: GPS data processed {"connection_id":148699,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:07:20] local.INFO: Acknowledgment sent {"connection_id":148699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:07:46] local.INFO: TCP Data received {"connection_id":149921,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:07:46] local.INFO: Processing buffer {"connection_id":149921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:07:46] local.INFO: Packet analysis {"connection_id":149921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:07:46] local.INFO: Extracted packet for processing {"connection_id":149921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202514176001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07: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-08-05 22:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947622000,"timestamp_ms":1785947622000,"timestamp_seconds":1785947622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c60a70"} 
[2026-08-05 22:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202514176001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202514176001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:07:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202514176001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":149921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:07:46] local.INFO: GPS data processed {"connection_id":149921,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:07:46] local.INFO: Acknowledgment sent {"connection_id":149921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:07:51] local.INFO: TCP Data received {"connection_id":148699,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:07:51] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:07:51] local.INFO: Packet analysis {"connection_id":148699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:07:51] local.INFO: Extracted packet for processing {"connection_id":148699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:07:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785947657000,"timestamp_ms":1785947657000,"timestamp_seconds":1785947657,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c69328"} 
[2026-08-05 22:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202523136001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:07:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202523136001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":148699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:07:51] local.INFO: GPS data processed {"connection_id":148699,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:07:51] local.INFO: Acknowledgment sent {"connection_id":148699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:08:09] local.INFO: TCP Data received {"connection_id":148918,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:08:09] local.INFO: Processing buffer {"connection_id":148918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:08:09] local.INFO: IMEI packet received {"connection_id":148918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":148918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:08:14] local.INFO: TCP Data received {"connection_id":148918,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:08:14] local.INFO: Processing buffer {"connection_id":148918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:08:14] local.INFO: IMEI packet received {"connection_id":148918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":148918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:08:15] local.INFO: TCP Data received {"connection_id":148918,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:08:15] local.INFO: Processing buffer {"connection_id":148918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:08:15] local.INFO: Packet analysis {"connection_id":148918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:08:15] local.INFO: Extracted packet for processing {"connection_id":148918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202514176001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947622000,"timestamp_ms":1785947622000,"timestamp_seconds":1785947622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c60a70"} 
[2026-08-05 22:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:08: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-08-05 22:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202514176001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"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-08-05 22:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202514176001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:08:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202514176001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":148918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:08:15] local.INFO: GPS data processed {"connection_id":148918,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:08:15] local.INFO: Acknowledgment sent {"connection_id":148918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:08:19] local.INFO: TCP Data received {"connection_id":149922,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:08:19] local.INFO: Processing buffer {"connection_id":149922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:08:19] local.INFO: IMEI packet received {"connection_id":149922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":149922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:08:24] local.INFO: TCP Data received {"connection_id":149922,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:08:24] local.INFO: Processing buffer {"connection_id":149922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:08:24] local.INFO: IMEI packet received {"connection_id":149922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":149922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:08:25] local.INFO: TCP Data received {"connection_id":149922,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:08:25] local.INFO: Processing buffer {"connection_id":149922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:08:25] local.INFO: Packet analysis {"connection_id":149922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:08:25] local.INFO: Extracted packet for processing {"connection_id":149922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:08:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785947657000,"timestamp_ms":1785947657000,"timestamp_seconds":1785947657,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c69328"} 
[2026-08-05 22:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202523136001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:08:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202523136001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":149922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:08:25] local.INFO: GPS data processed {"connection_id":149922,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:08:25] local.INFO: Acknowledgment sent {"connection_id":149922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:08:35] local.INFO: TCP Data received {"connection_id":149922,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:08:35] local.INFO: Processing buffer {"connection_id":149922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:08:35] local.INFO: Packet analysis {"connection_id":149922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:08:35] local.INFO: Extracted packet for processing {"connection_id":149922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:08:35] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785947657000,"timestamp_ms":1785947657000,"timestamp_seconds":1785947657,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c69328"} 
[2026-08-05 22:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202523136001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:08:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202523136001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":149922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:08:36] local.INFO: GPS data processed {"connection_id":149922,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:08:36] local.INFO: Acknowledgment sent {"connection_id":149922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:08:46] local.INFO: TCP Data received {"connection_id":148918,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:08:46] local.INFO: Processing buffer {"connection_id":148918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:08:46] local.INFO: Packet analysis {"connection_id":148918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:08:46] local.INFO: Extracted packet for processing {"connection_id":148918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202514176001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:08: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-08-05 22:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947622000,"timestamp_ms":1785947622000,"timestamp_seconds":1785947622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c60a70"} 
[2026-08-05 22:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:08: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-08-05 22:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202514176001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"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-08-05 22:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202514176001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:08:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202514176001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":148918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:08:46] local.INFO: GPS data processed {"connection_id":148918,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:08:46] local.INFO: Acknowledgment sent {"connection_id":148918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:09:09] local.INFO: TCP Data received {"connection_id":151357,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:09:09] local.INFO: Processing buffer {"connection_id":151357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:09:09] local.INFO: IMEI packet received {"connection_id":151357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":151357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:09:14] local.INFO: TCP Data received {"connection_id":151357,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:09:14] local.INFO: Processing buffer {"connection_id":151357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:09:14] local.INFO: IMEI packet received {"connection_id":151357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":151357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:09:15] local.INFO: TCP Data received {"connection_id":149923,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:09:15] local.INFO: Processing buffer {"connection_id":149923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:09:15] local.INFO: IMEI packet received {"connection_id":149923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":149923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:09:15] local.INFO: TCP Data received {"connection_id":151357,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:09:15] local.INFO: Processing buffer {"connection_id":151357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c60a70012d196840071fef08003f010927..."} 
[2026-08-05 22:09:15] local.INFO: Packet analysis {"connection_id":151357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:09:15] local.INFO: Extracted packet for processing {"connection_id":151357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202514176001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947622000,"timestamp_ms":1785947622000,"timestamp_seconds":1785947622,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c60a70"} 
[2026-08-05 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-08-05 22:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:09: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-08-05 22:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202514176001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"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-08-05 22:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202514176001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:09:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202514176001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":151357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:09:15] local.INFO: GPS data processed {"connection_id":151357,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:09:15] local.INFO: Acknowledgment sent {"connection_id":151357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:09:19] local.INFO: TCP Data received {"connection_id":149923,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:09:19] local.INFO: Processing buffer {"connection_id":149923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:09:19] local.INFO: IMEI packet received {"connection_id":149923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":149923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:09:20] local.INFO: TCP Data received {"connection_id":149923,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:09:20] local.INFO: Processing buffer {"connection_id":149923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:09:20] local.INFO: Packet analysis {"connection_id":149923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:09:20] local.INFO: Extracted packet for processing {"connection_id":149923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:09:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947657000,"timestamp_ms":1785947657000,"timestamp_seconds":1785947657,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c69328"} 
[2026-08-05 22:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202523136001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:09:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202523136001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":149923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:09:20] local.INFO: GPS data processed {"connection_id":149923,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:09:20] local.INFO: Acknowledgment sent {"connection_id":149923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:09:46] local.INFO: TCP Data received {"connection_id":151357,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:09:46] local.INFO: Processing buffer {"connection_id":151357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:09:46] local.INFO: Packet analysis {"connection_id":151357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:09:46] local.INFO: Extracted packet for processing {"connection_id":151357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202591232001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09: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-08-05 22:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947923000,"timestamp_ms":1785947923000,"timestamp_seconds":1785947923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2caa238"} 
[2026-08-05 22:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:09: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-08-05 22:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202591232001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"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-08-05 22:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202591232001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:09:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202591232001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":151357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:09:46] local.INFO: GPS data processed {"connection_id":151357,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:09:46] local.INFO: Acknowledgment sent {"connection_id":151357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:09:51] local.INFO: TCP Data received {"connection_id":149923,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:09:51] local.INFO: Processing buffer {"connection_id":149923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2c69328012d77ab8005f2a6b8001a010829..."} 
[2026-08-05 22:09:51] local.INFO: Packet analysis {"connection_id":149923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:09:51] local.INFO: Extracted packet for processing {"connection_id":149923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2c6"} 
[2026-08-05 22:09:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202523136001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785947657000,"timestamp_ms":1785947657000,"timestamp_seconds":1785947657,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2c69328"} 
[2026-08-05 22:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202523136001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202523136001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:09:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202523136001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":149923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:09:51] local.INFO: GPS data processed {"connection_id":149923,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:09:51] local.INFO: Acknowledgment sent {"connection_id":149923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:10:09] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:10:09] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:10:09] local.INFO: IMEI packet received {"connection_id":151358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":151358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:10:13] local.INFO: TCP Data received {"connection_id":149924,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:10:14] local.INFO: Processing buffer {"connection_id":149924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:10:14] local.INFO: IMEI packet received {"connection_id":149924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":149924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:10:14] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:10:14] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:10:14] local.INFO: IMEI packet received {"connection_id":151358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":151358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:10:15] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:10:15] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:10:15] local.INFO: Packet analysis {"connection_id":151358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:10:15] local.INFO: Extracted packet for processing {"connection_id":151358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202591232001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947923000,"timestamp_ms":1785947923000,"timestamp_seconds":1785947923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2caa238"} 
[2026-08-05 22:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202591232001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202591232001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:10:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202591232001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":151358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:10:15] local.INFO: GPS data processed {"connection_id":151358,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:10:15] local.INFO: Acknowledgment sent {"connection_id":151358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:10:19] local.INFO: TCP Data received {"connection_id":149924,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:10:19] local.INFO: Processing buffer {"connection_id":149924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:10:19] local.INFO: IMEI packet received {"connection_id":149924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":149924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:10:20] local.INFO: TCP Data received {"connection_id":149924,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:10:20] local.INFO: Processing buffer {"connection_id":149924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:10:20] local.INFO: Packet analysis {"connection_id":149924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:10:20] local.INFO: Extracted packet for processing {"connection_id":149924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947958000,"timestamp_ms":1785947958000,"timestamp_seconds":1785947958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cb2af0"} 
[2026-08-05 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-08-05 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202600192001,"66":25441,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:10:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202600192001,"power":25441,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":149924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:10:20] local.INFO: GPS data processed {"connection_id":149924,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:10:20] local.INFO: Acknowledgment sent {"connection_id":149924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:10:46] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:10:46] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:10:46] local.INFO: Packet analysis {"connection_id":151358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:10:46] local.INFO: Extracted packet for processing {"connection_id":151358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202591232001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10: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-08-05 22:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947923000,"timestamp_ms":1785947923000,"timestamp_seconds":1785947923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2caa238"} 
[2026-08-05 22:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202591232001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202591232001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:10:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202591232001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":151358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:10:46] local.INFO: GPS data processed {"connection_id":151358,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:10:46] local.INFO: Acknowledgment sent {"connection_id":151358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:10:51] local.INFO: TCP Data received {"connection_id":149924,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:10:51] local.INFO: Processing buffer {"connection_id":149924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:10:51] local.INFO: Packet analysis {"connection_id":149924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:10:51] local.INFO: Extracted packet for processing {"connection_id":149924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:10:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785947958000,"timestamp_ms":1785947958000,"timestamp_seconds":1785947958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cb2af0"} 
[2026-08-05 22:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202600192001,"66":25441,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:10:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202600192001,"power":25441,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":149924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:10:51] local.INFO: GPS data processed {"connection_id":149924,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:10:51] local.INFO: Acknowledgment sent {"connection_id":149924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:11:14] local.INFO: TCP Data received {"connection_id":151359,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:11:14] local.INFO: Processing buffer {"connection_id":151359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:11:14] local.INFO: IMEI packet received {"connection_id":151359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":151359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:11:14] local.INFO: TCP Data received {"connection_id":149925,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:11:14] local.INFO: Processing buffer {"connection_id":149925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:11:14] local.INFO: IMEI packet received {"connection_id":149925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":149925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:11:19] local.INFO: TCP Data received {"connection_id":151359,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:11:19] local.INFO: Processing buffer {"connection_id":151359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:11:19] local.INFO: IMEI packet received {"connection_id":151359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":151359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:11:19] local.INFO: TCP Data received {"connection_id":149925,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:11:19] local.INFO: Processing buffer {"connection_id":149925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:11:19] local.INFO: IMEI packet received {"connection_id":149925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":149925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:11:20] local.INFO: TCP Data received {"connection_id":149925,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:11:20] local.INFO: Processing buffer {"connection_id":149925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:11:20] local.INFO: Packet analysis {"connection_id":149925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:11:20] local.INFO: Extracted packet for processing {"connection_id":149925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202591232001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947923000,"timestamp_ms":1785947923000,"timestamp_seconds":1785947923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2caa238"} 
[2026-08-05 22:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202591232001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202591232001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:11:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:11:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202591232001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":149925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:11:20] local.INFO: GPS data processed {"connection_id":149925,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:11:20] local.INFO: Acknowledgment sent {"connection_id":149925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:11:20] local.INFO: TCP Data received {"connection_id":151359,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:11:20] local.INFO: Processing buffer {"connection_id":151359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:11:20] local.INFO: Packet analysis {"connection_id":151359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:11:20] local.INFO: Extracted packet for processing {"connection_id":151359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:11:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947958000,"timestamp_ms":1785947958000,"timestamp_seconds":1785947958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cb2af0"} 
[2026-08-05 22:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202600192001,"66":25441,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:11:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202600192001,"power":25441,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":151359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:11:20] local.INFO: GPS data processed {"connection_id":151359,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:11:20] local.INFO: Acknowledgment sent {"connection_id":151359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:11:35] local.INFO: TCP Data received {"connection_id":149925,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:11:35] local.INFO: Processing buffer {"connection_id":149925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:11:35] local.INFO: Packet analysis {"connection_id":149925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:11:35] local.INFO: Extracted packet for processing {"connection_id":149925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202591232001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785947923000,"timestamp_ms":1785947923000,"timestamp_seconds":1785947923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2caa238"} 
[2026-08-05 22:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:11: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-08-05 22:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22: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-08-05 22:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":149925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":149925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":149925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202591232001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202591232001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:11:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202591232001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":149925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:11:35] local.INFO: GPS data processed {"connection_id":149925,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:11:35] local.INFO: Acknowledgment sent {"connection_id":149925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:11:51] local.INFO: TCP Data received {"connection_id":151359,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:11:51] local.INFO: Processing buffer {"connection_id":151359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:11:51] local.INFO: Packet analysis {"connection_id":151359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:11:51] local.INFO: Extracted packet for processing {"connection_id":151359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:11:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785947958000,"timestamp_ms":1785947958000,"timestamp_seconds":1785947958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cb2af0"} 
[2026-08-05 22:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202600192001,"66":25441,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:11:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202600192001,"power":25441,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":151359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:11:51] local.INFO: GPS data processed {"connection_id":151359,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:11:51] local.INFO: Acknowledgment sent {"connection_id":151359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:12:09] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:12:09] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:12:09] local.INFO: IMEI packet received {"connection_id":148700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":148700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:12:14] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:12:14] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:12:14] local.INFO: IMEI packet received {"connection_id":148700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":148700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:12:15] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:12:15] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:12:15] local.INFO: Packet analysis {"connection_id":148700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:12:15] local.INFO: Extracted packet for processing {"connection_id":148700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202591232001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947923000,"timestamp_ms":1785947923000,"timestamp_seconds":1785947923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2caa238"} 
[2026-08-05 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-08-05 22:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:12: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-08-05 22:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202591232001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"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-08-05 22:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202591232001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:12:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202591232001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":148700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:12:15] local.INFO: GPS data processed {"connection_id":148700,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:12:15] local.INFO: Acknowledgment sent {"connection_id":148700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:12:19] local.INFO: TCP Data received {"connection_id":148919,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:12:19] local.INFO: Processing buffer {"connection_id":148919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:12:19] local.INFO: IMEI packet received {"connection_id":148919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":148919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:12:24] local.INFO: TCP Data received {"connection_id":148919,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:12:24] local.INFO: Processing buffer {"connection_id":148919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:12:24] local.INFO: IMEI packet received {"connection_id":148919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":148919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:12:25] local.INFO: TCP Data received {"connection_id":148919,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:12:25] local.INFO: Processing buffer {"connection_id":148919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:12:25] local.INFO: Packet analysis {"connection_id":148919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:12:25] local.INFO: Extracted packet for processing {"connection_id":148919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:12:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785947958000,"timestamp_ms":1785947958000,"timestamp_seconds":1785947958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cb2af0"} 
[2026-08-05 22:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202600192001,"66":25441,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:12:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202600192001,"power":25441,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":148919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:12:25] local.INFO: GPS data processed {"connection_id":148919,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:12:25] local.INFO: Acknowledgment sent {"connection_id":148919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:12:30] local.INFO: TCP Data received {"connection_id":148919,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:12:30] local.INFO: Processing buffer {"connection_id":148919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:12:30] local.INFO: Packet analysis {"connection_id":148919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:12:30] local.INFO: Extracted packet for processing {"connection_id":148919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:12:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785947958000,"timestamp_ms":1785947958000,"timestamp_seconds":1785947958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cb2af0"} 
[2026-08-05 22:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202600192001,"66":25441,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:12:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202600192001,"power":25441,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":148919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:12:30] local.INFO: GPS data processed {"connection_id":148919,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:12:30] local.INFO: Acknowledgment sent {"connection_id":148919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:12:46] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:12:46] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:12:46] local.INFO: Packet analysis {"connection_id":148700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:12:46] local.INFO: Extracted packet for processing {"connection_id":148700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202591232001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:12: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-08-05 22:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947923000,"timestamp_ms":1785947923000,"timestamp_seconds":1785947923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2caa238"} 
[2026-08-05 22:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:12: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-08-05 22:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202591232001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"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-08-05 22:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202591232001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:12:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202591232001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":148700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:12:46] local.INFO: GPS data processed {"connection_id":148700,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:12:46] local.INFO: Acknowledgment sent {"connection_id":148700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:13:09] local.INFO: TCP Data received {"connection_id":148920,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:13:09] local.INFO: Processing buffer {"connection_id":148920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:13:09] local.INFO: IMEI packet received {"connection_id":148920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":148920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:13:13] local.INFO: TCP Data received {"connection_id":151360,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:13:13] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:13:13] local.INFO: IMEI packet received {"connection_id":151360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":151360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:13:14] local.INFO: TCP Data received {"connection_id":148920,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:13:14] local.INFO: Processing buffer {"connection_id":148920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:13:14] local.INFO: IMEI packet received {"connection_id":148920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":148920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:13:15] local.INFO: TCP Data received {"connection_id":148920,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:13:15] local.INFO: Processing buffer {"connection_id":148920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:13:15] local.INFO: Packet analysis {"connection_id":148920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:13:15] local.INFO: Extracted packet for processing {"connection_id":148920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202591232001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785947923000,"timestamp_ms":1785947923000,"timestamp_seconds":1785947923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2caa238"} 
[2026-08-05 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-08-05 22:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202591232001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202591232001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:13:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202591232001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":148920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:13:15] local.INFO: GPS data processed {"connection_id":148920,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:13:15] local.INFO: Acknowledgment sent {"connection_id":148920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:13:19] local.INFO: TCP Data received {"connection_id":151360,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:13:19] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:13:19] local.INFO: IMEI packet received {"connection_id":151360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":151360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:13:20] local.INFO: TCP Data received {"connection_id":151360,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:13:20] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:13:20] local.INFO: Packet analysis {"connection_id":151360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:13:20] local.INFO: Extracted packet for processing {"connection_id":151360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:13:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947958000,"timestamp_ms":1785947958000,"timestamp_seconds":1785947958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cb2af0"} 
[2026-08-05 22:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202600192001,"66":25441,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:13:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202600192001,"power":25441,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":151360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:13:20] local.INFO: GPS data processed {"connection_id":151360,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:13:20] local.INFO: Acknowledgment sent {"connection_id":151360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:13:46] local.INFO: TCP Data received {"connection_id":148920,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:13:46] local.INFO: Processing buffer {"connection_id":148920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:13:46] local.INFO: Packet analysis {"connection_id":148920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:13:46] local.INFO: Extracted packet for processing {"connection_id":148920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202591232001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13: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-08-05 22:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785947923000,"timestamp_ms":1785947923000,"timestamp_seconds":1785947923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2caa238"} 
[2026-08-05 22:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202591232001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202591232001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:13:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202591232001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":148920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:13:46] local.INFO: GPS data processed {"connection_id":148920,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:13:46] local.INFO: Acknowledgment sent {"connection_id":148920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:13:52] local.INFO: TCP Data received {"connection_id":151360,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:13:52] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:13:52] local.INFO: Packet analysis {"connection_id":151360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:13:52] local.INFO: Extracted packet for processing {"connection_id":151360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:13:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785947958000,"timestamp_ms":1785947958000,"timestamp_seconds":1785947958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cb2af0"} 
[2026-08-05 22:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202600192001,"66":25441,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:13:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202600192001,"power":25441,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":151360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:13:52] local.INFO: GPS data processed {"connection_id":151360,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:13:52] local.INFO: Acknowledgment sent {"connection_id":151360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:14:13] local.INFO: TCP Data received {"connection_id":149927,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:14:13] local.INFO: Processing buffer {"connection_id":149927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:14:13] local.INFO: IMEI packet received {"connection_id":149927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":149927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:14:14] local.INFO: TCP Data received {"connection_id":149926,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:14:14] local.INFO: Processing buffer {"connection_id":149926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:14:14] local.INFO: IMEI packet received {"connection_id":149926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":149926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:14:19] local.INFO: TCP Data received {"connection_id":149927,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:14:19] local.INFO: Processing buffer {"connection_id":149927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:14:19] local.INFO: IMEI packet received {"connection_id":149927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":149927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:14:19] local.INFO: TCP Data received {"connection_id":149926,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:14:19] local.INFO: Processing buffer {"connection_id":149926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:14:19] local.INFO: IMEI packet received {"connection_id":149926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":149926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:14:20] local.INFO: TCP Data received {"connection_id":149927,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:14:20] local.INFO: Processing buffer {"connection_id":149927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:14:20] local.INFO: Packet analysis {"connection_id":149927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:14:20] local.INFO: Extracted packet for processing {"connection_id":149927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:14:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947958000,"timestamp_ms":1785947958000,"timestamp_seconds":1785947958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cb2af0"} 
[2026-08-05 22:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202600192001,"66":25441,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:14:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202600192001,"power":25441,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":149927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:14:20] local.INFO: GPS data processed {"connection_id":149927,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:14:20] local.INFO: Acknowledgment sent {"connection_id":149927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:14:20] local.INFO: TCP Data received {"connection_id":149926,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:14:20] local.INFO: Processing buffer {"connection_id":149926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2caa238012d196840071fef08003f010929..."} 
[2026-08-05 22:14:20] local.INFO: Packet analysis {"connection_id":149926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:14:20] local.INFO: Extracted packet for processing {"connection_id":149926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ca"} 
[2026-08-05 22:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202591232001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785947923000,"timestamp_ms":1785947923000,"timestamp_seconds":1785947923,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2caa238"} 
[2026-08-05 22:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202591232001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202591232001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:14:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202591232001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":149926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:14:20] local.INFO: GPS data processed {"connection_id":149926,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:14:20] local.INFO: Acknowledgment sent {"connection_id":149926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:14:51] local.INFO: TCP Data received {"connection_id":149927,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:14:51] local.INFO: Processing buffer {"connection_id":149927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cb2af0012d77ab8005f2a6b8001a01082b..."} 
[2026-08-05 22:14:51] local.INFO: Packet analysis {"connection_id":149927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:14:51] local.INFO: Extracted packet for processing {"connection_id":149927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cb"} 
[2026-08-05 22:14:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202600192001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785947958000,"timestamp_ms":1785947958000,"timestamp_seconds":1785947958,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cb2af0"} 
[2026-08-05 22:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202600192001,"66":25441,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202600192001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:14:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202600192001,"power":25441,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":149927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:14:51] local.INFO: GPS data processed {"connection_id":149927,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:14:51] local.INFO: Acknowledgment sent {"connection_id":149927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:15:04] local.INFO: TCP Data received {"connection_id":148921,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:15:04] local.INFO: Processing buffer {"connection_id":148921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:15:04] local.INFO: IMEI packet received {"connection_id":148921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":148921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:15:09] local.INFO: TCP Data received {"connection_id":148921,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:15:09] local.INFO: Processing buffer {"connection_id":148921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:15:09] local.INFO: IMEI packet received {"connection_id":148921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":148921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:15:10] local.INFO: TCP Data received {"connection_id":148921,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:15:10] local.INFO: Processing buffer {"connection_id":148921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:15:10] local.INFO: Packet analysis {"connection_id":148921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:15:10] local.INFO: Extracted packet for processing {"connection_id":148921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202668288001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15: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-08-05 22:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785948224000,"timestamp_ms":1785948224000,"timestamp_seconds":1785948224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cf3a00"} 
[2026-08-05 22:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202668288001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202668288001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:15:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202668288001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":148921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:15:10] local.INFO: GPS data processed {"connection_id":148921,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:15:10] local.INFO: Acknowledgment sent {"connection_id":148921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:15:19] local.INFO: TCP Data received {"connection_id":149928,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:15:19] local.INFO: Processing buffer {"connection_id":149928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:15:19] local.INFO: IMEI packet received {"connection_id":149928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":149928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:15:23] local.INFO: TCP Data received {"connection_id":149928,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:15:23] local.INFO: Processing buffer {"connection_id":149928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:15:23] local.INFO: IMEI packet received {"connection_id":149928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":149928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:15:24] local.INFO: TCP Data received {"connection_id":149928,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:15:24] local.INFO: Processing buffer {"connection_id":149928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:15:24] local.INFO: Packet analysis {"connection_id":149928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:15:24] local.INFO: Extracted packet for processing {"connection_id":149928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:15:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785948259000,"timestamp_ms":1785948259000,"timestamp_seconds":1785948259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cfc2b8"} 
[2026-08-05 22:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 22:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202677248001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:15:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202677248001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":149928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:15:24] local.INFO: GPS data processed {"connection_id":149928,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:15:24] local.INFO: Acknowledgment sent {"connection_id":149928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:15:30] local.INFO: TCP Data received {"connection_id":149928,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:15:30] local.INFO: Processing buffer {"connection_id":149928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:15:30] local.INFO: Packet analysis {"connection_id":149928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:15:30] local.INFO: Extracted packet for processing {"connection_id":149928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:15:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785948259000,"timestamp_ms":1785948259000,"timestamp_seconds":1785948259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cfc2b8"} 
[2026-08-05 22:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 22:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202677248001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:15:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202677248001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":149928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:15:30] local.INFO: GPS data processed {"connection_id":149928,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:15:30] local.INFO: Acknowledgment sent {"connection_id":149928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:15:41] local.INFO: TCP Data received {"connection_id":148921,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:15:41] local.INFO: Processing buffer {"connection_id":148921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:15:41] local.INFO: Packet analysis {"connection_id":148921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:15:41] local.INFO: Extracted packet for processing {"connection_id":148921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202668288001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785948224000,"timestamp_ms":1785948224000,"timestamp_seconds":1785948224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cf3a00"} 
[2026-08-05 22:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202668288001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202668288001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:15:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202668288001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":148921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:15:41] local.INFO: GPS data processed {"connection_id":148921,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:15:41] local.INFO: Acknowledgment sent {"connection_id":148921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:16:09] local.INFO: TCP Data received {"connection_id":149929,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:16:09] local.INFO: Processing buffer {"connection_id":149929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:16:09] local.INFO: IMEI packet received {"connection_id":149929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":149929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:16:14] local.INFO: TCP Data received {"connection_id":149929,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:16:14] local.INFO: Processing buffer {"connection_id":149929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:16:14] local.INFO: IMEI packet received {"connection_id":149929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":149929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:16:14] local.INFO: TCP Data received {"connection_id":149930,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:16:14] local.INFO: Processing buffer {"connection_id":149930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:16:14] local.INFO: IMEI packet received {"connection_id":149930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":149930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:16:15] local.INFO: TCP Data received {"connection_id":149929,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:16:15] local.INFO: Processing buffer {"connection_id":149929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:16:15] local.INFO: Packet analysis {"connection_id":149929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:16:15] local.INFO: Extracted packet for processing {"connection_id":149929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202668288001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785948224000,"timestamp_ms":1785948224000,"timestamp_seconds":1785948224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cf3a00"} 
[2026-08-05 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-08-05 22:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202668288001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202668288001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:16:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202668288001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":149929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:16:15] local.INFO: GPS data processed {"connection_id":149929,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:16:15] local.INFO: Acknowledgment sent {"connection_id":149929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:16:19] local.INFO: TCP Data received {"connection_id":149930,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:16:19] local.INFO: Processing buffer {"connection_id":149930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:16:19] local.INFO: IMEI packet received {"connection_id":149930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":149930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:16:20] local.INFO: TCP Data received {"connection_id":149930,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:16:20] local.INFO: Processing buffer {"connection_id":149930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:16:20] local.INFO: Packet analysis {"connection_id":149930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:16:20] local.INFO: Extracted packet for processing {"connection_id":149930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:16:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948259000,"timestamp_ms":1785948259000,"timestamp_seconds":1785948259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cfc2b8"} 
[2026-08-05 22:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 22:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202677248001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:16:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202677248001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":149930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:16:20] local.INFO: GPS data processed {"connection_id":149930,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:16:20] local.INFO: Acknowledgment sent {"connection_id":149930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:16:25] local.INFO: TCP Data received {"connection_id":149930,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:16:25] local.INFO: Processing buffer {"connection_id":149930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:16:25] local.INFO: Packet analysis {"connection_id":149930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:16:25] local.INFO: Extracted packet for processing {"connection_id":149930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:16:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785948259000,"timestamp_ms":1785948259000,"timestamp_seconds":1785948259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cfc2b8"} 
[2026-08-05 22:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 22:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202677248001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:16:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202677248001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":149930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:16:25] local.INFO: GPS data processed {"connection_id":149930,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:16:25] local.INFO: Acknowledgment sent {"connection_id":149930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:16:46] local.INFO: TCP Data received {"connection_id":149929,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:16:46] local.INFO: Processing buffer {"connection_id":149929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:16:46] local.INFO: Packet analysis {"connection_id":149929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:16:46] local.INFO: Extracted packet for processing {"connection_id":149929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202668288001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16: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-08-05 22:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785948224000,"timestamp_ms":1785948224000,"timestamp_seconds":1785948224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cf3a00"} 
[2026-08-05 22:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202668288001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202668288001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:16:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202668288001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":149929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:16:46] local.INFO: GPS data processed {"connection_id":149929,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:16:46] local.INFO: Acknowledgment sent {"connection_id":149929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:16:56] local.INFO: TCP Data received {"connection_id":149930,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:16:56] local.INFO: Processing buffer {"connection_id":149930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:16:56] local.INFO: Packet analysis {"connection_id":149930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:16:56] local.INFO: Extracted packet for processing {"connection_id":149930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:16:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785948259000,"timestamp_ms":1785948259000,"timestamp_seconds":1785948259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cfc2b8"} 
[2026-08-05 22:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 22:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":149930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":149930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":149930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202677248001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:16:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202677248001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":149930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:16:56] local.INFO: GPS data processed {"connection_id":149930,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:16:56] local.INFO: Acknowledgment sent {"connection_id":149930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:17:14] local.INFO: TCP Data received {"connection_id":151361,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:17:14] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:17:14] local.INFO: IMEI packet received {"connection_id":151361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":151361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:17:14] local.INFO: TCP Data received {"connection_id":151362,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:17:14] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:17:14] local.INFO: IMEI packet received {"connection_id":151362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":151362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:17:19] local.INFO: TCP Data received {"connection_id":151362,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:17:19] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:17:19] local.INFO: IMEI packet received {"connection_id":151362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":151362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:17:19] local.INFO: TCP Data received {"connection_id":151361,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:17:19] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:17:19] local.INFO: IMEI packet received {"connection_id":151361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":151361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:17:20] local.INFO: TCP Data received {"connection_id":151361,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:17:20] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:17:20] local.INFO: Packet analysis {"connection_id":151361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:17:20] local.INFO: Extracted packet for processing {"connection_id":151361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:17:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202668288001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948224000,"timestamp_ms":1785948224000,"timestamp_seconds":1785948224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cf3a00"} 
[2026-08-05 22:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202668288001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202668288001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:17:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:17:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202668288001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":151361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:17:20] local.INFO: GPS data processed {"connection_id":151361,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:17:20] local.INFO: Acknowledgment sent {"connection_id":151361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:17:20] local.INFO: TCP Data received {"connection_id":151362,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:17:20] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:17:20] local.INFO: Packet analysis {"connection_id":151362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:17:20] local.INFO: Extracted packet for processing {"connection_id":151362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:17:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948259000,"timestamp_ms":1785948259000,"timestamp_seconds":1785948259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cfc2b8"} 
[2026-08-05 22:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 22:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202677248001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:17:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202677248001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":151362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:17:20] local.INFO: GPS data processed {"connection_id":151362,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:17:20] local.INFO: Acknowledgment sent {"connection_id":151362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:17:24] local.INFO: TCP Data received {"connection_id":151361,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:17:24] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:17:24] local.INFO: Packet analysis {"connection_id":151361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:17:24] local.INFO: Extracted packet for processing {"connection_id":151361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202668288001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785948224000,"timestamp_ms":1785948224000,"timestamp_seconds":1785948224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cf3a00"} 
[2026-08-05 22:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202668288001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202668288001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:17:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202668288001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":151361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:17:24] local.INFO: GPS data processed {"connection_id":151361,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:17:24] local.INFO: Acknowledgment sent {"connection_id":151361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:17:51] local.INFO: TCP Data received {"connection_id":151362,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:17:52] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:17:52] local.INFO: Packet analysis {"connection_id":151362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:17:52] local.INFO: Extracted packet for processing {"connection_id":151362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:17:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785948259000,"timestamp_ms":1785948259000,"timestamp_seconds":1785948259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cfc2b8"} 
[2026-08-05 22:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 22:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202677248001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:17:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202677248001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":151362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:17:52] local.INFO: GPS data processed {"connection_id":151362,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:17:52] local.INFO: Acknowledgment sent {"connection_id":151362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:18:09] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:18:09] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:18:09] local.INFO: IMEI packet received {"connection_id":148701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":148701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:18:13] local.INFO: TCP Data received {"connection_id":148702,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:18:13] local.INFO: Processing buffer {"connection_id":148702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:18:13] local.INFO: IMEI packet received {"connection_id":148702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":148702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:18:14] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:18:14] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:18:14] local.INFO: IMEI packet received {"connection_id":148701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":148701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:18:15] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:18:15] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:18:15] local.INFO: Packet analysis {"connection_id":148701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:18:15] local.INFO: Extracted packet for processing {"connection_id":148701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202668288001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785948224000,"timestamp_ms":1785948224000,"timestamp_seconds":1785948224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cf3a00"} 
[2026-08-05 22:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202668288001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202668288001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:18:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202668288001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":148701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:18:15] local.INFO: GPS data processed {"connection_id":148701,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:18:15] local.INFO: Acknowledgment sent {"connection_id":148701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:18:19] local.INFO: TCP Data received {"connection_id":148702,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:18:19] local.INFO: Processing buffer {"connection_id":148702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:18:19] local.INFO: IMEI packet received {"connection_id":148702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":148702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:18:19] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:18:19] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:18:19] local.INFO: Packet analysis {"connection_id":148701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:18:19] local.INFO: Extracted packet for processing {"connection_id":148701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202668288001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785948224000,"timestamp_ms":1785948224000,"timestamp_seconds":1785948224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cf3a00"} 
[2026-08-05 22:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202668288001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202668288001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:18:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202668288001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":148701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:18:19] local.INFO: GPS data processed {"connection_id":148701,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:18:19] local.INFO: Acknowledgment sent {"connection_id":148701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:18:20] local.INFO: TCP Data received {"connection_id":148702,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:18:20] local.INFO: Processing buffer {"connection_id":148702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:18:20] local.INFO: Packet analysis {"connection_id":148702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:18:20] local.INFO: Extracted packet for processing {"connection_id":148702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:18:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948259000,"timestamp_ms":1785948259000,"timestamp_seconds":1785948259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cfc2b8"} 
[2026-08-05 22:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 22:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202677248001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:18:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202677248001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":148702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:18:20] local.INFO: GPS data processed {"connection_id":148702,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:18:20] local.INFO: Acknowledgment sent {"connection_id":148702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:18:51] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:18:51] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:18:51] local.INFO: Packet analysis {"connection_id":148701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:18:51] local.INFO: Extracted packet for processing {"connection_id":148701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202668288001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785948224000,"timestamp_ms":1785948224000,"timestamp_seconds":1785948224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cf3a00"} 
[2026-08-05 22:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202668288001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202668288001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:18:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202668288001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":148701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:18:51] local.INFO: GPS data processed {"connection_id":148701,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:18:51] local.INFO: Acknowledgment sent {"connection_id":148701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:18:52] local.INFO: TCP Data received {"connection_id":148702,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:18:52] local.INFO: Processing buffer {"connection_id":148702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:18:52] local.INFO: Packet analysis {"connection_id":148702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:18:52] local.INFO: Extracted packet for processing {"connection_id":148702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:18:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785948259000,"timestamp_ms":1785948259000,"timestamp_seconds":1785948259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cfc2b8"} 
[2026-08-05 22:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 22:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202677248001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:18:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202677248001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":148702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:18:52] local.INFO: GPS data processed {"connection_id":148702,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:18:52] local.INFO: Acknowledgment sent {"connection_id":148702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:19:09] local.INFO: TCP Data received {"connection_id":148922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:19:09] local.INFO: Processing buffer {"connection_id":148922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:19:09] local.INFO: IMEI packet received {"connection_id":148922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":148922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:19:13] local.INFO: TCP Data received {"connection_id":151363,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:19:13] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:19:13] local.INFO: IMEI packet received {"connection_id":151363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":151363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:19:14] local.INFO: TCP Data received {"connection_id":148922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:19:14] local.INFO: Processing buffer {"connection_id":148922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:19:14] local.INFO: IMEI packet received {"connection_id":148922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":148922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:19:15] local.INFO: TCP Data received {"connection_id":148922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:19:15] local.INFO: Processing buffer {"connection_id":148922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cf3a00012d196840071fef08003f010924..."} 
[2026-08-05 22:19:15] local.INFO: Packet analysis {"connection_id":148922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:19:15] local.INFO: Extracted packet for processing {"connection_id":148922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202668288001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785948224000,"timestamp_ms":1785948224000,"timestamp_seconds":1785948224,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cf3a00"} 
[2026-08-05 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-08-05 22:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202668288001,"66":2166,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202668288001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:19:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202668288001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":148922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:19:15] local.INFO: GPS data processed {"connection_id":148922,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:19:15] local.INFO: Acknowledgment sent {"connection_id":148922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:19:19] local.INFO: TCP Data received {"connection_id":151363,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:19:19] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:19:19] local.INFO: IMEI packet received {"connection_id":151363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":151363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:19:25] local.INFO: TCP Data received {"connection_id":151363,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:19:25] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:19:25] local.INFO: Packet analysis {"connection_id":151363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:19:25] local.INFO: Extracted packet for processing {"connection_id":151363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:19:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785948259000,"timestamp_ms":1785948259000,"timestamp_seconds":1785948259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cfc2b8"} 
[2026-08-05 22:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-05 22:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202677248001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:19:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202677248001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":151363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:19:25] local.INFO: GPS data processed {"connection_id":151363,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:19:25] local.INFO: Acknowledgment sent {"connection_id":151363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:19:46] local.INFO: TCP Data received {"connection_id":148922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:19:46] local.INFO: Processing buffer {"connection_id":148922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:19:46] local.INFO: Packet analysis {"connection_id":148922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:19:46] local.INFO: Extracted packet for processing {"connection_id":148922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202745344001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19: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-08-05 22:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785948525000,"timestamp_ms":1785948525000,"timestamp_seconds":1785948525,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d3d1c8"} 
[2026-08-05 22:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:19: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-08-05 22:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202745344001,"66":2144,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202745344001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:19:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202745344001,"power":2144,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":148922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:19:46] local.INFO: GPS data processed {"connection_id":148922,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:19:46] local.INFO: Acknowledgment sent {"connection_id":148922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:19:56] local.INFO: TCP Data received {"connection_id":151363,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:19:56] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2cfc2b8012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:19:56] local.INFO: Packet analysis {"connection_id":151363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:19:56] local.INFO: Extracted packet for processing {"connection_id":151363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2cf"} 
[2026-08-05 22:19:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202677248001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785948259000,"timestamp_ms":1785948259000,"timestamp_seconds":1785948259,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2cfc2b8"} 
[2026-08-05 22:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":97,"data_length":795,"current_offset":136} 
[2026-08-05 22:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202677248001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202677248001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:19:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202677248001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":151363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:19:57] local.INFO: GPS data processed {"connection_id":151363,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:19:57] local.INFO: Acknowledgment sent {"connection_id":151363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:20:09] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:20:09] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:20:09] local.INFO: IMEI packet received {"connection_id":151364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":151364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:20:14] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:20:14] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:20:14] local.INFO: IMEI packet received {"connection_id":151364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":151364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:20:15] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:20:15] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:20:15] local.INFO: Packet analysis {"connection_id":151364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:20:15] local.INFO: Extracted packet for processing {"connection_id":151364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202745344001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785948525000,"timestamp_ms":1785948525000,"timestamp_seconds":1785948525,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d3d1c8"} 
[2026-08-05 22:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202745344001,"66":2144,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202745344001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:20:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202745344001,"power":2144,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":151364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:20:15] local.INFO: GPS data processed {"connection_id":151364,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:20:15] local.INFO: Acknowledgment sent {"connection_id":151364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:20:19] local.INFO: TCP Data received {"connection_id":148703,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:20:19] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:20:19] local.INFO: IMEI packet received {"connection_id":148703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":148703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:20:24] local.INFO: TCP Data received {"connection_id":148703,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:20:24] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:20:24] local.INFO: IMEI packet received {"connection_id":148703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":148703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:20:25] local.INFO: TCP Data received {"connection_id":148703,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:20:25] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:20:25] local.INFO: Packet analysis {"connection_id":148703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:20:25] local.INFO: Extracted packet for processing {"connection_id":148703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:20:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785948560000,"timestamp_ms":1785948560000,"timestamp_seconds":1785948560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d45a80"} 
[2026-08-05 22:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202754304001,"66":25071,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:20:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202754304001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":148703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:20:25] local.INFO: GPS data processed {"connection_id":148703,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:20:25] local.INFO: Acknowledgment sent {"connection_id":148703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:20:30] local.INFO: TCP Data received {"connection_id":148703,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:20:30] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:20:30] local.INFO: Packet analysis {"connection_id":148703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:20:30] local.INFO: Extracted packet for processing {"connection_id":148703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:20:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785948560000,"timestamp_ms":1785948560000,"timestamp_seconds":1785948560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d45a80"} 
[2026-08-05 22:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202754304001,"66":25071,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:20:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202754304001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":148703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:20:30] local.INFO: GPS data processed {"connection_id":148703,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:20:30] local.INFO: Acknowledgment sent {"connection_id":148703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:20:46] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:20:46] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:20:46] local.INFO: Packet analysis {"connection_id":151364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:20:46] local.INFO: Extracted packet for processing {"connection_id":151364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202745344001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:20: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-08-05 22:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785948525000,"timestamp_ms":1785948525000,"timestamp_seconds":1785948525,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d3d1c8"} 
[2026-08-05 22:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:20: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-08-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202745344001,"66":2144,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202745344001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:20:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202745344001,"power":2144,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":151364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:20:46] local.INFO: GPS data processed {"connection_id":151364,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:20:46] local.INFO: Acknowledgment sent {"connection_id":151364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:21:09] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:21:09] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:21:09] local.INFO: IMEI packet received {"connection_id":148704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":148704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:21:14] local.INFO: TCP Data received {"connection_id":149931,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:21:14] local.INFO: Processing buffer {"connection_id":149931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:21:14] local.INFO: IMEI packet received {"connection_id":149931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":149931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:21:14] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:21:14] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:21:14] local.INFO: IMEI packet received {"connection_id":148704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":148704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:21:15] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:21:15] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:21:15] local.INFO: Packet analysis {"connection_id":148704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:21:15] local.INFO: Extracted packet for processing {"connection_id":148704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202745344001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785948525000,"timestamp_ms":1785948525000,"timestamp_seconds":1785948525,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d3d1c8"} 
[2026-08-05 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-08-05 22:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202745344001,"66":2144,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202745344001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:21:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202745344001,"power":2144,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":148704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:21:15] local.INFO: GPS data processed {"connection_id":148704,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:21:15] local.INFO: Acknowledgment sent {"connection_id":148704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:21:19] local.INFO: TCP Data received {"connection_id":149931,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:21:19] local.INFO: Processing buffer {"connection_id":149931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:21:19] local.INFO: IMEI packet received {"connection_id":149931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":149931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:21:20] local.INFO: TCP Data received {"connection_id":149931,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:21:20] local.INFO: Processing buffer {"connection_id":149931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:21:20] local.INFO: Packet analysis {"connection_id":149931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:21:20] local.INFO: Extracted packet for processing {"connection_id":149931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:21:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948560000,"timestamp_ms":1785948560000,"timestamp_seconds":1785948560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d45a80"} 
[2026-08-05 22:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202754304001,"66":25071,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:21:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202754304001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":149931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:21:20] local.INFO: GPS data processed {"connection_id":149931,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:21:20] local.INFO: Acknowledgment sent {"connection_id":149931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:21:52] local.INFO: TCP Data received {"connection_id":149931,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:21:52] local.INFO: Processing buffer {"connection_id":149931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:21:52] local.INFO: Packet analysis {"connection_id":149931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:21:52] local.INFO: Extracted packet for processing {"connection_id":149931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:21:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785948560000,"timestamp_ms":1785948560000,"timestamp_seconds":1785948560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d45a80"} 
[2026-08-05 22:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202754304001,"66":25071,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:21:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202754304001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":149931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:21:52] local.INFO: GPS data processed {"connection_id":149931,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:21:52] local.INFO: Acknowledgment sent {"connection_id":149931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:21:57] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:21:57] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:21:57] local.INFO: Packet analysis {"connection_id":148704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:21:57] local.INFO: Extracted packet for processing {"connection_id":148704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202745344001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785948525000,"timestamp_ms":1785948525000,"timestamp_seconds":1785948525,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d3d1c8"} 
[2026-08-05 22:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202745344001,"66":2144,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202745344001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:21:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202745344001,"power":2144,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":148704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:21:57] local.INFO: GPS data processed {"connection_id":148704,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:21:57] local.INFO: Acknowledgment sent {"connection_id":148704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:22:13] local.INFO: TCP Data received {"connection_id":148706,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:22:13] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:22:13] local.INFO: IMEI packet received {"connection_id":148706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":148706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:22:14] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:22:14] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:22:14] local.INFO: IMEI packet received {"connection_id":148705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":148705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:22:19] local.INFO: TCP Data received {"connection_id":148706,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:22:19] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:22:19] local.INFO: IMEI packet received {"connection_id":148706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":148706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:22:19] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:22:19] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:22:19] local.INFO: IMEI packet received {"connection_id":148705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":148705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:22:20] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:22:20] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:22:20] local.INFO: Packet analysis {"connection_id":148705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:22:20] local.INFO: Extracted packet for processing {"connection_id":148705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202745344001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948525000,"timestamp_ms":1785948525000,"timestamp_seconds":1785948525,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d3d1c8"} 
[2026-08-05 22:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202745344001,"66":2144,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202745344001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:22:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202745344001,"power":2144,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":148705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:22:20] local.INFO: GPS data processed {"connection_id":148705,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:22:20] local.INFO: Acknowledgment sent {"connection_id":148705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:22:20] local.INFO: TCP Data received {"connection_id":148706,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:22:20] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:22:20] local.INFO: Packet analysis {"connection_id":148706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:22:20] local.INFO: Extracted packet for processing {"connection_id":148706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:22:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948560000,"timestamp_ms":1785948560000,"timestamp_seconds":1785948560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d45a80"} 
[2026-08-05 22:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202754304001,"66":25071,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:22:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202754304001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":148706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:22:20] local.INFO: GPS data processed {"connection_id":148706,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:22:20] local.INFO: Acknowledgment sent {"connection_id":148706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:22:51] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:22:51] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:22:51] local.INFO: Packet analysis {"connection_id":148705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:22:51] local.INFO: Extracted packet for processing {"connection_id":148705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202745344001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785948525000,"timestamp_ms":1785948525000,"timestamp_seconds":1785948525,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d3d1c8"} 
[2026-08-05 22:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202745344001,"66":2144,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202745344001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:22:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202745344001,"power":2144,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":148705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:22:51] local.INFO: GPS data processed {"connection_id":148705,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:22:51] local.INFO: Acknowledgment sent {"connection_id":148705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:22:51] local.INFO: TCP Data received {"connection_id":148706,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:22:51] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:22:51] local.INFO: Packet analysis {"connection_id":148706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:22:51] local.INFO: Extracted packet for processing {"connection_id":148706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:22:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785948560000,"timestamp_ms":1785948560000,"timestamp_seconds":1785948560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d45a80"} 
[2026-08-05 22:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202754304001,"66":25071,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:22:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202754304001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":148706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:22:51] local.INFO: GPS data processed {"connection_id":148706,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:22:51] local.INFO: Acknowledgment sent {"connection_id":148706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:23:09] local.INFO: TCP Data received {"connection_id":149932,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:23:09] local.INFO: Processing buffer {"connection_id":149932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:23:09] local.INFO: IMEI packet received {"connection_id":149932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":149932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:23:13] local.INFO: TCP Data received {"connection_id":151365,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:23:13] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:23:13] local.INFO: IMEI packet received {"connection_id":151365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":151365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:23:14] local.INFO: TCP Data received {"connection_id":149932,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:23:14] local.INFO: Processing buffer {"connection_id":149932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:23:14] local.INFO: IMEI packet received {"connection_id":149932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":149932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:23:15] local.INFO: TCP Data received {"connection_id":149932,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:23:15] local.INFO: Processing buffer {"connection_id":149932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:23:15] local.INFO: Packet analysis {"connection_id":149932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:23:15] local.INFO: Extracted packet for processing {"connection_id":149932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202745344001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785948525000,"timestamp_ms":1785948525000,"timestamp_seconds":1785948525,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d3d1c8"} 
[2026-08-05 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-08-05 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202745344001,"66":2144,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202745344001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:23:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202745344001,"power":2144,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":149932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:23:15] local.INFO: GPS data processed {"connection_id":149932,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:23:15] local.INFO: Acknowledgment sent {"connection_id":149932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:23:19] local.INFO: TCP Data received {"connection_id":151365,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:23:19] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:23:19] local.INFO: IMEI packet received {"connection_id":151365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":151365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:23:20] local.INFO: TCP Data received {"connection_id":151365,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:23:20] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:23:20] local.INFO: Packet analysis {"connection_id":151365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:23:20] local.INFO: Extracted packet for processing {"connection_id":151365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:23:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948560000,"timestamp_ms":1785948560000,"timestamp_seconds":1785948560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d45a80"} 
[2026-08-05 22:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202754304001,"66":25071,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:23:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202754304001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":151365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:23:20] local.INFO: GPS data processed {"connection_id":151365,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:23:20] local.INFO: Acknowledgment sent {"connection_id":151365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:23:46] local.INFO: TCP Data received {"connection_id":149932,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:23:46] local.INFO: Processing buffer {"connection_id":149932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:23:46] local.INFO: Packet analysis {"connection_id":149932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:23:46] local.INFO: Extracted packet for processing {"connection_id":149932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202745344001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23: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-08-05 22:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785948525000,"timestamp_ms":1785948525000,"timestamp_seconds":1785948525,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d3d1c8"} 
[2026-08-05 22:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:23: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-08-05 22:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202745344001,"66":2144,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202745344001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:23:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202745344001,"power":2144,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":149932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:23:46] local.INFO: GPS data processed {"connection_id":149932,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:23:46] local.INFO: Acknowledgment sent {"connection_id":149932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:23:51] local.INFO: TCP Data received {"connection_id":151365,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:23:51] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:23:51] local.INFO: Packet analysis {"connection_id":151365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:23:51] local.INFO: Extracted packet for processing {"connection_id":151365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:23:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785948560000,"timestamp_ms":1785948560000,"timestamp_seconds":1785948560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d45a80"} 
[2026-08-05 22:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202754304001,"66":25071,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:23:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202754304001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":151365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:23:51] local.INFO: GPS data processed {"connection_id":151365,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:23:51] local.INFO: Acknowledgment sent {"connection_id":151365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:24:09] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:24:09] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:24:09] local.INFO: IMEI packet received {"connection_id":148707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":148707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:24:14] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:24:14] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:24:14] local.INFO: IMEI packet received {"connection_id":148707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":148707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:24:15] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:24:15] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d3d1c8012d196840071fef08003f010929..."} 
[2026-08-05 22:24:15] local.INFO: Packet analysis {"connection_id":148707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:24:15] local.INFO: Extracted packet for processing {"connection_id":148707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d3"} 
[2026-08-05 22:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202745344001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785948525000,"timestamp_ms":1785948525000,"timestamp_seconds":1785948525,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d3d1c8"} 
[2026-08-05 22:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-05 22:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202745344001,"66":2144,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202745344001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:24:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202745344001,"power":2144,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":148707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:24:15] local.INFO: GPS data processed {"connection_id":148707,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:24:15] local.INFO: Acknowledgment sent {"connection_id":148707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:24:19] local.INFO: TCP Data received {"connection_id":148923,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:24:19] local.INFO: Processing buffer {"connection_id":148923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:24:19] local.INFO: IMEI packet received {"connection_id":148923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":148923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:24:25] local.INFO: TCP Data received {"connection_id":148923,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:24:25] local.INFO: Processing buffer {"connection_id":148923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:24:25] local.INFO: IMEI packet received {"connection_id":148923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":148923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:24:26] local.INFO: TCP Data received {"connection_id":148923,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:24:26] local.INFO: Processing buffer {"connection_id":148923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:24:26] local.INFO: Packet analysis {"connection_id":148923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:24:26] local.INFO: Extracted packet for processing {"connection_id":148923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:24:26] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785948560000,"timestamp_ms":1785948560000,"timestamp_seconds":1785948560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d45a80"} 
[2026-08-05 22:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202754304001,"66":25071,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:24:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202754304001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":148923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:24:26] local.INFO: GPS data processed {"connection_id":148923,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:24:26] local.INFO: Acknowledgment sent {"connection_id":148923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:24:29] local.INFO: TCP Data received {"connection_id":148923,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:24:29] local.INFO: Processing buffer {"connection_id":148923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d45a80012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:24:29] local.INFO: Packet analysis {"connection_id":148923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:24:29] local.INFO: Extracted packet for processing {"connection_id":148923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d4"} 
[2026-08-05 22:24:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202754304001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785948560000,"timestamp_ms":1785948560000,"timestamp_seconds":1785948560,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d45a80"} 
[2026-08-05 22:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202754304001,"66":25071,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202754304001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:24:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202754304001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":148923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:24:29] local.INFO: GPS data processed {"connection_id":148923,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:24:29] local.INFO: Acknowledgment sent {"connection_id":148923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:24:46] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:24:46] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:24:46] local.INFO: Packet analysis {"connection_id":148707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:24:46] local.INFO: Extracted packet for processing {"connection_id":148707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202822400001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:24: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-08-05 22:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785948826000,"timestamp_ms":1785948826000,"timestamp_seconds":1785948826,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d86990"} 
[2026-08-05 22:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:24: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-08-05 22:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 22:24: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-08-05 22: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-08-05 22:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202822400001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202822400001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:24:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202822400001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":148707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:24:46] local.INFO: GPS data processed {"connection_id":148707,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:24:46] local.INFO: Acknowledgment sent {"connection_id":148707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:25:09] local.INFO: TCP Data received {"connection_id":149933,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:25:09] local.INFO: Processing buffer {"connection_id":149933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:25:09] local.INFO: IMEI packet received {"connection_id":149933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":149933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:25:14] local.INFO: TCP Data received {"connection_id":149933,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:25:14] local.INFO: Processing buffer {"connection_id":149933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:25:14] local.INFO: IMEI packet received {"connection_id":149933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":149933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:25:14] local.INFO: TCP Data received {"connection_id":149934,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:25:14] local.INFO: Processing buffer {"connection_id":149934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:25:14] local.INFO: IMEI packet received {"connection_id":149934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":149934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:25:15] local.INFO: TCP Data received {"connection_id":149933,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:25:15] local.INFO: Processing buffer {"connection_id":149933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:25:15] local.INFO: Packet analysis {"connection_id":149933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:25:15] local.INFO: Extracted packet for processing {"connection_id":149933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202822400001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785948826000,"timestamp_ms":1785948826000,"timestamp_seconds":1785948826,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d86990"} 
[2026-08-05 22:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 22:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202822400001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202822400001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:25:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202822400001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":149933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:25:15] local.INFO: GPS data processed {"connection_id":149933,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:25:15] local.INFO: Acknowledgment sent {"connection_id":149933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:25:19] local.INFO: TCP Data received {"connection_id":149934,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:25:19] local.INFO: Processing buffer {"connection_id":149934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:25:19] local.INFO: IMEI packet received {"connection_id":149934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":149934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:25:20] local.INFO: TCP Data received {"connection_id":149934,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:25:20] local.INFO: Processing buffer {"connection_id":149934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:25:20] local.INFO: Packet analysis {"connection_id":149934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:25:20] local.INFO: Extracted packet for processing {"connection_id":149934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:25:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948861000,"timestamp_ms":1785948861000,"timestamp_seconds":1785948861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d8f248"} 
[2026-08-05 22:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:25: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 22:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202831360001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:25:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202831360001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":149934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:25:20] local.INFO: GPS data processed {"connection_id":149934,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:25:20] local.INFO: Acknowledgment sent {"connection_id":149934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:25:46] local.INFO: TCP Data received {"connection_id":149933,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:25:46] local.INFO: Processing buffer {"connection_id":149933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:25:46] local.INFO: Packet analysis {"connection_id":149933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:25:46] local.INFO: Extracted packet for processing {"connection_id":149933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202822400001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25: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-08-05 22:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785948826000,"timestamp_ms":1785948826000,"timestamp_seconds":1785948826,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d86990"} 
[2026-08-05 22:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:25: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-08-05 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 22:25: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-08-05 22:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202822400001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202822400001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:25:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202822400001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":149933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:25:46] local.INFO: GPS data processed {"connection_id":149933,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:25:46] local.INFO: Acknowledgment sent {"connection_id":149933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:25:51] local.INFO: TCP Data received {"connection_id":149934,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:25:51] local.INFO: Processing buffer {"connection_id":149934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:25:51] local.INFO: Packet analysis {"connection_id":149934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:25:51] local.INFO: Extracted packet for processing {"connection_id":149934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:25:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785948861000,"timestamp_ms":1785948861000,"timestamp_seconds":1785948861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d8f248"} 
[2026-08-05 22:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 22:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202831360001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:25:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202831360001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":149934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:25:51] local.INFO: GPS data processed {"connection_id":149934,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:25:51] local.INFO: Acknowledgment sent {"connection_id":149934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:26:09] local.INFO: TCP Data received {"connection_id":149935,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:26:09] local.INFO: Processing buffer {"connection_id":149935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:26:09] local.INFO: IMEI packet received {"connection_id":149935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":149935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:26:13] local.INFO: TCP Data received {"connection_id":148924,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:26:13] local.INFO: Processing buffer {"connection_id":148924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:26:13] local.INFO: IMEI packet received {"connection_id":148924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":148924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:26:14] local.INFO: TCP Data received {"connection_id":149935,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:26:14] local.INFO: Processing buffer {"connection_id":149935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:26:14] local.INFO: IMEI packet received {"connection_id":149935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":149935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:26:15] local.INFO: TCP Data received {"connection_id":149935,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:26:15] local.INFO: Processing buffer {"connection_id":149935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:26:15] local.INFO: Packet analysis {"connection_id":149935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:26:15] local.INFO: Extracted packet for processing {"connection_id":149935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202822400001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785948826000,"timestamp_ms":1785948826000,"timestamp_seconds":1785948826,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d86990"} 
[2026-08-05 22:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 22:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202822400001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202822400001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:26:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202822400001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":149935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:26:15] local.INFO: GPS data processed {"connection_id":149935,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:26:15] local.INFO: Acknowledgment sent {"connection_id":149935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:26:19] local.INFO: TCP Data received {"connection_id":148924,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:26:19] local.INFO: Processing buffer {"connection_id":148924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:26:19] local.INFO: IMEI packet received {"connection_id":148924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":148924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:26:20] local.INFO: TCP Data received {"connection_id":148924,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:26:20] local.INFO: Processing buffer {"connection_id":148924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:26:20] local.INFO: Packet analysis {"connection_id":148924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:26:20] local.INFO: Extracted packet for processing {"connection_id":148924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:26:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948861000,"timestamp_ms":1785948861000,"timestamp_seconds":1785948861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d8f248"} 
[2026-08-05 22:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 22:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202831360001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:26:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202831360001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":148924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:26:20] local.INFO: GPS data processed {"connection_id":148924,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:26:20] local.INFO: Acknowledgment sent {"connection_id":148924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:26:46] local.INFO: TCP Data received {"connection_id":149935,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:26:46] local.INFO: Processing buffer {"connection_id":149935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:26:46] local.INFO: Packet analysis {"connection_id":149935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:26:46] local.INFO: Extracted packet for processing {"connection_id":149935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202822400001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26: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-08-05 22:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785948826000,"timestamp_ms":1785948826000,"timestamp_seconds":1785948826,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d86990"} 
[2026-08-05 22:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:26: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-08-05 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 22:26: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-08-05 22: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-08-05 22:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202822400001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202822400001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:26:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202822400001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":149935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:26:46] local.INFO: GPS data processed {"connection_id":149935,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:26:46] local.INFO: Acknowledgment sent {"connection_id":149935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:26:52] local.INFO: TCP Data received {"connection_id":148924,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:26:52] local.INFO: Processing buffer {"connection_id":148924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:26:52] local.INFO: Packet analysis {"connection_id":148924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:26:52] local.INFO: Extracted packet for processing {"connection_id":148924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:26:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785948861000,"timestamp_ms":1785948861000,"timestamp_seconds":1785948861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d8f248"} 
[2026-08-05 22:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 22:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202831360001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:26:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202831360001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":148924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:26:52] local.INFO: GPS data processed {"connection_id":148924,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:26:52] local.INFO: Acknowledgment sent {"connection_id":148924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:27:13] local.INFO: TCP Data received {"connection_id":151367,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:27:13] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:27:13] local.INFO: IMEI packet received {"connection_id":151367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":151367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:27:14] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:27:14] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:27:14] local.INFO: IMEI packet received {"connection_id":151366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":151366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:27:19] local.INFO: TCP Data received {"connection_id":151367,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:27:19] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:27:19] local.INFO: IMEI packet received {"connection_id":151367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":151367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:27:19] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:27:19] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:27:19] local.INFO: IMEI packet received {"connection_id":151366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":151366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:27:20] local.INFO: TCP Data received {"connection_id":151367,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:27:20] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:27:20] local.INFO: Packet analysis {"connection_id":151367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:27:20] local.INFO: Extracted packet for processing {"connection_id":151367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:27:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948861000,"timestamp_ms":1785948861000,"timestamp_seconds":1785948861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d8f248"} 
[2026-08-05 22:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 22:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202831360001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:27:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202831360001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":151367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:27:20] local.INFO: GPS data processed {"connection_id":151367,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:27:20] local.INFO: Acknowledgment sent {"connection_id":151367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:27:24] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:27:24] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:27:24] local.INFO: Packet analysis {"connection_id":151366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:27:24] local.INFO: Extracted packet for processing {"connection_id":151366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:27:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202822400001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785948826000,"timestamp_ms":1785948826000,"timestamp_seconds":1785948826,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d86990"} 
[2026-08-05 22:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 22:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202822400001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202822400001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:27:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:27:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202822400001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":151366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:27:24] local.INFO: GPS data processed {"connection_id":151366,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:27:24] local.INFO: Acknowledgment sent {"connection_id":151366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:27:25] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:27:25] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:27:25] local.INFO: Packet analysis {"connection_id":151366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:27:25] local.INFO: Extracted packet for processing {"connection_id":151366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:27:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202822400001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785948826000,"timestamp_ms":1785948826000,"timestamp_seconds":1785948826,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d86990"} 
[2026-08-05 22:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 22:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202822400001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202822400001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:27:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:27:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202822400001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":151366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:27:25] local.INFO: GPS data processed {"connection_id":151366,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:27:25] local.INFO: Acknowledgment sent {"connection_id":151366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:27:51] local.INFO: TCP Data received {"connection_id":151367,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:27:51] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:27:51] local.INFO: Packet analysis {"connection_id":151367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:27:51] local.INFO: Extracted packet for processing {"connection_id":151367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:27:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785948861000,"timestamp_ms":1785948861000,"timestamp_seconds":1785948861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d8f248"} 
[2026-08-05 22:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 22:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202831360001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:27:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202831360001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":151367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:27:51] local.INFO: GPS data processed {"connection_id":151367,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:27:51] local.INFO: Acknowledgment sent {"connection_id":151367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:28:09] local.INFO: TCP Data received {"connection_id":151368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:28:09] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:28:09] local.INFO: IMEI packet received {"connection_id":151368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":151368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:28:14] local.INFO: TCP Data received {"connection_id":151368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:28:14] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:28:14] local.INFO: IMEI packet received {"connection_id":151368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":151368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:28:19] local.INFO: TCP Data received {"connection_id":151368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:28:19] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:28:19] local.INFO: IMEI packet received {"connection_id":151368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":151368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:28:19] local.INFO: TCP Data received {"connection_id":149936,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:28:19] local.INFO: Processing buffer {"connection_id":149936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:28:19] local.INFO: IMEI packet received {"connection_id":149936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":149936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:28:24] local.INFO: TCP Data received {"connection_id":149936,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:28:24] local.INFO: Processing buffer {"connection_id":149936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:28:24] local.INFO: IMEI packet received {"connection_id":149936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":149936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:28:24] local.INFO: TCP Data received {"connection_id":151368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:28:24] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:28:24] local.INFO: Packet analysis {"connection_id":151368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:28:24] local.INFO: Extracted packet for processing {"connection_id":151368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202822400001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785948826000,"timestamp_ms":1785948826000,"timestamp_seconds":1785948826,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d86990"} 
[2026-08-05 22:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 22:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202822400001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202822400001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:28:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202822400001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":151368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:28:24] local.INFO: GPS data processed {"connection_id":151368,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:28:24] local.INFO: Acknowledgment sent {"connection_id":151368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:28:25] local.INFO: TCP Data received {"connection_id":149936,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:28:25] local.INFO: Processing buffer {"connection_id":149936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:28:25] local.INFO: Packet analysis {"connection_id":149936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:28:25] local.INFO: Extracted packet for processing {"connection_id":149936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:28:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785948861000,"timestamp_ms":1785948861000,"timestamp_seconds":1785948861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d8f248"} 
[2026-08-05 22:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 22:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202831360001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:28:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202831360001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":149936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:28:25] local.INFO: GPS data processed {"connection_id":149936,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:28:25] local.INFO: Acknowledgment sent {"connection_id":149936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:28:30] local.INFO: TCP Data received {"connection_id":149936,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:28:30] local.INFO: Processing buffer {"connection_id":149936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:28:30] local.INFO: Packet analysis {"connection_id":149936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:28:30] local.INFO: Extracted packet for processing {"connection_id":149936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:28:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785948861000,"timestamp_ms":1785948861000,"timestamp_seconds":1785948861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d8f248"} 
[2026-08-05 22:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 22:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202831360001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:28:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202831360001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":149936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:28:30] local.INFO: GPS data processed {"connection_id":149936,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:28:30] local.INFO: Acknowledgment sent {"connection_id":149936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:29:09] local.INFO: TCP Data received {"connection_id":149937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:29:09] local.INFO: Processing buffer {"connection_id":149937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:29:09] local.INFO: IMEI packet received {"connection_id":149937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":149937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:29:14] local.INFO: TCP Data received {"connection_id":149937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:29:14] local.INFO: Processing buffer {"connection_id":149937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:29:14] local.INFO: IMEI packet received {"connection_id":149937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":149937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:29:14] local.INFO: TCP Data received {"connection_id":151369,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:29:14] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:29:14] local.INFO: IMEI packet received {"connection_id":151369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":151369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:29:15] local.INFO: TCP Data received {"connection_id":149937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:29:15] local.INFO: Processing buffer {"connection_id":149937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d86990012d196840071fef08003f010926..."} 
[2026-08-05 22:29:15] local.INFO: Packet analysis {"connection_id":149937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:29:15] local.INFO: Extracted packet for processing {"connection_id":149937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202822400001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785948826000,"timestamp_ms":1785948826000,"timestamp_seconds":1785948826,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d86990"} 
[2026-08-05 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-08-05 22:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-05 22:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":149937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":149937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":149937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202822400001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202822400001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:29:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202822400001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":149937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:29:15] local.INFO: GPS data processed {"connection_id":149937,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:29:15] local.INFO: Acknowledgment sent {"connection_id":149937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:29:19] local.INFO: TCP Data received {"connection_id":151369,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:29:19] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:29:19] local.INFO: IMEI packet received {"connection_id":151369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":151369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:29:20] local.INFO: TCP Data received {"connection_id":151369,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:29:20] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:29:20] local.INFO: Packet analysis {"connection_id":151369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:29:20] local.INFO: Extracted packet for processing {"connection_id":151369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:29:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785948861000,"timestamp_ms":1785948861000,"timestamp_seconds":1785948861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d8f248"} 
[2026-08-05 22:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 22:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202831360001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:29:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202831360001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":151369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:29:20] local.INFO: GPS data processed {"connection_id":151369,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:29:20] local.INFO: Acknowledgment sent {"connection_id":151369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:29:45] local.INFO: TCP Data received {"connection_id":149937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:29:45] local.INFO: Processing buffer {"connection_id":149937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:29:45] local.INFO: Packet analysis {"connection_id":149937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:29:45] local.INFO: Extracted packet for processing {"connection_id":149937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202899456001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29: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-08-05 22:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785949127000,"timestamp_ms":1785949127000,"timestamp_seconds":1785949127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd0158"} 
[2026-08-05 22:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 22:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202899456001,"66":2133,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202899456001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:29:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202899456001,"power":2133,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":149937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:29:45] local.INFO: GPS data processed {"connection_id":149937,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:29:45] local.INFO: Acknowledgment sent {"connection_id":149937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:29:52] local.INFO: TCP Data received {"connection_id":151369,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:29:52] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2d8f248012d77ab8005f2a6b8001a010827..."} 
[2026-08-05 22:29:52] local.INFO: Packet analysis {"connection_id":151369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:29:52] local.INFO: Extracted packet for processing {"connection_id":151369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2d8"} 
[2026-08-05 22:29:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202831360001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785948861000,"timestamp_ms":1785948861000,"timestamp_seconds":1785948861,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2d8f248"} 
[2026-08-05 22:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-05 22:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202831360001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202831360001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:29:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202831360001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":151369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:29:52] local.INFO: GPS data processed {"connection_id":151369,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:29:52] local.INFO: Acknowledgment sent {"connection_id":151369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:30:09] local.INFO: TCP Data received {"connection_id":148925,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:30:09] local.INFO: Processing buffer {"connection_id":148925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:30:09] local.INFO: IMEI packet received {"connection_id":148925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":148925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:30:13] local.INFO: TCP Data received {"connection_id":148926,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:30:13] local.INFO: Processing buffer {"connection_id":148926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:30:13] local.INFO: IMEI packet received {"connection_id":148926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":148926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:30:14] local.INFO: TCP Data received {"connection_id":148925,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:30:14] local.INFO: Processing buffer {"connection_id":148925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:30:14] local.INFO: IMEI packet received {"connection_id":148925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":148925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:30:15] local.INFO: TCP Data received {"connection_id":148925,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:30:15] local.INFO: Processing buffer {"connection_id":148925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:30:15] local.INFO: Packet analysis {"connection_id":148925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:30:15] local.INFO: Extracted packet for processing {"connection_id":148925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202899456001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785949127000,"timestamp_ms":1785949127000,"timestamp_seconds":1785949127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd0158"} 
[2026-08-05 22:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 22:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202899456001,"66":2133,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202899456001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:30:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202899456001,"power":2133,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":148925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:30:15] local.INFO: GPS data processed {"connection_id":148925,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:30:15] local.INFO: Acknowledgment sent {"connection_id":148925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:30:18] local.INFO: TCP Data received {"connection_id":148926,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:30:18] local.INFO: Processing buffer {"connection_id":148926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:30:18] local.INFO: IMEI packet received {"connection_id":148926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":148926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:30:19] local.INFO: TCP Data received {"connection_id":148926,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:30:19] local.INFO: Processing buffer {"connection_id":148926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:30:19] local.INFO: Packet analysis {"connection_id":148926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:30:19] local.INFO: Extracted packet for processing {"connection_id":148926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:30:19] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785949162000,"timestamp_ms":1785949162000,"timestamp_seconds":1785949162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd8a10"} 
[2026-08-05 22:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202908416001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:30:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202908416001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":148926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:30:19] local.INFO: GPS data processed {"connection_id":148926,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:30:19] local.INFO: Acknowledgment sent {"connection_id":148926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:30:46] local.INFO: TCP Data received {"connection_id":148925,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:30:46] local.INFO: Processing buffer {"connection_id":148925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:30:46] local.INFO: Packet analysis {"connection_id":148925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:30:46] local.INFO: Extracted packet for processing {"connection_id":148925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202899456001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30: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-08-05 22:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785949127000,"timestamp_ms":1785949127000,"timestamp_seconds":1785949127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd0158"} 
[2026-08-05 22:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 22:30: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-08-05 22: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-08-05 22:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202899456001,"66":2133,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202899456001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:30:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202899456001,"power":2133,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":148925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:30:46] local.INFO: GPS data processed {"connection_id":148925,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:30:46] local.INFO: Acknowledgment sent {"connection_id":148925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:30:51] local.INFO: TCP Data received {"connection_id":148926,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:30:51] local.INFO: Processing buffer {"connection_id":148926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:30:51] local.INFO: Packet analysis {"connection_id":148926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:30:51] local.INFO: Extracted packet for processing {"connection_id":148926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:30:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785949162000,"timestamp_ms":1785949162000,"timestamp_seconds":1785949162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd8a10"} 
[2026-08-05 22:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202908416001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:30:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202908416001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":148926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:30:51] local.INFO: GPS data processed {"connection_id":148926,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:30:51] local.INFO: Acknowledgment sent {"connection_id":148926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:31:09] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:31:09] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:31:09] local.INFO: IMEI packet received {"connection_id":151370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":151370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:31:14] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:31:14] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:31:14] local.INFO: IMEI packet received {"connection_id":151370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":151370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:31:15] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:31:15] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:31:15] local.INFO: Packet analysis {"connection_id":151370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:31:15] local.INFO: Extracted packet for processing {"connection_id":151370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202899456001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785949127000,"timestamp_ms":1785949127000,"timestamp_seconds":1785949127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd0158"} 
[2026-08-05 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-08-05 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 22:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202899456001,"66":2133,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202899456001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:31:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202899456001,"power":2133,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":151370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:31:15] local.INFO: GPS data processed {"connection_id":151370,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:31:15] local.INFO: Acknowledgment sent {"connection_id":151370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:31:19] local.INFO: TCP Data received {"connection_id":151371,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:31:19] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:31:19] local.INFO: IMEI packet received {"connection_id":151371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":151371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:31:23] local.INFO: TCP Data received {"connection_id":151371,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:31:23] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:31:23] local.INFO: IMEI packet received {"connection_id":151371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":151371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:31:24] local.INFO: TCP Data received {"connection_id":151371,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:31:24] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:31:24] local.INFO: Packet analysis {"connection_id":151371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:31:24] local.INFO: Extracted packet for processing {"connection_id":151371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:31:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785949162000,"timestamp_ms":1785949162000,"timestamp_seconds":1785949162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd8a10"} 
[2026-08-05 22:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202908416001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:31:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202908416001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":151371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:31:24] local.INFO: GPS data processed {"connection_id":151371,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:31:24] local.INFO: Acknowledgment sent {"connection_id":151371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:31:29] local.INFO: TCP Data received {"connection_id":151371,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:31:29] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:31:29] local.INFO: Packet analysis {"connection_id":151371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:31:29] local.INFO: Extracted packet for processing {"connection_id":151371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:31:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785949162000,"timestamp_ms":1785949162000,"timestamp_seconds":1785949162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd8a10"} 
[2026-08-05 22:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202908416001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:31:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202908416001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":151371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:31:29] local.INFO: GPS data processed {"connection_id":151371,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:31:29] local.INFO: Acknowledgment sent {"connection_id":151371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:31:46] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:31:46] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:31:46] local.INFO: Packet analysis {"connection_id":151370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:31:46] local.INFO: Extracted packet for processing {"connection_id":151370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202899456001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:31: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-08-05 22:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785949127000,"timestamp_ms":1785949127000,"timestamp_seconds":1785949127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd0158"} 
[2026-08-05 22:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 22:31: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-08-05 22: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-08-05 22:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202899456001,"66":2133,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202899456001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:31:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202899456001,"power":2133,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":151370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:31:46] local.INFO: GPS data processed {"connection_id":151370,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:31:46] local.INFO: Acknowledgment sent {"connection_id":151370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:32:14] local.INFO: TCP Data received {"connection_id":149938,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:32:14] local.INFO: Processing buffer {"connection_id":149938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:32:14] local.INFO: IMEI packet received {"connection_id":149938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":149938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:32:14] local.INFO: TCP Data received {"connection_id":149939,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:32:14] local.INFO: Processing buffer {"connection_id":149939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:32:14] local.INFO: IMEI packet received {"connection_id":149939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":149939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:32:19] local.INFO: TCP Data received {"connection_id":149939,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:32:19] local.INFO: Processing buffer {"connection_id":149939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:32:19] local.INFO: IMEI packet received {"connection_id":149939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":149939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:32:19] local.INFO: TCP Data received {"connection_id":149938,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:32:19] local.INFO: Processing buffer {"connection_id":149938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:32:19] local.INFO: IMEI packet received {"connection_id":149938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":149938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:32:20] local.INFO: TCP Data received {"connection_id":149938,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:32:20] local.INFO: Processing buffer {"connection_id":149938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:32:20] local.INFO: Packet analysis {"connection_id":149938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:32:20] local.INFO: Extracted packet for processing {"connection_id":149938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202899456001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785949127000,"timestamp_ms":1785949127000,"timestamp_seconds":1785949127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd0158"} 
[2026-08-05 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-08-05 22:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 22:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202899456001,"66":2133,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202899456001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:32:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202899456001,"power":2133,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":149938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:32:20] local.INFO: GPS data processed {"connection_id":149938,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:32:20] local.INFO: Acknowledgment sent {"connection_id":149938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:32:20] local.INFO: TCP Data received {"connection_id":149939,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:32:20] local.INFO: Processing buffer {"connection_id":149939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:32:20] local.INFO: Packet analysis {"connection_id":149939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:32:20] local.INFO: Extracted packet for processing {"connection_id":149939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:32:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785949162000,"timestamp_ms":1785949162000,"timestamp_seconds":1785949162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd8a10"} 
[2026-08-05 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-08-05 22:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202908416001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:32:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202908416001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":149939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:32:20] local.INFO: GPS data processed {"connection_id":149939,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:32:20] local.INFO: Acknowledgment sent {"connection_id":149939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:32:24] local.INFO: TCP Data received {"connection_id":149938,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:32:24] local.INFO: Processing buffer {"connection_id":149938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:32:24] local.INFO: Packet analysis {"connection_id":149938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:32:24] local.INFO: Extracted packet for processing {"connection_id":149938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202899456001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785949127000,"timestamp_ms":1785949127000,"timestamp_seconds":1785949127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd0158"} 
[2026-08-05 22:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 22:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202899456001,"66":2133,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202899456001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:32:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202899456001,"power":2133,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":149938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:32:24] local.INFO: GPS data processed {"connection_id":149938,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:32:24] local.INFO: Acknowledgment sent {"connection_id":149938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:32:52] local.INFO: TCP Data received {"connection_id":149939,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:32:52] local.INFO: Processing buffer {"connection_id":149939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:32:52] local.INFO: Packet analysis {"connection_id":149939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:32:52] local.INFO: Extracted packet for processing {"connection_id":149939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:32:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785949162000,"timestamp_ms":1785949162000,"timestamp_seconds":1785949162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd8a10"} 
[2026-08-05 22:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202908416001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:32:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202908416001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":149939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:32:52] local.INFO: GPS data processed {"connection_id":149939,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:32:52] local.INFO: Acknowledgment sent {"connection_id":149939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:33:09] local.INFO: TCP Data received {"connection_id":151372,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:33:09] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:33:09] local.INFO: IMEI packet received {"connection_id":151372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":151372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:33:13] local.INFO: TCP Data received {"connection_id":149940,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:33:13] local.INFO: Processing buffer {"connection_id":149940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:33:13] local.INFO: IMEI packet received {"connection_id":149940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":149940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:33:14] local.INFO: TCP Data received {"connection_id":151372,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:33:14] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:33:14] local.INFO: IMEI packet received {"connection_id":151372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":151372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:33:15] local.INFO: TCP Data received {"connection_id":151372,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:33:15] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:33:15] local.INFO: Packet analysis {"connection_id":151372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:33:15] local.INFO: Extracted packet for processing {"connection_id":151372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202899456001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785949127000,"timestamp_ms":1785949127000,"timestamp_seconds":1785949127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd0158"} 
[2026-08-05 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-08-05 22:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 22:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202899456001,"66":2133,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202899456001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:33:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202899456001,"power":2133,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":151372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:33:15] local.INFO: GPS data processed {"connection_id":151372,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:33:15] local.INFO: Acknowledgment sent {"connection_id":151372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:33:19] local.INFO: TCP Data received {"connection_id":149940,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:33:19] local.INFO: Processing buffer {"connection_id":149940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:33:19] local.INFO: IMEI packet received {"connection_id":149940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":149940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:33:20] local.INFO: TCP Data received {"connection_id":149940,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:33:20] local.INFO: Processing buffer {"connection_id":149940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:33:20] local.INFO: Packet analysis {"connection_id":149940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:33:20] local.INFO: Extracted packet for processing {"connection_id":149940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:33:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785949162000,"timestamp_ms":1785949162000,"timestamp_seconds":1785949162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd8a10"} 
[2026-08-05 22:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202908416001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:33:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202908416001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":149940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:33:20] local.INFO: GPS data processed {"connection_id":149940,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:33:20] local.INFO: Acknowledgment sent {"connection_id":149940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:33:46] local.INFO: TCP Data received {"connection_id":151372,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:33:46] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:33:46] local.INFO: Packet analysis {"connection_id":151372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:33:46] local.INFO: Extracted packet for processing {"connection_id":151372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202899456001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33: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-08-05 22:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785949127000,"timestamp_ms":1785949127000,"timestamp_seconds":1785949127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd0158"} 
[2026-08-05 22:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 22:33: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-08-05 22:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202899456001,"66":2133,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202899456001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:33:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202899456001,"power":2133,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":151372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:33:46] local.INFO: GPS data processed {"connection_id":151372,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:33:46] local.INFO: Acknowledgment sent {"connection_id":151372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:33:58] local.INFO: TCP Data received {"connection_id":149940,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:33:58] local.INFO: Processing buffer {"connection_id":149940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:33:58] local.INFO: Packet analysis {"connection_id":149940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:33:58] local.INFO: Extracted packet for processing {"connection_id":149940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:33:58] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785949162000,"timestamp_ms":1785949162000,"timestamp_seconds":1785949162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd8a10"} 
[2026-08-05 22:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":149940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":149940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":149940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202908416001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:33:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202908416001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":149940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:33:58] local.INFO: GPS data processed {"connection_id":149940,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:33:58] local.INFO: Acknowledgment sent {"connection_id":149940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:34:09] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:34:09] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:34:09] local.INFO: IMEI packet received {"connection_id":151373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":151373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:34:13] local.INFO: TCP Data received {"connection_id":148927,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:34:13] local.INFO: Processing buffer {"connection_id":148927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:34:13] local.INFO: IMEI packet received {"connection_id":148927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":148927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:34:14] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:34:14] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:34:14] local.INFO: IMEI packet received {"connection_id":151373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":151373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:34:14] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:34:14] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd0158012d196840071fef08003f010927..."} 
[2026-08-05 22:34:14] local.INFO: Packet analysis {"connection_id":151373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:34:14] local.INFO: Extracted packet for processing {"connection_id":151373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202899456001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34: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-08-05 22:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785949127000,"timestamp_ms":1785949127000,"timestamp_seconds":1785949127,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd0158"} 
[2026-08-05 22:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-05 22:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202899456001,"66":2133,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202899456001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:34:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:34:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202899456001,"power":2133,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":151373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:34:15] local.INFO: GPS data processed {"connection_id":151373,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:34:15] local.INFO: Acknowledgment sent {"connection_id":151373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:34:19] local.INFO: TCP Data received {"connection_id":148927,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:34:19] local.INFO: Processing buffer {"connection_id":148927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:34:19] local.INFO: IMEI packet received {"connection_id":148927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":148927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:34:20] local.INFO: TCP Data received {"connection_id":148927,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:34:20] local.INFO: Processing buffer {"connection_id":148927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:34:20] local.INFO: Packet analysis {"connection_id":148927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:34:20] local.INFO: Extracted packet for processing {"connection_id":148927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:34:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785949162000,"timestamp_ms":1785949162000,"timestamp_seconds":1785949162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd8a10"} 
[2026-08-05 22:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202908416001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:34:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202908416001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":148927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:34:20] local.INFO: GPS data processed {"connection_id":148927,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:34:20] local.INFO: Acknowledgment sent {"connection_id":148927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:34:45] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e19920012d196840071fef08003f010926..."} 
[2026-08-05 22:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e19920012d196840071fef08003f010926..."} 
[2026-08-05 22:34:45] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e19920012d196840071fef08003f010926..."} 
[2026-08-05 22:34:45] local.INFO: Packet analysis {"connection_id":151373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e1"} 
[2026-08-05 22:34:45] local.INFO: Extracted packet for processing {"connection_id":151373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e1"} 
[2026-08-05 22:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202976512001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34: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-08-05 22:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785949428000,"timestamp_ms":1785949428000,"timestamp_seconds":1785949428,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e19920"} 
[2026-08-05 22:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 22:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202976512001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202976512001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:34:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202976512001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":151373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:34:45] local.INFO: GPS data processed {"connection_id":151373,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:34:45] local.INFO: Acknowledgment sent {"connection_id":151373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:34:52] local.INFO: TCP Data received {"connection_id":148927,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:34:52] local.INFO: Processing buffer {"connection_id":148927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2dd8a10012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:34:52] local.INFO: Packet analysis {"connection_id":148927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:34:52] local.INFO: Extracted packet for processing {"connection_id":148927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2dd"} 
[2026-08-05 22:34:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202908416001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785949162000,"timestamp_ms":1785949162000,"timestamp_seconds":1785949162,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2dd8a10"} 
[2026-08-05 22:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 22:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202908416001,"66":25419,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202908416001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:34:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202908416001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":148927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:34:52] local.INFO: GPS data processed {"connection_id":148927,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:34:52] local.INFO: Acknowledgment sent {"connection_id":148927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:35:09] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:35:09] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:35:09] local.INFO: IMEI packet received {"connection_id":148708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-05 22:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":148708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:35:14] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:35:14] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-05 22:35:14] local.INFO: IMEI packet received {"connection_id":148708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-05 22:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":148708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:35:14] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e19920012d196840071fef08003f010926..."} 
[2026-08-05 22:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e19920012d196840071fef08003f010926..."} 
[2026-08-05 22:35:14] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e19920012d196840071fef08003f010926..."} 
[2026-08-05 22:35:14] local.INFO: Packet analysis {"connection_id":148708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e1"} 
[2026-08-05 22:35:14] local.INFO: Extracted packet for processing {"connection_id":148708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e1"} 
[2026-08-05 22:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202976512001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35: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-08-05 22:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785949428000,"timestamp_ms":1785949428000,"timestamp_seconds":1785949428,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e19920"} 
[2026-08-05 22:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 22:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202976512001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202976512001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:35:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202976512001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":148708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:35:15] local.INFO: GPS data processed {"connection_id":148708,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:35:15] local.INFO: Acknowledgment sent {"connection_id":148708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:35:19] local.INFO: TCP Data received {"connection_id":148709,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:35:19] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:35:19] local.INFO: IMEI packet received {"connection_id":148709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":148709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:35:24] local.INFO: TCP Data received {"connection_id":148709,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:35:24] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:35:24] local.INFO: IMEI packet received {"connection_id":148709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":148709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:35:25] local.INFO: TCP Data received {"connection_id":148709,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:35:25] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:35:25] local.INFO: Packet analysis {"connection_id":148709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:35:25] local.INFO: Extracted packet for processing {"connection_id":148709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:35:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785949463000,"timestamp_ms":1785949463000,"timestamp_seconds":1785949463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e221d8"} 
[2026-08-05 22:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202985472001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:35:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202985472001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":148709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:35:25] local.INFO: GPS data processed {"connection_id":148709,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:35:25] local.INFO: Acknowledgment sent {"connection_id":148709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:35:29] local.INFO: TCP Data received {"connection_id":148709,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:35:29] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:35:29] local.INFO: Packet analysis {"connection_id":148709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:35:29] local.INFO: Extracted packet for processing {"connection_id":148709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:35:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785949463000,"timestamp_ms":1785949463000,"timestamp_seconds":1785949463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e221d8"} 
[2026-08-05 22:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202985472001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:35:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202985472001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":148709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:35:29] local.INFO: GPS data processed {"connection_id":148709,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:35:29] local.INFO: Acknowledgment sent {"connection_id":148709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:35:46] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e19920012d196840071fef08003f010926..."} 
[2026-08-05 22:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e19920012d196840071fef08003f010926..."} 
[2026-08-05 22:35:46] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e19920012d196840071fef08003f010926..."} 
[2026-08-05 22:35:46] local.INFO: Packet analysis {"connection_id":148708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e1"} 
[2026-08-05 22:35:46] local.INFO: Extracted packet for processing {"connection_id":148708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e1"} 
[2026-08-05 22:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533320,"longitude_deg":75.6639808,"latitude_deg":11.953332,"altitude":63,"angle":265,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202976512001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10798123307761664,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870814208,"note":"Value kept but may cause issues"} 
[2026-08-05 22:35: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-08-05 22:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785949428000,"timestamp_ms":1785949428000,"timestamp_seconds":1785949428,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e19920"} 
[2026-08-05 22:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":8,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-05 22:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-05 22:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-05 22:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-05 22:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202976512001,"66":2155,"101":206,"83":41984,"24":0,"16":10798123307761664,"45":1830783647870814208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-05 22:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-05 22:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-05 22:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202976512001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:35:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-05 22:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-05 22:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10798123307761664,"km_value":10798123307761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870814208,"description":"Unknown IO ID 45"} 
[2026-08-05 22:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202976512001,"power":2155,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870814208}} 
[2026-08-05 22:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":148708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:35:46] local.INFO: GPS data processed {"connection_id":148708,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:35:46] local.INFO: Acknowledgment sent {"connection_id":148708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:36:14] local.INFO: TCP Data received {"connection_id":151374,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:36:14] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:36:14] local.INFO: IMEI packet received {"connection_id":151374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":151374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:36:19] local.INFO: TCP Data received {"connection_id":151374,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:36:19] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:36:19] local.INFO: IMEI packet received {"connection_id":151374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":151374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:36:20] local.INFO: TCP Data received {"connection_id":151374,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:36:20] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:36:20] local.INFO: Packet analysis {"connection_id":151374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:36:20] local.INFO: Extracted packet for processing {"connection_id":151374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:36:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785949463000,"timestamp_ms":1785949463000,"timestamp_seconds":1785949463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e221d8"} 
[2026-08-05 22:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202985472001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:36:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202985472001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":151374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:36:20] local.INFO: GPS data processed {"connection_id":151374,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:36:20] local.INFO: Acknowledgment sent {"connection_id":151374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:36:51] local.INFO: TCP Data received {"connection_id":151374,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:36:51] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:36:51] local.INFO: Packet analysis {"connection_id":151374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:36:51] local.INFO: Extracted packet for processing {"connection_id":151374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:36:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785949463000,"timestamp_ms":1785949463000,"timestamp_seconds":1785949463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e221d8"} 
[2026-08-05 22:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202985472001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:36:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202985472001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":151374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:36:51] local.INFO: GPS data processed {"connection_id":151374,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:36:51] local.INFO: Acknowledgment sent {"connection_id":151374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:37:13] local.INFO: TCP Data received {"connection_id":149941,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:37:13] local.INFO: Processing buffer {"connection_id":149941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:37:13] local.INFO: IMEI packet received {"connection_id":149941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":149941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:37:19] local.INFO: TCP Data received {"connection_id":149941,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:37:19] local.INFO: Processing buffer {"connection_id":149941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:37:19] local.INFO: IMEI packet received {"connection_id":149941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":149941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:37:25] local.INFO: TCP Data received {"connection_id":149941,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:37:25] local.INFO: Processing buffer {"connection_id":149941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:37:25] local.INFO: Packet analysis {"connection_id":149941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:37:25] local.INFO: Extracted packet for processing {"connection_id":149941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:37:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785949463000,"timestamp_ms":1785949463000,"timestamp_seconds":1785949463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e221d8"} 
[2026-08-05 22:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202985472001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:37:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202985472001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":149941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:37:25] local.INFO: GPS data processed {"connection_id":149941,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:37:25] local.INFO: Acknowledgment sent {"connection_id":149941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:38:13] local.INFO: TCP Data received {"connection_id":151375,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:38:13] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:38:13] local.INFO: IMEI packet received {"connection_id":151375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":151375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:38:19] local.INFO: TCP Data received {"connection_id":151375,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:38:19] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:38:19] local.INFO: IMEI packet received {"connection_id":151375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":151375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:38:20] local.INFO: TCP Data received {"connection_id":151375,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:38:20] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:38:20] local.INFO: Packet analysis {"connection_id":151375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:38:20] local.INFO: Extracted packet for processing {"connection_id":151375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:38:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785949463000,"timestamp_ms":1785949463000,"timestamp_seconds":1785949463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e221d8"} 
[2026-08-05 22:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202985472001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:38:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202985472001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":151375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:38:20] local.INFO: GPS data processed {"connection_id":151375,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:38:20] local.INFO: Acknowledgment sent {"connection_id":151375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:38:51] local.INFO: TCP Data received {"connection_id":151375,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:38:51] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:38:51] local.INFO: Packet analysis {"connection_id":151375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:38:51] local.INFO: Extracted packet for processing {"connection_id":151375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:38:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785949463000,"timestamp_ms":1785949463000,"timestamp_seconds":1785949463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e221d8"} 
[2026-08-05 22:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202985472001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:38:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202985472001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":151375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:38:51] local.INFO: GPS data processed {"connection_id":151375,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:38:51] local.INFO: Acknowledgment sent {"connection_id":151375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:39:19] local.INFO: TCP Data received {"connection_id":148928,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:39:19] local.INFO: Processing buffer {"connection_id":148928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:39:19] local.INFO: IMEI packet received {"connection_id":148928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":148928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:39:24] local.INFO: TCP Data received {"connection_id":148928,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:39:24] local.INFO: Processing buffer {"connection_id":148928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:39:24] local.INFO: IMEI packet received {"connection_id":148928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":148928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:39:30] local.INFO: TCP Data received {"connection_id":148928,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:39:30] local.INFO: Processing buffer {"connection_id":148928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:39:30] local.INFO: Packet analysis {"connection_id":148928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:39:30] local.INFO: Extracted packet for processing {"connection_id":148928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785949463000,"timestamp_ms":1785949463000,"timestamp_seconds":1785949463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e221d8"} 
[2026-08-05 22:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202985472001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:39:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202985472001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":148928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:39:30] local.INFO: GPS data processed {"connection_id":148928,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:39:30] local.INFO: Acknowledgment sent {"connection_id":148928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:39:31] local.INFO: TCP Data received {"connection_id":148928,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:39:31] local.INFO: Processing buffer {"connection_id":148928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e221d8012d77ab8005f2a6b8001a010826..."} 
[2026-08-05 22:39:31] local.INFO: Packet analysis {"connection_id":148928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:39:31] local.INFO: Extracted packet for processing {"connection_id":148928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e2"} 
[2026-08-05 22:39:31] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457202985472001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785949463000,"timestamp_ms":1785949463000,"timestamp_seconds":1785949463,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e221d8"} 
[2026-08-05 22:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-05 22:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457202985472001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457202985472001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:39:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457202985472001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":148928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:39:31] local.INFO: GPS data processed {"connection_id":148928,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:39:31] local.INFO: Acknowledgment sent {"connection_id":148928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:40:14] local.INFO: TCP Data received {"connection_id":149942,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:40:14] local.INFO: Processing buffer {"connection_id":149942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:40:14] local.INFO: IMEI packet received {"connection_id":149942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":149942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:40:19] local.INFO: TCP Data received {"connection_id":149942,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:40:19] local.INFO: Processing buffer {"connection_id":149942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:40:19] local.INFO: IMEI packet received {"connection_id":149942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":149942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:40:20] local.INFO: TCP Data received {"connection_id":149942,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:40:20] local.INFO: Processing buffer {"connection_id":149942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:40:20] local.INFO: Packet analysis {"connection_id":149942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:40:20] local.INFO: Extracted packet for processing {"connection_id":149942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:40:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785949764000,"timestamp_ms":1785949764000,"timestamp_seconds":1785949764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e6b9a0"} 
[2026-08-05 22:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203062528001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:40:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203062528001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":149942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:40:20] local.INFO: GPS data processed {"connection_id":149942,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:40:20] local.INFO: Acknowledgment sent {"connection_id":149942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:40:51] local.INFO: TCP Data received {"connection_id":149942,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:40:51] local.INFO: Processing buffer {"connection_id":149942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:40:51] local.INFO: Packet analysis {"connection_id":149942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:40:51] local.INFO: Extracted packet for processing {"connection_id":149942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:40:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785949764000,"timestamp_ms":1785949764000,"timestamp_seconds":1785949764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e6b9a0"} 
[2026-08-05 22:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203062528001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:40:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203062528001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":149942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:40:51] local.INFO: GPS data processed {"connection_id":149942,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:40:51] local.INFO: Acknowledgment sent {"connection_id":149942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:41:13] local.INFO: TCP Data received {"connection_id":151376,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:41:13] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:41:13] local.INFO: IMEI packet received {"connection_id":151376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":151376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:41:19] local.INFO: TCP Data received {"connection_id":151376,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:41:19] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:41:19] local.INFO: IMEI packet received {"connection_id":151376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":151376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:41:20] local.INFO: TCP Data received {"connection_id":151376,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:41:20] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:41:20] local.INFO: Packet analysis {"connection_id":151376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:41:20] local.INFO: Extracted packet for processing {"connection_id":151376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:41:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785949764000,"timestamp_ms":1785949764000,"timestamp_seconds":1785949764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e6b9a0"} 
[2026-08-05 22:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203062528001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:41:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203062528001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":151376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:41:20] local.INFO: GPS data processed {"connection_id":151376,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:41:20] local.INFO: Acknowledgment sent {"connection_id":151376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:41:51] local.INFO: TCP Data received {"connection_id":151376,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:41:51] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:41:51] local.INFO: Packet analysis {"connection_id":151376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:41:51] local.INFO: Extracted packet for processing {"connection_id":151376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:41:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785949764000,"timestamp_ms":1785949764000,"timestamp_seconds":1785949764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e6b9a0"} 
[2026-08-05 22:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203062528001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:41:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203062528001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":151376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:41:52] local.INFO: GPS data processed {"connection_id":151376,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:41:52] local.INFO: Acknowledgment sent {"connection_id":151376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:42:13] local.INFO: TCP Data received {"connection_id":148929,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:42:13] local.INFO: Processing buffer {"connection_id":148929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:42:13] local.INFO: IMEI packet received {"connection_id":148929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":148929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:42:19] local.INFO: TCP Data received {"connection_id":148929,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:42:19] local.INFO: Processing buffer {"connection_id":148929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:42:19] local.INFO: IMEI packet received {"connection_id":148929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":148929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:42:20] local.INFO: TCP Data received {"connection_id":148929,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:42:20] local.INFO: Processing buffer {"connection_id":148929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:42:20] local.INFO: Packet analysis {"connection_id":148929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:42:20] local.INFO: Extracted packet for processing {"connection_id":148929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:42:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785949764000,"timestamp_ms":1785949764000,"timestamp_seconds":1785949764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e6b9a0"} 
[2026-08-05 22:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203062528001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:42:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203062528001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":148929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:42:20] local.INFO: GPS data processed {"connection_id":148929,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:42:20] local.INFO: Acknowledgment sent {"connection_id":148929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:42:51] local.INFO: TCP Data received {"connection_id":148929,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:42:51] local.INFO: Processing buffer {"connection_id":148929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:42:51] local.INFO: Packet analysis {"connection_id":148929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:42:51] local.INFO: Extracted packet for processing {"connection_id":148929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:42:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785949764000,"timestamp_ms":1785949764000,"timestamp_seconds":1785949764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e6b9a0"} 
[2026-08-05 22:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203062528001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:42:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203062528001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":148929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:42:51] local.INFO: GPS data processed {"connection_id":148929,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:42:51] local.INFO: Acknowledgment sent {"connection_id":148929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:43:13] local.INFO: TCP Data received {"connection_id":148710,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:43:13] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:43:13] local.INFO: IMEI packet received {"connection_id":148710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":148710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:43:19] local.INFO: TCP Data received {"connection_id":148710,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:43:19] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:43:19] local.INFO: IMEI packet received {"connection_id":148710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":148710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:43:20] local.INFO: TCP Data received {"connection_id":148710,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:43:20] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:43:20] local.INFO: Packet analysis {"connection_id":148710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:43:20] local.INFO: Extracted packet for processing {"connection_id":148710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:43:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785949764000,"timestamp_ms":1785949764000,"timestamp_seconds":1785949764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e6b9a0"} 
[2026-08-05 22:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203062528001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:43:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203062528001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":148710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:43:20] local.INFO: GPS data processed {"connection_id":148710,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:43:20] local.INFO: Acknowledgment sent {"connection_id":148710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:43:52] local.INFO: TCP Data received {"connection_id":148710,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:43:52] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:43:52] local.INFO: Packet analysis {"connection_id":148710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:43:52] local.INFO: Extracted packet for processing {"connection_id":148710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:43:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785949764000,"timestamp_ms":1785949764000,"timestamp_seconds":1785949764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e6b9a0"} 
[2026-08-05 22:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203062528001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:43:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203062528001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":148710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:43:52] local.INFO: GPS data processed {"connection_id":148710,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:43:52] local.INFO: Acknowledgment sent {"connection_id":148710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:44:19] local.INFO: TCP Data received {"connection_id":151377,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:44:19] local.INFO: Processing buffer {"connection_id":151377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:44:19] local.INFO: IMEI packet received {"connection_id":151377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":151377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:44:24] local.INFO: TCP Data received {"connection_id":151377,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:44:24] local.INFO: Processing buffer {"connection_id":151377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:44:24] local.INFO: IMEI packet received {"connection_id":151377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":151377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:44:25] local.INFO: TCP Data received {"connection_id":151377,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:44:25] local.INFO: Processing buffer {"connection_id":151377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:44:25] local.INFO: Packet analysis {"connection_id":151377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:44:25] local.INFO: Extracted packet for processing {"connection_id":151377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:44:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785949764000,"timestamp_ms":1785949764000,"timestamp_seconds":1785949764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e6b9a0"} 
[2026-08-05 22:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203062528001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:44:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203062528001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":151377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:44:25] local.INFO: GPS data processed {"connection_id":151377,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:44:25] local.INFO: Acknowledgment sent {"connection_id":151377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:45:02] local.INFO: TCP Data received {"connection_id":151377,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:45:02] local.INFO: Processing buffer {"connection_id":151377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2e6b9a0012d77ab8005f2a6b8001a010828..."} 
[2026-08-05 22:45:02] local.INFO: Packet analysis {"connection_id":151377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:45:02] local.INFO: Extracted packet for processing {"connection_id":151377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2e6"} 
[2026-08-05 22:45:02] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":26,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203062528001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785949764000,"timestamp_ms":1785949764000,"timestamp_seconds":1785949764,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2e6b9a0"} 
[2026-08-05 22:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203062528001,"66":25343,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203062528001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:45:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203062528001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":151377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:45:02] local.INFO: GPS data processed {"connection_id":151377,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:45:02] local.INFO: Acknowledgment sent {"connection_id":151377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:45:13] local.INFO: TCP Data received {"connection_id":151378,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:45:13] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:45:13] local.INFO: IMEI packet received {"connection_id":151378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":151378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:45:18] local.INFO: TCP Data received {"connection_id":151378,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:45:18] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:45:18] local.INFO: IMEI packet received {"connection_id":151378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":151378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:45:19] local.INFO: TCP Data received {"connection_id":151378,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:45:19] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:45:19] local.INFO: Packet analysis {"connection_id":151378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:45:19] local.INFO: Extracted packet for processing {"connection_id":151378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:45:19] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785950065000,"timestamp_ms":1785950065000,"timestamp_seconds":1785950065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2eb5168"} 
[2026-08-05 22:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203139584001,"66":24897,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:45:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203139584001,"power":24897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":151378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:45:19] local.INFO: GPS data processed {"connection_id":151378,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:45:19] local.INFO: Acknowledgment sent {"connection_id":151378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:45:51] local.INFO: TCP Data received {"connection_id":151378,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:45:51] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:45:51] local.INFO: Packet analysis {"connection_id":151378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:45:51] local.INFO: Extracted packet for processing {"connection_id":151378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:45:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785950065000,"timestamp_ms":1785950065000,"timestamp_seconds":1785950065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2eb5168"} 
[2026-08-05 22:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203139584001,"66":24897,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:45:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203139584001,"power":24897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":151378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:45:51] local.INFO: GPS data processed {"connection_id":151378,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:45:51] local.INFO: Acknowledgment sent {"connection_id":151378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:46:19] local.INFO: TCP Data received {"connection_id":151379,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:46:19] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:46:19] local.INFO: IMEI packet received {"connection_id":151379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":151379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:46:24] local.INFO: TCP Data received {"connection_id":151379,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:46:24] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:46:24] local.INFO: IMEI packet received {"connection_id":151379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":151379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:46:25] local.INFO: TCP Data received {"connection_id":151379,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:46:25] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:46:25] local.INFO: Packet analysis {"connection_id":151379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:46:25] local.INFO: Extracted packet for processing {"connection_id":151379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:46:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785950065000,"timestamp_ms":1785950065000,"timestamp_seconds":1785950065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2eb5168"} 
[2026-08-05 22:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203139584001,"66":24897,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:46:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203139584001,"power":24897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":151379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:46:25] local.INFO: GPS data processed {"connection_id":151379,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:46:25] local.INFO: Acknowledgment sent {"connection_id":151379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:46:29] local.INFO: TCP Data received {"connection_id":151379,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:46:29] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:46:29] local.INFO: Packet analysis {"connection_id":151379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:46:29] local.INFO: Extracted packet for processing {"connection_id":151379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:46:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785950065000,"timestamp_ms":1785950065000,"timestamp_seconds":1785950065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2eb5168"} 
[2026-08-05 22:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203139584001,"66":24897,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:46:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203139584001,"power":24897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":151379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:46:30] local.INFO: GPS data processed {"connection_id":151379,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:46:30] local.INFO: Acknowledgment sent {"connection_id":151379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:47:14] local.INFO: TCP Data received {"connection_id":148711,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:47:14] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:47:14] local.INFO: IMEI packet received {"connection_id":148711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":148711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:47:18] local.INFO: TCP Data received {"connection_id":148711,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:47:18] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:47:18] local.INFO: IMEI packet received {"connection_id":148711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":148711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:47:25] local.INFO: TCP Data received {"connection_id":148711,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:47:25] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:47:25] local.INFO: Packet analysis {"connection_id":148711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:47:25] local.INFO: Extracted packet for processing {"connection_id":148711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:47:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785950065000,"timestamp_ms":1785950065000,"timestamp_seconds":1785950065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2eb5168"} 
[2026-08-05 22:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203139584001,"66":24897,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:47:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203139584001,"power":24897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":148711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:47:25] local.INFO: GPS data processed {"connection_id":148711,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:47:25] local.INFO: Acknowledgment sent {"connection_id":148711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:47:56] local.INFO: TCP Data received {"connection_id":148711,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:47:56] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:47:56] local.INFO: Packet analysis {"connection_id":148711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:47:56] local.INFO: Extracted packet for processing {"connection_id":148711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:47:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785950065000,"timestamp_ms":1785950065000,"timestamp_seconds":1785950065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2eb5168"} 
[2026-08-05 22:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203139584001,"66":24897,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:47:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203139584001,"power":24897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":148711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:47:56] local.INFO: GPS data processed {"connection_id":148711,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:47:56] local.INFO: Acknowledgment sent {"connection_id":148711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:48:13] local.INFO: TCP Data received {"connection_id":151380,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:48:13] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:48:13] local.INFO: IMEI packet received {"connection_id":151380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":151380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:48:19] local.INFO: TCP Data received {"connection_id":151380,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:48:19] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:48:19] local.INFO: IMEI packet received {"connection_id":151380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":151380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:48:20] local.INFO: TCP Data received {"connection_id":151380,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:48:20] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:48:20] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:48:20] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:48:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950065000,"timestamp_ms":1785950065000,"timestamp_seconds":1785950065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2eb5168"} 
[2026-08-05 22:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203139584001,"66":24897,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:48:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203139584001,"power":24897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:48:20] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:48:20] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:48:51] local.INFO: TCP Data received {"connection_id":151380,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:48:51] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:48:51] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:48:51] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:48:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785950065000,"timestamp_ms":1785950065000,"timestamp_seconds":1785950065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2eb5168"} 
[2026-08-05 22:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203139584001,"66":24897,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:48:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203139584001,"power":24897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:48:51] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:48:51] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:49:13] local.INFO: TCP Data received {"connection_id":148712,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:49:13] local.INFO: Processing buffer {"connection_id":148712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:49:13] local.INFO: IMEI packet received {"connection_id":148712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":148712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:49:19] local.INFO: TCP Data received {"connection_id":148712,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:49:19] local.INFO: Processing buffer {"connection_id":148712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:49:19] local.INFO: IMEI packet received {"connection_id":148712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":148712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:49:20] local.INFO: TCP Data received {"connection_id":148712,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:49:20] local.INFO: Processing buffer {"connection_id":148712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:49:20] local.INFO: Packet analysis {"connection_id":148712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:49:20] local.INFO: Extracted packet for processing {"connection_id":148712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:49:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950065000,"timestamp_ms":1785950065000,"timestamp_seconds":1785950065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2eb5168"} 
[2026-08-05 22:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203139584001,"66":24897,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:49:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203139584001,"power":24897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":148712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:49:20] local.INFO: GPS data processed {"connection_id":148712,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:49:20] local.INFO: Acknowledgment sent {"connection_id":148712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:49:51] local.INFO: TCP Data received {"connection_id":148712,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:49:51] local.INFO: Processing buffer {"connection_id":148712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2eb5168012d77ab8005f2a6b80012010825..."} 
[2026-08-05 22:49:51] local.INFO: Packet analysis {"connection_id":148712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:49:51] local.INFO: Extracted packet for processing {"connection_id":148712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2eb"} 
[2026-08-05 22:49:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":37,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203139584001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785950065000,"timestamp_ms":1785950065000,"timestamp_seconds":1785950065,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2eb5168"} 
[2026-08-05 22:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-05 22:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203139584001,"66":24897,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203139584001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:49:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203139584001,"power":24897,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":148712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:49:51] local.INFO: GPS data processed {"connection_id":148712,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:49:51] local.INFO: Acknowledgment sent {"connection_id":148712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:50:19] local.INFO: TCP Data received {"connection_id":151381,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:50:19] local.INFO: Processing buffer {"connection_id":151381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:50:19] local.INFO: IMEI packet received {"connection_id":151381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":151381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:50:24] local.INFO: TCP Data received {"connection_id":151381,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:50:24] local.INFO: Processing buffer {"connection_id":151381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:50:24] local.INFO: IMEI packet received {"connection_id":151381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":151381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:50:25] local.INFO: TCP Data received {"connection_id":151381,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:50:25] local.INFO: Processing buffer {"connection_id":151381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:50:25] local.INFO: Packet analysis {"connection_id":151381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:50:25] local.INFO: Extracted packet for processing {"connection_id":151381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:50:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785950366000,"timestamp_ms":1785950366000,"timestamp_seconds":1785950366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2efe930"} 
[2026-08-05 22:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 22:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203216640001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:50:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203216640001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":151381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:50:25] local.INFO: GPS data processed {"connection_id":151381,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:50:25] local.INFO: Acknowledgment sent {"connection_id":151381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:50:29] local.INFO: TCP Data received {"connection_id":151381,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:50:29] local.INFO: Processing buffer {"connection_id":151381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:50:29] local.INFO: Packet analysis {"connection_id":151381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:50:29] local.INFO: Extracted packet for processing {"connection_id":151381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:50:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785950366000,"timestamp_ms":1785950366000,"timestamp_seconds":1785950366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2efe930"} 
[2026-08-05 22:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 22:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203216640001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:50:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203216640001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":151381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:50:29] local.INFO: GPS data processed {"connection_id":151381,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:50:29] local.INFO: Acknowledgment sent {"connection_id":151381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:51:14] local.INFO: TCP Data received {"connection_id":149943,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:51:14] local.INFO: Processing buffer {"connection_id":149943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:51:14] local.INFO: IMEI packet received {"connection_id":149943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":149943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:51:19] local.INFO: TCP Data received {"connection_id":149943,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:51:19] local.INFO: Processing buffer {"connection_id":149943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:51:19] local.INFO: IMEI packet received {"connection_id":149943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":149943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:51:20] local.INFO: TCP Data received {"connection_id":149943,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:51:20] local.INFO: Processing buffer {"connection_id":149943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:51:20] local.INFO: Packet analysis {"connection_id":149943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:51:20] local.INFO: Extracted packet for processing {"connection_id":149943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:51:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 22:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950366000,"timestamp_ms":1785950366000,"timestamp_seconds":1785950366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2efe930"} 
[2026-08-05 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-08-05 22:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 22:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 22:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203216640001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:51:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203216640001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":149943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:51:20] local.INFO: GPS data processed {"connection_id":149943,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:51:20] local.INFO: Acknowledgment sent {"connection_id":149943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:51:51] local.INFO: TCP Data received {"connection_id":149943,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:51:51] local.INFO: Processing buffer {"connection_id":149943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:51:51] local.INFO: Packet analysis {"connection_id":149943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:51:51] local.INFO: Extracted packet for processing {"connection_id":149943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:51:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785950366000,"timestamp_ms":1785950366000,"timestamp_seconds":1785950366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2efe930"} 
[2026-08-05 22:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 22:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203216640001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:51:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203216640001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":149943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:51:51] local.INFO: GPS data processed {"connection_id":149943,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:51:51] local.INFO: Acknowledgment sent {"connection_id":149943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:52:13] local.INFO: TCP Data received {"connection_id":148713,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:52:13] local.INFO: Processing buffer {"connection_id":148713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:52:13] local.INFO: IMEI packet received {"connection_id":148713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":148713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:52:19] local.INFO: TCP Data received {"connection_id":148713,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:52:19] local.INFO: Processing buffer {"connection_id":148713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:52:19] local.INFO: IMEI packet received {"connection_id":148713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":148713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:52:20] local.INFO: TCP Data received {"connection_id":148713,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:52:20] local.INFO: Processing buffer {"connection_id":148713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:52:20] local.INFO: Packet analysis {"connection_id":148713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:52:20] local.INFO: Extracted packet for processing {"connection_id":148713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:52:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950366000,"timestamp_ms":1785950366000,"timestamp_seconds":1785950366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2efe930"} 
[2026-08-05 22:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 22:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203216640001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:52:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203216640001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":148713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:52:20] local.INFO: GPS data processed {"connection_id":148713,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:52:20] local.INFO: Acknowledgment sent {"connection_id":148713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:52:51] local.INFO: TCP Data received {"connection_id":148713,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:52:51] local.INFO: Processing buffer {"connection_id":148713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:52:51] local.INFO: Packet analysis {"connection_id":148713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:52:51] local.INFO: Extracted packet for processing {"connection_id":148713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:52:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785950366000,"timestamp_ms":1785950366000,"timestamp_seconds":1785950366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2efe930"} 
[2026-08-05 22:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 22:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203216640001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:52:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203216640001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":148713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:52:51] local.INFO: GPS data processed {"connection_id":148713,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:52:51] local.INFO: Acknowledgment sent {"connection_id":148713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:53:13] local.INFO: TCP Data received {"connection_id":148930,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:53:13] local.INFO: Processing buffer {"connection_id":148930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:53:13] local.INFO: IMEI packet received {"connection_id":148930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":148930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:53:19] local.INFO: TCP Data received {"connection_id":148930,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:53:19] local.INFO: Processing buffer {"connection_id":148930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:53:19] local.INFO: IMEI packet received {"connection_id":148930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":148930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:53:25] local.INFO: TCP Data received {"connection_id":148930,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:53:25] local.INFO: Processing buffer {"connection_id":148930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:53:25] local.INFO: Packet analysis {"connection_id":148930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:53:25] local.INFO: Extracted packet for processing {"connection_id":148930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:53:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785950366000,"timestamp_ms":1785950366000,"timestamp_seconds":1785950366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2efe930"} 
[2026-08-05 22:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 22:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203216640001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:53:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203216640001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":148930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:53:25] local.INFO: GPS data processed {"connection_id":148930,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:53:25] local.INFO: Acknowledgment sent {"connection_id":148930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:53:59] local.INFO: TCP Data received {"connection_id":148930,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:53:59] local.INFO: Processing buffer {"connection_id":148930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:53:59] local.INFO: Packet analysis {"connection_id":148930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:53:59] local.INFO: Extracted packet for processing {"connection_id":148930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:53:59] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785950366000,"timestamp_ms":1785950366000,"timestamp_seconds":1785950366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2efe930"} 
[2026-08-05 22:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 22:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203216640001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:53:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203216640001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":148930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:53:59] local.INFO: GPS data processed {"connection_id":148930,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:53:59] local.INFO: Acknowledgment sent {"connection_id":148930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:54:19] local.INFO: TCP Data received {"connection_id":148714,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:54:19] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:54:19] local.INFO: IMEI packet received {"connection_id":148714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":148714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:54:24] local.INFO: TCP Data received {"connection_id":148714,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:54:24] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:54:24] local.INFO: IMEI packet received {"connection_id":148714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":148714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:54:25] local.INFO: TCP Data received {"connection_id":148714,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:54:25] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:54:25] local.INFO: Packet analysis {"connection_id":148714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:54:25] local.INFO: Extracted packet for processing {"connection_id":148714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:54:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785950366000,"timestamp_ms":1785950366000,"timestamp_seconds":1785950366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2efe930"} 
[2026-08-05 22:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 22:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203216640001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:54:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203216640001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":148714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:54:25] local.INFO: GPS data processed {"connection_id":148714,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:54:25] local.INFO: Acknowledgment sent {"connection_id":148714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:54:29] local.INFO: TCP Data received {"connection_id":148714,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:54:29] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2efe930012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:54:29] local.INFO: Packet analysis {"connection_id":148714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:54:29] local.INFO: Extracted packet for processing {"connection_id":148714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2ef"} 
[2026-08-05 22:54:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203216640001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785950366000,"timestamp_ms":1785950366000,"timestamp_seconds":1785950366,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2efe930"} 
[2026-08-05 22:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-05 22:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203216640001,"66":25375,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203216640001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:54:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203216640001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":148714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:54:29] local.INFO: GPS data processed {"connection_id":148714,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:54:29] local.INFO: Acknowledgment sent {"connection_id":148714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:55:14] local.INFO: TCP Data received {"connection_id":151382,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:55:14] local.INFO: Processing buffer {"connection_id":151382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:55:14] local.INFO: IMEI packet received {"connection_id":151382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":151382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:55:19] local.INFO: TCP Data received {"connection_id":151382,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:55:19] local.INFO: Processing buffer {"connection_id":151382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:55:19] local.INFO: IMEI packet received {"connection_id":151382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":151382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:55:20] local.INFO: TCP Data received {"connection_id":151382,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:55:20] local.INFO: Processing buffer {"connection_id":151382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:55:20] local.INFO: Packet analysis {"connection_id":151382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:55:20] local.INFO: Extracted packet for processing {"connection_id":151382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:55:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950667000,"timestamp_ms":1785950667000,"timestamp_seconds":1785950667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f480f8"} 
[2026-08-05 22:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203293696001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:55:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203293696001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":151382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:55:20] local.INFO: GPS data processed {"connection_id":151382,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:55:20] local.INFO: Acknowledgment sent {"connection_id":151382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:55:25] local.INFO: TCP Data received {"connection_id":151382,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:55:25] local.INFO: Processing buffer {"connection_id":151382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:55:25] local.INFO: Packet analysis {"connection_id":151382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:55:25] local.INFO: Extracted packet for processing {"connection_id":151382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:55:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785950667000,"timestamp_ms":1785950667000,"timestamp_seconds":1785950667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f480f8"} 
[2026-08-05 22:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203293696001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:55:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203293696001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":151382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:55:25] local.INFO: GPS data processed {"connection_id":151382,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:55:25] local.INFO: Acknowledgment sent {"connection_id":151382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:55:56] local.INFO: TCP Data received {"connection_id":151382,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:55:56] local.INFO: Processing buffer {"connection_id":151382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:55:56] local.INFO: Packet analysis {"connection_id":151382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:55:56] local.INFO: Extracted packet for processing {"connection_id":151382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:55:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785950667000,"timestamp_ms":1785950667000,"timestamp_seconds":1785950667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f480f8"} 
[2026-08-05 22:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203293696001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:55:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203293696001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":151382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:55:56] local.INFO: GPS data processed {"connection_id":151382,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:55:56] local.INFO: Acknowledgment sent {"connection_id":151382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:56:13] local.INFO: TCP Data received {"connection_id":148715,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:56:13] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:56:13] local.INFO: IMEI packet received {"connection_id":148715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":148715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:56:19] local.INFO: TCP Data received {"connection_id":148715,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:56:19] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:56:19] local.INFO: IMEI packet received {"connection_id":148715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":148715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:56:20] local.INFO: TCP Data received {"connection_id":148715,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:56:20] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:56:20] local.INFO: Packet analysis {"connection_id":148715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:56:20] local.INFO: Extracted packet for processing {"connection_id":148715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:56:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950667000,"timestamp_ms":1785950667000,"timestamp_seconds":1785950667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f480f8"} 
[2026-08-05 22:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22: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-08-05 22:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203293696001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:56:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203293696001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":148715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:56:20] local.INFO: GPS data processed {"connection_id":148715,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:56:20] local.INFO: Acknowledgment sent {"connection_id":148715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:56:51] local.INFO: TCP Data received {"connection_id":148715,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:56:51] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:56:51] local.INFO: Packet analysis {"connection_id":148715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:56:51] local.INFO: Extracted packet for processing {"connection_id":148715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:56:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785950667000,"timestamp_ms":1785950667000,"timestamp_seconds":1785950667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f480f8"} 
[2026-08-05 22:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203293696001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:56:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203293696001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":148715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:56:51] local.INFO: GPS data processed {"connection_id":148715,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:56:51] local.INFO: Acknowledgment sent {"connection_id":148715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:57:13] local.INFO: TCP Data received {"connection_id":148931,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:57:13] local.INFO: Processing buffer {"connection_id":148931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:57:13] local.INFO: IMEI packet received {"connection_id":148931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":148931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:57:19] local.INFO: TCP Data received {"connection_id":148931,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:57:19] local.INFO: Processing buffer {"connection_id":148931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:57:19] local.INFO: IMEI packet received {"connection_id":148931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":148931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:57:20] local.INFO: TCP Data received {"connection_id":148931,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:57:20] local.INFO: Processing buffer {"connection_id":148931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:57:20] local.INFO: Packet analysis {"connection_id":148931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:57:20] local.INFO: Extracted packet for processing {"connection_id":148931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:57:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22: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-08-05 22:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950667000,"timestamp_ms":1785950667000,"timestamp_seconds":1785950667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f480f8"} 
[2026-08-05 22:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203293696001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:57:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203293696001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":148931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:57:20] local.INFO: GPS data processed {"connection_id":148931,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:57:20] local.INFO: Acknowledgment sent {"connection_id":148931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:57:51] local.INFO: TCP Data received {"connection_id":148931,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:57:51] local.INFO: Processing buffer {"connection_id":148931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:57:51] local.INFO: Packet analysis {"connection_id":148931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:57:51] local.INFO: Extracted packet for processing {"connection_id":148931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:57:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785950667000,"timestamp_ms":1785950667000,"timestamp_seconds":1785950667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f480f8"} 
[2026-08-05 22:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203293696001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:57:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203293696001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":148931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:57:51] local.INFO: GPS data processed {"connection_id":148931,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:57:51] local.INFO: Acknowledgment sent {"connection_id":148931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:58:19] local.INFO: TCP Data received {"connection_id":148716,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:58:19] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:58:19] local.INFO: IMEI packet received {"connection_id":148716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":148716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:58:24] local.INFO: TCP Data received {"connection_id":148716,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:58:24] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:58:24] local.INFO: IMEI packet received {"connection_id":148716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":148716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:58:25] local.INFO: TCP Data received {"connection_id":148716,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:58:25] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:58:25] local.INFO: Packet analysis {"connection_id":148716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:58:25] local.INFO: Extracted packet for processing {"connection_id":148716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:58:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785950667000,"timestamp_ms":1785950667000,"timestamp_seconds":1785950667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f480f8"} 
[2026-08-05 22:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203293696001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:58:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203293696001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":148716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:58:25] local.INFO: GPS data processed {"connection_id":148716,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:58:25] local.INFO: Acknowledgment sent {"connection_id":148716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:58:29] local.INFO: TCP Data received {"connection_id":148716,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:58:29] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:58:29] local.INFO: Packet analysis {"connection_id":148716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:58:29] local.INFO: Extracted packet for processing {"connection_id":148716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:58:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785950667000,"timestamp_ms":1785950667000,"timestamp_seconds":1785950667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f480f8"} 
[2026-08-05 22:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203293696001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:58:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203293696001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":148716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:58:29] local.INFO: GPS data processed {"connection_id":148716,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:58:29] local.INFO: Acknowledgment sent {"connection_id":148716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:59:14] local.INFO: TCP Data received {"connection_id":151383,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:59:14] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:59:14] local.INFO: IMEI packet received {"connection_id":151383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 22:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":151383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 22:59:19] local.INFO: TCP Data received {"connection_id":151383,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:59:19] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 22:59:19] local.INFO: IMEI packet received {"connection_id":151383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 22:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":151383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 22:59:20] local.INFO: TCP Data received {"connection_id":151383,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:59:20] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:59:20] local.INFO: Packet analysis {"connection_id":151383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:59:20] local.INFO: Extracted packet for processing {"connection_id":151383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:59:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950667000,"timestamp_ms":1785950667000,"timestamp_seconds":1785950667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f480f8"} 
[2026-08-05 22:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203293696001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:59:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203293696001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":151383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:59:20] local.INFO: GPS data processed {"connection_id":151383,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:59:20] local.INFO: Acknowledgment sent {"connection_id":151383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 22:59:51] local.INFO: TCP Data received {"connection_id":151383,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:59:51] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f480f8012d77ab8005f2a6b80012010824..."} 
[2026-08-05 22:59:51] local.INFO: Packet analysis {"connection_id":151383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:59:51] local.INFO: Extracted packet for processing {"connection_id":151383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f4"} 
[2026-08-05 22:59:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":18,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 22:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 22:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203293696001,"note":"Value kept but may cause issues"} 
[2026-08-05 22:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 22:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 22:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 22:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785950667000,"timestamp_ms":1785950667000,"timestamp_seconds":1785950667,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f480f8"} 
[2026-08-05 22:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 22:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 22:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-05 22:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 22:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 22:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 22:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 22:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 22:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 22:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 22:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 22:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 22:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203293696001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 22:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 22:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 22:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203293696001,"description":"Unknown IO ID 0"} 
[2026-08-05 22:59:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 22:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 22:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 22:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203293696001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 22:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":151383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 22:59:51] local.INFO: GPS data processed {"connection_id":151383,"processed":1,"errors":0,"total":1} 
[2026-08-05 22:59:51] local.INFO: Acknowledgment sent {"connection_id":151383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:00:13] local.INFO: TCP Data received {"connection_id":148717,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:00:13] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:00:13] local.INFO: IMEI packet received {"connection_id":148717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":148717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:00:19] local.INFO: TCP Data received {"connection_id":148717,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:00:19] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:00:19] local.INFO: IMEI packet received {"connection_id":148717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":148717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:00:20] local.INFO: TCP Data received {"connection_id":148717,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:00:20] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:00:20] local.INFO: Packet analysis {"connection_id":148717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:00:20] local.INFO: Extracted packet for processing {"connection_id":148717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:00:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":16,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950968000,"timestamp_ms":1785950968000,"timestamp_seconds":1785950968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f918c0"} 
[2026-08-05 23:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:00: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-08-05 23: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-08-05 23:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203370752001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:00:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203370752001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":148717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:00:20] local.INFO: GPS data processed {"connection_id":148717,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:00:20] local.INFO: Acknowledgment sent {"connection_id":148717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:00:52] local.INFO: TCP Data received {"connection_id":148717,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:00:52] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:00:52] local.INFO: Packet analysis {"connection_id":148717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:00:52] local.INFO: Extracted packet for processing {"connection_id":148717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:00:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":16,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785950968000,"timestamp_ms":1785950968000,"timestamp_seconds":1785950968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f918c0"} 
[2026-08-05 23:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203370752001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:00:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203370752001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":148717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:00:52] local.INFO: GPS data processed {"connection_id":148717,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:00:52] local.INFO: Acknowledgment sent {"connection_id":148717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:01:13] local.INFO: TCP Data received {"connection_id":151384,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:01:13] local.INFO: Processing buffer {"connection_id":151384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:01:13] local.INFO: IMEI packet received {"connection_id":151384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":151384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:01:19] local.INFO: TCP Data received {"connection_id":151384,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:01:19] local.INFO: Processing buffer {"connection_id":151384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:01:19] local.INFO: IMEI packet received {"connection_id":151384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":151384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:01:20] local.INFO: TCP Data received {"connection_id":151384,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:01:20] local.INFO: Processing buffer {"connection_id":151384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:01:20] local.INFO: Packet analysis {"connection_id":151384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:01:20] local.INFO: Extracted packet for processing {"connection_id":151384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:01:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":16,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950968000,"timestamp_ms":1785950968000,"timestamp_seconds":1785950968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f918c0"} 
[2026-08-05 23:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:01: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-08-05 23:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203370752001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:01:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203370752001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":151384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:01:20] local.INFO: GPS data processed {"connection_id":151384,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:01:20] local.INFO: Acknowledgment sent {"connection_id":151384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:01:51] local.INFO: TCP Data received {"connection_id":151384,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:01:51] local.INFO: Processing buffer {"connection_id":151384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:01:51] local.INFO: Packet analysis {"connection_id":151384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:01:51] local.INFO: Extracted packet for processing {"connection_id":151384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:01:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":16,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785950968000,"timestamp_ms":1785950968000,"timestamp_seconds":1785950968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f918c0"} 
[2026-08-05 23:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203370752001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:01:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203370752001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":151384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:01:51] local.INFO: GPS data processed {"connection_id":151384,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:01:51] local.INFO: Acknowledgment sent {"connection_id":151384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:02:19] local.INFO: TCP Data received {"connection_id":148933,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:02:19] local.INFO: Processing buffer {"connection_id":148933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:02:19] local.INFO: IMEI packet received {"connection_id":148933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":148933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:02:24] local.INFO: TCP Data received {"connection_id":148933,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:02:24] local.INFO: Processing buffer {"connection_id":148933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:02:24] local.INFO: IMEI packet received {"connection_id":148933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":148933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:02:25] local.INFO: TCP Data received {"connection_id":148933,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:02:25] local.INFO: Processing buffer {"connection_id":148933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:02:25] local.INFO: Packet analysis {"connection_id":148933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:02:25] local.INFO: Extracted packet for processing {"connection_id":148933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:02:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":16,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785950968000,"timestamp_ms":1785950968000,"timestamp_seconds":1785950968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f918c0"} 
[2026-08-05 23:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203370752001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:02:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203370752001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":148933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:02:25] local.INFO: GPS data processed {"connection_id":148933,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:02:25] local.INFO: Acknowledgment sent {"connection_id":148933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:02:35] local.INFO: TCP Data received {"connection_id":148933,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:02:35] local.INFO: Processing buffer {"connection_id":148933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:02:35] local.INFO: Packet analysis {"connection_id":148933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:02:35] local.INFO: Extracted packet for processing {"connection_id":148933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:02:35] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":16,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785950968000,"timestamp_ms":1785950968000,"timestamp_seconds":1785950968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f918c0"} 
[2026-08-05 23:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203370752001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:02:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203370752001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":148933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:02:35] local.INFO: GPS data processed {"connection_id":148933,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:02:35] local.INFO: Acknowledgment sent {"connection_id":148933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:03:14] local.INFO: TCP Data received {"connection_id":149944,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:03:14] local.INFO: Processing buffer {"connection_id":149944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:03:14] local.INFO: IMEI packet received {"connection_id":149944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":149944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:03:19] local.INFO: TCP Data received {"connection_id":149944,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:03:19] local.INFO: Processing buffer {"connection_id":149944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:03:19] local.INFO: IMEI packet received {"connection_id":149944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":149944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:03:20] local.INFO: TCP Data received {"connection_id":149944,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:03:20] local.INFO: Processing buffer {"connection_id":149944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:03:20] local.INFO: Packet analysis {"connection_id":149944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:03:20] local.INFO: Extracted packet for processing {"connection_id":149944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:03:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":16,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950968000,"timestamp_ms":1785950968000,"timestamp_seconds":1785950968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f918c0"} 
[2026-08-05 23:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:03: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-08-05 23:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203370752001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:03:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203370752001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":149944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:03:20] local.INFO: GPS data processed {"connection_id":149944,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:03:20] local.INFO: Acknowledgment sent {"connection_id":149944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:03:51] local.INFO: TCP Data received {"connection_id":149944,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:03:51] local.INFO: Processing buffer {"connection_id":149944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:03:51] local.INFO: Packet analysis {"connection_id":149944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:03:51] local.INFO: Extracted packet for processing {"connection_id":149944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:03:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":16,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785950968000,"timestamp_ms":1785950968000,"timestamp_seconds":1785950968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f918c0"} 
[2026-08-05 23:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203370752001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:03:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203370752001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":149944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:03:51] local.INFO: GPS data processed {"connection_id":149944,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:03:51] local.INFO: Acknowledgment sent {"connection_id":149944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:04:14] local.INFO: TCP Data received {"connection_id":148718,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:04:14] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:04:14] local.INFO: IMEI packet received {"connection_id":148718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":148718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:04:19] local.INFO: TCP Data received {"connection_id":148718,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:04:19] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:04:19] local.INFO: IMEI packet received {"connection_id":148718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":148718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:04:20] local.INFO: TCP Data received {"connection_id":148718,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:04:20] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:04:20] local.INFO: Packet analysis {"connection_id":148718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:04:20] local.INFO: Extracted packet for processing {"connection_id":148718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:04:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":16,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785950968000,"timestamp_ms":1785950968000,"timestamp_seconds":1785950968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f918c0"} 
[2026-08-05 23:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:04: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-08-05 23:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203370752001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:04:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203370752001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":148718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:04:20] local.INFO: GPS data processed {"connection_id":148718,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:04:20] local.INFO: Acknowledgment sent {"connection_id":148718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:04:51] local.INFO: TCP Data received {"connection_id":148718,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:04:51] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2f918c0012d77ab8005f2a6b80010010824..."} 
[2026-08-05 23:04:51] local.INFO: Packet analysis {"connection_id":148718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:04:51] local.INFO: Extracted packet for processing {"connection_id":148718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2f9"} 
[2026-08-05 23:04:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":16,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203370752001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785950968000,"timestamp_ms":1785950968000,"timestamp_seconds":1785950968,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2f918c0"} 
[2026-08-05 23:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203370752001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203370752001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:04:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203370752001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":148718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:04:51] local.INFO: GPS data processed {"connection_id":148718,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:04:51] local.INFO: Acknowledgment sent {"connection_id":148718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:05:13] local.INFO: TCP Data received {"connection_id":149945,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:05:13] local.INFO: Processing buffer {"connection_id":149945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:05:13] local.INFO: IMEI packet received {"connection_id":149945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":149945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:05:19] local.INFO: TCP Data received {"connection_id":149945,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:05:19] local.INFO: Processing buffer {"connection_id":149945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:05:19] local.INFO: IMEI packet received {"connection_id":149945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":149945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:05:20] local.INFO: TCP Data received {"connection_id":149945,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:05:20] local.INFO: Processing buffer {"connection_id":149945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:05:20] local.INFO: Packet analysis {"connection_id":149945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:05:20] local.INFO: Extracted packet for processing {"connection_id":149945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:05:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785951269000,"timestamp_ms":1785951269000,"timestamp_seconds":1785951269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2fdb088"} 
[2026-08-05 23:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203447808001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:05:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203447808001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":149945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:05:20] local.INFO: GPS data processed {"connection_id":149945,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:05:20] local.INFO: Acknowledgment sent {"connection_id":149945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:05:51] local.INFO: TCP Data received {"connection_id":149945,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:05:51] local.INFO: Processing buffer {"connection_id":149945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:05:51] local.INFO: Packet analysis {"connection_id":149945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:05:51] local.INFO: Extracted packet for processing {"connection_id":149945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:05:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785951269000,"timestamp_ms":1785951269000,"timestamp_seconds":1785951269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2fdb088"} 
[2026-08-05 23:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203447808001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:05:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203447808001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":149945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:05:51] local.INFO: GPS data processed {"connection_id":149945,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:05:51] local.INFO: Acknowledgment sent {"connection_id":149945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:06:19] local.INFO: TCP Data received {"connection_id":148719,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:06:19] local.INFO: Processing buffer {"connection_id":148719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:06:19] local.INFO: IMEI packet received {"connection_id":148719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":148719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:06:24] local.INFO: TCP Data received {"connection_id":148719,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:06:24] local.INFO: Processing buffer {"connection_id":148719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:06:24] local.INFO: IMEI packet received {"connection_id":148719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":148719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:06:25] local.INFO: TCP Data received {"connection_id":148719,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:06:25] local.INFO: Processing buffer {"connection_id":148719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:06:25] local.INFO: Packet analysis {"connection_id":148719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:06:25] local.INFO: Extracted packet for processing {"connection_id":148719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:06:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785951269000,"timestamp_ms":1785951269000,"timestamp_seconds":1785951269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2fdb088"} 
[2026-08-05 23:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203447808001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:06:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203447808001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":148719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:06:25] local.INFO: GPS data processed {"connection_id":148719,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:06:25] local.INFO: Acknowledgment sent {"connection_id":148719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:06:29] local.INFO: TCP Data received {"connection_id":148719,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:06:29] local.INFO: Processing buffer {"connection_id":148719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:06:29] local.INFO: Packet analysis {"connection_id":148719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:06:29] local.INFO: Extracted packet for processing {"connection_id":148719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:06:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785951269000,"timestamp_ms":1785951269000,"timestamp_seconds":1785951269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2fdb088"} 
[2026-08-05 23:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203447808001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:06:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203447808001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":148719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:06:29] local.INFO: GPS data processed {"connection_id":148719,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:06:29] local.INFO: Acknowledgment sent {"connection_id":148719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:07:14] local.INFO: TCP Data received {"connection_id":151385,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:07:14] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:07:14] local.INFO: IMEI packet received {"connection_id":151385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":151385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:07:19] local.INFO: TCP Data received {"connection_id":151385,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:07:19] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:07:19] local.INFO: IMEI packet received {"connection_id":151385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":151385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:07:20] local.INFO: TCP Data received {"connection_id":151385,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:07:20] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:07:20] local.INFO: Packet analysis {"connection_id":151385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:07:20] local.INFO: Extracted packet for processing {"connection_id":151385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:07:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785951269000,"timestamp_ms":1785951269000,"timestamp_seconds":1785951269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2fdb088"} 
[2026-08-05 23:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203447808001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:07:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203447808001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":151385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:07:20] local.INFO: GPS data processed {"connection_id":151385,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:07:20] local.INFO: Acknowledgment sent {"connection_id":151385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:07:51] local.INFO: TCP Data received {"connection_id":151385,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:07:51] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:07:51] local.INFO: Packet analysis {"connection_id":151385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:07:51] local.INFO: Extracted packet for processing {"connection_id":151385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:07:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785951269000,"timestamp_ms":1785951269000,"timestamp_seconds":1785951269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2fdb088"} 
[2026-08-05 23:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203447808001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:07:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203447808001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":151385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:07:51] local.INFO: GPS data processed {"connection_id":151385,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:07:51] local.INFO: Acknowledgment sent {"connection_id":151385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:08:14] local.INFO: TCP Data received {"connection_id":148934,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:08:14] local.INFO: Processing buffer {"connection_id":148934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:08:14] local.INFO: IMEI packet received {"connection_id":148934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":148934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:08:19] local.INFO: TCP Data received {"connection_id":148934,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:08:19] local.INFO: Processing buffer {"connection_id":148934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:08:19] local.INFO: IMEI packet received {"connection_id":148934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":148934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:08:20] local.INFO: TCP Data received {"connection_id":148934,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:08:20] local.INFO: Processing buffer {"connection_id":148934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:08:20] local.INFO: Packet analysis {"connection_id":148934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:08:20] local.INFO: Extracted packet for processing {"connection_id":148934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:08:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785951269000,"timestamp_ms":1785951269000,"timestamp_seconds":1785951269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2fdb088"} 
[2026-08-05 23:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203447808001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:08:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203447808001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":148934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:08:20] local.INFO: GPS data processed {"connection_id":148934,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:08:20] local.INFO: Acknowledgment sent {"connection_id":148934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:08:52] local.INFO: TCP Data received {"connection_id":148934,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:08:52] local.INFO: Processing buffer {"connection_id":148934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:08:52] local.INFO: Packet analysis {"connection_id":148934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:08:52] local.INFO: Extracted packet for processing {"connection_id":148934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:08:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785951269000,"timestamp_ms":1785951269000,"timestamp_seconds":1785951269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2fdb088"} 
[2026-08-05 23:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203447808001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:08:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203447808001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":148934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:08:52] local.INFO: GPS data processed {"connection_id":148934,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:08:52] local.INFO: Acknowledgment sent {"connection_id":148934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:09:13] local.INFO: TCP Data received {"connection_id":149946,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:09:13] local.INFO: Processing buffer {"connection_id":149946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:09:13] local.INFO: IMEI packet received {"connection_id":149946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":149946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:09:19] local.INFO: TCP Data received {"connection_id":149946,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:09:19] local.INFO: Processing buffer {"connection_id":149946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:09:19] local.INFO: IMEI packet received {"connection_id":149946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":149946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:09:20] local.INFO: TCP Data received {"connection_id":149946,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:09:20] local.INFO: Processing buffer {"connection_id":149946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:09:20] local.INFO: Packet analysis {"connection_id":149946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:09:20] local.INFO: Extracted packet for processing {"connection_id":149946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:09:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785951269000,"timestamp_ms":1785951269000,"timestamp_seconds":1785951269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2fdb088"} 
[2026-08-05 23:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203447808001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:09:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203447808001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":149946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:09:20] local.INFO: GPS data processed {"connection_id":149946,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:09:20] local.INFO: Acknowledgment sent {"connection_id":149946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:09:51] local.INFO: TCP Data received {"connection_id":149946,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:09:51] local.INFO: Processing buffer {"connection_id":149946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd2fdb088012d77ab8005f2a6b80015010827..."} 
[2026-08-05 23:09:51] local.INFO: Packet analysis {"connection_id":149946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:09:51] local.INFO: Extracted packet for processing {"connection_id":149946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd2fd"} 
[2026-08-05 23:09:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203447808001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785951269000,"timestamp_ms":1785951269000,"timestamp_seconds":1785951269,"priority":1,"record_length":96,"hex_timestamp":"0000019fd2fdb088"} 
[2026-08-05 23:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203447808001,"66":25430,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203447808001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:09:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203447808001,"power":25430,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":149946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:09:51] local.INFO: GPS data processed {"connection_id":149946,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:09:51] local.INFO: Acknowledgment sent {"connection_id":149946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:10:13] local.INFO: TCP Data received {"connection_id":151386,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:10:13] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:10:13] local.INFO: IMEI packet received {"connection_id":151386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":151386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:10:19] local.INFO: TCP Data received {"connection_id":151386,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:10:19] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:10:19] local.INFO: IMEI packet received {"connection_id":151386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":151386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:10:20] local.INFO: TCP Data received {"connection_id":151386,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:10:20] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:10:20] local.INFO: Packet analysis {"connection_id":151386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:10:20] local.INFO: Extracted packet for processing {"connection_id":151386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:10:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785951570000,"timestamp_ms":1785951570000,"timestamp_seconds":1785951570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3024850"} 
[2026-08-05 23:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 23:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203524864001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:10:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203524864001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":151386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:10:20] local.INFO: GPS data processed {"connection_id":151386,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:10:20] local.INFO: Acknowledgment sent {"connection_id":151386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:10:51] local.INFO: TCP Data received {"connection_id":151386,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:10:51] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:10:51] local.INFO: Packet analysis {"connection_id":151386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:10:51] local.INFO: Extracted packet for processing {"connection_id":151386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:10:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785951570000,"timestamp_ms":1785951570000,"timestamp_seconds":1785951570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3024850"} 
[2026-08-05 23:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 23:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203524864001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:10:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203524864001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":151386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:10:51] local.INFO: GPS data processed {"connection_id":151386,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:10:51] local.INFO: Acknowledgment sent {"connection_id":151386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:11:14] local.INFO: TCP Data received {"connection_id":149947,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:11:14] local.INFO: Processing buffer {"connection_id":149947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:11:14] local.INFO: IMEI packet received {"connection_id":149947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":149947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:11:19] local.INFO: TCP Data received {"connection_id":149947,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:11:19] local.INFO: Processing buffer {"connection_id":149947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:11:19] local.INFO: IMEI packet received {"connection_id":149947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":149947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:11:20] local.INFO: TCP Data received {"connection_id":149947,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:11:20] local.INFO: Processing buffer {"connection_id":149947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:11:20] local.INFO: Packet analysis {"connection_id":149947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:11:20] local.INFO: Extracted packet for processing {"connection_id":149947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:11:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785951570000,"timestamp_ms":1785951570000,"timestamp_seconds":1785951570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3024850"} 
[2026-08-05 23:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 23:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203524864001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:11:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203524864001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":149947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:11:20] local.INFO: GPS data processed {"connection_id":149947,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:11:20] local.INFO: Acknowledgment sent {"connection_id":149947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:11:52] local.INFO: TCP Data received {"connection_id":149947,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:11:52] local.INFO: Processing buffer {"connection_id":149947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:11:52] local.INFO: Packet analysis {"connection_id":149947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:11:52] local.INFO: Extracted packet for processing {"connection_id":149947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:11:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 23:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785951570000,"timestamp_ms":1785951570000,"timestamp_seconds":1785951570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3024850"} 
[2026-08-05 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-08-05 23:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 23:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 23:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203524864001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:11:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203524864001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":149947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:11:52] local.INFO: GPS data processed {"connection_id":149947,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:11:52] local.INFO: Acknowledgment sent {"connection_id":149947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:12:13] local.INFO: TCP Data received {"connection_id":148720,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:12:13] local.INFO: Processing buffer {"connection_id":148720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:12:13] local.INFO: IMEI packet received {"connection_id":148720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":148720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:12:19] local.INFO: TCP Data received {"connection_id":148720,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:12:19] local.INFO: Processing buffer {"connection_id":148720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:12:19] local.INFO: IMEI packet received {"connection_id":148720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":148720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:12:20] local.INFO: TCP Data received {"connection_id":148720,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:12:20] local.INFO: Processing buffer {"connection_id":148720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:12:20] local.INFO: Packet analysis {"connection_id":148720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:12:20] local.INFO: Extracted packet for processing {"connection_id":148720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:12:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785951570000,"timestamp_ms":1785951570000,"timestamp_seconds":1785951570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3024850"} 
[2026-08-05 23:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 23:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203524864001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:12:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203524864001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":148720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:12:20] local.INFO: GPS data processed {"connection_id":148720,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:12:20] local.INFO: Acknowledgment sent {"connection_id":148720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:12:51] local.INFO: TCP Data received {"connection_id":148720,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:12:51] local.INFO: Processing buffer {"connection_id":148720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:12:51] local.INFO: Packet analysis {"connection_id":148720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:12:51] local.INFO: Extracted packet for processing {"connection_id":148720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:12:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785951570000,"timestamp_ms":1785951570000,"timestamp_seconds":1785951570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3024850"} 
[2026-08-05 23:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 23:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203524864001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:12:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203524864001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":148720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:12:52] local.INFO: GPS data processed {"connection_id":148720,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:12:52] local.INFO: Acknowledgment sent {"connection_id":148720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:13:13] local.INFO: TCP Data received {"connection_id":151388,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:13:13] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:13:13] local.INFO: IMEI packet received {"connection_id":151388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":151388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:13:19] local.INFO: TCP Data received {"connection_id":151388,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:13:19] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:13:19] local.INFO: IMEI packet received {"connection_id":151388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":151388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:13:20] local.INFO: TCP Data received {"connection_id":151388,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:13:20] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:13:20] local.INFO: Packet analysis {"connection_id":151388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:13:20] local.INFO: Extracted packet for processing {"connection_id":151388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:13:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785951570000,"timestamp_ms":1785951570000,"timestamp_seconds":1785951570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3024850"} 
[2026-08-05 23:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 23:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203524864001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:13:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203524864001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":151388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:13:20] local.INFO: GPS data processed {"connection_id":151388,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:13:20] local.INFO: Acknowledgment sent {"connection_id":151388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:13:51] local.INFO: TCP Data received {"connection_id":151388,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:13:51] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:13:51] local.INFO: Packet analysis {"connection_id":151388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:13:51] local.INFO: Extracted packet for processing {"connection_id":151388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:13:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785951570000,"timestamp_ms":1785951570000,"timestamp_seconds":1785951570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3024850"} 
[2026-08-05 23:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 23:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203524864001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:13:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203524864001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":151388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:13:51] local.INFO: GPS data processed {"connection_id":151388,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:13:51] local.INFO: Acknowledgment sent {"connection_id":151388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:14:13] local.INFO: TCP Data received {"connection_id":148935,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:14:13] local.INFO: Processing buffer {"connection_id":148935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:14:13] local.INFO: IMEI packet received {"connection_id":148935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":148935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:14:19] local.INFO: TCP Data received {"connection_id":148935,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:14:19] local.INFO: Processing buffer {"connection_id":148935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:14:19] local.INFO: IMEI packet received {"connection_id":148935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":148935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:14:20] local.INFO: TCP Data received {"connection_id":148935,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:14:20] local.INFO: Processing buffer {"connection_id":148935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:14:20] local.INFO: Packet analysis {"connection_id":148935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:14:20] local.INFO: Extracted packet for processing {"connection_id":148935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:14:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785951570000,"timestamp_ms":1785951570000,"timestamp_seconds":1785951570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3024850"} 
[2026-08-05 23:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-05 23:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203524864001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:14:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203524864001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":148935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:14:20] local.INFO: GPS data processed {"connection_id":148935,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:14:20] local.INFO: Acknowledgment sent {"connection_id":148935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:14:52] local.INFO: TCP Data received {"connection_id":148935,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:14:52] local.INFO: Processing buffer {"connection_id":148935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3024850012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:14:52] local.INFO: Packet analysis {"connection_id":148935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:14:52] local.INFO: Extracted packet for processing {"connection_id":148935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd302"} 
[2026-08-05 23:14:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203524864001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785951570000,"timestamp_ms":1785951570000,"timestamp_seconds":1785951570,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3024850"} 
[2026-08-05 23:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":86,"data_length":795,"current_offset":136} 
[2026-08-05 23:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203524864001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203524864001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:14:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203524864001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":148935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:14:52] local.INFO: GPS data processed {"connection_id":148935,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:14:52] local.INFO: Acknowledgment sent {"connection_id":148935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:15:19] local.INFO: TCP Data received {"connection_id":149948,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:15:19] local.INFO: Processing buffer {"connection_id":149948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:15:19] local.INFO: IMEI packet received {"connection_id":149948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":149948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:15:24] local.INFO: TCP Data received {"connection_id":149948,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:15:24] local.INFO: Processing buffer {"connection_id":149948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:15:24] local.INFO: IMEI packet received {"connection_id":149948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":149948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:15:25] local.INFO: TCP Data received {"connection_id":149948,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:15:25] local.INFO: Processing buffer {"connection_id":149948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:15:25] local.INFO: Packet analysis {"connection_id":149948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:15:25] local.INFO: Extracted packet for processing {"connection_id":149948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:15:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203601920001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785951871000,"timestamp_ms":1785951871000,"timestamp_seconds":1785951871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd306e018"} 
[2026-08-05 23:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":149948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":149948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":149948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203601920001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203601920001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:15:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203601920001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":149948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:15:25] local.INFO: GPS data processed {"connection_id":149948,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:15:25] local.INFO: Acknowledgment sent {"connection_id":149948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:15:30] local.INFO: TCP Data received {"connection_id":149948,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:15:30] local.INFO: Processing buffer {"connection_id":149948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:15:30] local.INFO: Packet analysis {"connection_id":149948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:15:30] local.INFO: Extracted packet for processing {"connection_id":149948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:15:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203601920001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785951871000,"timestamp_ms":1785951871000,"timestamp_seconds":1785951871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd306e018"} 
[2026-08-05 23:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":149948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":149948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":149948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203601920001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203601920001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:15:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203601920001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":149948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:15:30] local.INFO: GPS data processed {"connection_id":149948,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:15:30] local.INFO: Acknowledgment sent {"connection_id":149948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:16:13] local.INFO: TCP Data received {"connection_id":148721,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:16:13] local.INFO: Processing buffer {"connection_id":148721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:16:13] local.INFO: IMEI packet received {"connection_id":148721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":148721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:16:19] local.INFO: TCP Data received {"connection_id":148721,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:16:19] local.INFO: Processing buffer {"connection_id":148721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:16:19] local.INFO: IMEI packet received {"connection_id":148721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":148721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:16:20] local.INFO: TCP Data received {"connection_id":148721,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:16:20] local.INFO: Processing buffer {"connection_id":148721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:16:20] local.INFO: Packet analysis {"connection_id":148721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:16:20] local.INFO: Extracted packet for processing {"connection_id":148721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:16:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203601920001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785951871000,"timestamp_ms":1785951871000,"timestamp_seconds":1785951871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd306e018"} 
[2026-08-05 23:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203601920001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203601920001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:16:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203601920001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":148721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:16:20] local.INFO: GPS data processed {"connection_id":148721,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:16:20] local.INFO: Acknowledgment sent {"connection_id":148721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:16:51] local.INFO: TCP Data received {"connection_id":148721,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:16:51] local.INFO: Processing buffer {"connection_id":148721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:16:51] local.INFO: Packet analysis {"connection_id":148721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:16:51] local.INFO: Extracted packet for processing {"connection_id":148721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:16:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203601920001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785951871000,"timestamp_ms":1785951871000,"timestamp_seconds":1785951871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd306e018"} 
[2026-08-05 23:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203601920001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203601920001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:16:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203601920001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":148721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:16:51] local.INFO: GPS data processed {"connection_id":148721,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:16:51] local.INFO: Acknowledgment sent {"connection_id":148721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:17:13] local.INFO: TCP Data received {"connection_id":151389,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:17:13] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:17:13] local.INFO: IMEI packet received {"connection_id":151389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":151389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:17:19] local.INFO: TCP Data received {"connection_id":151389,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:17:19] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:17:19] local.INFO: IMEI packet received {"connection_id":151389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":151389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:17:20] local.INFO: TCP Data received {"connection_id":151389,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:17:20] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:17:20] local.INFO: Packet analysis {"connection_id":151389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:17:20] local.INFO: Extracted packet for processing {"connection_id":151389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:17:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203601920001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785951871000,"timestamp_ms":1785951871000,"timestamp_seconds":1785951871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd306e018"} 
[2026-08-05 23:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203601920001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203601920001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:17:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203601920001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":151389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:17:20] local.INFO: GPS data processed {"connection_id":151389,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:17:20] local.INFO: Acknowledgment sent {"connection_id":151389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:17:51] local.INFO: TCP Data received {"connection_id":151389,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:17:51] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:17:51] local.INFO: Packet analysis {"connection_id":151389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:17:51] local.INFO: Extracted packet for processing {"connection_id":151389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:17:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203601920001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785951871000,"timestamp_ms":1785951871000,"timestamp_seconds":1785951871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd306e018"} 
[2026-08-05 23:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203601920001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203601920001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:17:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203601920001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":151389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:17:51] local.INFO: GPS data processed {"connection_id":151389,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:17:51] local.INFO: Acknowledgment sent {"connection_id":151389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:18:19] local.INFO: TCP Data received {"connection_id":148936,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:18:19] local.INFO: Processing buffer {"connection_id":148936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:18:19] local.INFO: IMEI packet received {"connection_id":148936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":148936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:18:24] local.INFO: TCP Data received {"connection_id":148936,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:18:24] local.INFO: Processing buffer {"connection_id":148936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:18:24] local.INFO: IMEI packet received {"connection_id":148936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":148936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:18:25] local.INFO: TCP Data received {"connection_id":148936,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:18:25] local.INFO: Processing buffer {"connection_id":148936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:18:25] local.INFO: Packet analysis {"connection_id":148936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:18:25] local.INFO: Extracted packet for processing {"connection_id":148936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:18:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203601920001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785951871000,"timestamp_ms":1785951871000,"timestamp_seconds":1785951871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd306e018"} 
[2026-08-05 23:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203601920001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203601920001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:18:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203601920001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":148936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:18:25] local.INFO: GPS data processed {"connection_id":148936,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:18:25] local.INFO: Acknowledgment sent {"connection_id":148936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:18:30] local.INFO: TCP Data received {"connection_id":148936,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:18:30] local.INFO: Processing buffer {"connection_id":148936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:18:30] local.INFO: Packet analysis {"connection_id":148936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:18:30] local.INFO: Extracted packet for processing {"connection_id":148936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:18:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203601920001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785951871000,"timestamp_ms":1785951871000,"timestamp_seconds":1785951871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd306e018"} 
[2026-08-05 23:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203601920001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203601920001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:18:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203601920001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":148936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:18:30] local.INFO: GPS data processed {"connection_id":148936,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:18:30] local.INFO: Acknowledgment sent {"connection_id":148936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:19:14] local.INFO: TCP Data received {"connection_id":148937,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:19:14] local.INFO: Processing buffer {"connection_id":148937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:19:14] local.INFO: IMEI packet received {"connection_id":148937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":148937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:19:20] local.INFO: TCP Data received {"connection_id":148937,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:19:20] local.INFO: Processing buffer {"connection_id":148937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:19:20] local.INFO: IMEI packet received {"connection_id":148937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":148937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:19:26] local.INFO: TCP Data received {"connection_id":148937,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:19:26] local.INFO: Processing buffer {"connection_id":148937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:19:26] local.INFO: Packet analysis {"connection_id":148937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:19:26] local.INFO: Extracted packet for processing {"connection_id":148937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:19:26] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203601920001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785951871000,"timestamp_ms":1785951871000,"timestamp_seconds":1785951871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd306e018"} 
[2026-08-05 23:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203601920001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203601920001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:19:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203601920001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":148937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:19:26] local.INFO: GPS data processed {"connection_id":148937,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:19:26] local.INFO: Acknowledgment sent {"connection_id":148937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:19:53] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 23:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 23:19:53] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 23:19:53] local.INFO: IMEI packet received {"connection_id":148722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-05 23:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":148722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:19:56] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 23:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 23:19:56] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 23:19:56] local.INFO: IMEI packet received {"connection_id":148722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-05 23:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":148722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:19:58] local.INFO: TCP Data received {"connection_id":148937,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:19:58] local.INFO: Processing buffer {"connection_id":148937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd306e018012d77ab8005f2a6b80015010826..."} 
[2026-08-05 23:19:58] local.INFO: Packet analysis {"connection_id":148937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:19:58] local.INFO: Extracted packet for processing {"connection_id":148937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd306"} 
[2026-08-05 23:19:58] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203601920001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785951871000,"timestamp_ms":1785951871000,"timestamp_seconds":1785951871,"priority":1,"record_length":96,"hex_timestamp":"0000019fd306e018"} 
[2026-08-05 23:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203601920001,"66":25397,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203601920001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:19:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203601920001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":148937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:19:58] local.INFO: GPS data processed {"connection_id":148937,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:19:58] local.INFO: Acknowledgment sent {"connection_id":148937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:20:13] local.INFO: TCP Data received {"connection_id":148938,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:20:13] local.INFO: Processing buffer {"connection_id":148938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:20:13] local.INFO: IMEI packet received {"connection_id":148938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":148938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:20:19] local.INFO: TCP Data received {"connection_id":148938,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:20:19] local.INFO: Processing buffer {"connection_id":148938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:20:19] local.INFO: IMEI packet received {"connection_id":148938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":148938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:20:20] local.INFO: TCP Data received {"connection_id":148938,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:20:20] local.INFO: Processing buffer {"connection_id":148938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:20:20] local.INFO: Packet analysis {"connection_id":148938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:20:20] local.INFO: Extracted packet for processing {"connection_id":148938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:20:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203678976001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785952172000,"timestamp_ms":1785952172000,"timestamp_seconds":1785952172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd30b77e0"} 
[2026-08-05 23:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:20: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-08-05 23: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":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:20: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-08-05 23: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-08-05 23:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203678976001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203678976001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:20:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203678976001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":148938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:20:20] local.INFO: GPS data processed {"connection_id":148938,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:20:20] local.INFO: Acknowledgment sent {"connection_id":148938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:20:52] local.INFO: TCP Data received {"connection_id":148938,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:20:52] local.INFO: Processing buffer {"connection_id":148938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:20:52] local.INFO: Packet analysis {"connection_id":148938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:20:52] local.INFO: Extracted packet for processing {"connection_id":148938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:20:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203678976001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785952172000,"timestamp_ms":1785952172000,"timestamp_seconds":1785952172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd30b77e0"} 
[2026-08-05 23:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203678976001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203678976001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:20:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203678976001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":148938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:20:52] local.INFO: GPS data processed {"connection_id":148938,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:20:52] local.INFO: Acknowledgment sent {"connection_id":148938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:21:09] local.INFO: TCP Data received {"connection_id":151390,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 23:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 23:21:09] local.INFO: Processing buffer {"connection_id":151390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-05 23:21:09] local.INFO: IMEI packet received {"connection_id":151390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-05 23:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":151390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:21:13] local.INFO: TCP Data received {"connection_id":149949,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:21:13] local.INFO: Processing buffer {"connection_id":149949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:21:13] local.INFO: IMEI packet received {"connection_id":149949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":149949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:21:19] local.INFO: TCP Data received {"connection_id":149949,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:21:19] local.INFO: Processing buffer {"connection_id":149949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:21:19] local.INFO: IMEI packet received {"connection_id":149949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":149949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:21:20] local.INFO: TCP Data received {"connection_id":149949,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:21:20] local.INFO: Processing buffer {"connection_id":149949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:21:20] local.INFO: Packet analysis {"connection_id":149949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:21:20] local.INFO: Extracted packet for processing {"connection_id":149949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:21:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203678976001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785952172000,"timestamp_ms":1785952172000,"timestamp_seconds":1785952172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd30b77e0"} 
[2026-08-05 23:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:21: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-08-05 23:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:21: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-08-05 23:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203678976001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203678976001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:21:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203678976001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":149949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:21:20] local.INFO: GPS data processed {"connection_id":149949,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:21:20] local.INFO: Acknowledgment sent {"connection_id":149949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:21:51] local.INFO: TCP Data received {"connection_id":149949,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:21:51] local.INFO: Processing buffer {"connection_id":149949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:21:51] local.INFO: Packet analysis {"connection_id":149949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:21:51] local.INFO: Extracted packet for processing {"connection_id":149949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:21:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203678976001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785952172000,"timestamp_ms":1785952172000,"timestamp_seconds":1785952172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd30b77e0"} 
[2026-08-05 23:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:21: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-08-05 23:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203678976001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203678976001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:21:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203678976001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":149949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:21:51] local.INFO: GPS data processed {"connection_id":149949,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:21:51] local.INFO: Acknowledgment sent {"connection_id":149949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:22:19] local.INFO: TCP Data received {"connection_id":148723,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:22:19] local.INFO: Processing buffer {"connection_id":148723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:22:19] local.INFO: IMEI packet received {"connection_id":148723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":148723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:22:24] local.INFO: TCP Data received {"connection_id":148723,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:22:24] local.INFO: Processing buffer {"connection_id":148723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:22:24] local.INFO: IMEI packet received {"connection_id":148723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":148723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:22:25] local.INFO: TCP Data received {"connection_id":148723,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:22:25] local.INFO: Processing buffer {"connection_id":148723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:22:25] local.INFO: Packet analysis {"connection_id":148723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:22:25] local.INFO: Extracted packet for processing {"connection_id":148723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:22:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203678976001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785952172000,"timestamp_ms":1785952172000,"timestamp_seconds":1785952172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd30b77e0"} 
[2026-08-05 23:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203678976001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203678976001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:22:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203678976001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":148723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:22:25] local.INFO: GPS data processed {"connection_id":148723,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:22:25] local.INFO: Acknowledgment sent {"connection_id":148723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:22:30] local.INFO: TCP Data received {"connection_id":148723,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:22:30] local.INFO: Processing buffer {"connection_id":148723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:22:30] local.INFO: Packet analysis {"connection_id":148723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:22:30] local.INFO: Extracted packet for processing {"connection_id":148723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:22:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203678976001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785952172000,"timestamp_ms":1785952172000,"timestamp_seconds":1785952172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd30b77e0"} 
[2026-08-05 23:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203678976001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203678976001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:22:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203678976001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":148723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:22:30] local.INFO: GPS data processed {"connection_id":148723,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:22:30] local.INFO: Acknowledgment sent {"connection_id":148723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:23:14] local.INFO: TCP Data received {"connection_id":148939,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:23:14] local.INFO: Processing buffer {"connection_id":148939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:23:14] local.INFO: IMEI packet received {"connection_id":148939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":148939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:23:19] local.INFO: TCP Data received {"connection_id":148939,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:23:19] local.INFO: Processing buffer {"connection_id":148939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:23:19] local.INFO: IMEI packet received {"connection_id":148939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":148939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:23:20] local.INFO: TCP Data received {"connection_id":148939,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:23:20] local.INFO: Processing buffer {"connection_id":148939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:23:20] local.INFO: Packet analysis {"connection_id":148939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:23:20] local.INFO: Extracted packet for processing {"connection_id":148939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:23:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203678976001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785952172000,"timestamp_ms":1785952172000,"timestamp_seconds":1785952172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd30b77e0"} 
[2026-08-05 23:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:23: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-08-05 23:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203678976001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203678976001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:23:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203678976001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":148939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:23:20] local.INFO: GPS data processed {"connection_id":148939,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:23:20] local.INFO: Acknowledgment sent {"connection_id":148939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:23:51] local.INFO: TCP Data received {"connection_id":148939,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:23:51] local.INFO: Processing buffer {"connection_id":148939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:23:51] local.INFO: Packet analysis {"connection_id":148939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:23:51] local.INFO: Extracted packet for processing {"connection_id":148939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:23:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203678976001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785952172000,"timestamp_ms":1785952172000,"timestamp_seconds":1785952172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd30b77e0"} 
[2026-08-05 23:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:23: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-08-05 23:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203678976001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203678976001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:23:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203678976001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":148939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:23:51] local.INFO: GPS data processed {"connection_id":148939,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:23:51] local.INFO: Acknowledgment sent {"connection_id":148939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:24:13] local.INFO: TCP Data received {"connection_id":148724,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:24:13] local.INFO: Processing buffer {"connection_id":148724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:24:13] local.INFO: IMEI packet received {"connection_id":148724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":148724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:24:19] local.INFO: TCP Data received {"connection_id":148724,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:24:19] local.INFO: Processing buffer {"connection_id":148724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:24:19] local.INFO: IMEI packet received {"connection_id":148724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":148724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:24:20] local.INFO: TCP Data received {"connection_id":148724,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:24:20] local.INFO: Processing buffer {"connection_id":148724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:24:20] local.INFO: Packet analysis {"connection_id":148724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:24:20] local.INFO: Extracted packet for processing {"connection_id":148724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:24:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203678976001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785952172000,"timestamp_ms":1785952172000,"timestamp_seconds":1785952172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd30b77e0"} 
[2026-08-05 23:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:24: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-08-05 23:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:24: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-08-05 23:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203678976001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203678976001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:24:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203678976001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":148724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:24:20] local.INFO: GPS data processed {"connection_id":148724,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:24:20] local.INFO: Acknowledgment sent {"connection_id":148724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:24:51] local.INFO: TCP Data received {"connection_id":148724,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:24:51] local.INFO: Processing buffer {"connection_id":148724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd30b77e0012d77ab8005f2a6b80015010824..."} 
[2026-08-05 23:24:51] local.INFO: Packet analysis {"connection_id":148724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:24:51] local.INFO: Extracted packet for processing {"connection_id":148724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd30b"} 
[2026-08-05 23:24:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":21,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203678976001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785952172000,"timestamp_ms":1785952172000,"timestamp_seconds":1785952172,"priority":1,"record_length":96,"hex_timestamp":"0000019fd30b77e0"} 
[2026-08-05 23:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:24: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-08-05 23:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-05 23:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203678976001,"66":25321,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203678976001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:24:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203678976001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":148724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:24:51] local.INFO: GPS data processed {"connection_id":148724,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:24:51] local.INFO: Acknowledgment sent {"connection_id":148724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:25:13] local.INFO: TCP Data received {"connection_id":151391,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:25:13] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:25:13] local.INFO: IMEI packet received {"connection_id":151391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":151391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:25:19] local.INFO: TCP Data received {"connection_id":151391,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:25:19] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:25:19] local.INFO: IMEI packet received {"connection_id":151391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":151391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:25:20] local.INFO: TCP Data received {"connection_id":151391,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:25:20] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:25:20] local.INFO: Packet analysis {"connection_id":151391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:25:20] local.INFO: Extracted packet for processing {"connection_id":151391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:25:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203756032001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785952473000,"timestamp_ms":1785952473000,"timestamp_seconds":1785952473,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3100fa8"} 
[2026-08-05 23:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:25: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-08-05 23:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203756032001,"66":25299,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203756032001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:25:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203756032001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":151391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:25:20] local.INFO: GPS data processed {"connection_id":151391,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:25:20] local.INFO: Acknowledgment sent {"connection_id":151391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:25:52] local.INFO: TCP Data received {"connection_id":151391,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:25:52] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:25:52] local.INFO: Packet analysis {"connection_id":151391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:25:52] local.INFO: Extracted packet for processing {"connection_id":151391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:25:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203756032001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785952473000,"timestamp_ms":1785952473000,"timestamp_seconds":1785952473,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3100fa8"} 
[2026-08-05 23:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203756032001,"66":25299,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203756032001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:25:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203756032001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":151391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:25:52] local.INFO: GPS data processed {"connection_id":151391,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:25:52] local.INFO: Acknowledgment sent {"connection_id":151391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:26:14] local.INFO: TCP Data received {"connection_id":149950,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:26:14] local.INFO: Processing buffer {"connection_id":149950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:26:14] local.INFO: IMEI packet received {"connection_id":149950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":149950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:26:19] local.INFO: TCP Data received {"connection_id":149950,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:26:19] local.INFO: Processing buffer {"connection_id":149950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:26:19] local.INFO: IMEI packet received {"connection_id":149950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":149950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:26:21] local.INFO: TCP Data received {"connection_id":149950,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:26:21] local.INFO: Processing buffer {"connection_id":149950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:26:21] local.INFO: Packet analysis {"connection_id":149950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:26:21] local.INFO: Extracted packet for processing {"connection_id":149950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:26:21] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203756032001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785952473000,"timestamp_ms":1785952473000,"timestamp_seconds":1785952473,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3100fa8"} 
[2026-08-05 23:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:26: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-08-05 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:26: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-08-05 23: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-08-05 23:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":149950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":149950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":149950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203756032001,"66":25299,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203756032001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:26:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203756032001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":149950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:26:21] local.INFO: GPS data processed {"connection_id":149950,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:26:21] local.INFO: Acknowledgment sent {"connection_id":149950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:26:52] local.INFO: TCP Data received {"connection_id":149950,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:26:52] local.INFO: Processing buffer {"connection_id":149950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:26:52] local.INFO: Packet analysis {"connection_id":149950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:26:52] local.INFO: Extracted packet for processing {"connection_id":149950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:26:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203756032001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785952473000,"timestamp_ms":1785952473000,"timestamp_seconds":1785952473,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3100fa8"} 
[2026-08-05 23:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203756032001,"66":25299,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203756032001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:26:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203756032001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":149950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:26:52] local.INFO: GPS data processed {"connection_id":149950,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:26:52] local.INFO: Acknowledgment sent {"connection_id":149950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:27:13] local.INFO: TCP Data received {"connection_id":148940,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:27:13] local.INFO: Processing buffer {"connection_id":148940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:27:13] local.INFO: IMEI packet received {"connection_id":148940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":148940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:27:19] local.INFO: TCP Data received {"connection_id":148940,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:27:19] local.INFO: Processing buffer {"connection_id":148940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:27:19] local.INFO: IMEI packet received {"connection_id":148940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":148940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:27:20] local.INFO: TCP Data received {"connection_id":148940,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:27:20] local.INFO: Processing buffer {"connection_id":148940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:27:20] local.INFO: Packet analysis {"connection_id":148940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:27:20] local.INFO: Extracted packet for processing {"connection_id":148940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:27:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203756032001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785952473000,"timestamp_ms":1785952473000,"timestamp_seconds":1785952473,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3100fa8"} 
[2026-08-05 23:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:27: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-08-05 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203756032001,"66":25299,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203756032001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:27:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203756032001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":148940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:27:20] local.INFO: GPS data processed {"connection_id":148940,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:27:20] local.INFO: Acknowledgment sent {"connection_id":148940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:27:51] local.INFO: TCP Data received {"connection_id":148940,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:27:51] local.INFO: Processing buffer {"connection_id":148940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:27:51] local.INFO: Packet analysis {"connection_id":148940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:27:51] local.INFO: Extracted packet for processing {"connection_id":148940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:27:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203756032001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785952473000,"timestamp_ms":1785952473000,"timestamp_seconds":1785952473,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3100fa8"} 
[2026-08-05 23:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:27: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-08-05 23:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203756032001,"66":25299,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203756032001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:27:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203756032001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":148940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:27:51] local.INFO: GPS data processed {"connection_id":148940,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:27:51] local.INFO: Acknowledgment sent {"connection_id":148940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:28:13] local.INFO: TCP Data received {"connection_id":148725,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:28:13] local.INFO: Processing buffer {"connection_id":148725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:28:13] local.INFO: IMEI packet received {"connection_id":148725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":148725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:28:19] local.INFO: TCP Data received {"connection_id":148725,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:28:19] local.INFO: Processing buffer {"connection_id":148725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:28:19] local.INFO: IMEI packet received {"connection_id":148725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":148725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:28:20] local.INFO: TCP Data received {"connection_id":148725,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:28:20] local.INFO: Processing buffer {"connection_id":148725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:28:20] local.INFO: Packet analysis {"connection_id":148725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:28:20] local.INFO: Extracted packet for processing {"connection_id":148725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:28:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203756032001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785952473000,"timestamp_ms":1785952473000,"timestamp_seconds":1785952473,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3100fa8"} 
[2026-08-05 23:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:28: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-08-05 23:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203756032001,"66":25299,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203756032001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:28:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203756032001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":148725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:28:20] local.INFO: GPS data processed {"connection_id":148725,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:28:20] local.INFO: Acknowledgment sent {"connection_id":148725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:28:51] local.INFO: TCP Data received {"connection_id":148725,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:28:51] local.INFO: Processing buffer {"connection_id":148725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:28:51] local.INFO: Packet analysis {"connection_id":148725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:28:51] local.INFO: Extracted packet for processing {"connection_id":148725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:28:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203756032001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785952473000,"timestamp_ms":1785952473000,"timestamp_seconds":1785952473,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3100fa8"} 
[2026-08-05 23:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:28: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-08-05 23:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203756032001,"66":25299,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203756032001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:28:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203756032001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":148725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:28:51] local.INFO: GPS data processed {"connection_id":148725,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:28:51] local.INFO: Acknowledgment sent {"connection_id":148725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:29:19] local.INFO: TCP Data received {"connection_id":148726,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:29:19] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:29:19] local.INFO: IMEI packet received {"connection_id":148726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":148726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:29:24] local.INFO: TCP Data received {"connection_id":148726,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:29:24] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:29:24] local.INFO: IMEI packet received {"connection_id":148726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":148726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:29:25] local.INFO: TCP Data received {"connection_id":148726,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:29:25] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:29:25] local.INFO: Packet analysis {"connection_id":148726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:29:25] local.INFO: Extracted packet for processing {"connection_id":148726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:29:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203756032001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785952473000,"timestamp_ms":1785952473000,"timestamp_seconds":1785952473,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3100fa8"} 
[2026-08-05 23:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203756032001,"66":25299,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203756032001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:29:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203756032001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":148726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:29:25] local.INFO: GPS data processed {"connection_id":148726,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:29:25] local.INFO: Acknowledgment sent {"connection_id":148726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:29:34] local.INFO: TCP Data received {"connection_id":148726,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:29:34] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3100fa8012d77ab8005f2a6b80019010822..."} 
[2026-08-05 23:29:34] local.INFO: Packet analysis {"connection_id":148726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:29:34] local.INFO: Extracted packet for processing {"connection_id":148726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd310"} 
[2026-08-05 23:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":25,"angle":264,"satellites":34,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203756032001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785952473000,"timestamp_ms":1785952473000,"timestamp_seconds":1785952473,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3100fa8"} 
[2026-08-05 23:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-05 23:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203756032001,"66":25299,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203756032001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:29:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203756032001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":148726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:29:34] local.INFO: GPS data processed {"connection_id":148726,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:29:34] local.INFO: Acknowledgment sent {"connection_id":148726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:30:19] local.INFO: TCP Data received {"connection_id":148941,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:30:19] local.INFO: Processing buffer {"connection_id":148941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:30:19] local.INFO: IMEI packet received {"connection_id":148941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":148941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:30:24] local.INFO: TCP Data received {"connection_id":148941,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:30:24] local.INFO: Processing buffer {"connection_id":148941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:30:24] local.INFO: IMEI packet received {"connection_id":148941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":148941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:30:25] local.INFO: TCP Data received {"connection_id":148941,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:30:25] local.INFO: Processing buffer {"connection_id":148941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:30:25] local.INFO: Packet analysis {"connection_id":148941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:30:25] local.INFO: Extracted packet for processing {"connection_id":148941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:30:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":32,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203833088001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785952774000,"timestamp_ms":1785952774000,"timestamp_seconds":1785952774,"priority":1,"record_length":96,"hex_timestamp":"0000019fd314a770"} 
[2026-08-05 23:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 23:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203833088001,"66":25180,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203833088001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:30:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203833088001,"power":25180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":148941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:30:25] local.INFO: GPS data processed {"connection_id":148941,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:30:25] local.INFO: Acknowledgment sent {"connection_id":148941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:30:56] local.INFO: TCP Data received {"connection_id":148941,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:30:56] local.INFO: Processing buffer {"connection_id":148941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:30:56] local.INFO: Packet analysis {"connection_id":148941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:30:56] local.INFO: Extracted packet for processing {"connection_id":148941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:30:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":32,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203833088001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785952774000,"timestamp_ms":1785952774000,"timestamp_seconds":1785952774,"priority":1,"record_length":96,"hex_timestamp":"0000019fd314a770"} 
[2026-08-05 23:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 23:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203833088001,"66":25180,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203833088001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:30:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203833088001,"power":25180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":148941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:30:56] local.INFO: GPS data processed {"connection_id":148941,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:30:56] local.INFO: Acknowledgment sent {"connection_id":148941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:31:13] local.INFO: TCP Data received {"connection_id":148727,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:31:13] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:31:13] local.INFO: IMEI packet received {"connection_id":148727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":148727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:31:19] local.INFO: TCP Data received {"connection_id":148727,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:31:19] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:31:19] local.INFO: IMEI packet received {"connection_id":148727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":148727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:31:20] local.INFO: TCP Data received {"connection_id":148727,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:31:20] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:31:20] local.INFO: Packet analysis {"connection_id":148727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:31:20] local.INFO: Extracted packet for processing {"connection_id":148727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:31:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":32,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203833088001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785952774000,"timestamp_ms":1785952774000,"timestamp_seconds":1785952774,"priority":1,"record_length":96,"hex_timestamp":"0000019fd314a770"} 
[2026-08-05 23:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:31: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-08-05 23:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 23:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203833088001,"66":25180,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203833088001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:31:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203833088001,"power":25180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":148727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:31:20] local.INFO: GPS data processed {"connection_id":148727,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:31:20] local.INFO: Acknowledgment sent {"connection_id":148727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:31:51] local.INFO: TCP Data received {"connection_id":148727,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:31:51] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:31:51] local.INFO: Packet analysis {"connection_id":148727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:31:51] local.INFO: Extracted packet for processing {"connection_id":148727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:31:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":32,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203833088001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785952774000,"timestamp_ms":1785952774000,"timestamp_seconds":1785952774,"priority":1,"record_length":96,"hex_timestamp":"0000019fd314a770"} 
[2026-08-05 23:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:31: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-08-05 23:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 23:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203833088001,"66":25180,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203833088001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:31:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203833088001,"power":25180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":148727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:31:51] local.INFO: GPS data processed {"connection_id":148727,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:31:51] local.INFO: Acknowledgment sent {"connection_id":148727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:32:13] local.INFO: TCP Data received {"connection_id":148942,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:32:13] local.INFO: Processing buffer {"connection_id":148942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:32:13] local.INFO: IMEI packet received {"connection_id":148942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":148942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:32:19] local.INFO: TCP Data received {"connection_id":148942,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:32:19] local.INFO: Processing buffer {"connection_id":148942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:32:19] local.INFO: IMEI packet received {"connection_id":148942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":148942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:32:20] local.INFO: TCP Data received {"connection_id":148942,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:32:20] local.INFO: Processing buffer {"connection_id":148942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:32:20] local.INFO: Packet analysis {"connection_id":148942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:32:20] local.INFO: Extracted packet for processing {"connection_id":148942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:32:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":32,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203833088001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785952774000,"timestamp_ms":1785952774000,"timestamp_seconds":1785952774,"priority":1,"record_length":96,"hex_timestamp":"0000019fd314a770"} 
[2026-08-05 23:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:32: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-08-05 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 23:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203833088001,"66":25180,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203833088001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:32:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203833088001,"power":25180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":148942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:32:20] local.INFO: GPS data processed {"connection_id":148942,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:32:20] local.INFO: Acknowledgment sent {"connection_id":148942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:32:56] local.INFO: TCP Data received {"connection_id":148942,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:32:56] local.INFO: Processing buffer {"connection_id":148942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:32:56] local.INFO: Packet analysis {"connection_id":148942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:32:56] local.INFO: Extracted packet for processing {"connection_id":148942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:32:56] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":32,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203833088001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785952774000,"timestamp_ms":1785952774000,"timestamp_seconds":1785952774,"priority":1,"record_length":96,"hex_timestamp":"0000019fd314a770"} 
[2026-08-05 23:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 23:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203833088001,"66":25180,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203833088001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:32:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203833088001,"power":25180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":148942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:32:56] local.INFO: GPS data processed {"connection_id":148942,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:32:56] local.INFO: Acknowledgment sent {"connection_id":148942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:33:13] local.INFO: TCP Data received {"connection_id":148943,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:33:13] local.INFO: Processing buffer {"connection_id":148943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:33:13] local.INFO: IMEI packet received {"connection_id":148943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":148943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:33:19] local.INFO: TCP Data received {"connection_id":148943,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:33:19] local.INFO: Processing buffer {"connection_id":148943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:33:19] local.INFO: IMEI packet received {"connection_id":148943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":148943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:33:23] local.INFO: TCP Data received {"connection_id":148943,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:33:23] local.INFO: Processing buffer {"connection_id":148943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:33:23] local.INFO: Packet analysis {"connection_id":148943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:33:23] local.INFO: Extracted packet for processing {"connection_id":148943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:33:23] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":32,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203833088001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785952774000,"timestamp_ms":1785952774000,"timestamp_seconds":1785952774,"priority":1,"record_length":96,"hex_timestamp":"0000019fd314a770"} 
[2026-08-05 23:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 23:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203833088001,"66":25180,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203833088001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:33:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203833088001,"power":25180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":148943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:33:23] local.INFO: GPS data processed {"connection_id":148943,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:33:23] local.INFO: Acknowledgment sent {"connection_id":148943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:33:54] local.INFO: TCP Data received {"connection_id":148943,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:33:54] local.INFO: Processing buffer {"connection_id":148943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:33:54] local.INFO: Packet analysis {"connection_id":148943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:33:54] local.INFO: Extracted packet for processing {"connection_id":148943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:33:54] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":32,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203833088001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785952774000,"timestamp_ms":1785952774000,"timestamp_seconds":1785952774,"priority":1,"record_length":96,"hex_timestamp":"0000019fd314a770"} 
[2026-08-05 23:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 23:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203833088001,"66":25180,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203833088001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:33:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203833088001,"power":25180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":148943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:33:54] local.INFO: GPS data processed {"connection_id":148943,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:33:54] local.INFO: Acknowledgment sent {"connection_id":148943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:34:19] local.INFO: TCP Data received {"connection_id":148944,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:34:19] local.INFO: Processing buffer {"connection_id":148944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:34:19] local.INFO: IMEI packet received {"connection_id":148944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":148944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:34:23] local.INFO: TCP Data received {"connection_id":148944,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:34:23] local.INFO: Processing buffer {"connection_id":148944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:34:23] local.INFO: IMEI packet received {"connection_id":148944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":148944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:34:24] local.INFO: TCP Data received {"connection_id":148944,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:34:24] local.INFO: Processing buffer {"connection_id":148944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:34:24] local.INFO: Packet analysis {"connection_id":148944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:34:24] local.INFO: Extracted packet for processing {"connection_id":148944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:34:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":32,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203833088001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785952774000,"timestamp_ms":1785952774000,"timestamp_seconds":1785952774,"priority":1,"record_length":96,"hex_timestamp":"0000019fd314a770"} 
[2026-08-05 23:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 23:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203833088001,"66":25180,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203833088001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:34:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203833088001,"power":25180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":148944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:34:24] local.INFO: GPS data processed {"connection_id":148944,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:34:24] local.INFO: Acknowledgment sent {"connection_id":148944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:34:29] local.INFO: TCP Data received {"connection_id":148944,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:34:29] local.INFO: Processing buffer {"connection_id":148944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd314a770012d77ab8005f2a6b80020010824..."} 
[2026-08-05 23:34:29] local.INFO: Packet analysis {"connection_id":148944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:34:29] local.INFO: Extracted packet for processing {"connection_id":148944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd314"} 
[2026-08-05 23:34:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":32,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203833088001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785952774000,"timestamp_ms":1785952774000,"timestamp_seconds":1785952774,"priority":1,"record_length":96,"hex_timestamp":"0000019fd314a770"} 
[2026-08-05 23:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-05 23:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203833088001,"66":25180,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203833088001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:34:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203833088001,"power":25180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":148944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:34:29] local.INFO: GPS data processed {"connection_id":148944,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:34:29] local.INFO: Acknowledgment sent {"connection_id":148944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:35:12] local.INFO: TCP Data received {"connection_id":151392,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:35:12] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:35:12] local.INFO: IMEI packet received {"connection_id":151392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":151392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:35:13] local.INFO: TCP Data received {"connection_id":151392,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:35:13] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:35:13] local.INFO: IMEI packet received {"connection_id":151392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":151392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:35:19] local.INFO: TCP Data received {"connection_id":151392,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:35:19] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:35:19] local.INFO: IMEI packet received {"connection_id":151392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":151392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:35:20] local.INFO: TCP Data received {"connection_id":151392,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:35:20] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:35:20] local.INFO: Packet analysis {"connection_id":151392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:35:20] local.INFO: Extracted packet for processing {"connection_id":151392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:35:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203910144001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953075000,"timestamp_ms":1785953075000,"timestamp_seconds":1785953075,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3193f38"} 
[2026-08-05 23:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:35: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-08-05 23:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 23:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203910144001,"66":25147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203910144001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:35:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203910144001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":151392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:35:20] local.INFO: GPS data processed {"connection_id":151392,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:35:20] local.INFO: Acknowledgment sent {"connection_id":151392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:35:52] local.INFO: TCP Data received {"connection_id":151392,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:35:52] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:35:52] local.INFO: Packet analysis {"connection_id":151392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:35:52] local.INFO: Extracted packet for processing {"connection_id":151392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:35:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203910144001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785953075000,"timestamp_ms":1785953075000,"timestamp_seconds":1785953075,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3193f38"} 
[2026-08-05 23:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 23:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203910144001,"66":25147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203910144001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:35:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203910144001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":151392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:35:52] local.INFO: GPS data processed {"connection_id":151392,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:35:52] local.INFO: Acknowledgment sent {"connection_id":151392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:36:19] local.INFO: TCP Data received {"connection_id":148945,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:36:19] local.INFO: Processing buffer {"connection_id":148945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:36:19] local.INFO: IMEI packet received {"connection_id":148945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":148945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:36:24] local.INFO: TCP Data received {"connection_id":148945,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:36:24] local.INFO: Processing buffer {"connection_id":148945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:36:24] local.INFO: IMEI packet received {"connection_id":148945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":148945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:36:24] local.INFO: TCP Data received {"connection_id":148945,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:36:24] local.INFO: Processing buffer {"connection_id":148945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:36:24] local.INFO: Packet analysis {"connection_id":148945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:36:24] local.INFO: Extracted packet for processing {"connection_id":148945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:36:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203910144001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785953075000,"timestamp_ms":1785953075000,"timestamp_seconds":1785953075,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3193f38"} 
[2026-08-05 23:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 23:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203910144001,"66":25147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203910144001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:36:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203910144001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":148945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:36:25] local.INFO: GPS data processed {"connection_id":148945,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:36:25] local.INFO: Acknowledgment sent {"connection_id":148945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:36:31] local.INFO: TCP Data received {"connection_id":148945,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:36:31] local.INFO: Processing buffer {"connection_id":148945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:36:31] local.INFO: Packet analysis {"connection_id":148945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:36:31] local.INFO: Extracted packet for processing {"connection_id":148945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:36:31] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203910144001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785953075000,"timestamp_ms":1785953075000,"timestamp_seconds":1785953075,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3193f38"} 
[2026-08-05 23:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 23:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203910144001,"66":25147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203910144001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:36:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203910144001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":148945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:36:31] local.INFO: GPS data processed {"connection_id":148945,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:36:31] local.INFO: Acknowledgment sent {"connection_id":148945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:37:13] local.INFO: TCP Data received {"connection_id":148728,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:37:13] local.INFO: Processing buffer {"connection_id":148728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:37:13] local.INFO: IMEI packet received {"connection_id":148728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":148728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:37:19] local.INFO: TCP Data received {"connection_id":148728,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:37:19] local.INFO: Processing buffer {"connection_id":148728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:37:19] local.INFO: IMEI packet received {"connection_id":148728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":148728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:37:20] local.INFO: TCP Data received {"connection_id":148728,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:37:20] local.INFO: Processing buffer {"connection_id":148728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:37:20] local.INFO: Packet analysis {"connection_id":148728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:37:20] local.INFO: Extracted packet for processing {"connection_id":148728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:37:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203910144001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953075000,"timestamp_ms":1785953075000,"timestamp_seconds":1785953075,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3193f38"} 
[2026-08-05 23:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:37: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-08-05 23: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 23:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203910144001,"66":25147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203910144001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:37:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203910144001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":148728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:37:20] local.INFO: GPS data processed {"connection_id":148728,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:37:20] local.INFO: Acknowledgment sent {"connection_id":148728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:37:51] local.INFO: TCP Data received {"connection_id":148728,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:37:51] local.INFO: Processing buffer {"connection_id":148728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:37:51] local.INFO: Packet analysis {"connection_id":148728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:37:51] local.INFO: Extracted packet for processing {"connection_id":148728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:37:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203910144001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785953075000,"timestamp_ms":1785953075000,"timestamp_seconds":1785953075,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3193f38"} 
[2026-08-05 23:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:37: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-08-05 23:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 23:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203910144001,"66":25147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203910144001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:37:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203910144001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":148728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:37:51] local.INFO: GPS data processed {"connection_id":148728,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:37:51] local.INFO: Acknowledgment sent {"connection_id":148728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:38:13] local.INFO: TCP Data received {"connection_id":149951,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:38:13] local.INFO: Processing buffer {"connection_id":149951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:38:13] local.INFO: IMEI packet received {"connection_id":149951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":149951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:38:19] local.INFO: TCP Data received {"connection_id":149951,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:38:19] local.INFO: Processing buffer {"connection_id":149951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:38:19] local.INFO: IMEI packet received {"connection_id":149951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":149951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:38:20] local.INFO: TCP Data received {"connection_id":149951,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:38:20] local.INFO: Processing buffer {"connection_id":149951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:38:20] local.INFO: Packet analysis {"connection_id":149951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:38:20] local.INFO: Extracted packet for processing {"connection_id":149951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:38:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203910144001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953075000,"timestamp_ms":1785953075000,"timestamp_seconds":1785953075,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3193f38"} 
[2026-08-05 23:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:38: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-08-05 23: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 23:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203910144001,"66":25147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203910144001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:38:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203910144001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":149951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:38:20] local.INFO: GPS data processed {"connection_id":149951,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:38:20] local.INFO: Acknowledgment sent {"connection_id":149951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:38:51] local.INFO: TCP Data received {"connection_id":149951,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:38:51] local.INFO: Processing buffer {"connection_id":149951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:38:51] local.INFO: Packet analysis {"connection_id":149951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:38:51] local.INFO: Extracted packet for processing {"connection_id":149951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:38:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203910144001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785953075000,"timestamp_ms":1785953075000,"timestamp_seconds":1785953075,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3193f38"} 
[2026-08-05 23:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:38: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-08-05 23:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 23:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203910144001,"66":25147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203910144001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:38:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203910144001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":149951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:38:51] local.INFO: GPS data processed {"connection_id":149951,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:38:51] local.INFO: Acknowledgment sent {"connection_id":149951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:39:13] local.INFO: TCP Data received {"connection_id":148946,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:39:13] local.INFO: Processing buffer {"connection_id":148946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:39:13] local.INFO: IMEI packet received {"connection_id":148946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":148946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:39:19] local.INFO: TCP Data received {"connection_id":148946,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:39:19] local.INFO: Processing buffer {"connection_id":148946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:39:19] local.INFO: IMEI packet received {"connection_id":148946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":148946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:39:20] local.INFO: TCP Data received {"connection_id":148946,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:39:20] local.INFO: Processing buffer {"connection_id":148946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:39:20] local.INFO: Packet analysis {"connection_id":148946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:39:20] local.INFO: Extracted packet for processing {"connection_id":148946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:39:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203910144001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953075000,"timestamp_ms":1785953075000,"timestamp_seconds":1785953075,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3193f38"} 
[2026-08-05 23:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:39: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-08-05 23:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 23:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203910144001,"66":25147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203910144001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:39:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203910144001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":148946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:39:20] local.INFO: GPS data processed {"connection_id":148946,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:39:20] local.INFO: Acknowledgment sent {"connection_id":148946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:39:51] local.INFO: TCP Data received {"connection_id":148946,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:39:51] local.INFO: Processing buffer {"connection_id":148946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3193f38012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:39:51] local.INFO: Packet analysis {"connection_id":148946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:39:51] local.INFO: Extracted packet for processing {"connection_id":148946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd319"} 
[2026-08-05 23:39:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203910144001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785953075000,"timestamp_ms":1785953075000,"timestamp_seconds":1785953075,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3193f38"} 
[2026-08-05 23:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:39: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-08-05 23:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-05 23:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203910144001,"66":25147,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203910144001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:39:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203910144001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":148946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:39:51] local.INFO: GPS data processed {"connection_id":148946,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:39:51] local.INFO: Acknowledgment sent {"connection_id":148946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:40:13] local.INFO: TCP Data received {"connection_id":149952,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:40:13] local.INFO: Processing buffer {"connection_id":149952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:40:13] local.INFO: IMEI packet received {"connection_id":149952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":149952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:40:14] local.INFO: TCP Data received {"connection_id":149952,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:40:14] local.INFO: Processing buffer {"connection_id":149952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:40:14] local.INFO: IMEI packet received {"connection_id":149952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":149952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:40:19] local.INFO: TCP Data received {"connection_id":149952,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:40:19] local.INFO: Processing buffer {"connection_id":149952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:40:19] local.INFO: IMEI packet received {"connection_id":149952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":149952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:40:20] local.INFO: TCP Data received {"connection_id":149952,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:40:20] local.INFO: Processing buffer {"connection_id":149952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:40:20] local.INFO: Packet analysis {"connection_id":149952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:40:20] local.INFO: Extracted packet for processing {"connection_id":149952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:40:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203987200001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953375000,"timestamp_ms":1785953375000,"timestamp_seconds":1785953375,"priority":1,"record_length":96,"hex_timestamp":"0000019fd31dd318"} 
[2026-08-05 23:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:40: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-08-05 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-05 23:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203987200001,"66":24745,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203987200001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:40:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203987200001,"power":24745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":149952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:40:20] local.INFO: GPS data processed {"connection_id":149952,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:40:20] local.INFO: Acknowledgment sent {"connection_id":149952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:40:51] local.INFO: TCP Data received {"connection_id":149952,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:40:51] local.INFO: Processing buffer {"connection_id":149952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:40:51] local.INFO: Packet analysis {"connection_id":149952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:40:51] local.INFO: Extracted packet for processing {"connection_id":149952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:40:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203987200001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785953375000,"timestamp_ms":1785953375000,"timestamp_seconds":1785953375,"priority":1,"record_length":96,"hex_timestamp":"0000019fd31dd318"} 
[2026-08-05 23:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:40: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-08-05 23:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-05 23:40: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-08-05 23:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203987200001,"66":24745,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203987200001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:40:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203987200001,"power":24745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":149952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:40:51] local.INFO: GPS data processed {"connection_id":149952,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:40:51] local.INFO: Acknowledgment sent {"connection_id":149952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:41:14] local.INFO: TCP Data received {"connection_id":149953,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:41:14] local.INFO: Processing buffer {"connection_id":149953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:41:14] local.INFO: IMEI packet received {"connection_id":149953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":149953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:41:19] local.INFO: TCP Data received {"connection_id":149953,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:41:19] local.INFO: Processing buffer {"connection_id":149953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:41:19] local.INFO: IMEI packet received {"connection_id":149953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":149953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:41:20] local.INFO: TCP Data received {"connection_id":149953,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:41:20] local.INFO: Processing buffer {"connection_id":149953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:41:20] local.INFO: Packet analysis {"connection_id":149953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:41:20] local.INFO: Extracted packet for processing {"connection_id":149953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203987200001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953375000,"timestamp_ms":1785953375000,"timestamp_seconds":1785953375,"priority":1,"record_length":96,"hex_timestamp":"0000019fd31dd318"} 
[2026-08-05 23:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:41: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-08-05 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-05 23:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203987200001,"66":24745,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203987200001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:41:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203987200001,"power":24745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":149953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:41:20] local.INFO: GPS data processed {"connection_id":149953,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:41:20] local.INFO: Acknowledgment sent {"connection_id":149953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:42:13] local.INFO: TCP Data received {"connection_id":148729,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:42:13] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:42:13] local.INFO: IMEI packet received {"connection_id":148729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":148729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:42:19] local.INFO: TCP Data received {"connection_id":148729,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:42:19] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:42:19] local.INFO: IMEI packet received {"connection_id":148729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":148729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:42:21] local.INFO: TCP Data received {"connection_id":148729,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:42:21] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:42:21] local.INFO: Packet analysis {"connection_id":148729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:42:21] local.INFO: Extracted packet for processing {"connection_id":148729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:42:21] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203987200001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785953375000,"timestamp_ms":1785953375000,"timestamp_seconds":1785953375,"priority":1,"record_length":96,"hex_timestamp":"0000019fd31dd318"} 
[2026-08-05 23:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:42: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-08-05 23:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-05 23:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203987200001,"66":24745,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203987200001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:42:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203987200001,"power":24745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":148729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:42:21] local.INFO: GPS data processed {"connection_id":148729,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:42:21] local.INFO: Acknowledgment sent {"connection_id":148729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:42:53] local.INFO: TCP Data received {"connection_id":148729,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:42:53] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:42:53] local.INFO: Packet analysis {"connection_id":148729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:42:53] local.INFO: Extracted packet for processing {"connection_id":148729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:42:53] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203987200001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785953375000,"timestamp_ms":1785953375000,"timestamp_seconds":1785953375,"priority":1,"record_length":96,"hex_timestamp":"0000019fd31dd318"} 
[2026-08-05 23:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-05 23:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203987200001,"66":24745,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203987200001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:42:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203987200001,"power":24745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":148729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:42:53] local.INFO: GPS data processed {"connection_id":148729,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:42:53] local.INFO: Acknowledgment sent {"connection_id":148729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:43:13] local.INFO: TCP Data received {"connection_id":148947,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:43:13] local.INFO: Processing buffer {"connection_id":148947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:43:13] local.INFO: IMEI packet received {"connection_id":148947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":148947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:43:19] local.INFO: TCP Data received {"connection_id":148947,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:43:19] local.INFO: Processing buffer {"connection_id":148947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:43:19] local.INFO: IMEI packet received {"connection_id":148947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":148947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:43:20] local.INFO: TCP Data received {"connection_id":148947,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:43:20] local.INFO: Processing buffer {"connection_id":148947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:43:20] local.INFO: Packet analysis {"connection_id":148947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:43:20] local.INFO: Extracted packet for processing {"connection_id":148947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:43:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203987200001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953375000,"timestamp_ms":1785953375000,"timestamp_seconds":1785953375,"priority":1,"record_length":96,"hex_timestamp":"0000019fd31dd318"} 
[2026-08-05 23:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:43: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-08-05 23:43: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":59,"data_length":795,"current_offset":136} 
[2026-08-05 23:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203987200001,"66":24745,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203987200001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:43:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203987200001,"power":24745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":148947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:43:20] local.INFO: GPS data processed {"connection_id":148947,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:43:20] local.INFO: Acknowledgment sent {"connection_id":148947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:43:51] local.INFO: TCP Data received {"connection_id":148947,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:43:51] local.INFO: Processing buffer {"connection_id":148947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:43:51] local.INFO: Packet analysis {"connection_id":148947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:43:51] local.INFO: Extracted packet for processing {"connection_id":148947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:43:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203987200001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785953375000,"timestamp_ms":1785953375000,"timestamp_seconds":1785953375,"priority":1,"record_length":96,"hex_timestamp":"0000019fd31dd318"} 
[2026-08-05 23:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23: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-08-05 23:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-05 23:43: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-08-05 23:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203987200001,"66":24745,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203987200001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:43:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203987200001,"power":24745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":148947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:43:51] local.INFO: GPS data processed {"connection_id":148947,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:43:51] local.INFO: Acknowledgment sent {"connection_id":148947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:44:13] local.INFO: TCP Data received {"connection_id":149954,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:44:13] local.INFO: Processing buffer {"connection_id":149954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:44:13] local.INFO: IMEI packet received {"connection_id":149954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":149954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:44:19] local.INFO: TCP Data received {"connection_id":149954,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:44:19] local.INFO: Processing buffer {"connection_id":149954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:44:19] local.INFO: IMEI packet received {"connection_id":149954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":149954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:44:20] local.INFO: TCP Data received {"connection_id":149954,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:44:20] local.INFO: Processing buffer {"connection_id":149954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:44:20] local.INFO: Packet analysis {"connection_id":149954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:44:20] local.INFO: Extracted packet for processing {"connection_id":149954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:44:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203987200001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953375000,"timestamp_ms":1785953375000,"timestamp_seconds":1785953375,"priority":1,"record_length":96,"hex_timestamp":"0000019fd31dd318"} 
[2026-08-05 23:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:44: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-08-05 23:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-05 23:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203987200001,"66":24745,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203987200001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:44:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203987200001,"power":24745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":149954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:44:20] local.INFO: GPS data processed {"connection_id":149954,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:44:20] local.INFO: Acknowledgment sent {"connection_id":149954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:44:51] local.INFO: TCP Data received {"connection_id":149954,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:44:51] local.INFO: Processing buffer {"connection_id":149954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd31dd318012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:44:51] local.INFO: Packet analysis {"connection_id":149954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:44:51] local.INFO: Extracted packet for processing {"connection_id":149954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd31d"} 
[2026-08-05 23:44:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457203987200001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785953375000,"timestamp_ms":1785953375000,"timestamp_seconds":1785953375,"priority":1,"record_length":96,"hex_timestamp":"0000019fd31dd318"} 
[2026-08-05 23:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:44: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-08-05 23:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-05 23:44: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-08-05 23:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457203987200001,"66":24745,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457203987200001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:44:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457203987200001,"power":24745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":149954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:44:51] local.INFO: GPS data processed {"connection_id":149954,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:44:51] local.INFO: Acknowledgment sent {"connection_id":149954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:45:14] local.INFO: TCP Data received {"connection_id":151393,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:45:14] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:45:14] local.INFO: IMEI packet received {"connection_id":151393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":151393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:45:15] local.INFO: TCP Data received {"connection_id":151393,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:45:15] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:45:15] local.INFO: IMEI packet received {"connection_id":151393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":151393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:45:19] local.INFO: TCP Data received {"connection_id":151393,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:45:19] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:45:19] local.INFO: IMEI packet received {"connection_id":151393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":151393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:45:20] local.INFO: TCP Data received {"connection_id":151393,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:45:20] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:45:20] local.INFO: Packet analysis {"connection_id":151393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:45:20] local.INFO: Extracted packet for processing {"connection_id":151393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:45:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204064000001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953676000,"timestamp_ms":1785953676000,"timestamp_seconds":1785953676,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3226ae0"} 
[2026-08-05 23:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:45: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-08-05 23:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 23:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204064000001,"66":25125,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204064000001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:45:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204064000001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":151393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:45:20] local.INFO: GPS data processed {"connection_id":151393,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:45:20] local.INFO: Acknowledgment sent {"connection_id":151393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:45:51] local.INFO: TCP Data received {"connection_id":151393,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:45:51] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:45:51] local.INFO: Packet analysis {"connection_id":151393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:45:51] local.INFO: Extracted packet for processing {"connection_id":151393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:45:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204064000001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785953676000,"timestamp_ms":1785953676000,"timestamp_seconds":1785953676,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3226ae0"} 
[2026-08-05 23:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:45: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-08-05 23: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 23:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204064000001,"66":25125,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204064000001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:45:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204064000001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":151393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:45:51] local.INFO: GPS data processed {"connection_id":151393,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:45:51] local.INFO: Acknowledgment sent {"connection_id":151393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:46:19] local.INFO: TCP Data received {"connection_id":148730,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:46:19] local.INFO: Processing buffer {"connection_id":148730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:46:19] local.INFO: IMEI packet received {"connection_id":148730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":148730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:46:24] local.INFO: TCP Data received {"connection_id":148730,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:46:24] local.INFO: Processing buffer {"connection_id":148730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:46:24] local.INFO: IMEI packet received {"connection_id":148730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":148730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:46:25] local.INFO: TCP Data received {"connection_id":148730,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:46:25] local.INFO: Processing buffer {"connection_id":148730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:46:25] local.INFO: Packet analysis {"connection_id":148730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:46:25] local.INFO: Extracted packet for processing {"connection_id":148730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:46:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204064000001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785953676000,"timestamp_ms":1785953676000,"timestamp_seconds":1785953676,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3226ae0"} 
[2026-08-05 23:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 23:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204064000001,"66":25125,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204064000001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:46:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204064000001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":148730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:46:25] local.INFO: GPS data processed {"connection_id":148730,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:46:25] local.INFO: Acknowledgment sent {"connection_id":148730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:46:30] local.INFO: TCP Data received {"connection_id":148730,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:46:30] local.INFO: Processing buffer {"connection_id":148730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:46:30] local.INFO: Packet analysis {"connection_id":148730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:46:30] local.INFO: Extracted packet for processing {"connection_id":148730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204064000001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785953676000,"timestamp_ms":1785953676000,"timestamp_seconds":1785953676,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3226ae0"} 
[2026-08-05 23:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 23:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":148730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":148730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":148730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204064000001,"66":25125,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204064000001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:46:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204064000001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":148730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:46:30] local.INFO: GPS data processed {"connection_id":148730,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:46:30] local.INFO: Acknowledgment sent {"connection_id":148730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:47:14] local.INFO: TCP Data received {"connection_id":149955,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:47:14] local.INFO: Processing buffer {"connection_id":149955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:47:14] local.INFO: IMEI packet received {"connection_id":149955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":149955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:47:19] local.INFO: TCP Data received {"connection_id":149955,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:47:19] local.INFO: Processing buffer {"connection_id":149955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:47:19] local.INFO: IMEI packet received {"connection_id":149955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":149955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:47:20] local.INFO: TCP Data received {"connection_id":149955,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:47:20] local.INFO: Processing buffer {"connection_id":149955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:47:20] local.INFO: Packet analysis {"connection_id":149955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:47:20] local.INFO: Extracted packet for processing {"connection_id":149955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:47:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204064000001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953676000,"timestamp_ms":1785953676000,"timestamp_seconds":1785953676,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3226ae0"} 
[2026-08-05 23:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:47: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-08-05 23:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 23:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204064000001,"66":25125,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204064000001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:47:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204064000001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":149955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:47:20] local.INFO: GPS data processed {"connection_id":149955,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:47:20] local.INFO: Acknowledgment sent {"connection_id":149955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:47:52] local.INFO: TCP Data received {"connection_id":149955,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:47:52] local.INFO: Processing buffer {"connection_id":149955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:47:52] local.INFO: Packet analysis {"connection_id":149955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:47:52] local.INFO: Extracted packet for processing {"connection_id":149955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:47:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204064000001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785953676000,"timestamp_ms":1785953676000,"timestamp_seconds":1785953676,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3226ae0"} 
[2026-08-05 23:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 23:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":149955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":149955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":149955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204064000001,"66":25125,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204064000001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:47:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204064000001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":149955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:47:52] local.INFO: GPS data processed {"connection_id":149955,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:47:52] local.INFO: Acknowledgment sent {"connection_id":149955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:48:14] local.INFO: TCP Data received {"connection_id":151394,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:48:14] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:48:14] local.INFO: IMEI packet received {"connection_id":151394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":151394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:48:19] local.INFO: TCP Data received {"connection_id":151394,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:48:19] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:48:19] local.INFO: IMEI packet received {"connection_id":151394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":151394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:48:20] local.INFO: TCP Data received {"connection_id":151394,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:48:20] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:48:20] local.INFO: Packet analysis {"connection_id":151394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:48:20] local.INFO: Extracted packet for processing {"connection_id":151394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:48:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204064000001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953676000,"timestamp_ms":1785953676000,"timestamp_seconds":1785953676,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3226ae0"} 
[2026-08-05 23:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:48: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-08-05 23:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 23:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204064000001,"66":25125,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204064000001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:48:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204064000001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":151394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:48:20] local.INFO: GPS data processed {"connection_id":151394,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:48:20] local.INFO: Acknowledgment sent {"connection_id":151394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:48:51] local.INFO: TCP Data received {"connection_id":151394,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:48:51] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:48:51] local.INFO: Packet analysis {"connection_id":151394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:48:51] local.INFO: Extracted packet for processing {"connection_id":151394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:48:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204064000001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785953676000,"timestamp_ms":1785953676000,"timestamp_seconds":1785953676,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3226ae0"} 
[2026-08-05 23:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:48: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-08-05 23:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 23:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204064000001,"66":25125,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204064000001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:48:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204064000001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":151394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:48:51] local.INFO: GPS data processed {"connection_id":151394,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:48:51] local.INFO: Acknowledgment sent {"connection_id":151394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:49:13] local.INFO: TCP Data received {"connection_id":149956,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:49:13] local.INFO: Processing buffer {"connection_id":149956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:49:13] local.INFO: IMEI packet received {"connection_id":149956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":149956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:49:19] local.INFO: TCP Data received {"connection_id":149956,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:49:19] local.INFO: Processing buffer {"connection_id":149956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:49:19] local.INFO: IMEI packet received {"connection_id":149956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":149956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:49:20] local.INFO: TCP Data received {"connection_id":149956,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:49:20] local.INFO: Processing buffer {"connection_id":149956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:49:20] local.INFO: Packet analysis {"connection_id":149956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:49:20] local.INFO: Extracted packet for processing {"connection_id":149956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:49:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204064000001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953676000,"timestamp_ms":1785953676000,"timestamp_seconds":1785953676,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3226ae0"} 
[2026-08-05 23:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:49: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-08-05 23:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 23:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":149956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":149956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":149956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204064000001,"66":25125,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204064000001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:49:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204064000001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":149956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:49:20] local.INFO: GPS data processed {"connection_id":149956,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:49:20] local.INFO: Acknowledgment sent {"connection_id":149956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:49:51] local.INFO: TCP Data received {"connection_id":149956,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:49:51] local.INFO: Processing buffer {"connection_id":149956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd3226ae0012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:49:51] local.INFO: Packet analysis {"connection_id":149956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:49:51] local.INFO: Extracted packet for processing {"connection_id":149956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd322"} 
[2026-08-05 23:49:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204064000001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785953676000,"timestamp_ms":1785953676000,"timestamp_seconds":1785953676,"priority":1,"record_length":96,"hex_timestamp":"0000019fd3226ae0"} 
[2026-08-05 23:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:49: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-08-05 23:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-05 23:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":149956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":149956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":149956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204064000001,"66":25125,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204064000001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:49:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204064000001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":149956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:49:51] local.INFO: GPS data processed {"connection_id":149956,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:49:51] local.INFO: Acknowledgment sent {"connection_id":149956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:50:13] local.INFO: TCP Data received {"connection_id":148948,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:50:13] local.INFO: Processing buffer {"connection_id":148948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:50:13] local.INFO: IMEI packet received {"connection_id":148948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":148948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:50:15] local.INFO: TCP Data received {"connection_id":148948,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:50:15] local.INFO: Processing buffer {"connection_id":148948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:50:15] local.INFO: IMEI packet received {"connection_id":148948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":148948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:50:19] local.INFO: TCP Data received {"connection_id":148948,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:50:19] local.INFO: Processing buffer {"connection_id":148948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:50:19] local.INFO: IMEI packet received {"connection_id":148948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":148948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:50:20] local.INFO: TCP Data received {"connection_id":148948,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:50:20] local.INFO: Processing buffer {"connection_id":148948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:50:20] local.INFO: Packet analysis {"connection_id":148948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:50:20] local.INFO: Extracted packet for processing {"connection_id":148948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:50:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204141056001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953977000,"timestamp_ms":1785953977000,"timestamp_seconds":1785953977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32702a8"} 
[2026-08-05 23:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23: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-08-05 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-05 23:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204141056001,"66":24332,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204141056001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:50:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204141056001,"power":24332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":148948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:50:20] local.INFO: GPS data processed {"connection_id":148948,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:50:20] local.INFO: Acknowledgment sent {"connection_id":148948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:50:52] local.INFO: TCP Data received {"connection_id":148948,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:50:52] local.INFO: Processing buffer {"connection_id":148948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:50:52] local.INFO: Packet analysis {"connection_id":148948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:50:52] local.INFO: Extracted packet for processing {"connection_id":148948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:50:52] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204141056001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785953977000,"timestamp_ms":1785953977000,"timestamp_seconds":1785953977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32702a8"} 
[2026-08-05 23:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-05 23:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204141056001,"66":24332,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204141056001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:50:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204141056001,"power":24332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":148948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:50:52] local.INFO: GPS data processed {"connection_id":148948,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:50:52] local.INFO: Acknowledgment sent {"connection_id":148948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:51:14] local.INFO: TCP Data received {"connection_id":151395,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:51:14] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:51:14] local.INFO: IMEI packet received {"connection_id":151395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":151395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:51:18] local.INFO: TCP Data received {"connection_id":151395,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:51:18] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:51:18] local.INFO: IMEI packet received {"connection_id":151395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":151395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:51:19] local.INFO: TCP Data received {"connection_id":151395,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:51:19] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:51:19] local.INFO: Packet analysis {"connection_id":151395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:51:19] local.INFO: Extracted packet for processing {"connection_id":151395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:51:19] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204141056001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785953977000,"timestamp_ms":1785953977000,"timestamp_seconds":1785953977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32702a8"} 
[2026-08-05 23:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:51: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-08-05 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-05 23:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204141056001,"66":24332,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204141056001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:51:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204141056001,"power":24332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":151395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:51:19] local.INFO: GPS data processed {"connection_id":151395,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:51:19] local.INFO: Acknowledgment sent {"connection_id":151395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:51:24] local.INFO: TCP Data received {"connection_id":151395,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:51:24] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:51:24] local.INFO: Packet analysis {"connection_id":151395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:51:24] local.INFO: Extracted packet for processing {"connection_id":151395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:51:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204141056001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785953977000,"timestamp_ms":1785953977000,"timestamp_seconds":1785953977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32702a8"} 
[2026-08-05 23:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-05 23:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204141056001,"66":24332,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204141056001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:51:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204141056001,"power":24332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":151395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:51:24] local.INFO: GPS data processed {"connection_id":151395,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:51:24] local.INFO: Acknowledgment sent {"connection_id":151395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:51:55] local.INFO: TCP Data received {"connection_id":151395,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:51:55] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:51:55] local.INFO: Packet analysis {"connection_id":151395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:51:55] local.INFO: Extracted packet for processing {"connection_id":151395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:51:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204141056001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785953977000,"timestamp_ms":1785953977000,"timestamp_seconds":1785953977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32702a8"} 
[2026-08-05 23:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-05 23:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204141056001,"66":24332,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204141056001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:51:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204141056001,"power":24332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":151395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:51:55] local.INFO: GPS data processed {"connection_id":151395,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:51:55] local.INFO: Acknowledgment sent {"connection_id":151395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:52:13] local.INFO: TCP Data received {"connection_id":148731,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:52:13] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:52:13] local.INFO: IMEI packet received {"connection_id":148731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":148731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:52:19] local.INFO: TCP Data received {"connection_id":148731,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:52:19] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:52:19] local.INFO: IMEI packet received {"connection_id":148731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":148731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:52:20] local.INFO: TCP Data received {"connection_id":148731,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:52:20] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:52:20] local.INFO: Packet analysis {"connection_id":148731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:52:20] local.INFO: Extracted packet for processing {"connection_id":148731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:52:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 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-08-05 23:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204141056001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953977000,"timestamp_ms":1785953977000,"timestamp_seconds":1785953977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32702a8"} 
[2026-08-05 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-08-05 23:52: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-08-05 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-05 23:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 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-08-05 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-08-05 23:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204141056001,"66":24332,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204141056001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:52:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204141056001,"power":24332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":148731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:52:20] local.INFO: GPS data processed {"connection_id":148731,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:52:20] local.INFO: Acknowledgment sent {"connection_id":148731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:52:51] local.INFO: TCP Data received {"connection_id":148731,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:52:51] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:52:51] local.INFO: Packet analysis {"connection_id":148731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:52:51] local.INFO: Extracted packet for processing {"connection_id":148731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:52:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204141056001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785953977000,"timestamp_ms":1785953977000,"timestamp_seconds":1785953977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32702a8"} 
[2026-08-05 23:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:52: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-08-05 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-05 23:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204141056001,"66":24332,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204141056001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:52:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204141056001,"power":24332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":148731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:52:51] local.INFO: GPS data processed {"connection_id":148731,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:52:51] local.INFO: Acknowledgment sent {"connection_id":148731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:53:13] local.INFO: TCP Data received {"connection_id":151396,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:53:13] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:53:13] local.INFO: IMEI packet received {"connection_id":151396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":151396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:53:19] local.INFO: TCP Data received {"connection_id":151396,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:53:19] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:53:19] local.INFO: IMEI packet received {"connection_id":151396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":151396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:53:20] local.INFO: TCP Data received {"connection_id":151396,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:53:20] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:53:20] local.INFO: Packet analysis {"connection_id":151396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:53:20] local.INFO: Extracted packet for processing {"connection_id":151396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:53:20] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204141056001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785953977000,"timestamp_ms":1785953977000,"timestamp_seconds":1785953977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32702a8"} 
[2026-08-05 23:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:53: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-08-05 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-05 23:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204141056001,"66":24332,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204141056001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:53:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204141056001,"power":24332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":151396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":597999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:53:20] local.INFO: GPS data processed {"connection_id":151396,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:53:20] local.INFO: Acknowledgment sent {"connection_id":151396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:53:51] local.INFO: TCP Data received {"connection_id":151396,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:53:51] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:53:51] local.INFO: Packet analysis {"connection_id":151396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:53:51] local.INFO: Extracted packet for processing {"connection_id":151396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:53:51] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204141056001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785953977000,"timestamp_ms":1785953977000,"timestamp_seconds":1785953977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32702a8"} 
[2026-08-05 23:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:53: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-08-05 23:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-05 23:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204141056001,"66":24332,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204141056001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:53:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204141056001,"power":24332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":151396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:53:51] local.INFO: GPS data processed {"connection_id":151396,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:53:51] local.INFO: Acknowledgment sent {"connection_id":151396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:54:19] local.INFO: TCP Data received {"connection_id":149957,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:54:19] local.INFO: Processing buffer {"connection_id":149957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:54:19] local.INFO: IMEI packet received {"connection_id":149957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":149957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:54:23] local.INFO: TCP Data received {"connection_id":149957,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:54:23] local.INFO: Processing buffer {"connection_id":149957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:54:23] local.INFO: IMEI packet received {"connection_id":149957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":149957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:54:26] local.INFO: TCP Data received {"connection_id":149957,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:54:26] local.INFO: Processing buffer {"connection_id":149957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:54:26] local.INFO: Packet analysis {"connection_id":149957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:54:26] local.INFO: Extracted packet for processing {"connection_id":149957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:54:26] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204141056001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785953977000,"timestamp_ms":1785953977000,"timestamp_seconds":1785953977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32702a8"} 
[2026-08-05 23:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-05 23:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":149957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":149957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":149957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204141056001,"66":24332,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204141056001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:54:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204141056001,"power":24332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":149957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:54:26] local.INFO: GPS data processed {"connection_id":149957,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:54:26] local.INFO: Acknowledgment sent {"connection_id":149957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:54:29] local.INFO: TCP Data received {"connection_id":149957,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:54:29] local.INFO: Processing buffer {"connection_id":149957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32702a8012d77ab8005f2a6b8000f010823..."} 
[2026-08-05 23:54:29] local.INFO: Packet analysis {"connection_id":149957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:54:29] local.INFO: Extracted packet for processing {"connection_id":149957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd327"} 
[2026-08-05 23:54:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204141056001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785953977000,"timestamp_ms":1785953977000,"timestamp_seconds":1785953977,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32702a8"} 
[2026-08-05 23:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-05 23:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":149957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":149957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":149957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204141056001,"66":24332,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204141056001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:54:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204141056001,"power":24332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":149957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:54:29] local.INFO: GPS data processed {"connection_id":149957,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:54:29] local.INFO: Acknowledgment sent {"connection_id":149957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:55:14] local.INFO: TCP Data received {"connection_id":151397,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:55:14] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:55:14] local.INFO: IMEI packet received {"connection_id":151397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":151397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:55:16] local.INFO: TCP Data received {"connection_id":151397,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:55:16] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:55:16] local.INFO: IMEI packet received {"connection_id":151397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":151397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:55:17] local.INFO: TCP Data received {"connection_id":151397,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:55:17] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:55:17] local.INFO: Packet analysis {"connection_id":151397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:55:17] local.INFO: Extracted packet for processing {"connection_id":151397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:55:17] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204218112001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785954278000,"timestamp_ms":1785954278000,"timestamp_seconds":1785954278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32b9a70"} 
[2026-08-05 23:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:55: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-08-05 23: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":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 23:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204218112001,"66":24223,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204218112001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:55:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204218112001,"power":24223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":151397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:55:17] local.INFO: GPS data processed {"connection_id":151397,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:55:17] local.INFO: Acknowledgment sent {"connection_id":151397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:55:49] local.INFO: TCP Data received {"connection_id":151397,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:55:49] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:55:49] local.INFO: Packet analysis {"connection_id":151397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:55:49] local.INFO: Extracted packet for processing {"connection_id":151397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:55:49] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204218112001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785954278000,"timestamp_ms":1785954278000,"timestamp_seconds":1785954278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32b9a70"} 
[2026-08-05 23:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:55: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-08-05 23: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":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 23:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204218112001,"66":24223,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204218112001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:55:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204218112001,"power":24223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":151397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:55:49] local.INFO: GPS data processed {"connection_id":151397,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:55:49] local.INFO: Acknowledgment sent {"connection_id":151397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:56:13] local.INFO: TCP Data received {"connection_id":148949,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:56:13] local.INFO: Processing buffer {"connection_id":148949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:56:13] local.INFO: IMEI packet received {"connection_id":148949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":148949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:56:19] local.INFO: TCP Data received {"connection_id":148949,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:56:19] local.INFO: Processing buffer {"connection_id":148949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:56:19] local.INFO: IMEI packet received {"connection_id":148949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":148949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:56:25] local.INFO: TCP Data received {"connection_id":148949,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:56:25] local.INFO: Processing buffer {"connection_id":148949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:56:25] local.INFO: Packet analysis {"connection_id":148949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:56:25] local.INFO: Extracted packet for processing {"connection_id":148949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:56:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204218112001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785954278000,"timestamp_ms":1785954278000,"timestamp_seconds":1785954278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32b9a70"} 
[2026-08-05 23:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 23:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204218112001,"66":24223,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204218112001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:56:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204218112001,"power":24223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":148949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:56:25] local.INFO: GPS data processed {"connection_id":148949,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:56:25] local.INFO: Acknowledgment sent {"connection_id":148949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:56:57] local.INFO: TCP Data received {"connection_id":148949,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:56:57] local.INFO: Processing buffer {"connection_id":148949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:56:57] local.INFO: Packet analysis {"connection_id":148949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:56:57] local.INFO: Extracted packet for processing {"connection_id":148949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:56:57] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204218112001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785954278000,"timestamp_ms":1785954278000,"timestamp_seconds":1785954278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32b9a70"} 
[2026-08-05 23:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 23:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204218112001,"66":24223,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204218112001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:56:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204218112001,"power":24223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":148949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:56:57] local.INFO: GPS data processed {"connection_id":148949,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:56:57] local.INFO: Acknowledgment sent {"connection_id":148949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:57:19] local.INFO: TCP Data received {"connection_id":148950,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:57:19] local.INFO: Processing buffer {"connection_id":148950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:57:19] local.INFO: IMEI packet received {"connection_id":148950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":148950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:57:24] local.INFO: TCP Data received {"connection_id":148950,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:57:24] local.INFO: Processing buffer {"connection_id":148950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:57:24] local.INFO: IMEI packet received {"connection_id":148950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":148950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:57:25] local.INFO: TCP Data received {"connection_id":148950,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:57:25] local.INFO: Processing buffer {"connection_id":148950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:57:25] local.INFO: Packet analysis {"connection_id":148950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:57:25] local.INFO: Extracted packet for processing {"connection_id":148950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:57:25] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204218112001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785954278000,"timestamp_ms":1785954278000,"timestamp_seconds":1785954278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32b9a70"} 
[2026-08-05 23:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 23:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204218112001,"66":24223,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204218112001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:57:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204218112001,"power":24223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":148950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:57:25] local.INFO: GPS data processed {"connection_id":148950,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:57:25] local.INFO: Acknowledgment sent {"connection_id":148950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:57:29] local.INFO: TCP Data received {"connection_id":148950,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:57:29] local.INFO: Processing buffer {"connection_id":148950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:57:29] local.INFO: Packet analysis {"connection_id":148950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:57:29] local.INFO: Extracted packet for processing {"connection_id":148950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:57:29] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204218112001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785954278000,"timestamp_ms":1785954278000,"timestamp_seconds":1785954278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32b9a70"} 
[2026-08-05 23:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 23:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204218112001,"66":24223,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204218112001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:57:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204218112001,"power":24223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":148950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:57:29] local.INFO: GPS data processed {"connection_id":148950,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:57:29] local.INFO: Acknowledgment sent {"connection_id":148950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:58:14] local.INFO: TCP Data received {"connection_id":151398,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:58:14] local.INFO: Processing buffer {"connection_id":151398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:58:14] local.INFO: IMEI packet received {"connection_id":151398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":151398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:58:19] local.INFO: TCP Data received {"connection_id":151398,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:58:19] local.INFO: Processing buffer {"connection_id":151398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:58:19] local.INFO: IMEI packet received {"connection_id":151398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":151398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:58:22] local.INFO: TCP Data received {"connection_id":151398,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:58:22] local.INFO: Processing buffer {"connection_id":151398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:58:22] local.INFO: Packet analysis {"connection_id":151398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:58:22] local.INFO: Extracted packet for processing {"connection_id":151398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:58:22] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204218112001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785954278000,"timestamp_ms":1785954278000,"timestamp_seconds":1785954278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32b9a70"} 
[2026-08-05 23:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 23:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204218112001,"66":24223,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204218112001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:58:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204218112001,"power":24223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":151398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:58:22] local.INFO: GPS data processed {"connection_id":151398,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:58:22] local.INFO: Acknowledgment sent {"connection_id":151398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:58:24] local.INFO: TCP Data received {"connection_id":151398,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:58:24] local.INFO: Processing buffer {"connection_id":151398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:58:24] local.INFO: Packet analysis {"connection_id":151398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:58:24] local.INFO: Extracted packet for processing {"connection_id":151398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:58:24] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204218112001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785954278000,"timestamp_ms":1785954278000,"timestamp_seconds":1785954278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32b9a70"} 
[2026-08-05 23:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 23:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204218112001,"66":24223,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204218112001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:58:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204218112001,"power":24223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":151398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:58:24] local.INFO: GPS data processed {"connection_id":151398,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:58:24] local.INFO: Acknowledgment sent {"connection_id":151398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:58:55] local.INFO: TCP Data received {"connection_id":151398,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:58:55] local.INFO: Processing buffer {"connection_id":151398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:58:55] local.INFO: Packet analysis {"connection_id":151398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:58:55] local.INFO: Extracted packet for processing {"connection_id":151398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:58:55] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204218112001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785954278000,"timestamp_ms":1785954278000,"timestamp_seconds":1785954278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32b9a70"} 
[2026-08-05 23:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 23:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":151398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":151398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":151398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204218112001,"66":24223,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204218112001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:58:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204218112001,"power":24223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":151398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:58:55] local.INFO: GPS data processed {"connection_id":151398,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:58:55] local.INFO: Acknowledgment sent {"connection_id":151398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:59:19] local.INFO: TCP Data received {"connection_id":151399,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:59:19] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:59:19] local.INFO: IMEI packet received {"connection_id":151399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-05 23:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":151399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-05 23:59:23] local.INFO: TCP Data received {"connection_id":151399,"ip":"117.224.45.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:59:23] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-05 23:59:23] local.INFO: IMEI packet received {"connection_id":151399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-05 23:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":151399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-05 23:59:27] local.INFO: TCP Data received {"connection_id":151399,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:59:27] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:59:27] local.INFO: Packet analysis {"connection_id":151399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:59:27] local.INFO: Extracted packet for processing {"connection_id":151399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:59:27] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-05 23:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204218112001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785954278000,"timestamp_ms":1785954278000,"timestamp_seconds":1785954278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32b9a70"} 
[2026-08-05 23:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 23:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-05 23:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":151399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":151399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":151399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204218112001,"66":24223,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204218112001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:59:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204218112001,"power":24223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":151399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:59:27] local.INFO: GPS data processed {"connection_id":151399,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:59:27] local.INFO: Acknowledgment sent {"connection_id":151399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-05 23:59:30] local.INFO: TCP Data received {"connection_id":151399,"ip":"117.224.45.48","data_length":795,"data_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:59:30] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fd32b9a70012d77ab8005f2a6b8000f010824..."} 
[2026-08-05 23:59:30] local.INFO: Packet analysis {"connection_id":151399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:59:30] local.INFO: Extracted packet for processing {"connection_id":151399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fd32b"} 
[2026-08-05 23:59:30] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788472,"longitude_deg":76.2817408,"latitude_deg":9.9788472,"altitude":15,"angle":264,"satellites":36,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a6b8","is_valid_coordinates":true} 
[2026-08-05 23: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-08-05 23:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457204218112001,"note":"Value kept but may cause issues"} 
[2026-08-05 23:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":370716855158964224,"note":"Value kept but may cause issues"} 
[2026-08-05 23:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565150720,"note":"Value kept but may cause issues"} 
[2026-08-05 23:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-05 23:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785954278000,"timestamp_ms":1785954278000,"timestamp_seconds":1785954278,"priority":1,"record_length":96,"hex_timestamp":"0000019fd32b9a70"} 
[2026-08-05 23:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-05 23:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-05 23: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":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-05 23:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-05 23: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-08-05 23:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-05 23:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-05 23:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-05 23:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-05 23:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.45.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-05 23:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-05 23:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-05 23:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457204218112001,"66":24223,"2":206,"9":24832,"24":0,"16":370716855158964224,"45":8623126674565150720},"client_ip":"117.224.45.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-08-05 23:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-05 23:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-05 23:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457204218112001,"description":"Unknown IO ID 0"} 
[2026-08-05 23:59:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-05 23:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":370716855158964224,"km_value":370716855158964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-05 23:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565150720,"description":"Unknown IO ID 45"} 
[2026-08-05 23:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457204218112001,"power":24223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565150720}} 
[2026-08-05 23:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":151399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":598013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-05 23:59:30] local.INFO: GPS data processed {"connection_id":151399,"processed":1,"errors":0,"total":1} 
[2026-08-05 23:59:30] local.INFO: Acknowledgment sent {"connection_id":151399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
